Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated code for beta #1429

Merged
merged 18 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1384
v1406
4 changes: 2 additions & 2 deletions stripe/_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ class Error(StripeObject):
"""
eventually_due: Optional[List[str]]
"""
Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well.
Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well.
"""
past_due: Optional[List[str]]
"""
Expand Down Expand Up @@ -1087,7 +1087,7 @@ class Error(StripeObject):
"""
eventually_due: Optional[List[str]]
"""
Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.
Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.
"""
past_due: Optional[List[str]]
"""
Expand Down
22 changes: 11 additions & 11 deletions stripe/_account_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class AccountManagement(StripeObject):
class Features(StripeObject):
disable_stripe_user_authentication: bool
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
external_account_collection: bool
"""
Expand All @@ -43,7 +43,7 @@ class AccountOnboarding(StripeObject):
class Features(StripeObject):
disable_stripe_user_authentication: bool
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
external_account_collection: bool
"""
Expand All @@ -61,7 +61,7 @@ class Balances(StripeObject):
class Features(StripeObject):
disable_stripe_user_authentication: bool
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
edit_payout_schedule: bool
"""
Expand Down Expand Up @@ -135,7 +135,7 @@ class NotificationBanner(StripeObject):
class Features(StripeObject):
disable_stripe_user_authentication: bool
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
external_account_collection: bool
"""
Expand Down Expand Up @@ -205,7 +205,7 @@ class Payouts(StripeObject):
class Features(StripeObject):
disable_stripe_user_authentication: bool
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
edit_payout_schedule: bool
"""
Expand Down Expand Up @@ -464,7 +464,7 @@ class CreateParamsComponentsAccountManagement(TypedDict):
class CreateParamsComponentsAccountManagementFeatures(TypedDict):
disable_stripe_user_authentication: NotRequired[bool]
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
external_account_collection: NotRequired[bool]
"""
Expand All @@ -486,7 +486,7 @@ class CreateParamsComponentsAccountOnboarding(TypedDict):
class CreateParamsComponentsAccountOnboardingFeatures(TypedDict):
disable_stripe_user_authentication: NotRequired[bool]
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
external_account_collection: NotRequired[bool]
"""
Expand Down Expand Up @@ -544,7 +544,7 @@ class CreateParamsComponentsBalances(TypedDict):
class CreateParamsComponentsBalancesFeatures(TypedDict):
disable_stripe_user_authentication: NotRequired[bool]
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
edit_payout_schedule: NotRequired[bool]
"""
Expand Down Expand Up @@ -653,7 +653,7 @@ class CreateParamsComponentsFinancialAccount(TypedDict):
class CreateParamsComponentsFinancialAccountFeatures(TypedDict):
disable_stripe_user_authentication: NotRequired[bool]
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
external_account_collection: NotRequired[bool]
"""
Expand Down Expand Up @@ -767,7 +767,7 @@ class CreateParamsComponentsNotificationBanner(TypedDict):
class CreateParamsComponentsNotificationBannerFeatures(TypedDict):
disable_stripe_user_authentication: NotRequired[bool]
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
external_account_collection: NotRequired[bool]
"""
Expand Down Expand Up @@ -864,7 +864,7 @@ class CreateParamsComponentsPayouts(TypedDict):
class CreateParamsComponentsPayoutsFeatures(TypedDict):
disable_stripe_user_authentication: NotRequired[bool]
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
edit_payout_schedule: NotRequired[bool]
"""
Expand Down
12 changes: 6 additions & 6 deletions stripe/_account_session_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class CreateParamsComponentsAccountManagement(TypedDict):
class CreateParamsComponentsAccountManagementFeatures(TypedDict):
disable_stripe_user_authentication: NotRequired[bool]
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
external_account_collection: NotRequired[bool]
"""
Expand All @@ -205,7 +205,7 @@ class CreateParamsComponentsAccountOnboarding(TypedDict):
class CreateParamsComponentsAccountOnboardingFeatures(TypedDict):
disable_stripe_user_authentication: NotRequired[bool]
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
external_account_collection: NotRequired[bool]
"""
Expand Down Expand Up @@ -263,7 +263,7 @@ class CreateParamsComponentsBalances(TypedDict):
class CreateParamsComponentsBalancesFeatures(TypedDict):
disable_stripe_user_authentication: NotRequired[bool]
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
edit_payout_schedule: NotRequired[bool]
"""
Expand Down Expand Up @@ -372,7 +372,7 @@ class CreateParamsComponentsFinancialAccount(TypedDict):
class CreateParamsComponentsFinancialAccountFeatures(TypedDict):
disable_stripe_user_authentication: NotRequired[bool]
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
external_account_collection: NotRequired[bool]
"""
Expand Down Expand Up @@ -486,7 +486,7 @@ class CreateParamsComponentsNotificationBanner(TypedDict):
class CreateParamsComponentsNotificationBannerFeatures(TypedDict):
disable_stripe_user_authentication: NotRequired[bool]
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
external_account_collection: NotRequired[bool]
"""
Expand Down Expand Up @@ -583,7 +583,7 @@ class CreateParamsComponentsPayouts(TypedDict):
class CreateParamsComponentsPayoutsFeatures(TypedDict):
disable_stripe_user_authentication: NotRequired[bool]
"""
Disables Stripe user authentication for this embedded component. This feature can only be `true` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.
"""
edit_payout_schedule: NotRequired[bool]
"""
Expand Down
2 changes: 1 addition & 1 deletion stripe/_api_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
class _ApiVersion:
CURRENT = "2024-11-20.acacia"
CURRENT = "2024-12-18.acacia"
4 changes: 2 additions & 2 deletions stripe/_capability.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class Error(StripeObject):
"""
eventually_due: List[str]
"""
Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well.
Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well.
"""
past_due: List[str]
"""
Expand Down Expand Up @@ -332,7 +332,7 @@ class Error(StripeObject):
"""
eventually_due: List[str]
"""
Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.
Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.
"""
past_due: List[str]
"""
Expand Down
Loading
Loading