Skip to content
Open
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/orb-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Set up Node
uses: actions/setup-node@v4
Expand All @@ -41,7 +41,7 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Set up Node
uses: actions/setup-node@v4
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/orb-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Set up Node
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Set up Node
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: github.repository == 'orbcorp/orb-node' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Check release environment
run: |
Expand Down
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.40.0"
".": "5.41.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: 126
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-a5a28a58483355d3cc3da7ac5c452d548ee17183324318198052968121ca7dba.yml
openapi_spec_hash: a317931a99e6d4a122919135a0363e40
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-c131de17773b450eb1ec03ca001f94d3777e35347234869a7efee083003e1513.yml
openapi_spec_hash: 5d2d4a3a9ada1c381efb318b6897994d
config_hash: bcf82bddb691f6be773ac6cae8c03b9a
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## 5.41.0 (2026-01-17)

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

### Features

* **api:** api update ([4636d83](https://github.com/orbcorp/orb-node/commit/4636d837d5e40940a899b74772eead70ccabe0ab))
* **api:** api update ([b6bb6d3](https://github.com/orbcorp/orb-node/commit/b6bb6d3d66396f6396fe8602428b845f132e3680))


### Chores

* fix typo in descriptions ([866d085](https://github.com/orbcorp/orb-node/commit/866d0854f9dd7ca2a02cc646d8f1058a6d9f4f95))
* **internal:** codegen related update ([9795e8d](https://github.com/orbcorp/orb-node/commit/9795e8d7f2ac2c0915641cc8b60a20a787dfc70b))
* **internal:** update `actions/checkout` version ([3b8337e](https://github.com/orbcorp/orb-node/commit/3b8337e3d162bbfc0bb9181b3f6fc0b1a2cd2df3))
* **internal:** upgrade babel, qs, js-yaml ([b6c4b1c](https://github.com/orbcorp/orb-node/commit/b6c4b1cac33bff6e1ff3e6a91e5f5e2c550644bb))

## 5.40.0 (2026-01-08)

Full Changelog: [v5.39.0...v5.40.0](https://github.com/orbcorp/orb-node/compare/v5.39.0...v5.40.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.40.0",
"version": "5.41.0",
"description": "The official TypeScript library for the Orb API",
"author": "Orb <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/resources/events/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ export interface EventUpdateParams {

export interface EventIngestParams {
/**
* Body param:
* Body param
*/
events: Array<EventIngestParams.Event>;

Expand Down
2 changes: 2 additions & 0 deletions src/resources/invoices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1463,8 +1463,10 @@

is_recurring?: boolean | null;

status?: 'draft' | 'issued' | 'paid' | 'synced' | 'void' | null;

Check failure on line 1466 in src/resources/invoices.ts

View workflow job for this annotation

GitHub Actions / lint

Duplicate identifier 'status'.

status?: Array<'draft' | 'issued' | 'paid' | 'synced' | 'void'> | null;

Check failure on line 1468 in src/resources/invoices.ts

View workflow job for this annotation

GitHub Actions / lint

Subsequent property declarations must have the same type. Property 'status' must be of type '"issued" | "paid" | "synced" | "void" | "draft" | null | undefined', but here has type '("issued" | "paid" | "synced" | "void" | "draft")[] | null | undefined'.

Check failure on line 1468 in src/resources/invoices.ts

View workflow job for this annotation

GitHub Actions / lint

Duplicate identifier 'status'.

subscription_id?: string | null;
}

Expand Down
10 changes: 5 additions & 5 deletions src/resources/prices/prices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3641,14 +3641,14 @@ export declare namespace PriceCreateParams {
item_id: string;

/**
* Configuration for minimum pricing
* Configuration for minimum_composite pricing
*/
minimum_config: NewFloatingMinimumCompositePrice.MinimumConfig;
minimum_composite_config: NewFloatingMinimumCompositePrice.MinimumCompositeConfig;

/**
* The pricing model type
*/
model_type: 'minimum';
model_type: 'minimum_composite';

/**
* The name of the price.
Expand Down Expand Up @@ -3720,9 +3720,9 @@ export declare namespace PriceCreateParams {

export namespace NewFloatingMinimumCompositePrice {
/**
* Configuration for minimum pricing
* Configuration for minimum_composite pricing
*/
export interface MinimumConfig {
export interface MinimumCompositeConfig {
/**
* The minimum amount to apply
*/
Expand Down
30 changes: 15 additions & 15 deletions src/resources/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4326,14 +4326,14 @@ export interface NewFloatingMinimumCompositePrice {
item_id: string;

/**
* Configuration for minimum pricing
* Configuration for minimum_composite pricing
*/
minimum_config: NewFloatingMinimumCompositePrice.MinimumConfig;
minimum_composite_config: NewFloatingMinimumCompositePrice.MinimumCompositeConfig;

/**
* The pricing model type
*/
model_type: 'minimum';
model_type: 'minimum_composite';

/**
* The name of the price.
Expand Down Expand Up @@ -4405,9 +4405,9 @@ export interface NewFloatingMinimumCompositePrice {

export namespace NewFloatingMinimumCompositePrice {
/**
* Configuration for minimum pricing
* Configuration for minimum_composite pricing
*/
export interface MinimumConfig {
export interface MinimumCompositeConfig {
/**
* The minimum amount to apply
*/
Expand Down Expand Up @@ -7656,14 +7656,14 @@ export interface NewPlanMinimumCompositePrice {
item_id: string;

/**
* Configuration for minimum pricing
* Configuration for minimum_composite pricing
*/
minimum_config: NewPlanMinimumCompositePrice.MinimumConfig;
minimum_composite_config: NewPlanMinimumCompositePrice.MinimumCompositeConfig;

/**
* The pricing model type
*/
model_type: 'minimum';
model_type: 'minimum_composite';

/**
* The name of the price.
Expand Down Expand Up @@ -7747,9 +7747,9 @@ export interface NewPlanMinimumCompositePrice {

export namespace NewPlanMinimumCompositePrice {
/**
* Configuration for minimum pricing
* Configuration for minimum_composite pricing
*/
export interface MinimumConfig {
export interface MinimumCompositeConfig {
/**
* The minimum amount to apply
*/
Expand Down Expand Up @@ -13685,14 +13685,14 @@ export namespace Price {
minimum_amount: string | null;

/**
* Configuration for minimum pricing
* Configuration for minimum_composite pricing
*/
minimum_config: MinimumCompositePrice.MinimumConfig;
minimum_composite_config: MinimumCompositePrice.MinimumCompositeConfig;

/**
* The pricing model type
*/
model_type: 'minimum';
model_type: 'minimum_composite';

name: string;

Expand Down Expand Up @@ -13728,9 +13728,9 @@ export namespace Price {
}

/**
* Configuration for minimum pricing
* Configuration for minimum_composite pricing
*/
export interface MinimumConfig {
export interface MinimumCompositeConfig {
/**
* The minimum amount to apply
*/
Expand Down
10 changes: 5 additions & 5 deletions src/resources/subscriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2629,14 +2629,14 @@ export interface NewSubscriptionMinimumCompositePrice {
item_id: string;

/**
* Configuration for minimum pricing
* Configuration for minimum_composite pricing
*/
minimum_config: NewSubscriptionMinimumCompositePrice.MinimumConfig;
minimum_composite_config: NewSubscriptionMinimumCompositePrice.MinimumCompositeConfig;

/**
* The pricing model type
*/
model_type: 'minimum';
model_type: 'minimum_composite';

/**
* The name of the price.
Expand Down Expand Up @@ -2720,9 +2720,9 @@ export interface NewSubscriptionMinimumCompositePrice {

export namespace NewSubscriptionMinimumCompositePrice {
/**
* Configuration for minimum pricing
* Configuration for minimum_composite pricing
*/
export interface MinimumConfig {
export interface MinimumCompositeConfig {
/**
* The minimum amount to apply
*/
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.40.0'; // x-release-please-version
export const VERSION = '5.41.0'; // x-release-please-version
1 change: 1 addition & 0 deletions tests/api-resources/invoices.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@
'invoice_date[lte]': '2019-12-27T18:11:19.117Z',
is_recurring: true,
limit: 1,
status: 'draft',

Check failure on line 250 in tests/api-resources/invoices.test.ts

View workflow job for this annotation

GitHub Actions / lint

Type 'string' is not assignable to type '"issued" | "paid" | "synced" | "void" | "draft" | null | undefined'.
status: ['draft'],

Check failure on line 251 in tests/api-resources/invoices.test.ts

View workflow job for this annotation

GitHub Actions / lint

Type 'string[]' is not assignable to type '"issued" | "paid" | "synced" | "void" | "draft" | null | undefined'.

Check failure on line 251 in tests/api-resources/invoices.test.ts

View workflow job for this annotation

GitHub Actions / lint

An object literal cannot have multiple properties with the same name.
subscription_id: 'subscription_id',
},
{ path: '/_stainless_unknown_path' },
Expand Down
Loading
Loading