stripe 18.5.0 → 18.6.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (300) hide show
  1. package/CHANGELOG.md +1364 -33
  2. package/README.md +4 -5
  3. package/VERSION +1 -1
  4. package/cjs/Error.js +107 -1
  5. package/cjs/apiVersion.js +2 -3
  6. package/cjs/resources/AccountNotices.js +21 -0
  7. package/cjs/resources/BalanceSettings.js +10 -0
  8. package/cjs/resources/Billing/MeterUsage.js +12 -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/Mandates.js +5 -0
  20. package/cjs/resources/Margins.js +22 -0
  21. package/cjs/resources/Orders.js +24 -0
  22. package/cjs/resources/PaymentAttemptRecords.js +17 -0
  23. package/cjs/resources/PaymentIntents.js +13 -0
  24. package/cjs/resources/PaymentRecords.js +29 -0
  25. package/cjs/resources/Privacy/RedactionJobs.js +42 -0
  26. package/cjs/resources/Quotes.js +32 -0
  27. package/cjs/resources/SubscriptionSchedules.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/OnboardingLinks.js +12 -0
  31. package/cjs/resources/Terminal/ReaderCollectedData.js +12 -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 +25 -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 +102 -8
  54. package/cjs/stripe.core.js +1 -1
  55. package/esm/Error.js +93 -0
  56. package/esm/apiVersion.js +1 -2
  57. package/esm/resources/AccountNotices.js +18 -0
  58. package/esm/resources/BalanceSettings.js +7 -0
  59. package/esm/resources/Billing/MeterUsage.js +9 -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/Mandates.js +5 -0
  71. package/esm/resources/Margins.js +19 -0
  72. package/esm/resources/Orders.js +21 -0
  73. package/esm/resources/PaymentAttemptRecords.js +14 -0
  74. package/esm/resources/PaymentIntents.js +13 -0
  75. package/esm/resources/PaymentRecords.js +26 -0
  76. package/esm/resources/Privacy/RedactionJobs.js +39 -0
  77. package/esm/resources/Quotes.js +32 -0
  78. package/esm/resources/SubscriptionSchedules.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/OnboardingLinks.js +9 -0
  82. package/esm/resources/Terminal/ReaderCollectedData.js +9 -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 +22 -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 +86 -0
  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 +97 -0
  115. package/types/BalanceSettingsResource.d.ts +119 -0
  116. package/types/Billing/AlertTriggereds.d.ts +1 -1
  117. package/types/Billing/CreditBalanceSummary.d.ts +5 -0
  118. package/types/Billing/CreditBalanceSummaryResource.d.ts +8 -3
  119. package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
  120. package/types/Billing/CreditGrants.d.ts +5 -0
  121. package/types/Billing/CreditGrantsResource.d.ts +11 -1
  122. package/types/Billing/MeterUsage.d.ts +32 -0
  123. package/types/Billing/MeterUsageResource.d.ts +685 -0
  124. package/types/Billing/MeterUsageRows.d.ts +49 -0
  125. package/types/BillingPortal/Sessions.d.ts +5 -0
  126. package/types/BillingPortal/SessionsResource.d.ts +12 -4
  127. package/types/Capital/FinancingOffers.d.ts +188 -0
  128. package/types/Capital/FinancingOffersResource.d.ts +97 -0
  129. package/types/Capital/FinancingSummary.d.ts +106 -0
  130. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  131. package/types/Capital/FinancingTransactions.d.ts +135 -0
  132. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  133. package/types/Cards.d.ts +5 -0
  134. package/types/CashBalances.d.ts +5 -0
  135. package/types/Charges.d.ts +171 -0
  136. package/types/ChargesResource.d.ts +1406 -0
  137. package/types/Checkout/Sessions.d.ts +374 -2
  138. package/types/Checkout/SessionsResource.d.ts +520 -2
  139. package/types/ConfirmationTokens.d.ts +125 -0
  140. package/types/Coupons.d.ts +33 -0
  141. package/types/CouponsResource.d.ts +21 -0
  142. package/types/CreditNoteLineItems.d.ts +17 -0
  143. package/types/CreditNotes.d.ts +5 -0
  144. package/types/CreditNotesResource.d.ts +5 -0
  145. package/types/CustomerBalanceTransactions.d.ts +2 -0
  146. package/types/CustomerCashBalanceTransactions.d.ts +2 -0
  147. package/types/CustomerSessions.d.ts +5 -0
  148. package/types/CustomerSessionsResource.d.ts +6 -1
  149. package/types/Customers.d.ts +2 -0
  150. package/types/CustomersResource.d.ts +8 -0
  151. package/types/Discounts.d.ts +10 -0
  152. package/types/Disputes.d.ts +29 -0
  153. package/types/Errors.d.ts +79 -0
  154. package/types/EventTypes.d.ts +664 -0
  155. package/types/Events.d.ts +97 -0
  156. package/types/ExternalAccountsResource.d.ts +304 -0
  157. package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
  158. package/types/FinancialConnections/Accounts.d.ts +36 -1
  159. package/types/FinancialConnections/AccountsResource.d.ts +40 -3
  160. package/types/FinancialConnections/Institutions.d.ts +98 -0
  161. package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
  162. package/types/FinancialConnections/Sessions.d.ts +51 -1
  163. package/types/FinancialConnections/SessionsResource.d.ts +43 -1
  164. package/types/FxQuotes.d.ts +155 -0
  165. package/types/FxQuotesResource.d.ts +130 -0
  166. package/types/Identity/VerificationSessions.d.ts +5 -0
  167. package/types/Identity/VerificationSessionsResource.d.ts +7 -0
  168. package/types/InvoiceItems.d.ts +10 -0
  169. package/types/InvoiceItemsResource.d.ts +117 -6
  170. package/types/InvoiceLineItems.d.ts +45 -1
  171. package/types/InvoicePayments.d.ts +5 -0
  172. package/types/InvoicePaymentsResource.d.ts +10 -1
  173. package/types/Invoices.d.ts +171 -3
  174. package/types/InvoicesResource.d.ts +1533 -22
  175. package/types/Issuing/CardholdersResource.d.ts +2 -1
  176. package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
  177. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
  178. package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
  179. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
  180. package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
  181. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
  182. package/types/Issuing/Settlements.d.ts +113 -0
  183. package/types/Issuing/Transactions.d.ts +5 -0
  184. package/types/Issuing/TransactionsResource.d.ts +5 -0
  185. package/types/LineItems.d.ts +49 -0
  186. package/types/Mandates.d.ts +135 -1
  187. package/types/MandatesResource.d.ts +31 -0
  188. package/types/Margins.d.ts +56 -0
  189. package/types/MarginsResource.d.ts +114 -0
  190. package/types/Orders.d.ts +1163 -0
  191. package/types/OrdersResource.d.ts +3139 -0
  192. package/types/PaymentAttemptRecords.d.ts +2321 -0
  193. package/types/PaymentAttemptRecordsResource.d.ts +52 -0
  194. package/types/PaymentIntentAmountDetailsLineItems.d.ts +116 -0
  195. package/types/PaymentIntents.d.ts +836 -3
  196. package/types/PaymentIntentsResource.d.ts +11610 -5775
  197. package/types/PaymentLinks.d.ts +6 -0
  198. package/types/PaymentLinksResource.d.ts +12 -0
  199. package/types/PaymentMethodConfigurations.d.ts +180 -0
  200. package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
  201. package/types/PaymentMethods.d.ts +130 -0
  202. package/types/PaymentMethodsResource.d.ts +167 -2
  203. package/types/PaymentRecords.d.ts +2314 -0
  204. package/types/PaymentRecordsResource.d.ts +476 -0
  205. package/types/Prices.d.ts +22 -0
  206. package/types/PricesResource.d.ts +22 -0
  207. package/types/Privacy/RedactionJobValidationErrors.d.ts +60 -0
  208. package/types/Privacy/RedactionJobs.d.ts +111 -0
  209. package/types/Privacy/RedactionJobsResource.d.ts +230 -0
  210. package/types/PromotionCodes.d.ts +5 -0
  211. package/types/PromotionCodesResource.d.ts +10 -0
  212. package/types/QuoteLines.d.ts +634 -0
  213. package/types/QuotePreviewInvoices.d.ts +1736 -0
  214. package/types/QuotePreviewSubscriptionSchedules.d.ts +892 -0
  215. package/types/Quotes.d.ts +594 -1
  216. package/types/QuotesResource.d.ts +2577 -232
  217. package/types/Refunds.d.ts +14 -0
  218. package/types/SetupAttempts.d.ts +51 -1
  219. package/types/SetupIntents.d.ts +210 -2
  220. package/types/SetupIntentsResource.d.ts +938 -4
  221. package/types/Sources.d.ts +29 -0
  222. package/types/SubscriptionItems.d.ts +21 -0
  223. package/types/SubscriptionItemsResource.d.ts +109 -0
  224. package/types/SubscriptionSchedules.d.ts +205 -0
  225. package/types/SubscriptionSchedulesResource.d.ts +1233 -5
  226. package/types/Subscriptions.d.ts +135 -1
  227. package/types/SubscriptionsResource.d.ts +472 -8
  228. package/types/Tax/Associations.d.ts +82 -0
  229. package/types/Tax/AssociationsResource.d.ts +29 -0
  230. package/types/Tax/Forms.d.ts +220 -0
  231. package/types/Tax/FormsResource.d.ts +107 -0
  232. package/types/TaxIds.d.ts +10 -0
  233. package/types/TaxIdsResource.d.ts +10 -0
  234. package/types/Terminal/Configurations.d.ts +9 -0
  235. package/types/Terminal/ConfigurationsResource.d.ts +28 -0
  236. package/types/Terminal/OnboardingLinks.d.ts +57 -0
  237. package/types/Terminal/OnboardingLinksResource.d.ts +62 -0
  238. package/types/Terminal/ReaderCollectedData.d.ts +51 -0
  239. package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
  240. package/types/Terminal/Readers.d.ts +20 -0
  241. package/types/TestHelpers/ConfirmationTokensResource.d.ts +126 -0
  242. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  243. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  244. package/types/Transfers.d.ts +5 -0
  245. package/types/TransfersResource.d.ts +5 -0
  246. package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
  247. package/types/Treasury/FinancialAccounts.d.ts +5 -0
  248. package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
  249. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  250. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  251. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  252. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  253. package/types/V2/Core/AccountLinks.d.ts +168 -0
  254. package/types/V2/Core/AccountLinksResource.d.ts +152 -0
  255. package/types/V2/Core/Accounts/PersonsResource.d.ts +3812 -0
  256. package/types/V2/Core/Accounts.d.ts +8862 -0
  257. package/types/V2/Core/AccountsResource.d.ts +10704 -0
  258. package/types/V2/Core/Persons.d.ts +1888 -0
  259. package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
  260. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
  261. package/types/V2/Core/Vault/UsBankAccounts.d.ts +70 -0
  262. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
  263. package/types/V2/EventTypes.d.ts +961 -1
  264. package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
  265. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +32 -0
  266. package/types/V2/MoneyManagement/Adjustments.d.ts +110 -0
  267. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
  268. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +585 -0
  269. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +331 -0
  270. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +314 -0
  271. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +289 -0
  272. package/types/V2/MoneyManagement/InboundTransfers.d.ts +206 -0
  273. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
  274. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +168 -0
  275. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +115 -0
  276. package/types/V2/MoneyManagement/OutboundPayments.d.ts +278 -0
  277. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
  278. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
  279. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
  280. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +251 -0
  281. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +208 -0
  282. package/types/V2/MoneyManagement/PayoutMethods.d.ts +160 -0
  283. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
  284. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +87 -0
  285. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
  286. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +262 -0
  287. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
  288. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +176 -0
  289. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
  290. package/types/V2/MoneyManagement/TransactionEntries.d.ts +162 -0
  291. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
  292. package/types/V2/MoneyManagement/Transactions.d.ts +177 -0
  293. package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
  294. package/types/V2/Payments/OffSessionPayments.d.ts +179 -0
  295. package/types/V2/Payments/OffSessionPaymentsResource.d.ts +174 -0
  296. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +68 -0
  297. package/types/WebhookEndpointsResource.d.ts +78 -0
  298. package/types/index.d.ts +145 -0
  299. package/types/lib.d.ts +11 -1
  300. package/types/test/typescriptTest.ts +3 -3
@@ -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,8 +238,10 @@ 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
@@ -351,6 +390,38 @@ declare module 'stripe' {
351
390
  }
352
391
  }
353
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
+
354
425
  /**
355
426
  * Occurs whenever an application fee is created on a charge.
356
427
  */
@@ -415,6 +486,22 @@ declare module 'stripe' {
415
486
  }
416
487
  }
417
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
+
418
505
  /**
419
506
  * Occurs whenever your custom alert threshold is met.
420
507
  */
@@ -607,6 +694,150 @@ declare module 'stripe' {
607
694
  }
608
695
  }
609
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
+
610
841
  /**
611
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.
612
843
  */
@@ -1247,6 +1478,38 @@ declare module 'stripe' {
1247
1478
  }
1248
1479
  }
1249
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
+
1250
1513
  /**
1251
1514
  * Occurs whenever a customer is signed up for a new plan.
1252
1515
  */
@@ -1263,6 +1526,22 @@ declare module 'stripe' {
1263
1526
  }
1264
1527
  }
1265
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
+
1266
1545
  /**
1267
1546
  * Occurs whenever a customer's subscription ends.
1268
1547
  */
@@ -1327,6 +1606,22 @@ declare module 'stripe' {
1327
1606
  }
1328
1607
  }
1329
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
+
1330
1625
  /**
1331
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.
1332
1627
  */
@@ -1571,6 +1866,23 @@ declare module 'stripe' {
1571
1866
  }
1572
1867
  }
1573
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
+
1574
1886
  /**
1575
1887
  * Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1576
1888
  */
@@ -1605,6 +1917,38 @@ declare module 'stripe' {
1605
1917
  }
1606
1918
  }
1607
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
+
1608
1952
  /**
1609
1953
  * Occurs whenever a VerificationSession is canceled
1610
1954
  */
@@ -1829,6 +2173,22 @@ declare module 'stripe' {
1829
2173
  }
1830
2174
  }
1831
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
+
1832
2192
  /**
1833
2193
  * Occurs whenever an invoice payment attempt requires further user action to complete.
1834
2194
  */
@@ -1845,6 +2205,22 @@ declare module 'stripe' {
1845
2205
  }
1846
2206
  }
1847
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
+
1848
2224
  /**
1849
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.
1850
2226
  */
@@ -2213,6 +2589,54 @@ declare module 'stripe' {
2213
2589
  }
2214
2590
  }
2215
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
+
2216
2640
  /**
2217
2641
  * Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.
2218
2642
  */
@@ -2277,6 +2701,38 @@ declare module 'stripe' {
2277
2701
  }
2278
2702
  }
2279
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
+
2280
2736
  /**
2281
2737
  * Occurs whenever an issuing digital wallet token is created.
2282
2738
  */
@@ -2838,6 +3294,86 @@ declare module 'stripe' {
2838
3294
  }
2839
3295
  }
2840
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
+
2841
3377
  /**
2842
3378
  * Occurs whenever a product is created.
2843
3379
  */
@@ -2918,6 +3454,22 @@ declare module 'stripe' {
2918
3454
  }
2919
3455
  }
2920
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
+
2921
3473
  /**
2922
3474
  * Occurs whenever a quote is accepted.
2923
3475
  */
@@ -2934,6 +3486,22 @@ declare module 'stripe' {
2934
3486
  }
2935
3487
  }
2936
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
+
2937
3505
  /**
2938
3506
  * Occurs whenever a quote is canceled.
2939
3507
  */
@@ -2966,6 +3534,22 @@ declare module 'stripe' {
2966
3534
  }
2967
3535
  }
2968
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
+
2969
3553
  /**
2970
3554
  * Occurs whenever a quote is finalized.
2971
3555
  */
@@ -2982,6 +3566,54 @@ declare module 'stripe' {
2982
3566
  }
2983
3567
  }
2984
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
+
2985
3617
  /**
2986
3618
  * Occurs whenever an early fraud warning is created.
2987
3619
  */
@@ -3430,6 +4062,22 @@ declare module 'stripe' {
3430
4062
  }
3431
4063
  }
3432
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
+
3433
4081
  /**
3434
4082
  * Occurs whenever a new subscription schedule is released.
3435
4083
  */
@@ -3462,6 +4110,22 @@ declare module 'stripe' {
3462
4110
  }
3463
4111
  }
3464
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
+
3465
4129
  /**
3466
4130
  * Occurs whenever tax settings is updated.
3467
4131
  */