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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.43.0"
".": "1.44.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/orbcorp/orb-go@v1.43.0'
go get -u 'github.com/orbcorp/orb-go@v1.44.0'
```

<!-- x-release-please-end -->
Expand Down
2 changes: 1 addition & 1 deletion internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package internal

const PackageVersion = "1.43.0" // x-release-please-version
const PackageVersion = "1.44.0" // x-release-please-version
16 changes: 13 additions & 3 deletions plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down