diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 54145935..27e41843 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.63.0" + ".": "4.64.0" } diff --git a/.stats.yml b/.stats.yml index da919d93..5776427f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 103 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-d4f03b16daf0bae33be634c959dafb0e21b0bcb156beb162f8235394dca88e7c.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-c8fc7d0bf70bf7ed91a141f346a02929e4d25a6fac7b59f58b68136ed6ff024f.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 84d575a2..5f727531 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 4.64.0 (2025-03-01) + +Full Changelog: [v4.63.0...v4.64.0](https://github.com/orbcorp/orb-node/compare/v4.63.0...v4.64.0) + +### Features + +* **api:** api update ([#533](https://github.com/orbcorp/orb-node/issues/533)) ([959df50](https://github.com/orbcorp/orb-node/commit/959df50e4232f4095acbdfec70250d8403c4c5ab)) + + +### Documentation + +* update URLs from stainlessapi.com to stainless.com ([#531](https://github.com/orbcorp/orb-node/issues/531)) ([cd91aa6](https://github.com/orbcorp/orb-node/commit/cd91aa6659dc4786ad1dd57ce41a0d7341084acf)) + ## 4.63.0 (2025-02-27) Full Changelog: [v4.62.0...v4.63.0](https://github.com/orbcorp/orb-node/compare/v4.62.0...v4.63.0) diff --git a/SECURITY.md b/SECURITY.md index b32391b3..6f64d22c 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,9 +2,9 @@ ## Reporting Security Issues -This SDK is generated by [Stainless Software Inc](http://stainlessapi.com). Stainless takes security seriously, and encourages you to report any security vulnerability promptly so that appropriate action can be taken. +This SDK is generated by [Stainless Software Inc](http://stainless.com). Stainless takes security seriously, and encourages you to report any security vulnerability promptly so that appropriate action can be taken. -To report a security issue, please contact the Stainless team at security@stainlessapi.com. +To report a security issue, please contact the Stainless team at security@stainless.com. ## Responsible Disclosure diff --git a/package.json b/package.json index 517e535e..0d3332cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orb-billing", - "version": "4.63.0", + "version": "4.64.0", "description": "The official TypeScript library for the Orb API", "author": "Orb ", "types": "dist/index.d.ts", diff --git a/src/resources/invoice-line-items.ts b/src/resources/invoice-line-items.ts index 36e1ecbd..46fd7463 100644 --- a/src/resources/invoice-line-items.ts +++ b/src/resources/invoice-line-items.ts @@ -59,6 +59,11 @@ export interface InvoiceLineItemCreateResponse { */ end_date: string; + /** + * An additional filter that was used to calculate the usage for this line item. + */ + filter: string | null; + /** * [DEPRECATED] For configured prices that are split by a grouping key, this will * be populated with the key and a value. The `amount` and `subtotal` will be the @@ -140,6 +145,11 @@ export interface InvoiceLineItemCreateResponse { * integration is configured. */ tax_amounts: Array; + + /** + * A list of customer ids that were used to calculate the usage for this line item. + */ + usage_customer_ids: Array | null; } export namespace InvoiceLineItemCreateResponse { diff --git a/src/resources/invoices.ts b/src/resources/invoices.ts index 95474a8b..8778189a 100644 --- a/src/resources/invoices.ts +++ b/src/resources/invoices.ts @@ -886,6 +886,11 @@ export namespace Invoice { */ end_date: string; + /** + * An additional filter that was used to calculate the usage for this line item. + */ + filter: string | null; + /** * [DEPRECATED] For configured prices that are split by a grouping key, this will * be populated with the key and a value. The `amount` and `subtotal` will be the @@ -963,6 +968,11 @@ export namespace Invoice { * integration is configured. */ tax_amounts: Array; + + /** + * A list of customer ids that were used to calculate the usage for this line item. + */ + usage_customer_ids: Array | null; } export namespace LineItem { @@ -2097,6 +2107,11 @@ export namespace InvoiceFetchUpcomingResponse { */ end_date: string; + /** + * An additional filter that was used to calculate the usage for this line item. + */ + filter: string | null; + /** * [DEPRECATED] For configured prices that are split by a grouping key, this will * be populated with the key and a value. The `amount` and `subtotal` will be the @@ -2174,6 +2189,11 @@ export namespace InvoiceFetchUpcomingResponse { * integration is configured. */ tax_amounts: Array; + + /** + * A list of customer ids that were used to calculate the usage for this line item. + */ + usage_customer_ids: Array | null; } export namespace LineItem { diff --git a/src/version.ts b/src/version.ts index ee209cb0..ebc183c4 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '4.63.0'; // x-release-please-version +export const VERSION = '4.64.0'; // x-release-please-version diff --git a/tests/api-resources/customers/customers.test.ts b/tests/api-resources/customers/customers.test.ts index 2feecd5c..8bfcf7c0 100644 --- a/tests/api-resources/customers/customers.test.ts +++ b/tests/api-resources/customers/customers.test.ts @@ -10,7 +10,7 @@ const client = new Orb({ describe('resource customers', () => { test('create: only required params', async () => { - const responsePromise = client.customers.create({ email: 'dev@stainlessapi.com', name: 'x' }); + const responsePromise = client.customers.create({ email: 'dev@stainless.com', name: 'x' }); const rawResponse = await responsePromise.asResponse(); expect(rawResponse).toBeInstanceOf(Response); const response = await responsePromise; @@ -22,7 +22,7 @@ describe('resource customers', () => { test('create: required and optional params', async () => { const response = await client.customers.create({ - email: 'dev@stainlessapi.com', + email: 'dev@stainless.com', name: 'x', accounting_sync_configuration: { accounting_providers: [