stripe 18.0.0 → 18.1.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 (289) hide show
  1. package/CHANGELOG.md +1155 -242
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +1 -0
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +91 -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/GiftCards/Cards.js +23 -0
  16. package/cjs/resources/GiftCards/Transactions.js +33 -0
  17. package/cjs/resources/Invoices.js +17 -0
  18. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
  19. package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
  20. package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
  21. package/cjs/resources/Margins.js +22 -0
  22. package/cjs/resources/Orders.js +24 -0
  23. package/cjs/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +4 -4
  24. package/cjs/resources/PaymentIntents.js +8 -0
  25. package/cjs/resources/PaymentRecords.js +29 -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/ReaderCollectedData.js +12 -0
  31. package/cjs/resources/Terminal/Readers.js +12 -0
  32. package/cjs/resources/TestHelpers/Terminal/Readers.js +8 -0
  33. package/cjs/resources/V2/Core/AccountLinks.js +9 -0
  34. package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
  35. package/cjs/resources/V2/Core/Accounts.js +25 -0
  36. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +28 -0
  37. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +24 -0
  38. package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
  39. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +17 -0
  40. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
  41. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
  42. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +12 -0
  43. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
  44. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
  45. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
  46. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
  47. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
  48. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
  49. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
  50. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
  51. package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
  52. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
  53. package/cjs/resources.js +102 -18
  54. package/cjs/stripe.core.js +1 -1
  55. package/esm/Error.js +79 -0
  56. package/esm/apiVersion.js +1 -1
  57. package/esm/resources/AccountNotices.js +18 -0
  58. package/esm/resources/BalanceSettings.js +7 -0
  59. package/esm/resources/Capital/FinancingOffers.js +18 -0
  60. package/esm/resources/Capital/FinancingSummary.js +9 -0
  61. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  62. package/esm/resources/ExternalAccounts.js +20 -0
  63. package/esm/resources/FinancialConnections/Accounts.js +5 -0
  64. package/esm/resources/FinancialConnections/Institutions.js +14 -0
  65. package/esm/resources/GiftCards/Cards.js +20 -0
  66. package/esm/resources/GiftCards/Transactions.js +30 -0
  67. package/esm/resources/Invoices.js +17 -0
  68. package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
  69. package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
  70. package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
  71. package/esm/resources/Margins.js +19 -0
  72. package/esm/resources/Orders.js +21 -0
  73. package/esm/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +3 -3
  74. package/esm/resources/PaymentIntents.js +8 -0
  75. package/esm/resources/PaymentRecords.js +26 -0
  76. package/esm/resources/Quotes.js +32 -0
  77. package/esm/resources/SubscriptionSchedules.js +4 -0
  78. package/esm/resources/Tax/Associations.js +6 -0
  79. package/esm/resources/Tax/Forms.js +17 -0
  80. package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
  81. package/esm/resources/Terminal/Readers.js +12 -0
  82. package/esm/resources/TestHelpers/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 +9 -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/TestHelpers/FinancialAddresses.js +13 -0
  103. package/esm/resources.js +79 -1
  104. package/esm/stripe.core.js +1 -1
  105. package/package.json +1 -1
  106. package/types/AccountLinksResource.d.ts +5 -1
  107. package/types/AccountNotices.d.ts +113 -0
  108. package/types/AccountNoticesResource.d.ts +98 -0
  109. package/types/AccountSessions.d.ts +45 -0
  110. package/types/AccountSessionsResource.d.ts +243 -0
  111. package/types/Accounts.d.ts +212 -1
  112. package/types/AccountsResource.d.ts +544 -0
  113. package/types/BalanceSettings.d.ts +85 -0
  114. package/types/BalanceSettingsResource.d.ts +108 -0
  115. package/types/Billing/CreditBalanceSummary.d.ts +5 -0
  116. package/types/Billing/CreditBalanceSummaryResource.d.ts +8 -3
  117. package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
  118. package/types/Billing/CreditGrants.d.ts +5 -0
  119. package/types/Billing/CreditGrantsResource.d.ts +11 -1
  120. package/types/Billing/MeterErrorReports.d.ts +106 -0
  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 +1294 -0
  133. package/types/Checkout/Sessions.d.ts +312 -3
  134. package/types/Checkout/SessionsResource.d.ts +244 -1
  135. package/types/ConfirmationTokens.d.ts +151 -0
  136. package/types/Coupons.d.ts +1 -1
  137. package/types/CreditNoteLineItems.d.ts +17 -0
  138. package/types/CreditNotes.d.ts +9 -0
  139. package/types/CreditNotesResource.d.ts +5 -0
  140. package/types/CustomerBalanceTransactions.d.ts +2 -0
  141. package/types/CustomerCashBalanceTransactions.d.ts +2 -0
  142. package/types/CustomerSessions.d.ts +5 -0
  143. package/types/CustomerSessionsResource.d.ts +6 -1
  144. package/types/Customers.d.ts +2 -0
  145. package/types/CustomersResource.d.ts +8 -0
  146. package/types/Discounts.d.ts +10 -0
  147. package/types/Errors.d.ts +69 -2
  148. package/types/EventTypes.d.ts +596 -0
  149. package/types/Events.d.ts +96 -1
  150. package/types/ExternalAccountsResource.d.ts +219 -0
  151. package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
  152. package/types/FinancialConnections/Accounts.d.ts +31 -1
  153. package/types/FinancialConnections/AccountsResource.d.ts +40 -3
  154. package/types/FinancialConnections/Institutions.d.ts +93 -0
  155. package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
  156. package/types/FinancialConnections/Sessions.d.ts +51 -1
  157. package/types/FinancialConnections/SessionsResource.d.ts +43 -1
  158. package/types/GiftCards/Cards.d.ts +118 -0
  159. package/types/GiftCards/CardsResource.d.ts +159 -0
  160. package/types/GiftCards/Transactions.d.ts +129 -0
  161. package/types/GiftCards/TransactionsResource.d.ts +201 -0
  162. package/types/Identity/VerificationSessions.d.ts +5 -0
  163. package/types/Identity/VerificationSessionsResource.d.ts +7 -0
  164. package/types/InvoiceItems.d.ts +10 -0
  165. package/types/InvoiceItemsResource.d.ts +117 -6
  166. package/types/InvoiceLineItems.d.ts +45 -1
  167. package/types/InvoicePayments.d.ts +5 -0
  168. package/types/Invoices.d.ts +141 -3
  169. package/types/InvoicesResource.d.ts +1545 -6
  170. package/types/Issuing/CardholdersResource.d.ts +2 -1
  171. package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
  172. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
  173. package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
  174. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
  175. package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
  176. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
  177. package/types/Issuing/Settlements.d.ts +113 -0
  178. package/types/Issuing/Transactions.d.ts +5 -0
  179. package/types/Issuing/TransactionsResource.d.ts +5 -0
  180. package/types/LineItems.d.ts +49 -0
  181. package/types/Mandates.d.ts +77 -0
  182. package/types/Margins.d.ts +56 -0
  183. package/types/MarginsResource.d.ts +114 -0
  184. package/types/Orders.d.ts +1189 -0
  185. package/types/OrdersResource.d.ts +2981 -0
  186. package/types/PaymentAttemptRecords.d.ts +2112 -0
  187. package/types/PaymentAttemptRecordsResource.d.ts +47 -0
  188. package/types/PaymentIntents.d.ts +679 -2
  189. package/types/PaymentIntentsResource.d.ts +8437 -3941
  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 +120 -0
  195. package/types/PaymentMethodsResource.d.ts +167 -2
  196. package/types/PaymentRecords.d.ts +2105 -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/Products.d.ts +39 -0
  203. package/types/ProductsResource.d.ts +36 -0
  204. package/types/PromotionCodes.d.ts +5 -0
  205. package/types/PromotionCodesResource.d.ts +10 -0
  206. package/types/QuoteLines.d.ts +634 -0
  207. package/types/QuotePreviewInvoices.d.ts +1685 -0
  208. package/types/QuotePreviewSubscriptionSchedules.d.ts +778 -0
  209. package/types/Quotes.d.ts +601 -1
  210. package/types/QuotesResource.d.ts +2565 -218
  211. package/types/Refunds.d.ts +14 -0
  212. package/types/SetupAttempts.d.ts +50 -1
  213. package/types/SetupIntents.d.ts +121 -2
  214. package/types/SetupIntentsResource.d.ts +730 -3
  215. package/types/Sources.d.ts +29 -0
  216. package/types/SubscriptionItems.d.ts +23 -0
  217. package/types/SubscriptionItemsResource.d.ts +109 -0
  218. package/types/SubscriptionSchedules.d.ts +205 -0
  219. package/types/SubscriptionSchedulesResource.d.ts +1237 -9
  220. package/types/Subscriptions.d.ts +94 -1
  221. package/types/SubscriptionsResource.d.ts +384 -8
  222. package/types/Tax/Associations.d.ts +126 -0
  223. package/types/Tax/AssociationsResource.d.ts +29 -0
  224. package/types/Tax/Forms.d.ts +220 -0
  225. package/types/Tax/FormsResource.d.ts +107 -0
  226. package/types/TaxIds.d.ts +10 -0
  227. package/types/TaxIdsResource.d.ts +10 -0
  228. package/types/Terminal/ReaderCollectedData.d.ts +51 -0
  229. package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
  230. package/types/Terminal/Readers.d.ts +300 -0
  231. package/types/Terminal/ReadersResource.d.ts +220 -0
  232. package/types/TestHelpers/ConfirmationTokensResource.d.ts +171 -0
  233. package/types/TestHelpers/Terminal/ReadersResource.d.ts +53 -0
  234. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  235. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  236. package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
  237. package/types/Treasury/FinancialAccounts.d.ts +5 -0
  238. package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
  239. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  240. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  241. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  242. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  243. package/types/V2/Core/AccountLinks.d.ts +101 -0
  244. package/types/V2/Core/AccountLinksResource.d.ts +90 -0
  245. package/types/V2/Core/Accounts/PersonsResource.d.ts +3760 -0
  246. package/types/V2/Core/Accounts.d.ts +8057 -0
  247. package/types/V2/Core/AccountsResource.d.ts +10184 -0
  248. package/types/V2/Core/Persons.d.ts +1857 -0
  249. package/types/V2/Core/Vault/GbBankAccounts.d.ts +155 -0
  250. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
  251. package/types/V2/Core/Vault/UsBankAccounts.d.ts +65 -0
  252. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
  253. package/types/V2/EventTypes.d.ts +687 -1
  254. package/types/V2/FinancialAddressCreditSimulations.d.ts +22 -0
  255. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +27 -0
  256. package/types/V2/MoneyManagement/Adjustments.d.ts +105 -0
  257. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
  258. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +540 -0
  259. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +52 -0
  260. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
  261. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +287 -0
  262. package/types/V2/MoneyManagement/InboundTransfers.d.ts +201 -0
  263. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
  264. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +141 -0
  265. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +93 -0
  266. package/types/V2/MoneyManagement/OutboundPayments.d.ts +273 -0
  267. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
  268. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +92 -0
  269. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
  270. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +246 -0
  271. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +207 -0
  272. package/types/V2/MoneyManagement/PayoutMethods.d.ts +146 -0
  273. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
  274. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +82 -0
  275. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
  276. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +280 -0
  277. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
  278. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +219 -0
  279. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
  280. package/types/V2/MoneyManagement/TransactionEntries.d.ts +151 -0
  281. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
  282. package/types/V2/MoneyManagement/Transactions.d.ts +166 -0
  283. package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
  284. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +66 -0
  285. package/types/WebhookEndpointsResource.d.ts +72 -2
  286. package/types/index.d.ts +135 -5
  287. package/types/lib.d.ts +11 -1
  288. package/types/test/typescriptTest.ts +3 -3
  289. 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
@@ -21,10 +24,20 @@ declare module 'stripe' {
21
24
  | BillingMeterDeactivatedEvent
22
25
  | BillingMeterReactivatedEvent
23
26
  | BillingMeterUpdatedEvent
27
+ | BillingMeterErrorReportTriggeredEvent
24
28
  | BillingPortalConfigurationCreatedEvent
25
29
  | BillingPortalConfigurationUpdatedEvent
26
30
  | BillingPortalSessionCreatedEvent
27
31
  | CapabilityUpdatedEvent
32
+ | CapitalFinancingOfferAcceptedEvent
33
+ | CapitalFinancingOfferCanceledEvent
34
+ | CapitalFinancingOfferCreatedEvent
35
+ | CapitalFinancingOfferExpiredEvent
36
+ | CapitalFinancingOfferFullyRepaidEvent
37
+ | CapitalFinancingOfferPaidOutEvent
38
+ | CapitalFinancingOfferRejectedEvent
39
+ | CapitalFinancingOfferReplacementCreatedEvent
40
+ | CapitalFinancingTransactionCreatedEvent
28
41
  | CashBalanceFundsAvailableEvent
29
42
  | ChargeCapturedEvent
30
43
  | ChargeDisputeClosedEvent
@@ -65,11 +78,15 @@ declare module 'stripe' {
65
78
  | CustomerSourceDeletedEvent
66
79
  | CustomerSourceExpiringEvent
67
80
  | CustomerSourceUpdatedEvent
81
+ | CustomerSubscriptionCollectionPausedEvent
82
+ | CustomerSubscriptionCollectionResumedEvent
68
83
  | CustomerSubscriptionCreatedEvent
84
+ | CustomerSubscriptionCustomEventEvent
69
85
  | CustomerSubscriptionDeletedEvent
70
86
  | CustomerSubscriptionPausedEvent
71
87
  | CustomerSubscriptionPendingUpdateAppliedEvent
72
88
  | CustomerSubscriptionPendingUpdateExpiredEvent
89
+ | CustomerSubscriptionPriceMigrationFailedEvent
73
90
  | CustomerSubscriptionResumedEvent
74
91
  | CustomerSubscriptionTrialWillEndEvent
75
92
  | CustomerSubscriptionUpdatedEvent
@@ -85,8 +102,10 @@ declare module 'stripe' {
85
102
  | FinancialConnectionsAccountDisconnectedEvent
86
103
  | FinancialConnectionsAccountReactivatedEvent
87
104
  | FinancialConnectionsAccountRefreshedBalanceEvent
105
+ | FinancialConnectionsAccountRefreshedInferredBalancesEvent
88
106
  | FinancialConnectionsAccountRefreshedOwnershipEvent
89
107
  | FinancialConnectionsAccountRefreshedTransactionsEvent
108
+ | FinancialConnectionsSessionUpdatedEvent
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
@@ -124,10 +145,15 @@ declare module 'stripe' {
124
145
  | IssuingDisputeFundsRescindedEvent
125
146
  | IssuingDisputeSubmittedEvent
126
147
  | IssuingDisputeUpdatedEvent
148
+ | IssuingDisputeSettlementDetailCreatedEvent
149
+ | IssuingDisputeSettlementDetailUpdatedEvent
150
+ | IssuingFraudLiabilityDebitCreatedEvent
127
151
  | IssuingPersonalizationDesignActivatedEvent
128
152
  | IssuingPersonalizationDesignDeactivatedEvent
129
153
  | IssuingPersonalizationDesignRejectedEvent
130
154
  | IssuingPersonalizationDesignUpdatedEvent
155
+ | IssuingSettlementCreatedEvent
156
+ | IssuingSettlementUpdatedEvent
131
157
  | IssuingTokenCreatedEvent
132
158
  | IssuingTokenUpdatedEvent
133
159
  | IssuingTransactionCreatedEvent
@@ -168,10 +194,16 @@ declare module 'stripe' {
168
194
  | ProductUpdatedEvent
169
195
  | PromotionCodeCreatedEvent
170
196
  | PromotionCodeUpdatedEvent
197
+ | QuoteAcceptFailedEvent
171
198
  | QuoteAcceptedEvent
199
+ | QuoteAcceptingEvent
172
200
  | QuoteCanceledEvent
173
201
  | QuoteCreatedEvent
202
+ | QuoteDraftEvent
174
203
  | QuoteFinalizedEvent
204
+ | QuoteReestimateFailedEvent
205
+ | QuoteReestimatedEvent
206
+ | QuoteStaleEvent
175
207
  | RadarEarlyFraudWarningCreatedEvent
176
208
  | RadarEarlyFraudWarningUpdatedEvent
177
209
  | RefundCreatedEvent
@@ -200,13 +232,16 @@ declare module 'stripe' {
200
232
  | SubscriptionScheduleCompletedEvent
201
233
  | SubscriptionScheduleCreatedEvent
202
234
  | SubscriptionScheduleExpiringEvent
235
+ | SubscriptionSchedulePriceMigrationFailedEvent
203
236
  | SubscriptionScheduleReleasedEvent
204
237
  | SubscriptionScheduleUpdatedEvent
238
+ | TaxFormUpdatedEvent
205
239
  | TaxSettingsUpdatedEvent
206
240
  | TaxRateCreatedEvent
207
241
  | TaxRateUpdatedEvent
208
242
  | TerminalReaderActionFailedEvent
209
243
  | TerminalReaderActionSucceededEvent
244
+ | TerminalReaderActionUpdatedEvent
210
245
  | TestHelpersTestClockAdvancingEvent
211
246
  | TestHelpersTestClockCreatedEvent
212
247
  | TestHelpersTestClockDeletedEvent
@@ -349,6 +384,38 @@ declare module 'stripe' {
349
384
  }
350
385
  }
351
386
 
387
+ /**
388
+ * Occurs whenever an AccountNotice is created.
389
+ */
390
+ interface AccountNoticeCreatedEvent extends EventBase {
391
+ type: 'account_notice.created';
392
+ data: AccountNoticeCreatedEvent.Data;
393
+ }
394
+
395
+ namespace AccountNoticeCreatedEvent {
396
+ interface Data extends Stripe.Event.Data {
397
+ object: Stripe.AccountNotice;
398
+
399
+ previous_attributes?: Partial<Stripe.AccountNotice>;
400
+ }
401
+ }
402
+
403
+ /**
404
+ * Occurs whenever an AccountNotice is updated.
405
+ */
406
+ interface AccountNoticeUpdatedEvent extends EventBase {
407
+ type: 'account_notice.updated';
408
+ data: AccountNoticeUpdatedEvent.Data;
409
+ }
410
+
411
+ namespace AccountNoticeUpdatedEvent {
412
+ interface Data extends Stripe.Event.Data {
413
+ object: Stripe.AccountNotice;
414
+
415
+ previous_attributes?: Partial<Stripe.AccountNotice>;
416
+ }
417
+ }
418
+
352
419
  /**
353
420
  * Occurs whenever an application fee is created on a charge.
354
421
  */
@@ -413,6 +480,22 @@ declare module 'stripe' {
413
480
  }
414
481
  }
415
482
 
483
+ /**
484
+ * Occurs whenever a balance settings status or property has changed.
485
+ */
486
+ interface BalanceSettingsUpdatedEvent extends EventBase {
487
+ type: 'balance_settings.updated';
488
+ data: BalanceSettingsUpdatedEvent.Data;
489
+ }
490
+
491
+ namespace BalanceSettingsUpdatedEvent {
492
+ interface Data extends Stripe.Event.Data {
493
+ object: Stripe.BalanceSettings;
494
+
495
+ previous_attributes?: Partial<Stripe.BalanceSettings>;
496
+ }
497
+ }
498
+
416
499
  /**
417
500
  * Occurs whenever your custom alert threshold is met.
418
501
  */
@@ -541,6 +624,22 @@ declare module 'stripe' {
541
624
  }
542
625
  }
543
626
 
627
+ /**
628
+ * Notifies of errors on a billing meter
629
+ */
630
+ interface BillingMeterErrorReportTriggeredEvent extends EventBase {
631
+ type: 'billing.meter_error_report.triggered';
632
+ data: BillingMeterErrorReportTriggeredEvent.Data;
633
+ }
634
+
635
+ namespace BillingMeterErrorReportTriggeredEvent {
636
+ interface Data extends Stripe.Event.Data {
637
+ object: Stripe.Billing.MeterErrorReport;
638
+
639
+ previous_attributes?: Partial<Stripe.Billing.MeterErrorReport>;
640
+ }
641
+ }
642
+
544
643
  /**
545
644
  * Occurs whenever a portal configuration is created.
546
645
  */
@@ -605,6 +704,150 @@ declare module 'stripe' {
605
704
  }
606
705
  }
607
706
 
707
+ /**
708
+ * Occurs whenever a connected account accepts a financing offer.
709
+ */
710
+ interface CapitalFinancingOfferAcceptedEvent extends EventBase {
711
+ type: 'capital.financing_offer.accepted';
712
+ data: CapitalFinancingOfferAcceptedEvent.Data;
713
+ }
714
+
715
+ namespace CapitalFinancingOfferAcceptedEvent {
716
+ interface Data extends Stripe.Event.Data {
717
+ object: Stripe.Capital.FinancingOffer;
718
+
719
+ previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
720
+ }
721
+ }
722
+
723
+ /**
724
+ * Occurs whenever a financing offer is canceled.
725
+ */
726
+ interface CapitalFinancingOfferCanceledEvent extends EventBase {
727
+ type: 'capital.financing_offer.canceled';
728
+ data: CapitalFinancingOfferCanceledEvent.Data;
729
+ }
730
+
731
+ namespace CapitalFinancingOfferCanceledEvent {
732
+ interface Data extends Stripe.Event.Data {
733
+ object: Stripe.Capital.FinancingOffer;
734
+
735
+ previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
736
+ }
737
+ }
738
+
739
+ /**
740
+ * Occurs whenever a new financing offer is created for a connected account.
741
+ */
742
+ interface CapitalFinancingOfferCreatedEvent extends EventBase {
743
+ type: 'capital.financing_offer.created';
744
+ data: CapitalFinancingOfferCreatedEvent.Data;
745
+ }
746
+
747
+ namespace CapitalFinancingOfferCreatedEvent {
748
+ interface Data extends Stripe.Event.Data {
749
+ object: Stripe.Capital.FinancingOffer;
750
+
751
+ previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
752
+ }
753
+ }
754
+
755
+ /**
756
+ * Occurs whenever a financing offer expires.
757
+ */
758
+ interface CapitalFinancingOfferExpiredEvent extends EventBase {
759
+ type: 'capital.financing_offer.expired';
760
+ data: CapitalFinancingOfferExpiredEvent.Data;
761
+ }
762
+
763
+ namespace CapitalFinancingOfferExpiredEvent {
764
+ interface Data extends Stripe.Event.Data {
765
+ object: Stripe.Capital.FinancingOffer;
766
+
767
+ previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
768
+ }
769
+ }
770
+
771
+ /**
772
+ * Occurs whenever a financing offer is fully repaid.
773
+ */
774
+ interface CapitalFinancingOfferFullyRepaidEvent extends EventBase {
775
+ type: 'capital.financing_offer.fully_repaid';
776
+ data: CapitalFinancingOfferFullyRepaidEvent.Data;
777
+ }
778
+
779
+ namespace CapitalFinancingOfferFullyRepaidEvent {
780
+ interface Data extends Stripe.Event.Data {
781
+ object: Stripe.Capital.FinancingOffer;
782
+
783
+ previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
784
+ }
785
+ }
786
+
787
+ /**
788
+ * Occurs whenever a financing offer is paid out.
789
+ */
790
+ interface CapitalFinancingOfferPaidOutEvent extends EventBase {
791
+ type: 'capital.financing_offer.paid_out';
792
+ data: CapitalFinancingOfferPaidOutEvent.Data;
793
+ }
794
+
795
+ namespace CapitalFinancingOfferPaidOutEvent {
796
+ interface Data extends Stripe.Event.Data {
797
+ object: Stripe.Capital.FinancingOffer;
798
+
799
+ previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
800
+ }
801
+ }
802
+
803
+ /**
804
+ * Occurs whenever a financing offer is rejected.
805
+ */
806
+ interface CapitalFinancingOfferRejectedEvent extends EventBase {
807
+ type: 'capital.financing_offer.rejected';
808
+ data: CapitalFinancingOfferRejectedEvent.Data;
809
+ }
810
+
811
+ namespace CapitalFinancingOfferRejectedEvent {
812
+ interface Data extends Stripe.Event.Data {
813
+ object: Stripe.Capital.FinancingOffer;
814
+
815
+ previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
816
+ }
817
+ }
818
+
819
+ /**
820
+ * Occurs whenever a replacement for a financing offer has been created. More details can be [found here](https://docs.stripe.com/capital/replacements).
821
+ */
822
+ interface CapitalFinancingOfferReplacementCreatedEvent extends EventBase {
823
+ type: 'capital.financing_offer.replacement_created';
824
+ data: CapitalFinancingOfferReplacementCreatedEvent.Data;
825
+ }
826
+
827
+ namespace CapitalFinancingOfferReplacementCreatedEvent {
828
+ interface Data extends Stripe.Event.Data {
829
+ object: Stripe.Capital.FinancingOffer;
830
+
831
+ previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
832
+ }
833
+ }
834
+
835
+ /**
836
+ * Occurs whenever a financing transaction is created.
837
+ */
838
+ interface CapitalFinancingTransactionCreatedEvent extends EventBase {
839
+ type: 'capital.financing_transaction.created';
840
+ data: CapitalFinancingTransactionCreatedEvent.Data;
841
+ }
842
+
843
+ namespace CapitalFinancingTransactionCreatedEvent {
844
+ interface Data extends Stripe.Event.Data {
845
+ object: Stripe.Capital.FinancingTransaction;
846
+
847
+ previous_attributes?: Partial<Stripe.Capital.FinancingTransaction>;
848
+ }
849
+ }
850
+
608
851
  /**
609
852
  * 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.
610
853
  */
@@ -1245,6 +1488,38 @@ declare module 'stripe' {
1245
1488
  }
1246
1489
  }
1247
1490
 
1491
+ /**
1492
+ * 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`.
1493
+ */
1494
+ interface CustomerSubscriptionCollectionPausedEvent extends EventBase {
1495
+ type: 'customer.subscription.collection_paused';
1496
+ data: CustomerSubscriptionCollectionPausedEvent.Data;
1497
+ }
1498
+
1499
+ namespace CustomerSubscriptionCollectionPausedEvent {
1500
+ interface Data extends Stripe.Event.Data {
1501
+ object: Stripe.Subscription;
1502
+
1503
+ previous_attributes?: Partial<Stripe.Subscription>;
1504
+ }
1505
+ }
1506
+
1507
+ /**
1508
+ * 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`.
1509
+ */
1510
+ interface CustomerSubscriptionCollectionResumedEvent extends EventBase {
1511
+ type: 'customer.subscription.collection_resumed';
1512
+ data: CustomerSubscriptionCollectionResumedEvent.Data;
1513
+ }
1514
+
1515
+ namespace CustomerSubscriptionCollectionResumedEvent {
1516
+ interface Data extends Stripe.Event.Data {
1517
+ object: Stripe.Subscription;
1518
+
1519
+ previous_attributes?: Partial<Stripe.Subscription>;
1520
+ }
1521
+ }
1522
+
1248
1523
  /**
1249
1524
  * Occurs whenever a customer is signed up for a new plan.
1250
1525
  */
@@ -1261,6 +1536,22 @@ declare module 'stripe' {
1261
1536
  }
1262
1537
  }
1263
1538
 
1539
+ /**
1540
+ * An ad-hoc custom event that is sent based on user configured [Automation](https://docs.stripe.com/billing/automations#send-custom-webhook-event-action).
1541
+ */
1542
+ interface CustomerSubscriptionCustomEventEvent extends EventBase {
1543
+ type: 'customer.subscription.custom_event';
1544
+ data: CustomerSubscriptionCustomEventEvent.Data;
1545
+ }
1546
+
1547
+ namespace CustomerSubscriptionCustomEventEvent {
1548
+ interface Data extends Stripe.Event.Data {
1549
+ object: Stripe.Subscription;
1550
+
1551
+ previous_attributes?: Partial<Stripe.Subscription>;
1552
+ }
1553
+ }
1554
+
1264
1555
  /**
1265
1556
  * Occurs whenever a customer's subscription ends.
1266
1557
  */
@@ -1325,6 +1616,22 @@ declare module 'stripe' {
1325
1616
  }
1326
1617
  }
1327
1618
 
1619
+ /**
1620
+ * Occurs whenever a price migration failed to transition prices on a subscription.
1621
+ */
1622
+ interface CustomerSubscriptionPriceMigrationFailedEvent extends EventBase {
1623
+ type: 'customer.subscription.price_migration_failed';
1624
+ data: CustomerSubscriptionPriceMigrationFailedEvent.Data;
1625
+ }
1626
+
1627
+ namespace CustomerSubscriptionPriceMigrationFailedEvent {
1628
+ interface Data extends Stripe.Event.Data {
1629
+ object: Stripe.Subscription;
1630
+
1631
+ previous_attributes?: Partial<Stripe.Subscription>;
1632
+ }
1633
+ }
1634
+
1328
1635
  /**
1329
1636
  * 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.
1330
1637
  */
@@ -1569,6 +1876,23 @@ declare module 'stripe' {
1569
1876
  }
1570
1877
  }
1571
1878
 
1879
+ /**
1880
+ * Occurs when an Account’s `inferred_balances_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1881
+ */
1882
+ interface FinancialConnectionsAccountRefreshedInferredBalancesEvent
1883
+ extends EventBase {
1884
+ type: 'financial_connections.account.refreshed_inferred_balances';
1885
+ data: FinancialConnectionsAccountRefreshedInferredBalancesEvent.Data;
1886
+ }
1887
+
1888
+ namespace FinancialConnectionsAccountRefreshedInferredBalancesEvent {
1889
+ interface Data extends Stripe.Event.Data {
1890
+ object: Stripe.FinancialConnections.Account;
1891
+
1892
+ previous_attributes?: Partial<Stripe.FinancialConnections.Account>;
1893
+ }
1894
+ }
1895
+
1572
1896
  /**
1573
1897
  * Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1574
1898
  */
@@ -1603,6 +1927,22 @@ declare module 'stripe' {
1603
1927
  }
1604
1928
  }
1605
1929
 
1930
+ /**
1931
+ * Occurs when a Financial Connections Session `status` transitions from `pending` to `failed`, `cancelled`, or `completed`.
1932
+ */
1933
+ interface FinancialConnectionsSessionUpdatedEvent extends EventBase {
1934
+ type: 'financial_connections.session.updated';
1935
+ data: FinancialConnectionsSessionUpdatedEvent.Data;
1936
+ }
1937
+
1938
+ namespace FinancialConnectionsSessionUpdatedEvent {
1939
+ interface Data extends Stripe.Event.Data {
1940
+ object: Stripe.FinancialConnections.Session;
1941
+
1942
+ previous_attributes?: Partial<Stripe.FinancialConnections.Session>;
1943
+ }
1944
+ }
1945
+
1606
1946
  /**
1607
1947
  * Occurs whenever a VerificationSession is canceled
1608
1948
  */
@@ -1827,6 +2167,22 @@ declare module 'stripe' {
1827
2167
  }
1828
2168
  }
1829
2169
 
2170
+ /**
2171
+ * Occurs when an InvoicePayment transitions to paid with a non-zero amount_overpaid.
2172
+ */
2173
+ interface InvoicePaymentOverpaidEvent extends EventBase {
2174
+ type: 'invoice.payment.overpaid';
2175
+ data: InvoicePaymentOverpaidEvent.Data;
2176
+ }
2177
+
2178
+ namespace InvoicePaymentOverpaidEvent {
2179
+ interface Data extends Stripe.Event.Data {
2180
+ object: Stripe.InvoicePayment;
2181
+
2182
+ previous_attributes?: Partial<Stripe.InvoicePayment>;
2183
+ }
2184
+ }
2185
+
1830
2186
  /**
1831
2187
  * Occurs whenever an invoice payment attempt requires further user action to complete.
1832
2188
  */
@@ -1843,6 +2199,22 @@ declare module 'stripe' {
1843
2199
  }
1844
2200
  }
1845
2201
 
2202
+ /**
2203
+ * Occurs when an invoice requires a payment using a payment method that cannot be processed by Stripe.
2204
+ */
2205
+ interface InvoicePaymentAttemptRequiredEvent extends EventBase {
2206
+ type: 'invoice.payment_attempt_required';
2207
+ data: InvoicePaymentAttemptRequiredEvent.Data;
2208
+ }
2209
+
2210
+ namespace InvoicePaymentAttemptRequiredEvent {
2211
+ interface Data extends Stripe.Event.Data {
2212
+ object: Stripe.Invoice;
2213
+
2214
+ previous_attributes?: Partial<Stripe.Invoice>;
2215
+ }
2216
+ }
2217
+
1846
2218
  /**
1847
2219
  * 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.
1848
2220
  */
@@ -2195,6 +2567,54 @@ declare module 'stripe' {
2195
2567
  }
2196
2568
  }
2197
2569
 
2570
+ /**
2571
+ * Emitted when the DisputeSettlementDetail object is created
2572
+ */
2573
+ interface IssuingDisputeSettlementDetailCreatedEvent extends EventBase {
2574
+ type: 'issuing_dispute_settlement_detail.created';
2575
+ data: IssuingDisputeSettlementDetailCreatedEvent.Data;
2576
+ }
2577
+
2578
+ namespace IssuingDisputeSettlementDetailCreatedEvent {
2579
+ interface Data extends Stripe.Event.Data {
2580
+ object: Stripe.Issuing.DisputeSettlementDetail;
2581
+
2582
+ previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
2583
+ }
2584
+ }
2585
+
2586
+ /**
2587
+ * Emitted when the DisputeSettlementDetail object is updated
2588
+ */
2589
+ interface IssuingDisputeSettlementDetailUpdatedEvent extends EventBase {
2590
+ type: 'issuing_dispute_settlement_detail.updated';
2591
+ data: IssuingDisputeSettlementDetailUpdatedEvent.Data;
2592
+ }
2593
+
2594
+ namespace IssuingDisputeSettlementDetailUpdatedEvent {
2595
+ interface Data extends Stripe.Event.Data {
2596
+ object: Stripe.Issuing.DisputeSettlementDetail;
2597
+
2598
+ previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
2599
+ }
2600
+ }
2601
+
2602
+ /**
2603
+ * Occurs whenever funds are deducted from your account for fraud dispute loss liability.
2604
+ */
2605
+ interface IssuingFraudLiabilityDebitCreatedEvent extends EventBase {
2606
+ type: 'issuing_fraud_liability_debit.created';
2607
+ data: IssuingFraudLiabilityDebitCreatedEvent.Data;
2608
+ }
2609
+
2610
+ namespace IssuingFraudLiabilityDebitCreatedEvent {
2611
+ interface Data extends Stripe.Event.Data {
2612
+ object: Stripe.Issuing.FraudLiabilityDebit;
2613
+
2614
+ previous_attributes?: Partial<Stripe.Issuing.FraudLiabilityDebit>;
2615
+ }
2616
+ }
2617
+
2198
2618
  /**
2199
2619
  * Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.
2200
2620
  */
@@ -2259,6 +2679,38 @@ declare module 'stripe' {
2259
2679
  }
2260
2680
  }
2261
2681
 
2682
+ /**
2683
+ * Occurs whenever an issuing settlement is created.
2684
+ */
2685
+ interface IssuingSettlementCreatedEvent extends EventBase {
2686
+ type: 'issuing_settlement.created';
2687
+ data: IssuingSettlementCreatedEvent.Data;
2688
+ }
2689
+
2690
+ namespace IssuingSettlementCreatedEvent {
2691
+ interface Data extends Stripe.Event.Data {
2692
+ object: Stripe.Issuing.Settlement;
2693
+
2694
+ previous_attributes?: Partial<Stripe.Issuing.Settlement>;
2695
+ }
2696
+ }
2697
+
2698
+ /**
2699
+ * Occurs whenever an issuing settlement is updated.
2700
+ */
2701
+ interface IssuingSettlementUpdatedEvent extends EventBase {
2702
+ type: 'issuing_settlement.updated';
2703
+ data: IssuingSettlementUpdatedEvent.Data;
2704
+ }
2705
+
2706
+ namespace IssuingSettlementUpdatedEvent {
2707
+ interface Data extends Stripe.Event.Data {
2708
+ object: Stripe.Issuing.Settlement;
2709
+
2710
+ previous_attributes?: Partial<Stripe.Issuing.Settlement>;
2711
+ }
2712
+ }
2713
+
2262
2714
  /**
2263
2715
  * Occurs whenever an issuing digital wallet token is created.
2264
2716
  */
@@ -2900,6 +3352,22 @@ declare module 'stripe' {
2900
3352
  }
2901
3353
  }
2902
3354
 
3355
+ /**
3356
+ * Occurs whenever a quote acceptance fails
3357
+ */
3358
+ interface QuoteAcceptFailedEvent extends EventBase {
3359
+ type: 'quote.accept_failed';
3360
+ data: QuoteAcceptFailedEvent.Data;
3361
+ }
3362
+
3363
+ namespace QuoteAcceptFailedEvent {
3364
+ interface Data extends Stripe.Event.Data {
3365
+ object: Stripe.Quote;
3366
+
3367
+ previous_attributes?: Partial<Stripe.Quote>;
3368
+ }
3369
+ }
3370
+
2903
3371
  /**
2904
3372
  * Occurs whenever a quote is accepted.
2905
3373
  */
@@ -2916,6 +3384,22 @@ declare module 'stripe' {
2916
3384
  }
2917
3385
  }
2918
3386
 
3387
+ /**
3388
+ * Occurs whenever a quote's status changes to accepting
3389
+ */
3390
+ interface QuoteAcceptingEvent extends EventBase {
3391
+ type: 'quote.accepting';
3392
+ data: QuoteAcceptingEvent.Data;
3393
+ }
3394
+
3395
+ namespace QuoteAcceptingEvent {
3396
+ interface Data extends Stripe.Event.Data {
3397
+ object: Stripe.Quote;
3398
+
3399
+ previous_attributes?: Partial<Stripe.Quote>;
3400
+ }
3401
+ }
3402
+
2919
3403
  /**
2920
3404
  * Occurs whenever a quote is canceled.
2921
3405
  */
@@ -2948,6 +3432,22 @@ declare module 'stripe' {
2948
3432
  }
2949
3433
  }
2950
3434
 
3435
+ /**
3436
+ * Occurs when a quote's status changes from stale to draft
3437
+ */
3438
+ interface QuoteDraftEvent extends EventBase {
3439
+ type: 'quote.draft';
3440
+ data: QuoteDraftEvent.Data;
3441
+ }
3442
+
3443
+ namespace QuoteDraftEvent {
3444
+ interface Data extends Stripe.Event.Data {
3445
+ object: Stripe.Quote;
3446
+
3447
+ previous_attributes?: Partial<Stripe.Quote>;
3448
+ }
3449
+ }
3450
+
2951
3451
  /**
2952
3452
  * Occurs whenever a quote is finalized.
2953
3453
  */
@@ -2964,6 +3464,54 @@ declare module 'stripe' {
2964
3464
  }
2965
3465
  }
2966
3466
 
3467
+ /**
3468
+ * Occurs whenever a quote reestimate fails
3469
+ */
3470
+ interface QuoteReestimateFailedEvent extends EventBase {
3471
+ type: 'quote.reestimate_failed';
3472
+ data: QuoteReestimateFailedEvent.Data;
3473
+ }
3474
+
3475
+ namespace QuoteReestimateFailedEvent {
3476
+ interface Data extends Stripe.Event.Data {
3477
+ object: Stripe.Quote;
3478
+
3479
+ previous_attributes?: Partial<Stripe.Quote>;
3480
+ }
3481
+ }
3482
+
3483
+ /**
3484
+ * Occurs whenever an async job to compute preview subscription schedules/upcoming invoices for the quote has completed.
3485
+ */
3486
+ interface QuoteReestimatedEvent extends EventBase {
3487
+ type: 'quote.reestimated';
3488
+ data: QuoteReestimatedEvent.Data;
3489
+ }
3490
+
3491
+ namespace QuoteReestimatedEvent {
3492
+ interface Data extends Stripe.Event.Data {
3493
+ object: Stripe.Quote;
3494
+
3495
+ previous_attributes?: Partial<Stripe.Quote>;
3496
+ }
3497
+ }
3498
+
3499
+ /**
3500
+ * Occurs whenever a quote's status changes to stale
3501
+ */
3502
+ interface QuoteStaleEvent extends EventBase {
3503
+ type: 'quote.stale';
3504
+ data: QuoteStaleEvent.Data;
3505
+ }
3506
+
3507
+ namespace QuoteStaleEvent {
3508
+ interface Data extends Stripe.Event.Data {
3509
+ object: Stripe.Quote;
3510
+
3511
+ previous_attributes?: Partial<Stripe.Quote>;
3512
+ }
3513
+ }
3514
+
2967
3515
  /**
2968
3516
  * Occurs whenever an early fraud warning is created.
2969
3517
  */
@@ -3412,6 +3960,22 @@ declare module 'stripe' {
3412
3960
  }
3413
3961
  }
3414
3962
 
3963
+ /**
3964
+ * Occurs whenever a price migration failed to transition prices on a subscription schedule.
3965
+ */
3966
+ interface SubscriptionSchedulePriceMigrationFailedEvent extends EventBase {
3967
+ type: 'subscription_schedule.price_migration_failed';
3968
+ data: SubscriptionSchedulePriceMigrationFailedEvent.Data;
3969
+ }
3970
+
3971
+ namespace SubscriptionSchedulePriceMigrationFailedEvent {
3972
+ interface Data extends Stripe.Event.Data {
3973
+ object: Stripe.SubscriptionSchedule;
3974
+
3975
+ previous_attributes?: Partial<Stripe.SubscriptionSchedule>;
3976
+ }
3977
+ }
3978
+
3415
3979
  /**
3416
3980
  * Occurs whenever a new subscription schedule is released.
3417
3981
  */
@@ -3444,6 +4008,22 @@ declare module 'stripe' {
3444
4008
  }
3445
4009
  }
3446
4010
 
4011
+ /**
4012
+ * Occurs when a tax form is updated.
4013
+ */
4014
+ interface TaxFormUpdatedEvent extends EventBase {
4015
+ type: 'tax.form.updated';
4016
+ data: TaxFormUpdatedEvent.Data;
4017
+ }
4018
+
4019
+ namespace TaxFormUpdatedEvent {
4020
+ interface Data extends Stripe.Event.Data {
4021
+ object: Stripe.Tax.Form;
4022
+
4023
+ previous_attributes?: Partial<Stripe.Tax.Form>;
4024
+ }
4025
+ }
4026
+
3447
4027
  /**
3448
4028
  * Occurs whenever tax settings is updated.
3449
4029
  */
@@ -3524,6 +4104,22 @@ declare module 'stripe' {
3524
4104
  }
3525
4105
  }
3526
4106
 
4107
+ /**
4108
+ * Occurs whenever an action sent to a Terminal reader is updated.
4109
+ */
4110
+ interface TerminalReaderActionUpdatedEvent extends EventBase {
4111
+ type: 'terminal.reader.action_updated';
4112
+ data: TerminalReaderActionUpdatedEvent.Data;
4113
+ }
4114
+
4115
+ namespace TerminalReaderActionUpdatedEvent {
4116
+ interface Data extends Stripe.Event.Data {
4117
+ object: Stripe.Terminal.Reader;
4118
+
4119
+ previous_attributes?: Partial<Stripe.Terminal.Reader>;
4120
+ }
4121
+ }
4122
+
3527
4123
  /**
3528
4124
  * Occurs whenever a test clock starts advancing.
3529
4125
  */