stripe 23.1.0-beta.2 → 23.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4850 -1831
- package/OPENAPI_VERSION +1 -1
- package/README.md +58 -42
- package/VERSION +1 -1
- package/cjs/Error.d.ts +6 -6
- package/cjs/Error.js +17 -17
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.js +60 -46
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +2 -4
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountSessions.d.ts +57 -211
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +58 -626
- package/cjs/resources/Accounts.js +0 -14
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Apps/Installs.d.ts +6 -6
- package/cjs/resources/Apps/Installs.js +3 -3
- package/cjs/resources/Balance.d.ts +0 -67
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/cjs/resources/Billing/index.d.ts +0 -3
- package/cjs/resources/Billing/index.js +0 -2
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/Configurations.d.ts +120 -0
- package/cjs/resources/BillingPortal/Sessions.d.ts +22 -2
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Cards.d.ts +3 -17
- package/cjs/resources/Charges.d.ts +73 -3077
- package/cjs/resources/Checkout/Sessions.d.ts +40 -360
- package/cjs/resources/ConfirmationTokens.d.ts +1 -64
- package/cjs/resources/Coupons.d.ts +0 -53
- package/cjs/resources/Coupons.js +0 -13
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
- package/cjs/resources/CreditNotes.d.ts +1 -1
- package/cjs/resources/CustomerCashBalanceTransactions.d.ts +1 -1
- package/cjs/resources/CustomerSessions.d.ts +0 -68
- package/cjs/resources/Customers.d.ts +5 -24
- package/cjs/resources/Customers.js +0 -14
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +8 -19
- package/cjs/resources/Events.d.ts +95 -548
- package/cjs/resources/ExternalAccounts.d.ts +1 -212
- package/cjs/resources/ExternalAccounts.js +0 -44
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Accounts.d.ts +5 -70
- package/cjs/resources/FinancialConnections/Accounts.js +0 -8
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +1 -46
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -11
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Sessions.d.ts +9 -124
- package/cjs/resources/FinancialConnections/index.d.ts +9 -21
- package/cjs/resources/FinancialConnections/index.js +0 -4
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +1 -86
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +2 -40
- package/cjs/resources/Invoices.d.ts +142 -1230
- package/cjs/resources/Invoices.js +0 -41
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +0 -13
- package/cjs/resources/Issuing/Cardholders.d.ts +1 -19
- package/cjs/resources/Issuing/Cards.d.ts +12 -13
- package/cjs/resources/Issuing/Disputes.d.ts +0 -13
- package/cjs/resources/Issuing/Transactions.d.ts +0 -22
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +22 -47
- package/cjs/resources/Issuing/index.js +0 -6
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +2 -29
- package/cjs/resources/Mandates.d.ts +2 -33
- package/cjs/resources/Mandates.js +0 -8
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/PaymentAttemptRecords.d.ts +1 -80
- package/cjs/resources/PaymentIntents.d.ts +6191 -17059
- package/cjs/resources/PaymentIntents.js +0 -27
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +81 -3
- package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -280
- package/cjs/resources/PaymentMethods.d.ts +3 -155
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +1 -80
- package/cjs/resources/Payouts.d.ts +1 -1
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Prices.d.ts +0 -36
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/cjs/resources/PromotionCodes.d.ts +0 -12
- package/cjs/resources/PromotionCodes.js +0 -27
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/Quotes.d.ts +150 -2359
- package/cjs/resources/Quotes.js +13 -1181
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +1 -31
- package/cjs/resources/Radar/index.d.ts +16 -21
- package/cjs/resources/Radar/index.js +0 -2
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +18 -5
- package/cjs/resources/Reserve/Holds.d.ts +1 -53
- package/cjs/resources/Reserve/Holds.js +0 -19
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +1 -41
- package/cjs/resources/Reserve/Plans.js +0 -19
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +1 -41
- package/cjs/resources/Reserve/Releases.js +0 -19
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +6 -18
- package/cjs/resources/Reserve/index.js +0 -9
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +1 -26
- package/cjs/resources/SetupIntents.d.ts +14 -328
- package/cjs/resources/SourceMandateNotifications.d.ts +1 -3
- package/cjs/resources/Sources.d.ts +1 -29
- package/cjs/resources/SubscriptionItems.d.ts +7 -112
- package/cjs/resources/SubscriptionSchedules.d.ts +7 -1159
- package/cjs/resources/SubscriptionSchedules.js +0 -6
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +12 -394
- package/cjs/resources/Subscriptions.js +1 -43
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +1 -1
- package/cjs/resources/Tax/Calculations.d.ts +6 -6
- package/cjs/resources/Tax/Registrations.d.ts +90 -28
- package/cjs/resources/Tax/Transactions.d.ts +3 -3
- package/cjs/resources/Tax/index.d.ts +17 -24
- package/cjs/resources/Tax/index.js +0 -2
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxIds.d.ts +4 -4
- package/cjs/resources/TaxRates.d.ts +3 -3
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- package/cjs/resources/Terminal/Readers.d.ts +4 -20
- package/cjs/resources/Terminal/index.d.ts +0 -5
- package/cjs/resources/Terminal/index.js +0 -2
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +1 -72
- package/cjs/resources/TestHelpers/Customers.d.ts +1 -1
- package/cjs/resources/TestHelpers/Customers.js +1 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/cjs/resources/TestHelpers/index.d.ts +0 -3
- package/cjs/resources/TestHelpers/index.js +4 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +6 -15
- package/cjs/resources/Transfers.d.ts +0 -8
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -9
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +6 -22
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/cjs/resources/Treasury/TransactionEntries.d.ts +14 -0
- package/cjs/resources/Treasury/Transactions.d.ts +14 -0
- package/cjs/resources/V2/Billing/index.d.ts +6 -45
- package/cjs/resources/V2/Billing/index.js +0 -8
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountPersons.d.ts +9 -9
- package/cjs/resources/V2/Core/AccountTokens.d.ts +21 -31
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +9 -9
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +19 -19
- package/cjs/resources/V2/Core/Accounts.d.ts +440 -1286
- package/cjs/resources/V2/Core/EventDestinations.d.ts +1 -1
- package/cjs/resources/V2/Core/Events.d.ts +872 -923
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +6 -146
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +4 -15
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +19 -20
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +8 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +2 -2
- package/cjs/resources/V2/Core/index.d.ts +9 -24
- package/cjs/resources/V2/Core/index.js +0 -4
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +13 -12
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +25 -141
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +2 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +15 -37
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +9 -13
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +156 -93
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +2 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +3 -77
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +730 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +67 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +6 -43
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +5 -12
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +7 -118
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +155 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +1 -15
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -7
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +24 -18
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +87 -26
- package/cjs/resources/V2/MoneyManagement/Transactions.js +12 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +43 -48
- package/cjs/resources/V2/MoneyManagement/index.js +4 -6
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
- package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +8 -0
- package/cjs/resources/V2/TestHelpers/index.js +13 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +3 -18
- package/cjs/resources/V2/index.js +4 -14
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources.d.ts +0 -9
- package/cjs/resources.js +15 -115
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +671 -6308
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +28 -57
- package/cjs/stripe.core.js +36 -53
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +6 -6
- package/esm/Error.js +14 -14
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +60 -46
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +2 -4
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountSessions.d.ts +57 -211
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +58 -626
- package/esm/resources/Accounts.js +0 -14
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Apps/Installs.d.ts +6 -6
- package/esm/resources/Apps/Installs.js +3 -3
- package/esm/resources/Balance.d.ts +0 -67
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/esm/resources/Billing/index.d.ts +0 -3
- package/esm/resources/Billing/index.js +0 -2
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/Configurations.d.ts +120 -0
- package/esm/resources/BillingPortal/Sessions.d.ts +22 -2
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Cards.d.ts +3 -17
- package/esm/resources/Charges.d.ts +73 -3077
- package/esm/resources/Checkout/Sessions.d.ts +40 -360
- package/esm/resources/ConfirmationTokens.d.ts +1 -64
- package/esm/resources/Coupons.d.ts +0 -53
- package/esm/resources/Coupons.js +0 -13
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +1 -15
- package/esm/resources/CreditNotes.d.ts +1 -1
- package/esm/resources/CustomerCashBalanceTransactions.d.ts +1 -1
- package/esm/resources/CustomerSessions.d.ts +0 -68
- package/esm/resources/Customers.d.ts +5 -24
- package/esm/resources/Customers.js +0 -14
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +8 -19
- package/esm/resources/Events.d.ts +95 -548
- package/esm/resources/ExternalAccounts.d.ts +1 -212
- package/esm/resources/ExternalAccounts.js +1 -42
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Accounts.d.ts +5 -70
- package/esm/resources/FinancialConnections/Accounts.js +0 -8
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +1 -46
- package/esm/resources/FinancialConnections/Authorizations.js +1 -9
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Sessions.d.ts +9 -124
- package/esm/resources/FinancialConnections/index.d.ts +9 -21
- package/esm/resources/FinancialConnections/index.js +0 -4
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +1 -86
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +2 -40
- package/esm/resources/Invoices.d.ts +142 -1230
- package/esm/resources/Invoices.js +0 -41
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +0 -13
- package/esm/resources/Issuing/Cardholders.d.ts +1 -19
- package/esm/resources/Issuing/Cards.d.ts +12 -13
- package/esm/resources/Issuing/Disputes.d.ts +0 -13
- package/esm/resources/Issuing/Transactions.d.ts +0 -22
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +22 -47
- package/esm/resources/Issuing/index.js +0 -6
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +2 -29
- package/esm/resources/Mandates.d.ts +2 -33
- package/esm/resources/Mandates.js +0 -8
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/PaymentAttemptRecords.d.ts +1 -80
- package/esm/resources/PaymentIntents.d.ts +6191 -17059
- package/esm/resources/PaymentIntents.js +0 -27
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +81 -3
- package/esm/resources/PaymentMethodConfigurations.d.ts +0 -280
- package/esm/resources/PaymentMethods.d.ts +3 -155
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +1 -80
- package/esm/resources/Payouts.d.ts +1 -1
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Prices.d.ts +0 -36
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/esm/resources/PromotionCodes.d.ts +0 -12
- package/esm/resources/PromotionCodes.js +0 -27
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/Quotes.d.ts +150 -2359
- package/esm/resources/Quotes.js +13 -1181
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +1 -31
- package/esm/resources/Radar/index.d.ts +16 -21
- package/esm/resources/Radar/index.js +0 -2
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +18 -5
- package/esm/resources/Reserve/Holds.d.ts +1 -53
- package/esm/resources/Reserve/Holds.js +1 -17
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +1 -41
- package/esm/resources/Reserve/Plans.js +1 -17
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +1 -41
- package/esm/resources/Reserve/Releases.js +1 -17
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +6 -18
- package/esm/resources/Reserve/index.js +0 -9
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +1 -26
- package/esm/resources/SetupIntents.d.ts +14 -328
- package/esm/resources/SourceMandateNotifications.d.ts +1 -3
- package/esm/resources/Sources.d.ts +1 -29
- package/esm/resources/SubscriptionItems.d.ts +7 -112
- package/esm/resources/SubscriptionSchedules.d.ts +7 -1159
- package/esm/resources/SubscriptionSchedules.js +0 -6
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +12 -394
- package/esm/resources/Subscriptions.js +1 -43
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +1 -1
- package/esm/resources/Tax/Calculations.d.ts +6 -6
- package/esm/resources/Tax/Registrations.d.ts +90 -28
- package/esm/resources/Tax/Transactions.d.ts +3 -3
- package/esm/resources/Tax/index.d.ts +17 -24
- package/esm/resources/Tax/index.js +0 -2
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxIds.d.ts +4 -4
- package/esm/resources/TaxRates.d.ts +3 -3
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- package/esm/resources/Terminal/Readers.d.ts +4 -20
- package/esm/resources/Terminal/index.d.ts +0 -5
- package/esm/resources/Terminal/index.js +0 -2
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +1 -72
- package/esm/resources/TestHelpers/Customers.d.ts +1 -1
- package/esm/resources/TestHelpers/Customers.js +1 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/esm/resources/TestHelpers/index.d.ts +0 -3
- package/esm/resources/TestHelpers/index.js +0 -2
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +6 -15
- package/esm/resources/Transfers.d.ts +0 -8
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/esm/resources/Treasury/OutboundPayments.d.ts +0 -9
- package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/esm/resources/Treasury/ReceivedCredits.d.ts +6 -22
- package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/esm/resources/Treasury/TransactionEntries.d.ts +14 -0
- package/esm/resources/Treasury/Transactions.d.ts +14 -0
- package/esm/resources/V2/Billing/index.d.ts +6 -45
- package/esm/resources/V2/Billing/index.js +0 -8
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountPersons.d.ts +9 -9
- package/esm/resources/V2/Core/AccountTokens.d.ts +21 -31
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +9 -9
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +19 -19
- package/esm/resources/V2/Core/Accounts.d.ts +440 -1286
- package/esm/resources/V2/Core/EventDestinations.d.ts +1 -1
- package/esm/resources/V2/Core/Events.d.ts +872 -923
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +6 -146
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +4 -15
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +19 -20
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +8 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +2 -2
- package/esm/resources/V2/Core/index.d.ts +9 -24
- package/esm/resources/V2/Core/index.js +0 -4
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +13 -12
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +25 -141
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +2 -17
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +15 -37
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +9 -13
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +156 -93
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +2 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +3 -77
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +730 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js +63 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +6 -43
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +5 -12
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +7 -118
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +155 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +1 -15
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -7
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +24 -18
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +87 -26
- package/esm/resources/V2/MoneyManagement/Transactions.js +12 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +43 -48
- package/esm/resources/V2/MoneyManagement/index.js +4 -6
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
- package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +8 -0
- package/esm/resources/V2/TestHelpers/index.js +9 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +3 -18
- package/esm/resources/V2/index.js +2 -12
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources.d.ts +0 -9
- package/esm/resources.js +7 -102
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +28 -57
- package/esm/stripe.core.js +2 -19
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +28 -57
- package/esm/stripe.esm.node.js +2 -19
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
- package/cjs/resources/AccountNotices.d.ts +0 -140
- package/cjs/resources/AccountNotices.js +0 -29
- package/cjs/resources/AccountNotices.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -85
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
- package/cjs/resources/Billing/Analytics/index.js +0 -13
- package/cjs/resources/Billing/Analytics/index.js.map +0 -1
- package/cjs/resources/Capital/FinancingOffers.d.ts +0 -194
- package/cjs/resources/Capital/FinancingOffers.js +0 -30
- package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
- package/cjs/resources/Capital/FinancingSummary.d.ts +0 -102
- package/cjs/resources/Capital/FinancingSummary.js +0 -15
- package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
- package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -141
- package/cjs/resources/Capital/FinancingTransactions.js +0 -24
- package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
- package/cjs/resources/Capital/index.d.ts +0 -25
- package/cjs/resources/Capital/index.js +0 -17
- package/cjs/resources/Capital/index.js.map +0 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -99
- package/cjs/resources/FinancialConnections/Institutions.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
- package/cjs/resources/FxQuotes.d.ts +0 -216
- package/cjs/resources/FxQuotes.js +0 -29
- package/cjs/resources/FxQuotes.js.map +0 -1
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/cjs/resources/Issuing/Settlements.d.ts +0 -83
- package/cjs/resources/Issuing/Settlements.js +0 -4
- package/cjs/resources/Issuing/Settlements.js.map +0 -1
- package/cjs/resources/Margins.d.ts +0 -115
- package/cjs/resources/Margins.js +0 -35
- package/cjs/resources/Margins.js.map +0 -1
- package/cjs/resources/Orders.d.ts +0 -4696
- package/cjs/resources/Orders.js +0 -457
- package/cjs/resources/Orders.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -227
- package/cjs/resources/Privacy/RedactionJobs.js +0 -73
- package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
- package/cjs/resources/Privacy/index.d.ts +0 -22
- package/cjs/resources/Privacy/index.js +0 -13
- package/cjs/resources/Privacy/index.js.map +0 -1
- package/cjs/resources/QuoteLines.d.ts +0 -507
- package/cjs/resources/QuoteLines.js +0 -4
- package/cjs/resources/QuoteLines.js.map +0 -1
- package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1170
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -924
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/Radar/BillingEvaluations.d.ts +0 -374
- package/cjs/resources/Radar/BillingEvaluations.js +0 -15
- package/cjs/resources/Radar/BillingEvaluations.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -418
- package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -330
- package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/index.d.ts +0 -19
- package/cjs/resources/SharedPayment/index.js +0 -15
- package/cjs/resources/SharedPayment/index.js.map +0 -1
- package/cjs/resources/Tax/Forms.d.ts +0 -228
- package/cjs/resources/Tax/Forms.js +0 -32
- package/cjs/resources/Tax/Forms.js.map +0 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -50
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
- package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -281
- package/cjs/resources/V2/Billing/BillSettings.js +0 -41
- package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Cadences.d.ts +0 -958
- package/cjs/resources/V2/Billing/Cadences.js +0 -198
- package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -238
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Profiles.d.ts +0 -162
- package/cjs/resources/V2/Billing/Profiles.js +0 -35
- package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +0 -378
- package/cjs/resources/V2/Core/ApprovalRequests.js +0 -39
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +0 -1
- package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -360
- package/cjs/resources/V2/Core/BatchJobs.js +0 -225
- package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -152
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
- package/cjs/resources/V2/Data/index.d.ts +0 -10
- package/cjs/resources/V2/Data/index.js +0 -13
- package/cjs/resources/V2/Data/index.js.map +0 -1
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +0 -2
- package/cjs/resources/V2/EventMisc.js.map +0 -1
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
- package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/cjs/resources/V2/Extend/Workflows.d.ts +0 -120
- package/cjs/resources/V2/Extend/Workflows.js +0 -30
- package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
- package/cjs/resources/V2/Extend/index.d.ts +0 -20
- package/cjs/resources/V2/Extend/index.js +0 -15
- package/cjs/resources/V2/Extend/index.js.map +0 -1
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -377
- package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/cjs/resources/V2/Iam/index.d.ts +0 -13
- package/cjs/resources/V2/Iam/index.js +0 -13
- package/cjs/resources/V2/Iam/index.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +0 -4
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -243
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -339
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -163
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -92
- package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/cjs/resources/V2/Network/index.d.ts +0 -13
- package/cjs/resources/V2/Network/index.js +0 -13
- package/cjs/resources/V2/Network/index.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountActivities.d.ts +0 -424
- package/cjs/resources/V2/Signals/AccountActivities.js +0 -27
- package/cjs/resources/V2/Signals/AccountActivities.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
- package/cjs/resources/V2/Signals/AccountEvaluations.js +0 -59
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +0 -196
- package/cjs/resources/V2/Signals/AccountSignals.js +0 -66
- package/cjs/resources/V2/Signals/AccountSignals.js.map +0 -1
- package/cjs/resources/V2/Signals/index.d.ts +0 -26
- package/cjs/resources/V2/Signals/index.js +0 -17
- package/cjs/resources/V2/Signals/index.js.map +0 -1
- package/esm/resources/AccountNotices.d.ts +0 -140
- package/esm/resources/AccountNotices.js +0 -25
- package/esm/resources/AccountNotices.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -85
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/esm/resources/Billing/Analytics/index.d.ts +0 -15
- package/esm/resources/Billing/Analytics/index.js +0 -9
- package/esm/resources/Billing/Analytics/index.js.map +0 -1
- package/esm/resources/Capital/FinancingOffers.d.ts +0 -194
- package/esm/resources/Capital/FinancingOffers.js +0 -26
- package/esm/resources/Capital/FinancingOffers.js.map +0 -1
- package/esm/resources/Capital/FinancingSummary.d.ts +0 -102
- package/esm/resources/Capital/FinancingSummary.js +0 -11
- package/esm/resources/Capital/FinancingSummary.js.map +0 -1
- package/esm/resources/Capital/FinancingTransactions.d.ts +0 -141
- package/esm/resources/Capital/FinancingTransactions.js +0 -20
- package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
- package/esm/resources/Capital/index.d.ts +0 -25
- package/esm/resources/Capital/index.js +0 -13
- package/esm/resources/Capital/index.js.map +0 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +0 -99
- package/esm/resources/FinancialConnections/Institutions.js +0 -19
- package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
- package/esm/resources/FxQuotes.d.ts +0 -216
- package/esm/resources/FxQuotes.js +0 -25
- package/esm/resources/FxQuotes.js.map +0 -1
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/esm/resources/Issuing/Settlements.d.ts +0 -83
- package/esm/resources/Issuing/Settlements.js +0 -3
- package/esm/resources/Issuing/Settlements.js.map +0 -1
- package/esm/resources/Margins.d.ts +0 -115
- package/esm/resources/Margins.js +0 -31
- package/esm/resources/Margins.js.map +0 -1
- package/esm/resources/Orders.d.ts +0 -4696
- package/esm/resources/Orders.js +0 -453
- package/esm/resources/Orders.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobs.d.ts +0 -227
- package/esm/resources/Privacy/RedactionJobs.js +0 -69
- package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
- package/esm/resources/Privacy/index.d.ts +0 -22
- package/esm/resources/Privacy/index.js +0 -9
- package/esm/resources/Privacy/index.js.map +0 -1
- package/esm/resources/QuoteLines.d.ts +0 -507
- package/esm/resources/QuoteLines.js +0 -3
- package/esm/resources/QuoteLines.js.map +0 -1
- package/esm/resources/QuotePreviewInvoices.d.ts +0 -1170
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -924
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/Radar/BillingEvaluations.d.ts +0 -374
- package/esm/resources/Radar/BillingEvaluations.js +0 -11
- package/esm/resources/Radar/BillingEvaluations.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -418
- package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
- package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -330
- package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
- package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/index.d.ts +0 -19
- package/esm/resources/SharedPayment/index.js +0 -11
- package/esm/resources/SharedPayment/index.js.map +0 -1
- package/esm/resources/Tax/Forms.d.ts +0 -228
- package/esm/resources/Tax/Forms.js +0 -28
- package/esm/resources/Tax/Forms.js.map +0 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -50
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
- package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
- package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings.d.ts +0 -281
- package/esm/resources/V2/Billing/BillSettings.js +0 -37
- package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Cadences.d.ts +0 -958
- package/esm/resources/V2/Billing/Cadences.js +0 -194
- package/esm/resources/V2/Billing/Cadences.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -238
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
- package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Profiles.d.ts +0 -162
- package/esm/resources/V2/Billing/Profiles.js +0 -31
- package/esm/resources/V2/Billing/Profiles.js.map +0 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +0 -378
- package/esm/resources/V2/Core/ApprovalRequests.js +0 -35
- package/esm/resources/V2/Core/ApprovalRequests.js.map +0 -1
- package/esm/resources/V2/Core/BatchJobs.d.ts +0 -360
- package/esm/resources/V2/Core/BatchJobs.js +0 -221
- package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -152
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/esm/resources/V2/Data/Reporting/index.js +0 -9
- package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
- package/esm/resources/V2/Data/index.d.ts +0 -10
- package/esm/resources/V2/Data/index.js +0 -9
- package/esm/resources/V2/Data/index.js.map +0 -1
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +0 -2
- package/esm/resources/V2/EventMisc.js.map +0 -1
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
- package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/esm/resources/V2/Extend/Workflows.d.ts +0 -120
- package/esm/resources/V2/Extend/Workflows.js +0 -26
- package/esm/resources/V2/Extend/Workflows.js.map +0 -1
- package/esm/resources/V2/Extend/index.d.ts +0 -20
- package/esm/resources/V2/Extend/index.js +0 -11
- package/esm/resources/V2/Extend/index.js.map +0 -1
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -377
- package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
- package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/esm/resources/V2/Iam/index.d.ts +0 -13
- package/esm/resources/V2/Iam/index.js +0 -9
- package/esm/resources/V2/Iam/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +0 -3
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -243
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -339
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -163
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -92
- package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
- package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/esm/resources/V2/Network/index.d.ts +0 -13
- package/esm/resources/V2/Network/index.js +0 -9
- package/esm/resources/V2/Network/index.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/esm/resources/V2/Signals/AccountActivities.d.ts +0 -424
- package/esm/resources/V2/Signals/AccountActivities.js +0 -23
- package/esm/resources/V2/Signals/AccountActivities.js.map +0 -1
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
- package/esm/resources/V2/Signals/AccountEvaluations.js +0 -55
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +0 -1
- package/esm/resources/V2/Signals/AccountSignals.d.ts +0 -196
- package/esm/resources/V2/Signals/AccountSignals.js +0 -62
- package/esm/resources/V2/Signals/AccountSignals.js.map +0 -1
- package/esm/resources/V2/Signals/index.d.ts +0 -26
- package/esm/resources/V2/Signals/index.js +0 -13
- package/esm/resources/V2/Signals/index.js.map +0 -1
|
@@ -1,215 +1,4 @@
|
|
|
1
|
-
import { StripeResource } from '../StripeResource.js';
|
|
2
|
-
import { Card, DeletedCard } from './Cards.js';
|
|
3
1
|
import { BankAccount, DeletedBankAccount } from './BankAccounts.js';
|
|
4
|
-
import {
|
|
5
|
-
import { RequestOptions, Response, ApiListPromise } from '../lib.js';
|
|
6
|
-
export declare class ExternalAccountResource extends StripeResource {
|
|
7
|
-
/**
|
|
8
|
-
* Delete a specified external account for a given account.
|
|
9
|
-
*/
|
|
10
|
-
del(id: string, params?: ExternalAccountDeleteParams, options?: RequestOptions): Promise<Response<DeletedExternalAccount>>;
|
|
11
|
-
/**
|
|
12
|
-
* Retrieve a specified external account for a given account.
|
|
13
|
-
*/
|
|
14
|
-
retrieve(id: string, params?: ExternalAccountRetrieveParams, options?: RequestOptions): Promise<Response<ExternalAccount>>;
|
|
15
|
-
/**
|
|
16
|
-
* Updates the metadata, account holder name, account holder type of a bank account belonging to
|
|
17
|
-
* a connected account and optionally sets it as the default for its currency. Other bank account
|
|
18
|
-
* details are not editable by design.
|
|
19
|
-
*
|
|
20
|
-
* You can only update bank accounts when [account.controller.requirement_collection is application, which includes <a href="/connect/custom-accounts">Custom accounts](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection).
|
|
21
|
-
*
|
|
22
|
-
* You can re-enable a disabled bank account by performing an update call without providing any
|
|
23
|
-
* arguments or changes.
|
|
24
|
-
*/
|
|
25
|
-
update(id: string, params?: ExternalAccountUpdateParams, options?: RequestOptions): Promise<Response<ExternalAccount>>;
|
|
26
|
-
/**
|
|
27
|
-
* List external accounts for an account.
|
|
28
|
-
*/
|
|
29
|
-
list(params?: ExternalAccountListParams, options?: RequestOptions): ApiListPromise<ExternalAccount>;
|
|
30
|
-
/**
|
|
31
|
-
* Create an external account for a given connected account.
|
|
32
|
-
*/
|
|
33
|
-
create(params: ExternalAccountCreateParams, options?: RequestOptions): Promise<Response<ExternalAccount>>;
|
|
34
|
-
}
|
|
2
|
+
import { Card, DeletedCard } from './Cards.js';
|
|
35
3
|
export type ExternalAccount = BankAccount | Card;
|
|
36
4
|
export type DeletedExternalAccount = DeletedBankAccount | DeletedCard;
|
|
37
|
-
export interface ExternalAccountCreateParams {
|
|
38
|
-
/**
|
|
39
|
-
* Either a token, like the ones returned by [Stripe.js](https://docs.stripe.com/js), or a dictionary containing a user's external account details (with the options shown below).
|
|
40
|
-
*/
|
|
41
|
-
external_account: string | ExternalAccountCreateParams.Card | ExternalAccountCreateParams.BankAccount | ExternalAccountCreateParams.CardToken;
|
|
42
|
-
/**
|
|
43
|
-
* When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency.
|
|
44
|
-
*/
|
|
45
|
-
default_for_currency?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Specifies which fields in the response should be expanded.
|
|
48
|
-
*/
|
|
49
|
-
expand?: Array<string>;
|
|
50
|
-
/**
|
|
51
|
-
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
52
|
-
*/
|
|
53
|
-
metadata?: MetadataParam;
|
|
54
|
-
}
|
|
55
|
-
export declare namespace ExternalAccountCreateParams {
|
|
56
|
-
interface Card {
|
|
57
|
-
object: 'card';
|
|
58
|
-
address_city?: string;
|
|
59
|
-
address_country?: string;
|
|
60
|
-
address_line1?: string;
|
|
61
|
-
address_line2?: string;
|
|
62
|
-
address_state?: string;
|
|
63
|
-
address_zip?: string;
|
|
64
|
-
currency?: string;
|
|
65
|
-
cvc?: string;
|
|
66
|
-
exp_month: number;
|
|
67
|
-
exp_year: number;
|
|
68
|
-
/**
|
|
69
|
-
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
70
|
-
*/
|
|
71
|
-
metadata?: MetadataParam;
|
|
72
|
-
name?: string;
|
|
73
|
-
number: string;
|
|
74
|
-
}
|
|
75
|
-
interface BankAccount {
|
|
76
|
-
object: 'bank_account';
|
|
77
|
-
/**
|
|
78
|
-
* The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object.
|
|
79
|
-
*/
|
|
80
|
-
account_holder_name?: string;
|
|
81
|
-
/**
|
|
82
|
-
* The type of entity that holds the account. It can be `company` or `individual`. This field is required when attaching the bank account to a `Customer` object.
|
|
83
|
-
*/
|
|
84
|
-
account_holder_type?: BankAccount.AccountHolderType;
|
|
85
|
-
/**
|
|
86
|
-
* The account number for the bank account, in string form. Must be a checking account.
|
|
87
|
-
*/
|
|
88
|
-
account_number: string;
|
|
89
|
-
/**
|
|
90
|
-
* The country in which the bank account is located.
|
|
91
|
-
*/
|
|
92
|
-
country: string;
|
|
93
|
-
/**
|
|
94
|
-
* The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
|
95
|
-
*/
|
|
96
|
-
currency?: string;
|
|
97
|
-
/**
|
|
98
|
-
* The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
|
99
|
-
*/
|
|
100
|
-
routing_number?: string;
|
|
101
|
-
}
|
|
102
|
-
interface CardToken {
|
|
103
|
-
object: 'card';
|
|
104
|
-
currency?: string;
|
|
105
|
-
token: string;
|
|
106
|
-
}
|
|
107
|
-
namespace BankAccount {
|
|
108
|
-
type AccountHolderType = 'company' | 'individual' | OtherString;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
export interface ExternalAccountRetrieveParams {
|
|
112
|
-
/**
|
|
113
|
-
* Specifies which fields in the response should be expanded.
|
|
114
|
-
*/
|
|
115
|
-
expand?: Array<string>;
|
|
116
|
-
}
|
|
117
|
-
export interface ExternalAccountUpdateParams {
|
|
118
|
-
/**
|
|
119
|
-
* The name of the person or business that owns the bank account.
|
|
120
|
-
*/
|
|
121
|
-
account_holder_name?: string;
|
|
122
|
-
/**
|
|
123
|
-
* The type of entity that holds the account. This can be either `individual` or `company`.
|
|
124
|
-
*/
|
|
125
|
-
account_holder_type?: Emptyable<ExternalAccountUpdateParams.AccountHolderType>;
|
|
126
|
-
/**
|
|
127
|
-
* The bank account type. This can only be `checking` or `savings` in most countries. In Japan, this can only be `futsu` or `toza`.
|
|
128
|
-
*/
|
|
129
|
-
account_type?: ExternalAccountUpdateParams.AccountType;
|
|
130
|
-
/**
|
|
131
|
-
* City/District/Suburb/Town/Village.
|
|
132
|
-
*/
|
|
133
|
-
address_city?: string;
|
|
134
|
-
/**
|
|
135
|
-
* Billing address country, if provided when creating card.
|
|
136
|
-
*/
|
|
137
|
-
address_country?: string;
|
|
138
|
-
/**
|
|
139
|
-
* Address line 1 (Street address/PO Box/Company name).
|
|
140
|
-
*/
|
|
141
|
-
address_line1?: string;
|
|
142
|
-
/**
|
|
143
|
-
* Address line 2 (Apartment/Suite/Unit/Building).
|
|
144
|
-
*/
|
|
145
|
-
address_line2?: string;
|
|
146
|
-
/**
|
|
147
|
-
* State/County/Province/Region.
|
|
148
|
-
*/
|
|
149
|
-
address_state?: string;
|
|
150
|
-
/**
|
|
151
|
-
* ZIP or postal code.
|
|
152
|
-
*/
|
|
153
|
-
address_zip?: string;
|
|
154
|
-
/**
|
|
155
|
-
* When set to true, this becomes the default external account for its currency.
|
|
156
|
-
*/
|
|
157
|
-
default_for_currency?: boolean;
|
|
158
|
-
/**
|
|
159
|
-
* Documents that may be submitted to satisfy various informational requests.
|
|
160
|
-
*/
|
|
161
|
-
documents?: ExternalAccountUpdateParams.Documents;
|
|
162
|
-
/**
|
|
163
|
-
* Two digit number representing the card's expiration month.
|
|
164
|
-
*/
|
|
165
|
-
exp_month?: string;
|
|
166
|
-
/**
|
|
167
|
-
* Four digit number representing the card's expiration year.
|
|
168
|
-
*/
|
|
169
|
-
exp_year?: string;
|
|
170
|
-
/**
|
|
171
|
-
* Specifies which fields in the response should be expanded.
|
|
172
|
-
*/
|
|
173
|
-
expand?: Array<string>;
|
|
174
|
-
/**
|
|
175
|
-
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
176
|
-
*/
|
|
177
|
-
metadata?: Emptyable<MetadataParam>;
|
|
178
|
-
/**
|
|
179
|
-
* Cardholder name.
|
|
180
|
-
*/
|
|
181
|
-
name?: string;
|
|
182
|
-
}
|
|
183
|
-
export declare namespace ExternalAccountUpdateParams {
|
|
184
|
-
type AccountHolderType = 'company' | 'individual' | OtherString;
|
|
185
|
-
type AccountType = 'checking' | 'futsu' | 'savings' | 'toza' | OtherString;
|
|
186
|
-
interface Documents {
|
|
187
|
-
/**
|
|
188
|
-
* One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the bank account that displays the last 4 digits of the account number, either a statement or a check.
|
|
189
|
-
*/
|
|
190
|
-
bank_account_ownership_verification?: Documents.BankAccountOwnershipVerification;
|
|
191
|
-
}
|
|
192
|
-
namespace Documents {
|
|
193
|
-
interface BankAccountOwnershipVerification {
|
|
194
|
-
/**
|
|
195
|
-
* One or more document ids returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `account_requirement`.
|
|
196
|
-
*/
|
|
197
|
-
files?: Array<string>;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
export interface ExternalAccountListParams extends PaginationParams {
|
|
202
|
-
/**
|
|
203
|
-
* Specifies which fields in the response should be expanded.
|
|
204
|
-
*/
|
|
205
|
-
expand?: Array<string>;
|
|
206
|
-
/**
|
|
207
|
-
* Filter external accounts according to a particular object type.
|
|
208
|
-
*/
|
|
209
|
-
object?: ExternalAccountListParams.Object;
|
|
210
|
-
}
|
|
211
|
-
export declare namespace ExternalAccountListParams {
|
|
212
|
-
type Object = 'bank_account' | 'card' | OtherString;
|
|
213
|
-
}
|
|
214
|
-
export interface ExternalAccountDeleteParams {
|
|
215
|
-
}
|
|
@@ -1,48 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.ExternalAccountResource = void 0;
|
|
5
|
-
const StripeResource_js_1 = require("../StripeResource.js");
|
|
6
|
-
class ExternalAccountResource extends StripeResource_js_1.StripeResource {
|
|
7
|
-
/**
|
|
8
|
-
* Delete a specified external account for a given account.
|
|
9
|
-
*/
|
|
10
|
-
del(id, params, options) {
|
|
11
|
-
return this._makeRequest('DELETE', `/v1/external_accounts/${encodeURIComponent(id)}`, params, options);
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Retrieve a specified external account for a given account.
|
|
15
|
-
*/
|
|
16
|
-
retrieve(id, params, options) {
|
|
17
|
-
return this._makeRequest('GET', `/v1/external_accounts/${encodeURIComponent(id)}`, params, options);
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Updates the metadata, account holder name, account holder type of a bank account belonging to
|
|
21
|
-
* a connected account and optionally sets it as the default for its currency. Other bank account
|
|
22
|
-
* details are not editable by design.
|
|
23
|
-
*
|
|
24
|
-
* You can only update bank accounts when [account.controller.requirement_collection is application, which includes <a href="/connect/custom-accounts">Custom accounts](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection).
|
|
25
|
-
*
|
|
26
|
-
* You can re-enable a disabled bank account by performing an update call without providing any
|
|
27
|
-
* arguments or changes.
|
|
28
|
-
*/
|
|
29
|
-
update(id, params, options) {
|
|
30
|
-
return this._makeRequest('POST', `/v1/external_accounts/${encodeURIComponent(id)}`, params, options);
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* List external accounts for an account.
|
|
34
|
-
*/
|
|
35
|
-
list(params, options) {
|
|
36
|
-
return this._makeRequest('GET', '/v1/external_accounts', params, options, {
|
|
37
|
-
methodType: 'list',
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Create an external account for a given connected account.
|
|
42
|
-
*/
|
|
43
|
-
create(params, options) {
|
|
44
|
-
return this._makeRequest('POST', '/v1/external_accounts', params, options);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
exports.ExternalAccountResource = ExternalAccountResource;
|
|
48
4
|
//# sourceMappingURL=ExternalAccounts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalAccounts.js","sourceRoot":"","sources":["../../src/resources/ExternalAccounts.ts"],"names":[],"mappings":";AAAA,uCAAuC
|
|
1
|
+
{"version":3,"file":"ExternalAccounts.js","sourceRoot":"","sources":["../../src/resources/ExternalAccounts.ts"],"names":[],"mappings":";AAAA,uCAAuC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { StripeResource } from '../../StripeResource.js';
|
|
2
|
-
import { AccountInferredBalance } from './AccountInferredBalances.js';
|
|
3
2
|
import { AccountOwner } from './AccountOwners.js';
|
|
4
|
-
import { Institution } from './Institutions.js';
|
|
5
3
|
import { AccountOwnership } from './AccountOwnerships.js';
|
|
6
4
|
import { Customer } from './../Customers.js';
|
|
7
5
|
import { PaginationParams, OtherString } from '../../shared.js';
|
|
@@ -31,10 +29,6 @@ export declare class AccountResource extends StripeResource {
|
|
|
31
29
|
* Unsubscribes from periodic refreshes of data associated with a Financial Connections Account.
|
|
32
30
|
*/
|
|
33
31
|
unsubscribe(id: string, params: FinancialConnections.AccountUnsubscribeParams, options?: RequestOptions): Promise<Response<Account>>;
|
|
34
|
-
/**
|
|
35
|
-
* Lists the recorded inferred balances for a Financial Connections Account.
|
|
36
|
-
*/
|
|
37
|
-
listInferredBalances(id: string, params?: FinancialConnections.AccountListInferredBalancesParams, options?: RequestOptions): ApiListPromise<AccountInferredBalance>;
|
|
38
32
|
/**
|
|
39
33
|
* Lists all owners for a given Account
|
|
40
34
|
*/
|
|
@@ -57,10 +51,6 @@ export interface Account {
|
|
|
57
51
|
* Details about the account numbers.
|
|
58
52
|
*/
|
|
59
53
|
account_numbers: Array<Account.AccountNumber> | null;
|
|
60
|
-
/**
|
|
61
|
-
* The ID of the Financial Connections Authorization this account belongs to.
|
|
62
|
-
*/
|
|
63
|
-
authorization?: string;
|
|
64
54
|
/**
|
|
65
55
|
* The most recent information about the account's balance.
|
|
66
56
|
*/
|
|
@@ -81,14 +71,6 @@ export interface Account {
|
|
|
81
71
|
* A human-readable name that has been assigned to this account, either by the account holder or by the institution.
|
|
82
72
|
*/
|
|
83
73
|
display_name: string | null;
|
|
84
|
-
/**
|
|
85
|
-
* The state of the most recent attempt to refresh the account's inferred balance history.
|
|
86
|
-
*/
|
|
87
|
-
inferred_balances_refresh?: Account.InferredBalancesRefresh | null;
|
|
88
|
-
/**
|
|
89
|
-
* The ID of the Financial Connections Institution this account belongs to. Note that this relationship may sometimes change in rare circumstances (e.g. institution mergers).
|
|
90
|
-
*/
|
|
91
|
-
institution?: string | Institution | null;
|
|
92
74
|
/**
|
|
93
75
|
* The name of the institution that holds this account.
|
|
94
76
|
*/
|
|
@@ -102,7 +84,7 @@ export interface Account {
|
|
|
102
84
|
*/
|
|
103
85
|
livemode: boolean;
|
|
104
86
|
/**
|
|
105
|
-
* The
|
|
87
|
+
* The ID of the [Financial Connections Account Ownership](https://docs.stripe.com/api/financial_connections/ownership) object associated with this account.
|
|
106
88
|
*/
|
|
107
89
|
ownership: string | AccountOwnership | null;
|
|
108
90
|
/**
|
|
@@ -138,7 +120,7 @@ export interface Account {
|
|
|
138
120
|
/**
|
|
139
121
|
* The list of data refresh subscriptions requested on this account.
|
|
140
122
|
*/
|
|
141
|
-
subscriptions: Array<
|
|
123
|
+
subscriptions: Array<'transactions'> | null;
|
|
142
124
|
/**
|
|
143
125
|
* The [PaymentMethod type](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type)(s) that can be created from this account.
|
|
144
126
|
*/
|
|
@@ -219,20 +201,6 @@ export declare namespace Account {
|
|
|
219
201
|
status: BalanceRefresh.Status;
|
|
220
202
|
}
|
|
221
203
|
type Category = 'cash' | 'credit' | 'investment' | 'other' | OtherString;
|
|
222
|
-
interface InferredBalancesRefresh {
|
|
223
|
-
/**
|
|
224
|
-
* The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch.
|
|
225
|
-
*/
|
|
226
|
-
last_attempted_at: number;
|
|
227
|
-
/**
|
|
228
|
-
* Time at which the next inferred balance refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch.
|
|
229
|
-
*/
|
|
230
|
-
next_refresh_available_at: number | null;
|
|
231
|
-
/**
|
|
232
|
-
* The status of the last refresh attempt.
|
|
233
|
-
*/
|
|
234
|
-
status: InferredBalancesRefresh.Status;
|
|
235
|
-
}
|
|
236
204
|
interface OwnershipRefresh {
|
|
237
205
|
/**
|
|
238
206
|
* The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch.
|
|
@@ -251,10 +219,8 @@ export declare namespace Account {
|
|
|
251
219
|
type Status = 'active' | 'disconnected' | 'inactive' | OtherString;
|
|
252
220
|
interface StatusDetails {
|
|
253
221
|
active?: StatusDetails.Active;
|
|
254
|
-
inactive?: StatusDetails.Inactive;
|
|
255
222
|
}
|
|
256
223
|
type Subcategory = 'checking' | 'credit_card' | 'line_of_credit' | 'mortgage' | 'other' | 'savings' | OtherString;
|
|
257
|
-
type Subscription = 'balance' | 'inferred_balances' | 'transactions' | OtherString;
|
|
258
224
|
type SupportedPaymentMethodType = 'link' | 'us_bank_account' | OtherString;
|
|
259
225
|
interface TransactionRefresh {
|
|
260
226
|
/**
|
|
@@ -311,9 +277,6 @@ export declare namespace Account {
|
|
|
311
277
|
namespace BalanceRefresh {
|
|
312
278
|
type Status = 'failed' | 'pending' | 'succeeded' | OtherString;
|
|
313
279
|
}
|
|
314
|
-
namespace InferredBalancesRefresh {
|
|
315
|
-
type Status = 'failed' | 'pending' | 'succeeded' | OtherString;
|
|
316
|
-
}
|
|
317
280
|
namespace OwnershipRefresh {
|
|
318
281
|
type Status = 'failed' | 'pending' | 'succeeded' | OtherString;
|
|
319
282
|
}
|
|
@@ -332,24 +295,10 @@ export declare namespace Account {
|
|
|
332
295
|
*/
|
|
333
296
|
expected_deactivation_date: number;
|
|
334
297
|
}
|
|
335
|
-
interface Inactive {
|
|
336
|
-
/**
|
|
337
|
-
* The action (if any) to relink the inactive Account.
|
|
338
|
-
*/
|
|
339
|
-
action: Inactive.Action;
|
|
340
|
-
/**
|
|
341
|
-
* The underlying cause of the Account being inactive.
|
|
342
|
-
*/
|
|
343
|
-
cause: Inactive.Cause;
|
|
344
|
-
}
|
|
345
298
|
namespace Active {
|
|
346
299
|
type Action = 'none' | 'relink_required' | OtherString;
|
|
347
300
|
type Cause = 'access_expired' | 'institution_requirement' | 'unspecified' | OtherString;
|
|
348
301
|
}
|
|
349
|
-
namespace Inactive {
|
|
350
|
-
type Action = 'none' | 'relink_required' | OtherString;
|
|
351
|
-
type Cause = 'access_denied' | 'access_expired' | 'account_closed' | 'account_unavailable' | 'institution_requirement' | 'unspecified' | OtherString;
|
|
352
|
-
}
|
|
353
302
|
}
|
|
354
303
|
namespace TransactionRefresh {
|
|
355
304
|
type Status = 'failed' | 'pending' | 'succeeded' | OtherString;
|
|
@@ -403,14 +352,6 @@ export declare namespace FinancialConnections {
|
|
|
403
352
|
expand?: Array<string>;
|
|
404
353
|
}
|
|
405
354
|
}
|
|
406
|
-
export declare namespace FinancialConnections {
|
|
407
|
-
interface AccountListInferredBalancesParams extends PaginationParams {
|
|
408
|
-
/**
|
|
409
|
-
* Specifies which fields in the response should be expanded.
|
|
410
|
-
*/
|
|
411
|
-
expand?: Array<string>;
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
355
|
export declare namespace FinancialConnections {
|
|
415
356
|
interface AccountListOwnersParams extends PaginationParams {
|
|
416
357
|
/**
|
|
@@ -435,7 +376,7 @@ export declare namespace FinancialConnections {
|
|
|
435
376
|
expand?: Array<string>;
|
|
436
377
|
}
|
|
437
378
|
namespace AccountRefreshParams {
|
|
438
|
-
type Feature = 'balance' | '
|
|
379
|
+
type Feature = 'balance' | 'ownership' | 'transactions' | OtherString;
|
|
439
380
|
}
|
|
440
381
|
}
|
|
441
382
|
export declare namespace FinancialConnections {
|
|
@@ -443,28 +384,22 @@ export declare namespace FinancialConnections {
|
|
|
443
384
|
/**
|
|
444
385
|
* The list of account features to which you would like to subscribe.
|
|
445
386
|
*/
|
|
446
|
-
features: Array<
|
|
387
|
+
features: Array<'transactions'>;
|
|
447
388
|
/**
|
|
448
389
|
* Specifies which fields in the response should be expanded.
|
|
449
390
|
*/
|
|
450
391
|
expand?: Array<string>;
|
|
451
392
|
}
|
|
452
|
-
namespace AccountSubscribeParams {
|
|
453
|
-
type Feature = 'balance' | 'inferred_balances' | 'transactions' | OtherString;
|
|
454
|
-
}
|
|
455
393
|
}
|
|
456
394
|
export declare namespace FinancialConnections {
|
|
457
395
|
interface AccountUnsubscribeParams {
|
|
458
396
|
/**
|
|
459
397
|
* The list of account features from which you would like to unsubscribe.
|
|
460
398
|
*/
|
|
461
|
-
features: Array<
|
|
399
|
+
features: Array<'transactions'>;
|
|
462
400
|
/**
|
|
463
401
|
* Specifies which fields in the response should be expanded.
|
|
464
402
|
*/
|
|
465
403
|
expand?: Array<string>;
|
|
466
404
|
}
|
|
467
|
-
namespace AccountUnsubscribeParams {
|
|
468
|
-
type Feature = 'balance' | 'inferred_balances' | 'transactions' | OtherString;
|
|
469
|
-
}
|
|
470
405
|
}
|
|
@@ -42,14 +42,6 @@ class AccountResource extends StripeResource_js_1.StripeResource {
|
|
|
42
42
|
unsubscribe(id, params, options) {
|
|
43
43
|
return this._makeRequest('POST', `/v1/financial_connections/accounts/${encodeURIComponent(id)}/unsubscribe`, params, options);
|
|
44
44
|
}
|
|
45
|
-
/**
|
|
46
|
-
* Lists the recorded inferred balances for a Financial Connections Account.
|
|
47
|
-
*/
|
|
48
|
-
listInferredBalances(id, params, options) {
|
|
49
|
-
return this._makeRequest('GET', `/v1/financial_connections/accounts/${encodeURIComponent(id)}/inferred_balances`, params, options, {
|
|
50
|
-
methodType: 'list',
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
45
|
/**
|
|
54
46
|
* Lists all owners for a given Account
|
|
55
47
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accounts.js","sourceRoot":"","sources":["../../../src/resources/FinancialConnections/Accounts.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;
|
|
1
|
+
{"version":3,"file":"Accounts.js","sourceRoot":"","sources":["../../../src/resources/FinancialConnections/Accounts.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAOvD,MAAa,eAAgB,SAAQ,kCAAc;IACjD;;OAEG;IACH,IAAI,CACF,MAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,oCAAoC,EACpC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAmD,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,sCAAsC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC9D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,UAAU,CACR,EAAU,EACV,MAAqD,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sCAAsC,kBAAkB,CAAC,EAAE,CAAC,aAAa,EACzE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,OAAO,CACL,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sCAAsC,kBAAkB,CAAC,EAAE,CAAC,UAAU,EACtE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,SAAS,CACP,EAAU,EACV,MAAmD,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sCAAsC,kBAAkB,CAAC,EAAE,CAAC,YAAY,EACxE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,WAAW,CACT,EAAU,EACV,MAAqD,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sCAAsC,kBAAkB,CACtD,EAAE,CACH,cAAc,EACf,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,UAAU,CACR,EAAU,EACV,MAAoD,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,sCAAsC,kBAAkB,CAAC,EAAE,CAAC,SAAS,EACrE,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;CACF;AAjHD,0CAiHC"}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
import { StripeResource } from '../../StripeResource.js';
|
|
2
|
-
import { Institution } from './Institutions.js';
|
|
3
|
-
import { Account } from './../Accounts.js';
|
|
4
|
-
import { Customer } from './../Customers.js';
|
|
5
1
|
import { OtherString } from '../../shared.js';
|
|
6
|
-
import { RequestOptions, Response } from '../../lib.js';
|
|
7
|
-
export declare class AuthorizationResource extends StripeResource {
|
|
8
|
-
/**
|
|
9
|
-
* Retrieves the details of a Financial Connections Authorization.
|
|
10
|
-
*/
|
|
11
|
-
retrieve(id: string, params?: FinancialConnections.AuthorizationRetrieveParams, options?: RequestOptions): Promise<Response<Authorization>>;
|
|
12
|
-
}
|
|
13
2
|
export interface Authorization {
|
|
14
3
|
/**
|
|
15
4
|
* Unique identifier for the object.
|
|
@@ -19,14 +8,6 @@ export interface Authorization {
|
|
|
19
8
|
* String representing the object's type. Objects of the same type share the same value.
|
|
20
9
|
*/
|
|
21
10
|
object: 'financial_connections.authorization';
|
|
22
|
-
/**
|
|
23
|
-
* The account holder that this authorization belongs to.
|
|
24
|
-
*/
|
|
25
|
-
account_holder?: Authorization.AccountHolder | null;
|
|
26
|
-
/**
|
|
27
|
-
* The ID of the Financial Connections Institution this account belongs to. Note that this relationship may sometimes change in rare circumstances (e.g. institution mergers).
|
|
28
|
-
*/
|
|
29
|
-
institution?: string | Institution | null;
|
|
30
11
|
/**
|
|
31
12
|
* The name of the institution that this authorization belongs to.
|
|
32
13
|
*/
|
|
@@ -42,29 +23,11 @@ export interface Authorization {
|
|
|
42
23
|
status_details: Authorization.StatusDetails;
|
|
43
24
|
}
|
|
44
25
|
export declare namespace Authorization {
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* The ID of the Stripe account that this account belongs to. Only available when `account_holder.type` is `account`.
|
|
48
|
-
*/
|
|
49
|
-
account?: string | Account;
|
|
50
|
-
/**
|
|
51
|
-
* The ID for an Account representing a customer that this account belongs to. Only available when `account_holder.type` is `customer`.
|
|
52
|
-
*/
|
|
53
|
-
customer?: string | Customer;
|
|
54
|
-
customer_account?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Type of account holder that this account belongs to.
|
|
57
|
-
*/
|
|
58
|
-
type: AccountHolder.Type;
|
|
59
|
-
}
|
|
60
|
-
type Status = 'active' | 'disconnected' | 'inactive' | OtherString;
|
|
26
|
+
type Status = 'active' | 'inactive' | OtherString;
|
|
61
27
|
interface StatusDetails {
|
|
62
28
|
active?: StatusDetails.Active;
|
|
63
29
|
inactive?: StatusDetails.Inactive;
|
|
64
30
|
}
|
|
65
|
-
namespace AccountHolder {
|
|
66
|
-
type Type = 'account' | 'customer' | OtherString;
|
|
67
|
-
}
|
|
68
31
|
namespace StatusDetails {
|
|
69
32
|
interface Active {
|
|
70
33
|
/**
|
|
@@ -90,11 +53,3 @@ export declare namespace Authorization {
|
|
|
90
53
|
}
|
|
91
54
|
}
|
|
92
55
|
}
|
|
93
|
-
export declare namespace FinancialConnections {
|
|
94
|
-
interface AuthorizationRetrieveParams {
|
|
95
|
-
/**
|
|
96
|
-
* Specifies which fields in the response should be expanded.
|
|
97
|
-
*/
|
|
98
|
-
expand?: Array<string>;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.AuthorizationResource = void 0;
|
|
5
|
-
const StripeResource_js_1 = require("../../StripeResource.js");
|
|
6
|
-
class AuthorizationResource extends StripeResource_js_1.StripeResource {
|
|
7
|
-
/**
|
|
8
|
-
* Retrieves the details of a Financial Connections Authorization.
|
|
9
|
-
*/
|
|
10
|
-
retrieve(id, params, options) {
|
|
11
|
-
return this._makeRequest('GET', `/v1/financial_connections/authorizations/${encodeURIComponent(id)}`, params, options);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.AuthorizationResource = AuthorizationResource;
|
|
15
4
|
//# sourceMappingURL=Authorizations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authorizations.js","sourceRoot":"","sources":["../../../src/resources/FinancialConnections/Authorizations.ts"],"names":[],"mappings":";AAAA,uCAAuC
|
|
1
|
+
{"version":3,"file":"Authorizations.js","sourceRoot":"","sources":["../../../src/resources/FinancialConnections/Authorizations.ts"],"names":[],"mappings":";AAAA,uCAAuC"}
|