From 51df8ead55864141d3ab8590757e4ed01cfe8c1c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 01:14:18 +0000 Subject: [PATCH 1/3] feat(api): api update --- .stats.yml | 4 ++-- src/resources/customers/customers.ts | 4 ++-- tests/api-resources/customers/customers.test.ts | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.stats.yml b/.stats.yml index 0f27fc0a..d0f33af2 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 139 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb/orb-cbb433962c75b95b0c00c453c3a2e39a88f4291a92c093f27a3f52d1b52785a2.yml -openapi_spec_hash: 46b3934a43850209dad40e883aa5d1bd +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb/orb-8b0ad117378120e92c83db4289345b202e96ee8cdd187e25eadd49f8220fd2c2.yml +openapi_spec_hash: c54dfea4283acbda4f01e8da6ac0e651 config_hash: c01c1191b1cd696c7ca855ff6d28a8df diff --git a/src/resources/customers/customers.ts b/src/resources/customers/customers.ts index 0867602b..8504349d 100644 --- a/src/resources/customers/customers.ts +++ b/src/resources/customers/customers.ts @@ -206,7 +206,7 @@ export class CustomersPage extends Page {} export interface AccountingProviderConfig { external_provider_id: string; - provider_type: string; + provider_type: 'quickbooks' | 'netsuite'; } export interface AddressInput { @@ -521,7 +521,7 @@ export namespace Customer { export interface AccountingProvider { external_provider_id: string | null; - provider_type: 'quickbooks' | 'netsuite' | 'netsuite_ampersand'; + provider_type: 'quickbooks' | 'netsuite'; } } diff --git a/tests/api-resources/customers/customers.test.ts b/tests/api-resources/customers/customers.test.ts index 6b29bf37..425a7e72 100644 --- a/tests/api-resources/customers/customers.test.ts +++ b/tests/api-resources/customers/customers.test.ts @@ -25,9 +25,7 @@ describe('resource customers', () => { email: 'dev@stainless.com', name: 'x', accounting_sync_configuration: { - accounting_providers: [ - { external_provider_id: 'external_provider_id', provider_type: 'provider_type' }, - ], + accounting_providers: [{ external_provider_id: 'external_provider_id', provider_type: 'quickbooks' }], excluded: true, }, additional_emails: ['dev@stainless.com'], From 7f88e31c1c0ca9dfc8e6532a16f31664b66ac7c3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 22:14:15 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 ++-- src/resources/metrics.ts | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.stats.yml b/.stats.yml index d0f33af2..b64404b4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 139 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb/orb-8b0ad117378120e92c83db4289345b202e96ee8cdd187e25eadd49f8220fd2c2.yml -openapi_spec_hash: c54dfea4283acbda4f01e8da6ac0e651 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb/orb-2d39efd20f8184172496270fb54e1c8ef0ef01a9e3fc88ac971dc6470c8f2db7.yml +openapi_spec_hash: 812c2e5e36b9c992e3e2d986a8b31b0f config_hash: c01c1191b1cd696c7ca855ff6d28a8df diff --git a/src/resources/metrics.ts b/src/resources/metrics.ts index e306dc3b..d610da90 100644 --- a/src/resources/metrics.ts +++ b/src/resources/metrics.ts @@ -51,9 +51,8 @@ export class Metrics extends APIResource { } /** - * This endpoint is used to fetch [metric](/core-concepts##metric) details given a - * metric identifier. It returns information about the metrics including its name, - * description, and item. + * This endpoint is used to list [metrics](/core-concepts#metric). It returns + * information about the metrics including its name, description, and item. * * @example * ```ts @@ -79,8 +78,9 @@ export class Metrics extends APIResource { } /** - * This endpoint is used to list [metrics](/core-concepts#metric). It returns - * information about the metrics including its name, description, and item. + * This endpoint is used to fetch [metric](/core-concepts#metric) details given a + * metric identifier. It returns information about the metrics including its name, + * description, and item. * * @example * ```ts From 06be440d3007db6e2a61d7620a4b1e13f35122a6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 22:14:49 +0000 Subject: [PATCH 3/3] release: 5.61.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 9 +++++++++ package.json | 2 +- src/version.ts | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index bacfe754..cb4ea4b9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.60.0" + ".": "5.61.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ca525df..c6d33166 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 5.61.0 (2026-05-20) + +Full Changelog: [v5.60.0...v5.61.0](https://github.com/orbcorp/orb-node/compare/v5.60.0...v5.61.0) + +### Features + +* **api:** api update ([7f88e31](https://github.com/orbcorp/orb-node/commit/7f88e31c1c0ca9dfc8e6532a16f31664b66ac7c3)) +* **api:** api update ([51df8ea](https://github.com/orbcorp/orb-node/commit/51df8ead55864141d3ab8590757e4ed01cfe8c1c)) + ## 5.60.0 (2026-05-19) Full Changelog: [v5.59.0...v5.60.0](https://github.com/orbcorp/orb-node/compare/v5.59.0...v5.60.0) diff --git a/package.json b/package.json index 84c85430..3dab72ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orb-billing", - "version": "5.60.0", + "version": "5.61.0", "description": "The official TypeScript library for the Orb API", "author": "Orb ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index ab6da838..4cd53bb2 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '5.60.0'; // x-release-please-version +export const VERSION = '5.61.0'; // x-release-please-version