Skip to content

Commit f95992e

Browse files
feat(api): api update
1 parent 5e99f92 commit f95992e

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 118
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-4ad3b44ca7f484243d8706b6aa7f4498fc5bf2b37fadf3da0a06d657e482c08f.yml
3-
openapi_spec_hash: 9ead1a2aae36be1086c627c3636064ea
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-e639b12e0daebce74f42d1f31f675bda4287b9c749dd7d4620a1e96a83343ec4.yml
3+
openapi_spec_hash: 51eb3d47b25e299de670b2d52f5e9017
44
config_hash: e6db17547fe854b1c240407cf4c6dc9e

src/resources/plans/plans.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,15 @@ export interface Plan {
9494
| Shared.PlanPhaseMaximumAdjustment
9595
>;
9696

97+
/**
98+
* @deprecated Legacy field representing the parent plan if the current plan is a
99+
* 'child plan', overriding prices from the parent.
100+
*/
97101
base_plan: Plan.BasePlan | null;
98102

99103
/**
100-
* The parent plan id if the given plan was created by overriding one or more of
101-
* the parent's prices
104+
* @deprecated Legacy field representing the parent plan ID if the current plan is
105+
* a 'child plan', overriding prices from the parent.
102106
*/
103107
base_plan_id: string | null;
104108

@@ -193,6 +197,10 @@ export interface Plan {
193197
}
194198

195199
export namespace Plan {
200+
/**
201+
* @deprecated Legacy field representing the parent plan if the current plan is a
202+
* 'child plan', overriding prices from the parent.
203+
*/
196204
export interface BasePlan {
197205
id: string | null;
198206

src/resources/subscriptions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7571,8 +7571,8 @@ export namespace SubscriptionPriceIntervalsParams {
75717571

75727572
/**
75737573
* If true, ending an in-arrears price interval mid-cycle will defer billing the
7574-
* final line itemuntil the next scheduled invoice. If false, it will be billed on
7575-
* its end date. If not provided, behaviorwill follow account default.
7574+
* final line item until the next scheduled invoice. If false, it will be billed on
7575+
* its end date. If not provided, behavior will follow account default.
75767576
*/
75777577
can_defer_billing?: boolean | null;
75787578

0 commit comments

Comments
 (0)