diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62224e1c..2ba3df23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,17 +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: ${{ github.repository == 'stainless-sdks/orb-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} steps: - uses: actions/checkout@v4 @@ -27,8 +28,9 @@ jobs: run: ./scripts/lint build: + timeout-minutes: 5 name: build - runs-on: ubuntu-latest + runs-on: ${{ github.repository == 'stainless-sdks/orb-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} permissions: contents: read id-token: write @@ -61,15 +63,16 @@ jobs: SHA: ${{ github.sha }} run: ./scripts/utils/upload-artifact.sh test: + timeout-minutes: 10 name: test - runs-on: ubuntu-latest + runs-on: ${{ github.repository == 'stainless-sdks/orb-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} steps: - uses: actions/checkout@v4 - 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: | 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/.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 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/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 | | ----------- | -------------------------- | 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/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; 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