From 0265f5b4ac772df3b0e31e4f05f5e7e8c68c5fd4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 16 Nov 2025 04:25:22 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- src/resources/plans/plans.ts | 42 ++++++++++++++++++------------------ 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.stats.yml b/.stats.yml index 30ac7b66..3cb33be6 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 118 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-947253d9be505473c1c2cb0193d2602fa6b017e221f482be3f4f374c6156b350.yml -openapi_spec_hash: 1b40d1a85b4b846a1c14634fbbc65da3 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-4ad3b44ca7f484243d8706b6aa7f4498fc5bf2b37fadf3da0a06d657e482c08f.yml +openapi_spec_hash: 9ead1a2aae36be1086c627c3636064ea config_hash: e6db17547fe854b1c240407cf4c6dc9e diff --git a/src/resources/plans/plans.ts b/src/resources/plans/plans.ts index e118d84c..ec1a56e6 100644 --- a/src/resources/plans/plans.ts +++ b/src/resources/plans/plans.ts @@ -94,6 +94,14 @@ export interface Plan { | Shared.PlanPhaseMaximumAdjustment >; + base_plan: Plan.BasePlan | null; + + /** + * The parent plan id if the given plan was created by overriding one or more of + * the parent's prices + */ + base_plan_id: string | null; + created_at: string; /** @@ -182,17 +190,22 @@ export interface Plan { trial_config: Plan.TrialConfig; version: number; - - base_plan?: Plan.BasePlan | null; - - /** - * The parent plan id if the given plan was created by overriding one or more of - * the parent's prices - */ - base_plan_id?: string | null; } export namespace Plan { + export interface BasePlan { + id: string | null; + + /** + * An optional user-defined ID for this plan resource, used throughout the system + * as an alias for this Plan. Use this field to identify a plan by an existing + * identifier in your system. + */ + external_plan_id: string | null; + + name: string | null; + } + export interface PlanPhase { id: string; @@ -237,19 +250,6 @@ export namespace Plan { trial_period_unit: 'days'; } - - export interface BasePlan { - id: string | null; - - /** - * An optional user-defined ID for this plan resource, used throughout the system - * as an alias for this Plan. Use this field to identify a plan by an existing - * identifier in your system. - */ - external_plan_id: string | null; - - name: string | null; - } } export interface PlanCreateParams { From 9aa03bb79d08865246b8d0db140a602a645c25c1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 16 Nov 2025 04:25:41 +0000 Subject: [PATCH 2/2] release: 5.33.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ package.json | 2 +- src/version.ts | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index bb508a8f..911ea89d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.32.0" + ".": "5.33.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index db891a3f..e2eea16f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 5.33.0 (2025-11-16) + +Full Changelog: [v5.32.0...v5.33.0](https://github.com/orbcorp/orb-node/compare/v5.32.0...v5.33.0) + +### Features + +* **api:** api update ([0265f5b](https://github.com/orbcorp/orb-node/commit/0265f5b4ac772df3b0e31e4f05f5e7e8c68c5fd4)) + ## 5.32.0 (2025-11-16) Full Changelog: [v5.31.0...v5.32.0](https://github.com/orbcorp/orb-node/compare/v5.31.0...v5.32.0) diff --git a/package.json b/package.json index 51b37176..3bb8bb7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orb-billing", - "version": "5.32.0", + "version": "5.33.0", "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 3dc1801d..fbb3b280 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '5.32.0'; // x-release-please-version +export const VERSION = '5.33.0'; // x-release-please-version