stripe 18.2.0-beta.1 → 18.2.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.
Files changed (333) hide show
  1. package/CHANGELOG.md +183 -1211
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +11 -12
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +1 -91
  6. package/cjs/RequestSender.js +3 -3
  7. package/cjs/StripeResource.js +1 -1
  8. package/cjs/apiVersion.js +1 -1
  9. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  10. package/cjs/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +4 -4
  11. package/cjs/resources/PaymentIntents.js +0 -13
  12. package/cjs/resources/Quotes.js +0 -32
  13. package/cjs/resources/SubscriptionSchedules.js +0 -4
  14. package/cjs/resources/Terminal/Readers.js +0 -8
  15. package/cjs/resources.js +18 -108
  16. package/cjs/stripe.core.js +1 -1
  17. package/cjs/utils.js +5 -0
  18. package/esm/Error.js +0 -79
  19. package/esm/RequestSender.js +3 -3
  20. package/esm/StripeResource.js +1 -1
  21. package/esm/apiVersion.js +1 -1
  22. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  23. package/esm/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +3 -3
  24. package/esm/resources/PaymentIntents.js +0 -13
  25. package/esm/resources/Quotes.js +0 -32
  26. package/esm/resources/SubscriptionSchedules.js +0 -4
  27. package/esm/resources/Terminal/Readers.js +0 -8
  28. package/esm/resources.js +1 -84
  29. package/esm/stripe.core.js +1 -1
  30. package/esm/utils.js +5 -0
  31. package/package.json +1 -1
  32. package/types/AccountLinksResource.d.ts +1 -5
  33. package/types/AccountSessions.d.ts +52 -32
  34. package/types/AccountSessionsResource.d.ts +23 -246
  35. package/types/Accounts.d.ts +19 -223
  36. package/types/AccountsResource.d.ts +61 -581
  37. package/types/Balance.d.ts +83 -1
  38. package/types/BalanceResource.d.ts +1 -1
  39. package/types/BalanceTransactions.d.ts +10 -0
  40. package/types/BankAccounts.d.ts +3 -3
  41. package/types/Billing/Alerts.d.ts +1 -1
  42. package/types/Billing/AlertsResource.d.ts +2 -2
  43. package/types/Billing/CreditBalanceSummary.d.ts +0 -5
  44. package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
  45. package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
  46. package/types/Billing/CreditGrants.d.ts +0 -5
  47. package/types/Billing/CreditGrantsResource.d.ts +1 -11
  48. package/types/BillingPortal/Sessions.d.ts +1 -6
  49. package/types/BillingPortal/SessionsResource.d.ts +4 -12
  50. package/types/Capabilities.d.ts +1 -1
  51. package/types/Cards.d.ts +2 -7
  52. package/types/CashBalances.d.ts +0 -5
  53. package/types/Charges.d.ts +20 -166
  54. package/types/ChargesResource.d.ts +4 -1318
  55. package/types/Checkout/Sessions.d.ts +120 -418
  56. package/types/Checkout/SessionsResource.d.ts +118 -448
  57. package/types/ConfirmationTokens.d.ts +4 -129
  58. package/types/CountrySpecs.d.ts +1 -1
  59. package/types/Coupons.d.ts +0 -33
  60. package/types/CouponsResource.d.ts +0 -21
  61. package/types/CreditNoteLineItems.d.ts +0 -17
  62. package/types/CreditNotes.d.ts +11 -10
  63. package/types/CreditNotesResource.d.ts +7 -13
  64. package/types/CustomerBalanceTransactions.d.ts +0 -2
  65. package/types/CustomerCashBalanceTransactions.d.ts +0 -2
  66. package/types/CustomerSessions.d.ts +3 -8
  67. package/types/CustomerSessionsResource.d.ts +1 -6
  68. package/types/Customers.d.ts +0 -2
  69. package/types/CustomersResource.d.ts +7 -15
  70. package/types/Discounts.d.ts +0 -10
  71. package/types/Disputes.d.ts +1 -1
  72. package/types/DisputesResource.d.ts +1 -1
  73. package/types/Errors.d.ts +2 -69
  74. package/types/EventTypes.d.ts +17 -698
  75. package/types/Events.d.ts +4 -99
  76. package/types/Files.d.ts +1 -1
  77. package/types/FilesResource.d.ts +1 -1
  78. package/types/FinancialConnections/Accounts.d.ts +1 -31
  79. package/types/FinancialConnections/AccountsResource.d.ts +3 -40
  80. package/types/FinancialConnections/Sessions.d.ts +1 -51
  81. package/types/FinancialConnections/SessionsResource.d.ts +1 -43
  82. package/types/Identity/VerificationReports.d.ts +17 -0
  83. package/types/Identity/VerificationSessions.d.ts +19 -7
  84. package/types/Identity/VerificationSessionsResource.d.ts +5 -12
  85. package/types/InvoiceItems.d.ts +1 -11
  86. package/types/InvoiceItemsResource.d.ts +6 -117
  87. package/types/InvoiceLineItems.d.ts +2 -46
  88. package/types/InvoicePayments.d.ts +9 -7
  89. package/types/InvoicePaymentsResource.d.ts +74 -0
  90. package/types/Invoices.d.ts +10 -142
  91. package/types/InvoicesResource.d.ts +66 -1469
  92. package/types/Issuing/AuthorizationsResource.d.ts +4 -4
  93. package/types/Issuing/CardholdersResource.d.ts +1 -2
  94. package/types/Issuing/CardsResource.d.ts +3 -0
  95. package/types/Issuing/DisputesResource.d.ts +2 -2
  96. package/types/Issuing/Transactions.d.ts +0 -5
  97. package/types/Issuing/TransactionsResource.d.ts +0 -5
  98. package/types/LineItems.d.ts +2 -51
  99. package/types/Mandates.d.ts +0 -77
  100. package/types/PaymentIntents.d.ts +145 -856
  101. package/types/PaymentIntentsResource.d.ts +4307 -8780
  102. package/types/PaymentLinks.d.ts +0 -6
  103. package/types/PaymentLinksResource.d.ts +0 -12
  104. package/types/PaymentMethodConfigurations.d.ts +70 -70
  105. package/types/PaymentMethodConfigurationsResource.d.ts +164 -164
  106. package/types/PaymentMethodDomainsResource.d.ts +1 -1
  107. package/types/PaymentMethods.d.ts +4 -129
  108. package/types/PaymentMethodsResource.d.ts +10 -175
  109. package/types/Payouts.d.ts +2 -7
  110. package/types/PayoutsResource.d.ts +2 -7
  111. package/types/Persons.d.ts +10 -10
  112. package/types/PlansResource.d.ts +1 -1
  113. package/types/Prices.d.ts +0 -22
  114. package/types/PricesResource.d.ts +2 -24
  115. package/types/Products.d.ts +0 -39
  116. package/types/ProductsResource.d.ts +1 -37
  117. package/types/PromotionCodes.d.ts +0 -5
  118. package/types/PromotionCodesResource.d.ts +1 -11
  119. package/types/Quotes.d.ts +7 -609
  120. package/types/QuotesResource.d.ts +224 -2578
  121. package/types/Radar/EarlyFraudWarningsResource.d.ts +1 -1
  122. package/types/Refunds.d.ts +6 -15
  123. package/types/Reviews.d.ts +1 -1
  124. package/types/SetupAttempts.d.ts +2 -50
  125. package/types/SetupIntents.d.ts +4 -122
  126. package/types/SetupIntentsResource.d.ts +6 -733
  127. package/types/Sources.d.ts +0 -29
  128. package/types/SourcesResource.d.ts +1 -1
  129. package/types/SubscriptionItems.d.ts +8 -17
  130. package/types/SubscriptionItemsResource.d.ts +28 -109
  131. package/types/SubscriptionSchedules.d.ts +47 -213
  132. package/types/SubscriptionSchedulesResource.d.ts +104 -1243
  133. package/types/Subscriptions.d.ts +16 -102
  134. package/types/SubscriptionsResource.d.ts +80 -407
  135. package/types/Tax/CalculationLineItems.d.ts +5 -0
  136. package/types/Tax/CalculationsResource.d.ts +5 -0
  137. package/types/Tax/RegistrationsResource.d.ts +1 -1
  138. package/types/TaxIds.d.ts +0 -10
  139. package/types/TaxIdsResource.d.ts +0 -10
  140. package/types/TaxRates.d.ts +2 -2
  141. package/types/Terminal/LocationsResource.d.ts +1 -1
  142. package/types/Terminal/Readers.d.ts +7 -89
  143. package/types/Terminal/ReadersResource.d.ts +6 -82
  144. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -126
  145. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  146. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  147. package/types/Tokens.d.ts +3 -3
  148. package/types/TokensResource.d.ts +8 -8
  149. package/types/TransferReversals.d.ts +1 -1
  150. package/types/Transfers.d.ts +0 -5
  151. package/types/TransfersResource.d.ts +2 -7
  152. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  153. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  154. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  155. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  156. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  157. package/types/Treasury/ReceivedCredits.d.ts +2 -28
  158. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  159. package/types/V2/EventTypes.d.ts +1 -812
  160. package/types/WebhookEndpointsResource.d.ts +4 -83
  161. package/types/index.d.ts +5 -145
  162. package/types/lib.d.ts +1 -11
  163. package/types/test/typescriptTest.ts +3 -3
  164. package/cjs/resources/AccountNotices.js +0 -21
  165. package/cjs/resources/BalanceSettings.js +0 -10
  166. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  167. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  168. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  169. package/cjs/resources/ExternalAccounts.js +0 -23
  170. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  171. package/cjs/resources/FxQuotes.js +0 -15
  172. package/cjs/resources/GiftCards/Cards.js +0 -23
  173. package/cjs/resources/GiftCards/Transactions.js +0 -33
  174. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  175. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  176. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  177. package/cjs/resources/Margins.js +0 -22
  178. package/cjs/resources/Orders.js +0 -24
  179. package/cjs/resources/PaymentRecords.js +0 -29
  180. package/cjs/resources/Privacy/RedactionJobs.js +0 -42
  181. package/cjs/resources/Tax/Associations.js +0 -9
  182. package/cjs/resources/Tax/Forms.js +0 -20
  183. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  184. package/cjs/resources/V2/Core/AccountLinks.js +0 -9
  185. package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
  186. package/cjs/resources/V2/Core/Accounts.js +0 -25
  187. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
  188. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
  189. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
  190. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -17
  191. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
  192. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
  193. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
  194. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
  195. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
  196. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
  197. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
  198. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
  199. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
  200. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
  201. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
  202. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
  203. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
  204. package/esm/resources/AccountNotices.js +0 -18
  205. package/esm/resources/BalanceSettings.js +0 -7
  206. package/esm/resources/Capital/FinancingOffers.js +0 -18
  207. package/esm/resources/Capital/FinancingSummary.js +0 -9
  208. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  209. package/esm/resources/ExternalAccounts.js +0 -20
  210. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  211. package/esm/resources/FxQuotes.js +0 -12
  212. package/esm/resources/GiftCards/Cards.js +0 -20
  213. package/esm/resources/GiftCards/Transactions.js +0 -30
  214. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  215. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  216. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  217. package/esm/resources/Margins.js +0 -19
  218. package/esm/resources/Orders.js +0 -21
  219. package/esm/resources/PaymentRecords.js +0 -26
  220. package/esm/resources/Privacy/RedactionJobs.js +0 -39
  221. package/esm/resources/Tax/Associations.js +0 -6
  222. package/esm/resources/Tax/Forms.js +0 -17
  223. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  224. package/esm/resources/V2/Core/AccountLinks.js +0 -6
  225. package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
  226. package/esm/resources/V2/Core/Accounts.js +0 -22
  227. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
  228. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
  229. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
  230. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -14
  231. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
  232. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
  233. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
  234. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
  235. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
  236. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
  237. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
  238. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
  239. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
  240. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
  241. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
  242. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
  243. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
  244. package/types/AccountNotices.d.ts +0 -113
  245. package/types/AccountNoticesResource.d.ts +0 -98
  246. package/types/BalanceSettings.d.ts +0 -89
  247. package/types/BalanceSettingsResource.d.ts +0 -108
  248. package/types/Billing/MeterErrorReports.d.ts +0 -106
  249. package/types/Capital/FinancingOffers.d.ts +0 -188
  250. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  251. package/types/Capital/FinancingSummary.d.ts +0 -106
  252. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  253. package/types/Capital/FinancingTransactions.d.ts +0 -135
  254. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  255. package/types/ExternalAccountsResource.d.ts +0 -304
  256. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  257. package/types/FinancialConnections/Institutions.d.ts +0 -93
  258. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  259. package/types/FxQuotes.d.ts +0 -153
  260. package/types/FxQuotesResource.d.ts +0 -130
  261. package/types/GiftCards/Cards.d.ts +0 -118
  262. package/types/GiftCards/CardsResource.d.ts +0 -159
  263. package/types/GiftCards/Transactions.d.ts +0 -129
  264. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  265. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  266. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  267. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
  268. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  269. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  270. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  271. package/types/Issuing/Settlements.d.ts +0 -113
  272. package/types/Margins.d.ts +0 -56
  273. package/types/MarginsResource.d.ts +0 -114
  274. package/types/Orders.d.ts +0 -1199
  275. package/types/OrdersResource.d.ts +0 -3001
  276. package/types/PaymentAttemptRecords.d.ts +0 -2112
  277. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  278. package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -110
  279. package/types/PaymentRecords.d.ts +0 -2105
  280. package/types/PaymentRecordsResource.d.ts +0 -455
  281. package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -30
  282. package/types/Privacy/RedactionJobs.d.ts +0 -65
  283. package/types/Privacy/RedactionJobsResource.d.ts +0 -218
  284. package/types/QuoteLines.d.ts +0 -634
  285. package/types/QuotePreviewInvoices.d.ts +0 -1697
  286. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -785
  287. package/types/Tax/Associations.d.ts +0 -126
  288. package/types/Tax/AssociationsResource.d.ts +0 -29
  289. package/types/Tax/Forms.d.ts +0 -220
  290. package/types/Tax/FormsResource.d.ts +0 -107
  291. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  292. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
  293. package/types/V2/Core/AccountLinks.d.ts +0 -106
  294. package/types/V2/Core/AccountLinksResource.d.ts +0 -90
  295. package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3770
  296. package/types/V2/Core/Accounts.d.ts +0 -8169
  297. package/types/V2/Core/AccountsResource.d.ts +0 -10203
  298. package/types/V2/Core/Persons.d.ts +0 -1867
  299. package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
  300. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
  301. package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
  302. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
  303. package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
  304. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
  305. package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
  306. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
  307. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -546
  308. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -52
  309. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -314
  310. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -288
  311. package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
  312. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
  313. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -168
  314. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
  315. package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
  316. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
  317. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
  318. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
  319. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
  320. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -207
  321. package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -151
  322. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
  323. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -87
  324. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
  325. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -285
  326. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
  327. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -224
  328. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
  329. package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -155
  330. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
  331. package/types/V2/MoneyManagement/Transactions.d.ts +0 -170
  332. package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
  333. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -66
@@ -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,11 +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
- | FxQuoteExpiredEvent
110
90
  | IdentityVerificationSessionCanceledEvent
111
91
  | IdentityVerificationSessionCreatedEvent
112
92
  | IdentityVerificationSessionProcessingEvent
@@ -121,9 +101,7 @@ declare module 'stripe' {
121
101
  | InvoiceOverdueEvent
122
102
  | InvoiceOverpaidEvent
123
103
  | InvoicePaidEvent
124
- | InvoicePaymentOverpaidEvent
125
104
  | InvoicePaymentActionRequiredEvent
126
- | InvoicePaymentAttemptRequiredEvent
127
105
  | InvoicePaymentFailedEvent
128
106
  | InvoicePaymentSucceededEvent
129
107
  | InvoiceSentEvent
@@ -131,6 +109,7 @@ declare module 'stripe' {
131
109
  | InvoiceUpdatedEvent
132
110
  | InvoiceVoidedEvent
133
111
  | InvoiceWillBeDueEvent
112
+ | InvoicePaymentPaidEvent
134
113
  | InvoiceItemCreatedEvent
135
114
  | InvoiceItemDeletedEvent
136
115
  | IssuingAuthorizationCreatedEvent
@@ -146,15 +125,10 @@ declare module 'stripe' {
146
125
  | IssuingDisputeFundsRescindedEvent
147
126
  | IssuingDisputeSubmittedEvent
148
127
  | IssuingDisputeUpdatedEvent
149
- | IssuingDisputeSettlementDetailCreatedEvent
150
- | IssuingDisputeSettlementDetailUpdatedEvent
151
- | IssuingFraudLiabilityDebitCreatedEvent
152
128
  | IssuingPersonalizationDesignActivatedEvent
153
129
  | IssuingPersonalizationDesignDeactivatedEvent
154
130
  | IssuingPersonalizationDesignRejectedEvent
155
131
  | IssuingPersonalizationDesignUpdatedEvent
156
- | IssuingSettlementCreatedEvent
157
- | IssuingSettlementUpdatedEvent
158
132
  | IssuingTokenCreatedEvent
159
133
  | IssuingTokenUpdatedEvent
160
134
  | IssuingTransactionCreatedEvent
@@ -190,26 +164,15 @@ declare module 'stripe' {
190
164
  | PriceCreatedEvent
191
165
  | PriceDeletedEvent
192
166
  | PriceUpdatedEvent
193
- | PrivacyRedactionJobCanceledEvent
194
- | PrivacyRedactionJobCreatedEvent
195
- | PrivacyRedactionJobReadyEvent
196
- | PrivacyRedactionJobSucceededEvent
197
- | PrivacyRedactionJobValidationErrorEvent
198
167
  | ProductCreatedEvent
199
168
  | ProductDeletedEvent
200
169
  | ProductUpdatedEvent
201
170
  | PromotionCodeCreatedEvent
202
171
  | PromotionCodeUpdatedEvent
203
- | QuoteAcceptFailedEvent
204
172
  | QuoteAcceptedEvent
205
- | QuoteAcceptingEvent
206
173
  | QuoteCanceledEvent
207
174
  | QuoteCreatedEvent
208
- | QuoteDraftEvent
209
175
  | QuoteFinalizedEvent
210
- | QuoteReestimateFailedEvent
211
- | QuoteReestimatedEvent
212
- | QuoteStaleEvent
213
176
  | RadarEarlyFraudWarningCreatedEvent
214
177
  | RadarEarlyFraudWarningUpdatedEvent
215
178
  | RefundCreatedEvent
@@ -238,16 +201,13 @@ declare module 'stripe' {
238
201
  | SubscriptionScheduleCompletedEvent
239
202
  | SubscriptionScheduleCreatedEvent
240
203
  | SubscriptionScheduleExpiringEvent
241
- | SubscriptionSchedulePriceMigrationFailedEvent
242
204
  | SubscriptionScheduleReleasedEvent
243
205
  | SubscriptionScheduleUpdatedEvent
244
- | TaxFormUpdatedEvent
245
206
  | TaxSettingsUpdatedEvent
246
207
  | TaxRateCreatedEvent
247
208
  | TaxRateUpdatedEvent
248
209
  | TerminalReaderActionFailedEvent
249
210
  | TerminalReaderActionSucceededEvent
250
- | TerminalReaderActionUpdatedEvent
251
211
  | TestHelpersTestClockAdvancingEvent
252
212
  | TestHelpersTestClockCreatedEvent
253
213
  | TestHelpersTestClockDeletedEvent
@@ -390,38 +350,6 @@ declare module 'stripe' {
390
350
  }
391
351
  }
392
352
 
393
- /**
394
- * Occurs whenever an AccountNotice is created.
395
- */
396
- interface AccountNoticeCreatedEvent extends EventBase {
397
- type: 'account_notice.created';
398
- data: AccountNoticeCreatedEvent.Data;
399
- }
400
-
401
- namespace AccountNoticeCreatedEvent {
402
- interface Data extends Stripe.Event.Data {
403
- object: Stripe.AccountNotice;
404
-
405
- previous_attributes?: Partial<Stripe.AccountNotice>;
406
- }
407
- }
408
-
409
- /**
410
- * Occurs whenever an AccountNotice is updated.
411
- */
412
- interface AccountNoticeUpdatedEvent extends EventBase {
413
- type: 'account_notice.updated';
414
- data: AccountNoticeUpdatedEvent.Data;
415
- }
416
-
417
- namespace AccountNoticeUpdatedEvent {
418
- interface Data extends Stripe.Event.Data {
419
- object: Stripe.AccountNotice;
420
-
421
- previous_attributes?: Partial<Stripe.AccountNotice>;
422
- }
423
- }
424
-
425
353
  /**
426
354
  * Occurs whenever an application fee is created on a charge.
427
355
  */
@@ -486,22 +414,6 @@ declare module 'stripe' {
486
414
  }
487
415
  }
488
416
 
489
- /**
490
- * Occurs whenever a balance settings status or property has changed.
491
- */
492
- interface BalanceSettingsUpdatedEvent extends EventBase {
493
- type: 'balance_settings.updated';
494
- data: BalanceSettingsUpdatedEvent.Data;
495
- }
496
-
497
- namespace BalanceSettingsUpdatedEvent {
498
- interface Data extends Stripe.Event.Data {
499
- object: Stripe.BalanceSettings;
500
-
501
- previous_attributes?: Partial<Stripe.BalanceSettings>;
502
- }
503
- }
504
-
505
417
  /**
506
418
  * Occurs whenever your custom alert threshold is met.
507
419
  */
@@ -630,22 +542,6 @@ declare module 'stripe' {
630
542
  }
631
543
  }
632
544
 
633
- /**
634
- * Notifies of errors on a billing meter
635
- */
636
- interface BillingMeterErrorReportTriggeredEvent extends EventBase {
637
- type: 'billing.meter_error_report.triggered';
638
- data: BillingMeterErrorReportTriggeredEvent.Data;
639
- }
640
-
641
- namespace BillingMeterErrorReportTriggeredEvent {
642
- interface Data extends Stripe.Event.Data {
643
- object: Stripe.Billing.MeterErrorReport;
644
-
645
- previous_attributes?: Partial<Stripe.Billing.MeterErrorReport>;
646
- }
647
- }
648
-
649
545
  /**
650
546
  * Occurs whenever a portal configuration is created.
651
547
  */
@@ -710,150 +606,6 @@ declare module 'stripe' {
710
606
  }
711
607
  }
712
608
 
713
- /**
714
- * Occurs whenever a connected account accepts a financing offer.
715
- */
716
- interface CapitalFinancingOfferAcceptedEvent extends EventBase {
717
- type: 'capital.financing_offer.accepted';
718
- data: CapitalFinancingOfferAcceptedEvent.Data;
719
- }
720
-
721
- namespace CapitalFinancingOfferAcceptedEvent {
722
- interface Data extends Stripe.Event.Data {
723
- object: Stripe.Capital.FinancingOffer;
724
-
725
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
726
- }
727
- }
728
-
729
- /**
730
- * Occurs whenever a financing offer is canceled.
731
- */
732
- interface CapitalFinancingOfferCanceledEvent extends EventBase {
733
- type: 'capital.financing_offer.canceled';
734
- data: CapitalFinancingOfferCanceledEvent.Data;
735
- }
736
-
737
- namespace CapitalFinancingOfferCanceledEvent {
738
- interface Data extends Stripe.Event.Data {
739
- object: Stripe.Capital.FinancingOffer;
740
-
741
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
742
- }
743
- }
744
-
745
- /**
746
- * Occurs whenever a new financing offer is created for a connected account.
747
- */
748
- interface CapitalFinancingOfferCreatedEvent extends EventBase {
749
- type: 'capital.financing_offer.created';
750
- data: CapitalFinancingOfferCreatedEvent.Data;
751
- }
752
-
753
- namespace CapitalFinancingOfferCreatedEvent {
754
- interface Data extends Stripe.Event.Data {
755
- object: Stripe.Capital.FinancingOffer;
756
-
757
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
758
- }
759
- }
760
-
761
- /**
762
- * Occurs whenever a financing offer expires.
763
- */
764
- interface CapitalFinancingOfferExpiredEvent extends EventBase {
765
- type: 'capital.financing_offer.expired';
766
- data: CapitalFinancingOfferExpiredEvent.Data;
767
- }
768
-
769
- namespace CapitalFinancingOfferExpiredEvent {
770
- interface Data extends Stripe.Event.Data {
771
- object: Stripe.Capital.FinancingOffer;
772
-
773
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
774
- }
775
- }
776
-
777
- /**
778
- * Occurs whenever a financing offer is fully repaid.
779
- */
780
- interface CapitalFinancingOfferFullyRepaidEvent extends EventBase {
781
- type: 'capital.financing_offer.fully_repaid';
782
- data: CapitalFinancingOfferFullyRepaidEvent.Data;
783
- }
784
-
785
- namespace CapitalFinancingOfferFullyRepaidEvent {
786
- interface Data extends Stripe.Event.Data {
787
- object: Stripe.Capital.FinancingOffer;
788
-
789
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
790
- }
791
- }
792
-
793
- /**
794
- * Occurs whenever a financing offer is paid out.
795
- */
796
- interface CapitalFinancingOfferPaidOutEvent extends EventBase {
797
- type: 'capital.financing_offer.paid_out';
798
- data: CapitalFinancingOfferPaidOutEvent.Data;
799
- }
800
-
801
- namespace CapitalFinancingOfferPaidOutEvent {
802
- interface Data extends Stripe.Event.Data {
803
- object: Stripe.Capital.FinancingOffer;
804
-
805
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
806
- }
807
- }
808
-
809
- /**
810
- * Occurs whenever a financing offer is rejected.
811
- */
812
- interface CapitalFinancingOfferRejectedEvent extends EventBase {
813
- type: 'capital.financing_offer.rejected';
814
- data: CapitalFinancingOfferRejectedEvent.Data;
815
- }
816
-
817
- namespace CapitalFinancingOfferRejectedEvent {
818
- interface Data extends Stripe.Event.Data {
819
- object: Stripe.Capital.FinancingOffer;
820
-
821
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
822
- }
823
- }
824
-
825
- /**
826
- * Occurs whenever a replacement for a financing offer has been created. More details can be [found here](https://docs.stripe.com/capital/replacements).
827
- */
828
- interface CapitalFinancingOfferReplacementCreatedEvent extends EventBase {
829
- type: 'capital.financing_offer.replacement_created';
830
- data: CapitalFinancingOfferReplacementCreatedEvent.Data;
831
- }
832
-
833
- namespace CapitalFinancingOfferReplacementCreatedEvent {
834
- interface Data extends Stripe.Event.Data {
835
- object: Stripe.Capital.FinancingOffer;
836
-
837
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
838
- }
839
- }
840
-
841
- /**
842
- * Occurs whenever a financing transaction is created.
843
- */
844
- interface CapitalFinancingTransactionCreatedEvent extends EventBase {
845
- type: 'capital.financing_transaction.created';
846
- data: CapitalFinancingTransactionCreatedEvent.Data;
847
- }
848
-
849
- namespace CapitalFinancingTransactionCreatedEvent {
850
- interface Data extends Stripe.Event.Data {
851
- object: Stripe.Capital.FinancingTransaction;
852
-
853
- previous_attributes?: Partial<Stripe.Capital.FinancingTransaction>;
854
- }
855
- }
856
-
857
609
  /**
858
610
  * 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.
859
611
  */
@@ -1494,38 +1246,6 @@ declare module 'stripe' {
1494
1246
  }
1495
1247
  }
1496
1248
 
1497
- /**
1498
- * 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`.
1499
- */
1500
- interface CustomerSubscriptionCollectionPausedEvent extends EventBase {
1501
- type: 'customer.subscription.collection_paused';
1502
- data: CustomerSubscriptionCollectionPausedEvent.Data;
1503
- }
1504
-
1505
- namespace CustomerSubscriptionCollectionPausedEvent {
1506
- interface Data extends Stripe.Event.Data {
1507
- object: Stripe.Subscription;
1508
-
1509
- previous_attributes?: Partial<Stripe.Subscription>;
1510
- }
1511
- }
1512
-
1513
- /**
1514
- * 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`.
1515
- */
1516
- interface CustomerSubscriptionCollectionResumedEvent extends EventBase {
1517
- type: 'customer.subscription.collection_resumed';
1518
- data: CustomerSubscriptionCollectionResumedEvent.Data;
1519
- }
1520
-
1521
- namespace CustomerSubscriptionCollectionResumedEvent {
1522
- interface Data extends Stripe.Event.Data {
1523
- object: Stripe.Subscription;
1524
-
1525
- previous_attributes?: Partial<Stripe.Subscription>;
1526
- }
1527
- }
1528
-
1529
1249
  /**
1530
1250
  * Occurs whenever a customer is signed up for a new plan.
1531
1251
  */
@@ -1542,22 +1262,6 @@ declare module 'stripe' {
1542
1262
  }
1543
1263
  }
1544
1264
 
1545
- /**
1546
- * An ad-hoc custom event that is sent based on user configured [Automation](https://docs.stripe.com/billing/automations#send-custom-webhook-event-action).
1547
- */
1548
- interface CustomerSubscriptionCustomEventEvent extends EventBase {
1549
- type: 'customer.subscription.custom_event';
1550
- data: CustomerSubscriptionCustomEventEvent.Data;
1551
- }
1552
-
1553
- namespace CustomerSubscriptionCustomEventEvent {
1554
- interface Data extends Stripe.Event.Data {
1555
- object: Stripe.Subscription;
1556
-
1557
- previous_attributes?: Partial<Stripe.Subscription>;
1558
- }
1559
- }
1560
-
1561
1265
  /**
1562
1266
  * Occurs whenever a customer's subscription ends.
1563
1267
  */
@@ -1622,22 +1326,6 @@ declare module 'stripe' {
1622
1326
  }
1623
1327
  }
1624
1328
 
1625
- /**
1626
- * Occurs whenever a price migration failed to transition prices on a subscription.
1627
- */
1628
- interface CustomerSubscriptionPriceMigrationFailedEvent extends EventBase {
1629
- type: 'customer.subscription.price_migration_failed';
1630
- data: CustomerSubscriptionPriceMigrationFailedEvent.Data;
1631
- }
1632
-
1633
- namespace CustomerSubscriptionPriceMigrationFailedEvent {
1634
- interface Data extends Stripe.Event.Data {
1635
- object: Stripe.Subscription;
1636
-
1637
- previous_attributes?: Partial<Stripe.Subscription>;
1638
- }
1639
- }
1640
-
1641
1329
  /**
1642
1330
  * 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.
1643
1331
  */
@@ -1882,23 +1570,6 @@ declare module 'stripe' {
1882
1570
  }
1883
1571
  }
1884
1572
 
1885
- /**
1886
- * Occurs when an Account’s `inferred_balances_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1887
- */
1888
- interface FinancialConnectionsAccountRefreshedInferredBalancesEvent
1889
- extends EventBase {
1890
- type: 'financial_connections.account.refreshed_inferred_balances';
1891
- data: FinancialConnectionsAccountRefreshedInferredBalancesEvent.Data;
1892
- }
1893
-
1894
- namespace FinancialConnectionsAccountRefreshedInferredBalancesEvent {
1895
- interface Data extends Stripe.Event.Data {
1896
- object: Stripe.FinancialConnections.Account;
1897
-
1898
- previous_attributes?: Partial<Stripe.FinancialConnections.Account>;
1899
- }
1900
- }
1901
-
1902
1573
  /**
1903
1574
  * Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1904
1575
  */
@@ -1933,38 +1604,6 @@ declare module 'stripe' {
1933
1604
  }
1934
1605
  }
1935
1606
 
1936
- /**
1937
- * Occurs when a Financial Connections Session `status` transitions from `pending` to `failed`, `cancelled`, or `completed`.
1938
- */
1939
- interface FinancialConnectionsSessionUpdatedEvent extends EventBase {
1940
- type: 'financial_connections.session.updated';
1941
- data: FinancialConnectionsSessionUpdatedEvent.Data;
1942
- }
1943
-
1944
- namespace FinancialConnectionsSessionUpdatedEvent {
1945
- interface Data extends Stripe.Event.Data {
1946
- object: Stripe.FinancialConnections.Session;
1947
-
1948
- previous_attributes?: Partial<Stripe.FinancialConnections.Session>;
1949
- }
1950
- }
1951
-
1952
- /**
1953
- * Occurs when FX Quote's lock_status field transitions to 'Expired'.
1954
- */
1955
- interface FxQuoteExpiredEvent extends EventBase {
1956
- type: 'fx_quote.expired';
1957
- data: FxQuoteExpiredEvent.Data;
1958
- }
1959
-
1960
- namespace FxQuoteExpiredEvent {
1961
- interface Data extends Stripe.Event.Data {
1962
- object: Stripe.FxQuote;
1963
-
1964
- previous_attributes?: Partial<Stripe.FxQuote>;
1965
- }
1966
- }
1967
-
1968
1607
  /**
1969
1608
  * Occurs whenever a VerificationSession is canceled
1970
1609
  */
@@ -2189,22 +1828,6 @@ declare module 'stripe' {
2189
1828
  }
2190
1829
  }
2191
1830
 
2192
- /**
2193
- * Occurs when an InvoicePayment transitions to paid with a non-zero amount_overpaid.
2194
- */
2195
- interface InvoicePaymentOverpaidEvent extends EventBase {
2196
- type: 'invoice.payment.overpaid';
2197
- data: InvoicePaymentOverpaidEvent.Data;
2198
- }
2199
-
2200
- namespace InvoicePaymentOverpaidEvent {
2201
- interface Data extends Stripe.Event.Data {
2202
- object: Stripe.InvoicePayment;
2203
-
2204
- previous_attributes?: Partial<Stripe.InvoicePayment>;
2205
- }
2206
- }
2207
-
2208
1831
  /**
2209
1832
  * Occurs whenever an invoice payment attempt requires further user action to complete.
2210
1833
  */
@@ -2221,22 +1844,6 @@ declare module 'stripe' {
2221
1844
  }
2222
1845
  }
2223
1846
 
2224
- /**
2225
- * Occurs when an invoice requires a payment using a payment method that cannot be processed by Stripe.
2226
- */
2227
- interface InvoicePaymentAttemptRequiredEvent extends EventBase {
2228
- type: 'invoice.payment_attempt_required';
2229
- data: InvoicePaymentAttemptRequiredEvent.Data;
2230
- }
2231
-
2232
- namespace InvoicePaymentAttemptRequiredEvent {
2233
- interface Data extends Stripe.Event.Data {
2234
- object: Stripe.Invoice;
2235
-
2236
- previous_attributes?: Partial<Stripe.Invoice>;
2237
- }
2238
- }
2239
-
2240
1847
  /**
2241
1848
  * 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.
2242
1849
  */
@@ -2349,6 +1956,22 @@ declare module 'stripe' {
2349
1956
  }
2350
1957
  }
2351
1958
 
1959
+ /**
1960
+ * Occurs when an InvoicePayment is successfully paid.
1961
+ */
1962
+ interface InvoicePaymentPaidEvent extends EventBase {
1963
+ type: 'invoice_payment.paid';
1964
+ data: InvoicePaymentPaidEvent.Data;
1965
+ }
1966
+
1967
+ namespace InvoicePaymentPaidEvent {
1968
+ interface Data extends Stripe.Event.Data {
1969
+ object: Stripe.InvoicePayment;
1970
+
1971
+ previous_attributes?: Partial<Stripe.InvoicePayment>;
1972
+ }
1973
+ }
1974
+
2352
1975
  /**
2353
1976
  * Occurs whenever an invoice item is created.
2354
1977
  */
@@ -2589,54 +2212,6 @@ declare module 'stripe' {
2589
2212
  }
2590
2213
  }
2591
2214
 
2592
- /**
2593
- * Emitted when the DisputeSettlementDetail object is created
2594
- */
2595
- interface IssuingDisputeSettlementDetailCreatedEvent extends EventBase {
2596
- type: 'issuing_dispute_settlement_detail.created';
2597
- data: IssuingDisputeSettlementDetailCreatedEvent.Data;
2598
- }
2599
-
2600
- namespace IssuingDisputeSettlementDetailCreatedEvent {
2601
- interface Data extends Stripe.Event.Data {
2602
- object: Stripe.Issuing.DisputeSettlementDetail;
2603
-
2604
- previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
2605
- }
2606
- }
2607
-
2608
- /**
2609
- * Emitted when the DisputeSettlementDetail object is updated
2610
- */
2611
- interface IssuingDisputeSettlementDetailUpdatedEvent extends EventBase {
2612
- type: 'issuing_dispute_settlement_detail.updated';
2613
- data: IssuingDisputeSettlementDetailUpdatedEvent.Data;
2614
- }
2615
-
2616
- namespace IssuingDisputeSettlementDetailUpdatedEvent {
2617
- interface Data extends Stripe.Event.Data {
2618
- object: Stripe.Issuing.DisputeSettlementDetail;
2619
-
2620
- previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
2621
- }
2622
- }
2623
-
2624
- /**
2625
- * Occurs whenever funds are deducted from your account for fraud dispute loss liability.
2626
- */
2627
- interface IssuingFraudLiabilityDebitCreatedEvent extends EventBase {
2628
- type: 'issuing_fraud_liability_debit.created';
2629
- data: IssuingFraudLiabilityDebitCreatedEvent.Data;
2630
- }
2631
-
2632
- namespace IssuingFraudLiabilityDebitCreatedEvent {
2633
- interface Data extends Stripe.Event.Data {
2634
- object: Stripe.Issuing.FraudLiabilityDebit;
2635
-
2636
- previous_attributes?: Partial<Stripe.Issuing.FraudLiabilityDebit>;
2637
- }
2638
- }
2639
-
2640
2215
  /**
2641
2216
  * Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.
2642
2217
  */
@@ -2701,38 +2276,6 @@ declare module 'stripe' {
2701
2276
  }
2702
2277
  }
2703
2278
 
2704
- /**
2705
- * Occurs whenever an issuing settlement is created.
2706
- */
2707
- interface IssuingSettlementCreatedEvent extends EventBase {
2708
- type: 'issuing_settlement.created';
2709
- data: IssuingSettlementCreatedEvent.Data;
2710
- }
2711
-
2712
- namespace IssuingSettlementCreatedEvent {
2713
- interface Data extends Stripe.Event.Data {
2714
- object: Stripe.Issuing.Settlement;
2715
-
2716
- previous_attributes?: Partial<Stripe.Issuing.Settlement>;
2717
- }
2718
- }
2719
-
2720
- /**
2721
- * Occurs whenever an issuing settlement is updated.
2722
- */
2723
- interface IssuingSettlementUpdatedEvent extends EventBase {
2724
- type: 'issuing_settlement.updated';
2725
- data: IssuingSettlementUpdatedEvent.Data;
2726
- }
2727
-
2728
- namespace IssuingSettlementUpdatedEvent {
2729
- interface Data extends Stripe.Event.Data {
2730
- object: Stripe.Issuing.Settlement;
2731
-
2732
- previous_attributes?: Partial<Stripe.Issuing.Settlement>;
2733
- }
2734
- }
2735
-
2736
2279
  /**
2737
2280
  * Occurs whenever an issuing digital wallet token is created.
2738
2281
  */
@@ -3294,86 +2837,6 @@ declare module 'stripe' {
3294
2837
  }
3295
2838
  }
3296
2839
 
3297
- /**
3298
- * Occurs whenever a redaction job is canceled.
3299
- */
3300
- interface PrivacyRedactionJobCanceledEvent extends EventBase {
3301
- type: 'privacy.redaction_job.canceled';
3302
- data: PrivacyRedactionJobCanceledEvent.Data;
3303
- }
3304
-
3305
- namespace PrivacyRedactionJobCanceledEvent {
3306
- interface Data extends Stripe.Event.Data {
3307
- object: Stripe.Privacy.RedactionJob;
3308
-
3309
- previous_attributes?: Partial<Stripe.Privacy.RedactionJob>;
3310
- }
3311
- }
3312
-
3313
- /**
3314
- * Occurs whenever a redaction job is created.
3315
- */
3316
- interface PrivacyRedactionJobCreatedEvent extends EventBase {
3317
- type: 'privacy.redaction_job.created';
3318
- data: PrivacyRedactionJobCreatedEvent.Data;
3319
- }
3320
-
3321
- namespace PrivacyRedactionJobCreatedEvent {
3322
- interface Data extends Stripe.Event.Data {
3323
- object: Stripe.Privacy.RedactionJob;
3324
-
3325
- previous_attributes?: Partial<Stripe.Privacy.RedactionJob>;
3326
- }
3327
- }
3328
-
3329
- /**
3330
- * Occurs whenever a redaction job has been successfully validated and is ready to run.
3331
- */
3332
- interface PrivacyRedactionJobReadyEvent extends EventBase {
3333
- type: 'privacy.redaction_job.ready';
3334
- data: PrivacyRedactionJobReadyEvent.Data;
3335
- }
3336
-
3337
- namespace PrivacyRedactionJobReadyEvent {
3338
- interface Data extends Stripe.Event.Data {
3339
- object: Stripe.Privacy.RedactionJob;
3340
-
3341
- previous_attributes?: Partial<Stripe.Privacy.RedactionJob>;
3342
- }
3343
- }
3344
-
3345
- /**
3346
- * Occurs whenever a redaction job finishes running.
3347
- */
3348
- interface PrivacyRedactionJobSucceededEvent extends EventBase {
3349
- type: 'privacy.redaction_job.succeeded';
3350
- data: PrivacyRedactionJobSucceededEvent.Data;
3351
- }
3352
-
3353
- namespace PrivacyRedactionJobSucceededEvent {
3354
- interface Data extends Stripe.Event.Data {
3355
- object: Stripe.Privacy.RedactionJob;
3356
-
3357
- previous_attributes?: Partial<Stripe.Privacy.RedactionJob>;
3358
- }
3359
- }
3360
-
3361
- /**
3362
- * Occurs whenever a redaction job fails validation.
3363
- */
3364
- interface PrivacyRedactionJobValidationErrorEvent extends EventBase {
3365
- type: 'privacy.redaction_job.validation_error';
3366
- data: PrivacyRedactionJobValidationErrorEvent.Data;
3367
- }
3368
-
3369
- namespace PrivacyRedactionJobValidationErrorEvent {
3370
- interface Data extends Stripe.Event.Data {
3371
- object: Stripe.Privacy.RedactionJob;
3372
-
3373
- previous_attributes?: Partial<Stripe.Privacy.RedactionJob>;
3374
- }
3375
- }
3376
-
3377
2840
  /**
3378
2841
  * Occurs whenever a product is created.
3379
2842
  */
@@ -3454,22 +2917,6 @@ declare module 'stripe' {
3454
2917
  }
3455
2918
  }
3456
2919
 
3457
- /**
3458
- * Occurs whenever a quote acceptance fails
3459
- */
3460
- interface QuoteAcceptFailedEvent extends EventBase {
3461
- type: 'quote.accept_failed';
3462
- data: QuoteAcceptFailedEvent.Data;
3463
- }
3464
-
3465
- namespace QuoteAcceptFailedEvent {
3466
- interface Data extends Stripe.Event.Data {
3467
- object: Stripe.Quote;
3468
-
3469
- previous_attributes?: Partial<Stripe.Quote>;
3470
- }
3471
- }
3472
-
3473
2920
  /**
3474
2921
  * Occurs whenever a quote is accepted.
3475
2922
  */
@@ -3486,22 +2933,6 @@ declare module 'stripe' {
3486
2933
  }
3487
2934
  }
3488
2935
 
3489
- /**
3490
- * Occurs whenever a quote's status changes to accepting
3491
- */
3492
- interface QuoteAcceptingEvent extends EventBase {
3493
- type: 'quote.accepting';
3494
- data: QuoteAcceptingEvent.Data;
3495
- }
3496
-
3497
- namespace QuoteAcceptingEvent {
3498
- interface Data extends Stripe.Event.Data {
3499
- object: Stripe.Quote;
3500
-
3501
- previous_attributes?: Partial<Stripe.Quote>;
3502
- }
3503
- }
3504
-
3505
2936
  /**
3506
2937
  * Occurs whenever a quote is canceled.
3507
2938
  */
@@ -3534,22 +2965,6 @@ declare module 'stripe' {
3534
2965
  }
3535
2966
  }
3536
2967
 
3537
- /**
3538
- * Occurs when a quote's status changes from stale to draft
3539
- */
3540
- interface QuoteDraftEvent extends EventBase {
3541
- type: 'quote.draft';
3542
- data: QuoteDraftEvent.Data;
3543
- }
3544
-
3545
- namespace QuoteDraftEvent {
3546
- interface Data extends Stripe.Event.Data {
3547
- object: Stripe.Quote;
3548
-
3549
- previous_attributes?: Partial<Stripe.Quote>;
3550
- }
3551
- }
3552
-
3553
2968
  /**
3554
2969
  * Occurs whenever a quote is finalized.
3555
2970
  */
@@ -3566,54 +2981,6 @@ declare module 'stripe' {
3566
2981
  }
3567
2982
  }
3568
2983
 
3569
- /**
3570
- * Occurs whenever a quote reestimate fails
3571
- */
3572
- interface QuoteReestimateFailedEvent extends EventBase {
3573
- type: 'quote.reestimate_failed';
3574
- data: QuoteReestimateFailedEvent.Data;
3575
- }
3576
-
3577
- namespace QuoteReestimateFailedEvent {
3578
- interface Data extends Stripe.Event.Data {
3579
- object: Stripe.Quote;
3580
-
3581
- previous_attributes?: Partial<Stripe.Quote>;
3582
- }
3583
- }
3584
-
3585
- /**
3586
- * Occurs whenever an async job to compute preview subscription schedules/upcoming invoices for the quote has completed.
3587
- */
3588
- interface QuoteReestimatedEvent extends EventBase {
3589
- type: 'quote.reestimated';
3590
- data: QuoteReestimatedEvent.Data;
3591
- }
3592
-
3593
- namespace QuoteReestimatedEvent {
3594
- interface Data extends Stripe.Event.Data {
3595
- object: Stripe.Quote;
3596
-
3597
- previous_attributes?: Partial<Stripe.Quote>;
3598
- }
3599
- }
3600
-
3601
- /**
3602
- * Occurs whenever a quote's status changes to stale
3603
- */
3604
- interface QuoteStaleEvent extends EventBase {
3605
- type: 'quote.stale';
3606
- data: QuoteStaleEvent.Data;
3607
- }
3608
-
3609
- namespace QuoteStaleEvent {
3610
- interface Data extends Stripe.Event.Data {
3611
- object: Stripe.Quote;
3612
-
3613
- previous_attributes?: Partial<Stripe.Quote>;
3614
- }
3615
- }
3616
-
3617
2984
  /**
3618
2985
  * Occurs whenever an early fraud warning is created.
3619
2986
  */
@@ -4062,22 +3429,6 @@ declare module 'stripe' {
4062
3429
  }
4063
3430
  }
4064
3431
 
4065
- /**
4066
- * Occurs whenever a price migration failed to transition prices on a subscription schedule.
4067
- */
4068
- interface SubscriptionSchedulePriceMigrationFailedEvent extends EventBase {
4069
- type: 'subscription_schedule.price_migration_failed';
4070
- data: SubscriptionSchedulePriceMigrationFailedEvent.Data;
4071
- }
4072
-
4073
- namespace SubscriptionSchedulePriceMigrationFailedEvent {
4074
- interface Data extends Stripe.Event.Data {
4075
- object: Stripe.SubscriptionSchedule;
4076
-
4077
- previous_attributes?: Partial<Stripe.SubscriptionSchedule>;
4078
- }
4079
- }
4080
-
4081
3432
  /**
4082
3433
  * Occurs whenever a new subscription schedule is released.
4083
3434
  */
@@ -4110,22 +3461,6 @@ declare module 'stripe' {
4110
3461
  }
4111
3462
  }
4112
3463
 
4113
- /**
4114
- * Occurs when a tax form is updated.
4115
- */
4116
- interface TaxFormUpdatedEvent extends EventBase {
4117
- type: 'tax.form.updated';
4118
- data: TaxFormUpdatedEvent.Data;
4119
- }
4120
-
4121
- namespace TaxFormUpdatedEvent {
4122
- interface Data extends Stripe.Event.Data {
4123
- object: Stripe.Tax.Form;
4124
-
4125
- previous_attributes?: Partial<Stripe.Tax.Form>;
4126
- }
4127
- }
4128
-
4129
3464
  /**
4130
3465
  * Occurs whenever tax settings is updated.
4131
3466
  */
@@ -4206,22 +3541,6 @@ declare module 'stripe' {
4206
3541
  }
4207
3542
  }
4208
3543
 
4209
- /**
4210
- * Occurs whenever an action sent to a Terminal reader is updated.
4211
- */
4212
- interface TerminalReaderActionUpdatedEvent extends EventBase {
4213
- type: 'terminal.reader.action_updated';
4214
- data: TerminalReaderActionUpdatedEvent.Data;
4215
- }
4216
-
4217
- namespace TerminalReaderActionUpdatedEvent {
4218
- interface Data extends Stripe.Event.Data {
4219
- object: Stripe.Terminal.Reader;
4220
-
4221
- previous_attributes?: Partial<Stripe.Terminal.Reader>;
4222
- }
4223
- }
4224
-
4225
3544
  /**
4226
3545
  * Occurs whenever a test clock starts advancing.
4227
3546
  */