Skip to content

Commit cce6674

Browse files
feat(api): api update
1 parent 932e71c commit cce6674

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

.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/orb/types/plan.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,15 @@ class Plan(BaseModel):
9696
"""
9797

9898
base_plan: Optional[BasePlan] = None
99+
"""
100+
Legacy field representing the parent plan if the current plan is a 'child plan',
101+
overriding prices from the parent.
102+
"""
99103

100104
base_plan_id: Optional[str] = None
101105
"""
102-
The parent plan id if the given plan was created by overriding one or more of
103-
the parent's prices
106+
Legacy field representing the parent plan ID if the current plan is a 'child
107+
plan', overriding prices from the parent.
104108
"""
105109

106110
created_at: datetime

src/orb/types/subscription_price_intervals_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -776,8 +776,8 @@ class Edit(TypedDict, total=False):
776776
can_defer_billing: Optional[bool]
777777
"""
778778
If true, ending an in-arrears price interval mid-cycle will defer billing the
779-
final line itemuntil the next scheduled invoice. If false, it will be billed on
780-
its end date. If not provided, behaviorwill follow account default.
779+
final line item until the next scheduled invoice. If false, it will be billed on
780+
its end date. If not provided, behavior will follow account default.
781781
"""
782782

783783
end_date: Annotated[Union[Union[str, datetime], BillingCycleRelativeDate, None], PropertyInfo(format="iso8601")]

0 commit comments

Comments
 (0)