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
|
@@ -119,9 +119,7 @@ export declare namespace ConfirmationToken {
|
|
|
119
119
|
eps?: PaymentMethodPreview.Eps;
|
|
120
120
|
fpx?: PaymentMethodPreview.Fpx;
|
|
121
121
|
giropay?: PaymentMethodPreview.Giropay;
|
|
122
|
-
gopay?: PaymentMethodPreview.Gopay;
|
|
123
122
|
grabpay?: PaymentMethodPreview.Grabpay;
|
|
124
|
-
id_bank_transfer?: PaymentMethodPreview.IdBankTransfer;
|
|
125
123
|
ideal?: PaymentMethodPreview.Ideal;
|
|
126
124
|
interac_present?: PaymentMethodPreview.InteracPresent;
|
|
127
125
|
kakao_pay?: PaymentMethodPreview.KakaoPay;
|
|
@@ -144,17 +142,13 @@ export declare namespace ConfirmationToken {
|
|
|
144
142
|
payto?: PaymentMethodPreview.Payto;
|
|
145
143
|
pix?: PaymentMethodPreview.Pix;
|
|
146
144
|
promptpay?: PaymentMethodPreview.Promptpay;
|
|
147
|
-
qris?: PaymentMethodPreview.Qris;
|
|
148
|
-
rechnung?: PaymentMethodPreview.Rechnung;
|
|
149
145
|
revolut_pay?: PaymentMethodPreview.RevolutPay;
|
|
150
146
|
samsung_pay?: PaymentMethodPreview.SamsungPay;
|
|
151
147
|
satispay?: PaymentMethodPreview.Satispay;
|
|
152
148
|
scalapay?: PaymentMethodPreview.Scalapay;
|
|
153
149
|
sepa_debit?: PaymentMethodPreview.SepaDebit;
|
|
154
150
|
sequra?: PaymentMethodPreview.Sequra;
|
|
155
|
-
shopeepay?: PaymentMethodPreview.Shopeepay;
|
|
156
151
|
sofort?: PaymentMethodPreview.Sofort;
|
|
157
|
-
stripe_balance?: PaymentMethodPreview.StripeBalance;
|
|
158
152
|
sunbit?: PaymentMethodPreview.Sunbit;
|
|
159
153
|
swish?: PaymentMethodPreview.Swish;
|
|
160
154
|
twint?: PaymentMethodPreview.Twint;
|
|
@@ -242,10 +236,6 @@ export declare namespace ConfirmationToken {
|
|
|
242
236
|
}
|
|
243
237
|
namespace PaymentMethodPreview {
|
|
244
238
|
interface AcssDebit {
|
|
245
|
-
/**
|
|
246
|
-
* Account number of the bank account.
|
|
247
|
-
*/
|
|
248
|
-
account_number?: string | null;
|
|
249
239
|
/**
|
|
250
240
|
* Name of the bank associated with the bank account.
|
|
251
241
|
*/
|
|
@@ -523,16 +513,8 @@ export declare namespace ConfirmationToken {
|
|
|
523
513
|
}
|
|
524
514
|
interface Giropay {
|
|
525
515
|
}
|
|
526
|
-
interface Gopay {
|
|
527
|
-
}
|
|
528
516
|
interface Grabpay {
|
|
529
517
|
}
|
|
530
|
-
interface IdBankTransfer {
|
|
531
|
-
bank: IdBankTransfer.Bank | null;
|
|
532
|
-
bank_code: string | null;
|
|
533
|
-
bank_name: string | null;
|
|
534
|
-
display_name: string | null;
|
|
535
|
-
}
|
|
536
518
|
interface Ideal {
|
|
537
519
|
/**
|
|
538
520
|
* The customer's bank, if provided. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
@@ -695,10 +677,6 @@ export declare namespace ConfirmationToken {
|
|
|
695
677
|
* Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
696
678
|
*/
|
|
697
679
|
country: string | null;
|
|
698
|
-
/**
|
|
699
|
-
* Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
|
700
|
-
*/
|
|
701
|
-
fingerprint?: string | null;
|
|
702
680
|
/**
|
|
703
681
|
* Owner's email. Values are provided by PayPal directly
|
|
704
682
|
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
@@ -708,11 +686,6 @@ export declare namespace ConfirmationToken {
|
|
|
708
686
|
* PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
|
709
687
|
*/
|
|
710
688
|
payer_id: string | null;
|
|
711
|
-
/**
|
|
712
|
-
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
713
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
714
|
-
*/
|
|
715
|
-
verified_email?: string | null;
|
|
716
689
|
}
|
|
717
690
|
interface Paypay {
|
|
718
691
|
}
|
|
@@ -738,11 +711,6 @@ export declare namespace ConfirmationToken {
|
|
|
738
711
|
}
|
|
739
712
|
interface Promptpay {
|
|
740
713
|
}
|
|
741
|
-
interface Qris {
|
|
742
|
-
}
|
|
743
|
-
interface Rechnung {
|
|
744
|
-
dob?: Rechnung.Dob;
|
|
745
|
-
}
|
|
746
714
|
interface RevolutPay {
|
|
747
715
|
}
|
|
748
716
|
interface SamsungPay {
|
|
@@ -779,27 +747,19 @@ export declare namespace ConfirmationToken {
|
|
|
779
747
|
}
|
|
780
748
|
interface Sequra {
|
|
781
749
|
}
|
|
782
|
-
interface Shopeepay {
|
|
783
|
-
}
|
|
784
750
|
interface Sofort {
|
|
785
751
|
/**
|
|
786
752
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
787
753
|
*/
|
|
788
754
|
country: string | null;
|
|
789
755
|
}
|
|
790
|
-
interface StripeBalance {
|
|
791
|
-
/**
|
|
792
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
793
|
-
*/
|
|
794
|
-
account?: string | null;
|
|
795
|
-
}
|
|
796
756
|
interface Sunbit {
|
|
797
757
|
}
|
|
798
758
|
interface Swish {
|
|
799
759
|
}
|
|
800
760
|
interface Twint {
|
|
801
761
|
}
|
|
802
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'card_present' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | '
|
|
762
|
+
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'card_present' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
803
763
|
interface Upi {
|
|
804
764
|
/**
|
|
805
765
|
* Customer's unique Virtual Payment Address
|
|
@@ -811,10 +771,6 @@ export declare namespace ConfirmationToken {
|
|
|
811
771
|
* Account holder type: individual or company.
|
|
812
772
|
*/
|
|
813
773
|
account_holder_type: UsBankAccount.AccountHolderType | null;
|
|
814
|
-
/**
|
|
815
|
-
* Account number of the bank account.
|
|
816
|
-
*/
|
|
817
|
-
account_number?: string | null;
|
|
818
774
|
/**
|
|
819
775
|
* Account type: checkings or savings. Defaults to checking if omitted.
|
|
820
776
|
*/
|
|
@@ -1187,9 +1143,6 @@ export declare namespace ConfirmationToken {
|
|
|
1187
1143
|
type AccountHolderType = 'company' | 'individual' | OtherString;
|
|
1188
1144
|
type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bnp_paribas' | 'bsn' | 'cimb' | 'citibank' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'mbsb_bank' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob' | OtherString;
|
|
1189
1145
|
}
|
|
1190
|
-
namespace IdBankTransfer {
|
|
1191
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata' | OtherString;
|
|
1192
|
-
}
|
|
1193
1146
|
namespace Ideal {
|
|
1194
1147
|
type Bank = 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe' | OtherString;
|
|
1195
1148
|
type Bic = 'ABNANL2A' | 'ADYBNL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'BUUTNL2A' | 'FNOMNL22' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MLLENL2A' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U' | OtherString;
|
|
@@ -1232,22 +1185,6 @@ export declare namespace ConfirmationToken {
|
|
|
1232
1185
|
namespace P24 {
|
|
1233
1186
|
type Bank = 'alior_bank' | 'bank_millennium' | 'bank_nowy_bfg_sa' | 'bank_pekao_sa' | 'banki_spbdzielcze' | 'blik' | 'bnp_paribas' | 'boz' | 'citi_handlowy' | 'credit_agricole' | 'envelobank' | 'etransfer_pocztowy24' | 'getin_bank' | 'ideabank' | 'ing' | 'inteligo' | 'mbank_mtransfer' | 'nest_przelew' | 'noble_pay' | 'pbac_z_ipko' | 'plus_bank' | 'santander_przelew24' | 'tmobile_usbugi_bankowe' | 'toyota_bank' | 'velobank' | 'volkswagen_bank' | OtherString;
|
|
1234
1187
|
}
|
|
1235
|
-
namespace Rechnung {
|
|
1236
|
-
interface Dob {
|
|
1237
|
-
/**
|
|
1238
|
-
* The day of birth, between 1 and 31.
|
|
1239
|
-
*/
|
|
1240
|
-
day: number;
|
|
1241
|
-
/**
|
|
1242
|
-
* The month of birth, between 1 and 12.
|
|
1243
|
-
*/
|
|
1244
|
-
month: number;
|
|
1245
|
-
/**
|
|
1246
|
-
* The four-digit year of birth.
|
|
1247
|
-
*/
|
|
1248
|
-
year: number;
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
1188
|
namespace SepaDebit {
|
|
1252
1189
|
interface GeneratedFrom {
|
|
1253
1190
|
/**
|
|
@@ -24,10 +24,6 @@ export declare class CouponResource extends StripeResource {
|
|
|
24
24
|
* A coupon has either a percent_off or an amount_off and currency. If you set an amount_off, that amount will be subtracted from any invoice's subtotal. For example, an invoice with a subtotal of 100 will have a final total of 0 if a coupon with an amount_off of 200 is applied to it and an invoice with a subtotal of 300 will have a final total of 100 if a coupon with an amount_off of 200 is applied to it.
|
|
25
25
|
*/
|
|
26
26
|
create(params?: CouponCreateParams, options?: RequestOptions): Promise<Response<Coupon>>;
|
|
27
|
-
serializeBatchCreate(params?: Record<string, unknown>, options?: {
|
|
28
|
-
apiVersion?: string;
|
|
29
|
-
stripeContext?: string;
|
|
30
|
-
}): string;
|
|
31
27
|
}
|
|
32
28
|
export interface Coupon {
|
|
33
29
|
/**
|
|
@@ -93,18 +89,10 @@ export interface Coupon {
|
|
|
93
89
|
* Date after which the coupon can no longer be redeemed.
|
|
94
90
|
*/
|
|
95
91
|
redeem_by: number | null;
|
|
96
|
-
/**
|
|
97
|
-
* Configuration of the [script](https://docs.stripe.com/billing/subscriptions/script-coupons) used to calculate the discount.
|
|
98
|
-
*/
|
|
99
|
-
script?: Coupon.Script | null;
|
|
100
92
|
/**
|
|
101
93
|
* Number of times this coupon has been applied to a customer.
|
|
102
94
|
*/
|
|
103
95
|
times_redeemed: number;
|
|
104
|
-
/**
|
|
105
|
-
* The type of coupon logic used to calculate the discount.
|
|
106
|
-
*/
|
|
107
|
-
type?: Coupon.Type | null;
|
|
108
96
|
/**
|
|
109
97
|
* Taking account of the above properties, whether this coupon can still be applied to a customer.
|
|
110
98
|
*/
|
|
@@ -138,26 +126,6 @@ export declare namespace Coupon {
|
|
|
138
126
|
amount_off: number;
|
|
139
127
|
}
|
|
140
128
|
type Duration = 'forever' | 'once' | 'repeating' | OtherString;
|
|
141
|
-
interface Script {
|
|
142
|
-
/**
|
|
143
|
-
* The configuration values of the script. The keys and values are specific to the script implementation.
|
|
144
|
-
*/
|
|
145
|
-
configuration: Script.Configuration;
|
|
146
|
-
/**
|
|
147
|
-
* The name of the script used to calculate the discount.
|
|
148
|
-
*/
|
|
149
|
-
display_name: string;
|
|
150
|
-
/**
|
|
151
|
-
* The script implementation ID for this coupon.
|
|
152
|
-
*/
|
|
153
|
-
id: string;
|
|
154
|
-
}
|
|
155
|
-
type Type = 'amount_off' | 'percent_off' | 'script' | OtherString;
|
|
156
|
-
namespace Script {
|
|
157
|
-
type Configuration = {
|
|
158
|
-
[key: string]: unknown;
|
|
159
|
-
};
|
|
160
|
-
}
|
|
161
129
|
}
|
|
162
130
|
export interface CouponCreateParams {
|
|
163
131
|
/**
|
|
@@ -214,10 +182,6 @@ export interface CouponCreateParams {
|
|
|
214
182
|
* Unix timestamp specifying the last time at which the coupon can be redeemed (cannot be set to more than 5 years in the future). After the redeem_by date, the coupon can no longer be applied to new customers.
|
|
215
183
|
*/
|
|
216
184
|
redeem_by?: number;
|
|
217
|
-
/**
|
|
218
|
-
* Configuration of the [script](https://docs.stripe.com/billing/subscriptions/script-coupons) used to calculate the discount.
|
|
219
|
-
*/
|
|
220
|
-
script?: CouponCreateParams.Script;
|
|
221
185
|
}
|
|
222
186
|
export declare namespace CouponCreateParams {
|
|
223
187
|
interface AppliesTo {
|
|
@@ -233,21 +197,6 @@ export declare namespace CouponCreateParams {
|
|
|
233
197
|
amount_off: number;
|
|
234
198
|
}
|
|
235
199
|
type Duration = 'forever' | 'once' | 'repeating' | OtherString;
|
|
236
|
-
interface Script {
|
|
237
|
-
/**
|
|
238
|
-
* The configuration values of the script. The keys and values are specific to the script implementation.
|
|
239
|
-
*/
|
|
240
|
-
configuration: Script.Configuration;
|
|
241
|
-
/**
|
|
242
|
-
* The script implementation ID for this coupon.
|
|
243
|
-
*/
|
|
244
|
-
id: string;
|
|
245
|
-
}
|
|
246
|
-
namespace Script {
|
|
247
|
-
type Configuration = {
|
|
248
|
-
[key: string]: unknown;
|
|
249
|
-
};
|
|
250
|
-
}
|
|
251
200
|
}
|
|
252
201
|
export interface CouponRetrieveParams {
|
|
253
202
|
/**
|
|
@@ -295,5 +244,3 @@ export interface CouponListParams extends PaginationParams {
|
|
|
295
244
|
}
|
|
296
245
|
export interface CouponDeleteParams {
|
|
297
246
|
}
|
|
298
|
-
export interface CouponSerializeBatchCreateParams {
|
|
299
|
-
}
|
package/cjs/resources/Coupons.js
CHANGED
|
@@ -38,19 +38,6 @@ class CouponResource extends StripeResource_js_1.StripeResource {
|
|
|
38
38
|
create(params, options) {
|
|
39
39
|
return this._makeRequest('POST', '/v1/coupons', params, options);
|
|
40
40
|
}
|
|
41
|
-
serializeBatchCreate(params = {}, options = {}) {
|
|
42
|
-
const itemId = this._stripe._platformFunctions.uuid4();
|
|
43
|
-
const stripeVersion = options.apiVersion || this._stripe.getApiField('version');
|
|
44
|
-
const entry = {
|
|
45
|
-
id: itemId,
|
|
46
|
-
params: params,
|
|
47
|
-
stripe_version: stripeVersion,
|
|
48
|
-
};
|
|
49
|
-
if (options.stripeContext) {
|
|
50
|
-
entry.context = options.stripeContext;
|
|
51
|
-
}
|
|
52
|
-
return JSON.stringify(entry);
|
|
53
|
-
}
|
|
54
41
|
}
|
|
55
42
|
exports.CouponResource = CouponResource;
|
|
56
43
|
//# sourceMappingURL=Coupons.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Coupons.js","sourceRoot":"","sources":["../../src/resources/Coupons.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AAWpD,MAAa,cAAe,SAAQ,kCAAc;IAChD;;OAEG;IACH,GAAG,CACD,EAAU,EACV,MAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,QAAQ,EACR,eAAe,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACvC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,eAAe,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACvC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,eAAe,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACvC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,IAAI,CACF,MAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE;YAC9D,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;;;OAIG;IACH,MAAM,CACJ,MAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAQ,CAAC;IAC1E,CAAC;
|
|
1
|
+
{"version":3,"file":"Coupons.js","sourceRoot":"","sources":["../../src/resources/Coupons.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AAWpD,MAAa,cAAe,SAAQ,kCAAc;IAChD;;OAEG;IACH,GAAG,CACD,EAAU,EACV,MAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,QAAQ,EACR,eAAe,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACvC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,eAAe,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACvC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,eAAe,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACvC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,IAAI,CACF,MAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE;YAC9D,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;;;OAIG;IACH,MAAM,CACJ,MAA2B,EAC3B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAQ,CAAC;IAC1E,CAAC;CACF;AApED,wCAoEC"}
|
|
@@ -47,10 +47,6 @@ export interface CreditNoteLineItem {
|
|
|
47
47
|
* The number of units of product being credited.
|
|
48
48
|
*/
|
|
49
49
|
quantity: number | null;
|
|
50
|
-
/**
|
|
51
|
-
* The tax calculation identifiers of the line item.
|
|
52
|
-
*/
|
|
53
|
-
tax_calculation_reference?: CreditNoteLineItem.TaxCalculationReference | null;
|
|
54
50
|
/**
|
|
55
51
|
* The tax rates which apply to the line item.
|
|
56
52
|
*/
|
|
@@ -101,16 +97,6 @@ export declare namespace CreditNoteLineItem {
|
|
|
101
97
|
*/
|
|
102
98
|
type: PretaxCreditAmount.Type;
|
|
103
99
|
}
|
|
104
|
-
interface TaxCalculationReference {
|
|
105
|
-
/**
|
|
106
|
-
* The calculation identifier for tax calculation response.
|
|
107
|
-
*/
|
|
108
|
-
calculation_id: string | null;
|
|
109
|
-
/**
|
|
110
|
-
* The calculation identifier for tax calculation response line item.
|
|
111
|
-
*/
|
|
112
|
-
calculation_item_id: string | null;
|
|
113
|
-
}
|
|
114
100
|
interface Tax {
|
|
115
101
|
/**
|
|
116
102
|
* The amount of the tax, in cents (or local equivalent).
|
|
@@ -147,7 +133,7 @@ export declare namespace CreditNoteLineItem {
|
|
|
147
133
|
/**
|
|
148
134
|
* ID of the tax rate
|
|
149
135
|
*/
|
|
150
|
-
tax_rate: string
|
|
136
|
+
tax_rate: string;
|
|
151
137
|
}
|
|
152
138
|
type TaxabilityReason = 'customer_exempt' | 'not_available' | 'not_collecting' | 'not_subject_to_tax' | 'not_supported' | 'portion_product_exempt' | 'portion_reduced_rated' | 'portion_standard_rated' | 'product_exempt' | 'product_exempt_holiday' | 'proportionally_rated' | 'reduced_rated' | 'reverse_charge' | 'standard_rated' | 'taxable_basis_reduced' | 'zero_rated' | OtherString;
|
|
153
139
|
}
|
|
@@ -341,7 +341,7 @@ export declare namespace CreditNote {
|
|
|
341
341
|
/**
|
|
342
342
|
* ID of the tax rate
|
|
343
343
|
*/
|
|
344
|
-
tax_rate: string
|
|
344
|
+
tax_rate: string;
|
|
345
345
|
}
|
|
346
346
|
type TaxabilityReason = 'customer_exempt' | 'not_available' | 'not_collecting' | 'not_subject_to_tax' | 'not_supported' | 'portion_product_exempt' | 'portion_reduced_rated' | 'portion_standard_rated' | 'product_exempt' | 'product_exempt_holiday' | 'proportionally_rated' | 'reduced_rated' | 'reverse_charge' | 'standard_rated' | 'taxable_basis_reduced' | 'zero_rated' | OtherString;
|
|
347
347
|
}
|
|
@@ -160,7 +160,7 @@ export declare namespace CustomerCashBalanceTransaction {
|
|
|
160
160
|
sender_name: string | null;
|
|
161
161
|
}
|
|
162
162
|
namespace UsBankTransfer {
|
|
163
|
-
type Network = 'ach' | 'domestic_wire_us' | 'swift' | OtherString;
|
|
163
|
+
type Network = 'ach' | 'domestic_wire_us' | 'fednow' | 'rtp' | 'swift' | OtherString;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|
|
@@ -74,10 +74,6 @@ export declare namespace CustomerSession {
|
|
|
74
74
|
* This hash contains whether the pricing table is enabled.
|
|
75
75
|
*/
|
|
76
76
|
pricing_table: Components.PricingTable;
|
|
77
|
-
/**
|
|
78
|
-
* This hash contains whether the Tax ID Element is enabled and the features it supports.
|
|
79
|
-
*/
|
|
80
|
-
tax_id_element?: Components.TaxIdElement;
|
|
81
77
|
}
|
|
82
78
|
namespace Components {
|
|
83
79
|
interface ActiveEntitlements {
|
|
@@ -134,16 +130,6 @@ export declare namespace CustomerSession {
|
|
|
134
130
|
*/
|
|
135
131
|
enabled: boolean;
|
|
136
132
|
}
|
|
137
|
-
interface TaxIdElement {
|
|
138
|
-
/**
|
|
139
|
-
* Whether the Tax ID Element is enabled.
|
|
140
|
-
*/
|
|
141
|
-
enabled: boolean;
|
|
142
|
-
/**
|
|
143
|
-
* This hash defines whether the Tax ID Element supports certain features.
|
|
144
|
-
*/
|
|
145
|
-
features: TaxIdElement.Features | null;
|
|
146
|
-
}
|
|
147
133
|
namespace CustomerSheet {
|
|
148
134
|
interface Features {
|
|
149
135
|
/**
|
|
@@ -246,26 +232,6 @@ export declare namespace CustomerSession {
|
|
|
246
232
|
type PaymentMethodSaveUsage = 'off_session' | 'on_session' | OtherString;
|
|
247
233
|
}
|
|
248
234
|
}
|
|
249
|
-
namespace TaxIdElement {
|
|
250
|
-
interface Features {
|
|
251
|
-
/**
|
|
252
|
-
* Controls whether the Tax ID Element displays saved tax IDs for the customer. This parameter defaults to `disabled`.
|
|
253
|
-
*
|
|
254
|
-
* When enabled, the Tax ID Element will show existing tax IDs associated with the customer, allowing them to select from previously saved tax identification numbers.
|
|
255
|
-
*/
|
|
256
|
-
tax_id_redisplay: Features.TaxIdRedisplay;
|
|
257
|
-
/**
|
|
258
|
-
* Controls whether the Tax ID Element allows merchants to save new tax IDs for their customer. This parameter defaults to `disabled`.
|
|
259
|
-
*
|
|
260
|
-
* When enabled, customers can enter and save new tax identification numbers during the payment flow, which will be stored securely and associated with their customer object for future use.
|
|
261
|
-
*/
|
|
262
|
-
tax_id_save: Features.TaxIdSave;
|
|
263
|
-
}
|
|
264
|
-
namespace Features {
|
|
265
|
-
type TaxIdRedisplay = 'disabled' | 'enabled' | OtherString;
|
|
266
|
-
type TaxIdSave = 'disabled' | 'enabled' | OtherString;
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
235
|
}
|
|
270
236
|
}
|
|
271
237
|
export interface CustomerSessionCreateParams {
|
|
@@ -316,10 +282,6 @@ export declare namespace CustomerSessionCreateParams {
|
|
|
316
282
|
* Configuration for the pricing table.
|
|
317
283
|
*/
|
|
318
284
|
pricing_table?: Components.PricingTable;
|
|
319
|
-
/**
|
|
320
|
-
* Configuration for the Tax ID Element.
|
|
321
|
-
*/
|
|
322
|
-
tax_id_element?: Components.TaxIdElement;
|
|
323
285
|
}
|
|
324
286
|
namespace Components {
|
|
325
287
|
interface ActiveEntitlements {
|
|
@@ -376,16 +338,6 @@ export declare namespace CustomerSessionCreateParams {
|
|
|
376
338
|
*/
|
|
377
339
|
enabled: boolean;
|
|
378
340
|
}
|
|
379
|
-
interface TaxIdElement {
|
|
380
|
-
/**
|
|
381
|
-
* Whether the Tax ID Element is enabled.
|
|
382
|
-
*/
|
|
383
|
-
enabled: boolean;
|
|
384
|
-
/**
|
|
385
|
-
* This hash defines whether the Tax ID Element supports certain features.
|
|
386
|
-
*/
|
|
387
|
-
features?: TaxIdElement.Features;
|
|
388
|
-
}
|
|
389
341
|
namespace CustomerSheet {
|
|
390
342
|
interface Features {
|
|
391
343
|
/**
|
|
@@ -488,25 +440,5 @@ export declare namespace CustomerSessionCreateParams {
|
|
|
488
440
|
type PaymentMethodSaveUsage = 'off_session' | 'on_session' | OtherString;
|
|
489
441
|
}
|
|
490
442
|
}
|
|
491
|
-
namespace TaxIdElement {
|
|
492
|
-
interface Features {
|
|
493
|
-
/**
|
|
494
|
-
* Controls whether the Tax ID Element displays saved tax IDs for the customer. This parameter defaults to `disabled`.
|
|
495
|
-
*
|
|
496
|
-
* When enabled, the Tax ID Element will show existing tax IDs associated with the customer, allowing them to select from previously saved tax identification numbers.
|
|
497
|
-
*/
|
|
498
|
-
tax_id_redisplay?: Features.TaxIdRedisplay;
|
|
499
|
-
/**
|
|
500
|
-
* Controls whether the Tax ID Element allows merchants to save new tax IDs for their customer. This parameter defaults to `disabled`.
|
|
501
|
-
*
|
|
502
|
-
* When enabled, customers can enter and save new tax identification numbers during the payment flow, which will be stored securely and associated with their customer object for future use.
|
|
503
|
-
*/
|
|
504
|
-
tax_id_save?: Features.TaxIdSave;
|
|
505
|
-
}
|
|
506
|
-
namespace Features {
|
|
507
|
-
type TaxIdRedisplay = 'disabled' | 'enabled' | OtherString;
|
|
508
|
-
type TaxIdSave = 'disabled' | 'enabled' | OtherString;
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
443
|
}
|
|
512
444
|
}
|
|
@@ -46,10 +46,6 @@ export declare class CustomerResource extends StripeResource {
|
|
|
46
46
|
* to an hour behind during outages. Search functionality is not available to merchants in India.
|
|
47
47
|
*/
|
|
48
48
|
search(params: CustomerSearchParams, options?: RequestOptions): ApiSearchResultPromise<Customer>;
|
|
49
|
-
serializeBatchUpdate(customer: string, params?: Record<string, unknown>, options?: {
|
|
50
|
-
apiVersion?: string;
|
|
51
|
-
stripeContext?: string;
|
|
52
|
-
}): string;
|
|
53
49
|
/**
|
|
54
50
|
* Returns a list of transactions that updated the customer's [balances](https://docs.stripe.com/docs/billing/customer/balance).
|
|
55
51
|
*/
|
|
@@ -247,10 +243,6 @@ export interface Customer {
|
|
|
247
243
|
* The customer's preferred locales (languages), ordered by preference.
|
|
248
244
|
*/
|
|
249
245
|
preferred_locales?: Array<string> | null;
|
|
250
|
-
/**
|
|
251
|
-
* Redaction status of this customer. If not null, this customer is associated to a redaction job.
|
|
252
|
-
*/
|
|
253
|
-
redaction?: Customer.Redaction | null;
|
|
254
246
|
/**
|
|
255
247
|
* Mailing and shipping address for the customer. Appears on invoices emailed to this customer.
|
|
256
248
|
*/
|
|
@@ -310,12 +302,6 @@ export declare namespace Customer {
|
|
|
310
302
|
*/
|
|
311
303
|
rendering_options: InvoiceSettings.RenderingOptions | null;
|
|
312
304
|
}
|
|
313
|
-
interface Redaction {
|
|
314
|
-
/**
|
|
315
|
-
* Indicates whether this object and its related objects have been redacted or not.
|
|
316
|
-
*/
|
|
317
|
-
status: Redaction.Status;
|
|
318
|
-
}
|
|
319
305
|
interface Shipping {
|
|
320
306
|
address?: Address;
|
|
321
307
|
/**
|
|
@@ -376,9 +362,6 @@ export declare namespace Customer {
|
|
|
376
362
|
template: string | null;
|
|
377
363
|
}
|
|
378
364
|
}
|
|
379
|
-
namespace Redaction {
|
|
380
|
-
type Status = 'processing' | 'redacted' | 'validated' | OtherString;
|
|
381
|
-
}
|
|
382
365
|
namespace Tax {
|
|
383
366
|
type AutomaticTax = 'failed' | 'not_collecting' | 'supported' | 'unrecognized_location' | OtherString;
|
|
384
367
|
interface Location {
|
|
@@ -539,7 +522,7 @@ export declare namespace CustomerCreateParams {
|
|
|
539
522
|
type TaxExempt = 'exempt' | 'none' | 'reverse' | OtherString;
|
|
540
523
|
interface TaxIdDatum {
|
|
541
524
|
/**
|
|
542
|
-
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `fo_vat`, `gb_vat`, `ge_vat`, `gi_tin`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `ic_nif`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `it_cf`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `lk_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `py_ruc`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
|
525
|
+
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_acn`, `au_arn`, `au_wpn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `bw_vat`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `ci_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `cz_dic`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `fo_vat`, `fr_siren`, `fr_siret`, `fr_spi`, `gb_vat`, `ge_vat`, `gh_tin`, `gi_tin`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `ic_nif`, `id_npwp`, `il_vat`, `in_gst`, `is_kt`, `is_vat`, `it_cf`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `lk_vat`, `ma_vat`, `md_cf`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mu_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `mz_nuit`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_bn`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `pt_nif`, `py_ruc`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sm_coe`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tt_bir`, `tt_vat`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
|
543
526
|
*/
|
|
544
527
|
type: TaxIdDatum.Type;
|
|
545
528
|
/**
|
|
@@ -587,7 +570,7 @@ export declare namespace CustomerCreateParams {
|
|
|
587
570
|
type ValidateLocation = 'deferred' | 'immediately' | OtherString;
|
|
588
571
|
}
|
|
589
572
|
namespace TaxIdDatum {
|
|
590
|
-
type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'bf_ifu' | 'bg_uic' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'gb_vat' | 'ge_vat' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'ic_nif' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin' | OtherString;
|
|
573
|
+
type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_acn' | 'au_arn' | 'au_wpn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'bf_ifu' | 'bg_uic' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'bw_vat' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'ci_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'cz_dic' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'fr_siren' | 'fr_siret' | 'fr_spi' | 'gb_vat' | 'ge_vat' | 'gh_tin' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'ic_nif' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_kt' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_cf' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mu_vat' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'mz_nuit' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_bn' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'pt_nif' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sm_coe' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tt_bir' | 'tt_vat' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin' | OtherString;
|
|
591
574
|
}
|
|
592
575
|
}
|
|
593
576
|
export interface CustomerRetrieveParams {
|
|
@@ -876,7 +859,7 @@ export interface CustomerCreateSourceParams {
|
|
|
876
859
|
}
|
|
877
860
|
export interface CustomerCreateTaxIdParams {
|
|
878
861
|
/**
|
|
879
|
-
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `fo_vat`, `gb_vat`, `ge_vat`, `gi_tin`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `ic_nif`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `it_cf`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `lk_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `py_ruc`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
|
862
|
+
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_acn`, `au_arn`, `au_wpn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `bw_vat`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `ci_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `cz_dic`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `fo_vat`, `fr_siren`, `fr_siret`, `fr_spi`, `gb_vat`, `ge_vat`, `gh_tin`, `gi_tin`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `ic_nif`, `id_npwp`, `il_vat`, `in_gst`, `is_kt`, `is_vat`, `it_cf`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `lk_vat`, `ma_vat`, `md_cf`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mu_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `mz_nuit`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_bn`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `pt_nif`, `py_ruc`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sm_coe`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tt_bir`, `tt_vat`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
|
880
863
|
*/
|
|
881
864
|
type: CustomerCreateTaxIdParams.Type;
|
|
882
865
|
/**
|
|
@@ -889,7 +872,7 @@ export interface CustomerCreateTaxIdParams {
|
|
|
889
872
|
expand?: Array<string>;
|
|
890
873
|
}
|
|
891
874
|
export declare namespace CustomerCreateTaxIdParams {
|
|
892
|
-
type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'bf_ifu' | 'bg_uic' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'gb_vat' | 'ge_vat' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'ic_nif' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin' | OtherString;
|
|
875
|
+
type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_acn' | 'au_arn' | 'au_wpn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'bf_ifu' | 'bg_uic' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'bw_vat' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'ci_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'cz_dic' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'fr_siren' | 'fr_siret' | 'fr_spi' | 'gb_vat' | 'ge_vat' | 'gh_tin' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'ic_nif' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_kt' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_cf' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mu_vat' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'mz_nuit' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_bn' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'pt_nif' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sm_coe' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tt_bir' | 'tt_vat' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin' | OtherString;
|
|
893
876
|
}
|
|
894
877
|
export interface CustomerDeleteDiscountParams {
|
|
895
878
|
}
|
|
@@ -937,7 +920,7 @@ export interface CustomerListPaymentMethodsParams extends PaginationParams {
|
|
|
937
920
|
}
|
|
938
921
|
export declare namespace CustomerListPaymentMethodsParams {
|
|
939
922
|
type AllowRedisplay = 'always' | 'limited' | 'unspecified' | OtherString;
|
|
940
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | '
|
|
923
|
+
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
941
924
|
}
|
|
942
925
|
export interface CustomerListSourcesParams extends PaginationParams {
|
|
943
926
|
/**
|
|
@@ -1009,8 +992,6 @@ export interface CustomerSearchParams {
|
|
|
1009
992
|
*/
|
|
1010
993
|
page?: string;
|
|
1011
994
|
}
|
|
1012
|
-
export interface CustomerSerializeBatchUpdateParams {
|
|
1013
|
-
}
|
|
1014
995
|
export interface CustomerUpdateBalanceTransactionParams {
|
|
1015
996
|
/**
|
|
1016
997
|
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
@@ -521,20 +521,6 @@ class CustomerResource extends StripeResource_js_1.StripeResource {
|
|
|
521
521
|
},
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
serializeBatchUpdate(customer, params = {}, options = {}) {
|
|
525
|
-
const itemId = this._stripe._platformFunctions.uuid4();
|
|
526
|
-
const stripeVersion = options.apiVersion || this._stripe.getApiField('version');
|
|
527
|
-
const entry = {
|
|
528
|
-
id: itemId,
|
|
529
|
-
params: params,
|
|
530
|
-
stripe_version: stripeVersion,
|
|
531
|
-
};
|
|
532
|
-
entry.path_params = { customer: customer };
|
|
533
|
-
if (options.stripeContext) {
|
|
534
|
-
entry.context = options.stripeContext;
|
|
535
|
-
}
|
|
536
|
-
return JSON.stringify(entry);
|
|
537
|
-
}
|
|
538
524
|
/**
|
|
539
525
|
* Returns a list of transactions that updated the customer's [balances](https://docs.stripe.com/docs/billing/customer/balance).
|
|
540
526
|
*/
|