Skip to content

Commit c5c4007

Browse files
Update generated code (#1430)
* 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 <[email protected]>
1 parent ef9d5b0 commit c5c4007

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+2009
-221
lines changed

OPENAPI_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1347
1+
v1412

stripe/_account.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ class Error(StripeObject):
792792
"""
793793
current_deadline: Optional[int]
794794
"""
795-
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.
795+
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.
796796
"""
797797
currently_due: Optional[List[str]]
798798
"""
@@ -826,7 +826,7 @@ class Error(StripeObject):
826826
"""
827827
eventually_due: Optional[List[str]]
828828
"""
829-
Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well.
829+
Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well.
830830
"""
831831
past_due: Optional[List[str]]
832832
"""
@@ -1000,7 +1000,7 @@ class Error(StripeObject):
10001000
"""
10011001
eventually_due: Optional[List[str]]
10021002
"""
1003-
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.
1003+
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.
10041004
"""
10051005
past_due: Optional[List[str]]
10061006
"""
@@ -1362,7 +1362,7 @@ class CreateParams(RequestOptions):
13621362
"""
13631363
groups: NotRequired["Account.CreateParamsGroups"]
13641364
"""
1365-
A hash of account group type to tokens. These are account groups this account should be added to
1365+
A hash of account group type to tokens. These are account groups this account should be added to.
13661366
"""
13671367
individual: NotRequired["Account.CreateParamsIndividual"]
13681368
"""

stripe/_account_service.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class CreateParams(TypedDict):
8989
"""
9090
groups: NotRequired["AccountService.CreateParamsGroups"]
9191
"""
92-
A hash of account group type to tokens. These are account groups this account should be added to
92+
A hash of account group type to tokens. These are account groups this account should be added to.
9393
"""
9494
individual: NotRequired["AccountService.CreateParamsIndividual"]
9595
"""
@@ -1861,7 +1861,7 @@ class UpdateParams(TypedDict):
18611861
"""
18621862
groups: NotRequired["AccountService.UpdateParamsGroups"]
18631863
"""
1864-
A hash of account group type to tokens. These are account groups this account should be added to
1864+
A hash of account group type to tokens. These are account groups this account should be added to.
18651865
"""
18661866
individual: NotRequired["AccountService.UpdateParamsIndividual"]
18671867
"""

stripe/_account_session.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class AccountManagement(StripeObject):
2525
class Features(StripeObject):
2626
disable_stripe_user_authentication: bool
2727
"""
28-
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.
28+
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.
2929
"""
3030
external_account_collection: bool
3131
"""
@@ -43,7 +43,7 @@ class AccountOnboarding(StripeObject):
4343
class Features(StripeObject):
4444
disable_stripe_user_authentication: bool
4545
"""
46-
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.
46+
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.
4747
"""
4848
external_account_collection: bool
4949
"""
@@ -61,7 +61,7 @@ class Balances(StripeObject):
6161
class Features(StripeObject):
6262
disable_stripe_user_authentication: bool
6363
"""
64-
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.
64+
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.
6565
"""
6666
edit_payout_schedule: bool
6767
"""
@@ -102,7 +102,7 @@ class NotificationBanner(StripeObject):
102102
class Features(StripeObject):
103103
disable_stripe_user_authentication: bool
104104
"""
105-
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.
105+
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.
106106
"""
107107
external_account_collection: bool
108108
"""
@@ -172,7 +172,7 @@ class Payouts(StripeObject):
172172
class Features(StripeObject):
173173
disable_stripe_user_authentication: bool
174174
"""
175-
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.
175+
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.
176176
"""
177177
edit_payout_schedule: bool
178178
"""
@@ -347,7 +347,7 @@ class CreateParamsComponentsAccountManagement(TypedDict):
347347
class CreateParamsComponentsAccountManagementFeatures(TypedDict):
348348
disable_stripe_user_authentication: NotRequired[bool]
349349
"""
350-
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.
350+
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.
351351
"""
352352
external_account_collection: NotRequired[bool]
353353
"""
@@ -369,7 +369,7 @@ class CreateParamsComponentsAccountOnboarding(TypedDict):
369369
class CreateParamsComponentsAccountOnboardingFeatures(TypedDict):
370370
disable_stripe_user_authentication: NotRequired[bool]
371371
"""
372-
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.
372+
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.
373373
"""
374374
external_account_collection: NotRequired[bool]
375375
"""
@@ -391,7 +391,7 @@ class CreateParamsComponentsBalances(TypedDict):
391391
class CreateParamsComponentsBalancesFeatures(TypedDict):
392392
disable_stripe_user_authentication: NotRequired[bool]
393393
"""
394-
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.
394+
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.
395395
"""
396396
edit_payout_schedule: NotRequired[bool]
397397
"""
@@ -440,7 +440,7 @@ class CreateParamsComponentsNotificationBanner(TypedDict):
440440
class CreateParamsComponentsNotificationBannerFeatures(TypedDict):
441441
disable_stripe_user_authentication: NotRequired[bool]
442442
"""
443-
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.
443+
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.
444444
"""
445445
external_account_collection: NotRequired[bool]
446446
"""
@@ -522,7 +522,7 @@ class CreateParamsComponentsPayouts(TypedDict):
522522
class CreateParamsComponentsPayoutsFeatures(TypedDict):
523523
disable_stripe_user_authentication: NotRequired[bool]
524524
"""
525-
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.
525+
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.
526526
"""
527527
edit_payout_schedule: NotRequired[bool]
528528
"""

stripe/_account_session_service.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class CreateParamsComponentsAccountManagement(TypedDict):
105105
class CreateParamsComponentsAccountManagementFeatures(TypedDict):
106106
disable_stripe_user_authentication: NotRequired[bool]
107107
"""
108-
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.
108+
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.
109109
"""
110110
external_account_collection: NotRequired[bool]
111111
"""
@@ -127,7 +127,7 @@ class CreateParamsComponentsAccountOnboarding(TypedDict):
127127
class CreateParamsComponentsAccountOnboardingFeatures(TypedDict):
128128
disable_stripe_user_authentication: NotRequired[bool]
129129
"""
130-
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.
130+
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.
131131
"""
132132
external_account_collection: NotRequired[bool]
133133
"""
@@ -149,7 +149,7 @@ class CreateParamsComponentsBalances(TypedDict):
149149
class CreateParamsComponentsBalancesFeatures(TypedDict):
150150
disable_stripe_user_authentication: NotRequired[bool]
151151
"""
152-
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.
152+
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.
153153
"""
154154
edit_payout_schedule: NotRequired[bool]
155155
"""
@@ -198,7 +198,7 @@ class CreateParamsComponentsNotificationBanner(TypedDict):
198198
class CreateParamsComponentsNotificationBannerFeatures(TypedDict):
199199
disable_stripe_user_authentication: NotRequired[bool]
200200
"""
201-
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.
201+
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.
202202
"""
203203
external_account_collection: NotRequired[bool]
204204
"""
@@ -280,7 +280,7 @@ class CreateParamsComponentsPayouts(TypedDict):
280280
class CreateParamsComponentsPayoutsFeatures(TypedDict):
281281
disable_stripe_user_authentication: NotRequired[bool]
282282
"""
283-
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.
283+
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.
284284
"""
285285
edit_payout_schedule: NotRequired[bool]
286286
"""

stripe/_api_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# -*- coding: utf-8 -*-
22
# File generated from our OpenAPI spec
33
class _ApiVersion:
4-
CURRENT = "2024-11-20.acacia"
4+
CURRENT = "2024-12-18.acacia"

0 commit comments

Comments
 (0)