stripe 18.1.0-beta.3 → 18.1.1
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 +154 -1208
- package/OPENAPI_VERSION +1 -1
- package/README.md +11 -12
- package/VERSION +1 -1
- package/cjs/Error.js +3 -93
- package/cjs/RequestSender.js +5 -9
- package/cjs/StripeResource.js +1 -1
- package/cjs/Webhooks.js +6 -2
- package/cjs/apiVersion.js +1 -1
- package/cjs/net/FetchHttpClient.js +3 -4
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +4 -4
- package/cjs/resources/Invoices.js +0 -4
- package/cjs/resources/PaymentIntents.js +0 -13
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources/TestHelpers/Terminal/Readers.js +0 -8
- package/cjs/resources.js +18 -108
- package/cjs/stripe.core.js +2 -4
- package/cjs/utils.js +33 -4
- package/esm/Error.js +2 -81
- package/esm/RequestSender.js +6 -10
- package/esm/StripeResource.js +1 -1
- package/esm/Webhooks.js +6 -2
- package/esm/apiVersion.js +1 -1
- package/esm/net/FetchHttpClient.js +3 -4
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +3 -3
- package/esm/resources/Invoices.js +0 -4
- package/esm/resources/PaymentIntents.js +0 -13
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources/TestHelpers/Terminal/Readers.js +0 -8
- package/esm/resources.js +1 -84
- package/esm/stripe.core.js +2 -4
- package/esm/utils.js +29 -3
- package/package.json +12 -3
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -300
- package/types/Accounts.d.ts +1 -212
- package/types/AccountsResource.d.ts +2 -546
- package/types/Billing/CreditBalanceSummary.d.ts +0 -5
- package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
- package/types/Billing/CreditGrants.d.ts +0 -5
- package/types/Billing/CreditGrantsResource.d.ts +1 -11
- package/types/BillingPortal/Sessions.d.ts +0 -5
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Cards.d.ts +0 -5
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +0 -166
- package/types/ChargesResource.d.ts +0 -1314
- package/types/Checkout/Sessions.d.ts +13 -306
- package/types/Checkout/SessionsResource.d.ts +1 -333
- package/types/ConfirmationTokens.d.ts +0 -120
- package/types/Coupons.d.ts +0 -33
- package/types/CouponsResource.d.ts +0 -21
- package/types/CreditNoteLineItems.d.ts +0 -17
- package/types/CreditNotes.d.ts +0 -9
- package/types/CreditNotesResource.d.ts +0 -5
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +0 -5
- package/types/CustomerSessionsResource.d.ts +1 -6
- package/types/Customers.d.ts +0 -2
- package/types/CustomersResource.d.ts +23 -11
- package/types/Discounts.d.ts +0 -10
- package/types/Errors.d.ts +2 -69
- package/types/EventTypes.d.ts +0 -698
- package/types/Events.d.ts +1 -100
- package/types/FinancialConnections/Accounts.d.ts +1 -31
- package/types/FinancialConnections/AccountsResource.d.ts +3 -40
- package/types/FinancialConnections/Sessions.d.ts +1 -51
- package/types/FinancialConnections/SessionsResource.d.ts +1 -43
- package/types/Identity/VerificationSessions.d.ts +0 -5
- package/types/Identity/VerificationSessionsResource.d.ts +0 -7
- package/types/InvoiceItems.d.ts +0 -10
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +2 -46
- package/types/InvoicePayments.d.ts +0 -5
- package/types/InvoicePaymentsResource.d.ts +74 -0
- package/types/Invoices.d.ts +15 -138
- package/types/InvoicesResource.d.ts +15 -1471
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -5
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -49
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +2 -728
- package/types/PaymentIntentsResource.d.ts +3955 -8479
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
- package/types/PaymentMethods.d.ts +0 -120
- package/types/PaymentMethodsResource.d.ts +2 -167
- package/types/Payouts.d.ts +0 -5
- package/types/PayoutsResource.d.ts +0 -5
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/PromotionCodes.d.ts +0 -5
- package/types/PromotionCodesResource.d.ts +0 -10
- package/types/Quotes.d.ts +2 -597
- package/types/QuotesResource.d.ts +224 -2571
- package/types/Refunds.d.ts +0 -14
- package/types/SetupAttempts.d.ts +1 -50
- package/types/SetupIntents.d.ts +2 -121
- package/types/SetupIntentsResource.d.ts +3 -730
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -23
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -205
- package/types/SubscriptionSchedulesResource.d.ts +8 -1236
- package/types/Subscriptions.d.ts +1 -97
- package/types/SubscriptionsResource.d.ts +9 -391
- package/types/Tax/Calculations.d.ts +11 -1
- package/types/Tax/CalculationsResource.d.ts +11 -1
- package/types/Tax/Registrations.d.ts +27 -0
- package/types/Tax/RegistrationsResource.d.ts +36 -0
- package/types/Tax/Transactions.d.ts +11 -1
- package/types/TaxIds.d.ts +11 -11
- package/types/TaxIdsResource.d.ts +11 -11
- package/types/Terminal/Readers.d.ts +0 -300
- package/types/Terminal/ReadersResource.d.ts +0 -220
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +7 -127
- package/types/TestHelpers/Terminal/ReadersResource.d.ts +0 -53
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Transfers.d.ts +0 -5
- package/types/TransfersResource.d.ts +0 -5
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundPaymentsResource.d.ts +0 -5
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/EventTypes.d.ts +7 -677
- package/types/WebhookEndpointsResource.d.ts +4 -85
- package/types/index.d.ts +5 -146
- package/types/lib.d.ts +1 -11
- package/types/test/typescriptTest.ts +3 -3
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/BalanceSettings.js +0 -10
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/ExternalAccounts.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/FxQuotes.js +0 -15
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/PaymentRecords.js +0 -29
- package/cjs/resources/Privacy/RedactionJobs.js +0 -46
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/cjs/resources/V2/Core/AccountLinks.js +0 -9
- package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
- package/cjs/resources/V2/Core/Accounts.js +0 -25
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -12
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/BalanceSettings.js +0 -7
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/ExternalAccounts.js +0 -20
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/FxQuotes.js +0 -12
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/PaymentRecords.js +0 -26
- package/esm/resources/Privacy/RedactionJobs.js +0 -43
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/esm/resources/V2/Core/AccountLinks.js +0 -6
- package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
- package/esm/resources/V2/Core/Accounts.js +0 -22
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -9
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/BalanceSettings.d.ts +0 -89
- package/types/BalanceSettingsResource.d.ts +0 -108
- package/types/Billing/MeterErrorReports.d.ts +0 -106
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/ExternalAccountsResource.d.ts +0 -304
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -153
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -113
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1189
- package/types/OrdersResource.d.ts +0 -2981
- package/types/PaymentAttemptRecords.d.ts +0 -2112
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -110
- package/types/PaymentRecords.d.ts +0 -2105
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/Privacy/RedactionJobRootObjects.d.ts +0 -35
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -30
- package/types/Privacy/RedactionJobs.d.ts +0 -43
- package/types/Privacy/RedactionJobsResource.d.ts +0 -240
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1687
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -778
- package/types/Tax/Associations.d.ts +0 -126
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/V2/Core/AccountLinks.d.ts +0 -101
- package/types/V2/Core/AccountLinksResource.d.ts +0 -90
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3760
- package/types/V2/Core/Accounts.d.ts +0 -8057
- package/types/V2/Core/AccountsResource.d.ts +0 -10184
- package/types/V2/Core/Persons.d.ts +0 -1857
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -155
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -65
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
- package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -22
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -27
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -105
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -540
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -52
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -308
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -287
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -201
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -141
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -93
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -273
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -92
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -246
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -207
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -146
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -82
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -280
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -219
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -151
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -166
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -66
package/types/Coupons.d.ts
CHANGED
|
@@ -87,21 +87,11 @@ declare module 'stripe' {
|
|
|
87
87
|
*/
|
|
88
88
|
redeem_by: number | null;
|
|
89
89
|
|
|
90
|
-
/**
|
|
91
|
-
* Configuration of the [script](https://docs.stripe.com/billing/subscriptions/script-coupons) used to calculate the discount.
|
|
92
|
-
*/
|
|
93
|
-
script?: Coupon.Script | null;
|
|
94
|
-
|
|
95
90
|
/**
|
|
96
91
|
* Number of times this coupon has been applied to a customer.
|
|
97
92
|
*/
|
|
98
93
|
times_redeemed: number;
|
|
99
94
|
|
|
100
|
-
/**
|
|
101
|
-
* One of `amount_off`, `percent_off`, or `script`. Describes the type of coupon logic used to calculate the discount.
|
|
102
|
-
*/
|
|
103
|
-
type?: Coupon.Type | null;
|
|
104
|
-
|
|
105
95
|
/**
|
|
106
96
|
* Taking account of the above properties, whether this coupon can still be applied to a customer.
|
|
107
97
|
*/
|
|
@@ -124,29 +114,6 @@ declare module 'stripe' {
|
|
|
124
114
|
}
|
|
125
115
|
|
|
126
116
|
type Duration = 'forever' | 'once' | 'repeating';
|
|
127
|
-
|
|
128
|
-
interface Script {
|
|
129
|
-
/**
|
|
130
|
-
* The configuration values of the script. The keys and values are specific to the script implementation.
|
|
131
|
-
*/
|
|
132
|
-
configuration: Script.Configuration;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* The name of the script used to calculate the discount.
|
|
136
|
-
*/
|
|
137
|
-
display_name: string;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* The script implementation ID for this coupon.
|
|
141
|
-
*/
|
|
142
|
-
id: string;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
namespace Script {
|
|
146
|
-
interface Configuration {}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
type Type = 'amount_off' | 'percent_off' | 'script';
|
|
150
117
|
}
|
|
151
118
|
|
|
152
119
|
/**
|
|
@@ -69,11 +69,6 @@ declare module 'stripe' {
|
|
|
69
69
|
* Unix timestamp specifying the last time at which the coupon can be redeemed. After the redeem_by date, the coupon can no longer be applied to new customers.
|
|
70
70
|
*/
|
|
71
71
|
redeem_by?: number;
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Configuration of the [script](https://docs.stripe.com/billing/subscriptions/script-coupons) used to calculate the discount.
|
|
75
|
-
*/
|
|
76
|
-
script?: CouponCreateParams.Script;
|
|
77
72
|
}
|
|
78
73
|
|
|
79
74
|
namespace CouponCreateParams {
|
|
@@ -92,22 +87,6 @@ declare module 'stripe' {
|
|
|
92
87
|
}
|
|
93
88
|
|
|
94
89
|
type Duration = 'forever' | 'once' | 'repeating';
|
|
95
|
-
|
|
96
|
-
interface Script {
|
|
97
|
-
/**
|
|
98
|
-
* The configuration values of the script. The keys and values are specific to the script implementation.
|
|
99
|
-
*/
|
|
100
|
-
configuration: Script.Configuration;
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* The script implementation ID for this coupon.
|
|
104
|
-
*/
|
|
105
|
-
id: string;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
namespace Script {
|
|
109
|
-
interface Configuration {}
|
|
110
|
-
}
|
|
111
90
|
}
|
|
112
91
|
|
|
113
92
|
interface CouponRetrieveParams {
|
|
@@ -56,11 +56,6 @@ declare module 'stripe' {
|
|
|
56
56
|
*/
|
|
57
57
|
quantity: number | null;
|
|
58
58
|
|
|
59
|
-
/**
|
|
60
|
-
* The tax calculation identifiers of the line item.
|
|
61
|
-
*/
|
|
62
|
-
tax_calculation_reference?: CreditNoteLineItem.TaxCalculationReference | null;
|
|
63
|
-
|
|
64
59
|
/**
|
|
65
60
|
* The tax rates which apply to the line item.
|
|
66
61
|
*/
|
|
@@ -186,18 +181,6 @@ declare module 'stripe' {
|
|
|
186
181
|
}
|
|
187
182
|
}
|
|
188
183
|
|
|
189
|
-
interface TaxCalculationReference {
|
|
190
|
-
/**
|
|
191
|
-
* The calculation identifier for tax calculation response.
|
|
192
|
-
*/
|
|
193
|
-
calculation_id: string | null;
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* The calculation identifier for tax calculation response line item.
|
|
197
|
-
*/
|
|
198
|
-
calculation_item_id: string | null;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
184
|
type Type = 'custom_line_item' | 'invoice_line_item';
|
|
202
185
|
}
|
|
203
186
|
}
|
package/types/CreditNotes.d.ts
CHANGED
|
@@ -43,11 +43,6 @@ declare module 'stripe' {
|
|
|
43
43
|
*/
|
|
44
44
|
customer: string | Stripe.Customer | Stripe.DeletedCustomer;
|
|
45
45
|
|
|
46
|
-
/**
|
|
47
|
-
* ID of the account.
|
|
48
|
-
*/
|
|
49
|
-
customer_account?: string | null;
|
|
50
|
-
|
|
51
46
|
/**
|
|
52
47
|
* Customer balance transaction related to this credit note.
|
|
53
48
|
*/
|
|
@@ -111,10 +106,6 @@ declare module 'stripe' {
|
|
|
111
106
|
*/
|
|
112
107
|
pdf: string;
|
|
113
108
|
|
|
114
|
-
post_payment_amount?: number;
|
|
115
|
-
|
|
116
|
-
pre_payment_amount?: number;
|
|
117
|
-
|
|
118
109
|
/**
|
|
119
110
|
* The pretax credit amounts (ex: discount, credit grants, etc) for all line items.
|
|
120
111
|
*/
|
|
@@ -206,11 +206,6 @@ declare module 'stripe' {
|
|
|
206
206
|
*/
|
|
207
207
|
customer?: string;
|
|
208
208
|
|
|
209
|
-
/**
|
|
210
|
-
* Only return credit notes for the account specified by this account ID.
|
|
211
|
-
*/
|
|
212
|
-
customer_account?: string;
|
|
213
|
-
|
|
214
209
|
/**
|
|
215
210
|
* Specifies which fields in the response should be expanded.
|
|
216
211
|
*/
|
|
@@ -38,8 +38,6 @@ declare module 'stripe' {
|
|
|
38
38
|
*/
|
|
39
39
|
customer: string | Stripe.Customer;
|
|
40
40
|
|
|
41
|
-
customer_account?: string | null;
|
|
42
|
-
|
|
43
41
|
/**
|
|
44
42
|
* The total available cash balance for the specified currency after this transaction was applied. Represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
|
45
43
|
*/
|
|
@@ -38,11 +38,6 @@ declare module 'stripe' {
|
|
|
38
38
|
*/
|
|
39
39
|
customer: string | Stripe.Customer;
|
|
40
40
|
|
|
41
|
-
/**
|
|
42
|
-
* The Account that the Customer Session was created for.
|
|
43
|
-
*/
|
|
44
|
-
customer_account?: string | null;
|
|
45
|
-
|
|
46
41
|
/**
|
|
47
42
|
* The timestamp at which this Customer Session will expire.
|
|
48
43
|
*/
|
|
@@ -11,12 +11,7 @@ declare module 'stripe' {
|
|
|
11
11
|
/**
|
|
12
12
|
* The ID of an existing customer for which to create the Customer Session.
|
|
13
13
|
*/
|
|
14
|
-
customer
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* The ID of an existing Account for which to create the Customer Session.
|
|
18
|
-
*/
|
|
19
|
-
customer_account?: string;
|
|
14
|
+
customer: string;
|
|
20
15
|
|
|
21
16
|
/**
|
|
22
17
|
* Specifies which fields in the response should be expanded.
|
package/types/Customers.d.ts
CHANGED
|
@@ -213,7 +213,7 @@ declare module 'stripe' {
|
|
|
213
213
|
|
|
214
214
|
interface TaxIdDatum {
|
|
215
215
|
/**
|
|
216
|
-
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `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`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_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`, `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`
|
|
216
|
+
* 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`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_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`, `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`
|
|
217
217
|
*/
|
|
218
218
|
type: TaxIdDatum.Type;
|
|
219
219
|
|
|
@@ -233,10 +233,15 @@ declare module 'stripe' {
|
|
|
233
233
|
| 'ar_cuit'
|
|
234
234
|
| 'au_abn'
|
|
235
235
|
| 'au_arn'
|
|
236
|
+
| 'aw_tin'
|
|
237
|
+
| 'az_tin'
|
|
236
238
|
| 'ba_tin'
|
|
237
239
|
| 'bb_tin'
|
|
240
|
+
| 'bd_bin'
|
|
241
|
+
| 'bf_ifu'
|
|
238
242
|
| 'bg_uic'
|
|
239
243
|
| 'bh_vat'
|
|
244
|
+
| 'bj_ifu'
|
|
240
245
|
| 'bo_tin'
|
|
241
246
|
| 'br_cnpj'
|
|
242
247
|
| 'br_cpf'
|
|
@@ -252,14 +257,17 @@ declare module 'stripe' {
|
|
|
252
257
|
| 'ch_uid'
|
|
253
258
|
| 'ch_vat'
|
|
254
259
|
| 'cl_tin'
|
|
260
|
+
| 'cm_niu'
|
|
255
261
|
| 'cn_tin'
|
|
256
262
|
| 'co_nit'
|
|
257
263
|
| 'cr_tin'
|
|
264
|
+
| 'cv_nif'
|
|
258
265
|
| 'de_stn'
|
|
259
266
|
| 'do_rcn'
|
|
260
267
|
| 'ec_ruc'
|
|
261
268
|
| 'eg_tin'
|
|
262
269
|
| 'es_cif'
|
|
270
|
+
| 'et_tin'
|
|
263
271
|
| 'eu_oss_vat'
|
|
264
272
|
| 'eu_vat'
|
|
265
273
|
| 'gb_vat'
|
|
@@ -276,9 +284,11 @@ declare module 'stripe' {
|
|
|
276
284
|
| 'jp_rn'
|
|
277
285
|
| 'jp_trn'
|
|
278
286
|
| 'ke_pin'
|
|
287
|
+
| 'kg_tin'
|
|
279
288
|
| 'kh_tin'
|
|
280
289
|
| 'kr_brn'
|
|
281
290
|
| 'kz_bin'
|
|
291
|
+
| 'la_tin'
|
|
282
292
|
| 'li_uid'
|
|
283
293
|
| 'li_vat'
|
|
284
294
|
| 'ma_vat'
|
|
@@ -675,7 +685,7 @@ declare module 'stripe' {
|
|
|
675
685
|
|
|
676
686
|
interface CustomerCreateTaxIdParams {
|
|
677
687
|
/**
|
|
678
|
-
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `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`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_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`, `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`
|
|
688
|
+
* 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`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_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`, `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`
|
|
679
689
|
*/
|
|
680
690
|
type: CustomerCreateTaxIdParams.Type;
|
|
681
691
|
|
|
@@ -700,10 +710,15 @@ declare module 'stripe' {
|
|
|
700
710
|
| 'ar_cuit'
|
|
701
711
|
| 'au_abn'
|
|
702
712
|
| 'au_arn'
|
|
713
|
+
| 'aw_tin'
|
|
714
|
+
| 'az_tin'
|
|
703
715
|
| 'ba_tin'
|
|
704
716
|
| 'bb_tin'
|
|
717
|
+
| 'bd_bin'
|
|
718
|
+
| 'bf_ifu'
|
|
705
719
|
| 'bg_uic'
|
|
706
720
|
| 'bh_vat'
|
|
721
|
+
| 'bj_ifu'
|
|
707
722
|
| 'bo_tin'
|
|
708
723
|
| 'br_cnpj'
|
|
709
724
|
| 'br_cpf'
|
|
@@ -719,14 +734,17 @@ declare module 'stripe' {
|
|
|
719
734
|
| 'ch_uid'
|
|
720
735
|
| 'ch_vat'
|
|
721
736
|
| 'cl_tin'
|
|
737
|
+
| 'cm_niu'
|
|
722
738
|
| 'cn_tin'
|
|
723
739
|
| 'co_nit'
|
|
724
740
|
| 'cr_tin'
|
|
741
|
+
| 'cv_nif'
|
|
725
742
|
| 'de_stn'
|
|
726
743
|
| 'do_rcn'
|
|
727
744
|
| 'ec_ruc'
|
|
728
745
|
| 'eg_tin'
|
|
729
746
|
| 'es_cif'
|
|
747
|
+
| 'et_tin'
|
|
730
748
|
| 'eu_oss_vat'
|
|
731
749
|
| 'eu_vat'
|
|
732
750
|
| 'gb_vat'
|
|
@@ -743,9 +761,11 @@ declare module 'stripe' {
|
|
|
743
761
|
| 'jp_rn'
|
|
744
762
|
| 'jp_trn'
|
|
745
763
|
| 'ke_pin'
|
|
764
|
+
| 'kg_tin'
|
|
746
765
|
| 'kh_tin'
|
|
747
766
|
| 'kr_brn'
|
|
748
767
|
| 'kz_bin'
|
|
768
|
+
| 'la_tin'
|
|
749
769
|
| 'li_uid'
|
|
750
770
|
| 'li_vat'
|
|
751
771
|
| 'ma_vat'
|
|
@@ -822,7 +842,7 @@ declare module 'stripe' {
|
|
|
822
842
|
|
|
823
843
|
interface CustomerListPaymentMethodsParams extends PaginationParams {
|
|
824
844
|
/**
|
|
825
|
-
* This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.
|
|
845
|
+
* This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.
|
|
826
846
|
*/
|
|
827
847
|
allow_redisplay?: CustomerListPaymentMethodsParams.AllowRedisplay;
|
|
828
848
|
|
|
@@ -859,16 +879,13 @@ declare module 'stripe' {
|
|
|
859
879
|
| 'eps'
|
|
860
880
|
| 'fpx'
|
|
861
881
|
| 'giropay'
|
|
862
|
-
| 'gopay'
|
|
863
882
|
| 'grabpay'
|
|
864
|
-
| 'id_bank_transfer'
|
|
865
883
|
| 'ideal'
|
|
866
884
|
| 'kakao_pay'
|
|
867
885
|
| 'klarna'
|
|
868
886
|
| 'konbini'
|
|
869
887
|
| 'kr_card'
|
|
870
888
|
| 'link'
|
|
871
|
-
| 'mb_way'
|
|
872
889
|
| 'mobilepay'
|
|
873
890
|
| 'multibanco'
|
|
874
891
|
| 'naver_pay'
|
|
@@ -879,18 +896,13 @@ declare module 'stripe' {
|
|
|
879
896
|
| 'payco'
|
|
880
897
|
| 'paynow'
|
|
881
898
|
| 'paypal'
|
|
882
|
-
| 'payto'
|
|
883
899
|
| 'pix'
|
|
884
900
|
| 'promptpay'
|
|
885
|
-
| 'qris'
|
|
886
|
-
| 'rechnung'
|
|
887
901
|
| 'revolut_pay'
|
|
888
902
|
| 'samsung_pay'
|
|
889
903
|
| 'satispay'
|
|
890
904
|
| 'sepa_debit'
|
|
891
|
-
| 'shopeepay'
|
|
892
905
|
| 'sofort'
|
|
893
|
-
| 'stripe_balance'
|
|
894
906
|
| 'swish'
|
|
895
907
|
| 'twint'
|
|
896
908
|
| 'us_bank_account'
|
package/types/Discounts.d.ts
CHANGED
|
@@ -33,11 +33,6 @@ declare module 'stripe' {
|
|
|
33
33
|
*/
|
|
34
34
|
customer: string | Stripe.Customer | Stripe.DeletedCustomer | null;
|
|
35
35
|
|
|
36
|
-
/**
|
|
37
|
-
* The ID of the account associated with this discount.
|
|
38
|
-
*/
|
|
39
|
-
customer_account?: string | null;
|
|
40
|
-
|
|
41
36
|
/**
|
|
42
37
|
* Always true for a deleted object
|
|
43
38
|
*/
|
|
@@ -108,11 +103,6 @@ declare module 'stripe' {
|
|
|
108
103
|
*/
|
|
109
104
|
customer: string | Stripe.Customer | Stripe.DeletedCustomer | null;
|
|
110
105
|
|
|
111
|
-
/**
|
|
112
|
-
* The ID of the account associated with this discount.
|
|
113
|
-
*/
|
|
114
|
-
customer_account?: string | null;
|
|
115
|
-
|
|
116
106
|
/**
|
|
117
107
|
* Always true for a deleted object
|
|
118
108
|
*/
|
package/types/Errors.d.ts
CHANGED
|
@@ -9,18 +9,7 @@ declare module 'stripe' {
|
|
|
9
9
|
| 'rate_limit_error'
|
|
10
10
|
| 'authentication_error'
|
|
11
11
|
| 'invalid_grant'
|
|
12
|
-
| 'temporary_session_expired'
|
|
13
|
-
| 'financial_account_not_open'
|
|
14
|
-
| 'blocked_by_stripe'
|
|
15
|
-
| 'already_canceled'
|
|
16
|
-
| 'not_cancelable'
|
|
17
|
-
| 'insufficient_funds'
|
|
18
|
-
| 'quota_exceeded'
|
|
19
|
-
| 'recipient_not_notifiable'
|
|
20
|
-
| 'feature_not_enabled'
|
|
21
|
-
| 'invalid_payout_method'
|
|
22
|
-
| 'controlled_by_dashboard'
|
|
23
|
-
| 'invalid_payment_method';
|
|
12
|
+
| 'temporary_session_expired';
|
|
24
13
|
// rawErrorTypeEnum: The end of the section generated from our OpenAPI spec
|
|
25
14
|
|
|
26
15
|
export type StripeRawError = {
|
|
@@ -135,18 +124,7 @@ declare module 'stripe' {
|
|
|
135
124
|
| 'StripeSignatureVerificationError'
|
|
136
125
|
| 'StripeIdempotencyError'
|
|
137
126
|
| 'StripeInvalidGrantError'
|
|
138
|
-
| 'TemporarySessionExpiredError'
|
|
139
|
-
| 'FinancialAccountNotOpenError'
|
|
140
|
-
| 'BlockedByStripeError'
|
|
141
|
-
| 'AlreadyCanceledError'
|
|
142
|
-
| 'NotCancelableError'
|
|
143
|
-
| 'InsufficientFundsError'
|
|
144
|
-
| 'QuotaExceededError'
|
|
145
|
-
| 'RecipientNotNotifiableError'
|
|
146
|
-
| 'FeatureNotEnabledError'
|
|
147
|
-
| 'InvalidPayoutMethodError'
|
|
148
|
-
| 'ControlledByDashboardError'
|
|
149
|
-
| 'InvalidPaymentMethodError';
|
|
127
|
+
| 'TemporarySessionExpiredError';
|
|
150
128
|
// errorClassNameEnum: The end of the section generated from our OpenAPI spec
|
|
151
129
|
|
|
152
130
|
/**
|
|
@@ -296,51 +274,6 @@ declare module 'stripe' {
|
|
|
296
274
|
readonly type: 'TemporarySessionExpiredError';
|
|
297
275
|
readonly rawType: 'temporary_session_expired';
|
|
298
276
|
}
|
|
299
|
-
export class FinancialAccountNotOpenError extends StripeError {
|
|
300
|
-
readonly type: 'FinancialAccountNotOpenError';
|
|
301
|
-
readonly rawType: 'financial_account_not_open';
|
|
302
|
-
}
|
|
303
|
-
export class BlockedByStripeError extends StripeError {
|
|
304
|
-
readonly type: 'BlockedByStripeError';
|
|
305
|
-
readonly rawType: 'blocked_by_stripe';
|
|
306
|
-
}
|
|
307
|
-
export class AlreadyCanceledError extends StripeError {
|
|
308
|
-
readonly type: 'AlreadyCanceledError';
|
|
309
|
-
readonly rawType: 'already_canceled';
|
|
310
|
-
}
|
|
311
|
-
export class NotCancelableError extends StripeError {
|
|
312
|
-
readonly type: 'NotCancelableError';
|
|
313
|
-
readonly rawType: 'not_cancelable';
|
|
314
|
-
}
|
|
315
|
-
export class InsufficientFundsError extends StripeError {
|
|
316
|
-
readonly type: 'InsufficientFundsError';
|
|
317
|
-
readonly rawType: 'insufficient_funds';
|
|
318
|
-
}
|
|
319
|
-
export class QuotaExceededError extends StripeError {
|
|
320
|
-
readonly type: 'QuotaExceededError';
|
|
321
|
-
readonly rawType: 'quota_exceeded';
|
|
322
|
-
}
|
|
323
|
-
export class RecipientNotNotifiableError extends StripeError {
|
|
324
|
-
readonly type: 'RecipientNotNotifiableError';
|
|
325
|
-
readonly rawType: 'recipient_not_notifiable';
|
|
326
|
-
}
|
|
327
|
-
export class FeatureNotEnabledError extends StripeError {
|
|
328
|
-
readonly type: 'FeatureNotEnabledError';
|
|
329
|
-
readonly rawType: 'feature_not_enabled';
|
|
330
|
-
}
|
|
331
|
-
export class InvalidPayoutMethodError extends StripeError {
|
|
332
|
-
readonly type: 'InvalidPayoutMethodError';
|
|
333
|
-
readonly rawType: 'invalid_payout_method';
|
|
334
|
-
}
|
|
335
|
-
export class ControlledByDashboardError extends StripeError {
|
|
336
|
-
readonly type: 'ControlledByDashboardError';
|
|
337
|
-
readonly rawType: 'controlled_by_dashboard';
|
|
338
|
-
}
|
|
339
|
-
export class InvalidPaymentMethodError extends StripeError {
|
|
340
|
-
readonly type: 'InvalidPaymentMethodError';
|
|
341
|
-
readonly rawType: 'invalid_payment_method';
|
|
342
|
-
invalid_param: any /* TODO: support nested types in errors */;
|
|
343
|
-
}
|
|
344
277
|
// errorClassDefinitions: The end of the section generated from our OpenAPI spec
|
|
345
278
|
}
|
|
346
279
|
}
|