Skip to content

Commit c98470c

Browse files
feat(api): api update
1 parent 3daf38b commit c98470c

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
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-9dda3e74d276c581c08bea0cad47ae390143d94640f267d827caf234301f2721.yml
3-
openapi_spec_hash: 60daf7a378cdf7dd1f7338c303e2d661
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-d63c8075b48441663736b457f8ad859c58cc3e31dfbffb68db44c3f00562012c.yml
3+
openapi_spec_hash: c47dbff685a0a449bfc1ad729c13a72e
44
config_hash: 1f73a949b649ecfe6ec68ba1bb459dc2

src/orb/types/shared/price.py

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class UnitPrice(BaseModel):
180180

181181
plan_phase_order: Optional[int] = None
182182

183-
price_type: Literal["usage_price", "fixed_price"]
183+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
184184

185185
replaces_price_id: Optional[str] = None
186186
"""The price id this price replaces.
@@ -253,7 +253,7 @@ class TieredPrice(BaseModel):
253253

254254
plan_phase_order: Optional[int] = None
255255

256-
price_type: Literal["usage_price", "fixed_price"]
256+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
257257

258258
replaces_price_id: Optional[str] = None
259259
"""The price id this price replaces.
@@ -329,7 +329,7 @@ class BulkPrice(BaseModel):
329329

330330
plan_phase_order: Optional[int] = None
331331

332-
price_type: Literal["usage_price", "fixed_price"]
332+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
333333

334334
replaces_price_id: Optional[str] = None
335335
"""The price id this price replaces.
@@ -402,7 +402,7 @@ class PackagePrice(BaseModel):
402402

403403
plan_phase_order: Optional[int] = None
404404

405-
price_type: Literal["usage_price", "fixed_price"]
405+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
406406

407407
replaces_price_id: Optional[str] = None
408408
"""The price id this price replaces.
@@ -475,7 +475,7 @@ class MatrixPrice(BaseModel):
475475

476476
plan_phase_order: Optional[int] = None
477477

478-
price_type: Literal["usage_price", "fixed_price"]
478+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
479479

480480
replaces_price_id: Optional[str] = None
481481
"""The price id this price replaces.
@@ -564,7 +564,7 @@ class ThresholdTotalAmountPrice(BaseModel):
564564

565565
plan_phase_order: Optional[int] = None
566566

567-
price_type: Literal["usage_price", "fixed_price"]
567+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
568568

569569
replaces_price_id: Optional[str] = None
570570
"""The price id this price replaces.
@@ -656,7 +656,7 @@ class TieredPackagePrice(BaseModel):
656656

657657
plan_phase_order: Optional[int] = None
658658

659-
price_type: Literal["usage_price", "fixed_price"]
659+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
660660

661661
replaces_price_id: Optional[str] = None
662662
"""The price id this price replaces.
@@ -754,7 +754,7 @@ class TieredWithMinimumPrice(BaseModel):
754754

755755
plan_phase_order: Optional[int] = None
756756

757-
price_type: Literal["usage_price", "fixed_price"]
757+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
758758

759759
replaces_price_id: Optional[str] = None
760760
"""The price id this price replaces.
@@ -849,7 +849,7 @@ class GroupedTieredPrice(BaseModel):
849849

850850
plan_phase_order: Optional[int] = None
851851

852-
price_type: Literal["usage_price", "fixed_price"]
852+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
853853

854854
replaces_price_id: Optional[str] = None
855855
"""The price id this price replaces.
@@ -941,7 +941,7 @@ class TieredPackageWithMinimumPrice(BaseModel):
941941

942942
plan_phase_order: Optional[int] = None
943943

944-
price_type: Literal["usage_price", "fixed_price"]
944+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
945945

946946
replaces_price_id: Optional[str] = None
947947
"""The price id this price replaces.
@@ -1028,7 +1028,7 @@ class PackageWithAllocationPrice(BaseModel):
10281028

10291029
plan_phase_order: Optional[int] = None
10301030

1031-
price_type: Literal["usage_price", "fixed_price"]
1031+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
10321032

10331033
replaces_price_id: Optional[str] = None
10341034
"""The price id this price replaces.
@@ -1106,7 +1106,7 @@ class UnitWithPercentPrice(BaseModel):
11061106

11071107
plan_phase_order: Optional[int] = None
11081108

1109-
price_type: Literal["usage_price", "fixed_price"]
1109+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
11101110

11111111
replaces_price_id: Optional[str] = None
11121112
"""The price id this price replaces.
@@ -1182,7 +1182,7 @@ class MatrixWithAllocationPrice(BaseModel):
11821182

11831183
plan_phase_order: Optional[int] = None
11841184

1185-
price_type: Literal["usage_price", "fixed_price"]
1185+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
11861186

11871187
replaces_price_id: Optional[str] = None
11881188
"""The price id this price replaces.
@@ -1268,7 +1268,7 @@ class TieredWithProrationPrice(BaseModel):
12681268

12691269
plan_phase_order: Optional[int] = None
12701270

1271-
price_type: Literal["usage_price", "fixed_price"]
1271+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
12721272

12731273
replaces_price_id: Optional[str] = None
12741274
"""The price id this price replaces.
@@ -1346,7 +1346,7 @@ class UnitWithProrationPrice(BaseModel):
13461346

13471347
plan_phase_order: Optional[int] = None
13481348

1349-
price_type: Literal["usage_price", "fixed_price"]
1349+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
13501350

13511351
replaces_price_id: Optional[str] = None
13521352
"""The price id this price replaces.
@@ -1433,7 +1433,7 @@ class GroupedAllocationPrice(BaseModel):
14331433

14341434
plan_phase_order: Optional[int] = None
14351435

1436-
price_type: Literal["usage_price", "fixed_price"]
1436+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
14371437

14381438
replaces_price_id: Optional[str] = None
14391439
"""The price id this price replaces.
@@ -1519,7 +1519,7 @@ class BulkWithProrationPrice(BaseModel):
15191519

15201520
plan_phase_order: Optional[int] = None
15211521

1522-
price_type: Literal["usage_price", "fixed_price"]
1522+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
15231523

15241524
replaces_price_id: Optional[str] = None
15251525
"""The price id this price replaces.
@@ -1603,7 +1603,7 @@ class GroupedWithProratedMinimumPrice(BaseModel):
16031603

16041604
plan_phase_order: Optional[int] = None
16051605

1606-
price_type: Literal["usage_price", "fixed_price"]
1606+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
16071607

16081608
replaces_price_id: Optional[str] = None
16091609
"""The price id this price replaces.
@@ -1718,7 +1718,7 @@ class GroupedWithMeteredMinimumPrice(BaseModel):
17181718

17191719
plan_phase_order: Optional[int] = None
17201720

1721-
price_type: Literal["usage_price", "fixed_price"]
1721+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
17221722

17231723
replaces_price_id: Optional[str] = None
17241724
"""The price id this price replaces.
@@ -1805,7 +1805,7 @@ class GroupedWithMinMaxThresholdsPrice(BaseModel):
18051805

18061806
plan_phase_order: Optional[int] = None
18071807

1808-
price_type: Literal["usage_price", "fixed_price"]
1808+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
18091809

18101810
replaces_price_id: Optional[str] = None
18111811
"""The price id this price replaces.
@@ -1897,7 +1897,7 @@ class MatrixWithDisplayNamePrice(BaseModel):
18971897

18981898
plan_phase_order: Optional[int] = None
18991899

1900-
price_type: Literal["usage_price", "fixed_price"]
1900+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
19011901

19021902
replaces_price_id: Optional[str] = None
19031903
"""The price id this price replaces.
@@ -1992,7 +1992,7 @@ class GroupedTieredPackagePrice(BaseModel):
19921992

19931993
plan_phase_order: Optional[int] = None
19941994

1995-
price_type: Literal["usage_price", "fixed_price"]
1995+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
19961996

19971997
replaces_price_id: Optional[str] = None
19981998
"""The price id this price replaces.
@@ -2086,7 +2086,7 @@ class MaxGroupTieredPackagePrice(BaseModel):
20862086

20872087
plan_phase_order: Optional[int] = None
20882088

2089-
price_type: Literal["usage_price", "fixed_price"]
2089+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
20902090

20912091
replaces_price_id: Optional[str] = None
20922092
"""The price id this price replaces.
@@ -2186,7 +2186,7 @@ class ScalableMatrixWithUnitPricingPrice(BaseModel):
21862186

21872187
plan_phase_order: Optional[int] = None
21882188

2189-
price_type: Literal["usage_price", "fixed_price"]
2189+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
21902190

21912191
replaces_price_id: Optional[str] = None
21922192
"""The price id this price replaces.
@@ -2294,7 +2294,7 @@ class ScalableMatrixWithTieredPricingPrice(BaseModel):
22942294

22952295
plan_phase_order: Optional[int] = None
22962296

2297-
price_type: Literal["usage_price", "fixed_price"]
2297+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
22982298

22992299
replaces_price_id: Optional[str] = None
23002300
"""The price id this price replaces.
@@ -2391,7 +2391,7 @@ class CumulativeGroupedBulkPrice(BaseModel):
23912391

23922392
plan_phase_order: Optional[int] = None
23932393

2394-
price_type: Literal["usage_price", "fixed_price"]
2394+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
23952395

23962396
replaces_price_id: Optional[str] = None
23972397
"""The price id this price replaces.
@@ -2472,7 +2472,7 @@ class MinimumCompositePrice(BaseModel):
24722472

24732473
plan_phase_order: Optional[int] = None
24742474

2475-
price_type: Literal["usage_price", "fixed_price"]
2475+
price_type: Literal["usage_price", "fixed_price", "composite_price"]
24762476

24772477
replaces_price_id: Optional[str] = None
24782478
"""The price id this price replaces.

0 commit comments

Comments
 (0)