diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 373d4290..75d99607 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.25.0" + ".": "5.26.0" } diff --git a/.stats.yml b/.stats.yml index 62604532..5f8609e8 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-d1abf71a1a70a43bdcc4da7104dabcbd67aa7e2d3e6cf21e33f50904b6997bb2.yml -openapi_spec_hash: 28b0b31a997588cf3692458889321e1b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-d74790c0b5540235e8387ccad7b806c11bcbb968fbdf99ea7dfbfc004bceb9dc.yml +openapi_spec_hash: eae212fa0114d8c3b4293c35f6ed7f7f config_hash: dd4343ce95871032ef6e0735a4ca038c diff --git a/CHANGELOG.md b/CHANGELOG.md index c2d5b6a6..15273753 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 5.26.0 (2025-11-03) + +Full Changelog: [v5.25.0...v5.26.0](https://github.com/orbcorp/orb-node/compare/v5.25.0...v5.26.0) + +### Features + +* **api:** api update ([f34a64b](https://github.com/orbcorp/orb-node/commit/f34a64b8694280e624a0da097f21a3ee3cfb673f)) + ## 5.25.0 (2025-10-31) Full Changelog: [v5.24.0...v5.25.0](https://github.com/orbcorp/orb-node/compare/v5.24.0...v5.25.0) diff --git a/package.json b/package.json index d0a28bbf..22cf6421 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orb-billing", - "version": "5.25.0", + "version": "5.26.0", "description": "The official TypeScript library for the Orb API", "author": "Orb ", "types": "dist/index.d.ts", diff --git a/src/resources/beta/beta.ts b/src/resources/beta/beta.ts index a7491a30..09d43f70 100644 --- a/src/resources/beta/beta.ts +++ b/src/resources/beta/beta.ts @@ -26,9 +26,6 @@ export class Beta extends APIResource { } /** - * This API endpoint is in beta and its interface may change. It is recommended for - * use only in test mode. - * * This endpoint is used to fetch a plan version. It returns the phases, prices, * and adjustments present on this version of the plan. */ @@ -41,9 +38,6 @@ export class Beta extends APIResource { } /** - * This API endpoint is in beta and its interface may change. It is recommended for - * use only in test mode. - * * This endpoint allows setting the default version of a plan. */ setDefaultPlanVersion( diff --git a/src/resources/beta/external-plan-id.ts b/src/resources/beta/external-plan-id.ts index a0d6a393..6c56838f 100644 --- a/src/resources/beta/external-plan-id.ts +++ b/src/resources/beta/external-plan-id.ts @@ -19,9 +19,6 @@ export class ExternalPlanID extends APIResource { } /** - * This API endpoint is in beta and its interface may change. It is recommended for - * use only in test mode. - * * This endpoint is used to fetch a plan version. It returns the phases, prices, * and adjustments present on this version of the plan. */ @@ -34,9 +31,6 @@ export class ExternalPlanID extends APIResource { } /** - * This API endpoint is in beta and its interface may change. It is recommended for - * use only in test mode. - * * This endpoint allows setting the default version of a plan. */ setDefaultPlanVersion( diff --git a/src/resources/customers/credits/ledger.ts b/src/resources/customers/credits/ledger.ts index cb69125d..bdb000ab 100644 --- a/src/resources/customers/credits/ledger.ts +++ b/src/resources/customers/credits/ledger.ts @@ -942,15 +942,6 @@ export declare namespace LedgerCreateEntryParams { */ auto_collection: boolean; - /** - * The net terms determines the due date of the invoice. Due date is calculated - * based on the invoice or issuance date, depending on the account's configured due - * date calculation method. A value of '0' here represents that the invoice is due - * on issue, whereas a value of '30' represents that the customer has 30 days to - * pay the invoice. Do not set this field if you want to set a custom due date. - */ - net_terms: number | null; - /** * An optional custom due date for the invoice. If not set, the due date will be * calculated based on the `net_terms` value. @@ -975,6 +966,15 @@ export declare namespace LedgerCreateEntryParams { */ memo?: string | null; + /** + * The net terms determines the due date of the invoice. Due date is calculated + * based on the invoice or issuance date, depending on the account's configured due + * date calculation method. A value of '0' here represents that the invoice is due + * on issue, whereas a value of '30' represents that the customer has 30 days to + * pay the invoice. Do not set this field if you want to set a custom due date. + */ + net_terms?: number | null; + /** * If true, the new credit block will require that the corresponding invoice is * paid before it can be drawn down from. @@ -1240,15 +1240,6 @@ export declare namespace LedgerCreateEntryByExternalIDParams { */ auto_collection: boolean; - /** - * The net terms determines the due date of the invoice. Due date is calculated - * based on the invoice or issuance date, depending on the account's configured due - * date calculation method. A value of '0' here represents that the invoice is due - * on issue, whereas a value of '30' represents that the customer has 30 days to - * pay the invoice. Do not set this field if you want to set a custom due date. - */ - net_terms: number | null; - /** * An optional custom due date for the invoice. If not set, the due date will be * calculated based on the `net_terms` value. @@ -1273,6 +1264,15 @@ export declare namespace LedgerCreateEntryByExternalIDParams { */ memo?: string | null; + /** + * The net terms determines the due date of the invoice. Due date is calculated + * based on the invoice or issuance date, depending on the account's configured due + * date calculation method. A value of '0' here represents that the invoice is due + * on issue, whereas a value of '30' represents that the customer has 30 days to + * pay the invoice. Do not set this field if you want to set a custom due date. + */ + net_terms?: number | null; + /** * If true, the new credit block will require that the corresponding invoice is * paid before it can be drawn down from. diff --git a/src/version.ts b/src/version.ts index 55bc07f5..1a09fac9 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '5.25.0'; // x-release-please-version +export const VERSION = '5.26.0'; // x-release-please-version diff --git a/tests/api-resources/customers/credits/ledger.test.ts b/tests/api-resources/customers/credits/ledger.test.ts index b886f527..25b74758 100644 --- a/tests/api-resources/customers/credits/ledger.test.ts +++ b/tests/api-resources/customers/credits/ledger.test.ts @@ -74,11 +74,11 @@ describe('resource ledger', () => { filters: [{ field: 'item_id', operator: 'includes', values: ['string'] }], invoice_settings: { auto_collection: true, - net_terms: 0, custom_due_date: '2019-12-27', invoice_date: '2019-12-27', item_id: 'item_id', memo: 'memo', + net_terms: 0, require_successful_payment: true, }, metadata: { foo: 'string' }, @@ -111,11 +111,11 @@ describe('resource ledger', () => { filters: [{ field: 'item_id', operator: 'includes', values: ['string'] }], invoice_settings: { auto_collection: true, - net_terms: 0, custom_due_date: '2019-12-27', invoice_date: '2019-12-27', item_id: 'item_id', memo: 'memo', + net_terms: 0, require_successful_payment: true, }, metadata: { foo: 'string' },