Skip to content

Commit

Permalink
Update generated code (#1430)
Browse files Browse the repository at this point in the history
* Update generated code for v1399

* Update generated code for v1402

* Update generated code for v1409

* Update generated code for v1412

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: jar-stripe <jar@stripe.com>
  • Loading branch information
stripe-openapi[bot] and jar-stripe authored Dec 18, 2024
1 parent ef9d5b0 commit c5c4007
Show file tree
Hide file tree
Showing 65 changed files with 2,009 additions and 221 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1347
v1412
8 changes: 4 additions & 4 deletions stripe/_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ class Error(StripeObject):
"""
current_deadline: Optional[int]
"""
Date on which `future_requirements` merges with the main `requirements` hash and `future_requirements` becomes empty. After the transition, `currently_due` requirements may immediately become `past_due`, but the account may also be given a grace period depending on its enablement state prior to transitioning.
Date on which `future_requirements` becomes the main `requirements` hash and `future_requirements` becomes empty. After the transition, `currently_due` requirements may immediately become `past_due`, but the account may also be given a grace period depending on its enablement state prior to transitioning.
"""
currently_due: Optional[List[str]]
"""
Expand Down Expand Up @@ -826,7 +826,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 @@ -1000,7 +1000,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 Expand Up @@ -1362,7 +1362,7 @@ class CreateParams(RequestOptions):
"""
groups: NotRequired["Account.CreateParamsGroups"]
"""
A hash of account group type to tokens. These are account groups this account should be added to
A hash of account group type to tokens. These are account groups this account should be added to.
"""
individual: NotRequired["Account.CreateParamsIndividual"]
"""
Expand Down
4 changes: 2 additions & 2 deletions stripe/_account_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class CreateParams(TypedDict):
"""
groups: NotRequired["AccountService.CreateParamsGroups"]
"""
A hash of account group type to tokens. These are account groups this account should be added to
A hash of account group type to tokens. These are account groups this account should be added to.
"""
individual: NotRequired["AccountService.CreateParamsIndividual"]
"""
Expand Down Expand Up @@ -1861,7 +1861,7 @@ class UpdateParams(TypedDict):
"""
groups: NotRequired["AccountService.UpdateParamsGroups"]
"""
A hash of account group type to tokens. These are account groups this account should be added to
A hash of account group type to tokens. These are account groups this account should be added to.
"""
individual: NotRequired["AccountService.UpdateParamsIndividual"]
"""
Expand Down
20 changes: 10 additions & 10 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 false 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 false 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 false 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 @@ -102,7 +102,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 false 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 @@ -172,7 +172,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 false 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 @@ -347,7 +347,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 false 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 @@ -369,7 +369,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 false 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 @@ -391,7 +391,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 false 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 @@ -440,7 +440,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 false 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 @@ -522,7 +522,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 false 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
10 changes: 5 additions & 5 deletions stripe/_account_session_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,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 false 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 @@ -127,7 +127,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 false 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 @@ -149,7 +149,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 false 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 @@ -198,7 +198,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 false 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 @@ -280,7 +280,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 false 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"
Loading

0 comments on commit c5c4007

Please sign in to comment.