stripe 20.1.0 → 20.2.0-beta.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 +1544 -47
- package/OPENAPI_VERSION +1 -1
- package/README.md +1 -0
- package/VERSION +1 -1
- package/cjs/Error.js +115 -1
- package/cjs/StripeEventNotificationHandler.js +118 -0
- package/cjs/apiVersion.js +2 -3
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +12 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/ExternalAccounts.js +23 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/FxQuotes.js +15 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
- package/cjs/resources/Mandates.js +5 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentIntents.js +8 -0
- package/cjs/resources/Privacy/RedactionJobs.js +42 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/Reserve/Holds.js +14 -0
- package/cjs/resources/Reserve/Plans.js +9 -0
- package/cjs/resources/Reserve/Releases.js +17 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Subscriptions.js +4 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +17 -0
- package/cjs/resources/V2/Billing/BillSettings.js +27 -0
- package/cjs/resources/V2/Billing/Cadences.js +23 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +17 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +30 -0
- package/cjs/resources/V2/Billing/Profiles.js +19 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +33 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +37 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +29 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +16 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
- package/cjs/resources.js +98 -4
- package/cjs/stripe.core.js +5 -1
- package/esm/Error.js +100 -0
- package/esm/StripeEventNotificationHandler.js +114 -0
- package/esm/apiVersion.js +1 -2
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +9 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/ExternalAccounts.js +20 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/FxQuotes.js +12 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
- package/esm/resources/Mandates.js +5 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentIntents.js +8 -0
- package/esm/resources/Privacy/RedactionJobs.js +39 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/Reserve/Holds.js +11 -0
- package/esm/resources/Reserve/Plans.js +6 -0
- package/esm/resources/Reserve/Releases.js +14 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Subscriptions.js +4 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +14 -0
- package/esm/resources/V2/Billing/BillSettings.js +24 -0
- package/esm/resources/V2/Billing/Cadences.js +20 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +14 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +27 -0
- package/esm/resources/V2/Billing/Profiles.js +16 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +30 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +34 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +26 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +13 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
- package/esm/resources.js +89 -0
- package/esm/stripe.core.js +5 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +45 -0
- package/types/AccountSessionsResource.d.ts +264 -0
- package/types/Accounts.d.ts +225 -1
- package/types/AccountsResource.d.ts +562 -0
- package/types/BankAccounts.d.ts +2 -0
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- package/types/Billing/Analytics/MeterUsage.d.ts +31 -0
- package/types/Billing/Analytics/MeterUsageResource.d.ts +689 -0
- package/types/Billing/Analytics/MeterUsageRows.d.ts +51 -0
- package/types/Capabilities.d.ts +2 -0
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +109 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Cards.d.ts +5 -0
- package/types/Charges.d.ts +152 -0
- package/types/ChargesResource.d.ts +3855 -75
- package/types/Checkout/Sessions.d.ts +279 -2
- package/types/Checkout/SessionsResource.d.ts +362 -2
- package/types/ConfirmationTokens.d.ts +103 -0
- package/types/Coupons.d.ts +35 -0
- package/types/CouponsResource.d.ts +23 -0
- package/types/CreditNoteLineItems.d.ts +17 -0
- package/types/CustomerSessions.d.ts +41 -0
- package/types/CustomerSessionsResource.d.ts +41 -0
- package/types/CustomersResource.d.ts +7 -0
- package/types/Disputes.d.ts +40 -0
- package/types/DisputesResource.d.ts +11 -0
- package/types/Errors.d.ts +85 -0
- package/types/EventTypes.d.ts +630 -0
- package/types/Events.d.ts +96 -0
- package/types/ExternalAccountsResource.d.ts +304 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +34 -1
- package/types/FinancialConnections/AccountsResource.d.ts +35 -3
- package/types/FinancialConnections/Institutions.d.ts +98 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +49 -1
- package/types/FinancialConnections/SessionsResource.d.ts +38 -1
- package/types/FxQuotes.d.ts +155 -0
- package/types/FxQuotesResource.d.ts +130 -0
- package/types/InvoiceItems.d.ts +5 -0
- package/types/InvoiceItemsResource.d.ts +98 -0
- package/types/InvoiceLineItems.d.ts +45 -1
- package/types/Invoices.d.ts +198 -4
- package/types/InvoicesResource.d.ts +1606 -3
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
- package/types/Issuing/Settlements.d.ts +113 -0
- package/types/Issuing/Transactions.d.ts +5 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +45 -1
- package/types/Mandates.d.ts +69 -1
- package/types/MandatesResource.d.ts +31 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1163 -0
- package/types/OrdersResource.d.ts +5505 -0
- package/types/PaymentAttemptRecords.d.ts +117 -0
- package/types/PaymentIntents.d.ts +683 -3
- package/types/PaymentIntentsResource.d.ts +19095 -6508
- package/types/PaymentLinks.d.ts +5 -0
- package/types/PaymentLinksResource.d.ts +10 -0
- package/types/PaymentMethodConfigurations.d.ts +180 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
- package/types/PaymentMethods.d.ts +108 -0
- package/types/PaymentMethodsResource.d.ts +110 -0
- package/types/PaymentRecords.d.ts +117 -0
- package/types/Persons.d.ts +2 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Privacy/RedactionJobValidationErrors.d.ts +60 -0
- package/types/Privacy/RedactionJobs.d.ts +111 -0
- package/types/Privacy/RedactionJobsResource.d.ts +230 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1821 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +908 -0
- package/types/Quotes.d.ts +589 -1
- package/types/QuotesResource.d.ts +2567 -237
- package/types/Refunds.d.ts +14 -0
- package/types/Reserve/Holds.d.ts +104 -0
- package/types/Reserve/HoldsResource.d.ts +76 -0
- package/types/Reserve/Plans.d.ts +103 -0
- package/types/Reserve/PlansResource.d.ts +29 -0
- package/types/Reserve/Releases.d.ts +105 -0
- package/types/Reserve/ReleasesResource.d.ts +60 -0
- package/types/SetupAttempts.d.ts +42 -1
- package/types/SetupIntents.d.ts +138 -2
- package/types/SetupIntentsResource.d.ts +629 -3
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +26 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +200 -0
- package/types/SubscriptionSchedulesResource.d.ts +1230 -12
- package/types/Subscriptions.d.ts +257 -1
- package/types/SubscriptionsResource.d.ts +726 -2
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/Terminal/Configurations.d.ts +9 -0
- package/types/Terminal/ConfigurationsResource.d.ts +28 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +20 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +103 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/Transfers.d.ts +5 -0
- package/types/TransfersResource.d.ts +5 -0
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +5 -0
- package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/V2/Billing/BillSettingVersions.d.ts +97 -0
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/BillSettings.d.ts +120 -0
- package/types/V2/Billing/BillSettingsResource.d.ts +241 -0
- package/types/V2/Billing/Cadences.d.ts +690 -0
- package/types/V2/Billing/CadencesResource.d.ts +487 -0
- package/types/V2/Billing/CollectionSettingVersions.d.ts +318 -0
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +62 -0
- package/types/V2/Billing/CollectionSettings.d.ts +341 -0
- package/types/V2/Billing/CollectionSettingsResource.d.ts +683 -0
- package/types/V2/Billing/Profiles.d.ts +70 -0
- package/types/V2/Billing/ProfilesResource.d.ts +150 -0
- package/types/V2/Core/AccountLinks.d.ts +10 -2
- package/types/V2/Core/AccountLinksResource.d.ts +10 -2
- package/types/V2/Core/AccountTokensResource.d.ts +12 -0
- package/types/V2/Core/Accounts.d.ts +999 -84
- package/types/V2/Core/AccountsResource.d.ts +523 -2
- package/types/V2/Core/EventTypes.d.ts +1564 -9
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +194 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +121 -0
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +198 -0
- package/types/V2/EventMisc.d.ts +37 -0
- package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +46 -0
- package/types/V2/MoneyManagement/Adjustments.d.ts +122 -0
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +186 -0
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +172 -0
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +175 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +109 -0
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +250 -0
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +156 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +127 -0
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +318 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +254 -0
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +298 -0
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +291 -0
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +220 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +165 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +93 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +115 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +323 -0
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +188 -0
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +200 -0
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
- package/types/V2/MoneyManagement/Transactions.d.ts +227 -0
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +80 -0
- package/types/WebhookEndpointsResource.d.ts +76 -0
- package/types/apiVersion.d.ts +1 -2
- package/types/index.d.ts +160 -0
- package/types/lib.d.ts +10 -0
- package/types/test/typescriptTest.ts +27 -0
package/types/EventTypes.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ declare module 'stripe' {
|
|
|
9
9
|
| AccountExternalAccountDeletedEvent
|
|
10
10
|
| AccountExternalAccountUpdatedEvent
|
|
11
11
|
| AccountUpdatedEvent
|
|
12
|
+
| AccountNoticeCreatedEvent
|
|
13
|
+
| AccountNoticeUpdatedEvent
|
|
12
14
|
| ApplicationFeeCreatedEvent
|
|
13
15
|
| ApplicationFeeRefundUpdatedEvent
|
|
14
16
|
| ApplicationFeeRefundedEvent
|
|
@@ -26,6 +28,15 @@ declare module 'stripe' {
|
|
|
26
28
|
| BillingPortalConfigurationUpdatedEvent
|
|
27
29
|
| BillingPortalSessionCreatedEvent
|
|
28
30
|
| CapabilityUpdatedEvent
|
|
31
|
+
| CapitalFinancingOfferAcceptedEvent
|
|
32
|
+
| CapitalFinancingOfferCanceledEvent
|
|
33
|
+
| CapitalFinancingOfferCreatedEvent
|
|
34
|
+
| CapitalFinancingOfferExpiredEvent
|
|
35
|
+
| CapitalFinancingOfferFullyRepaidEvent
|
|
36
|
+
| CapitalFinancingOfferPaidOutEvent
|
|
37
|
+
| CapitalFinancingOfferRejectedEvent
|
|
38
|
+
| CapitalFinancingOfferReplacementCreatedEvent
|
|
39
|
+
| CapitalFinancingTransactionCreatedEvent
|
|
29
40
|
| CashBalanceFundsAvailableEvent
|
|
30
41
|
| ChargeCapturedEvent
|
|
31
42
|
| ChargeDisputeClosedEvent
|
|
@@ -66,11 +77,15 @@ declare module 'stripe' {
|
|
|
66
77
|
| CustomerSourceDeletedEvent
|
|
67
78
|
| CustomerSourceExpiringEvent
|
|
68
79
|
| CustomerSourceUpdatedEvent
|
|
80
|
+
| CustomerSubscriptionCollectionPausedEvent
|
|
81
|
+
| CustomerSubscriptionCollectionResumedEvent
|
|
69
82
|
| CustomerSubscriptionCreatedEvent
|
|
83
|
+
| CustomerSubscriptionCustomEventEvent
|
|
70
84
|
| CustomerSubscriptionDeletedEvent
|
|
71
85
|
| CustomerSubscriptionPausedEvent
|
|
72
86
|
| CustomerSubscriptionPendingUpdateAppliedEvent
|
|
73
87
|
| CustomerSubscriptionPendingUpdateExpiredEvent
|
|
88
|
+
| CustomerSubscriptionPriceMigrationFailedEvent
|
|
74
89
|
| CustomerSubscriptionResumedEvent
|
|
75
90
|
| CustomerSubscriptionTrialWillEndEvent
|
|
76
91
|
| CustomerSubscriptionUpdatedEvent
|
|
@@ -87,9 +102,12 @@ declare module 'stripe' {
|
|
|
87
102
|
| FinancialConnectionsAccountDisconnectedEvent
|
|
88
103
|
| FinancialConnectionsAccountReactivatedEvent
|
|
89
104
|
| FinancialConnectionsAccountRefreshedBalanceEvent
|
|
105
|
+
| FinancialConnectionsAccountRefreshedInferredBalancesEvent
|
|
90
106
|
| FinancialConnectionsAccountRefreshedOwnershipEvent
|
|
91
107
|
| FinancialConnectionsAccountRefreshedTransactionsEvent
|
|
92
108
|
| FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent
|
|
109
|
+
| FinancialConnectionsSessionUpdatedEvent
|
|
110
|
+
| FxQuoteExpiredEvent
|
|
93
111
|
| IdentityVerificationSessionCanceledEvent
|
|
94
112
|
| IdentityVerificationSessionCreatedEvent
|
|
95
113
|
| IdentityVerificationSessionProcessingEvent
|
|
@@ -104,6 +122,7 @@ declare module 'stripe' {
|
|
|
104
122
|
| InvoiceOverdueEvent
|
|
105
123
|
| InvoiceOverpaidEvent
|
|
106
124
|
| InvoicePaidEvent
|
|
125
|
+
| InvoicePaymentOverpaidEvent
|
|
107
126
|
| InvoicePaymentActionRequiredEvent
|
|
108
127
|
| InvoicePaymentAttemptRequiredEvent
|
|
109
128
|
| InvoicePaymentFailedEvent
|
|
@@ -129,10 +148,15 @@ declare module 'stripe' {
|
|
|
129
148
|
| IssuingDisputeFundsRescindedEvent
|
|
130
149
|
| IssuingDisputeSubmittedEvent
|
|
131
150
|
| IssuingDisputeUpdatedEvent
|
|
151
|
+
| IssuingDisputeSettlementDetailCreatedEvent
|
|
152
|
+
| IssuingDisputeSettlementDetailUpdatedEvent
|
|
153
|
+
| IssuingFraudLiabilityDebitCreatedEvent
|
|
132
154
|
| IssuingPersonalizationDesignActivatedEvent
|
|
133
155
|
| IssuingPersonalizationDesignDeactivatedEvent
|
|
134
156
|
| IssuingPersonalizationDesignRejectedEvent
|
|
135
157
|
| IssuingPersonalizationDesignUpdatedEvent
|
|
158
|
+
| IssuingSettlementCreatedEvent
|
|
159
|
+
| IssuingSettlementUpdatedEvent
|
|
136
160
|
| IssuingTokenCreatedEvent
|
|
137
161
|
| IssuingTokenUpdatedEvent
|
|
138
162
|
| IssuingTransactionCreatedEvent
|
|
@@ -168,15 +192,26 @@ declare module 'stripe' {
|
|
|
168
192
|
| PriceCreatedEvent
|
|
169
193
|
| PriceDeletedEvent
|
|
170
194
|
| PriceUpdatedEvent
|
|
195
|
+
| PrivacyRedactionJobCanceledEvent
|
|
196
|
+
| PrivacyRedactionJobCreatedEvent
|
|
197
|
+
| PrivacyRedactionJobReadyEvent
|
|
198
|
+
| PrivacyRedactionJobSucceededEvent
|
|
199
|
+
| PrivacyRedactionJobValidationErrorEvent
|
|
171
200
|
| ProductCreatedEvent
|
|
172
201
|
| ProductDeletedEvent
|
|
173
202
|
| ProductUpdatedEvent
|
|
174
203
|
| PromotionCodeCreatedEvent
|
|
175
204
|
| PromotionCodeUpdatedEvent
|
|
205
|
+
| QuoteAcceptFailedEvent
|
|
176
206
|
| QuoteAcceptedEvent
|
|
207
|
+
| QuoteAcceptingEvent
|
|
177
208
|
| QuoteCanceledEvent
|
|
178
209
|
| QuoteCreatedEvent
|
|
210
|
+
| QuoteDraftEvent
|
|
179
211
|
| QuoteFinalizedEvent
|
|
212
|
+
| QuoteReestimateFailedEvent
|
|
213
|
+
| QuoteReestimatedEvent
|
|
214
|
+
| QuoteStaleEvent
|
|
180
215
|
| RadarEarlyFraudWarningCreatedEvent
|
|
181
216
|
| RadarEarlyFraudWarningUpdatedEvent
|
|
182
217
|
| RefundCreatedEvent
|
|
@@ -205,8 +240,10 @@ declare module 'stripe' {
|
|
|
205
240
|
| SubscriptionScheduleCompletedEvent
|
|
206
241
|
| SubscriptionScheduleCreatedEvent
|
|
207
242
|
| SubscriptionScheduleExpiringEvent
|
|
243
|
+
| SubscriptionSchedulePriceMigrationFailedEvent
|
|
208
244
|
| SubscriptionScheduleReleasedEvent
|
|
209
245
|
| SubscriptionScheduleUpdatedEvent
|
|
246
|
+
| TaxFormUpdatedEvent
|
|
210
247
|
| TaxSettingsUpdatedEvent
|
|
211
248
|
| TaxRateCreatedEvent
|
|
212
249
|
| TaxRateUpdatedEvent
|
|
@@ -355,6 +392,38 @@ declare module 'stripe' {
|
|
|
355
392
|
}
|
|
356
393
|
}
|
|
357
394
|
|
|
395
|
+
/**
|
|
396
|
+
* Occurs whenever an AccountNotice is created.
|
|
397
|
+
*/
|
|
398
|
+
interface AccountNoticeCreatedEvent extends EventBase {
|
|
399
|
+
type: 'account_notice.created';
|
|
400
|
+
data: AccountNoticeCreatedEvent.Data;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
namespace AccountNoticeCreatedEvent {
|
|
404
|
+
interface Data extends Stripe.Event.Data {
|
|
405
|
+
object: Stripe.AccountNotice;
|
|
406
|
+
|
|
407
|
+
previous_attributes?: Partial<Stripe.AccountNotice>;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Occurs whenever an AccountNotice is updated.
|
|
413
|
+
*/
|
|
414
|
+
interface AccountNoticeUpdatedEvent extends EventBase {
|
|
415
|
+
type: 'account_notice.updated';
|
|
416
|
+
data: AccountNoticeUpdatedEvent.Data;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
namespace AccountNoticeUpdatedEvent {
|
|
420
|
+
interface Data extends Stripe.Event.Data {
|
|
421
|
+
object: Stripe.AccountNotice;
|
|
422
|
+
|
|
423
|
+
previous_attributes?: Partial<Stripe.AccountNotice>;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
358
427
|
/**
|
|
359
428
|
* Occurs whenever an application fee is created on a charge.
|
|
360
429
|
*/
|
|
@@ -627,6 +696,150 @@ declare module 'stripe' {
|
|
|
627
696
|
}
|
|
628
697
|
}
|
|
629
698
|
|
|
699
|
+
/**
|
|
700
|
+
* Occurs whenever a connected account accepts a financing offer.
|
|
701
|
+
*/
|
|
702
|
+
interface CapitalFinancingOfferAcceptedEvent extends EventBase {
|
|
703
|
+
type: 'capital.financing_offer.accepted';
|
|
704
|
+
data: CapitalFinancingOfferAcceptedEvent.Data;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
namespace CapitalFinancingOfferAcceptedEvent {
|
|
708
|
+
interface Data extends Stripe.Event.Data {
|
|
709
|
+
object: Stripe.Capital.FinancingOffer;
|
|
710
|
+
|
|
711
|
+
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Occurs whenever a financing offer is canceled.
|
|
717
|
+
*/
|
|
718
|
+
interface CapitalFinancingOfferCanceledEvent extends EventBase {
|
|
719
|
+
type: 'capital.financing_offer.canceled';
|
|
720
|
+
data: CapitalFinancingOfferCanceledEvent.Data;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
namespace CapitalFinancingOfferCanceledEvent {
|
|
724
|
+
interface Data extends Stripe.Event.Data {
|
|
725
|
+
object: Stripe.Capital.FinancingOffer;
|
|
726
|
+
|
|
727
|
+
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* Occurs whenever a new financing offer is created for a connected account.
|
|
733
|
+
*/
|
|
734
|
+
interface CapitalFinancingOfferCreatedEvent extends EventBase {
|
|
735
|
+
type: 'capital.financing_offer.created';
|
|
736
|
+
data: CapitalFinancingOfferCreatedEvent.Data;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
namespace CapitalFinancingOfferCreatedEvent {
|
|
740
|
+
interface Data extends Stripe.Event.Data {
|
|
741
|
+
object: Stripe.Capital.FinancingOffer;
|
|
742
|
+
|
|
743
|
+
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* Occurs whenever a financing offer expires.
|
|
749
|
+
*/
|
|
750
|
+
interface CapitalFinancingOfferExpiredEvent extends EventBase {
|
|
751
|
+
type: 'capital.financing_offer.expired';
|
|
752
|
+
data: CapitalFinancingOfferExpiredEvent.Data;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
namespace CapitalFinancingOfferExpiredEvent {
|
|
756
|
+
interface Data extends Stripe.Event.Data {
|
|
757
|
+
object: Stripe.Capital.FinancingOffer;
|
|
758
|
+
|
|
759
|
+
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Occurs whenever a financing offer is fully repaid.
|
|
765
|
+
*/
|
|
766
|
+
interface CapitalFinancingOfferFullyRepaidEvent extends EventBase {
|
|
767
|
+
type: 'capital.financing_offer.fully_repaid';
|
|
768
|
+
data: CapitalFinancingOfferFullyRepaidEvent.Data;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
namespace CapitalFinancingOfferFullyRepaidEvent {
|
|
772
|
+
interface Data extends Stripe.Event.Data {
|
|
773
|
+
object: Stripe.Capital.FinancingOffer;
|
|
774
|
+
|
|
775
|
+
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* Occurs whenever a financing offer is paid out.
|
|
781
|
+
*/
|
|
782
|
+
interface CapitalFinancingOfferPaidOutEvent extends EventBase {
|
|
783
|
+
type: 'capital.financing_offer.paid_out';
|
|
784
|
+
data: CapitalFinancingOfferPaidOutEvent.Data;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
namespace CapitalFinancingOfferPaidOutEvent {
|
|
788
|
+
interface Data extends Stripe.Event.Data {
|
|
789
|
+
object: Stripe.Capital.FinancingOffer;
|
|
790
|
+
|
|
791
|
+
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Occurs whenever a financing offer is rejected.
|
|
797
|
+
*/
|
|
798
|
+
interface CapitalFinancingOfferRejectedEvent extends EventBase {
|
|
799
|
+
type: 'capital.financing_offer.rejected';
|
|
800
|
+
data: CapitalFinancingOfferRejectedEvent.Data;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
namespace CapitalFinancingOfferRejectedEvent {
|
|
804
|
+
interface Data extends Stripe.Event.Data {
|
|
805
|
+
object: Stripe.Capital.FinancingOffer;
|
|
806
|
+
|
|
807
|
+
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Occurs whenever a replacement for a financing offer has been created. More details can be [found here](https://docs.stripe.com/capital/replacements).
|
|
813
|
+
*/
|
|
814
|
+
interface CapitalFinancingOfferReplacementCreatedEvent extends EventBase {
|
|
815
|
+
type: 'capital.financing_offer.replacement_created';
|
|
816
|
+
data: CapitalFinancingOfferReplacementCreatedEvent.Data;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
namespace CapitalFinancingOfferReplacementCreatedEvent {
|
|
820
|
+
interface Data extends Stripe.Event.Data {
|
|
821
|
+
object: Stripe.Capital.FinancingOffer;
|
|
822
|
+
|
|
823
|
+
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* Occurs whenever a financing transaction is created.
|
|
829
|
+
*/
|
|
830
|
+
interface CapitalFinancingTransactionCreatedEvent extends EventBase {
|
|
831
|
+
type: 'capital.financing_transaction.created';
|
|
832
|
+
data: CapitalFinancingTransactionCreatedEvent.Data;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
namespace CapitalFinancingTransactionCreatedEvent {
|
|
836
|
+
interface Data extends Stripe.Event.Data {
|
|
837
|
+
object: Stripe.Capital.FinancingTransaction;
|
|
838
|
+
|
|
839
|
+
previous_attributes?: Partial<Stripe.Capital.FinancingTransaction>;
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
|
|
630
843
|
/**
|
|
631
844
|
* 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.
|
|
632
845
|
*/
|
|
@@ -1267,6 +1480,38 @@ declare module 'stripe' {
|
|
|
1267
1480
|
}
|
|
1268
1481
|
}
|
|
1269
1482
|
|
|
1483
|
+
/**
|
|
1484
|
+
* 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`.
|
|
1485
|
+
*/
|
|
1486
|
+
interface CustomerSubscriptionCollectionPausedEvent extends EventBase {
|
|
1487
|
+
type: 'customer.subscription.collection_paused';
|
|
1488
|
+
data: CustomerSubscriptionCollectionPausedEvent.Data;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
namespace CustomerSubscriptionCollectionPausedEvent {
|
|
1492
|
+
interface Data extends Stripe.Event.Data {
|
|
1493
|
+
object: Stripe.Subscription;
|
|
1494
|
+
|
|
1495
|
+
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
/**
|
|
1500
|
+
* 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`.
|
|
1501
|
+
*/
|
|
1502
|
+
interface CustomerSubscriptionCollectionResumedEvent extends EventBase {
|
|
1503
|
+
type: 'customer.subscription.collection_resumed';
|
|
1504
|
+
data: CustomerSubscriptionCollectionResumedEvent.Data;
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
namespace CustomerSubscriptionCollectionResumedEvent {
|
|
1508
|
+
interface Data extends Stripe.Event.Data {
|
|
1509
|
+
object: Stripe.Subscription;
|
|
1510
|
+
|
|
1511
|
+
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1270
1515
|
/**
|
|
1271
1516
|
* Occurs whenever a customer is signed up for a new plan.
|
|
1272
1517
|
*/
|
|
@@ -1283,6 +1528,22 @@ declare module 'stripe' {
|
|
|
1283
1528
|
}
|
|
1284
1529
|
}
|
|
1285
1530
|
|
|
1531
|
+
/**
|
|
1532
|
+
* An ad-hoc custom event that is sent based on user configured [Automation](https://docs.stripe.com/billing/automations#send-custom-webhook-event-action).
|
|
1533
|
+
*/
|
|
1534
|
+
interface CustomerSubscriptionCustomEventEvent extends EventBase {
|
|
1535
|
+
type: 'customer.subscription.custom_event';
|
|
1536
|
+
data: CustomerSubscriptionCustomEventEvent.Data;
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
namespace CustomerSubscriptionCustomEventEvent {
|
|
1540
|
+
interface Data extends Stripe.Event.Data {
|
|
1541
|
+
object: Stripe.Subscription;
|
|
1542
|
+
|
|
1543
|
+
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1286
1547
|
/**
|
|
1287
1548
|
* Occurs whenever a customer's subscription ends.
|
|
1288
1549
|
*/
|
|
@@ -1347,6 +1608,22 @@ declare module 'stripe' {
|
|
|
1347
1608
|
}
|
|
1348
1609
|
}
|
|
1349
1610
|
|
|
1611
|
+
/**
|
|
1612
|
+
* Occurs whenever a price migration failed to transition prices on a subscription.
|
|
1613
|
+
*/
|
|
1614
|
+
interface CustomerSubscriptionPriceMigrationFailedEvent extends EventBase {
|
|
1615
|
+
type: 'customer.subscription.price_migration_failed';
|
|
1616
|
+
data: CustomerSubscriptionPriceMigrationFailedEvent.Data;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
namespace CustomerSubscriptionPriceMigrationFailedEvent {
|
|
1620
|
+
interface Data extends Stripe.Event.Data {
|
|
1621
|
+
object: Stripe.Subscription;
|
|
1622
|
+
|
|
1623
|
+
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1624
|
+
}
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1350
1627
|
/**
|
|
1351
1628
|
* 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.
|
|
1352
1629
|
*/
|
|
@@ -1608,6 +1885,23 @@ declare module 'stripe' {
|
|
|
1608
1885
|
}
|
|
1609
1886
|
}
|
|
1610
1887
|
|
|
1888
|
+
/**
|
|
1889
|
+
* Occurs when an Account’s `inferred_balances_refresh` status transitions from `pending` to either `succeeded` or `failed`.
|
|
1890
|
+
*/
|
|
1891
|
+
interface FinancialConnectionsAccountRefreshedInferredBalancesEvent
|
|
1892
|
+
extends EventBase {
|
|
1893
|
+
type: 'financial_connections.account.refreshed_inferred_balances';
|
|
1894
|
+
data: FinancialConnectionsAccountRefreshedInferredBalancesEvent.Data;
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
namespace FinancialConnectionsAccountRefreshedInferredBalancesEvent {
|
|
1898
|
+
interface Data extends Stripe.Event.Data {
|
|
1899
|
+
object: Stripe.FinancialConnections.Account;
|
|
1900
|
+
|
|
1901
|
+
previous_attributes?: Partial<Stripe.FinancialConnections.Account>;
|
|
1902
|
+
}
|
|
1903
|
+
}
|
|
1904
|
+
|
|
1611
1905
|
/**
|
|
1612
1906
|
* Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
|
|
1613
1907
|
*/
|
|
@@ -1659,6 +1953,38 @@ declare module 'stripe' {
|
|
|
1659
1953
|
}
|
|
1660
1954
|
}
|
|
1661
1955
|
|
|
1956
|
+
/**
|
|
1957
|
+
* Occurs when a Financial Connections Session `status` transitions from `pending` to `failed`, `cancelled`, or `completed`.
|
|
1958
|
+
*/
|
|
1959
|
+
interface FinancialConnectionsSessionUpdatedEvent extends EventBase {
|
|
1960
|
+
type: 'financial_connections.session.updated';
|
|
1961
|
+
data: FinancialConnectionsSessionUpdatedEvent.Data;
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
namespace FinancialConnectionsSessionUpdatedEvent {
|
|
1965
|
+
interface Data extends Stripe.Event.Data {
|
|
1966
|
+
object: Stripe.FinancialConnections.Session;
|
|
1967
|
+
|
|
1968
|
+
previous_attributes?: Partial<Stripe.FinancialConnections.Session>;
|
|
1969
|
+
}
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
/**
|
|
1973
|
+
* Occurs when FX Quote's lock_status field transitions to 'Expired'.
|
|
1974
|
+
*/
|
|
1975
|
+
interface FxQuoteExpiredEvent extends EventBase {
|
|
1976
|
+
type: 'fx_quote.expired';
|
|
1977
|
+
data: FxQuoteExpiredEvent.Data;
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
namespace FxQuoteExpiredEvent {
|
|
1981
|
+
interface Data extends Stripe.Event.Data {
|
|
1982
|
+
object: Stripe.FxQuote;
|
|
1983
|
+
|
|
1984
|
+
previous_attributes?: Partial<Stripe.FxQuote>;
|
|
1985
|
+
}
|
|
1986
|
+
}
|
|
1987
|
+
|
|
1662
1988
|
/**
|
|
1663
1989
|
* Occurs whenever a VerificationSession is canceled
|
|
1664
1990
|
*/
|
|
@@ -1883,6 +2209,22 @@ declare module 'stripe' {
|
|
|
1883
2209
|
}
|
|
1884
2210
|
}
|
|
1885
2211
|
|
|
2212
|
+
/**
|
|
2213
|
+
* Occurs when an InvoicePayment transitions to paid with a non-zero amount_overpaid.
|
|
2214
|
+
*/
|
|
2215
|
+
interface InvoicePaymentOverpaidEvent extends EventBase {
|
|
2216
|
+
type: 'invoice.payment.overpaid';
|
|
2217
|
+
data: InvoicePaymentOverpaidEvent.Data;
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
namespace InvoicePaymentOverpaidEvent {
|
|
2221
|
+
interface Data extends Stripe.Event.Data {
|
|
2222
|
+
object: Stripe.InvoicePayment;
|
|
2223
|
+
|
|
2224
|
+
previous_attributes?: Partial<Stripe.InvoicePayment>;
|
|
2225
|
+
}
|
|
2226
|
+
}
|
|
2227
|
+
|
|
1886
2228
|
/**
|
|
1887
2229
|
* Occurs whenever an invoice payment attempt requires further user action to complete.
|
|
1888
2230
|
*/
|
|
@@ -2283,6 +2625,54 @@ declare module 'stripe' {
|
|
|
2283
2625
|
}
|
|
2284
2626
|
}
|
|
2285
2627
|
|
|
2628
|
+
/**
|
|
2629
|
+
* Emitted when the DisputeSettlementDetail object is created
|
|
2630
|
+
*/
|
|
2631
|
+
interface IssuingDisputeSettlementDetailCreatedEvent extends EventBase {
|
|
2632
|
+
type: 'issuing_dispute_settlement_detail.created';
|
|
2633
|
+
data: IssuingDisputeSettlementDetailCreatedEvent.Data;
|
|
2634
|
+
}
|
|
2635
|
+
|
|
2636
|
+
namespace IssuingDisputeSettlementDetailCreatedEvent {
|
|
2637
|
+
interface Data extends Stripe.Event.Data {
|
|
2638
|
+
object: Stripe.Issuing.DisputeSettlementDetail;
|
|
2639
|
+
|
|
2640
|
+
previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
|
|
2641
|
+
}
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
/**
|
|
2645
|
+
* Emitted when the DisputeSettlementDetail object is updated
|
|
2646
|
+
*/
|
|
2647
|
+
interface IssuingDisputeSettlementDetailUpdatedEvent extends EventBase {
|
|
2648
|
+
type: 'issuing_dispute_settlement_detail.updated';
|
|
2649
|
+
data: IssuingDisputeSettlementDetailUpdatedEvent.Data;
|
|
2650
|
+
}
|
|
2651
|
+
|
|
2652
|
+
namespace IssuingDisputeSettlementDetailUpdatedEvent {
|
|
2653
|
+
interface Data extends Stripe.Event.Data {
|
|
2654
|
+
object: Stripe.Issuing.DisputeSettlementDetail;
|
|
2655
|
+
|
|
2656
|
+
previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
|
|
2657
|
+
}
|
|
2658
|
+
}
|
|
2659
|
+
|
|
2660
|
+
/**
|
|
2661
|
+
* Occurs whenever funds are deducted from your account for fraud dispute loss liability.
|
|
2662
|
+
*/
|
|
2663
|
+
interface IssuingFraudLiabilityDebitCreatedEvent extends EventBase {
|
|
2664
|
+
type: 'issuing_fraud_liability_debit.created';
|
|
2665
|
+
data: IssuingFraudLiabilityDebitCreatedEvent.Data;
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2668
|
+
namespace IssuingFraudLiabilityDebitCreatedEvent {
|
|
2669
|
+
interface Data extends Stripe.Event.Data {
|
|
2670
|
+
object: Stripe.Issuing.FraudLiabilityDebit;
|
|
2671
|
+
|
|
2672
|
+
previous_attributes?: Partial<Stripe.Issuing.FraudLiabilityDebit>;
|
|
2673
|
+
}
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2286
2676
|
/**
|
|
2287
2677
|
* Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.
|
|
2288
2678
|
*/
|
|
@@ -2347,6 +2737,38 @@ declare module 'stripe' {
|
|
|
2347
2737
|
}
|
|
2348
2738
|
}
|
|
2349
2739
|
|
|
2740
|
+
/**
|
|
2741
|
+
* Occurs whenever an issuing settlement is created.
|
|
2742
|
+
*/
|
|
2743
|
+
interface IssuingSettlementCreatedEvent extends EventBase {
|
|
2744
|
+
type: 'issuing_settlement.created';
|
|
2745
|
+
data: IssuingSettlementCreatedEvent.Data;
|
|
2746
|
+
}
|
|
2747
|
+
|
|
2748
|
+
namespace IssuingSettlementCreatedEvent {
|
|
2749
|
+
interface Data extends Stripe.Event.Data {
|
|
2750
|
+
object: Stripe.Issuing.Settlement;
|
|
2751
|
+
|
|
2752
|
+
previous_attributes?: Partial<Stripe.Issuing.Settlement>;
|
|
2753
|
+
}
|
|
2754
|
+
}
|
|
2755
|
+
|
|
2756
|
+
/**
|
|
2757
|
+
* Occurs whenever an issuing settlement is updated.
|
|
2758
|
+
*/
|
|
2759
|
+
interface IssuingSettlementUpdatedEvent extends EventBase {
|
|
2760
|
+
type: 'issuing_settlement.updated';
|
|
2761
|
+
data: IssuingSettlementUpdatedEvent.Data;
|
|
2762
|
+
}
|
|
2763
|
+
|
|
2764
|
+
namespace IssuingSettlementUpdatedEvent {
|
|
2765
|
+
interface Data extends Stripe.Event.Data {
|
|
2766
|
+
object: Stripe.Issuing.Settlement;
|
|
2767
|
+
|
|
2768
|
+
previous_attributes?: Partial<Stripe.Issuing.Settlement>;
|
|
2769
|
+
}
|
|
2770
|
+
}
|
|
2771
|
+
|
|
2350
2772
|
/**
|
|
2351
2773
|
* Occurs whenever an issuing digital wallet token is created.
|
|
2352
2774
|
*/
|
|
@@ -2908,6 +3330,86 @@ declare module 'stripe' {
|
|
|
2908
3330
|
}
|
|
2909
3331
|
}
|
|
2910
3332
|
|
|
3333
|
+
/**
|
|
3334
|
+
* Occurs whenever a redaction job is canceled.
|
|
3335
|
+
*/
|
|
3336
|
+
interface PrivacyRedactionJobCanceledEvent extends EventBase {
|
|
3337
|
+
type: 'privacy.redaction_job.canceled';
|
|
3338
|
+
data: PrivacyRedactionJobCanceledEvent.Data;
|
|
3339
|
+
}
|
|
3340
|
+
|
|
3341
|
+
namespace PrivacyRedactionJobCanceledEvent {
|
|
3342
|
+
interface Data extends Stripe.Event.Data {
|
|
3343
|
+
object: Stripe.Privacy.RedactionJob;
|
|
3344
|
+
|
|
3345
|
+
previous_attributes?: Partial<Stripe.Privacy.RedactionJob>;
|
|
3346
|
+
}
|
|
3347
|
+
}
|
|
3348
|
+
|
|
3349
|
+
/**
|
|
3350
|
+
* Occurs whenever a redaction job is created.
|
|
3351
|
+
*/
|
|
3352
|
+
interface PrivacyRedactionJobCreatedEvent extends EventBase {
|
|
3353
|
+
type: 'privacy.redaction_job.created';
|
|
3354
|
+
data: PrivacyRedactionJobCreatedEvent.Data;
|
|
3355
|
+
}
|
|
3356
|
+
|
|
3357
|
+
namespace PrivacyRedactionJobCreatedEvent {
|
|
3358
|
+
interface Data extends Stripe.Event.Data {
|
|
3359
|
+
object: Stripe.Privacy.RedactionJob;
|
|
3360
|
+
|
|
3361
|
+
previous_attributes?: Partial<Stripe.Privacy.RedactionJob>;
|
|
3362
|
+
}
|
|
3363
|
+
}
|
|
3364
|
+
|
|
3365
|
+
/**
|
|
3366
|
+
* Occurs whenever a redaction job has been successfully validated and is ready to run.
|
|
3367
|
+
*/
|
|
3368
|
+
interface PrivacyRedactionJobReadyEvent extends EventBase {
|
|
3369
|
+
type: 'privacy.redaction_job.ready';
|
|
3370
|
+
data: PrivacyRedactionJobReadyEvent.Data;
|
|
3371
|
+
}
|
|
3372
|
+
|
|
3373
|
+
namespace PrivacyRedactionJobReadyEvent {
|
|
3374
|
+
interface Data extends Stripe.Event.Data {
|
|
3375
|
+
object: Stripe.Privacy.RedactionJob;
|
|
3376
|
+
|
|
3377
|
+
previous_attributes?: Partial<Stripe.Privacy.RedactionJob>;
|
|
3378
|
+
}
|
|
3379
|
+
}
|
|
3380
|
+
|
|
3381
|
+
/**
|
|
3382
|
+
* Occurs whenever a redaction job finishes running.
|
|
3383
|
+
*/
|
|
3384
|
+
interface PrivacyRedactionJobSucceededEvent extends EventBase {
|
|
3385
|
+
type: 'privacy.redaction_job.succeeded';
|
|
3386
|
+
data: PrivacyRedactionJobSucceededEvent.Data;
|
|
3387
|
+
}
|
|
3388
|
+
|
|
3389
|
+
namespace PrivacyRedactionJobSucceededEvent {
|
|
3390
|
+
interface Data extends Stripe.Event.Data {
|
|
3391
|
+
object: Stripe.Privacy.RedactionJob;
|
|
3392
|
+
|
|
3393
|
+
previous_attributes?: Partial<Stripe.Privacy.RedactionJob>;
|
|
3394
|
+
}
|
|
3395
|
+
}
|
|
3396
|
+
|
|
3397
|
+
/**
|
|
3398
|
+
* Occurs whenever a redaction job fails validation.
|
|
3399
|
+
*/
|
|
3400
|
+
interface PrivacyRedactionJobValidationErrorEvent extends EventBase {
|
|
3401
|
+
type: 'privacy.redaction_job.validation_error';
|
|
3402
|
+
data: PrivacyRedactionJobValidationErrorEvent.Data;
|
|
3403
|
+
}
|
|
3404
|
+
|
|
3405
|
+
namespace PrivacyRedactionJobValidationErrorEvent {
|
|
3406
|
+
interface Data extends Stripe.Event.Data {
|
|
3407
|
+
object: Stripe.Privacy.RedactionJob;
|
|
3408
|
+
|
|
3409
|
+
previous_attributes?: Partial<Stripe.Privacy.RedactionJob>;
|
|
3410
|
+
}
|
|
3411
|
+
}
|
|
3412
|
+
|
|
2911
3413
|
/**
|
|
2912
3414
|
* Occurs whenever a product is created.
|
|
2913
3415
|
*/
|
|
@@ -2988,6 +3490,22 @@ declare module 'stripe' {
|
|
|
2988
3490
|
}
|
|
2989
3491
|
}
|
|
2990
3492
|
|
|
3493
|
+
/**
|
|
3494
|
+
* Occurs whenever a quote acceptance fails
|
|
3495
|
+
*/
|
|
3496
|
+
interface QuoteAcceptFailedEvent extends EventBase {
|
|
3497
|
+
type: 'quote.accept_failed';
|
|
3498
|
+
data: QuoteAcceptFailedEvent.Data;
|
|
3499
|
+
}
|
|
3500
|
+
|
|
3501
|
+
namespace QuoteAcceptFailedEvent {
|
|
3502
|
+
interface Data extends Stripe.Event.Data {
|
|
3503
|
+
object: Stripe.Quote;
|
|
3504
|
+
|
|
3505
|
+
previous_attributes?: Partial<Stripe.Quote>;
|
|
3506
|
+
}
|
|
3507
|
+
}
|
|
3508
|
+
|
|
2991
3509
|
/**
|
|
2992
3510
|
* Occurs whenever a quote is accepted.
|
|
2993
3511
|
*/
|
|
@@ -3004,6 +3522,22 @@ declare module 'stripe' {
|
|
|
3004
3522
|
}
|
|
3005
3523
|
}
|
|
3006
3524
|
|
|
3525
|
+
/**
|
|
3526
|
+
* Occurs whenever a quote's status changes to accepting
|
|
3527
|
+
*/
|
|
3528
|
+
interface QuoteAcceptingEvent extends EventBase {
|
|
3529
|
+
type: 'quote.accepting';
|
|
3530
|
+
data: QuoteAcceptingEvent.Data;
|
|
3531
|
+
}
|
|
3532
|
+
|
|
3533
|
+
namespace QuoteAcceptingEvent {
|
|
3534
|
+
interface Data extends Stripe.Event.Data {
|
|
3535
|
+
object: Stripe.Quote;
|
|
3536
|
+
|
|
3537
|
+
previous_attributes?: Partial<Stripe.Quote>;
|
|
3538
|
+
}
|
|
3539
|
+
}
|
|
3540
|
+
|
|
3007
3541
|
/**
|
|
3008
3542
|
* Occurs whenever a quote is canceled.
|
|
3009
3543
|
*/
|
|
@@ -3036,6 +3570,22 @@ declare module 'stripe' {
|
|
|
3036
3570
|
}
|
|
3037
3571
|
}
|
|
3038
3572
|
|
|
3573
|
+
/**
|
|
3574
|
+
* Occurs when a quote's status changes from stale to draft
|
|
3575
|
+
*/
|
|
3576
|
+
interface QuoteDraftEvent extends EventBase {
|
|
3577
|
+
type: 'quote.draft';
|
|
3578
|
+
data: QuoteDraftEvent.Data;
|
|
3579
|
+
}
|
|
3580
|
+
|
|
3581
|
+
namespace QuoteDraftEvent {
|
|
3582
|
+
interface Data extends Stripe.Event.Data {
|
|
3583
|
+
object: Stripe.Quote;
|
|
3584
|
+
|
|
3585
|
+
previous_attributes?: Partial<Stripe.Quote>;
|
|
3586
|
+
}
|
|
3587
|
+
}
|
|
3588
|
+
|
|
3039
3589
|
/**
|
|
3040
3590
|
* Occurs whenever a quote is finalized.
|
|
3041
3591
|
*/
|
|
@@ -3052,6 +3602,54 @@ declare module 'stripe' {
|
|
|
3052
3602
|
}
|
|
3053
3603
|
}
|
|
3054
3604
|
|
|
3605
|
+
/**
|
|
3606
|
+
* Occurs whenever a quote reestimate fails
|
|
3607
|
+
*/
|
|
3608
|
+
interface QuoteReestimateFailedEvent extends EventBase {
|
|
3609
|
+
type: 'quote.reestimate_failed';
|
|
3610
|
+
data: QuoteReestimateFailedEvent.Data;
|
|
3611
|
+
}
|
|
3612
|
+
|
|
3613
|
+
namespace QuoteReestimateFailedEvent {
|
|
3614
|
+
interface Data extends Stripe.Event.Data {
|
|
3615
|
+
object: Stripe.Quote;
|
|
3616
|
+
|
|
3617
|
+
previous_attributes?: Partial<Stripe.Quote>;
|
|
3618
|
+
}
|
|
3619
|
+
}
|
|
3620
|
+
|
|
3621
|
+
/**
|
|
3622
|
+
* Occurs whenever an async job to compute preview subscription schedules/upcoming invoices for the quote has completed.
|
|
3623
|
+
*/
|
|
3624
|
+
interface QuoteReestimatedEvent extends EventBase {
|
|
3625
|
+
type: 'quote.reestimated';
|
|
3626
|
+
data: QuoteReestimatedEvent.Data;
|
|
3627
|
+
}
|
|
3628
|
+
|
|
3629
|
+
namespace QuoteReestimatedEvent {
|
|
3630
|
+
interface Data extends Stripe.Event.Data {
|
|
3631
|
+
object: Stripe.Quote;
|
|
3632
|
+
|
|
3633
|
+
previous_attributes?: Partial<Stripe.Quote>;
|
|
3634
|
+
}
|
|
3635
|
+
}
|
|
3636
|
+
|
|
3637
|
+
/**
|
|
3638
|
+
* Occurs whenever a quote's status changes to stale
|
|
3639
|
+
*/
|
|
3640
|
+
interface QuoteStaleEvent extends EventBase {
|
|
3641
|
+
type: 'quote.stale';
|
|
3642
|
+
data: QuoteStaleEvent.Data;
|
|
3643
|
+
}
|
|
3644
|
+
|
|
3645
|
+
namespace QuoteStaleEvent {
|
|
3646
|
+
interface Data extends Stripe.Event.Data {
|
|
3647
|
+
object: Stripe.Quote;
|
|
3648
|
+
|
|
3649
|
+
previous_attributes?: Partial<Stripe.Quote>;
|
|
3650
|
+
}
|
|
3651
|
+
}
|
|
3652
|
+
|
|
3055
3653
|
/**
|
|
3056
3654
|
* Occurs whenever an early fraud warning is created.
|
|
3057
3655
|
*/
|
|
@@ -3500,6 +4098,22 @@ declare module 'stripe' {
|
|
|
3500
4098
|
}
|
|
3501
4099
|
}
|
|
3502
4100
|
|
|
4101
|
+
/**
|
|
4102
|
+
* Occurs whenever a price migration failed to transition prices on a subscription schedule.
|
|
4103
|
+
*/
|
|
4104
|
+
interface SubscriptionSchedulePriceMigrationFailedEvent extends EventBase {
|
|
4105
|
+
type: 'subscription_schedule.price_migration_failed';
|
|
4106
|
+
data: SubscriptionSchedulePriceMigrationFailedEvent.Data;
|
|
4107
|
+
}
|
|
4108
|
+
|
|
4109
|
+
namespace SubscriptionSchedulePriceMigrationFailedEvent {
|
|
4110
|
+
interface Data extends Stripe.Event.Data {
|
|
4111
|
+
object: Stripe.SubscriptionSchedule;
|
|
4112
|
+
|
|
4113
|
+
previous_attributes?: Partial<Stripe.SubscriptionSchedule>;
|
|
4114
|
+
}
|
|
4115
|
+
}
|
|
4116
|
+
|
|
3503
4117
|
/**
|
|
3504
4118
|
* Occurs whenever a new subscription schedule is released.
|
|
3505
4119
|
*/
|
|
@@ -3532,6 +4146,22 @@ declare module 'stripe' {
|
|
|
3532
4146
|
}
|
|
3533
4147
|
}
|
|
3534
4148
|
|
|
4149
|
+
/**
|
|
4150
|
+
* Occurs when a tax form is updated.
|
|
4151
|
+
*/
|
|
4152
|
+
interface TaxFormUpdatedEvent extends EventBase {
|
|
4153
|
+
type: 'tax.form.updated';
|
|
4154
|
+
data: TaxFormUpdatedEvent.Data;
|
|
4155
|
+
}
|
|
4156
|
+
|
|
4157
|
+
namespace TaxFormUpdatedEvent {
|
|
4158
|
+
interface Data extends Stripe.Event.Data {
|
|
4159
|
+
object: Stripe.Tax.Form;
|
|
4160
|
+
|
|
4161
|
+
previous_attributes?: Partial<Stripe.Tax.Form>;
|
|
4162
|
+
}
|
|
4163
|
+
}
|
|
4164
|
+
|
|
3535
4165
|
/**
|
|
3536
4166
|
* Occurs whenever tax settings is updated.
|
|
3537
4167
|
*/
|