Skip to content

Commit 20ad8c9

Browse files
Merge pull request #1429 from stripe/latest-codegen-beta
Update generated code for beta
2 parents 3f20474 + d70cce7 commit 20ad8c9

40 files changed

+672
-75
lines changed

OPENAPI_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1384
1+
v1406

stripe/_account.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ class Error(StripeObject):
913913
"""
914914
eventually_due: Optional[List[str]]
915915
"""
916-
Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well.
916+
Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well.
917917
"""
918918
past_due: Optional[List[str]]
919919
"""
@@ -1087,7 +1087,7 @@ class Error(StripeObject):
10871087
"""
10881088
eventually_due: Optional[List[str]]
10891089
"""
1090-
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.
1090+
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.
10911091
"""
10921092
past_due: Optional[List[str]]
10931093
"""

stripe/_account_session.py

+11-11
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 `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.
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 `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.
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 `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.
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
"""
@@ -135,7 +135,7 @@ class NotificationBanner(StripeObject):
135135
class Features(StripeObject):
136136
disable_stripe_user_authentication: bool
137137
"""
138-
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.
138+
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.
139139
"""
140140
external_account_collection: bool
141141
"""
@@ -205,7 +205,7 @@ class Payouts(StripeObject):
205205
class Features(StripeObject):
206206
disable_stripe_user_authentication: bool
207207
"""
208-
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.
208+
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.
209209
"""
210210
edit_payout_schedule: bool
211211
"""
@@ -464,7 +464,7 @@ class CreateParamsComponentsAccountManagement(TypedDict):
464464
class CreateParamsComponentsAccountManagementFeatures(TypedDict):
465465
disable_stripe_user_authentication: NotRequired[bool]
466466
"""
467-
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.
467+
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.
468468
"""
469469
external_account_collection: NotRequired[bool]
470470
"""
@@ -486,7 +486,7 @@ class CreateParamsComponentsAccountOnboarding(TypedDict):
486486
class CreateParamsComponentsAccountOnboardingFeatures(TypedDict):
487487
disable_stripe_user_authentication: NotRequired[bool]
488488
"""
489-
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.
489+
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.
490490
"""
491491
external_account_collection: NotRequired[bool]
492492
"""
@@ -544,7 +544,7 @@ class CreateParamsComponentsBalances(TypedDict):
544544
class CreateParamsComponentsBalancesFeatures(TypedDict):
545545
disable_stripe_user_authentication: NotRequired[bool]
546546
"""
547-
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.
547+
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.
548548
"""
549549
edit_payout_schedule: NotRequired[bool]
550550
"""
@@ -653,7 +653,7 @@ class CreateParamsComponentsFinancialAccount(TypedDict):
653653
class CreateParamsComponentsFinancialAccountFeatures(TypedDict):
654654
disable_stripe_user_authentication: NotRequired[bool]
655655
"""
656-
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.
656+
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.
657657
"""
658658
external_account_collection: NotRequired[bool]
659659
"""
@@ -767,7 +767,7 @@ class CreateParamsComponentsNotificationBanner(TypedDict):
767767
class CreateParamsComponentsNotificationBannerFeatures(TypedDict):
768768
disable_stripe_user_authentication: NotRequired[bool]
769769
"""
770-
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.
770+
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.
771771
"""
772772
external_account_collection: NotRequired[bool]
773773
"""
@@ -864,7 +864,7 @@ class CreateParamsComponentsPayouts(TypedDict):
864864
class CreateParamsComponentsPayoutsFeatures(TypedDict):
865865
disable_stripe_user_authentication: NotRequired[bool]
866866
"""
867-
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.
867+
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.
868868
"""
869869
edit_payout_schedule: NotRequired[bool]
870870
"""

stripe/_account_session_service.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class CreateParamsComponentsAccountManagement(TypedDict):
183183
class CreateParamsComponentsAccountManagementFeatures(TypedDict):
184184
disable_stripe_user_authentication: NotRequired[bool]
185185
"""
186-
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.
186+
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.
187187
"""
188188
external_account_collection: NotRequired[bool]
189189
"""
@@ -205,7 +205,7 @@ class CreateParamsComponentsAccountOnboarding(TypedDict):
205205
class CreateParamsComponentsAccountOnboardingFeatures(TypedDict):
206206
disable_stripe_user_authentication: NotRequired[bool]
207207
"""
208-
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.
208+
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.
209209
"""
210210
external_account_collection: NotRequired[bool]
211211
"""
@@ -263,7 +263,7 @@ class CreateParamsComponentsBalances(TypedDict):
263263
class CreateParamsComponentsBalancesFeatures(TypedDict):
264264
disable_stripe_user_authentication: NotRequired[bool]
265265
"""
266-
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.
266+
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.
267267
"""
268268
edit_payout_schedule: NotRequired[bool]
269269
"""
@@ -372,7 +372,7 @@ class CreateParamsComponentsFinancialAccount(TypedDict):
372372
class CreateParamsComponentsFinancialAccountFeatures(TypedDict):
373373
disable_stripe_user_authentication: NotRequired[bool]
374374
"""
375-
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.
375+
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.
376376
"""
377377
external_account_collection: NotRequired[bool]
378378
"""
@@ -486,7 +486,7 @@ class CreateParamsComponentsNotificationBanner(TypedDict):
486486
class CreateParamsComponentsNotificationBannerFeatures(TypedDict):
487487
disable_stripe_user_authentication: NotRequired[bool]
488488
"""
489-
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.
489+
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.
490490
"""
491491
external_account_collection: NotRequired[bool]
492492
"""
@@ -583,7 +583,7 @@ class CreateParamsComponentsPayouts(TypedDict):
583583
class CreateParamsComponentsPayoutsFeatures(TypedDict):
584584
disable_stripe_user_authentication: NotRequired[bool]
585585
"""
586-
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.
586+
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.
587587
"""
588588
edit_payout_schedule: NotRequired[bool]
589589
"""

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"

stripe/_capability.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class Error(StripeObject):
169169
"""
170170
eventually_due: List[str]
171171
"""
172-
Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well.
172+
Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well.
173173
"""
174174
past_due: List[str]
175175
"""
@@ -332,7 +332,7 @@ class Error(StripeObject):
332332
"""
333333
eventually_due: List[str]
334334
"""
335-
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.
335+
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.
336336
"""
337337
past_due: List[str]
338338
"""

0 commit comments

Comments
 (0)