stripe 19.2.1 → 19.3.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (433) hide show
  1. package/CHANGELOG.md +1686 -15
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +1 -0
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +115 -1
  6. package/cjs/RequestSender.js +1 -1
  7. package/cjs/apiVersion.js +2 -3
  8. package/cjs/resources/AccountNotices.js +21 -0
  9. package/cjs/resources/Billing/Analytics/MeterUsage.js +12 -0
  10. package/cjs/resources/Capital/FinancingOffers.js +21 -0
  11. package/cjs/resources/Capital/FinancingSummary.js +12 -0
  12. package/cjs/resources/Capital/FinancingTransactions.js +17 -0
  13. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +28 -0
  14. package/cjs/resources/ExternalAccounts.js +23 -0
  15. package/cjs/resources/FinancialConnections/Accounts.js +5 -0
  16. package/cjs/resources/FinancialConnections/Institutions.js +17 -0
  17. package/cjs/resources/FxQuotes.js +15 -0
  18. package/cjs/resources/Identity/BlocklistEntries.js +25 -0
  19. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
  20. package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
  21. package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
  22. package/cjs/resources/Mandates.js +5 -0
  23. package/cjs/resources/Margins.js +22 -0
  24. package/cjs/resources/Orders.js +24 -0
  25. package/cjs/resources/PaymentIntents.js +8 -0
  26. package/cjs/resources/PaymentMethods.js +4 -0
  27. package/cjs/resources/Privacy/RedactionJobs.js +42 -0
  28. package/cjs/resources/Quotes.js +32 -0
  29. package/cjs/resources/SubscriptionSchedules.js +4 -0
  30. package/cjs/resources/Subscriptions.js +4 -0
  31. package/cjs/resources/Tax/Associations.js +9 -0
  32. package/cjs/resources/Tax/Forms.js +20 -0
  33. package/cjs/resources/Terminal/OnboardingLinks.js +12 -0
  34. package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
  35. package/cjs/resources/V2/Billing/BillSettings/Versions.js +17 -0
  36. package/cjs/resources/V2/Billing/BillSettings.js +27 -0
  37. package/cjs/resources/V2/Billing/Cadences.js +23 -0
  38. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +17 -0
  39. package/cjs/resources/V2/Billing/CollectionSettings.js +30 -0
  40. package/cjs/resources/V2/Billing/CustomPricingUnits.js +25 -0
  41. package/cjs/resources/V2/Billing/Intents/Actions.js +17 -0
  42. package/cjs/resources/V2/Billing/Intents.js +36 -0
  43. package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +12 -0
  44. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +17 -0
  45. package/cjs/resources/V2/Billing/LicenseFees.js +27 -0
  46. package/cjs/resources/V2/Billing/LicensedItems.js +25 -0
  47. package/cjs/resources/V2/Billing/MeteredItems.js +22 -0
  48. package/cjs/resources/V2/Billing/PricingPlanSubscriptions/Components.js +12 -0
  49. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +26 -0
  50. package/cjs/resources/V2/Billing/PricingPlans/Components.js +29 -0
  51. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +17 -0
  52. package/cjs/resources/V2/Billing/PricingPlans.js +29 -0
  53. package/cjs/resources/V2/Billing/Profiles.js +19 -0
  54. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +29 -0
  55. package/cjs/resources/V2/Billing/RateCards/Rates.js +25 -0
  56. package/cjs/resources/V2/Billing/RateCards/Versions.js +17 -0
  57. package/cjs/resources/V2/Billing/RateCards.js +29 -0
  58. package/cjs/resources/V2/Billing/ServiceActions.js +20 -0
  59. package/cjs/resources/V2/Core/AccountLinks.js +9 -0
  60. package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
  61. package/cjs/resources/V2/Core/Accounts.js +25 -0
  62. package/cjs/resources/V2/Core/ClaimableSandboxes.js +16 -0
  63. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +33 -0
  64. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +37 -0
  65. package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
  66. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +29 -0
  67. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
  68. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
  69. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +16 -0
  70. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
  71. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
  72. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
  73. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
  74. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
  75. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
  76. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
  77. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +20 -0
  78. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
  79. package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
  80. package/cjs/resources/V2/Payments/OffSessionPayments.js +29 -0
  81. package/cjs/resources/V2/Tax/AutomaticRules.js +22 -0
  82. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
  83. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +12 -0
  84. package/cjs/resources.js +142 -8
  85. package/cjs/stripe.core.js +1 -1
  86. package/esm/Error.js +100 -0
  87. package/esm/RequestSender.js +1 -1
  88. package/esm/apiVersion.js +1 -2
  89. package/esm/resources/AccountNotices.js +18 -0
  90. package/esm/resources/Billing/Analytics/MeterUsage.js +9 -0
  91. package/esm/resources/Capital/FinancingOffers.js +18 -0
  92. package/esm/resources/Capital/FinancingSummary.js +9 -0
  93. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  94. package/esm/resources/DelegatedCheckout/RequestedSessions.js +25 -0
  95. package/esm/resources/ExternalAccounts.js +20 -0
  96. package/esm/resources/FinancialConnections/Accounts.js +5 -0
  97. package/esm/resources/FinancialConnections/Institutions.js +14 -0
  98. package/esm/resources/FxQuotes.js +12 -0
  99. package/esm/resources/Identity/BlocklistEntries.js +22 -0
  100. package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
  101. package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
  102. package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
  103. package/esm/resources/Mandates.js +5 -0
  104. package/esm/resources/Margins.js +19 -0
  105. package/esm/resources/Orders.js +21 -0
  106. package/esm/resources/PaymentIntents.js +8 -0
  107. package/esm/resources/PaymentMethods.js +4 -0
  108. package/esm/resources/Privacy/RedactionJobs.js +39 -0
  109. package/esm/resources/Quotes.js +32 -0
  110. package/esm/resources/SubscriptionSchedules.js +4 -0
  111. package/esm/resources/Subscriptions.js +4 -0
  112. package/esm/resources/Tax/Associations.js +6 -0
  113. package/esm/resources/Tax/Forms.js +17 -0
  114. package/esm/resources/Terminal/OnboardingLinks.js +9 -0
  115. package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
  116. package/esm/resources/V2/Billing/BillSettings/Versions.js +14 -0
  117. package/esm/resources/V2/Billing/BillSettings.js +24 -0
  118. package/esm/resources/V2/Billing/Cadences.js +20 -0
  119. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +14 -0
  120. package/esm/resources/V2/Billing/CollectionSettings.js +27 -0
  121. package/esm/resources/V2/Billing/CustomPricingUnits.js +22 -0
  122. package/esm/resources/V2/Billing/Intents/Actions.js +14 -0
  123. package/esm/resources/V2/Billing/Intents.js +33 -0
  124. package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +9 -0
  125. package/esm/resources/V2/Billing/LicenseFees/Versions.js +14 -0
  126. package/esm/resources/V2/Billing/LicenseFees.js +24 -0
  127. package/esm/resources/V2/Billing/LicensedItems.js +22 -0
  128. package/esm/resources/V2/Billing/MeteredItems.js +19 -0
  129. package/esm/resources/V2/Billing/PricingPlanSubscriptions/Components.js +9 -0
  130. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +23 -0
  131. package/esm/resources/V2/Billing/PricingPlans/Components.js +26 -0
  132. package/esm/resources/V2/Billing/PricingPlans/Versions.js +14 -0
  133. package/esm/resources/V2/Billing/PricingPlans.js +26 -0
  134. package/esm/resources/V2/Billing/Profiles.js +16 -0
  135. package/esm/resources/V2/Billing/RateCardSubscriptions.js +26 -0
  136. package/esm/resources/V2/Billing/RateCards/Rates.js +22 -0
  137. package/esm/resources/V2/Billing/RateCards/Versions.js +14 -0
  138. package/esm/resources/V2/Billing/RateCards.js +26 -0
  139. package/esm/resources/V2/Billing/ServiceActions.js +17 -0
  140. package/esm/resources/V2/Core/AccountLinks.js +6 -0
  141. package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
  142. package/esm/resources/V2/Core/Accounts.js +22 -0
  143. package/esm/resources/V2/Core/ClaimableSandboxes.js +13 -0
  144. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +30 -0
  145. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +34 -0
  146. package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
  147. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +26 -0
  148. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
  149. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
  150. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +13 -0
  151. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
  152. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
  153. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
  154. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
  155. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
  156. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
  157. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
  158. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +17 -0
  159. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
  160. package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
  161. package/esm/resources/V2/Payments/OffSessionPayments.js +26 -0
  162. package/esm/resources/V2/Tax/AutomaticRules.js +19 -0
  163. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
  164. package/esm/resources/V2/TestHelpers/MoneyManagement.js +9 -0
  165. package/esm/resources.js +129 -0
  166. package/esm/stripe.core.js +1 -1
  167. package/package.json +1 -1
  168. package/types/AccountLinksResource.d.ts +5 -1
  169. package/types/AccountNotices.d.ts +113 -0
  170. package/types/AccountNoticesResource.d.ts +98 -0
  171. package/types/AccountSessions.d.ts +45 -0
  172. package/types/AccountSessionsResource.d.ts +264 -0
  173. package/types/Accounts.d.ts +214 -1
  174. package/types/AccountsResource.d.ts +544 -0
  175. package/types/ApplicationFees.d.ts +6 -1
  176. package/types/Balance.d.ts +82 -0
  177. package/types/BalanceTransactions.d.ts +2 -1
  178. package/types/BankAccounts.d.ts +2 -0
  179. package/types/Billing/AlertTriggereds.d.ts +16 -1
  180. package/types/Billing/Alerts.d.ts +116 -1
  181. package/types/Billing/AlertsResource.d.ts +149 -2
  182. package/types/Billing/Analytics/MeterUsage.d.ts +31 -0
  183. package/types/Billing/Analytics/MeterUsageResource.d.ts +694 -0
  184. package/types/Billing/Analytics/MeterUsageRows.d.ts +58 -0
  185. package/types/Billing/CreditBalanceSummary.d.ts +123 -2
  186. package/types/Billing/CreditBalanceSummaryResource.d.ts +20 -3
  187. package/types/Billing/CreditBalanceTransactions.d.ts +118 -2
  188. package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
  189. package/types/Billing/CreditGrants.d.ts +76 -1
  190. package/types/Billing/CreditGrantsResource.d.ts +45 -4
  191. package/types/Billing/MeterEventSummaries.d.ts +7 -0
  192. package/types/Billing/Meters.d.ts +5 -0
  193. package/types/Billing/MetersResource.d.ts +17 -0
  194. package/types/BillingPortal/Sessions.d.ts +5 -0
  195. package/types/BillingPortal/SessionsResource.d.ts +12 -4
  196. package/types/Capabilities.d.ts +2 -0
  197. package/types/Capital/FinancingOffers.d.ts +188 -0
  198. package/types/Capital/FinancingOffersResource.d.ts +97 -0
  199. package/types/Capital/FinancingSummary.d.ts +106 -0
  200. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  201. package/types/Capital/FinancingTransactions.d.ts +135 -0
  202. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  203. package/types/Cards.d.ts +19 -0
  204. package/types/CashBalances.d.ts +5 -0
  205. package/types/Charges.d.ts +185 -0
  206. package/types/ChargesResource.d.ts +1406 -0
  207. package/types/Checkout/Sessions.d.ts +427 -2
  208. package/types/Checkout/SessionsResource.d.ts +682 -2
  209. package/types/ConfirmationTokens.d.ts +139 -0
  210. package/types/Coupons.d.ts +33 -0
  211. package/types/CouponsResource.d.ts +21 -0
  212. package/types/CreditNoteLineItems.d.ts +17 -0
  213. package/types/CreditNotes.d.ts +5 -0
  214. package/types/CreditNotesResource.d.ts +5 -0
  215. package/types/CustomerBalanceTransactions.d.ts +2 -0
  216. package/types/CustomerCashBalanceTransactions.d.ts +2 -0
  217. package/types/CustomerSessions.d.ts +46 -0
  218. package/types/CustomerSessionsResource.d.ts +47 -1
  219. package/types/Customers.d.ts +2 -0
  220. package/types/CustomersResource.d.ts +8 -0
  221. package/types/DelegatedCheckout/RequestedSessions.d.ts +360 -0
  222. package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +593 -0
  223. package/types/Discounts.d.ts +10 -0
  224. package/types/Disputes.d.ts +40 -0
  225. package/types/DisputesResource.d.ts +11 -0
  226. package/types/Errors.d.ts +85 -0
  227. package/types/EventTypes.d.ts +630 -0
  228. package/types/Events.d.ts +95 -0
  229. package/types/ExternalAccountsResource.d.ts +304 -0
  230. package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
  231. package/types/FinancialConnections/Accounts.d.ts +36 -1
  232. package/types/FinancialConnections/AccountsResource.d.ts +40 -3
  233. package/types/FinancialConnections/Institutions.d.ts +98 -0
  234. package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
  235. package/types/FinancialConnections/Sessions.d.ts +51 -1
  236. package/types/FinancialConnections/SessionsResource.d.ts +43 -1
  237. package/types/FxQuotes.d.ts +155 -0
  238. package/types/FxQuotesResource.d.ts +130 -0
  239. package/types/Identity/BlocklistEntries.d.ts +78 -0
  240. package/types/Identity/BlocklistEntriesResource.d.ts +146 -0
  241. package/types/Identity/VerificationReports.d.ts +10 -0
  242. package/types/Identity/VerificationReportsResource.d.ts +5 -0
  243. package/types/Identity/VerificationSessions.d.ts +5 -0
  244. package/types/Identity/VerificationSessionsResource.d.ts +7 -0
  245. package/types/InvoiceItems.d.ts +114 -2
  246. package/types/InvoiceItemsResource.d.ts +117 -6
  247. package/types/InvoiceLineItems.d.ts +158 -3
  248. package/types/InvoicePayments.d.ts +1 -1
  249. package/types/Invoices.d.ts +203 -4
  250. package/types/InvoicesResource.d.ts +1625 -2
  251. package/types/Issuing/CardholdersResource.d.ts +2 -1
  252. package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
  253. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
  254. package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
  255. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
  256. package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
  257. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
  258. package/types/Issuing/Settlements.d.ts +113 -0
  259. package/types/Issuing/Transactions.d.ts +5 -0
  260. package/types/Issuing/TransactionsResource.d.ts +5 -0
  261. package/types/LineItems.d.ts +49 -0
  262. package/types/Mandates.d.ts +135 -1
  263. package/types/MandatesResource.d.ts +31 -0
  264. package/types/Margins.d.ts +56 -0
  265. package/types/MarginsResource.d.ts +114 -0
  266. package/types/Orders.d.ts +1163 -0
  267. package/types/OrdersResource.d.ts +3139 -0
  268. package/types/PaymentAttemptRecords.d.ts +141 -0
  269. package/types/PaymentIntentAmountDetailsLineItems.d.ts +7 -13
  270. package/types/PaymentIntents.d.ts +807 -20
  271. package/types/PaymentIntentsResource.d.ts +9765 -4959
  272. package/types/PaymentLinks.d.ts +6 -0
  273. package/types/PaymentLinksResource.d.ts +12 -0
  274. package/types/PaymentMethodBalances.d.ts +63 -0
  275. package/types/PaymentMethodConfigurations.d.ts +216 -0
  276. package/types/PaymentMethodConfigurationsResource.d.ts +300 -0
  277. package/types/PaymentMethods.d.ts +144 -0
  278. package/types/PaymentMethodsResource.d.ts +187 -2
  279. package/types/PaymentRecords.d.ts +141 -0
  280. package/types/Persons.d.ts +2 -0
  281. package/types/Prices.d.ts +22 -0
  282. package/types/PricesResource.d.ts +22 -0
  283. package/types/Privacy/RedactionJobValidationErrors.d.ts +60 -0
  284. package/types/Privacy/RedactionJobs.d.ts +111 -0
  285. package/types/Privacy/RedactionJobsResource.d.ts +230 -0
  286. package/types/PromotionCodes.d.ts +5 -0
  287. package/types/PromotionCodesResource.d.ts +10 -0
  288. package/types/QuoteLines.d.ts +634 -0
  289. package/types/QuotePreviewInvoices.d.ts +1771 -0
  290. package/types/QuotePreviewSubscriptionSchedules.d.ts +908 -0
  291. package/types/Quotes.d.ts +594 -1
  292. package/types/QuotesResource.d.ts +2588 -243
  293. package/types/Refunds.d.ts +14 -0
  294. package/types/SetupAttempts.d.ts +51 -1
  295. package/types/SetupIntents.d.ts +239 -2
  296. package/types/SetupIntentsResource.d.ts +1044 -4
  297. package/types/Sources.d.ts +29 -0
  298. package/types/SubscriptionItems.d.ts +26 -0
  299. package/types/SubscriptionItemsResource.d.ts +109 -0
  300. package/types/SubscriptionSchedules.d.ts +205 -0
  301. package/types/SubscriptionSchedulesResource.d.ts +1233 -5
  302. package/types/Subscriptions.d.ts +262 -1
  303. package/types/SubscriptionsResource.d.ts +745 -8
  304. package/types/Tax/Associations.d.ts +82 -0
  305. package/types/Tax/AssociationsResource.d.ts +29 -0
  306. package/types/Tax/Forms.d.ts +220 -0
  307. package/types/Tax/FormsResource.d.ts +107 -0
  308. package/types/TaxIds.d.ts +10 -0
  309. package/types/TaxIdsResource.d.ts +10 -0
  310. package/types/Terminal/Configurations.d.ts +9 -0
  311. package/types/Terminal/ConfigurationsResource.d.ts +28 -0
  312. package/types/Terminal/OnboardingLinks.d.ts +57 -0
  313. package/types/Terminal/OnboardingLinksResource.d.ts +62 -0
  314. package/types/Terminal/ReaderCollectedData.d.ts +51 -0
  315. package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
  316. package/types/Terminal/Readers.d.ts +20 -0
  317. package/types/TestHelpers/ConfirmationTokensResource.d.ts +126 -0
  318. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  319. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  320. package/types/Transfers.d.ts +9 -0
  321. package/types/TransfersResource.d.ts +7 -0
  322. package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
  323. package/types/Treasury/FinancialAccounts.d.ts +5 -0
  324. package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
  325. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  326. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  327. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  328. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  329. package/types/V2/Billing/BillSettingVersions.d.ts +97 -0
  330. package/types/V2/Billing/BillSettings/VersionsResource.d.ts +58 -0
  331. package/types/V2/Billing/BillSettings.d.ts +120 -0
  332. package/types/V2/Billing/BillSettingsResource.d.ts +241 -0
  333. package/types/V2/Billing/Cadences.d.ts +731 -0
  334. package/types/V2/Billing/CadencesResource.d.ts +516 -0
  335. package/types/V2/Billing/CollectionSettingVersions.d.ts +314 -0
  336. package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +62 -0
  337. package/types/V2/Billing/CollectionSettings.d.ts +337 -0
  338. package/types/V2/Billing/CollectionSettingsResource.d.ts +675 -0
  339. package/types/V2/Billing/CustomPricingUnits.d.ts +56 -0
  340. package/types/V2/Billing/CustomPricingUnitsResource.d.ts +122 -0
  341. package/types/V2/Billing/IntentActions.d.ts +459 -0
  342. package/types/V2/Billing/Intents/ActionsResource.d.ts +58 -0
  343. package/types/V2/Billing/Intents.d.ts +117 -0
  344. package/types/V2/Billing/IntentsResource.d.ts +575 -0
  345. package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +64 -0
  346. package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +28 -0
  347. package/types/V2/Billing/LicenseFeeVersions.d.ts +106 -0
  348. package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +58 -0
  349. package/types/V2/Billing/LicenseFees.d.ts +164 -0
  350. package/types/V2/Billing/LicenseFeesResource.d.ts +290 -0
  351. package/types/V2/Billing/LicensedItems.d.ts +73 -0
  352. package/types/V2/Billing/LicensedItemsResource.d.ts +157 -0
  353. package/types/V2/Billing/MeteredItems.d.ts +101 -0
  354. package/types/V2/Billing/MeteredItemsResource.d.ts +189 -0
  355. package/types/V2/Billing/PricingPlanComponents.d.ts +109 -0
  356. package/types/V2/Billing/PricingPlanSubscriptionComponents.d.ts +57 -0
  357. package/types/V2/Billing/PricingPlanSubscriptions/ComponentsResource.d.ts +40 -0
  358. package/types/V2/Billing/PricingPlanSubscriptions.d.ts +144 -0
  359. package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +120 -0
  360. package/types/V2/Billing/PricingPlanVersions.d.ts +49 -0
  361. package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +197 -0
  362. package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +58 -0
  363. package/types/V2/Billing/PricingPlans.d.ts +84 -0
  364. package/types/V2/Billing/PricingPlansResource.d.ts +151 -0
  365. package/types/V2/Billing/Profiles.d.ts +70 -0
  366. package/types/V2/Billing/ProfilesResource.d.ts +150 -0
  367. package/types/V2/Billing/RateCardRates.d.ts +144 -0
  368. package/types/V2/Billing/RateCardSubscriptions.d.ts +144 -0
  369. package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +157 -0
  370. package/types/V2/Billing/RateCardVersions.d.ts +39 -0
  371. package/types/V2/Billing/RateCards/RatesResource.d.ts +203 -0
  372. package/types/V2/Billing/RateCards/VersionsResource.d.ts +58 -0
  373. package/types/V2/Billing/RateCards.d.ts +98 -0
  374. package/types/V2/Billing/RateCardsResource.d.ts +162 -0
  375. package/types/V2/Billing/ServiceActions.d.ts +274 -0
  376. package/types/V2/Billing/ServiceActionsResource.d.ts +370 -0
  377. package/types/V2/Core/AccountLinks.d.ts +168 -0
  378. package/types/V2/Core/AccountLinksResource.d.ts +152 -0
  379. package/types/V2/Core/AccountPersons.d.ts +615 -0
  380. package/types/V2/Core/Accounts/PersonsResource.d.ts +1153 -0
  381. package/types/V2/Core/Accounts.d.ts +7478 -0
  382. package/types/V2/Core/AccountsResource.d.ts +6723 -0
  383. package/types/V2/Core/ClaimableSandboxes.d.ts +132 -0
  384. package/types/V2/Core/ClaimableSandboxesResource.d.ts +74 -0
  385. package/types/V2/Core/EventTypes.d.ts +8589 -10
  386. package/types/V2/Core/Events.d.ts +12 -0
  387. package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
  388. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +194 -0
  389. package/types/V2/Core/Vault/UsBankAccounts.d.ts +116 -0
  390. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +198 -0
  391. package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
  392. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +32 -0
  393. package/types/V2/MoneyManagement/Adjustments.d.ts +110 -0
  394. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
  395. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +148 -0
  396. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +172 -0
  397. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +178 -0
  398. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +126 -0
  399. package/types/V2/MoneyManagement/InboundTransfers.d.ts +206 -0
  400. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
  401. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +170 -0
  402. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +115 -0
  403. package/types/V2/MoneyManagement/OutboundPayments.d.ts +283 -0
  404. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +247 -0
  405. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
  406. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +330 -0
  407. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +256 -0
  408. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +213 -0
  409. package/types/V2/MoneyManagement/PayoutMethods.d.ts +201 -0
  410. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +93 -0
  411. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
  412. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
  413. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +307 -0
  414. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
  415. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +186 -0
  416. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
  417. package/types/V2/MoneyManagement/RecipientVerifications.d.ts +112 -0
  418. package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +77 -0
  419. package/types/V2/MoneyManagement/TransactionEntries.d.ts +162 -0
  420. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
  421. package/types/V2/MoneyManagement/Transactions.d.ts +177 -0
  422. package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
  423. package/types/V2/Payments/OffSessionPayments.d.ts +326 -0
  424. package/types/V2/Payments/OffSessionPaymentsResource.d.ts +401 -0
  425. package/types/V2/Tax/AutomaticRules.d.ts +53 -0
  426. package/types/V2/Tax/AutomaticRulesResource.d.ts +102 -0
  427. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +73 -0
  428. package/types/V2/TestHelpers/MoneyManagementResource.d.ts +49 -0
  429. package/types/WebhookEndpointsResource.d.ts +74 -0
  430. package/types/Webhooks.d.ts +2 -0
  431. package/types/apiVersion.d.ts +1 -2
  432. package/types/index.d.ts +222 -0
  433. package/types/lib.d.ts +10 -0
@@ -9,6 +9,8 @@ declare module 'stripe' {
9
9
  | AccountExternalAccountDeletedEvent
10
10
  | AccountExternalAccountUpdatedEvent
11
11
  | AccountUpdatedEvent
12
+ | AccountNoticeCreatedEvent
13
+ | AccountNoticeUpdatedEvent
12
14
  | ApplicationFeeCreatedEvent
13
15
  | ApplicationFeeRefundUpdatedEvent
14
16
  | ApplicationFeeRefundedEvent
@@ -26,6 +28,15 @@ declare module 'stripe' {
26
28
  | BillingPortalConfigurationUpdatedEvent
27
29
  | BillingPortalSessionCreatedEvent
28
30
  | CapabilityUpdatedEvent
31
+ | CapitalFinancingOfferAcceptedEvent
32
+ | CapitalFinancingOfferCanceledEvent
33
+ | CapitalFinancingOfferCreatedEvent
34
+ | CapitalFinancingOfferExpiredEvent
35
+ | CapitalFinancingOfferFullyRepaidEvent
36
+ | CapitalFinancingOfferPaidOutEvent
37
+ | CapitalFinancingOfferRejectedEvent
38
+ | CapitalFinancingOfferReplacementCreatedEvent
39
+ | CapitalFinancingTransactionCreatedEvent
29
40
  | CashBalanceFundsAvailableEvent
30
41
  | ChargeCapturedEvent
31
42
  | ChargeDisputeClosedEvent
@@ -66,11 +77,15 @@ declare module 'stripe' {
66
77
  | CustomerSourceDeletedEvent
67
78
  | CustomerSourceExpiringEvent
68
79
  | CustomerSourceUpdatedEvent
80
+ | CustomerSubscriptionCollectionPausedEvent
81
+ | CustomerSubscriptionCollectionResumedEvent
69
82
  | CustomerSubscriptionCreatedEvent
83
+ | CustomerSubscriptionCustomEventEvent
70
84
  | CustomerSubscriptionDeletedEvent
71
85
  | CustomerSubscriptionPausedEvent
72
86
  | CustomerSubscriptionPendingUpdateAppliedEvent
73
87
  | CustomerSubscriptionPendingUpdateExpiredEvent
88
+ | CustomerSubscriptionPriceMigrationFailedEvent
74
89
  | CustomerSubscriptionResumedEvent
75
90
  | CustomerSubscriptionTrialWillEndEvent
76
91
  | CustomerSubscriptionUpdatedEvent
@@ -86,8 +101,11 @@ declare module 'stripe' {
86
101
  | FinancialConnectionsAccountDisconnectedEvent
87
102
  | FinancialConnectionsAccountReactivatedEvent
88
103
  | FinancialConnectionsAccountRefreshedBalanceEvent
104
+ | FinancialConnectionsAccountRefreshedInferredBalancesEvent
89
105
  | FinancialConnectionsAccountRefreshedOwnershipEvent
90
106
  | FinancialConnectionsAccountRefreshedTransactionsEvent
107
+ | FinancialConnectionsSessionUpdatedEvent
108
+ | FxQuoteExpiredEvent
91
109
  | IdentityVerificationSessionCanceledEvent
92
110
  | IdentityVerificationSessionCreatedEvent
93
111
  | IdentityVerificationSessionProcessingEvent
@@ -102,6 +120,7 @@ declare module 'stripe' {
102
120
  | InvoiceOverdueEvent
103
121
  | InvoiceOverpaidEvent
104
122
  | InvoicePaidEvent
123
+ | InvoicePaymentOverpaidEvent
105
124
  | InvoicePaymentActionRequiredEvent
106
125
  | InvoicePaymentAttemptRequiredEvent
107
126
  | InvoicePaymentFailedEvent
@@ -127,10 +146,15 @@ declare module 'stripe' {
127
146
  | IssuingDisputeFundsRescindedEvent
128
147
  | IssuingDisputeSubmittedEvent
129
148
  | IssuingDisputeUpdatedEvent
149
+ | IssuingDisputeSettlementDetailCreatedEvent
150
+ | IssuingDisputeSettlementDetailUpdatedEvent
151
+ | IssuingFraudLiabilityDebitCreatedEvent
130
152
  | IssuingPersonalizationDesignActivatedEvent
131
153
  | IssuingPersonalizationDesignDeactivatedEvent
132
154
  | IssuingPersonalizationDesignRejectedEvent
133
155
  | IssuingPersonalizationDesignUpdatedEvent
156
+ | IssuingSettlementCreatedEvent
157
+ | IssuingSettlementUpdatedEvent
134
158
  | IssuingTokenCreatedEvent
135
159
  | IssuingTokenUpdatedEvent
136
160
  | IssuingTransactionCreatedEvent
@@ -166,15 +190,26 @@ declare module 'stripe' {
166
190
  | PriceCreatedEvent
167
191
  | PriceDeletedEvent
168
192
  | PriceUpdatedEvent
193
+ | PrivacyRedactionJobCanceledEvent
194
+ | PrivacyRedactionJobCreatedEvent
195
+ | PrivacyRedactionJobReadyEvent
196
+ | PrivacyRedactionJobSucceededEvent
197
+ | PrivacyRedactionJobValidationErrorEvent
169
198
  | ProductCreatedEvent
170
199
  | ProductDeletedEvent
171
200
  | ProductUpdatedEvent
172
201
  | PromotionCodeCreatedEvent
173
202
  | PromotionCodeUpdatedEvent
203
+ | QuoteAcceptFailedEvent
174
204
  | QuoteAcceptedEvent
205
+ | QuoteAcceptingEvent
175
206
  | QuoteCanceledEvent
176
207
  | QuoteCreatedEvent
208
+ | QuoteDraftEvent
177
209
  | QuoteFinalizedEvent
210
+ | QuoteReestimateFailedEvent
211
+ | QuoteReestimatedEvent
212
+ | QuoteStaleEvent
178
213
  | RadarEarlyFraudWarningCreatedEvent
179
214
  | RadarEarlyFraudWarningUpdatedEvent
180
215
  | RefundCreatedEvent
@@ -203,8 +238,10 @@ declare module 'stripe' {
203
238
  | SubscriptionScheduleCompletedEvent
204
239
  | SubscriptionScheduleCreatedEvent
205
240
  | SubscriptionScheduleExpiringEvent
241
+ | SubscriptionSchedulePriceMigrationFailedEvent
206
242
  | SubscriptionScheduleReleasedEvent
207
243
  | SubscriptionScheduleUpdatedEvent
244
+ | TaxFormUpdatedEvent
208
245
  | TaxSettingsUpdatedEvent
209
246
  | TaxRateCreatedEvent
210
247
  | TaxRateUpdatedEvent
@@ -353,6 +390,38 @@ declare module 'stripe' {
353
390
  }
354
391
  }
355
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
+
356
425
  /**
357
426
  * Occurs whenever an application fee is created on a charge.
358
427
  */
@@ -625,6 +694,150 @@ declare module 'stripe' {
625
694
  }
626
695
  }
627
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
+
628
841
  /**
629
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.
630
843
  */
@@ -1265,6 +1478,38 @@ declare module 'stripe' {
1265
1478
  }
1266
1479
  }
1267
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
+
1268
1513
  /**
1269
1514
  * Occurs whenever a customer is signed up for a new plan.
1270
1515
  */
@@ -1281,6 +1526,22 @@ declare module 'stripe' {
1281
1526
  }
1282
1527
  }
1283
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
+
1284
1545
  /**
1285
1546
  * Occurs whenever a customer's subscription ends.
1286
1547
  */
@@ -1345,6 +1606,22 @@ declare module 'stripe' {
1345
1606
  }
1346
1607
  }
1347
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
+
1348
1625
  /**
1349
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.
1350
1627
  */
@@ -1589,6 +1866,23 @@ declare module 'stripe' {
1589
1866
  }
1590
1867
  }
1591
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
+
1592
1886
  /**
1593
1887
  * Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1594
1888
  */
@@ -1623,6 +1917,38 @@ declare module 'stripe' {
1623
1917
  }
1624
1918
  }
1625
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
+
1626
1952
  /**
1627
1953
  * Occurs whenever a VerificationSession is canceled
1628
1954
  */
@@ -1847,6 +2173,22 @@ declare module 'stripe' {
1847
2173
  }
1848
2174
  }
1849
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
+
1850
2192
  /**
1851
2193
  * Occurs whenever an invoice payment attempt requires further user action to complete.
1852
2194
  */
@@ -2247,6 +2589,54 @@ declare module 'stripe' {
2247
2589
  }
2248
2590
  }
2249
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
+
2250
2640
  /**
2251
2641
  * Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.
2252
2642
  */
@@ -2311,6 +2701,38 @@ declare module 'stripe' {
2311
2701
  }
2312
2702
  }
2313
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
+
2314
2736
  /**
2315
2737
  * Occurs whenever an issuing digital wallet token is created.
2316
2738
  */
@@ -2872,6 +3294,86 @@ declare module 'stripe' {
2872
3294
  }
2873
3295
  }
2874
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
+
2875
3377
  /**
2876
3378
  * Occurs whenever a product is created.
2877
3379
  */
@@ -2952,6 +3454,22 @@ declare module 'stripe' {
2952
3454
  }
2953
3455
  }
2954
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
+
2955
3473
  /**
2956
3474
  * Occurs whenever a quote is accepted.
2957
3475
  */
@@ -2968,6 +3486,22 @@ declare module 'stripe' {
2968
3486
  }
2969
3487
  }
2970
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
+
2971
3505
  /**
2972
3506
  * Occurs whenever a quote is canceled.
2973
3507
  */
@@ -3000,6 +3534,22 @@ declare module 'stripe' {
3000
3534
  }
3001
3535
  }
3002
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
+
3003
3553
  /**
3004
3554
  * Occurs whenever a quote is finalized.
3005
3555
  */
@@ -3016,6 +3566,54 @@ declare module 'stripe' {
3016
3566
  }
3017
3567
  }
3018
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
+
3019
3617
  /**
3020
3618
  * Occurs whenever an early fraud warning is created.
3021
3619
  */
@@ -3464,6 +4062,22 @@ declare module 'stripe' {
3464
4062
  }
3465
4063
  }
3466
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
+
3467
4081
  /**
3468
4082
  * Occurs whenever a new subscription schedule is released.
3469
4083
  */
@@ -3496,6 +4110,22 @@ declare module 'stripe' {
3496
4110
  }
3497
4111
  }
3498
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
+
3499
4129
  /**
3500
4130
  * Occurs whenever tax settings is updated.
3501
4131
  */