diff options
author | stripe-openapi[bot] <105521251+stripe-openapi[bot]@users.noreply.github.com> | 2025-09-29 16:55:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-29 16:55:44 -0700 |
commit | 1e2641bf581ecb1aedb6a48decaa32080c9757de (patch) | |
tree | 54184a5c658ad704f1dc14fc98deabd3901315e7 | |
parent | 3fd4f0ac4d78737e4d177391ab702157757180b9 (diff) |
Update generated code for v2028 and 2025-09-30.clover (#1607)
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
-rw-r--r-- | OPENAPI_VERSION | 2 | ||||
-rw-r--r-- | stripe/_account_session.py | 68 | ||||
-rw-r--r-- | stripe/_account_session_service.py | 42 |
3 files changed, 1 insertions, 111 deletions
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index bfb4a2e0..f0bb0d52 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2026 \ No newline at end of file +v2028 \ No newline at end of file diff --git a/stripe/_account_session.py b/stripe/_account_session.py index e907f67d..092b3410 100644 --- a/stripe/_account_session.py +++ b/stripe/_account_session.py @@ -57,17 +57,6 @@ class AccountSession(CreateableAPIResource["AccountSession"]): features: Features _inner_class_types = {"features": Features} - class BalanceReport(StripeObject): - class Features(StripeObject): - pass - - enabled: bool - """ - Whether the embedded component is enabled. - """ - features: Features - _inner_class_types = {"features": Features} - class Balances(StripeObject): class Features(StripeObject): disable_stripe_user_authentication: bool @@ -356,17 +345,6 @@ class AccountSession(CreateableAPIResource["AccountSession"]): features: Features _inner_class_types = {"features": Features} - class PayoutReconciliationReport(StripeObject): - class Features(StripeObject): - pass - - enabled: bool - """ - Whether the embedded component is enabled. - """ - features: Features - _inner_class_types = {"features": Features} - class Payouts(StripeObject): class Features(StripeObject): disable_stripe_user_authentication: bool @@ -432,7 +410,6 @@ class AccountSession(CreateableAPIResource["AccountSession"]): account_management: AccountManagement account_onboarding: AccountOnboarding - balance_report: BalanceReport balances: Balances disputes_list: DisputesList documents: Documents @@ -446,7 +423,6 @@ class AccountSession(CreateableAPIResource["AccountSession"]): payment_disputes: PaymentDisputes payments: Payments payout_details: PayoutDetails - payout_reconciliation_report: PayoutReconciliationReport payouts: Payouts payouts_list: PayoutsList tax_registrations: TaxRegistrations @@ -454,7 +430,6 @@ class AccountSession(CreateableAPIResource["AccountSession"]): _inner_class_types = { "account_management": AccountManagement, "account_onboarding": AccountOnboarding, - "balance_report": BalanceReport, "balances": Balances, "disputes_list": DisputesList, "documents": Documents, @@ -468,7 +443,6 @@ class AccountSession(CreateableAPIResource["AccountSession"]): "payment_disputes": PaymentDisputes, "payments": Payments, "payout_details": PayoutDetails, - "payout_reconciliation_report": PayoutReconciliationReport, "payouts": Payouts, "payouts_list": PayoutsList, "tax_registrations": TaxRegistrations, @@ -502,12 +476,6 @@ class AccountSession(CreateableAPIResource["AccountSession"]): """ Configuration for the [account onboarding](https://docs.stripe.com/connect/supported-embedded-components/account-onboarding/) embedded component. """ - balance_report: NotRequired[ - "AccountSession.CreateParamsComponentsBalanceReport" - ] - """ - Configuration for the [balance report](https://docs.stripe.com/connect/supported-embedded-components/financial-reports#balance-report) embedded component. - """ balances: NotRequired["AccountSession.CreateParamsComponentsBalances"] """ Configuration for the [balances](https://docs.stripe.com/connect/supported-embedded-components/balances/) embedded component. @@ -582,12 +550,6 @@ class AccountSession(CreateableAPIResource["AccountSession"]): """ Configuration for the [payout details](https://docs.stripe.com/connect/supported-embedded-components/payout-details/) embedded component. """ - payout_reconciliation_report: NotRequired[ - "AccountSession.CreateParamsComponentsPayoutReconciliationReport" - ] - """ - Configuration for the [payout reconciliation report](https://docs.stripe.com/connect/supported-embedded-components/financial-reports#payout-reconciliation-report) embedded component. - """ payouts: NotRequired["AccountSession.CreateParamsComponentsPayouts"] """ Configuration for the [payouts](https://docs.stripe.com/connect/supported-embedded-components/payouts/) embedded component. @@ -655,21 +617,6 @@ class AccountSession(CreateableAPIResource["AccountSession"]): Whether external account collection is enabled. 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 `true`. """ - class CreateParamsComponentsBalanceReport(TypedDict): - enabled: bool - """ - Whether the embedded component is enabled. - """ - features: NotRequired[ - "AccountSession.CreateParamsComponentsBalanceReportFeatures" - ] - """ - An empty list, because this embedded component has no features. - """ - - class CreateParamsComponentsBalanceReportFeatures(TypedDict): - pass - class CreateParamsComponentsBalances(TypedDict): enabled: bool """ @@ -1012,21 +959,6 @@ class AccountSession(CreateableAPIResource["AccountSession"]): class CreateParamsComponentsPayoutDetailsFeatures(TypedDict): pass - class CreateParamsComponentsPayoutReconciliationReport(TypedDict): - enabled: bool - """ - Whether the embedded component is enabled. - """ - features: NotRequired[ - "AccountSession.CreateParamsComponentsPayoutReconciliationReportFeatures" - ] - """ - An empty list, because this embedded component has no features. - """ - - class CreateParamsComponentsPayoutReconciliationReportFeatures(TypedDict): - pass - class CreateParamsComponentsPayouts(TypedDict): enabled: bool """ diff --git a/stripe/_account_session_service.py b/stripe/_account_session_service.py index 334d1acf..1fa027b5 100644 --- a/stripe/_account_session_service.py +++ b/stripe/_account_session_service.py @@ -35,12 +35,6 @@ class AccountSessionService(StripeService): """ Configuration for the [account onboarding](https://docs.stripe.com/connect/supported-embedded-components/account-onboarding/) embedded component. """ - balance_report: NotRequired[ - "AccountSessionService.CreateParamsComponentsBalanceReport" - ] - """ - Configuration for the [balance report](https://docs.stripe.com/connect/supported-embedded-components/financial-reports#balance-report) embedded component. - """ balances: NotRequired[ "AccountSessionService.CreateParamsComponentsBalances" ] @@ -119,12 +113,6 @@ class AccountSessionService(StripeService): """ Configuration for the [payout details](https://docs.stripe.com/connect/supported-embedded-components/payout-details/) embedded component. """ - payout_reconciliation_report: NotRequired[ - "AccountSessionService.CreateParamsComponentsPayoutReconciliationReport" - ] - """ - Configuration for the [payout reconciliation report](https://docs.stripe.com/connect/supported-embedded-components/financial-reports#payout-reconciliation-report) embedded component. - """ payouts: NotRequired[ "AccountSessionService.CreateParamsComponentsPayouts" ] @@ -194,21 +182,6 @@ class AccountSessionService(StripeService): Whether external account collection is enabled. 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 `true`. """ - class CreateParamsComponentsBalanceReport(TypedDict): - enabled: bool - """ - Whether the embedded component is enabled. - """ - features: NotRequired[ - "AccountSessionService.CreateParamsComponentsBalanceReportFeatures" - ] - """ - An empty list, because this embedded component has no features. - """ - - class CreateParamsComponentsBalanceReportFeatures(TypedDict): - pass - class CreateParamsComponentsBalances(TypedDict): enabled: bool """ @@ -551,21 +524,6 @@ class AccountSessionService(StripeService): class CreateParamsComponentsPayoutDetailsFeatures(TypedDict): pass - class CreateParamsComponentsPayoutReconciliationReport(TypedDict): - enabled: bool - """ - Whether the embedded component is enabled. - """ - features: NotRequired[ - "AccountSessionService.CreateParamsComponentsPayoutReconciliationReportFeatures" - ] - """ - An empty list, because this embedded component has no features. - """ - - class CreateParamsComponentsPayoutReconciliationReportFeatures(TypedDict): - pass - class CreateParamsComponentsPayouts(TypedDict): enabled: bool """ |