diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index a73f40111..fbfcb5282 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1433 \ No newline at end of file +v1435 \ No newline at end of file diff --git a/stripe/billing_portal/_configuration.py b/stripe/billing_portal/_configuration.py index d5470243c..96e795e51 100644 --- a/stripe/billing_portal/_configuration.py +++ b/stripe/billing_portal/_configuration.py @@ -106,9 +106,7 @@ class CancellationReason(StripeObject): """ Whether to cancel subscriptions immediately or at the end of the billing period. """ - proration_behavior: Literal[ - "always_invoice", "create_prorations", "none" - ] + proration_behavior: Literal["create_prorations", "none"] """ Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`. """ @@ -304,9 +302,7 @@ class CreateParamsFeaturesSubscriptionCancel(TypedDict): """ Whether to cancel subscriptions immediately or at the end of the billing period. """ - proration_behavior: NotRequired[ - Literal["always_invoice", "create_prorations", "none"] - ] + proration_behavior: NotRequired[Literal["create_prorations", "none"]] """ Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. No prorations are generated when canceling a subscription at the end of its natural billing period. """ @@ -542,9 +538,7 @@ class ModifyParamsFeaturesSubscriptionCancel(TypedDict): """ Whether to cancel subscriptions immediately or at the end of the billing period. """ - proration_behavior: NotRequired[ - Literal["always_invoice", "create_prorations", "none"] - ] + proration_behavior: NotRequired[Literal["create_prorations", "none"]] """ Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. No prorations are generated when canceling a subscription at the end of its natural billing period. """ diff --git a/stripe/billing_portal/_configuration_service.py b/stripe/billing_portal/_configuration_service.py index ae3a1e47c..6cde474ff 100644 --- a/stripe/billing_portal/_configuration_service.py +++ b/stripe/billing_portal/_configuration_service.py @@ -123,9 +123,7 @@ class CreateParamsFeaturesSubscriptionCancel(TypedDict): """ Whether to cancel subscriptions immediately or at the end of the billing period. """ - proration_behavior: NotRequired[ - Literal["always_invoice", "create_prorations", "none"] - ] + proration_behavior: NotRequired[Literal["create_prorations", "none"]] """ Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. No prorations are generated when canceling a subscription at the end of its natural billing period. """ @@ -367,9 +365,7 @@ class UpdateParamsFeaturesSubscriptionCancel(TypedDict): """ Whether to cancel subscriptions immediately or at the end of the billing period. """ - proration_behavior: NotRequired[ - Literal["always_invoice", "create_prorations", "none"] - ] + proration_behavior: NotRequired[Literal["create_prorations", "none"]] """ Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. No prorations are generated when canceling a subscription at the end of its natural billing period. """