Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "5.25.0"
".": "5.26.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
6 changes: 0 additions & 6 deletions src/resources/beta/beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand All @@ -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(
Expand Down
6 changes: 0 additions & 6 deletions src/resources/beta/external-plan-id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand All @@ -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(
Expand Down
36 changes: 18 additions & 18 deletions src/resources/customers/credits/ledger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '5.25.0'; // x-release-please-version
export const VERSION = '5.26.0'; // x-release-please-version
4 changes: 2 additions & 2 deletions tests/api-resources/customers/credits/ledger.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down Expand Up @@ -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' },
Expand Down