diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6b751208..a67037a3 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.22.0" + ".": "5.23.0" } diff --git a/.stats.yml b/.stats.yml index 33d3b469..49f0b44f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 118 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-ef726ad139fa29757029206ee08150434fc6c52005fec6d42c7d2bcd3aa7ab47.yml -openapi_spec_hash: e622beb7c26f9b0dd641bd5c92735a5b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-faf1f7c723d2762f09e9690ef2ceda58cb0a6ddacf1a79c3754871b90e7db0dc.yml +openapi_spec_hash: 22269f85fae1ec920bdb0b32435a7aa8 config_hash: dd4343ce95871032ef6e0735a4ca038c diff --git a/CHANGELOG.md b/CHANGELOG.md index 248f435b..d5727281 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 5.23.0 (2025-10-30) + +Full Changelog: [v5.22.0...v5.23.0](https://github.com/orbcorp/orb-node/compare/v5.22.0...v5.23.0) + +### Features + +* **api:** api update ([8fd53b3](https://github.com/orbcorp/orb-node/commit/8fd53b34b22be3f63bd6efb28854c1a4785851ed)) + ## 5.22.0 (2025-10-29) Full Changelog: [v5.21.0...v5.22.0](https://github.com/orbcorp/orb-node/compare/v5.21.0...v5.22.0) diff --git a/package.json b/package.json index e989baa0..bd54a71f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orb-billing", - "version": "5.22.0", + "version": "5.23.0", "description": "The official TypeScript library for the Orb API", "author": "Orb ", "types": "dist/index.d.ts", diff --git a/src/resources/invoices.ts b/src/resources/invoices.ts index fe795c1d..16aa0fa6 100644 --- a/src/resources/invoices.ts +++ b/src/resources/invoices.ts @@ -16,12 +16,13 @@ export class Invoices extends APIResource { } /** - * This endpoint allows you to update the `metadata`, `net_terms`, and `due_date` - * properties on an invoice. If you pass null for the metadata value, it will clear - * any existing metadata for that invoice. + * This endpoint allows you to update the `metadata`, `net_terms`, `due_date`, and + * `invoice_date` properties on an invoice. If you pass null for the metadata + * value, it will clear any existing metadata for that invoice. * - * `metadata` can be modified regardless of invoice state. `net_terms` and - * `due_date` can only be modified if the invoice is in a `draft` state. + * `metadata` can be modified regardless of invoice state. `net_terms`, `due_date`, + * and `invoice_date` can only be modified if the invoice is in a `draft` state. + * `invoice_date` can only be modified for non-subscription invoices. */ update( invoiceId: string, @@ -862,6 +863,11 @@ export interface InvoiceUpdateParams { */ due_date?: (string & {}) | (string & {}) | null; + /** + * The date of the invoice. Can only be modified for one-off draft invoices. + */ + invoice_date?: (string & {}) | (string & {}) | null; + /** * User-specified key/value pairs for the resource. Individual keys can be removed * by setting the value to `null`, and the entire metadata mapping can be cleared diff --git a/src/version.ts b/src/version.ts index d4d00cb2..2196b69b 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '5.22.0'; // x-release-please-version +export const VERSION = '5.23.0'; // x-release-please-version