diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 895d4d24..b1b1f232 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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' @@ -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' @@ -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()); @@ -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' diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index de141d00..2f984eb5 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -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' diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index 0f450b8e..967cd6f8 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -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: | diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b7996428..a2797316 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.57.0" + ".": "5.58.0" } diff --git a/.stats.yml b/.stats.yml index 345cd65b..48e099eb 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 58a52bf0..41f0922a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/package.json b/package.json index dc8a7ca7..7cb058f5 100644 --- a/package.json +++ b/package.json @@ -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 ", "types": "dist/index.d.ts", diff --git a/src/resources/plans/migrations.ts b/src/resources/plans/migrations.ts index 31ec755a..aaa7689a 100644 --- a/src/resources/plans/migrations.ts +++ b/src/resources/plans/migrations.ts @@ -66,32 +66,74 @@ export class Migrations extends APIResource { export class MigrationListResponsesPage extends Page {} 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'; } diff --git a/src/version.ts b/src/version.ts index 0bdd2d95..6de0c4e7 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '5.57.0'; // x-release-please-version +export const VERSION = '5.58.0'; // x-release-please-version