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.20.0"
".": "5.21.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-828c91953d2351040fdd4d90a3d9eafd09f9d240c4f6ce0441b7a10c06c1c722.yml
openapi_spec_hash: c82bc88563f80f600e59e22014d4cec4
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-cbce25283cb9c3282e03e08b7ee81395436af7d0eb480ffcbab307b5bf1c92a0.yml
openapi_spec_hash: c286edf46db95dee05eb6f180ac24ab0
config_hash: 1f73a949b649ecfe6ec68ba1bb459dc2
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 5.21.0 (2025-10-23)

Full Changelog: [v5.20.0...v5.21.0](https://github.com/orbcorp/orb-node/compare/v5.20.0...v5.21.0)

### Features

* **api:** api update ([20c99bc](https://github.com/orbcorp/orb-node/commit/20c99bc81d42191d69d38042483b2d3584d416e2))

## 5.20.0 (2025-10-17)

Full Changelog: [v5.19.0...v5.20.0](https://github.com/orbcorp/orb-node/compare/v5.19.0...v5.20.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.20.0",
"version": "5.21.0",
"description": "The official TypeScript library for the Orb API",
"author": "Orb <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
17 changes: 17 additions & 0 deletions src/resources/subscription-changes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,23 @@ export interface SubscriptionChangeApplyParams {
*/
mark_as_paid?: boolean | null;

/**
* An optional external ID to associate with the payment. Only applicable when
* mark_as_paid is true.
*/
payment_external_id?: string | null;

/**
* Optional notes about the payment. Only applicable when mark_as_paid is true.
*/
payment_notes?: string | null;

/**
* A date string to specify the date the payment was received. Only applicable when
* mark_as_paid is true. If not provided, defaults to the current date.
*/
payment_received_date?: string | null;

/**
* Amount already collected to apply to the customer's balance. If mark_as_paid is
* also provided, credit the difference to the customer's balance.
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.20.0'; // x-release-please-version
export const VERSION = '5.21.0'; // x-release-please-version
3 changes: 3 additions & 0 deletions tests/api-resources/subscription-changes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ describe('resource subscriptionChanges', () => {
{
description: 'description',
mark_as_paid: true,
payment_external_id: 'payment_external_id',
payment_notes: 'payment_notes',
payment_received_date: '2019-12-27',
previously_collected_amount: 'previously_collected_amount',
},
{ path: '/_stainless_unknown_path' },
Expand Down