stripe 18.2.1 → 18.3.0-beta.2

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 (293) hide show
  1. package/CHANGELOG.md +1243 -14
  2. package/README.md +1 -0
  3. package/VERSION +1 -1
  4. package/cjs/Error.js +91 -1
  5. package/cjs/RequestSender.js +1 -1
  6. package/cjs/apiVersion.js +1 -1
  7. package/cjs/resources/AccountNotices.js +21 -0
  8. package/cjs/resources/BalanceSettings.js +10 -0
  9. package/cjs/resources/Capital/FinancingOffers.js +21 -0
  10. package/cjs/resources/Capital/FinancingSummary.js +12 -0
  11. package/cjs/resources/Capital/FinancingTransactions.js +17 -0
  12. package/cjs/resources/ExternalAccounts.js +23 -0
  13. package/cjs/resources/FinancialConnections/Accounts.js +5 -0
  14. package/cjs/resources/FinancialConnections/Institutions.js +17 -0
  15. package/cjs/resources/FxQuotes.js +15 -0
  16. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
  17. package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
  18. package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
  19. package/cjs/resources/Margins.js +22 -0
  20. package/cjs/resources/Orders.js +24 -0
  21. package/cjs/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +4 -4
  22. package/cjs/resources/PaymentIntents.js +13 -0
  23. package/cjs/resources/PaymentRecords.js +29 -0
  24. package/cjs/resources/Privacy/RedactionJobs.js +42 -0
  25. package/cjs/resources/Quotes.js +32 -0
  26. package/cjs/resources/SubscriptionSchedules.js +4 -0
  27. package/cjs/resources/Subscriptions.js +4 -0
  28. package/cjs/resources/Tax/Associations.js +9 -0
  29. package/cjs/resources/Tax/Forms.js +20 -0
  30. package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
  31. package/cjs/resources/Terminal/Readers.js +8 -0
  32. package/cjs/resources/V2/Core/AccountLinks.js +9 -0
  33. package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
  34. package/cjs/resources/V2/Core/Accounts.js +25 -0
  35. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +28 -0
  36. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +24 -0
  37. package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
  38. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +17 -0
  39. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
  40. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
  41. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +16 -0
  42. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
  43. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
  44. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
  45. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
  46. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
  47. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
  48. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
  49. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
  50. package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
  51. package/cjs/resources/V2/Payments/OffSessionPayments.js +25 -0
  52. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
  53. package/cjs/resources.js +98 -10
  54. package/cjs/stripe.core.js +1 -1
  55. package/esm/Error.js +79 -0
  56. package/esm/RequestSender.js +1 -1
  57. package/esm/apiVersion.js +1 -1
  58. package/esm/resources/AccountNotices.js +18 -0
  59. package/esm/resources/BalanceSettings.js +7 -0
  60. package/esm/resources/Capital/FinancingOffers.js +18 -0
  61. package/esm/resources/Capital/FinancingSummary.js +9 -0
  62. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  63. package/esm/resources/ExternalAccounts.js +20 -0
  64. package/esm/resources/FinancialConnections/Accounts.js +5 -0
  65. package/esm/resources/FinancialConnections/Institutions.js +14 -0
  66. package/esm/resources/FxQuotes.js +12 -0
  67. package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
  68. package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
  69. package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
  70. package/esm/resources/Margins.js +19 -0
  71. package/esm/resources/Orders.js +21 -0
  72. package/esm/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +3 -3
  73. package/esm/resources/PaymentIntents.js +13 -0
  74. package/esm/resources/PaymentRecords.js +26 -0
  75. package/esm/resources/Privacy/RedactionJobs.js +39 -0
  76. package/esm/resources/Quotes.js +32 -0
  77. package/esm/resources/SubscriptionSchedules.js +4 -0
  78. package/esm/resources/Subscriptions.js +4 -0
  79. package/esm/resources/Tax/Associations.js +6 -0
  80. package/esm/resources/Tax/Forms.js +17 -0
  81. package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
  82. package/esm/resources/Terminal/Readers.js +8 -0
  83. package/esm/resources/V2/Core/AccountLinks.js +6 -0
  84. package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
  85. package/esm/resources/V2/Core/Accounts.js +22 -0
  86. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +25 -0
  87. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +21 -0
  88. package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
  89. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +14 -0
  90. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
  91. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
  92. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +13 -0
  93. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
  94. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
  95. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
  96. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
  97. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
  98. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
  99. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
  100. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
  101. package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
  102. package/esm/resources/V2/Payments/OffSessionPayments.js +22 -0
  103. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
  104. package/esm/resources.js +82 -1
  105. package/esm/stripe.core.js +1 -1
  106. package/package.json +1 -1
  107. package/types/AccountLinksResource.d.ts +5 -1
  108. package/types/AccountNotices.d.ts +113 -0
  109. package/types/AccountNoticesResource.d.ts +98 -0
  110. package/types/AccountSessions.d.ts +45 -0
  111. package/types/AccountSessionsResource.d.ts +264 -0
  112. package/types/Accounts.d.ts +212 -1
  113. package/types/AccountsResource.d.ts +544 -0
  114. package/types/BalanceSettings.d.ts +89 -0
  115. package/types/BalanceSettingsResource.d.ts +108 -0
  116. package/types/Billing/CreditBalanceSummary.d.ts +5 -0
  117. package/types/Billing/CreditBalanceSummaryResource.d.ts +8 -3
  118. package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
  119. package/types/Billing/CreditGrants.d.ts +5 -0
  120. package/types/Billing/CreditGrantsResource.d.ts +11 -1
  121. package/types/BillingPortal/Sessions.d.ts +5 -0
  122. package/types/BillingPortal/SessionsResource.d.ts +12 -4
  123. package/types/Capital/FinancingOffers.d.ts +188 -0
  124. package/types/Capital/FinancingOffersResource.d.ts +97 -0
  125. package/types/Capital/FinancingSummary.d.ts +106 -0
  126. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  127. package/types/Capital/FinancingTransactions.d.ts +135 -0
  128. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  129. package/types/Cards.d.ts +5 -0
  130. package/types/CashBalances.d.ts +5 -0
  131. package/types/Charges.d.ts +166 -0
  132. package/types/ChargesResource.d.ts +1406 -0
  133. package/types/Checkout/Sessions.d.ts +314 -1
  134. package/types/Checkout/SessionsResource.d.ts +340 -1
  135. package/types/ConfirmationTokens.d.ts +125 -0
  136. package/types/Coupons.d.ts +33 -0
  137. package/types/CouponsResource.d.ts +21 -0
  138. package/types/CreditNoteLineItems.d.ts +17 -0
  139. package/types/CreditNotes.d.ts +5 -0
  140. package/types/CreditNotesResource.d.ts +5 -0
  141. package/types/CustomerBalanceTransactions.d.ts +2 -0
  142. package/types/CustomerCashBalanceTransactions.d.ts +2 -0
  143. package/types/CustomerSessions.d.ts +5 -0
  144. package/types/CustomerSessionsResource.d.ts +6 -1
  145. package/types/Customers.d.ts +2 -0
  146. package/types/CustomersResource.d.ts +8 -0
  147. package/types/Discounts.d.ts +10 -0
  148. package/types/Errors.d.ts +69 -2
  149. package/types/EventTypes.d.ts +681 -0
  150. package/types/Events.d.ts +98 -0
  151. package/types/ExternalAccountsResource.d.ts +304 -0
  152. package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
  153. package/types/FinancialConnections/Accounts.d.ts +36 -1
  154. package/types/FinancialConnections/AccountsResource.d.ts +40 -3
  155. package/types/FinancialConnections/Institutions.d.ts +98 -0
  156. package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
  157. package/types/FinancialConnections/Sessions.d.ts +51 -1
  158. package/types/FinancialConnections/SessionsResource.d.ts +43 -1
  159. package/types/FxQuotes.d.ts +153 -0
  160. package/types/FxQuotesResource.d.ts +130 -0
  161. package/types/Identity/VerificationSessions.d.ts +5 -0
  162. package/types/Identity/VerificationSessionsResource.d.ts +7 -0
  163. package/types/InvoiceItems.d.ts +10 -0
  164. package/types/InvoiceItemsResource.d.ts +117 -6
  165. package/types/InvoiceLineItems.d.ts +45 -1
  166. package/types/InvoicePayments.d.ts +5 -0
  167. package/types/Invoices.d.ts +133 -3
  168. package/types/InvoicesResource.d.ts +1458 -13
  169. package/types/Issuing/CardholdersResource.d.ts +2 -1
  170. package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
  171. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
  172. package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
  173. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
  174. package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
  175. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
  176. package/types/Issuing/Settlements.d.ts +113 -0
  177. package/types/Issuing/Transactions.d.ts +5 -0
  178. package/types/Issuing/TransactionsResource.d.ts +5 -0
  179. package/types/LineItems.d.ts +49 -0
  180. package/types/Mandates.d.ts +77 -0
  181. package/types/Margins.d.ts +56 -0
  182. package/types/MarginsResource.d.ts +114 -0
  183. package/types/Orders.d.ts +1159 -0
  184. package/types/OrdersResource.d.ts +2967 -0
  185. package/types/PaymentAttemptRecords.d.ts +2132 -0
  186. package/types/PaymentAttemptRecordsResource.d.ts +47 -0
  187. package/types/PaymentIntentAmountDetailsLineItems.d.ts +116 -0
  188. package/types/PaymentIntents.d.ts +764 -2
  189. package/types/PaymentIntentsResource.d.ts +8819 -4111
  190. package/types/PaymentLinks.d.ts +6 -0
  191. package/types/PaymentLinksResource.d.ts +12 -0
  192. package/types/PaymentMethodConfigurations.d.ts +180 -0
  193. package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
  194. package/types/PaymentMethods.d.ts +125 -0
  195. package/types/PaymentMethodsResource.d.ts +167 -2
  196. package/types/PaymentRecords.d.ts +2125 -0
  197. package/types/PaymentRecordsResource.d.ts +455 -0
  198. package/types/Payouts.d.ts +5 -0
  199. package/types/PayoutsResource.d.ts +5 -0
  200. package/types/Prices.d.ts +22 -0
  201. package/types/PricesResource.d.ts +22 -0
  202. package/types/Privacy/RedactionJobValidationErrors.d.ts +60 -0
  203. package/types/Privacy/RedactionJobs.d.ts +111 -0
  204. package/types/Privacy/RedactionJobsResource.d.ts +230 -0
  205. package/types/PromotionCodes.d.ts +5 -0
  206. package/types/PromotionCodesResource.d.ts +10 -0
  207. package/types/QuoteLines.d.ts +634 -0
  208. package/types/QuotePreviewInvoices.d.ts +1695 -0
  209. package/types/QuotePreviewSubscriptionSchedules.d.ts +831 -0
  210. package/types/Quotes.d.ts +603 -1
  211. package/types/QuotesResource.d.ts +2572 -218
  212. package/types/Refunds.d.ts +14 -0
  213. package/types/SetupAttempts.d.ts +47 -1
  214. package/types/SetupIntents.d.ts +118 -2
  215. package/types/SetupIntentsResource.d.ts +730 -3
  216. package/types/Sources.d.ts +29 -0
  217. package/types/SubscriptionItems.d.ts +30 -0
  218. package/types/SubscriptionItemsResource.d.ts +109 -0
  219. package/types/SubscriptionSchedules.d.ts +212 -0
  220. package/types/SubscriptionSchedulesResource.d.ts +1240 -5
  221. package/types/Subscriptions.d.ts +116 -1
  222. package/types/SubscriptionsResource.d.ts +424 -10
  223. package/types/Tax/Associations.d.ts +82 -0
  224. package/types/Tax/AssociationsResource.d.ts +29 -0
  225. package/types/Tax/Forms.d.ts +220 -0
  226. package/types/Tax/FormsResource.d.ts +107 -0
  227. package/types/TaxIds.d.ts +10 -0
  228. package/types/TaxIdsResource.d.ts +10 -0
  229. package/types/Terminal/ReaderCollectedData.d.ts +51 -0
  230. package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
  231. package/types/Terminal/Readers.d.ts +102 -0
  232. package/types/Terminal/ReadersResource.d.ts +96 -0
  233. package/types/TestHelpers/ConfirmationTokensResource.d.ts +126 -0
  234. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  235. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  236. package/types/Transfers.d.ts +5 -0
  237. package/types/TransfersResource.d.ts +5 -0
  238. package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
  239. package/types/Treasury/FinancialAccounts.d.ts +5 -0
  240. package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
  241. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  242. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  243. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  244. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  245. package/types/V2/Core/AccountLinks.d.ts +106 -0
  246. package/types/V2/Core/AccountLinksResource.d.ts +90 -0
  247. package/types/V2/Core/Accounts/PersonsResource.d.ts +3770 -0
  248. package/types/V2/Core/Accounts.d.ts +8169 -0
  249. package/types/V2/Core/AccountsResource.d.ts +10203 -0
  250. package/types/V2/Core/Persons.d.ts +1867 -0
  251. package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
  252. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
  253. package/types/V2/Core/Vault/UsBankAccounts.d.ts +70 -0
  254. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
  255. package/types/V2/EventTypes.d.ts +907 -5
  256. package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
  257. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +32 -0
  258. package/types/V2/MoneyManagement/Adjustments.d.ts +110 -0
  259. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
  260. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +546 -0
  261. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +52 -0
  262. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +314 -0
  263. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +288 -0
  264. package/types/V2/MoneyManagement/InboundTransfers.d.ts +206 -0
  265. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
  266. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +168 -0
  267. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +115 -0
  268. package/types/V2/MoneyManagement/OutboundPayments.d.ts +278 -0
  269. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
  270. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
  271. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
  272. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +251 -0
  273. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +207 -0
  274. package/types/V2/MoneyManagement/PayoutMethods.d.ts +151 -0
  275. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
  276. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +87 -0
  277. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
  278. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +243 -0
  279. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
  280. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +176 -0
  281. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
  282. package/types/V2/MoneyManagement/TransactionEntries.d.ts +155 -0
  283. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
  284. package/types/V2/MoneyManagement/Transactions.d.ts +170 -0
  285. package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
  286. package/types/V2/Payments/OffSessionPayments.d.ts +162 -0
  287. package/types/V2/Payments/OffSessionPaymentsResource.d.ts +159 -0
  288. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +66 -0
  289. package/types/WebhookEndpointsResource.d.ts +80 -0
  290. package/types/index.d.ts +141 -5
  291. package/types/lib.d.ts +11 -1
  292. package/types/test/typescriptTest.ts +3 -3
  293. package/types/InvoicePaymentsResource.d.ts +0 -74
@@ -9,10 +9,13 @@ 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
15
17
  | BalanceAvailableEvent
18
+ | BalanceSettingsUpdatedEvent
16
19
  | BillingAlertTriggeredEvent
17
20
  | BillingCreditBalanceTransactionCreatedEvent
18
21
  | BillingCreditGrantCreatedEvent
@@ -25,6 +28,15 @@ declare module 'stripe' {
25
28
  | BillingPortalConfigurationUpdatedEvent
26
29
  | BillingPortalSessionCreatedEvent
27
30
  | CapabilityUpdatedEvent
31
+ | CapitalFinancingOfferAcceptedEvent
32
+ | CapitalFinancingOfferCanceledEvent
33
+ | CapitalFinancingOfferCreatedEvent
34
+ | CapitalFinancingOfferExpiredEvent
35
+ | CapitalFinancingOfferFullyRepaidEvent
36
+ | CapitalFinancingOfferPaidOutEvent
37
+ | CapitalFinancingOfferRejectedEvent
38
+ | CapitalFinancingOfferReplacementCreatedEvent
39
+ | CapitalFinancingTransactionCreatedEvent
28
40
  | CashBalanceFundsAvailableEvent
29
41
  | ChargeCapturedEvent
30
42
  | ChargeDisputeClosedEvent
@@ -65,11 +77,15 @@ declare module 'stripe' {
65
77
  | CustomerSourceDeletedEvent
66
78
  | CustomerSourceExpiringEvent
67
79
  | CustomerSourceUpdatedEvent
80
+ | CustomerSubscriptionCollectionPausedEvent
81
+ | CustomerSubscriptionCollectionResumedEvent
68
82
  | CustomerSubscriptionCreatedEvent
83
+ | CustomerSubscriptionCustomEventEvent
69
84
  | CustomerSubscriptionDeletedEvent
70
85
  | CustomerSubscriptionPausedEvent
71
86
  | CustomerSubscriptionPendingUpdateAppliedEvent
72
87
  | CustomerSubscriptionPendingUpdateExpiredEvent
88
+ | CustomerSubscriptionPriceMigrationFailedEvent
73
89
  | CustomerSubscriptionResumedEvent
74
90
  | CustomerSubscriptionTrialWillEndEvent
75
91
  | CustomerSubscriptionUpdatedEvent
@@ -85,8 +101,11 @@ declare module 'stripe' {
85
101
  | FinancialConnectionsAccountDisconnectedEvent
86
102
  | FinancialConnectionsAccountReactivatedEvent
87
103
  | FinancialConnectionsAccountRefreshedBalanceEvent
104
+ | FinancialConnectionsAccountRefreshedInferredBalancesEvent
88
105
  | FinancialConnectionsAccountRefreshedOwnershipEvent
89
106
  | FinancialConnectionsAccountRefreshedTransactionsEvent
107
+ | FinancialConnectionsSessionUpdatedEvent
108
+ | FxQuoteExpiredEvent
90
109
  | IdentityVerificationSessionCanceledEvent
91
110
  | IdentityVerificationSessionCreatedEvent
92
111
  | IdentityVerificationSessionProcessingEvent
@@ -101,7 +120,9 @@ declare module 'stripe' {
101
120
  | InvoiceOverdueEvent
102
121
  | InvoiceOverpaidEvent
103
122
  | InvoicePaidEvent
123
+ | InvoicePaymentOverpaidEvent
104
124
  | InvoicePaymentActionRequiredEvent
125
+ | InvoicePaymentAttemptRequiredEvent
105
126
  | InvoicePaymentFailedEvent
106
127
  | InvoicePaymentSucceededEvent
107
128
  | InvoiceSentEvent
@@ -125,10 +146,15 @@ declare module 'stripe' {
125
146
  | IssuingDisputeFundsRescindedEvent
126
147
  | IssuingDisputeSubmittedEvent
127
148
  | IssuingDisputeUpdatedEvent
149
+ | IssuingDisputeSettlementDetailCreatedEvent
150
+ | IssuingDisputeSettlementDetailUpdatedEvent
151
+ | IssuingFraudLiabilityDebitCreatedEvent
128
152
  | IssuingPersonalizationDesignActivatedEvent
129
153
  | IssuingPersonalizationDesignDeactivatedEvent
130
154
  | IssuingPersonalizationDesignRejectedEvent
131
155
  | IssuingPersonalizationDesignUpdatedEvent
156
+ | IssuingSettlementCreatedEvent
157
+ | IssuingSettlementUpdatedEvent
132
158
  | IssuingTokenCreatedEvent
133
159
  | IssuingTokenUpdatedEvent
134
160
  | IssuingTransactionCreatedEvent
@@ -164,15 +190,26 @@ declare module 'stripe' {
164
190
  | PriceCreatedEvent
165
191
  | PriceDeletedEvent
166
192
  | PriceUpdatedEvent
193
+ | PrivacyRedactionJobCanceledEvent
194
+ | PrivacyRedactionJobCreatedEvent
195
+ | PrivacyRedactionJobReadyEvent
196
+ | PrivacyRedactionJobSucceededEvent
197
+ | PrivacyRedactionJobValidationErrorEvent
167
198
  | ProductCreatedEvent
168
199
  | ProductDeletedEvent
169
200
  | ProductUpdatedEvent
170
201
  | PromotionCodeCreatedEvent
171
202
  | PromotionCodeUpdatedEvent
203
+ | QuoteAcceptFailedEvent
172
204
  | QuoteAcceptedEvent
205
+ | QuoteAcceptingEvent
173
206
  | QuoteCanceledEvent
174
207
  | QuoteCreatedEvent
208
+ | QuoteDraftEvent
175
209
  | QuoteFinalizedEvent
210
+ | QuoteReestimateFailedEvent
211
+ | QuoteReestimatedEvent
212
+ | QuoteStaleEvent
176
213
  | RadarEarlyFraudWarningCreatedEvent
177
214
  | RadarEarlyFraudWarningUpdatedEvent
178
215
  | RefundCreatedEvent
@@ -201,13 +238,16 @@ declare module 'stripe' {
201
238
  | SubscriptionScheduleCompletedEvent
202
239
  | SubscriptionScheduleCreatedEvent
203
240
  | SubscriptionScheduleExpiringEvent
241
+ | SubscriptionSchedulePriceMigrationFailedEvent
204
242
  | SubscriptionScheduleReleasedEvent
205
243
  | SubscriptionScheduleUpdatedEvent
244
+ | TaxFormUpdatedEvent
206
245
  | TaxSettingsUpdatedEvent
207
246
  | TaxRateCreatedEvent
208
247
  | TaxRateUpdatedEvent
209
248
  | TerminalReaderActionFailedEvent
210
249
  | TerminalReaderActionSucceededEvent
250
+ | TerminalReaderActionUpdatedEvent
211
251
  | TestHelpersTestClockAdvancingEvent
212
252
  | TestHelpersTestClockCreatedEvent
213
253
  | TestHelpersTestClockDeletedEvent
@@ -350,6 +390,38 @@ declare module 'stripe' {
350
390
  }
351
391
  }
352
392
 
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
+
353
425
  /**
354
426
  * Occurs whenever an application fee is created on a charge.
355
427
  */
@@ -414,6 +486,22 @@ declare module 'stripe' {
414
486
  }
415
487
  }
416
488
 
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
+
417
505
  /**
418
506
  * Occurs whenever your custom alert threshold is met.
419
507
  */
@@ -606,6 +694,150 @@ declare module 'stripe' {
606
694
  }
607
695
  }
608
696
 
697
+ /**
698
+ * Occurs whenever a connected account accepts a financing offer.
699
+ */
700
+ interface CapitalFinancingOfferAcceptedEvent extends EventBase {
701
+ type: 'capital.financing_offer.accepted';
702
+ data: CapitalFinancingOfferAcceptedEvent.Data;
703
+ }
704
+
705
+ namespace CapitalFinancingOfferAcceptedEvent {
706
+ interface Data extends Stripe.Event.Data {
707
+ object: Stripe.Capital.FinancingOffer;
708
+
709
+ previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
710
+ }
711
+ }
712
+
713
+ /**
714
+ * Occurs whenever a financing offer is canceled.
715
+ */
716
+ interface CapitalFinancingOfferCanceledEvent extends EventBase {
717
+ type: 'capital.financing_offer.canceled';
718
+ data: CapitalFinancingOfferCanceledEvent.Data;
719
+ }
720
+
721
+ namespace CapitalFinancingOfferCanceledEvent {
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 new financing offer is created for a connected account.
731
+ */
732
+ interface CapitalFinancingOfferCreatedEvent extends EventBase {
733
+ type: 'capital.financing_offer.created';
734
+ data: CapitalFinancingOfferCreatedEvent.Data;
735
+ }
736
+
737
+ namespace CapitalFinancingOfferCreatedEvent {
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 financing offer expires.
747
+ */
748
+ interface CapitalFinancingOfferExpiredEvent extends EventBase {
749
+ type: 'capital.financing_offer.expired';
750
+ data: CapitalFinancingOfferExpiredEvent.Data;
751
+ }
752
+
753
+ namespace CapitalFinancingOfferExpiredEvent {
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 is fully repaid.
763
+ */
764
+ interface CapitalFinancingOfferFullyRepaidEvent extends EventBase {
765
+ type: 'capital.financing_offer.fully_repaid';
766
+ data: CapitalFinancingOfferFullyRepaidEvent.Data;
767
+ }
768
+
769
+ namespace CapitalFinancingOfferFullyRepaidEvent {
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 paid out.
779
+ */
780
+ interface CapitalFinancingOfferPaidOutEvent extends EventBase {
781
+ type: 'capital.financing_offer.paid_out';
782
+ data: CapitalFinancingOfferPaidOutEvent.Data;
783
+ }
784
+
785
+ namespace CapitalFinancingOfferPaidOutEvent {
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 rejected.
795
+ */
796
+ interface CapitalFinancingOfferRejectedEvent extends EventBase {
797
+ type: 'capital.financing_offer.rejected';
798
+ data: CapitalFinancingOfferRejectedEvent.Data;
799
+ }
800
+
801
+ namespace CapitalFinancingOfferRejectedEvent {
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 replacement for a financing offer has been created. More details can be [found here](https://docs.stripe.com/capital/replacements).
811
+ */
812
+ interface CapitalFinancingOfferReplacementCreatedEvent extends EventBase {
813
+ type: 'capital.financing_offer.replacement_created';
814
+ data: CapitalFinancingOfferReplacementCreatedEvent.Data;
815
+ }
816
+
817
+ namespace CapitalFinancingOfferReplacementCreatedEvent {
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 financing transaction is created.
827
+ */
828
+ interface CapitalFinancingTransactionCreatedEvent extends EventBase {
829
+ type: 'capital.financing_transaction.created';
830
+ data: CapitalFinancingTransactionCreatedEvent.Data;
831
+ }
832
+
833
+ namespace CapitalFinancingTransactionCreatedEvent {
834
+ interface Data extends Stripe.Event.Data {
835
+ object: Stripe.Capital.FinancingTransaction;
836
+
837
+ previous_attributes?: Partial<Stripe.Capital.FinancingTransaction>;
838
+ }
839
+ }
840
+
609
841
  /**
610
842
  * 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.
611
843
  */
@@ -1246,6 +1478,38 @@ declare module 'stripe' {
1246
1478
  }
1247
1479
  }
1248
1480
 
1481
+ /**
1482
+ * 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`.
1483
+ */
1484
+ interface CustomerSubscriptionCollectionPausedEvent extends EventBase {
1485
+ type: 'customer.subscription.collection_paused';
1486
+ data: CustomerSubscriptionCollectionPausedEvent.Data;
1487
+ }
1488
+
1489
+ namespace CustomerSubscriptionCollectionPausedEvent {
1490
+ interface Data extends Stripe.Event.Data {
1491
+ object: Stripe.Subscription;
1492
+
1493
+ previous_attributes?: Partial<Stripe.Subscription>;
1494
+ }
1495
+ }
1496
+
1497
+ /**
1498
+ * 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`.
1499
+ */
1500
+ interface CustomerSubscriptionCollectionResumedEvent extends EventBase {
1501
+ type: 'customer.subscription.collection_resumed';
1502
+ data: CustomerSubscriptionCollectionResumedEvent.Data;
1503
+ }
1504
+
1505
+ namespace CustomerSubscriptionCollectionResumedEvent {
1506
+ interface Data extends Stripe.Event.Data {
1507
+ object: Stripe.Subscription;
1508
+
1509
+ previous_attributes?: Partial<Stripe.Subscription>;
1510
+ }
1511
+ }
1512
+
1249
1513
  /**
1250
1514
  * Occurs whenever a customer is signed up for a new plan.
1251
1515
  */
@@ -1262,6 +1526,22 @@ declare module 'stripe' {
1262
1526
  }
1263
1527
  }
1264
1528
 
1529
+ /**
1530
+ * An ad-hoc custom event that is sent based on user configured [Automation](https://docs.stripe.com/billing/automations#send-custom-webhook-event-action).
1531
+ */
1532
+ interface CustomerSubscriptionCustomEventEvent extends EventBase {
1533
+ type: 'customer.subscription.custom_event';
1534
+ data: CustomerSubscriptionCustomEventEvent.Data;
1535
+ }
1536
+
1537
+ namespace CustomerSubscriptionCustomEventEvent {
1538
+ interface Data extends Stripe.Event.Data {
1539
+ object: Stripe.Subscription;
1540
+
1541
+ previous_attributes?: Partial<Stripe.Subscription>;
1542
+ }
1543
+ }
1544
+
1265
1545
  /**
1266
1546
  * Occurs whenever a customer's subscription ends.
1267
1547
  */
@@ -1326,6 +1606,22 @@ declare module 'stripe' {
1326
1606
  }
1327
1607
  }
1328
1608
 
1609
+ /**
1610
+ * Occurs whenever a price migration failed to transition prices on a subscription.
1611
+ */
1612
+ interface CustomerSubscriptionPriceMigrationFailedEvent extends EventBase {
1613
+ type: 'customer.subscription.price_migration_failed';
1614
+ data: CustomerSubscriptionPriceMigrationFailedEvent.Data;
1615
+ }
1616
+
1617
+ namespace CustomerSubscriptionPriceMigrationFailedEvent {
1618
+ interface Data extends Stripe.Event.Data {
1619
+ object: Stripe.Subscription;
1620
+
1621
+ previous_attributes?: Partial<Stripe.Subscription>;
1622
+ }
1623
+ }
1624
+
1329
1625
  /**
1330
1626
  * 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.
1331
1627
  */
@@ -1570,6 +1866,23 @@ declare module 'stripe' {
1570
1866
  }
1571
1867
  }
1572
1868
 
1869
+ /**
1870
+ * Occurs when an Account’s `inferred_balances_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1871
+ */
1872
+ interface FinancialConnectionsAccountRefreshedInferredBalancesEvent
1873
+ extends EventBase {
1874
+ type: 'financial_connections.account.refreshed_inferred_balances';
1875
+ data: FinancialConnectionsAccountRefreshedInferredBalancesEvent.Data;
1876
+ }
1877
+
1878
+ namespace FinancialConnectionsAccountRefreshedInferredBalancesEvent {
1879
+ interface Data extends Stripe.Event.Data {
1880
+ object: Stripe.FinancialConnections.Account;
1881
+
1882
+ previous_attributes?: Partial<Stripe.FinancialConnections.Account>;
1883
+ }
1884
+ }
1885
+
1573
1886
  /**
1574
1887
  * Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1575
1888
  */
@@ -1604,6 +1917,38 @@ declare module 'stripe' {
1604
1917
  }
1605
1918
  }
1606
1919
 
1920
+ /**
1921
+ * Occurs when a Financial Connections Session `status` transitions from `pending` to `failed`, `cancelled`, or `completed`.
1922
+ */
1923
+ interface FinancialConnectionsSessionUpdatedEvent extends EventBase {
1924
+ type: 'financial_connections.session.updated';
1925
+ data: FinancialConnectionsSessionUpdatedEvent.Data;
1926
+ }
1927
+
1928
+ namespace FinancialConnectionsSessionUpdatedEvent {
1929
+ interface Data extends Stripe.Event.Data {
1930
+ object: Stripe.FinancialConnections.Session;
1931
+
1932
+ previous_attributes?: Partial<Stripe.FinancialConnections.Session>;
1933
+ }
1934
+ }
1935
+
1936
+ /**
1937
+ * Occurs when FX Quote's lock_status field transitions to 'Expired'.
1938
+ */
1939
+ interface FxQuoteExpiredEvent extends EventBase {
1940
+ type: 'fx_quote.expired';
1941
+ data: FxQuoteExpiredEvent.Data;
1942
+ }
1943
+
1944
+ namespace FxQuoteExpiredEvent {
1945
+ interface Data extends Stripe.Event.Data {
1946
+ object: Stripe.FxQuote;
1947
+
1948
+ previous_attributes?: Partial<Stripe.FxQuote>;
1949
+ }
1950
+ }
1951
+
1607
1952
  /**
1608
1953
  * Occurs whenever a VerificationSession is canceled
1609
1954
  */
@@ -1828,6 +2173,22 @@ declare module 'stripe' {
1828
2173
  }
1829
2174
  }
1830
2175
 
2176
+ /**
2177
+ * Occurs when an InvoicePayment transitions to paid with a non-zero amount_overpaid.
2178
+ */
2179
+ interface InvoicePaymentOverpaidEvent extends EventBase {
2180
+ type: 'invoice.payment.overpaid';
2181
+ data: InvoicePaymentOverpaidEvent.Data;
2182
+ }
2183
+
2184
+ namespace InvoicePaymentOverpaidEvent {
2185
+ interface Data extends Stripe.Event.Data {
2186
+ object: Stripe.InvoicePayment;
2187
+
2188
+ previous_attributes?: Partial<Stripe.InvoicePayment>;
2189
+ }
2190
+ }
2191
+
1831
2192
  /**
1832
2193
  * Occurs whenever an invoice payment attempt requires further user action to complete.
1833
2194
  */
@@ -1844,6 +2205,22 @@ declare module 'stripe' {
1844
2205
  }
1845
2206
  }
1846
2207
 
2208
+ /**
2209
+ * Occurs when an invoice requires a payment using a payment method that cannot be processed by Stripe.
2210
+ */
2211
+ interface InvoicePaymentAttemptRequiredEvent extends EventBase {
2212
+ type: 'invoice.payment_attempt_required';
2213
+ data: InvoicePaymentAttemptRequiredEvent.Data;
2214
+ }
2215
+
2216
+ namespace InvoicePaymentAttemptRequiredEvent {
2217
+ interface Data extends Stripe.Event.Data {
2218
+ object: Stripe.Invoice;
2219
+
2220
+ previous_attributes?: Partial<Stripe.Invoice>;
2221
+ }
2222
+ }
2223
+
1847
2224
  /**
1848
2225
  * 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.
1849
2226
  */
@@ -2212,6 +2589,54 @@ declare module 'stripe' {
2212
2589
  }
2213
2590
  }
2214
2591
 
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
+
2215
2640
  /**
2216
2641
  * Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.
2217
2642
  */
@@ -2276,6 +2701,38 @@ declare module 'stripe' {
2276
2701
  }
2277
2702
  }
2278
2703
 
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
+
2279
2736
  /**
2280
2737
  * Occurs whenever an issuing digital wallet token is created.
2281
2738
  */
@@ -2837,6 +3294,86 @@ declare module 'stripe' {
2837
3294
  }
2838
3295
  }
2839
3296
 
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
+
2840
3377
  /**
2841
3378
  * Occurs whenever a product is created.
2842
3379
  */
@@ -2917,6 +3454,22 @@ declare module 'stripe' {
2917
3454
  }
2918
3455
  }
2919
3456
 
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
+
2920
3473
  /**
2921
3474
  * Occurs whenever a quote is accepted.
2922
3475
  */
@@ -2933,6 +3486,22 @@ declare module 'stripe' {
2933
3486
  }
2934
3487
  }
2935
3488
 
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
+
2936
3505
  /**
2937
3506
  * Occurs whenever a quote is canceled.
2938
3507
  */
@@ -2965,6 +3534,22 @@ declare module 'stripe' {
2965
3534
  }
2966
3535
  }
2967
3536
 
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
+
2968
3553
  /**
2969
3554
  * Occurs whenever a quote is finalized.
2970
3555
  */
@@ -2981,6 +3566,54 @@ declare module 'stripe' {
2981
3566
  }
2982
3567
  }
2983
3568
 
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
+
2984
3617
  /**
2985
3618
  * Occurs whenever an early fraud warning is created.
2986
3619
  */
@@ -3429,6 +4062,22 @@ declare module 'stripe' {
3429
4062
  }
3430
4063
  }
3431
4064
 
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
+
3432
4081
  /**
3433
4082
  * Occurs whenever a new subscription schedule is released.
3434
4083
  */
@@ -3461,6 +4110,22 @@ declare module 'stripe' {
3461
4110
  }
3462
4111
  }
3463
4112
 
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
+
3464
4129
  /**
3465
4130
  * Occurs whenever tax settings is updated.
3466
4131
  */
@@ -3541,6 +4206,22 @@ declare module 'stripe' {
3541
4206
  }
3542
4207
  }
3543
4208
 
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
+
3544
4225
  /**
3545
4226
  * Occurs whenever a test clock starts advancing.
3546
4227
  */