Skip to content

Commit b676980

Browse files
feat(api): api update
1 parent 0f016de commit b676980

11 files changed

+27
-4
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: 139
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-563cf1475c193333d5f8cab934fbf844e439db6218c5b9eccb089b5c1d797b4b.yml
3-
openapi_spec_hash: f2b06aac248aecb248e975af25f3911c
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-0186c0310e2a9f40302cc35f4248fca335b7ec8069502f684ba6f2fa37793033.yml
3+
openapi_spec_hash: 4fb1d2837ad3794864a7d59d393d6ff6
44
config_hash: 3279841440b02d4e8303c961d6983492

src/orb/types/item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ExternalConnection(BaseModel):
1515
"""
1616

1717
external_connection_name: Literal[
18-
"stripe", "quickbooks", "bill.com", "netsuite", "taxjar", "avalara", "anrok", "numeral"
18+
"stripe", "quickbooks", "bill.com", "netsuite", "taxjar", "avalara", "anrok", "numeral", "stripe_tax"
1919
]
2020
"""The name of the external system this item is connected to."""
2121

src/orb/types/item_update_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ExternalConnection(TypedDict, total=False):
2727
"""
2828

2929
external_connection_name: Required[
30-
Literal["stripe", "quickbooks", "bill.com", "netsuite", "taxjar", "avalara", "anrok", "numeral"]
30+
Literal["stripe", "quickbooks", "bill.com", "netsuite", "taxjar", "avalara", "anrok", "numeral", "stripe_tax"]
3131
]
3232
"""The name of the external system this item is connected to."""
3333

src/orb/types/new_subscription_scalable_matrix_with_unit_pricing_price_param.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ class ScalableMatrixWithUnitPricingConfig(TypedDict, total=False):
4040
unit_price: Required[str]
4141
"""The final unit price to rate against the output of the matrix"""
4242

43+
grouping_key: Optional[str]
44+
"""The property used to group this price"""
45+
4346
prorate: Optional[bool]
4447
"""If true, the unit price will be prorated to the billing period"""
4548

src/orb/types/price_create_params.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2516,6 +2516,9 @@ class NewFloatingScalableMatrixWithUnitPricingPriceScalableMatrixWithUnitPricing
25162516
unit_price: Required[str]
25172517
"""The final unit price to rate against the output of the matrix"""
25182518

2519+
grouping_key: Optional[str]
2520+
"""The property used to group this price"""
2521+
25192522
prorate: Optional[bool]
25202523
"""If true, the unit price will be prorated to the billing period"""
25212524

src/orb/types/shared/new_floating_scalable_matrix_with_unit_pricing_price.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ class ScalableMatrixWithUnitPricingConfig(BaseModel):
4242
unit_price: str
4343
"""The final unit price to rate against the output of the matrix"""
4444

45+
grouping_key: Optional[str] = None
46+
"""The property used to group this price"""
47+
4548
prorate: Optional[bool] = None
4649
"""If true, the unit price will be prorated to the billing period"""
4750

src/orb/types/shared/new_plan_scalable_matrix_with_unit_pricing_price.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ class ScalableMatrixWithUnitPricingConfig(BaseModel):
4242
unit_price: str
4343
"""The final unit price to rate against the output of the matrix"""
4444

45+
grouping_key: Optional[str] = None
46+
"""The property used to group this price"""
47+
4548
prorate: Optional[bool] = None
4649
"""If true, the unit price will be prorated to the billing period"""
4750

src/orb/types/shared/price.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3388,6 +3388,9 @@ class ScalableMatrixWithUnitPricingPriceScalableMatrixWithUnitPricingConfig(Base
33883388
unit_price: str
33893389
"""The final unit price to rate against the output of the matrix"""
33903390

3391+
grouping_key: Optional[str] = None
3392+
"""The property used to group this price"""
3393+
33913394
prorate: Optional[bool] = None
33923395
"""If true, the unit price will be prorated to the billing period"""
33933396

src/orb/types/shared_params/new_floating_scalable_matrix_with_unit_pricing_price.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ class ScalableMatrixWithUnitPricingConfig(TypedDict, total=False):
4040
unit_price: Required[str]
4141
"""The final unit price to rate against the output of the matrix"""
4242

43+
grouping_key: Optional[str]
44+
"""The property used to group this price"""
45+
4346
prorate: Optional[bool]
4447
"""If true, the unit price will be prorated to the billing period"""
4548

src/orb/types/shared_params/new_plan_scalable_matrix_with_unit_pricing_price.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ class ScalableMatrixWithUnitPricingConfig(TypedDict, total=False):
4040
unit_price: Required[str]
4141
"""The final unit price to rate against the output of the matrix"""
4242

43+
grouping_key: Optional[str]
44+
"""The property used to group this price"""
45+
4346
prorate: Optional[bool]
4447
"""If true, the unit price will be prorated to the billing period"""
4548

0 commit comments

Comments
 (0)