Skip to content

Commit f1c355f

Browse files
feat(api): OpenAPI spec update via Stainless API (#368)
1 parent 8f9f200 commit f1c355f

12 files changed

+2877
-21
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 93
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-64dd0f92903194da778c07c4d6f30af1dc58586b5870a1c5a2291a420f42e1ae.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-43ca3ef2601cc2b4dc4c5cfe217ed0b3e9a8fda04c3cd777ce8431427c5eb45a.yml

src/orb/resources/prices/prices.py

+512
Large diffs are not rendered by default.

src/orb/resources/subscriptions.py

+6
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ def create(
5656
align_billing_with_subscription_start_date: bool | NotGiven = NOT_GIVEN,
5757
auto_collection: Optional[bool] | NotGiven = NOT_GIVEN,
5858
aws_region: Optional[str] | NotGiven = NOT_GIVEN,
59+
billing_cycle_anchor_configuration: Optional[subscription_create_params.BillingCycleAnchorConfiguration]
60+
| NotGiven = NOT_GIVEN,
5961
coupon_redemption_code: Optional[str] | NotGiven = NOT_GIVEN,
6062
credits_overage_rate: Optional[float] | NotGiven = NOT_GIVEN,
6163
customer_id: Optional[str] | NotGiven = NOT_GIVEN,
@@ -504,6 +506,7 @@ def create(
504506
"align_billing_with_subscription_start_date": align_billing_with_subscription_start_date,
505507
"auto_collection": auto_collection,
506508
"aws_region": aws_region,
509+
"billing_cycle_anchor_configuration": billing_cycle_anchor_configuration,
507510
"coupon_redemption_code": coupon_redemption_code,
508511
"credits_overage_rate": credits_overage_rate,
509512
"customer_id": customer_id,
@@ -1787,6 +1790,8 @@ async def create(
17871790
align_billing_with_subscription_start_date: bool | NotGiven = NOT_GIVEN,
17881791
auto_collection: Optional[bool] | NotGiven = NOT_GIVEN,
17891792
aws_region: Optional[str] | NotGiven = NOT_GIVEN,
1793+
billing_cycle_anchor_configuration: Optional[subscription_create_params.BillingCycleAnchorConfiguration]
1794+
| NotGiven = NOT_GIVEN,
17901795
coupon_redemption_code: Optional[str] | NotGiven = NOT_GIVEN,
17911796
credits_overage_rate: Optional[float] | NotGiven = NOT_GIVEN,
17921797
customer_id: Optional[str] | NotGiven = NOT_GIVEN,
@@ -2235,6 +2240,7 @@ async def create(
22352240
"align_billing_with_subscription_start_date": align_billing_with_subscription_start_date,
22362241
"auto_collection": auto_collection,
22372242
"aws_region": aws_region,
2243+
"billing_cycle_anchor_configuration": billing_cycle_anchor_configuration,
22382244
"coupon_redemption_code": coupon_redemption_code,
22392245
"credits_overage_rate": credits_overage_rate,
22402246
"customer_id": customer_id,

0 commit comments

Comments
 (0)