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
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ 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) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Node
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '18'

Expand All @@ -43,10 +43,10 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Node
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '18'

Expand All @@ -61,7 +61,7 @@ jobs:
github.repository == 'stainless-sdks/orb-node' &&
!startsWith(github.ref, 'refs/heads/stl/')
id: github-oidc
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
script: core.setOutput('github_token', await core.getIDToken());

Expand All @@ -80,10 +80,10 @@ 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@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Node
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '20'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: '20'

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@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- 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.57.0"
".": "5.58.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: 139
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb/orb-7f97a69f22372b818e8d24a72f6020bcf2f0c6d6b3ad07abb8395c87ec4a72ee.yml
openapi_spec_hash: a6261e730c54d08ad36f1b946e663fc3
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb/orb-eeb1a619e163d81d19ba1783f731a4b159966371a2c2200d29334a021a90df23.yml
openapi_spec_hash: 611155ef9e528c74675d68a70b86bf03
config_hash: c01c1191b1cd696c7ca855ff6d28a8df
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 5.58.0 (2026-05-12)

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

### Features

* **api:** api update ([e71999f](https://github.com/orbcorp/orb-node/commit/e71999f3c9446a897b6bf71f3fb36dfe4b189dd3))

## 5.57.0 (2026-05-05)

Full Changelog: [v5.56.0...v5.57.0](https://github.com/orbcorp/orb-node/compare/v5.56.0...v5.57.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.57.0",
"version": "5.58.0",
"description": "The official TypeScript library for the Orb API",
"author": "Orb <team@withorb.com>",
"types": "dist/index.d.ts",
Expand Down
42 changes: 42 additions & 0 deletions src/resources/plans/migrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,32 +66,74 @@ export class Migrations extends APIResource {
export class MigrationListResponsesPage extends Page<MigrationListResponse> {}

export interface MigrationRetrieveResponse {
/**
* Unique identifier for this plan version change.
*/
id: string;

/**
* When the migration takes effect. Can be a specific date/time, or 'end_of_term'
* when scheduled to be at the end of the current billing period.
*/
effective_time: (string & {}) | (string & {}) | 'end_of_term' | null;

/**
* The ID of the plan being migrated.
*/
plan_id: string;

/**
* Current status of the migration: 'not_started', 'in_progress', 'completed',
* 'action_needed', or 'canceled'.
*/
status: 'not_started' | 'in_progress' | 'completed' | 'action_needed' | 'canceled';
}

export interface MigrationListResponse {
/**
* Unique identifier for this plan version change.
*/
id: string;

/**
* When the migration takes effect. Can be a specific date/time, or 'end_of_term'
* when scheduled to be at the end of the current billing period.
*/
effective_time: (string & {}) | (string & {}) | 'end_of_term' | null;

/**
* The ID of the plan being migrated.
*/
plan_id: string;

/**
* Current status of the migration: 'not_started', 'in_progress', 'completed',
* 'action_needed', or 'canceled'.
*/
status: 'not_started' | 'in_progress' | 'completed' | 'action_needed' | 'canceled';
}

export interface MigrationCancelResponse {
/**
* Unique identifier for this plan version change.
*/
id: string;

/**
* When the migration takes effect. Can be a specific date/time, or 'end_of_term'
* when scheduled to be at the end of the current billing period.
*/
effective_time: (string & {}) | (string & {}) | 'end_of_term' | null;

/**
* The ID of the plan being migrated.
*/
plan_id: string;

/**
* Current status of the migration: 'not_started', 'in_progress', 'completed',
* 'action_needed', or 'canceled'.
*/
status: 'not_started' | 'in_progress' | 'completed' | 'action_needed' | 'canceled';
}

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.57.0'; // x-release-please-version
export const VERSION = '5.58.0'; // x-release-please-version
Loading