From ae162cb7fbab8da4576a5e888a9be0dfada610ec Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 18 Nov 2025 09:25:41 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- plan.go | 16 +++++++++++++--- subscription.go | 4 ++-- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/.stats.yml b/.stats.yml index 3cb33be..9e11ba2 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-4ad3b44ca7f484243d8706b6aa7f4498fc5bf2b37fadf3da0a06d657e482c08f.yml -openapi_spec_hash: 9ead1a2aae36be1086c627c3636064ea +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-e639b12e0daebce74f42d1f31f675bda4287b9c749dd7d4620a1e96a83343ec4.yml +openapi_spec_hash: 51eb3d47b25e299de670b2d52f5e9017 config_hash: e6db17547fe854b1c240407cf4c6dc9e diff --git a/plan.go b/plan.go index 723e781..e568f06 100644 --- a/plan.go +++ b/plan.go @@ -134,9 +134,15 @@ type Plan struct { // Adjustments for this plan. If the plan has phases, this includes adjustments // across all phases of the plan. Adjustments []PlanAdjustment `json:"adjustments,required"` - BasePlan PlanBasePlan `json:"base_plan,required,nullable"` - // The parent plan id if the given plan was created by overriding one or more of - // the parent's prices + // Legacy field representing the parent plan if the current plan is a 'child plan', + // overriding prices from the parent. + // + // Deprecated: deprecated + BasePlan PlanBasePlan `json:"base_plan,required,nullable"` + // Legacy field representing the parent plan ID if the current plan is a 'child + // plan', overriding prices from the parent. + // + // Deprecated: deprecated BasePlanID string `json:"base_plan_id,required,nullable"` CreatedAt time.Time `json:"created_at,required" format:"date-time"` // An ISO 4217 currency string or custom pricing unit (`credits`) for this plan's @@ -372,6 +378,10 @@ func (r PlanAdjustmentsAdjustmentType) IsKnown() bool { return false } +// Legacy field representing the parent plan if the current plan is a 'child plan', +// overriding prices from the parent. +// +// Deprecated: deprecated type PlanBasePlan struct { ID string `json:"id,required,nullable"` // An optional user-defined ID for this plan resource, used throughout the system diff --git a/subscription.go b/subscription.go index 74db4b5..6b565bf 100644 --- a/subscription.go +++ b/subscription.go @@ -9662,8 +9662,8 @@ type SubscriptionPriceIntervalsParamsEdit struct { // must have the same billing cycle day. BillingCycleDay param.Field[int64] `json:"billing_cycle_day"` // If true, ending an in-arrears price interval mid-cycle will defer billing the - // final line itemuntil the next scheduled invoice. If false, it will be billed on - // its end date. If not provided, behaviorwill follow account default. + // final line item until the next scheduled invoice. If false, it will be billed on + // its end date. If not provided, behavior will follow account default. CanDeferBilling param.Field[bool] `json:"can_defer_billing"` // The updated end date of this price interval. If not specified, the end date will // not be updated. From 46c74f46041a711b20acf81dc1d7359fcf6fd814 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 18 Nov 2025 09:26:04 +0000 Subject: [PATCH 2/2] release: 1.44.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 2 +- internal/version.go | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b5fcdb9..ba2c585 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.43.0" + ".": "1.44.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 19f3407..2e4c239 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.44.0 (2025-11-18) + +Full Changelog: [v1.43.0...v1.44.0](https://github.com/orbcorp/orb-go/compare/v1.43.0...v1.44.0) + +### Features + +* **api:** api update ([ae162cb](https://github.com/orbcorp/orb-go/commit/ae162cb7fbab8da4576a5e888a9be0dfada610ec)) + ## 1.43.0 (2025-11-16) Full Changelog: [v1.42.0...v1.43.0](https://github.com/orbcorp/orb-go/compare/v1.42.0...v1.43.0) diff --git a/README.md b/README.md index 868ccc2..1c07463 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Or to pin the version: ```sh -go get -u 'github.com/orbcorp/orb-go@v1.43.0' +go get -u 'github.com/orbcorp/orb-go@v1.44.0' ``` diff --git a/internal/version.go b/internal/version.go index 7a98a2a..0dcd507 100644 --- a/internal/version.go +++ b/internal/version.go @@ -2,4 +2,4 @@ package internal -const PackageVersion = "1.43.0" // x-release-please-version +const PackageVersion = "1.44.0" // x-release-please-version