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
23 changes: 13 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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
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 @@ -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: |
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 @@
{
".": "4.72.2"
".": "4.72.3"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -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
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async function main() {
main();
```

Error codes are as followed:
Error codes are as follows:

| Status Code | Error Type |
| ----------- | -------------------------- |
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": "4.72.2",
"version": "4.72.3",
"description": "The official TypeScript library for the Orb API",
"author": "Orb <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
25 changes: 23 additions & 2 deletions src/resources/subscriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8512,6 +8512,9 @@ export interface SubscriptionCreateParams {
*/
auto_collection?: boolean | null;

/**
* @deprecated
*/
aws_region?: string | null;

billing_cycle_anchor_configuration?: SubscriptionCreateParams.BillingCycleAnchorConfiguration | null;
Expand All @@ -8523,6 +8526,9 @@ export interface SubscriptionCreateParams {
*/
coupon_redemption_code?: string | null;

/**
* @deprecated
*/
credits_overage_rate?: number | null;

customer_id?: string | null;
Expand All @@ -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;

/**
Expand Down Expand Up @@ -8581,6 +8593,9 @@ export interface SubscriptionCreateParams {
*/
net_terms?: number | null;

/**
* @deprecated
*/
per_credit_overage_amount?: number | null;

/**
Expand All @@ -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<unknown> | null;

Expand Down Expand Up @@ -19434,6 +19449,9 @@ export interface SubscriptionSchedulePlanChangeParams {
*/
coupon_redemption_code?: string | null;

/**
* @deprecated
*/
credits_overage_rate?: number | null;

/**
Expand Down Expand Up @@ -19475,6 +19493,9 @@ export interface SubscriptionSchedulePlanChangeParams {
*/
net_terms?: number | null;

/**
* @deprecated
*/
per_credit_overage_amount?: number | null;

/**
Expand All @@ -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<unknown> | null;

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 = '4.72.2'; // x-release-please-version
export const VERSION = '4.72.3'; // x-release-please-version