From d1594b17ce73d32d7ab97757f95e90215cfcaf49 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 22 Apr 2025 20:15:03 +0000 Subject: [PATCH 1/8] chore(ci): add timeout thresholds for CI jobs --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62224e1c..4def79de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,7 @@ on: jobs: lint: + timeout-minutes: 10 name: lint runs-on: ubuntu-latest steps: @@ -27,6 +28,7 @@ jobs: run: ./scripts/lint build: + timeout-minutes: 5 name: build runs-on: ubuntu-latest permissions: @@ -61,6 +63,7 @@ jobs: SHA: ${{ github.sha }} run: ./scripts/utils/upload-artifact.sh test: + timeout-minutes: 10 name: test runs-on: ubuntu-latest steps: From df2cfe9018c9f8853a8cbae14adbd73556e6a398 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 23 Apr 2025 17:59:45 +0000 Subject: [PATCH 2/8] chore(ci): run on more branches and use depot runners --- .github/workflows/ci.yml | 18 +++++++++--------- .github/workflows/publish-npm.yml | 2 +- .github/workflows/release-doctor.yml | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4def79de..67af024b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,18 +1,18 @@ name: CI on: push: - branches: - - main - pull_request: - branches: - - main - - next + branches-ignore: + - 'generated' + - 'codegen/**' + - 'integrated/**' + - 'stl-preview-head/**' + - 'stl-preview-base/**' jobs: lint: timeout-minutes: 10 name: lint - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -30,7 +30,7 @@ jobs: build: timeout-minutes: 5 name: build - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04 permissions: contents: read id-token: write @@ -65,7 +65,7 @@ jobs: test: timeout-minutes: 10 name: test - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index fd6e07f7..7eb41b3d 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -11,7 +11,7 @@ on: jobs: publish: name: publish - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index 020ed469..72ecb8ee 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -8,7 +8,7 @@ on: jobs: release_doctor: name: release doctor - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04 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: From d68a9ebf7ee4fd127e53366e76a0a00b58dcb4a0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 23 Apr 2025 20:02:53 +0000 Subject: [PATCH 3/8] chore(ci): only use depot for staging repos --- .github/workflows/ci.yml | 6 +++--- .github/workflows/publish-npm.yml | 2 +- .github/workflows/release-doctor.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67af024b..9f2d89ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: lint: timeout-minutes: 10 name: lint - runs-on: depot-ubuntu-24.04 + runs-on: ${{ github.repository == 'stainless-sdks/orb-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} steps: - uses: actions/checkout@v4 @@ -30,7 +30,7 @@ jobs: build: timeout-minutes: 5 name: build - runs-on: depot-ubuntu-24.04 + runs-on: ${{ github.repository == 'stainless-sdks/orb-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} permissions: contents: read id-token: write @@ -65,7 +65,7 @@ jobs: test: timeout-minutes: 10 name: test - runs-on: depot-ubuntu-24.04 + runs-on: ${{ github.repository == 'stainless-sdks/orb-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 7eb41b3d..fd6e07f7 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -11,7 +11,7 @@ on: jobs: publish: name: publish - runs-on: depot-ubuntu-24.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index 72ecb8ee..020ed469 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -8,7 +8,7 @@ on: jobs: release_doctor: name: release doctor - runs-on: depot-ubuntu-24.04 + runs-on: ubuntu-latest 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: From 4b9eb38fb7f4457d53336e4774d62852a363fc65 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 30 Apr 2025 15:50:53 +0000 Subject: [PATCH 4/8] docs(readme): fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 06e6bde4..73b2080e 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ async function main() { main(); ``` -Error codes are as followed: +Error codes are as follows: | Status Code | Error Type | | ----------- | -------------------------- | From 2534cf4095d716964953ac60fd4cce1f9798ebdc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 30 Apr 2025 22:13:56 +0000 Subject: [PATCH 5/8] chore(docs): add missing deprecation warnings --- src/resources/subscriptions.ts | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/src/resources/subscriptions.ts b/src/resources/subscriptions.ts index f3bb6f72..e43319ba 100644 --- a/src/resources/subscriptions.ts +++ b/src/resources/subscriptions.ts @@ -8512,6 +8512,9 @@ export interface SubscriptionCreateParams { */ auto_collection?: boolean | null; + /** + * @deprecated + */ aws_region?: string | null; billing_cycle_anchor_configuration?: SubscriptionCreateParams.BillingCycleAnchorConfiguration | null; @@ -8523,6 +8526,9 @@ export interface SubscriptionCreateParams { */ coupon_redemption_code?: string | null; + /** + * @deprecated + */ credits_overage_rate?: number | null; customer_id?: string | null; @@ -8537,8 +8543,14 @@ export interface SubscriptionCreateParams { external_customer_id?: string | null; + /** + * @deprecated + */ external_marketplace?: 'google' | 'aws' | 'azure' | null; + /** + * @deprecated + */ external_marketplace_reporting_id?: string | null; /** @@ -8581,6 +8593,9 @@ export interface SubscriptionCreateParams { */ net_terms?: number | null; + /** + * @deprecated + */ per_credit_overage_amount?: number | null; /** @@ -8596,7 +8611,7 @@ export interface SubscriptionCreateParams { plan_version_number?: number | null; /** - * Optionally provide a list of overrides for prices on the plan + * @deprecated Optionally provide a list of overrides for prices on the plan */ price_overrides?: Array | null; @@ -19434,6 +19449,9 @@ export interface SubscriptionSchedulePlanChangeParams { */ coupon_redemption_code?: string | null; + /** + * @deprecated + */ credits_overage_rate?: number | null; /** @@ -19475,6 +19493,9 @@ export interface SubscriptionSchedulePlanChangeParams { */ net_terms?: number | null; + /** + * @deprecated + */ per_credit_overage_amount?: number | null; /** @@ -19490,7 +19511,7 @@ export interface SubscriptionSchedulePlanChangeParams { plan_version_number?: number | null; /** - * Optionally provide a list of overrides for prices on the plan + * @deprecated Optionally provide a list of overrides for prices on the plan */ price_overrides?: Array | null; From ad6f2f02cf07dae7072d334cf04ae76ad7c6b328 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 6 May 2025 19:23:15 +0000 Subject: [PATCH 6/8] chore(ci): bump node version for release workflows --- .github/workflows/ci.yml | 2 +- .github/workflows/publish-npm.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f2d89ac..2ba3df23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,7 +72,7 @@ jobs: - name: Set up Node uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' - name: Bootstrap run: ./scripts/bootstrap diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index fd6e07f7..f59cbcd1 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Node uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Install dependencies run: | From bd560905814824de8bf77808edf8d2ec56749a92 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 18 May 2025 20:07:06 +0000 Subject: [PATCH 7/8] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 88277273..c71a786b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 106 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-e8dad7eee5621fe2ba948dfd00dabf170d9d92ce615a9f04b0f546f4d8bf39ba.yml openapi_spec_hash: 3f6a98e3a1b3a47acebd67a960090ebf -config_hash: 7e523cf79552b8936bd772f2e1025e5f +config_hash: f6da12790e8f46d93592def474d41c69 From 3211759c156f89771375dbbbde63cbea24cbef38 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 18 May 2025 20:07:26 +0000 Subject: [PATCH 8/8] release: 4.72.3 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 17 +++++++++++++++++ package.json | 2 +- src/version.ts | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 072c8290..ce4dacbf 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.72.2" + ".": "4.72.3" } diff --git a/CHANGELOG.md b/CHANGELOG.md index c14141f9..e9f70403 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 4.72.3 (2025-05-18) + +Full Changelog: [v4.72.2...v4.72.3](https://github.com/orbcorp/orb-node/compare/v4.72.2...v4.72.3) + +### Chores + +* **ci:** add timeout thresholds for CI jobs ([d1594b1](https://github.com/orbcorp/orb-node/commit/d1594b17ce73d32d7ab97757f95e90215cfcaf49)) +* **ci:** bump node version for release workflows ([ad6f2f0](https://github.com/orbcorp/orb-node/commit/ad6f2f02cf07dae7072d334cf04ae76ad7c6b328)) +* **ci:** only use depot for staging repos ([d68a9eb](https://github.com/orbcorp/orb-node/commit/d68a9ebf7ee4fd127e53366e76a0a00b58dcb4a0)) +* **ci:** run on more branches and use depot runners ([df2cfe9](https://github.com/orbcorp/orb-node/commit/df2cfe9018c9f8853a8cbae14adbd73556e6a398)) +* **docs:** add missing deprecation warnings ([2534cf4](https://github.com/orbcorp/orb-node/commit/2534cf4095d716964953ac60fd4cce1f9798ebdc)) + + +### Documentation + +* **readme:** fix typo ([4b9eb38](https://github.com/orbcorp/orb-node/commit/4b9eb38fb7f4457d53336e4774d62852a363fc65)) + ## 4.72.2 (2025-04-14) Full Changelog: [v4.72.1...v4.72.2](https://github.com/orbcorp/orb-node/compare/v4.72.1...v4.72.2) diff --git a/package.json b/package.json index a0f8e7e6..c6368a1e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orb-billing", - "version": "4.72.2", + "version": "4.72.3", "description": "The official TypeScript library for the Orb API", "author": "Orb ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index 08adaf44..870907ad 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '4.72.2'; // x-release-please-version +export const VERSION = '4.72.3'; // x-release-please-version