stripe 18.1.0-beta.2 → 18.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 +140 -1185
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/Error.js +3 -93
- package/cjs/RequestSender.js +3 -7
- 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 -17
- package/cjs/resources/PaymentIntents.js +0 -8
- 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 -106
- package/cjs/stripe.core.js +2 -4
- package/cjs/utils.js +28 -4
- package/esm/Error.js +2 -81
- package/esm/RequestSender.js +4 -8
- 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 -17
- package/esm/resources/PaymentIntents.js +0 -8
- 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 -83
- package/esm/stripe.core.js +2 -4
- package/esm/utils.js +24 -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 +20 -212
- package/types/AccountsResource.d.ts +214 -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 +5 -166
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +13 -306
- package/types/Checkout/SessionsResource.d.ts +3 -246
- package/types/ConfirmationTokens.d.ts +5 -120
- 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 -681
- package/types/Events.d.ts +1 -99
- 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 +16 -138
- package/types/InvoicesResource.d.ts +20 -1550
- 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 -675
- package/types/PaymentIntentsResource.d.ts +3983 -8416
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +4 -148
- package/types/PaymentMethodConfigurationsResource.d.ts +10 -210
- package/types/PaymentMethods.d.ts +5 -120
- package/types/PaymentMethodsResource.d.ts +12 -167
- package/types/Payouts.d.ts +0 -5
- package/types/PayoutsResource.d.ts +0 -5
- package/types/Persons.d.ts +88 -1
- 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 +10 -14
- package/types/SetupAttempts.d.ts +1 -50
- package/types/SetupIntents.d.ts +2 -121
- package/types/SetupIntentsResource.d.ts +18 -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 +2 -97
- package/types/SubscriptionsResource.d.ts +11 -391
- package/types/Tax/Calculations.d.ts +11 -1
- package/types/Tax/CalculationsResource.d.ts +11 -1
- package/types/Tax/Registrations.d.ts +99 -0
- package/types/Tax/RegistrationsResource.d.ts +132 -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 +12 -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/TokensResource.d.ts +106 -0
- 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/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 -83
- package/types/index.d.ts +5 -142
- 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/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/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 -85
- 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/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/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 -1686
- 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/EventTypes.d.ts
CHANGED
|
@@ -9,13 +9,10 @@ declare module 'stripe' {
|
|
|
9
9
|
| AccountExternalAccountDeletedEvent
|
|
10
10
|
| AccountExternalAccountUpdatedEvent
|
|
11
11
|
| AccountUpdatedEvent
|
|
12
|
-
| AccountNoticeCreatedEvent
|
|
13
|
-
| AccountNoticeUpdatedEvent
|
|
14
12
|
| ApplicationFeeCreatedEvent
|
|
15
13
|
| ApplicationFeeRefundUpdatedEvent
|
|
16
14
|
| ApplicationFeeRefundedEvent
|
|
17
15
|
| BalanceAvailableEvent
|
|
18
|
-
| BalanceSettingsUpdatedEvent
|
|
19
16
|
| BillingAlertTriggeredEvent
|
|
20
17
|
| BillingCreditBalanceTransactionCreatedEvent
|
|
21
18
|
| BillingCreditGrantCreatedEvent
|
|
@@ -24,20 +21,10 @@ declare module 'stripe' {
|
|
|
24
21
|
| BillingMeterDeactivatedEvent
|
|
25
22
|
| BillingMeterReactivatedEvent
|
|
26
23
|
| BillingMeterUpdatedEvent
|
|
27
|
-
| BillingMeterErrorReportTriggeredEvent
|
|
28
24
|
| BillingPortalConfigurationCreatedEvent
|
|
29
25
|
| BillingPortalConfigurationUpdatedEvent
|
|
30
26
|
| BillingPortalSessionCreatedEvent
|
|
31
27
|
| CapabilityUpdatedEvent
|
|
32
|
-
| CapitalFinancingOfferAcceptedEvent
|
|
33
|
-
| CapitalFinancingOfferCanceledEvent
|
|
34
|
-
| CapitalFinancingOfferCreatedEvent
|
|
35
|
-
| CapitalFinancingOfferExpiredEvent
|
|
36
|
-
| CapitalFinancingOfferFullyRepaidEvent
|
|
37
|
-
| CapitalFinancingOfferPaidOutEvent
|
|
38
|
-
| CapitalFinancingOfferRejectedEvent
|
|
39
|
-
| CapitalFinancingOfferReplacementCreatedEvent
|
|
40
|
-
| CapitalFinancingTransactionCreatedEvent
|
|
41
28
|
| CashBalanceFundsAvailableEvent
|
|
42
29
|
| ChargeCapturedEvent
|
|
43
30
|
| ChargeDisputeClosedEvent
|
|
@@ -78,15 +65,11 @@ declare module 'stripe' {
|
|
|
78
65
|
| CustomerSourceDeletedEvent
|
|
79
66
|
| CustomerSourceExpiringEvent
|
|
80
67
|
| CustomerSourceUpdatedEvent
|
|
81
|
-
| CustomerSubscriptionCollectionPausedEvent
|
|
82
|
-
| CustomerSubscriptionCollectionResumedEvent
|
|
83
68
|
| CustomerSubscriptionCreatedEvent
|
|
84
|
-
| CustomerSubscriptionCustomEventEvent
|
|
85
69
|
| CustomerSubscriptionDeletedEvent
|
|
86
70
|
| CustomerSubscriptionPausedEvent
|
|
87
71
|
| CustomerSubscriptionPendingUpdateAppliedEvent
|
|
88
72
|
| CustomerSubscriptionPendingUpdateExpiredEvent
|
|
89
|
-
| CustomerSubscriptionPriceMigrationFailedEvent
|
|
90
73
|
| CustomerSubscriptionResumedEvent
|
|
91
74
|
| CustomerSubscriptionTrialWillEndEvent
|
|
92
75
|
| CustomerSubscriptionUpdatedEvent
|
|
@@ -102,10 +85,8 @@ declare module 'stripe' {
|
|
|
102
85
|
| FinancialConnectionsAccountDisconnectedEvent
|
|
103
86
|
| FinancialConnectionsAccountReactivatedEvent
|
|
104
87
|
| FinancialConnectionsAccountRefreshedBalanceEvent
|
|
105
|
-
| FinancialConnectionsAccountRefreshedInferredBalancesEvent
|
|
106
88
|
| FinancialConnectionsAccountRefreshedOwnershipEvent
|
|
107
89
|
| FinancialConnectionsAccountRefreshedTransactionsEvent
|
|
108
|
-
| FinancialConnectionsSessionUpdatedEvent
|
|
109
90
|
| IdentityVerificationSessionCanceledEvent
|
|
110
91
|
| IdentityVerificationSessionCreatedEvent
|
|
111
92
|
| IdentityVerificationSessionProcessingEvent
|
|
@@ -120,9 +101,7 @@ declare module 'stripe' {
|
|
|
120
101
|
| InvoiceOverdueEvent
|
|
121
102
|
| InvoiceOverpaidEvent
|
|
122
103
|
| InvoicePaidEvent
|
|
123
|
-
| InvoicePaymentOverpaidEvent
|
|
124
104
|
| InvoicePaymentActionRequiredEvent
|
|
125
|
-
| InvoicePaymentAttemptRequiredEvent
|
|
126
105
|
| InvoicePaymentFailedEvent
|
|
127
106
|
| InvoicePaymentSucceededEvent
|
|
128
107
|
| InvoiceSentEvent
|
|
@@ -145,15 +124,10 @@ declare module 'stripe' {
|
|
|
145
124
|
| IssuingDisputeFundsRescindedEvent
|
|
146
125
|
| IssuingDisputeSubmittedEvent
|
|
147
126
|
| IssuingDisputeUpdatedEvent
|
|
148
|
-
| IssuingDisputeSettlementDetailCreatedEvent
|
|
149
|
-
| IssuingDisputeSettlementDetailUpdatedEvent
|
|
150
|
-
| IssuingFraudLiabilityDebitCreatedEvent
|
|
151
127
|
| IssuingPersonalizationDesignActivatedEvent
|
|
152
128
|
| IssuingPersonalizationDesignDeactivatedEvent
|
|
153
129
|
| IssuingPersonalizationDesignRejectedEvent
|
|
154
130
|
| IssuingPersonalizationDesignUpdatedEvent
|
|
155
|
-
| IssuingSettlementCreatedEvent
|
|
156
|
-
| IssuingSettlementUpdatedEvent
|
|
157
131
|
| IssuingTokenCreatedEvent
|
|
158
132
|
| IssuingTokenUpdatedEvent
|
|
159
133
|
| IssuingTransactionCreatedEvent
|
|
@@ -189,26 +163,15 @@ declare module 'stripe' {
|
|
|
189
163
|
| PriceCreatedEvent
|
|
190
164
|
| PriceDeletedEvent
|
|
191
165
|
| PriceUpdatedEvent
|
|
192
|
-
| PrivacyRedactionJobCanceledEvent
|
|
193
|
-
| PrivacyRedactionJobCreatedEvent
|
|
194
|
-
| PrivacyRedactionJobReadyEvent
|
|
195
|
-
| PrivacyRedactionJobSucceededEvent
|
|
196
|
-
| PrivacyRedactionJobValidationErrorEvent
|
|
197
166
|
| ProductCreatedEvent
|
|
198
167
|
| ProductDeletedEvent
|
|
199
168
|
| ProductUpdatedEvent
|
|
200
169
|
| PromotionCodeCreatedEvent
|
|
201
170
|
| PromotionCodeUpdatedEvent
|
|
202
|
-
| QuoteAcceptFailedEvent
|
|
203
171
|
| QuoteAcceptedEvent
|
|
204
|
-
| QuoteAcceptingEvent
|
|
205
172
|
| QuoteCanceledEvent
|
|
206
173
|
| QuoteCreatedEvent
|
|
207
|
-
| QuoteDraftEvent
|
|
208
174
|
| QuoteFinalizedEvent
|
|
209
|
-
| QuoteReestimateFailedEvent
|
|
210
|
-
| QuoteReestimatedEvent
|
|
211
|
-
| QuoteStaleEvent
|
|
212
175
|
| RadarEarlyFraudWarningCreatedEvent
|
|
213
176
|
| RadarEarlyFraudWarningUpdatedEvent
|
|
214
177
|
| RefundCreatedEvent
|
|
@@ -237,16 +200,13 @@ declare module 'stripe' {
|
|
|
237
200
|
| SubscriptionScheduleCompletedEvent
|
|
238
201
|
| SubscriptionScheduleCreatedEvent
|
|
239
202
|
| SubscriptionScheduleExpiringEvent
|
|
240
|
-
| SubscriptionSchedulePriceMigrationFailedEvent
|
|
241
203
|
| SubscriptionScheduleReleasedEvent
|
|
242
204
|
| SubscriptionScheduleUpdatedEvent
|
|
243
|
-
| TaxFormUpdatedEvent
|
|
244
205
|
| TaxSettingsUpdatedEvent
|
|
245
206
|
| TaxRateCreatedEvent
|
|
246
207
|
| TaxRateUpdatedEvent
|
|
247
208
|
| TerminalReaderActionFailedEvent
|
|
248
209
|
| TerminalReaderActionSucceededEvent
|
|
249
|
-
| TerminalReaderActionUpdatedEvent
|
|
250
210
|
| TestHelpersTestClockAdvancingEvent
|
|
251
211
|
| TestHelpersTestClockCreatedEvent
|
|
252
212
|
| TestHelpersTestClockDeletedEvent
|
|
@@ -389,38 +349,6 @@ declare module 'stripe' {
|
|
|
389
349
|
}
|
|
390
350
|
}
|
|
391
351
|
|
|
392
|
-
/**
|
|
393
|
-
* Occurs whenever an AccountNotice is created.
|
|
394
|
-
*/
|
|
395
|
-
interface AccountNoticeCreatedEvent extends EventBase {
|
|
396
|
-
type: 'account_notice.created';
|
|
397
|
-
data: AccountNoticeCreatedEvent.Data;
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
namespace AccountNoticeCreatedEvent {
|
|
401
|
-
interface Data extends Stripe.Event.Data {
|
|
402
|
-
object: Stripe.AccountNotice;
|
|
403
|
-
|
|
404
|
-
previous_attributes?: Partial<Stripe.AccountNotice>;
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* Occurs whenever an AccountNotice is updated.
|
|
410
|
-
*/
|
|
411
|
-
interface AccountNoticeUpdatedEvent extends EventBase {
|
|
412
|
-
type: 'account_notice.updated';
|
|
413
|
-
data: AccountNoticeUpdatedEvent.Data;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
namespace AccountNoticeUpdatedEvent {
|
|
417
|
-
interface Data extends Stripe.Event.Data {
|
|
418
|
-
object: Stripe.AccountNotice;
|
|
419
|
-
|
|
420
|
-
previous_attributes?: Partial<Stripe.AccountNotice>;
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
|
|
424
352
|
/**
|
|
425
353
|
* Occurs whenever an application fee is created on a charge.
|
|
426
354
|
*/
|
|
@@ -485,22 +413,6 @@ declare module 'stripe' {
|
|
|
485
413
|
}
|
|
486
414
|
}
|
|
487
415
|
|
|
488
|
-
/**
|
|
489
|
-
* Occurs whenever a balance settings status or property has changed.
|
|
490
|
-
*/
|
|
491
|
-
interface BalanceSettingsUpdatedEvent extends EventBase {
|
|
492
|
-
type: 'balance_settings.updated';
|
|
493
|
-
data: BalanceSettingsUpdatedEvent.Data;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
namespace BalanceSettingsUpdatedEvent {
|
|
497
|
-
interface Data extends Stripe.Event.Data {
|
|
498
|
-
object: Stripe.BalanceSettings;
|
|
499
|
-
|
|
500
|
-
previous_attributes?: Partial<Stripe.BalanceSettings>;
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
|
|
504
416
|
/**
|
|
505
417
|
* Occurs whenever your custom alert threshold is met.
|
|
506
418
|
*/
|
|
@@ -629,22 +541,6 @@ declare module 'stripe' {
|
|
|
629
541
|
}
|
|
630
542
|
}
|
|
631
543
|
|
|
632
|
-
/**
|
|
633
|
-
* Notifies of errors on a billing meter
|
|
634
|
-
*/
|
|
635
|
-
interface BillingMeterErrorReportTriggeredEvent extends EventBase {
|
|
636
|
-
type: 'billing.meter_error_report.triggered';
|
|
637
|
-
data: BillingMeterErrorReportTriggeredEvent.Data;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
namespace BillingMeterErrorReportTriggeredEvent {
|
|
641
|
-
interface Data extends Stripe.Event.Data {
|
|
642
|
-
object: Stripe.Billing.MeterErrorReport;
|
|
643
|
-
|
|
644
|
-
previous_attributes?: Partial<Stripe.Billing.MeterErrorReport>;
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
|
|
648
544
|
/**
|
|
649
545
|
* Occurs whenever a portal configuration is created.
|
|
650
546
|
*/
|
|
@@ -709,150 +605,6 @@ declare module 'stripe' {
|
|
|
709
605
|
}
|
|
710
606
|
}
|
|
711
607
|
|
|
712
|
-
/**
|
|
713
|
-
* Occurs whenever a connected account accepts a financing offer.
|
|
714
|
-
*/
|
|
715
|
-
interface CapitalFinancingOfferAcceptedEvent extends EventBase {
|
|
716
|
-
type: 'capital.financing_offer.accepted';
|
|
717
|
-
data: CapitalFinancingOfferAcceptedEvent.Data;
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
namespace CapitalFinancingOfferAcceptedEvent {
|
|
721
|
-
interface Data extends Stripe.Event.Data {
|
|
722
|
-
object: Stripe.Capital.FinancingOffer;
|
|
723
|
-
|
|
724
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
/**
|
|
729
|
-
* Occurs whenever a financing offer is canceled.
|
|
730
|
-
*/
|
|
731
|
-
interface CapitalFinancingOfferCanceledEvent extends EventBase {
|
|
732
|
-
type: 'capital.financing_offer.canceled';
|
|
733
|
-
data: CapitalFinancingOfferCanceledEvent.Data;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
namespace CapitalFinancingOfferCanceledEvent {
|
|
737
|
-
interface Data extends Stripe.Event.Data {
|
|
738
|
-
object: Stripe.Capital.FinancingOffer;
|
|
739
|
-
|
|
740
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
/**
|
|
745
|
-
* Occurs whenever a new financing offer is created for a connected account.
|
|
746
|
-
*/
|
|
747
|
-
interface CapitalFinancingOfferCreatedEvent extends EventBase {
|
|
748
|
-
type: 'capital.financing_offer.created';
|
|
749
|
-
data: CapitalFinancingOfferCreatedEvent.Data;
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
namespace CapitalFinancingOfferCreatedEvent {
|
|
753
|
-
interface Data extends Stripe.Event.Data {
|
|
754
|
-
object: Stripe.Capital.FinancingOffer;
|
|
755
|
-
|
|
756
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
/**
|
|
761
|
-
* Occurs whenever a financing offer expires.
|
|
762
|
-
*/
|
|
763
|
-
interface CapitalFinancingOfferExpiredEvent extends EventBase {
|
|
764
|
-
type: 'capital.financing_offer.expired';
|
|
765
|
-
data: CapitalFinancingOfferExpiredEvent.Data;
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
namespace CapitalFinancingOfferExpiredEvent {
|
|
769
|
-
interface Data extends Stripe.Event.Data {
|
|
770
|
-
object: Stripe.Capital.FinancingOffer;
|
|
771
|
-
|
|
772
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
/**
|
|
777
|
-
* Occurs whenever a financing offer is fully repaid.
|
|
778
|
-
*/
|
|
779
|
-
interface CapitalFinancingOfferFullyRepaidEvent extends EventBase {
|
|
780
|
-
type: 'capital.financing_offer.fully_repaid';
|
|
781
|
-
data: CapitalFinancingOfferFullyRepaidEvent.Data;
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
namespace CapitalFinancingOfferFullyRepaidEvent {
|
|
785
|
-
interface Data extends Stripe.Event.Data {
|
|
786
|
-
object: Stripe.Capital.FinancingOffer;
|
|
787
|
-
|
|
788
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
/**
|
|
793
|
-
* Occurs whenever a financing offer is paid out.
|
|
794
|
-
*/
|
|
795
|
-
interface CapitalFinancingOfferPaidOutEvent extends EventBase {
|
|
796
|
-
type: 'capital.financing_offer.paid_out';
|
|
797
|
-
data: CapitalFinancingOfferPaidOutEvent.Data;
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
namespace CapitalFinancingOfferPaidOutEvent {
|
|
801
|
-
interface Data extends Stripe.Event.Data {
|
|
802
|
-
object: Stripe.Capital.FinancingOffer;
|
|
803
|
-
|
|
804
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
/**
|
|
809
|
-
* Occurs whenever a financing offer is rejected.
|
|
810
|
-
*/
|
|
811
|
-
interface CapitalFinancingOfferRejectedEvent extends EventBase {
|
|
812
|
-
type: 'capital.financing_offer.rejected';
|
|
813
|
-
data: CapitalFinancingOfferRejectedEvent.Data;
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
namespace CapitalFinancingOfferRejectedEvent {
|
|
817
|
-
interface Data extends Stripe.Event.Data {
|
|
818
|
-
object: Stripe.Capital.FinancingOffer;
|
|
819
|
-
|
|
820
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
/**
|
|
825
|
-
* Occurs whenever a replacement for a financing offer has been created. More details can be [found here](https://docs.stripe.com/capital/replacements).
|
|
826
|
-
*/
|
|
827
|
-
interface CapitalFinancingOfferReplacementCreatedEvent extends EventBase {
|
|
828
|
-
type: 'capital.financing_offer.replacement_created';
|
|
829
|
-
data: CapitalFinancingOfferReplacementCreatedEvent.Data;
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
namespace CapitalFinancingOfferReplacementCreatedEvent {
|
|
833
|
-
interface Data extends Stripe.Event.Data {
|
|
834
|
-
object: Stripe.Capital.FinancingOffer;
|
|
835
|
-
|
|
836
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
/**
|
|
841
|
-
* Occurs whenever a financing transaction is created.
|
|
842
|
-
*/
|
|
843
|
-
interface CapitalFinancingTransactionCreatedEvent extends EventBase {
|
|
844
|
-
type: 'capital.financing_transaction.created';
|
|
845
|
-
data: CapitalFinancingTransactionCreatedEvent.Data;
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
namespace CapitalFinancingTransactionCreatedEvent {
|
|
849
|
-
interface Data extends Stripe.Event.Data {
|
|
850
|
-
object: Stripe.Capital.FinancingTransaction;
|
|
851
|
-
|
|
852
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingTransaction>;
|
|
853
|
-
}
|
|
854
|
-
}
|
|
855
|
-
|
|
856
608
|
/**
|
|
857
609
|
* Occurs whenever there is a positive remaining cash balance after Stripe automatically reconciles new funds into the cash balance. If you enabled manual reconciliation, this webhook will fire whenever there are new funds into the cash balance.
|
|
858
610
|
*/
|
|
@@ -1493,38 +1245,6 @@ declare module 'stripe' {
|
|
|
1493
1245
|
}
|
|
1494
1246
|
}
|
|
1495
1247
|
|
|
1496
|
-
/**
|
|
1497
|
-
* Occurs whenever collection is paused on a customer's subscription. Only applies when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is paused, not when subscriptions enter `status=paused`.
|
|
1498
|
-
*/
|
|
1499
|
-
interface CustomerSubscriptionCollectionPausedEvent extends EventBase {
|
|
1500
|
-
type: 'customer.subscription.collection_paused';
|
|
1501
|
-
data: CustomerSubscriptionCollectionPausedEvent.Data;
|
|
1502
|
-
}
|
|
1503
|
-
|
|
1504
|
-
namespace CustomerSubscriptionCollectionPausedEvent {
|
|
1505
|
-
interface Data extends Stripe.Event.Data {
|
|
1506
|
-
object: Stripe.Subscription;
|
|
1507
|
-
|
|
1508
|
-
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1509
|
-
}
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
/**
|
|
1513
|
-
* Occurs whenever collection is resumed on a customer's subscription that is currently paused. Only applies when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is resumed, not when subscriptions exit `status=paused`.
|
|
1514
|
-
*/
|
|
1515
|
-
interface CustomerSubscriptionCollectionResumedEvent extends EventBase {
|
|
1516
|
-
type: 'customer.subscription.collection_resumed';
|
|
1517
|
-
data: CustomerSubscriptionCollectionResumedEvent.Data;
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
namespace CustomerSubscriptionCollectionResumedEvent {
|
|
1521
|
-
interface Data extends Stripe.Event.Data {
|
|
1522
|
-
object: Stripe.Subscription;
|
|
1523
|
-
|
|
1524
|
-
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1525
|
-
}
|
|
1526
|
-
}
|
|
1527
|
-
|
|
1528
1248
|
/**
|
|
1529
1249
|
* Occurs whenever a customer is signed up for a new plan.
|
|
1530
1250
|
*/
|
|
@@ -1541,22 +1261,6 @@ declare module 'stripe' {
|
|
|
1541
1261
|
}
|
|
1542
1262
|
}
|
|
1543
1263
|
|
|
1544
|
-
/**
|
|
1545
|
-
* An ad-hoc custom event that is sent based on user configured [Automation](https://docs.stripe.com/billing/automations#send-custom-webhook-event-action).
|
|
1546
|
-
*/
|
|
1547
|
-
interface CustomerSubscriptionCustomEventEvent extends EventBase {
|
|
1548
|
-
type: 'customer.subscription.custom_event';
|
|
1549
|
-
data: CustomerSubscriptionCustomEventEvent.Data;
|
|
1550
|
-
}
|
|
1551
|
-
|
|
1552
|
-
namespace CustomerSubscriptionCustomEventEvent {
|
|
1553
|
-
interface Data extends Stripe.Event.Data {
|
|
1554
|
-
object: Stripe.Subscription;
|
|
1555
|
-
|
|
1556
|
-
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1557
|
-
}
|
|
1558
|
-
}
|
|
1559
|
-
|
|
1560
1264
|
/**
|
|
1561
1265
|
* Occurs whenever a customer's subscription ends.
|
|
1562
1266
|
*/
|
|
@@ -1621,22 +1325,6 @@ declare module 'stripe' {
|
|
|
1621
1325
|
}
|
|
1622
1326
|
}
|
|
1623
1327
|
|
|
1624
|
-
/**
|
|
1625
|
-
* Occurs whenever a price migration failed to transition prices on a subscription.
|
|
1626
|
-
*/
|
|
1627
|
-
interface CustomerSubscriptionPriceMigrationFailedEvent extends EventBase {
|
|
1628
|
-
type: 'customer.subscription.price_migration_failed';
|
|
1629
|
-
data: CustomerSubscriptionPriceMigrationFailedEvent.Data;
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
namespace CustomerSubscriptionPriceMigrationFailedEvent {
|
|
1633
|
-
interface Data extends Stripe.Event.Data {
|
|
1634
|
-
object: Stripe.Subscription;
|
|
1635
|
-
|
|
1636
|
-
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
1328
|
/**
|
|
1641
1329
|
* Occurs whenever a customer's subscription is no longer paused. Only applies when a `status=paused` subscription is [resumed](https://docs.stripe.com/api/subscriptions/resume), not when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is resumed.
|
|
1642
1330
|
*/
|
|
@@ -1881,23 +1569,6 @@ declare module 'stripe' {
|
|
|
1881
1569
|
}
|
|
1882
1570
|
}
|
|
1883
1571
|
|
|
1884
|
-
/**
|
|
1885
|
-
* Occurs when an Account’s `inferred_balances_refresh` status transitions from `pending` to either `succeeded` or `failed`.
|
|
1886
|
-
*/
|
|
1887
|
-
interface FinancialConnectionsAccountRefreshedInferredBalancesEvent
|
|
1888
|
-
extends EventBase {
|
|
1889
|
-
type: 'financial_connections.account.refreshed_inferred_balances';
|
|
1890
|
-
data: FinancialConnectionsAccountRefreshedInferredBalancesEvent.Data;
|
|
1891
|
-
}
|
|
1892
|
-
|
|
1893
|
-
namespace FinancialConnectionsAccountRefreshedInferredBalancesEvent {
|
|
1894
|
-
interface Data extends Stripe.Event.Data {
|
|
1895
|
-
object: Stripe.FinancialConnections.Account;
|
|
1896
|
-
|
|
1897
|
-
previous_attributes?: Partial<Stripe.FinancialConnections.Account>;
|
|
1898
|
-
}
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1901
1572
|
/**
|
|
1902
1573
|
* Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
|
|
1903
1574
|
*/
|
|
@@ -1932,22 +1603,6 @@ declare module 'stripe' {
|
|
|
1932
1603
|
}
|
|
1933
1604
|
}
|
|
1934
1605
|
|
|
1935
|
-
/**
|
|
1936
|
-
* Occurs when a Financial Connections Session `status` transitions from `pending` to `failed`, `cancelled`, or `completed`.
|
|
1937
|
-
*/
|
|
1938
|
-
interface FinancialConnectionsSessionUpdatedEvent extends EventBase {
|
|
1939
|
-
type: 'financial_connections.session.updated';
|
|
1940
|
-
data: FinancialConnectionsSessionUpdatedEvent.Data;
|
|
1941
|
-
}
|
|
1942
|
-
|
|
1943
|
-
namespace FinancialConnectionsSessionUpdatedEvent {
|
|
1944
|
-
interface Data extends Stripe.Event.Data {
|
|
1945
|
-
object: Stripe.FinancialConnections.Session;
|
|
1946
|
-
|
|
1947
|
-
previous_attributes?: Partial<Stripe.FinancialConnections.Session>;
|
|
1948
|
-
}
|
|
1949
|
-
}
|
|
1950
|
-
|
|
1951
1606
|
/**
|
|
1952
1607
|
* Occurs whenever a VerificationSession is canceled
|
|
1953
1608
|
*/
|
|
@@ -2172,22 +1827,6 @@ declare module 'stripe' {
|
|
|
2172
1827
|
}
|
|
2173
1828
|
}
|
|
2174
1829
|
|
|
2175
|
-
/**
|
|
2176
|
-
* Occurs when an InvoicePayment transitions to paid with a non-zero amount_overpaid.
|
|
2177
|
-
*/
|
|
2178
|
-
interface InvoicePaymentOverpaidEvent extends EventBase {
|
|
2179
|
-
type: 'invoice.payment.overpaid';
|
|
2180
|
-
data: InvoicePaymentOverpaidEvent.Data;
|
|
2181
|
-
}
|
|
2182
|
-
|
|
2183
|
-
namespace InvoicePaymentOverpaidEvent {
|
|
2184
|
-
interface Data extends Stripe.Event.Data {
|
|
2185
|
-
object: Stripe.InvoicePayment;
|
|
2186
|
-
|
|
2187
|
-
previous_attributes?: Partial<Stripe.InvoicePayment>;
|
|
2188
|
-
}
|
|
2189
|
-
}
|
|
2190
|
-
|
|
2191
1830
|
/**
|
|
2192
1831
|
* Occurs whenever an invoice payment attempt requires further user action to complete.
|
|
2193
1832
|
*/
|
|
@@ -2204,22 +1843,6 @@ declare module 'stripe' {
|
|
|
2204
1843
|
}
|
|
2205
1844
|
}
|
|
2206
1845
|
|
|
2207
|
-
/**
|
|
2208
|
-
* Occurs when an invoice requires a payment using a payment method that cannot be processed by Stripe.
|
|
2209
|
-
*/
|
|
2210
|
-
interface InvoicePaymentAttemptRequiredEvent extends EventBase {
|
|
2211
|
-
type: 'invoice.payment_attempt_required';
|
|
2212
|
-
data: InvoicePaymentAttemptRequiredEvent.Data;
|
|
2213
|
-
}
|
|
2214
|
-
|
|
2215
|
-
namespace InvoicePaymentAttemptRequiredEvent {
|
|
2216
|
-
interface Data extends Stripe.Event.Data {
|
|
2217
|
-
object: Stripe.Invoice;
|
|
2218
|
-
|
|
2219
|
-
previous_attributes?: Partial<Stripe.Invoice>;
|
|
2220
|
-
}
|
|
2221
|
-
}
|
|
2222
|
-
|
|
2223
1846
|
/**
|
|
2224
1847
|
* Occurs whenever an invoice payment attempt fails, due to either a declined payment, including soft decline, or to the lack of a stored payment method.
|
|
2225
1848
|
*/
|
|
@@ -2572,54 +2195,6 @@ declare module 'stripe' {
|
|
|
2572
2195
|
}
|
|
2573
2196
|
}
|
|
2574
2197
|
|
|
2575
|
-
/**
|
|
2576
|
-
* Emitted when the DisputeSettlementDetail object is created
|
|
2577
|
-
*/
|
|
2578
|
-
interface IssuingDisputeSettlementDetailCreatedEvent extends EventBase {
|
|
2579
|
-
type: 'issuing_dispute_settlement_detail.created';
|
|
2580
|
-
data: IssuingDisputeSettlementDetailCreatedEvent.Data;
|
|
2581
|
-
}
|
|
2582
|
-
|
|
2583
|
-
namespace IssuingDisputeSettlementDetailCreatedEvent {
|
|
2584
|
-
interface Data extends Stripe.Event.Data {
|
|
2585
|
-
object: Stripe.Issuing.DisputeSettlementDetail;
|
|
2586
|
-
|
|
2587
|
-
previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
|
|
2588
|
-
}
|
|
2589
|
-
}
|
|
2590
|
-
|
|
2591
|
-
/**
|
|
2592
|
-
* Emitted when the DisputeSettlementDetail object is updated
|
|
2593
|
-
*/
|
|
2594
|
-
interface IssuingDisputeSettlementDetailUpdatedEvent extends EventBase {
|
|
2595
|
-
type: 'issuing_dispute_settlement_detail.updated';
|
|
2596
|
-
data: IssuingDisputeSettlementDetailUpdatedEvent.Data;
|
|
2597
|
-
}
|
|
2598
|
-
|
|
2599
|
-
namespace IssuingDisputeSettlementDetailUpdatedEvent {
|
|
2600
|
-
interface Data extends Stripe.Event.Data {
|
|
2601
|
-
object: Stripe.Issuing.DisputeSettlementDetail;
|
|
2602
|
-
|
|
2603
|
-
previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
|
|
2604
|
-
}
|
|
2605
|
-
}
|
|
2606
|
-
|
|
2607
|
-
/**
|
|
2608
|
-
* Occurs whenever funds are deducted from your account for fraud dispute loss liability.
|
|
2609
|
-
*/
|
|
2610
|
-
interface IssuingFraudLiabilityDebitCreatedEvent extends EventBase {
|
|
2611
|
-
type: 'issuing_fraud_liability_debit.created';
|
|
2612
|
-
data: IssuingFraudLiabilityDebitCreatedEvent.Data;
|
|
2613
|
-
}
|
|
2614
|
-
|
|
2615
|
-
namespace IssuingFraudLiabilityDebitCreatedEvent {
|
|
2616
|
-
interface Data extends Stripe.Event.Data {
|
|
2617
|
-
object: Stripe.Issuing.FraudLiabilityDebit;
|
|
2618
|
-
|
|
2619
|
-
previous_attributes?: Partial<Stripe.Issuing.FraudLiabilityDebit>;
|
|
2620
|
-
}
|
|
2621
|
-
}
|
|
2622
|
-
|
|
2623
2198
|
/**
|
|
2624
2199
|
* Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.
|
|
2625
2200
|
*/
|
|
@@ -2684,38 +2259,6 @@ declare module 'stripe' {
|
|
|
2684
2259
|
}
|
|
2685
2260
|
}
|
|
2686
2261
|
|
|
2687
|
-
/**
|
|
2688
|
-
* Occurs whenever an issuing settlement is created.
|
|
2689
|
-
*/
|
|
2690
|
-
interface IssuingSettlementCreatedEvent extends EventBase {
|
|
2691
|
-
type: 'issuing_settlement.created';
|
|
2692
|
-
data: IssuingSettlementCreatedEvent.Data;
|
|
2693
|
-
}
|
|
2694
|
-
|
|
2695
|
-
namespace IssuingSettlementCreatedEvent {
|
|
2696
|
-
interface Data extends Stripe.Event.Data {
|
|
2697
|
-
object: Stripe.Issuing.Settlement;
|
|
2698
|
-
|
|
2699
|
-
previous_attributes?: Partial<Stripe.Issuing.Settlement>;
|
|
2700
|
-
}
|
|
2701
|
-
}
|
|
2702
|
-
|
|
2703
|
-
/**
|
|
2704
|
-
* Occurs whenever an issuing settlement is updated.
|
|
2705
|
-
*/
|
|
2706
|
-
interface IssuingSettlementUpdatedEvent extends EventBase {
|
|
2707
|
-
type: 'issuing_settlement.updated';
|
|
2708
|
-
data: IssuingSettlementUpdatedEvent.Data;
|
|
2709
|
-
}
|
|
2710
|
-
|
|
2711
|
-
namespace IssuingSettlementUpdatedEvent {
|
|
2712
|
-
interface Data extends Stripe.Event.Data {
|
|
2713
|
-
object: Stripe.Issuing.Settlement;
|
|
2714
|
-
|
|
2715
|
-
previous_attributes?: Partial<Stripe.Issuing.Settlement>;
|
|
2716
|
-
}
|
|
2717
|
-
}
|
|
2718
|
-
|
|
2719
2262
|
/**
|
|
2720
2263
|
* Occurs whenever an issuing digital wallet token is created.
|
|
2721
2264
|
*/
|
|
@@ -3277,86 +2820,6 @@ declare module 'stripe' {
|
|
|
3277
2820
|
}
|
|
3278
2821
|
}
|
|
3279
2822
|
|
|
3280
|
-
/**
|
|
3281
|
-
* Occurs whenever a redaction job is canceled.
|
|
3282
|
-
*/
|
|
3283
|
-
interface PrivacyRedactionJobCanceledEvent extends EventBase {
|
|
3284
|
-
type: 'privacy.redaction_job.canceled';
|
|
3285
|
-
data: PrivacyRedactionJobCanceledEvent.Data;
|
|
3286
|
-
}
|
|
3287
|
-
|
|
3288
|
-
namespace PrivacyRedactionJobCanceledEvent {
|
|
3289
|
-
interface Data extends Stripe.Event.Data {
|
|
3290
|
-
object: Stripe.Privacy.RedactionJob;
|
|
3291
|
-
|
|
3292
|
-
previous_attributes?: Partial<Stripe.Privacy.RedactionJob>;
|
|
3293
|
-
}
|
|
3294
|
-
}
|
|
3295
|
-
|
|
3296
|
-
/**
|
|
3297
|
-
* Occurs whenever a redaction job is created.
|
|
3298
|
-
*/
|
|
3299
|
-
interface PrivacyRedactionJobCreatedEvent extends EventBase {
|
|
3300
|
-
type: 'privacy.redaction_job.created';
|
|
3301
|
-
data: PrivacyRedactionJobCreatedEvent.Data;
|
|
3302
|
-
}
|
|
3303
|
-
|
|
3304
|
-
namespace PrivacyRedactionJobCreatedEvent {
|
|
3305
|
-
interface Data extends Stripe.Event.Data {
|
|
3306
|
-
object: Stripe.Privacy.RedactionJob;
|
|
3307
|
-
|
|
3308
|
-
previous_attributes?: Partial<Stripe.Privacy.RedactionJob>;
|
|
3309
|
-
}
|
|
3310
|
-
}
|
|
3311
|
-
|
|
3312
|
-
/**
|
|
3313
|
-
* Occurs whenever a redaction job has been successfully validated and is ready to run.
|
|
3314
|
-
*/
|
|
3315
|
-
interface PrivacyRedactionJobReadyEvent extends EventBase {
|
|
3316
|
-
type: 'privacy.redaction_job.ready';
|
|
3317
|
-
data: PrivacyRedactionJobReadyEvent.Data;
|
|
3318
|
-
}
|
|
3319
|
-
|
|
3320
|
-
namespace PrivacyRedactionJobReadyEvent {
|
|
3321
|
-
interface Data extends Stripe.Event.Data {
|
|
3322
|
-
object: Stripe.Privacy.RedactionJob;
|
|
3323
|
-
|
|
3324
|
-
previous_attributes?: Partial<Stripe.Privacy.RedactionJob>;
|
|
3325
|
-
}
|
|
3326
|
-
}
|
|
3327
|
-
|
|
3328
|
-
/**
|
|
3329
|
-
* Occurs whenever a redaction job finishes running.
|
|
3330
|
-
*/
|
|
3331
|
-
interface PrivacyRedactionJobSucceededEvent extends EventBase {
|
|
3332
|
-
type: 'privacy.redaction_job.succeeded';
|
|
3333
|
-
data: PrivacyRedactionJobSucceededEvent.Data;
|
|
3334
|
-
}
|
|
3335
|
-
|
|
3336
|
-
namespace PrivacyRedactionJobSucceededEvent {
|
|
3337
|
-
interface Data extends Stripe.Event.Data {
|
|
3338
|
-
object: Stripe.Privacy.RedactionJob;
|
|
3339
|
-
|
|
3340
|
-
previous_attributes?: Partial<Stripe.Privacy.RedactionJob>;
|
|
3341
|
-
}
|
|
3342
|
-
}
|
|
3343
|
-
|
|
3344
|
-
/**
|
|
3345
|
-
* Occurs whenever a redaction job fails validation.
|
|
3346
|
-
*/
|
|
3347
|
-
interface PrivacyRedactionJobValidationErrorEvent extends EventBase {
|
|
3348
|
-
type: 'privacy.redaction_job.validation_error';
|
|
3349
|
-
data: PrivacyRedactionJobValidationErrorEvent.Data;
|
|
3350
|
-
}
|
|
3351
|
-
|
|
3352
|
-
namespace PrivacyRedactionJobValidationErrorEvent {
|
|
3353
|
-
interface Data extends Stripe.Event.Data {
|
|
3354
|
-
object: Stripe.Privacy.RedactionJob;
|
|
3355
|
-
|
|
3356
|
-
previous_attributes?: Partial<Stripe.Privacy.RedactionJob>;
|
|
3357
|
-
}
|
|
3358
|
-
}
|
|
3359
|
-
|
|
3360
2823
|
/**
|
|
3361
2824
|
* Occurs whenever a product is created.
|
|
3362
2825
|
*/
|
|
@@ -3437,22 +2900,6 @@ declare module 'stripe' {
|
|
|
3437
2900
|
}
|
|
3438
2901
|
}
|
|
3439
2902
|
|
|
3440
|
-
/**
|
|
3441
|
-
* Occurs whenever a quote acceptance fails
|
|
3442
|
-
*/
|
|
3443
|
-
interface QuoteAcceptFailedEvent extends EventBase {
|
|
3444
|
-
type: 'quote.accept_failed';
|
|
3445
|
-
data: QuoteAcceptFailedEvent.Data;
|
|
3446
|
-
}
|
|
3447
|
-
|
|
3448
|
-
namespace QuoteAcceptFailedEvent {
|
|
3449
|
-
interface Data extends Stripe.Event.Data {
|
|
3450
|
-
object: Stripe.Quote;
|
|
3451
|
-
|
|
3452
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3453
|
-
}
|
|
3454
|
-
}
|
|
3455
|
-
|
|
3456
2903
|
/**
|
|
3457
2904
|
* Occurs whenever a quote is accepted.
|
|
3458
2905
|
*/
|
|
@@ -3469,22 +2916,6 @@ declare module 'stripe' {
|
|
|
3469
2916
|
}
|
|
3470
2917
|
}
|
|
3471
2918
|
|
|
3472
|
-
/**
|
|
3473
|
-
* Occurs whenever a quote's status changes to accepting
|
|
3474
|
-
*/
|
|
3475
|
-
interface QuoteAcceptingEvent extends EventBase {
|
|
3476
|
-
type: 'quote.accepting';
|
|
3477
|
-
data: QuoteAcceptingEvent.Data;
|
|
3478
|
-
}
|
|
3479
|
-
|
|
3480
|
-
namespace QuoteAcceptingEvent {
|
|
3481
|
-
interface Data extends Stripe.Event.Data {
|
|
3482
|
-
object: Stripe.Quote;
|
|
3483
|
-
|
|
3484
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3485
|
-
}
|
|
3486
|
-
}
|
|
3487
|
-
|
|
3488
2919
|
/**
|
|
3489
2920
|
* Occurs whenever a quote is canceled.
|
|
3490
2921
|
*/
|
|
@@ -3517,22 +2948,6 @@ declare module 'stripe' {
|
|
|
3517
2948
|
}
|
|
3518
2949
|
}
|
|
3519
2950
|
|
|
3520
|
-
/**
|
|
3521
|
-
* Occurs when a quote's status changes from stale to draft
|
|
3522
|
-
*/
|
|
3523
|
-
interface QuoteDraftEvent extends EventBase {
|
|
3524
|
-
type: 'quote.draft';
|
|
3525
|
-
data: QuoteDraftEvent.Data;
|
|
3526
|
-
}
|
|
3527
|
-
|
|
3528
|
-
namespace QuoteDraftEvent {
|
|
3529
|
-
interface Data extends Stripe.Event.Data {
|
|
3530
|
-
object: Stripe.Quote;
|
|
3531
|
-
|
|
3532
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3533
|
-
}
|
|
3534
|
-
}
|
|
3535
|
-
|
|
3536
2951
|
/**
|
|
3537
2952
|
* Occurs whenever a quote is finalized.
|
|
3538
2953
|
*/
|
|
@@ -3549,54 +2964,6 @@ declare module 'stripe' {
|
|
|
3549
2964
|
}
|
|
3550
2965
|
}
|
|
3551
2966
|
|
|
3552
|
-
/**
|
|
3553
|
-
* Occurs whenever a quote reestimate fails
|
|
3554
|
-
*/
|
|
3555
|
-
interface QuoteReestimateFailedEvent extends EventBase {
|
|
3556
|
-
type: 'quote.reestimate_failed';
|
|
3557
|
-
data: QuoteReestimateFailedEvent.Data;
|
|
3558
|
-
}
|
|
3559
|
-
|
|
3560
|
-
namespace QuoteReestimateFailedEvent {
|
|
3561
|
-
interface Data extends Stripe.Event.Data {
|
|
3562
|
-
object: Stripe.Quote;
|
|
3563
|
-
|
|
3564
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3565
|
-
}
|
|
3566
|
-
}
|
|
3567
|
-
|
|
3568
|
-
/**
|
|
3569
|
-
* Occurs whenever an async job to compute preview subscription schedules/upcoming invoices for the quote has completed.
|
|
3570
|
-
*/
|
|
3571
|
-
interface QuoteReestimatedEvent extends EventBase {
|
|
3572
|
-
type: 'quote.reestimated';
|
|
3573
|
-
data: QuoteReestimatedEvent.Data;
|
|
3574
|
-
}
|
|
3575
|
-
|
|
3576
|
-
namespace QuoteReestimatedEvent {
|
|
3577
|
-
interface Data extends Stripe.Event.Data {
|
|
3578
|
-
object: Stripe.Quote;
|
|
3579
|
-
|
|
3580
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3581
|
-
}
|
|
3582
|
-
}
|
|
3583
|
-
|
|
3584
|
-
/**
|
|
3585
|
-
* Occurs whenever a quote's status changes to stale
|
|
3586
|
-
*/
|
|
3587
|
-
interface QuoteStaleEvent extends EventBase {
|
|
3588
|
-
type: 'quote.stale';
|
|
3589
|
-
data: QuoteStaleEvent.Data;
|
|
3590
|
-
}
|
|
3591
|
-
|
|
3592
|
-
namespace QuoteStaleEvent {
|
|
3593
|
-
interface Data extends Stripe.Event.Data {
|
|
3594
|
-
object: Stripe.Quote;
|
|
3595
|
-
|
|
3596
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3597
|
-
}
|
|
3598
|
-
}
|
|
3599
|
-
|
|
3600
2967
|
/**
|
|
3601
2968
|
* Occurs whenever an early fraud warning is created.
|
|
3602
2969
|
*/
|
|
@@ -4045,22 +3412,6 @@ declare module 'stripe' {
|
|
|
4045
3412
|
}
|
|
4046
3413
|
}
|
|
4047
3414
|
|
|
4048
|
-
/**
|
|
4049
|
-
* Occurs whenever a price migration failed to transition prices on a subscription schedule.
|
|
4050
|
-
*/
|
|
4051
|
-
interface SubscriptionSchedulePriceMigrationFailedEvent extends EventBase {
|
|
4052
|
-
type: 'subscription_schedule.price_migration_failed';
|
|
4053
|
-
data: SubscriptionSchedulePriceMigrationFailedEvent.Data;
|
|
4054
|
-
}
|
|
4055
|
-
|
|
4056
|
-
namespace SubscriptionSchedulePriceMigrationFailedEvent {
|
|
4057
|
-
interface Data extends Stripe.Event.Data {
|
|
4058
|
-
object: Stripe.SubscriptionSchedule;
|
|
4059
|
-
|
|
4060
|
-
previous_attributes?: Partial<Stripe.SubscriptionSchedule>;
|
|
4061
|
-
}
|
|
4062
|
-
}
|
|
4063
|
-
|
|
4064
3415
|
/**
|
|
4065
3416
|
* Occurs whenever a new subscription schedule is released.
|
|
4066
3417
|
*/
|
|
@@ -4093,22 +3444,6 @@ declare module 'stripe' {
|
|
|
4093
3444
|
}
|
|
4094
3445
|
}
|
|
4095
3446
|
|
|
4096
|
-
/**
|
|
4097
|
-
* Occurs when a tax form is updated.
|
|
4098
|
-
*/
|
|
4099
|
-
interface TaxFormUpdatedEvent extends EventBase {
|
|
4100
|
-
type: 'tax.form.updated';
|
|
4101
|
-
data: TaxFormUpdatedEvent.Data;
|
|
4102
|
-
}
|
|
4103
|
-
|
|
4104
|
-
namespace TaxFormUpdatedEvent {
|
|
4105
|
-
interface Data extends Stripe.Event.Data {
|
|
4106
|
-
object: Stripe.Tax.Form;
|
|
4107
|
-
|
|
4108
|
-
previous_attributes?: Partial<Stripe.Tax.Form>;
|
|
4109
|
-
}
|
|
4110
|
-
}
|
|
4111
|
-
|
|
4112
3447
|
/**
|
|
4113
3448
|
* Occurs whenever tax settings is updated.
|
|
4114
3449
|
*/
|
|
@@ -4189,22 +3524,6 @@ declare module 'stripe' {
|
|
|
4189
3524
|
}
|
|
4190
3525
|
}
|
|
4191
3526
|
|
|
4192
|
-
/**
|
|
4193
|
-
* Occurs whenever an action sent to a Terminal reader is updated.
|
|
4194
|
-
*/
|
|
4195
|
-
interface TerminalReaderActionUpdatedEvent extends EventBase {
|
|
4196
|
-
type: 'terminal.reader.action_updated';
|
|
4197
|
-
data: TerminalReaderActionUpdatedEvent.Data;
|
|
4198
|
-
}
|
|
4199
|
-
|
|
4200
|
-
namespace TerminalReaderActionUpdatedEvent {
|
|
4201
|
-
interface Data extends Stripe.Event.Data {
|
|
4202
|
-
object: Stripe.Terminal.Reader;
|
|
4203
|
-
|
|
4204
|
-
previous_attributes?: Partial<Stripe.Terminal.Reader>;
|
|
4205
|
-
}
|
|
4206
|
-
}
|
|
4207
|
-
|
|
4208
3527
|
/**
|
|
4209
3528
|
* Occurs whenever a test clock starts advancing.
|
|
4210
3529
|
*/
|