stripe 22.3.0 → 22.4.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 (797) hide show
  1. package/CHANGELOG.md +1798 -54
  2. package/README.md +42 -58
  3. package/VERSION +1 -1
  4. package/cjs/Error.d.ts +50 -0
  5. package/cjs/Error.js +125 -1
  6. package/cjs/Error.js.map +1 -1
  7. package/cjs/StripeEventNotificationHandler.d.ts +19 -0
  8. package/cjs/StripeEventNotificationHandler.js +150 -0
  9. package/cjs/StripeEventNotificationHandler.js.map +1 -0
  10. package/cjs/Types.d.ts +4 -2
  11. package/cjs/Types.js.map +1 -1
  12. package/cjs/apiVersion.d.ts +1 -2
  13. package/cjs/apiVersion.js +2 -3
  14. package/cjs/apiVersion.js.map +1 -1
  15. package/cjs/resources/AccountLinks.d.ts +1 -1
  16. package/cjs/resources/AccountNotices.d.ts +140 -0
  17. package/cjs/resources/AccountNotices.js +29 -0
  18. package/cjs/resources/AccountNotices.js.map +1 -0
  19. package/cjs/resources/AccountSessions.d.ts +262 -0
  20. package/cjs/resources/AccountSessions.js.map +1 -1
  21. package/cjs/resources/Accounts.d.ts +827 -3
  22. package/cjs/resources/Accounts.js +14 -0
  23. package/cjs/resources/Accounts.js.map +1 -1
  24. package/cjs/resources/Balance.d.ts +67 -0
  25. package/cjs/resources/BankAccounts.d.ts +2 -2
  26. package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -1
  27. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +84 -0
  28. package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
  29. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  30. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
  31. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
  32. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  33. package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
  34. package/cjs/resources/Billing/Analytics/index.js +13 -0
  35. package/cjs/resources/Billing/Analytics/index.js.map +1 -0
  36. package/cjs/resources/Billing/index.d.ts +3 -0
  37. package/cjs/resources/Billing/index.js +2 -0
  38. package/cjs/resources/Billing/index.js.map +1 -1
  39. package/cjs/resources/Capabilities.d.ts +2 -2
  40. package/cjs/resources/Capital/FinancingOffers.d.ts +194 -0
  41. package/cjs/resources/Capital/FinancingOffers.js +30 -0
  42. package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
  43. package/cjs/resources/Capital/FinancingSummary.d.ts +101 -0
  44. package/cjs/resources/Capital/FinancingSummary.js +15 -0
  45. package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
  46. package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
  47. package/cjs/resources/Capital/FinancingTransactions.js +24 -0
  48. package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
  49. package/cjs/resources/Capital/index.d.ts +25 -0
  50. package/cjs/resources/Capital/index.js +17 -0
  51. package/cjs/resources/Capital/index.js.map +1 -0
  52. package/cjs/resources/Cards.d.ts +17 -0
  53. package/cjs/resources/Charges.d.ts +3077 -70
  54. package/cjs/resources/Checkout/Sessions.d.ts +403 -4
  55. package/cjs/resources/ConfirmationTokens.d.ts +67 -1
  56. package/cjs/resources/Coupons.d.ts +53 -0
  57. package/cjs/resources/Coupons.js +13 -0
  58. package/cjs/resources/Coupons.js.map +1 -1
  59. package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
  60. package/cjs/resources/CreditNotes.d.ts +1 -1
  61. package/cjs/resources/CustomerSessions.d.ts +68 -0
  62. package/cjs/resources/Customers.d.ts +20 -1
  63. package/cjs/resources/Customers.js +14 -0
  64. package/cjs/resources/Customers.js.map +1 -1
  65. package/cjs/resources/Disputes.d.ts +29 -0
  66. package/cjs/resources/Events.d.ts +547 -2
  67. package/cjs/resources/ExternalAccounts.d.ts +212 -1
  68. package/cjs/resources/ExternalAccounts.js +44 -0
  69. package/cjs/resources/ExternalAccounts.js.map +1 -1
  70. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  71. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
  72. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  73. package/cjs/resources/FinancialConnections/Accounts.d.ts +69 -4
  74. package/cjs/resources/FinancialConnections/Accounts.js +8 -0
  75. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  76. package/cjs/resources/FinancialConnections/Authorizations.d.ts +99 -0
  77. package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
  78. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
  79. package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
  80. package/cjs/resources/FinancialConnections/Institutions.js +23 -0
  81. package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
  82. package/cjs/resources/FinancialConnections/Sessions.d.ts +156 -7
  83. package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
  84. package/cjs/resources/FinancialConnections/index.d.ts +21 -6
  85. package/cjs/resources/FinancialConnections/index.js +4 -0
  86. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  87. package/cjs/resources/FxQuotes.d.ts +212 -0
  88. package/cjs/resources/FxQuotes.js +29 -0
  89. package/cjs/resources/FxQuotes.js.map +1 -0
  90. package/cjs/resources/InvoiceItems.d.ts +85 -0
  91. package/cjs/resources/InvoiceItems.js.map +1 -1
  92. package/cjs/resources/InvoiceLineItems.d.ts +40 -2
  93. package/cjs/resources/Invoices.d.ts +1388 -15
  94. package/cjs/resources/Invoices.js +41 -0
  95. package/cjs/resources/Invoices.js.map +1 -1
  96. package/cjs/resources/Issuing/Authorizations.d.ts +13 -0
  97. package/cjs/resources/Issuing/Cardholders.d.ts +15 -1
  98. package/cjs/resources/Issuing/Cards.d.ts +13 -0
  99. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
  100. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
  101. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  102. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
  103. package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
  104. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  105. package/cjs/resources/Issuing/Disputes.d.ts +13 -0
  106. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  107. package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
  108. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  109. package/cjs/resources/Issuing/Settlements.d.ts +83 -0
  110. package/cjs/resources/Issuing/Settlements.js +4 -0
  111. package/cjs/resources/Issuing/Settlements.js.map +1 -0
  112. package/cjs/resources/Issuing/Transactions.d.ts +22 -0
  113. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  114. package/cjs/resources/Issuing/index.d.ts +47 -22
  115. package/cjs/resources/Issuing/index.js +6 -0
  116. package/cjs/resources/Issuing/index.js.map +1 -1
  117. package/cjs/resources/LineItems.d.ts +29 -2
  118. package/cjs/resources/Mandates.d.ts +33 -1
  119. package/cjs/resources/Mandates.js +8 -0
  120. package/cjs/resources/Mandates.js.map +1 -1
  121. package/cjs/resources/Margins.d.ts +115 -0
  122. package/cjs/resources/Margins.js +35 -0
  123. package/cjs/resources/Margins.js.map +1 -0
  124. package/cjs/resources/Orders.d.ts +4693 -0
  125. package/cjs/resources/Orders.js +457 -0
  126. package/cjs/resources/Orders.js.map +1 -0
  127. package/cjs/resources/PaymentAttemptRecords.d.ts +82 -0
  128. package/cjs/resources/PaymentIntents.d.ts +13283 -2352
  129. package/cjs/resources/PaymentIntents.js +27 -0
  130. package/cjs/resources/PaymentIntents.js.map +1 -1
  131. package/cjs/resources/PaymentLinks.d.ts +19 -3
  132. package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
  133. package/cjs/resources/PaymentMethods.d.ts +164 -3
  134. package/cjs/resources/PaymentMethods.js.map +1 -1
  135. package/cjs/resources/PaymentRecords.d.ts +82 -0
  136. package/cjs/resources/Persons.d.ts +2 -2
  137. package/cjs/resources/Plans.d.ts +16 -0
  138. package/cjs/resources/Prices.d.ts +52 -0
  139. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +35 -0
  140. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
  141. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  142. package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
  143. package/cjs/resources/Privacy/RedactionJobs.js +73 -0
  144. package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
  145. package/cjs/resources/Privacy/index.d.ts +22 -0
  146. package/cjs/resources/Privacy/index.js +13 -0
  147. package/cjs/resources/Privacy/index.js.map +1 -0
  148. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +125 -0
  149. package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
  150. package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
  151. package/cjs/resources/ProductCatalog/index.d.ts +12 -0
  152. package/cjs/resources/ProductCatalog/index.js +13 -0
  153. package/cjs/resources/ProductCatalog/index.js.map +1 -0
  154. package/cjs/resources/Products.d.ts +42 -0
  155. package/cjs/resources/PromotionCodes.d.ts +12 -0
  156. package/cjs/resources/PromotionCodes.js +27 -0
  157. package/cjs/resources/PromotionCodes.js.map +1 -1
  158. package/cjs/resources/QuoteLines.d.ts +507 -0
  159. package/cjs/resources/QuoteLines.js +4 -0
  160. package/cjs/resources/QuoteLines.js.map +1 -0
  161. package/cjs/resources/QuotePreviewInvoices.d.ts +1120 -0
  162. package/cjs/resources/QuotePreviewInvoices.js +4 -0
  163. package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
  164. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +738 -0
  165. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
  166. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  167. package/cjs/resources/Quotes.d.ts +2266 -57
  168. package/cjs/resources/Quotes.js +1184 -16
  169. package/cjs/resources/Quotes.js.map +1 -1
  170. package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
  171. package/cjs/resources/Radar/ValueListItems.d.ts +30 -0
  172. package/cjs/resources/Refunds.d.ts +11 -0
  173. package/cjs/resources/Reserve/Holds.d.ts +53 -1
  174. package/cjs/resources/Reserve/Holds.js +19 -0
  175. package/cjs/resources/Reserve/Holds.js.map +1 -1
  176. package/cjs/resources/Reserve/Plans.d.ts +16 -0
  177. package/cjs/resources/Reserve/Plans.js +11 -0
  178. package/cjs/resources/Reserve/Plans.js.map +1 -1
  179. package/cjs/resources/Reserve/Releases.d.ts +41 -1
  180. package/cjs/resources/Reserve/Releases.js +19 -0
  181. package/cjs/resources/Reserve/Releases.js.map +1 -1
  182. package/cjs/resources/Reserve/index.d.ts +17 -6
  183. package/cjs/resources/Reserve/index.js +9 -0
  184. package/cjs/resources/Reserve/index.js.map +1 -1
  185. package/cjs/resources/SetupAttempts.d.ts +26 -1
  186. package/cjs/resources/SetupIntents.d.ts +343 -11
  187. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1105 -0
  188. package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
  189. package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
  190. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +306 -0
  191. package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
  192. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
  193. package/cjs/resources/SharedPayment/index.d.ts +19 -0
  194. package/cjs/resources/SharedPayment/index.js +15 -0
  195. package/cjs/resources/SharedPayment/index.js.map +1 -0
  196. package/cjs/resources/Sources.d.ts +29 -1
  197. package/cjs/resources/SubscriptionItems.d.ts +143 -0
  198. package/cjs/resources/SubscriptionSchedules.d.ts +1152 -0
  199. package/cjs/resources/SubscriptionSchedules.js +6 -0
  200. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  201. package/cjs/resources/Subscriptions.d.ts +571 -6
  202. package/cjs/resources/Subscriptions.js +145 -0
  203. package/cjs/resources/Subscriptions.js.map +1 -1
  204. package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
  205. package/cjs/resources/Tax/Calculations.d.ts +7 -3
  206. package/cjs/resources/Tax/Forms.d.ts +228 -0
  207. package/cjs/resources/Tax/Forms.js +32 -0
  208. package/cjs/resources/Tax/Forms.js.map +1 -0
  209. package/cjs/resources/Tax/Locations.d.ts +108 -0
  210. package/cjs/resources/Tax/Locations.js +33 -0
  211. package/cjs/resources/Tax/Locations.js.map +1 -0
  212. package/cjs/resources/Tax/Registrations.d.ts +138 -2
  213. package/cjs/resources/Tax/Transactions.d.ts +2 -2
  214. package/cjs/resources/Tax/index.d.ts +27 -13
  215. package/cjs/resources/Tax/index.js +4 -0
  216. package/cjs/resources/Tax/index.js.map +1 -1
  217. package/cjs/resources/TaxCodes.d.ts +15 -0
  218. package/cjs/resources/Terminal/Configurations.d.ts +27 -0
  219. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
  220. package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
  221. package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
  222. package/cjs/resources/Terminal/Readers.d.ts +17 -1
  223. package/cjs/resources/Terminal/index.d.ts +5 -0
  224. package/cjs/resources/Terminal/index.js +2 -0
  225. package/cjs/resources/Terminal/index.js.map +1 -1
  226. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
  227. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
  228. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
  229. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  230. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  231. package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
  232. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  233. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  234. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  235. package/cjs/resources/TestHelpers/index.d.ts +3 -0
  236. package/cjs/resources/TestHelpers/index.js +6 -4
  237. package/cjs/resources/TestHelpers/index.js.map +1 -1
  238. package/cjs/resources/Tokens.d.ts +15 -0
  239. package/cjs/resources/Transfers.d.ts +8 -0
  240. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  241. package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
  242. package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
  243. package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
  244. package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
  245. package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
  246. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +71 -0
  247. package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
  248. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  249. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  250. package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
  251. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  252. package/cjs/resources/V2/Billing/BillSettings.d.ts +280 -0
  253. package/cjs/resources/V2/Billing/BillSettings.js +41 -0
  254. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
  255. package/cjs/resources/V2/Billing/Cadences.d.ts +947 -0
  256. package/cjs/resources/V2/Billing/Cadences.js +198 -0
  257. package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
  258. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +236 -0
  259. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
  260. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  261. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  262. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
  263. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  264. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +775 -0
  265. package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
  266. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
  267. package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
  268. package/cjs/resources/V2/Billing/Profiles.js +35 -0
  269. package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
  270. package/cjs/resources/V2/Billing/index.d.ts +45 -6
  271. package/cjs/resources/V2/Billing/index.js +8 -0
  272. package/cjs/resources/V2/Billing/index.js.map +1 -1
  273. package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
  274. package/cjs/resources/V2/Core/AccountTokens.d.ts +10 -0
  275. package/cjs/resources/V2/Core/Accounts.d.ts +1565 -75
  276. package/cjs/resources/V2/Core/BatchJobs.d.ts +360 -0
  277. package/cjs/resources/V2/Core/BatchJobs.js +225 -0
  278. package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
  279. package/cjs/resources/V2/Core/Events.d.ts +1151 -4
  280. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +279 -0
  281. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
  282. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  283. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +249 -0
  284. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +63 -0
  285. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  286. package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
  287. package/cjs/resources/V2/Core/Vault/index.js +15 -0
  288. package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
  289. package/cjs/resources/V2/Core/index.d.ts +19 -9
  290. package/cjs/resources/V2/Core/index.js +4 -0
  291. package/cjs/resources/V2/Core/index.js.map +1 -1
  292. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +150 -0
  293. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
  294. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  295. package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
  296. package/cjs/resources/V2/Data/Reporting/index.js +13 -0
  297. package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
  298. package/cjs/resources/V2/Data/index.d.ts +10 -0
  299. package/cjs/resources/V2/Data/index.js +13 -0
  300. package/cjs/resources/V2/Data/index.js.map +1 -0
  301. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  302. package/cjs/resources/V2/EventMisc.js +2 -0
  303. package/cjs/resources/V2/EventMisc.js.map +1 -0
  304. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +162 -0
  305. package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
  306. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  307. package/cjs/resources/V2/Extend/Workflows.d.ts +119 -0
  308. package/cjs/resources/V2/Extend/Workflows.js +30 -0
  309. package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
  310. package/cjs/resources/V2/Extend/index.d.ts +20 -0
  311. package/cjs/resources/V2/Extend/index.js +15 -0
  312. package/cjs/resources/V2/Extend/index.js.map +1 -0
  313. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  314. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
  315. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  316. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  317. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
  318. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  319. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +210 -0
  320. package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
  321. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
  322. package/cjs/resources/V2/Iam/index.d.ts +13 -0
  323. package/cjs/resources/V2/Iam/index.js +13 -0
  324. package/cjs/resources/V2/Iam/index.js.map +1 -0
  325. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +131 -0
  326. package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
  327. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  328. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +240 -0
  329. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +44 -0
  330. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  331. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +211 -0
  332. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
  333. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  334. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +250 -0
  335. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
  336. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  337. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +208 -0
  338. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
  339. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  340. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +394 -0
  341. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
  342. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  343. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +296 -0
  344. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
  345. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  346. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +336 -0
  347. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
  348. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  349. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +239 -0
  350. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
  351. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  352. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
  353. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
  354. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  355. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +295 -0
  356. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
  357. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  358. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +157 -0
  359. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
  360. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  361. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +161 -0
  362. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
  363. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  364. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +192 -0
  365. package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
  366. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  367. package/cjs/resources/V2/MoneyManagement/index.d.ts +104 -0
  368. package/cjs/resources/V2/MoneyManagement/index.js +39 -0
  369. package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
  370. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
  371. package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
  372. package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
  373. package/cjs/resources/V2/Network/index.d.ts +13 -0
  374. package/cjs/resources/V2/Network/index.js +13 -0
  375. package/cjs/resources/V2/Network/index.js.map +1 -0
  376. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
  377. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
  378. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  379. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  380. package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
  381. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  382. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  383. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
  384. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  385. package/cjs/resources/V2/TestHelpers/index.d.ts +8 -0
  386. package/cjs/resources/V2/TestHelpers/index.js +13 -0
  387. package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
  388. package/cjs/resources/V2/index.d.ts +27 -0
  389. package/cjs/resources/V2/index.js +14 -0
  390. package/cjs/resources/V2/index.js.map +1 -1
  391. package/cjs/resources/WebhookEndpoints.d.ts +2 -2
  392. package/cjs/resources.d.ts +10 -0
  393. package/cjs/resources.js +146 -10
  394. package/cjs/resources.js.map +1 -1
  395. package/cjs/stripe.cjs.node.d.ts +6536 -109
  396. package/cjs/stripe.cjs.node.js.map +1 -1
  397. package/cjs/stripe.core.d.ts +91 -26
  398. package/cjs/stripe.core.js +55 -32
  399. package/cjs/stripe.core.js.map +1 -1
  400. package/esm/Error.d.ts +50 -0
  401. package/esm/Error.js +109 -0
  402. package/esm/Error.js.map +1 -1
  403. package/esm/StripeEventNotificationHandler.d.ts +19 -0
  404. package/esm/StripeEventNotificationHandler.js +146 -0
  405. package/esm/StripeEventNotificationHandler.js.map +1 -0
  406. package/esm/Types.d.ts +4 -2
  407. package/esm/Types.js.map +1 -1
  408. package/esm/apiVersion.d.ts +1 -2
  409. package/esm/apiVersion.js +1 -2
  410. package/esm/apiVersion.js.map +1 -1
  411. package/esm/resources/AccountLinks.d.ts +1 -1
  412. package/esm/resources/AccountNotices.d.ts +140 -0
  413. package/esm/resources/AccountNotices.js +25 -0
  414. package/esm/resources/AccountNotices.js.map +1 -0
  415. package/esm/resources/AccountSessions.d.ts +262 -0
  416. package/esm/resources/AccountSessions.js.map +1 -1
  417. package/esm/resources/Accounts.d.ts +827 -3
  418. package/esm/resources/Accounts.js +14 -0
  419. package/esm/resources/Accounts.js.map +1 -1
  420. package/esm/resources/Balance.d.ts +67 -0
  421. package/esm/resources/BankAccounts.d.ts +2 -2
  422. package/esm/resources/Billing/AlertTriggereds.d.ts +2 -1
  423. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +84 -0
  424. package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
  425. package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  426. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
  427. package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
  428. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  429. package/esm/resources/Billing/Analytics/index.d.ts +15 -0
  430. package/esm/resources/Billing/Analytics/index.js +9 -0
  431. package/esm/resources/Billing/Analytics/index.js.map +1 -0
  432. package/esm/resources/Billing/index.d.ts +3 -0
  433. package/esm/resources/Billing/index.js +2 -0
  434. package/esm/resources/Billing/index.js.map +1 -1
  435. package/esm/resources/Capabilities.d.ts +2 -2
  436. package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
  437. package/esm/resources/Capital/FinancingOffers.js +26 -0
  438. package/esm/resources/Capital/FinancingOffers.js.map +1 -0
  439. package/esm/resources/Capital/FinancingSummary.d.ts +101 -0
  440. package/esm/resources/Capital/FinancingSummary.js +11 -0
  441. package/esm/resources/Capital/FinancingSummary.js.map +1 -0
  442. package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
  443. package/esm/resources/Capital/FinancingTransactions.js +20 -0
  444. package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
  445. package/esm/resources/Capital/index.d.ts +25 -0
  446. package/esm/resources/Capital/index.js +13 -0
  447. package/esm/resources/Capital/index.js.map +1 -0
  448. package/esm/resources/Cards.d.ts +17 -0
  449. package/esm/resources/Charges.d.ts +3077 -70
  450. package/esm/resources/Checkout/Sessions.d.ts +403 -4
  451. package/esm/resources/ConfirmationTokens.d.ts +67 -1
  452. package/esm/resources/Coupons.d.ts +53 -0
  453. package/esm/resources/Coupons.js +13 -0
  454. package/esm/resources/Coupons.js.map +1 -1
  455. package/esm/resources/CreditNoteLineItems.d.ts +15 -1
  456. package/esm/resources/CreditNotes.d.ts +1 -1
  457. package/esm/resources/CustomerSessions.d.ts +68 -0
  458. package/esm/resources/Customers.d.ts +20 -1
  459. package/esm/resources/Customers.js +14 -0
  460. package/esm/resources/Customers.js.map +1 -1
  461. package/esm/resources/Disputes.d.ts +29 -0
  462. package/esm/resources/Events.d.ts +547 -2
  463. package/esm/resources/ExternalAccounts.d.ts +212 -1
  464. package/esm/resources/ExternalAccounts.js +42 -1
  465. package/esm/resources/ExternalAccounts.js.map +1 -1
  466. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  467. package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
  468. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  469. package/esm/resources/FinancialConnections/Accounts.d.ts +69 -4
  470. package/esm/resources/FinancialConnections/Accounts.js +8 -0
  471. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  472. package/esm/resources/FinancialConnections/Authorizations.d.ts +99 -0
  473. package/esm/resources/FinancialConnections/Authorizations.js +11 -0
  474. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
  475. package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
  476. package/esm/resources/FinancialConnections/Institutions.js +19 -0
  477. package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
  478. package/esm/resources/FinancialConnections/Sessions.d.ts +156 -7
  479. package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
  480. package/esm/resources/FinancialConnections/index.d.ts +21 -6
  481. package/esm/resources/FinancialConnections/index.js +4 -0
  482. package/esm/resources/FinancialConnections/index.js.map +1 -1
  483. package/esm/resources/FxQuotes.d.ts +212 -0
  484. package/esm/resources/FxQuotes.js +25 -0
  485. package/esm/resources/FxQuotes.js.map +1 -0
  486. package/esm/resources/InvoiceItems.d.ts +85 -0
  487. package/esm/resources/InvoiceItems.js.map +1 -1
  488. package/esm/resources/InvoiceLineItems.d.ts +40 -2
  489. package/esm/resources/Invoices.d.ts +1388 -15
  490. package/esm/resources/Invoices.js +41 -0
  491. package/esm/resources/Invoices.js.map +1 -1
  492. package/esm/resources/Issuing/Authorizations.d.ts +13 -0
  493. package/esm/resources/Issuing/Cardholders.d.ts +15 -1
  494. package/esm/resources/Issuing/Cards.d.ts +13 -0
  495. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
  496. package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
  497. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  498. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
  499. package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
  500. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  501. package/esm/resources/Issuing/Disputes.d.ts +13 -0
  502. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  503. package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
  504. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  505. package/esm/resources/Issuing/Settlements.d.ts +83 -0
  506. package/esm/resources/Issuing/Settlements.js +3 -0
  507. package/esm/resources/Issuing/Settlements.js.map +1 -0
  508. package/esm/resources/Issuing/Transactions.d.ts +22 -0
  509. package/esm/resources/Issuing/Transactions.js.map +1 -1
  510. package/esm/resources/Issuing/index.d.ts +47 -22
  511. package/esm/resources/Issuing/index.js +6 -0
  512. package/esm/resources/Issuing/index.js.map +1 -1
  513. package/esm/resources/LineItems.d.ts +29 -2
  514. package/esm/resources/Mandates.d.ts +33 -1
  515. package/esm/resources/Mandates.js +8 -0
  516. package/esm/resources/Mandates.js.map +1 -1
  517. package/esm/resources/Margins.d.ts +115 -0
  518. package/esm/resources/Margins.js +31 -0
  519. package/esm/resources/Margins.js.map +1 -0
  520. package/esm/resources/Orders.d.ts +4693 -0
  521. package/esm/resources/Orders.js +453 -0
  522. package/esm/resources/Orders.js.map +1 -0
  523. package/esm/resources/PaymentAttemptRecords.d.ts +82 -0
  524. package/esm/resources/PaymentIntents.d.ts +13283 -2352
  525. package/esm/resources/PaymentIntents.js +27 -0
  526. package/esm/resources/PaymentIntents.js.map +1 -1
  527. package/esm/resources/PaymentLinks.d.ts +19 -3
  528. package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
  529. package/esm/resources/PaymentMethods.d.ts +164 -3
  530. package/esm/resources/PaymentMethods.js.map +1 -1
  531. package/esm/resources/PaymentRecords.d.ts +82 -0
  532. package/esm/resources/Persons.d.ts +2 -2
  533. package/esm/resources/Plans.d.ts +16 -0
  534. package/esm/resources/Prices.d.ts +52 -0
  535. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +35 -0
  536. package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
  537. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  538. package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
  539. package/esm/resources/Privacy/RedactionJobs.js +69 -0
  540. package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
  541. package/esm/resources/Privacy/index.d.ts +22 -0
  542. package/esm/resources/Privacy/index.js +9 -0
  543. package/esm/resources/Privacy/index.js.map +1 -0
  544. package/esm/resources/ProductCatalog/TrialOffers.d.ts +125 -0
  545. package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
  546. package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
  547. package/esm/resources/ProductCatalog/index.d.ts +12 -0
  548. package/esm/resources/ProductCatalog/index.js +9 -0
  549. package/esm/resources/ProductCatalog/index.js.map +1 -0
  550. package/esm/resources/Products.d.ts +42 -0
  551. package/esm/resources/PromotionCodes.d.ts +12 -0
  552. package/esm/resources/PromotionCodes.js +27 -0
  553. package/esm/resources/PromotionCodes.js.map +1 -1
  554. package/esm/resources/QuoteLines.d.ts +507 -0
  555. package/esm/resources/QuoteLines.js +3 -0
  556. package/esm/resources/QuoteLines.js.map +1 -0
  557. package/esm/resources/QuotePreviewInvoices.d.ts +1120 -0
  558. package/esm/resources/QuotePreviewInvoices.js +3 -0
  559. package/esm/resources/QuotePreviewInvoices.js.map +1 -0
  560. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +738 -0
  561. package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
  562. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  563. package/esm/resources/Quotes.d.ts +2266 -57
  564. package/esm/resources/Quotes.js +1184 -16
  565. package/esm/resources/Quotes.js.map +1 -1
  566. package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
  567. package/esm/resources/Radar/ValueListItems.d.ts +30 -0
  568. package/esm/resources/Refunds.d.ts +11 -0
  569. package/esm/resources/Reserve/Holds.d.ts +53 -1
  570. package/esm/resources/Reserve/Holds.js +17 -1
  571. package/esm/resources/Reserve/Holds.js.map +1 -1
  572. package/esm/resources/Reserve/Plans.d.ts +16 -0
  573. package/esm/resources/Reserve/Plans.js +9 -1
  574. package/esm/resources/Reserve/Plans.js.map +1 -1
  575. package/esm/resources/Reserve/Releases.d.ts +41 -1
  576. package/esm/resources/Reserve/Releases.js +17 -1
  577. package/esm/resources/Reserve/Releases.js.map +1 -1
  578. package/esm/resources/Reserve/index.d.ts +17 -6
  579. package/esm/resources/Reserve/index.js +9 -0
  580. package/esm/resources/Reserve/index.js.map +1 -1
  581. package/esm/resources/SetupAttempts.d.ts +26 -1
  582. package/esm/resources/SetupIntents.d.ts +343 -11
  583. package/esm/resources/SharedPayment/GrantedTokens.d.ts +1105 -0
  584. package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
  585. package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
  586. package/esm/resources/SharedPayment/IssuedTokens.d.ts +306 -0
  587. package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
  588. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
  589. package/esm/resources/SharedPayment/index.d.ts +19 -0
  590. package/esm/resources/SharedPayment/index.js +11 -0
  591. package/esm/resources/SharedPayment/index.js.map +1 -0
  592. package/esm/resources/Sources.d.ts +29 -1
  593. package/esm/resources/SubscriptionItems.d.ts +143 -0
  594. package/esm/resources/SubscriptionSchedules.d.ts +1152 -0
  595. package/esm/resources/SubscriptionSchedules.js +6 -0
  596. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  597. package/esm/resources/Subscriptions.d.ts +571 -6
  598. package/esm/resources/Subscriptions.js +145 -0
  599. package/esm/resources/Subscriptions.js.map +1 -1
  600. package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
  601. package/esm/resources/Tax/Calculations.d.ts +7 -3
  602. package/esm/resources/Tax/Forms.d.ts +228 -0
  603. package/esm/resources/Tax/Forms.js +28 -0
  604. package/esm/resources/Tax/Forms.js.map +1 -0
  605. package/esm/resources/Tax/Locations.d.ts +108 -0
  606. package/esm/resources/Tax/Locations.js +29 -0
  607. package/esm/resources/Tax/Locations.js.map +1 -0
  608. package/esm/resources/Tax/Registrations.d.ts +138 -2
  609. package/esm/resources/Tax/Transactions.d.ts +2 -2
  610. package/esm/resources/Tax/index.d.ts +27 -13
  611. package/esm/resources/Tax/index.js +4 -0
  612. package/esm/resources/Tax/index.js.map +1 -1
  613. package/esm/resources/TaxCodes.d.ts +15 -0
  614. package/esm/resources/Terminal/Configurations.d.ts +27 -0
  615. package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
  616. package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
  617. package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
  618. package/esm/resources/Terminal/Readers.d.ts +17 -1
  619. package/esm/resources/Terminal/index.d.ts +5 -0
  620. package/esm/resources/Terminal/index.js +2 -0
  621. package/esm/resources/Terminal/index.js.map +1 -1
  622. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
  623. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
  624. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
  625. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  626. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  627. package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
  628. package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  629. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  630. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  631. package/esm/resources/TestHelpers/index.d.ts +3 -0
  632. package/esm/resources/TestHelpers/index.js +2 -0
  633. package/esm/resources/TestHelpers/index.js.map +1 -1
  634. package/esm/resources/Tokens.d.ts +15 -0
  635. package/esm/resources/Transfers.d.ts +8 -0
  636. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  637. package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
  638. package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
  639. package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
  640. package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
  641. package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
  642. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +71 -0
  643. package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
  644. package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  645. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  646. package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
  647. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  648. package/esm/resources/V2/Billing/BillSettings.d.ts +280 -0
  649. package/esm/resources/V2/Billing/BillSettings.js +37 -0
  650. package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
  651. package/esm/resources/V2/Billing/Cadences.d.ts +947 -0
  652. package/esm/resources/V2/Billing/Cadences.js +194 -0
  653. package/esm/resources/V2/Billing/Cadences.js.map +1 -0
  654. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +236 -0
  655. package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
  656. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  657. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  658. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
  659. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  660. package/esm/resources/V2/Billing/CollectionSettings.d.ts +775 -0
  661. package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
  662. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
  663. package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
  664. package/esm/resources/V2/Billing/Profiles.js +31 -0
  665. package/esm/resources/V2/Billing/Profiles.js.map +1 -0
  666. package/esm/resources/V2/Billing/index.d.ts +45 -6
  667. package/esm/resources/V2/Billing/index.js +8 -0
  668. package/esm/resources/V2/Billing/index.js.map +1 -1
  669. package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
  670. package/esm/resources/V2/Core/AccountTokens.d.ts +10 -0
  671. package/esm/resources/V2/Core/Accounts.d.ts +1565 -75
  672. package/esm/resources/V2/Core/BatchJobs.d.ts +360 -0
  673. package/esm/resources/V2/Core/BatchJobs.js +221 -0
  674. package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
  675. package/esm/resources/V2/Core/Events.d.ts +1151 -4
  676. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +279 -0
  677. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
  678. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  679. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +249 -0
  680. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +59 -0
  681. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  682. package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
  683. package/esm/resources/V2/Core/Vault/index.js +11 -0
  684. package/esm/resources/V2/Core/Vault/index.js.map +1 -0
  685. package/esm/resources/V2/Core/index.d.ts +19 -9
  686. package/esm/resources/V2/Core/index.js +4 -0
  687. package/esm/resources/V2/Core/index.js.map +1 -1
  688. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +150 -0
  689. package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
  690. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  691. package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
  692. package/esm/resources/V2/Data/Reporting/index.js +9 -0
  693. package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
  694. package/esm/resources/V2/Data/index.d.ts +10 -0
  695. package/esm/resources/V2/Data/index.js +9 -0
  696. package/esm/resources/V2/Data/index.js.map +1 -0
  697. package/esm/resources/V2/EventMisc.d.ts +0 -0
  698. package/esm/resources/V2/EventMisc.js +2 -0
  699. package/esm/resources/V2/EventMisc.js.map +1 -0
  700. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +162 -0
  701. package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
  702. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  703. package/esm/resources/V2/Extend/Workflows.d.ts +119 -0
  704. package/esm/resources/V2/Extend/Workflows.js +26 -0
  705. package/esm/resources/V2/Extend/Workflows.js.map +1 -0
  706. package/esm/resources/V2/Extend/index.d.ts +20 -0
  707. package/esm/resources/V2/Extend/index.js +11 -0
  708. package/esm/resources/V2/Extend/index.js.map +1 -0
  709. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  710. package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
  711. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  712. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  713. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
  714. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  715. package/esm/resources/V2/Iam/ActivityLogs.d.ts +210 -0
  716. package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
  717. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
  718. package/esm/resources/V2/Iam/index.d.ts +13 -0
  719. package/esm/resources/V2/Iam/index.js +9 -0
  720. package/esm/resources/V2/Iam/index.js.map +1 -0
  721. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +131 -0
  722. package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
  723. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  724. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +240 -0
  725. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +40 -0
  726. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  727. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +211 -0
  728. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
  729. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  730. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +250 -0
  731. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
  732. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  733. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +208 -0
  734. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
  735. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  736. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +394 -0
  737. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
  738. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  739. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +296 -0
  740. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
  741. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  742. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +336 -0
  743. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
  744. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  745. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +239 -0
  746. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
  747. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  748. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
  749. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
  750. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  751. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +295 -0
  752. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
  753. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  754. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +157 -0
  755. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
  756. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  757. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +161 -0
  758. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
  759. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  760. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +192 -0
  761. package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
  762. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  763. package/esm/resources/V2/MoneyManagement/index.d.ts +104 -0
  764. package/esm/resources/V2/MoneyManagement/index.js +35 -0
  765. package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
  766. package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
  767. package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
  768. package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
  769. package/esm/resources/V2/Network/index.d.ts +13 -0
  770. package/esm/resources/V2/Network/index.js +9 -0
  771. package/esm/resources/V2/Network/index.js.map +1 -0
  772. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
  773. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
  774. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  775. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  776. package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
  777. package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  778. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  779. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
  780. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  781. package/esm/resources/V2/TestHelpers/index.d.ts +8 -0
  782. package/esm/resources/V2/TestHelpers/index.js +9 -0
  783. package/esm/resources/V2/TestHelpers/index.js.map +1 -0
  784. package/esm/resources/V2/index.d.ts +27 -0
  785. package/esm/resources/V2/index.js +14 -0
  786. package/esm/resources/V2/index.js.map +1 -1
  787. package/esm/resources/WebhookEndpoints.d.ts +2 -2
  788. package/esm/resources.d.ts +10 -0
  789. package/esm/resources.js +131 -0
  790. package/esm/resources.js.map +1 -1
  791. package/esm/stripe.core.d.ts +91 -26
  792. package/esm/stripe.core.js +25 -2
  793. package/esm/stripe.core.js.map +1 -1
  794. package/esm/stripe.esm.node.d.ts +93 -27
  795. package/esm/stripe.esm.node.js +25 -2
  796. package/esm/stripe.esm.node.js.map +1 -1
  797. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"stripe.cjs.node.js","sourceRoot":"","sources":["../src/stripe.cjs.node.ts"],"names":[],"mappings":";AAAA,kFAA0E;AAC1E,qDAAmD;AAGnD,2DAA2D;AAC3D,uBAAO,CAAC,UAAU,CAAC,IAAI,gDAAqB,EAAE,CAAC,CAAC;AAShD,mGAAmG;AACnG,sCAAsC;AACtC,MAAM,iBAAiB,GAA+B,UAEpD,GAAW,EACX,MAAqB;IAErB,gCAAgC;IAChC,IAAI,CAAC,CAAC,IAAI,YAAY,iBAAiB,CAAC,EAAE;QACxC,OAAO,IAAI,uBAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;KACjC;IACD,OAAO,IAAI,uBAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;AAClC,CAA0C,CAAC;AAE3C,wDAAwD;AACxD,MAAM,CAAC,cAAc,CAAC,iBAAiB,EAAE,uBAAO,CAAC,CAAC;AAClD,MAAM,CAAC,cAAc,CAAC,iBAAiB,CAAC,SAAS,EAAE,uBAAO,CAAC,SAAS,CAAC,CAAC;AAEtE,oCAAoC;AACpC,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,mBAAmB,CAAC,uBAAO,CAAC,EAAE;IACrD,IAAI,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,WAAW,IAAI,GAAG,KAAK,MAAM,EAAE;QAC7D,MAAM,CAAC,cAAc,CAAC,iBAAiB,EAAE,GAAG,EAAE;YAC5C,KAAK,EAAG,uBAAe,CAAC,GAAG,CAAC;YAC5B,QAAQ,EAAE,IAAI;YACd,UAAU,EAAE,IAAI;YAChB,YAAY,EAAE,IAAI;SACnB,CAAC,CAAC;KACJ;CACF;AA2kcD,iBAAS,iBAAiB,CAAC"}
1
+ {"version":3,"file":"stripe.cjs.node.js","sourceRoot":"","sources":["../src/stripe.cjs.node.ts"],"names":[],"mappings":";AAAA,kFAA0E;AAC1E,qDAAmD;AAGnD,2DAA2D;AAC3D,uBAAO,CAAC,UAAU,CAAC,IAAI,gDAAqB,EAAE,CAAC,CAAC;AAShD,mGAAmG;AACnG,sCAAsC;AACtC,MAAM,iBAAiB,GAA+B,UAEpD,GAAW,EACX,MAAqB;IAErB,gCAAgC;IAChC,IAAI,CAAC,CAAC,IAAI,YAAY,iBAAiB,CAAC,EAAE;QACxC,OAAO,IAAI,uBAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;KACjC;IACD,OAAO,IAAI,uBAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;AAClC,CAA0C,CAAC;AAE3C,wDAAwD;AACxD,MAAM,CAAC,cAAc,CAAC,iBAAiB,EAAE,uBAAO,CAAC,CAAC;AAClD,MAAM,CAAC,cAAc,CAAC,iBAAiB,CAAC,SAAS,EAAE,uBAAO,CAAC,SAAS,CAAC,CAAC;AAEtE,oCAAoC;AACpC,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,mBAAmB,CAAC,uBAAO,CAAC,EAAE;IACrD,IAAI,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,WAAW,IAAI,GAAG,KAAK,MAAM,EAAE;QAC7D,MAAM,CAAC,cAAc,CAAC,iBAAiB,EAAE,GAAG,EAAE;YAC5C,KAAK,EAAG,uBAAe,CAAC,GAAG,CAAC;YAC5B,QAAQ,EAAE,IAAI;YACd,UAAU,EAAE,IAAI;YAChB,YAAY,EAAE,IAAI;SACnB,CAAC,CAAC;KACJ;CACF;AAs2oBD,iBAAS,iBAAiB,CAAC"}
@@ -9,10 +9,13 @@ import { CryptoProvider } from './crypto/CryptoProvider.js';
9
9
  import { HttpClient, HttpClientResponse } from './net/HttpClient.js';
10
10
  import { PlatformFunctions } from './platform/PlatformFunctions.js';
11
11
  import * as resources from './resources.js';
12
+ import { StripeEventNotificationHandler, UnhandledNotificationDetails } from './StripeEventNotificationHandler.js';
12
13
  import { Response, RequestOptions, RawRequestOptions, ApiList, ApiListPromise, V2List, V2ListPromise, ApiSearchResultPromise, ApiSearchResult, StripeStreamResponse, StripeConfig, RequestEvent, ResponseEvent, AppInfo, FileData } from './lib.js';
13
14
  import { Metadata, MetadataParam, Address, JapanAddress, AddressParam, ShippingAddressParam, JapanAddressParam, RangeQueryParam, PaginationParams, Emptyable, Decimal } from './shared.js';
14
- import { Account, DeletedAccount, AccountCreateParams, AccountRetrieveParams, AccountUpdateParams, AccountListParams, AccountDeleteParams, AccountCreateExternalAccountParams, AccountCreateLoginLinkParams, AccountCreatePersonParams, AccountDeleteExternalAccountParams, AccountDeletePersonParams, AccountListCapabilitiesParams, AccountListExternalAccountsParams, AccountListPersonsParams, AccountRejectParams, AccountRetrieveCurrentParams, AccountRetrieveCapabilityParams, AccountRetrieveExternalAccountParams, AccountRetrievePersonParams, AccountUpdateCapabilityParams, AccountUpdateExternalAccountParams, AccountUpdatePersonParams, AccountResource } from './resources/Accounts.js';
15
+ import { UnknownEventNotification } from './resources/V2/Core/Events.js';
16
+ import { Account, DeletedAccount, AccountCreateParams, AccountRetrieveParams, AccountUpdateParams, AccountListParams, AccountDeleteParams, AccountCreateExternalAccountParams, AccountCreateLoginLinkParams, AccountCreatePersonParams, AccountDeleteExternalAccountParams, AccountDeletePersonParams, AccountListCapabilitiesParams, AccountListExternalAccountsParams, AccountListPersonsParams, AccountRejectParams, AccountRetrieveCurrentParams, AccountRetrieveCapabilityParams, AccountRetrieveExternalAccountParams, AccountRetrievePersonParams, AccountSerializeBatchUpdateParams, AccountUpdateCapabilityParams, AccountUpdateExternalAccountParams, AccountUpdatePersonParams, AccountResource } from './resources/Accounts.js';
15
17
  import { AccountLink, AccountLinkCreateParams, AccountLinkResource } from './resources/AccountLinks.js';
18
+ import { AccountNotice, AccountNoticeRetrieveParams, AccountNoticeUpdateParams, AccountNoticeListParams, AccountNoticeResource } from './resources/AccountNotices.js';
16
19
  import { AccountSession, AccountSessionCreateParams, AccountSessionResource } from './resources/AccountSessions.js';
17
20
  import { ApplePayDomain, DeletedApplePayDomain, ApplePayDomainCreateParams, ApplePayDomainRetrieveParams, ApplePayDomainListParams, ApplePayDomainDeleteParams, ApplePayDomainResource } from './resources/ApplePayDomains.js';
18
21
  import { ApplicationFee, ApplicationFeeRetrieveParams, ApplicationFeeListParams, ApplicationFeeCreateRefundParams, ApplicationFeeListRefundsParams, ApplicationFeeRetrieveRefundParams, ApplicationFeeUpdateRefundParams, ApplicationFeeResource } from './resources/ApplicationFees.js';
@@ -22,22 +25,26 @@ import { BalanceTransaction, BalanceTransactionRetrieveParams, BalanceTransactio
22
25
  import { Charge, ChargeCreateParams, ChargeRetrieveParams, ChargeUpdateParams, ChargeListParams, ChargeCaptureParams, ChargeSearchParams, ChargeResource } from './resources/Charges.js';
23
26
  import { ConfirmationToken, ConfirmationTokenRetrieveParams, ConfirmationTokenResource } from './resources/ConfirmationTokens.js';
24
27
  import { CountrySpec, CountrySpecRetrieveParams, CountrySpecListParams, CountrySpecResource } from './resources/CountrySpecs.js';
25
- import { Coupon, DeletedCoupon, CouponCreateParams, CouponRetrieveParams, CouponUpdateParams, CouponListParams, CouponDeleteParams, CouponResource } from './resources/Coupons.js';
28
+ import { Coupon, DeletedCoupon, CouponCreateParams, CouponRetrieveParams, CouponUpdateParams, CouponListParams, CouponDeleteParams, CouponSerializeBatchCreateParams, CouponResource } from './resources/Coupons.js';
26
29
  import { CreditNote, CreditNoteCreateParams, CreditNoteRetrieveParams, CreditNoteUpdateParams, CreditNoteListParams, CreditNoteListLineItemsParams, CreditNoteListPreviewLineItemsParams, CreditNotePreviewParams, CreditNoteVoidCreditNoteParams, CreditNoteResource } from './resources/CreditNotes.js';
27
- import { Customer, DeletedCustomer, CustomerCreateParams, CustomerRetrieveParams, CustomerUpdateParams, CustomerListParams, CustomerDeleteParams, CustomerCreateBalanceTransactionParams, CustomerCreateFundingInstructionsParams, CustomerCreateSourceParams, CustomerCreateTaxIdParams, CustomerDeleteDiscountParams, CustomerDeleteSourceParams, CustomerDeleteTaxIdParams, CustomerListBalanceTransactionsParams, CustomerListCashBalanceTransactionsParams, CustomerListPaymentMethodsParams, CustomerListSourcesParams, CustomerListTaxIdsParams, CustomerRetrieveBalanceTransactionParams, CustomerRetrieveCashBalanceParams, CustomerRetrieveCashBalanceTransactionParams, CustomerRetrievePaymentMethodParams, CustomerRetrieveSourceParams, CustomerRetrieveTaxIdParams, CustomerSearchParams, CustomerUpdateBalanceTransactionParams, CustomerUpdateCashBalanceParams, CustomerUpdateSourceParams, CustomerVerifySourceParams, CustomerResource } from './resources/Customers.js';
30
+ import { Customer, DeletedCustomer, CustomerCreateParams, CustomerRetrieveParams, CustomerUpdateParams, CustomerListParams, CustomerDeleteParams, CustomerCreateBalanceTransactionParams, CustomerCreateFundingInstructionsParams, CustomerCreateSourceParams, CustomerCreateTaxIdParams, CustomerDeleteDiscountParams, CustomerDeleteSourceParams, CustomerDeleteTaxIdParams, CustomerListBalanceTransactionsParams, CustomerListCashBalanceTransactionsParams, CustomerListPaymentMethodsParams, CustomerListSourcesParams, CustomerListTaxIdsParams, CustomerRetrieveBalanceTransactionParams, CustomerRetrieveCashBalanceParams, CustomerRetrieveCashBalanceTransactionParams, CustomerRetrievePaymentMethodParams, CustomerRetrieveSourceParams, CustomerRetrieveTaxIdParams, CustomerSearchParams, CustomerSerializeBatchUpdateParams, CustomerUpdateBalanceTransactionParams, CustomerUpdateCashBalanceParams, CustomerUpdateSourceParams, CustomerVerifySourceParams, CustomerResource } from './resources/Customers.js';
28
31
  import { CustomerSession, CustomerSessionCreateParams, CustomerSessionResource } from './resources/CustomerSessions.js';
29
32
  import { Dispute, DisputeRetrieveParams, DisputeUpdateParams, DisputeListParams, DisputeCloseParams, DisputeResource } from './resources/Disputes.js';
30
33
  import { EphemeralKey, EphemeralKeyCreateParams, EphemeralKeyDeleteParams, EphemeralKeyResource } from './resources/EphemeralKeys.js';
31
34
  import { ExchangeRate, ExchangeRateRetrieveParams, ExchangeRateListParams, ExchangeRateResource } from './resources/ExchangeRates.js';
35
+ import { ExternalAccount, DeletedExternalAccount, ExternalAccountCreateParams, ExternalAccountRetrieveParams, ExternalAccountUpdateParams, ExternalAccountListParams, ExternalAccountDeleteParams, ExternalAccountResource } from './resources/ExternalAccounts.js';
32
36
  import { File, FileCreateParams, FileRetrieveParams, FileListParams, FileResource } from './resources/Files.js';
33
37
  import { FileLink, FileLinkCreateParams, FileLinkRetrieveParams, FileLinkUpdateParams, FileLinkListParams, FileLinkResource } from './resources/FileLinks.js';
34
- import { Invoice, DeletedInvoice, InvoiceCreateParams, InvoiceRetrieveParams, InvoiceUpdateParams, InvoiceListParams, InvoiceDeleteParams, InvoiceAddLinesParams, InvoiceAttachPaymentParams, InvoiceCreatePreviewParams, InvoiceFinalizeInvoiceParams, InvoiceListLineItemsParams, InvoiceMarkUncollectibleParams, InvoicePayParams, InvoiceRemoveLinesParams, InvoiceSearchParams, InvoiceSendInvoiceParams, InvoiceUpdateLinesParams, InvoiceUpdateLineItemParams, InvoiceVoidInvoiceParams, InvoiceResource } from './resources/Invoices.js';
38
+ import { FxQuote, FxQuoteCreateParams, FxQuoteRetrieveParams, FxQuoteListParams, FxQuoteResource } from './resources/FxQuotes.js';
39
+ import { Invoice, DeletedInvoice, InvoiceCreateParams, InvoiceRetrieveParams, InvoiceUpdateParams, InvoiceListParams, InvoiceDeleteParams, InvoiceAddLinesParams, InvoiceAttachPaymentParams, InvoiceCreatePreviewParams, InvoiceDetachPaymentParams, InvoiceFinalizeInvoiceParams, InvoiceListLineItemsParams, InvoiceMarkUncollectibleParams, InvoicePayParams, InvoiceRemoveLinesParams, InvoiceSearchParams, InvoiceSendInvoiceParams, InvoiceUpdateLinesParams, InvoiceUpdateLineItemParams, InvoiceVoidInvoiceParams, InvoiceResource } from './resources/Invoices.js';
35
40
  import { InvoiceItem, DeletedInvoiceItem, InvoiceItemCreateParams, InvoiceItemRetrieveParams, InvoiceItemUpdateParams, InvoiceItemListParams, InvoiceItemDeleteParams, InvoiceItemResource } from './resources/InvoiceItems.js';
36
41
  import { InvoicePayment, InvoicePaymentRetrieveParams, InvoicePaymentListParams, InvoicePaymentResource } from './resources/InvoicePayments.js';
37
42
  import { InvoiceRenderingTemplate, InvoiceRenderingTemplateRetrieveParams, InvoiceRenderingTemplateListParams, InvoiceRenderingTemplateArchiveParams, InvoiceRenderingTemplateUnarchiveParams, InvoiceRenderingTemplateResource } from './resources/InvoiceRenderingTemplates.js';
38
- import { Mandate, MandateRetrieveParams, MandateResource } from './resources/Mandates.js';
43
+ import { Mandate, MandateRetrieveParams, MandateListParams, MandateResource } from './resources/Mandates.js';
44
+ import { Margin, MarginCreateParams, MarginRetrieveParams, MarginUpdateParams, MarginListParams, MarginResource } from './resources/Margins.js';
45
+ import { Order, OrderCreateParams, OrderRetrieveParams, OrderUpdateParams, OrderListParams, OrderSubmitParams, OrderResource } from './resources/Orders.js';
39
46
  import { PaymentAttemptRecord, PaymentAttemptRecordRetrieveParams, PaymentAttemptRecordListParams, PaymentAttemptRecordResource } from './resources/PaymentAttemptRecords.js';
40
- import { PaymentIntent, PaymentIntentCreateParams, PaymentIntentRetrieveParams, PaymentIntentUpdateParams, PaymentIntentListParams, PaymentIntentApplyCustomerBalanceParams, PaymentIntentCancelParams, PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentListAmountDetailsLineItemsParams, PaymentIntentSearchParams, PaymentIntentVerifyMicrodepositsParams, PaymentIntentResource } from './resources/PaymentIntents.js';
47
+ import { PaymentIntent, PaymentIntentCreateParams, PaymentIntentRetrieveParams, PaymentIntentUpdateParams, PaymentIntentListParams, PaymentIntentApplyCustomerBalanceParams, PaymentIntentCancelParams, PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentDecrementAuthorizationParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentListAmountDetailsLineItemsParams, PaymentIntentSearchParams, PaymentIntentTriggerActionParams, PaymentIntentVerifyMicrodepositsParams, PaymentIntentResource } from './resources/PaymentIntents.js';
41
48
  import { PaymentLink, PaymentLinkCreateParams, PaymentLinkRetrieveParams, PaymentLinkUpdateParams, PaymentLinkListParams, PaymentLinkListLineItemsParams, PaymentLinkResource } from './resources/PaymentLinks.js';
42
49
  import { PaymentMethod, PaymentMethodCreateParams, PaymentMethodRetrieveParams, PaymentMethodUpdateParams, PaymentMethodListParams, PaymentMethodAttachParams, PaymentMethodDetachParams, PaymentMethodResource } from './resources/PaymentMethods.js';
43
50
  import { PaymentMethodConfiguration, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationRetrieveParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfigurationListParams, PaymentMethodConfigurationResource } from './resources/PaymentMethodConfigurations.js';
@@ -47,17 +54,17 @@ import { Payout, PayoutCreateParams, PayoutRetrieveParams, PayoutUpdateParams, P
47
54
  import { Plan, DeletedPlan, PlanCreateParams, PlanRetrieveParams, PlanUpdateParams, PlanListParams, PlanDeleteParams, PlanResource } from './resources/Plans.js';
48
55
  import { Price, DeletedPrice, PriceCreateParams, PriceRetrieveParams, PriceUpdateParams, PriceListParams, PriceSearchParams, PriceResource } from './resources/Prices.js';
49
56
  import { Product, DeletedProduct, ProductCreateParams, ProductRetrieveParams, ProductUpdateParams, ProductListParams, ProductDeleteParams, ProductCreateFeatureParams, ProductDeleteFeatureParams, ProductListFeaturesParams, ProductRetrieveFeatureParams, ProductSearchParams, ProductResource } from './resources/Products.js';
50
- import { PromotionCode, PromotionCodeCreateParams, PromotionCodeRetrieveParams, PromotionCodeUpdateParams, PromotionCodeListParams, PromotionCodeResource } from './resources/PromotionCodes.js';
51
- import { Quote, QuoteCreateParams, QuoteRetrieveParams, QuoteUpdateParams, QuoteListParams, QuoteAcceptParams, QuoteCancelParams, QuoteFinalizeQuoteParams, QuoteListComputedUpfrontLineItemsParams, QuoteListLineItemsParams, QuotePdfParams, QuoteResource } from './resources/Quotes.js';
57
+ import { PromotionCode, PromotionCodeCreateParams, PromotionCodeRetrieveParams, PromotionCodeUpdateParams, PromotionCodeListParams, PromotionCodeSerializeBatchCreateParams, PromotionCodeSerializeBatchUpdateParams, PromotionCodeResource } from './resources/PromotionCodes.js';
58
+ import { Quote, QuoteCreateParams, QuoteRetrieveParams, QuoteUpdateParams, QuoteListParams, QuoteAcceptParams, QuoteCancelParams, QuoteFinalizeQuoteParams, QuoteListPreviewInvoiceLinesParams, QuoteListComputedUpfrontLineItemsParams, QuoteListLineItemsParams, QuoteListLinesParams, QuoteListPreviewInvoicesParams, QuoteListPreviewSubscriptionSchedulesParams, QuoteMarkDraftParams, QuoteMarkStaleParams, QuotePdfParams, QuoteReestimateParams, QuoteResource } from './resources/Quotes.js';
52
59
  import { Refund, RefundCreateParams, RefundRetrieveParams, RefundUpdateParams, RefundListParams, RefundCancelParams, RefundResource } from './resources/Refunds.js';
53
60
  import { Review, ReviewRetrieveParams, ReviewListParams, ReviewApproveParams, ReviewResource } from './resources/Reviews.js';
54
61
  import { SetupAttempt, SetupAttemptListParams, SetupAttemptResource } from './resources/SetupAttempts.js';
55
62
  import { SetupIntent, SetupIntentCreateParams, SetupIntentRetrieveParams, SetupIntentUpdateParams, SetupIntentListParams, SetupIntentCancelParams, SetupIntentConfirmParams, SetupIntentVerifyMicrodepositsParams, SetupIntentResource } from './resources/SetupIntents.js';
56
63
  import { ShippingRate, ShippingRateCreateParams, ShippingRateRetrieveParams, ShippingRateUpdateParams, ShippingRateListParams, ShippingRateResource } from './resources/ShippingRates.js';
57
64
  import { Source, SourceCreateParams, SourceRetrieveParams, SourceUpdateParams, SourceListSourceTransactionsParams, SourceVerifyParams, SourceResource } from './resources/Sources.js';
58
- import { Subscription, SubscriptionCreateParams, SubscriptionRetrieveParams, SubscriptionUpdateParams, SubscriptionListParams, SubscriptionCancelParams, SubscriptionDeleteDiscountParams, SubscriptionMigrateParams, SubscriptionResumeParams, SubscriptionSearchParams, SubscriptionResource } from './resources/Subscriptions.js';
65
+ import { Subscription, SubscriptionCreateParams, SubscriptionRetrieveParams, SubscriptionUpdateParams, SubscriptionListParams, SubscriptionCancelParams, SubscriptionDeleteDiscountParams, SubscriptionMigrateParams, SubscriptionPauseParams, SubscriptionResumeParams, SubscriptionSearchParams, SubscriptionSerializeBatchCancelParams, SubscriptionSerializeBatchMigrateParams, SubscriptionSerializeBatchUpdateParams, SubscriptionResource } from './resources/Subscriptions.js';
59
66
  import { SubscriptionItem, DeletedSubscriptionItem, SubscriptionItemCreateParams, SubscriptionItemRetrieveParams, SubscriptionItemUpdateParams, SubscriptionItemListParams, SubscriptionItemDeleteParams, SubscriptionItemResource } from './resources/SubscriptionItems.js';
60
- import { SubscriptionSchedule, SubscriptionScheduleCreateParams, SubscriptionScheduleRetrieveParams, SubscriptionScheduleUpdateParams, SubscriptionScheduleListParams, SubscriptionScheduleCancelParams, SubscriptionScheduleReleaseParams, SubscriptionScheduleResource } from './resources/SubscriptionSchedules.js';
67
+ import { SubscriptionSchedule, SubscriptionScheduleCreateParams, SubscriptionScheduleRetrieveParams, SubscriptionScheduleUpdateParams, SubscriptionScheduleListParams, SubscriptionScheduleAmendParams, SubscriptionScheduleCancelParams, SubscriptionScheduleReleaseParams, SubscriptionScheduleResource } from './resources/SubscriptionSchedules.js';
61
68
  import { TaxCode, TaxCodeRetrieveParams, TaxCodeListParams, TaxCodeResource } from './resources/TaxCodes.js';
62
69
  import { TaxId, DeletedTaxId, TaxIdCreateParams, TaxIdRetrieveParams, TaxIdListParams, TaxIdDeleteParams, TaxIdResource } from './resources/TaxIds.js';
63
70
  import { TaxRate, TaxRateCreateParams, TaxRateRetrieveParams, TaxRateUpdateParams, TaxRateListParams, TaxRateResource } from './resources/TaxRates.js';
@@ -73,12 +80,12 @@ import { ConnectCollectionTransfer } from './resources/ConnectCollectionTransfer
73
80
  import { Discount, DeletedDiscount } from './resources/Discounts.js';
74
81
  import { FundingInstructions } from './resources/FundingInstructions.js';
75
82
  import { LineItem } from './resources/LineItems.js';
83
+ import { QuoteLine } from './resources/QuoteLines.js';
76
84
  import { ReserveTransaction } from './resources/ReserveTransactions.js';
77
85
  import { SourceMandateNotification } from './resources/SourceMandateNotifications.js';
78
86
  import { SourceTransaction } from './resources/SourceTransactions.js';
79
87
  import { TaxDeductedAtSource } from './resources/TaxDeductedAtSources.js';
80
88
  import { Capability } from './resources/Capabilities.js';
81
- import { ExternalAccount, DeletedExternalAccount } from './resources/ExternalAccounts.js';
82
89
  import { LoginLink } from './resources/LoginLinks.js';
83
90
  import { Person, DeletedPerson } from './resources/Persons.js';
84
91
  import { FeeRefund } from './resources/FeeRefunds.js';
@@ -90,10 +97,13 @@ import { CustomerSource, DeletedCustomerSource } from './resources/CustomerSourc
90
97
  import { InvoiceLineItem } from './resources/InvoiceLineItems.js';
91
98
  import { PaymentIntentAmountDetailsLineItem } from './resources/PaymentIntentAmountDetailsLineItems.js';
92
99
  import { ProductFeature, DeletedProductFeature } from './resources/ProductFeatures.js';
100
+ import { QuotePreviewInvoice } from './resources/QuotePreviewInvoices.js';
101
+ import { QuotePreviewSubscriptionSchedule } from './resources/QuotePreviewSubscriptionSchedules.js';
93
102
  import { TransferReversal } from './resources/TransferReversals.js';
94
103
  import { Apps } from './resources/Apps/index.js';
95
104
  import { Billing } from './resources/Billing/index.js';
96
105
  import { BillingPortal } from './resources/BillingPortal/index.js';
106
+ import { Capital } from './resources/Capital/index.js';
97
107
  import { Checkout } from './resources/Checkout/index.js';
98
108
  import { Climate } from './resources/Climate/index.js';
99
109
  import { Entitlements } from './resources/Entitlements/index.js';
@@ -101,16 +111,19 @@ import { FinancialConnections } from './resources/FinancialConnections/index.js'
101
111
  import { Forwarding } from './resources/Forwarding/index.js';
102
112
  import { Identity } from './resources/Identity/index.js';
103
113
  import { Issuing } from './resources/Issuing/index.js';
114
+ import { Privacy } from './resources/Privacy/index.js';
115
+ import { ProductCatalog } from './resources/ProductCatalog/index.js';
104
116
  import { Radar } from './resources/Radar/index.js';
105
117
  import { Reporting } from './resources/Reporting/index.js';
118
+ import { Reserve } from './resources/Reserve/index.js';
119
+ import { SharedPayment } from './resources/SharedPayment/index.js';
106
120
  import { Sigma } from './resources/Sigma/index.js';
107
121
  import { Tax } from './resources/Tax/index.js';
108
122
  import { Terminal } from './resources/Terminal/index.js';
109
123
  import { TestHelpers } from './resources/TestHelpers/index.js';
110
124
  import { Treasury } from './resources/Treasury/index.js';
111
125
  import { V2 } from './resources/V2/index.js';
112
- import { Reserve } from './resources/Reserve/index.js';
113
- import { AccountApplicationAuthorizedEvent, AccountApplicationDeauthorizedEvent, AccountExternalAccountCreatedEvent, AccountExternalAccountDeletedEvent, AccountExternalAccountUpdatedEvent, AccountUpdatedEvent, ApplicationFeeCreatedEvent, ApplicationFeeRefundUpdatedEvent, ApplicationFeeRefundedEvent, BalanceAvailableEvent, BalanceSettingsUpdatedEvent, BillingAlertTriggeredEvent, BillingCreditBalanceTransactionCreatedEvent, BillingCreditGrantCreatedEvent, BillingCreditGrantUpdatedEvent, BillingMeterCreatedEvent, BillingMeterDeactivatedEvent, BillingMeterReactivatedEvent, BillingMeterUpdatedEvent, BillingPortalConfigurationCreatedEvent, BillingPortalConfigurationUpdatedEvent, BillingPortalSessionCreatedEvent, CapabilityUpdatedEvent, CashBalanceFundsAvailableEvent, ChargeCapturedEvent, ChargeDisputeClosedEvent, ChargeDisputeCreatedEvent, ChargeDisputeFundsReinstatedEvent, ChargeDisputeFundsWithdrawnEvent, ChargeDisputeUpdatedEvent, ChargeExpiredEvent, ChargeFailedEvent, ChargePendingEvent, ChargeRefundUpdatedEvent, ChargeRefundedEvent, ChargeSucceededEvent, ChargeUpdatedEvent, CheckoutSessionAsyncPaymentFailedEvent, CheckoutSessionAsyncPaymentSucceededEvent, CheckoutSessionCompletedEvent, CheckoutSessionExpiredEvent, ClimateOrderCanceledEvent, ClimateOrderCreatedEvent, ClimateOrderDelayedEvent, ClimateOrderDeliveredEvent, ClimateOrderProductSubstitutedEvent, ClimateProductCreatedEvent, ClimateProductPricingUpdatedEvent, CouponCreatedEvent, CouponDeletedEvent, CouponUpdatedEvent, CreditNoteCreatedEvent, CreditNoteUpdatedEvent, CreditNoteVoidedEvent, CustomerCreatedEvent, CustomerDeletedEvent, CustomerDiscountCreatedEvent, CustomerDiscountDeletedEvent, CustomerDiscountUpdatedEvent, CustomerSourceCreatedEvent, CustomerSourceDeletedEvent, CustomerSourceExpiringEvent, CustomerSourceUpdatedEvent, CustomerSubscriptionCreatedEvent, CustomerSubscriptionDeletedEvent, CustomerSubscriptionPausedEvent, CustomerSubscriptionPendingUpdateAppliedEvent, CustomerSubscriptionPendingUpdateExpiredEvent, CustomerSubscriptionResumedEvent, CustomerSubscriptionTrialWillEndEvent, CustomerSubscriptionUpdatedEvent, CustomerTaxIdCreatedEvent, CustomerTaxIdDeletedEvent, CustomerTaxIdUpdatedEvent, CustomerUpdatedEvent, CustomerCashBalanceTransactionCreatedEvent, EntitlementsActiveEntitlementSummaryUpdatedEvent, FileCreatedEvent, FinancialConnectionsAccountAccountNumbersUpdatedEvent, FinancialConnectionsAccountCreatedEvent, FinancialConnectionsAccountDeactivatedEvent, FinancialConnectionsAccountDisconnectedEvent, FinancialConnectionsAccountReactivatedEvent, FinancialConnectionsAccountRefreshedBalanceEvent, FinancialConnectionsAccountRefreshedOwnershipEvent, FinancialConnectionsAccountRefreshedTransactionsEvent, FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent, IdentityVerificationSessionCanceledEvent, IdentityVerificationSessionCreatedEvent, IdentityVerificationSessionProcessingEvent, IdentityVerificationSessionRedactedEvent, IdentityVerificationSessionRequiresInputEvent, IdentityVerificationSessionVerifiedEvent, InvoiceCreatedEvent, InvoiceDeletedEvent, InvoiceFinalizationFailedEvent, InvoiceFinalizedEvent, InvoiceMarkedUncollectibleEvent, InvoiceOverdueEvent, InvoiceOverpaidEvent, InvoicePaidEvent, InvoicePaymentActionRequiredEvent, InvoicePaymentAttemptRequiredEvent, InvoicePaymentFailedEvent, InvoicePaymentSucceededEvent, InvoiceSentEvent, InvoiceUpcomingEvent, InvoiceUpdatedEvent, InvoiceVoidedEvent, InvoiceWillBeDueEvent, InvoicePaymentPaidEvent, InvoiceItemCreatedEvent, InvoiceItemDeletedEvent, IssuingAuthorizationCreatedEvent, IssuingAuthorizationRequestEvent, IssuingAuthorizationUpdatedEvent, IssuingCardCreatedEvent, IssuingCardUpdatedEvent, IssuingCardholderCreatedEvent, IssuingCardholderUpdatedEvent, IssuingDisputeClosedEvent, IssuingDisputeCreatedEvent, IssuingDisputeFundsReinstatedEvent, IssuingDisputeFundsRescindedEvent, IssuingDisputeSubmittedEvent, IssuingDisputeUpdatedEvent, IssuingPersonalizationDesignActivatedEvent, IssuingPersonalizationDesignDeactivatedEvent, IssuingPersonalizationDesignRejectedEvent, IssuingPersonalizationDesignUpdatedEvent, IssuingTokenCreatedEvent, IssuingTokenUpdatedEvent, IssuingTransactionCreatedEvent, IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, IssuingTransactionUpdatedEvent, MandateUpdatedEvent, PaymentIntentAmountCapturableUpdatedEvent, PaymentIntentCanceledEvent, PaymentIntentCreatedEvent, PaymentIntentPartiallyFundedEvent, PaymentIntentPaymentFailedEvent, PaymentIntentProcessingEvent, PaymentIntentRequiresActionEvent, PaymentIntentSucceededEvent, PaymentLinkCreatedEvent, PaymentLinkUpdatedEvent, PaymentMethodAttachedEvent, PaymentMethodAutomaticallyUpdatedEvent, PaymentMethodDetachedEvent, PaymentMethodUpdatedEvent, PayoutCanceledEvent, PayoutCreatedEvent, PayoutFailedEvent, PayoutPaidEvent, PayoutReconciliationCompletedEvent, PayoutUpdatedEvent, PersonCreatedEvent, PersonDeletedEvent, PersonUpdatedEvent, PlanCreatedEvent, PlanDeletedEvent, PlanUpdatedEvent, PriceCreatedEvent, PriceDeletedEvent, PriceUpdatedEvent, ProductCreatedEvent, ProductDeletedEvent, ProductUpdatedEvent, PromotionCodeCreatedEvent, PromotionCodeUpdatedEvent, QuoteAcceptedEvent, QuoteCanceledEvent, QuoteCreatedEvent, QuoteFinalizedEvent, RadarEarlyFraudWarningCreatedEvent, RadarEarlyFraudWarningUpdatedEvent, RefundCreatedEvent, RefundFailedEvent, RefundUpdatedEvent, ReportingReportRunFailedEvent, ReportingReportRunSucceededEvent, ReportingReportTypeUpdatedEvent, ReserveHoldCreatedEvent, ReserveHoldUpdatedEvent, ReservePlanCreatedEvent, ReservePlanDisabledEvent, ReservePlanExpiredEvent, ReservePlanUpdatedEvent, ReserveReleaseCreatedEvent, ReviewClosedEvent, ReviewOpenedEvent, SetupIntentCanceledEvent, SetupIntentCreatedEvent, SetupIntentRequiresActionEvent, SetupIntentSetupFailedEvent, SetupIntentSucceededEvent, SigmaScheduledQueryRunCreatedEvent, SourceCanceledEvent, SourceChargeableEvent, SourceFailedEvent, SourceMandateNotificationEvent, SourceRefundAttributesRequiredEvent, SourceTransactionCreatedEvent, SourceTransactionUpdatedEvent, SubscriptionScheduleAbortedEvent, SubscriptionScheduleCanceledEvent, SubscriptionScheduleCompletedEvent, SubscriptionScheduleCreatedEvent, SubscriptionScheduleExpiringEvent, SubscriptionScheduleReleasedEvent, SubscriptionScheduleUpdatedEvent, TaxSettingsUpdatedEvent, TaxRateCreatedEvent, TaxRateUpdatedEvent, TerminalReaderActionFailedEvent, TerminalReaderActionSucceededEvent, TerminalReaderActionUpdatedEvent, TestHelpersTestClockAdvancingEvent, TestHelpersTestClockCreatedEvent, TestHelpersTestClockDeletedEvent, TestHelpersTestClockInternalFailureEvent, TestHelpersTestClockReadyEvent, TopupCanceledEvent, TopupCreatedEvent, TopupFailedEvent, TopupReversedEvent, TopupSucceededEvent, TransferCreatedEvent, TransferReversedEvent, TransferUpdatedEvent, TreasuryCreditReversalCreatedEvent, TreasuryCreditReversalPostedEvent, TreasuryDebitReversalCompletedEvent, TreasuryDebitReversalCreatedEvent, TreasuryDebitReversalInitialCreditGrantedEvent, TreasuryFinancialAccountClosedEvent, TreasuryFinancialAccountCreatedEvent, TreasuryFinancialAccountFeaturesStatusUpdatedEvent, TreasuryInboundTransferCanceledEvent, TreasuryInboundTransferCreatedEvent, TreasuryInboundTransferFailedEvent, TreasuryInboundTransferSucceededEvent, TreasuryOutboundPaymentCanceledEvent, TreasuryOutboundPaymentCreatedEvent, TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent, TreasuryOutboundPaymentFailedEvent, TreasuryOutboundPaymentPostedEvent, TreasuryOutboundPaymentReturnedEvent, TreasuryOutboundPaymentTrackingDetailsUpdatedEvent, TreasuryOutboundTransferCanceledEvent, TreasuryOutboundTransferCreatedEvent, TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent, TreasuryOutboundTransferFailedEvent, TreasuryOutboundTransferPostedEvent, TreasuryOutboundTransferReturnedEvent, TreasuryOutboundTransferTrackingDetailsUpdatedEvent, TreasuryReceivedCreditCreatedEvent, TreasuryReceivedCreditFailedEvent, TreasuryReceivedCreditSucceededEvent, TreasuryReceivedDebitCreatedEvent, Event, EventBase, EventRetrieveParams, EventListParams, EventResource } from './resources/Events.js';
126
+ import { AccountApplicationAuthorizedEvent, AccountApplicationDeauthorizedEvent, AccountExternalAccountCreatedEvent, AccountExternalAccountDeletedEvent, AccountExternalAccountUpdatedEvent, AccountUpdatedEvent, AccountNoticeCreatedEvent, AccountNoticeUpdatedEvent, ApplicationFeeCreatedEvent, ApplicationFeeRefundUpdatedEvent, ApplicationFeeRefundedEvent, BalanceAvailableEvent, BalanceSettingsUpdatedEvent, BillingAlertTriggeredEvent, BillingCreditBalanceTransactionCreatedEvent, BillingCreditGrantCreatedEvent, BillingCreditGrantUpdatedEvent, BillingMeterCreatedEvent, BillingMeterDeactivatedEvent, BillingMeterReactivatedEvent, BillingMeterUpdatedEvent, BillingPortalConfigurationCreatedEvent, BillingPortalConfigurationUpdatedEvent, BillingPortalSessionCreatedEvent, CapabilityUpdatedEvent, CapitalFinancingOfferAcceptedEvent, CapitalFinancingOfferCanceledEvent, CapitalFinancingOfferCreatedEvent, CapitalFinancingOfferExpiredEvent, CapitalFinancingOfferFullyRepaidEvent, CapitalFinancingOfferPaidOutEvent, CapitalFinancingOfferRejectedEvent, CapitalFinancingOfferReplacementCreatedEvent, CapitalFinancingTransactionCreatedEvent, CashBalanceFundsAvailableEvent, ChargeCapturedEvent, ChargeDisputeClosedEvent, ChargeDisputeCreatedEvent, ChargeDisputeFundsReinstatedEvent, ChargeDisputeFundsWithdrawnEvent, ChargeDisputeUpdatedEvent, ChargeExpiredEvent, ChargeFailedEvent, ChargePendingEvent, ChargeRefundUpdatedEvent, ChargeRefundedEvent, ChargeSucceededEvent, ChargeUpdatedEvent, CheckoutSessionAsyncPaymentFailedEvent, CheckoutSessionAsyncPaymentSucceededEvent, CheckoutSessionCompletedEvent, CheckoutSessionExpiredEvent, ClimateOrderCanceledEvent, ClimateOrderCreatedEvent, ClimateOrderDelayedEvent, ClimateOrderDeliveredEvent, ClimateOrderProductSubstitutedEvent, ClimateProductCreatedEvent, ClimateProductPricingUpdatedEvent, CouponCreatedEvent, CouponDeletedEvent, CouponUpdatedEvent, CreditNoteCreatedEvent, CreditNoteUpdatedEvent, CreditNoteVoidedEvent, CustomerCreatedEvent, CustomerDeletedEvent, CustomerDiscountCreatedEvent, CustomerDiscountDeletedEvent, CustomerDiscountUpdatedEvent, CustomerSourceCreatedEvent, CustomerSourceDeletedEvent, CustomerSourceExpiringEvent, CustomerSourceUpdatedEvent, CustomerSubscriptionCollectionPausedEvent, CustomerSubscriptionCollectionResumedEvent, CustomerSubscriptionCreatedEvent, CustomerSubscriptionCustomEventEvent, CustomerSubscriptionDeletedEvent, CustomerSubscriptionPausedEvent, CustomerSubscriptionPendingUpdateAppliedEvent, CustomerSubscriptionPendingUpdateExpiredEvent, CustomerSubscriptionPriceMigrationFailedEvent, CustomerSubscriptionResumedEvent, CustomerSubscriptionTrialWillEndEvent, CustomerSubscriptionUpdatedEvent, CustomerTaxIdCreatedEvent, CustomerTaxIdDeletedEvent, CustomerTaxIdUpdatedEvent, CustomerUpdatedEvent, CustomerCashBalanceTransactionCreatedEvent, EntitlementsActiveEntitlementSummaryUpdatedEvent, FileCreatedEvent, FinancialConnectionsAccountAccountNumbersUpdatedEvent, FinancialConnectionsAccountCreatedEvent, FinancialConnectionsAccountDeactivatedEvent, FinancialConnectionsAccountDisconnectedEvent, FinancialConnectionsAccountReactivatedEvent, FinancialConnectionsAccountRefreshedBalanceEvent, FinancialConnectionsAccountRefreshedInferredBalancesEvent, FinancialConnectionsAccountRefreshedOwnershipEvent, FinancialConnectionsAccountRefreshedTransactionsEvent, FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent, FinancialConnectionsSessionUpdatedEvent, FxQuoteExpiredEvent, IdentityVerificationSessionCanceledEvent, IdentityVerificationSessionCreatedEvent, IdentityVerificationSessionProcessingEvent, IdentityVerificationSessionRedactedEvent, IdentityVerificationSessionRequiresInputEvent, IdentityVerificationSessionVerifiedEvent, InvoiceCreatedEvent, InvoiceDeletedEvent, InvoiceFinalizationFailedEvent, InvoiceFinalizedEvent, InvoiceMarkedUncollectibleEvent, InvoiceOverdueEvent, InvoiceOverpaidEvent, InvoicePaidEvent, InvoicePaymentOverpaidEvent, InvoicePaymentActionRequiredEvent, InvoicePaymentAttemptRequiredEvent, InvoicePaymentFailedEvent, InvoicePaymentSucceededEvent, InvoiceSentEvent, InvoiceUpcomingEvent, InvoiceUpdatedEvent, InvoiceVoidedEvent, InvoiceWillBeDueEvent, InvoicePaymentDetachedEvent, InvoicePaymentPaidEvent, InvoiceItemCreatedEvent, InvoiceItemDeletedEvent, IssuingAuthorizationCreatedEvent, IssuingAuthorizationRequestEvent, IssuingAuthorizationUpdatedEvent, IssuingCardCreatedEvent, IssuingCardUpdatedEvent, IssuingCardholderCreatedEvent, IssuingCardholderUpdatedEvent, IssuingDisputeClosedEvent, IssuingDisputeCreatedEvent, IssuingDisputeFundsReinstatedEvent, IssuingDisputeFundsRescindedEvent, IssuingDisputeSubmittedEvent, IssuingDisputeUpdatedEvent, IssuingDisputeSettlementDetailCreatedEvent, IssuingDisputeSettlementDetailUpdatedEvent, IssuingFraudLiabilityDebitCreatedEvent, IssuingPersonalizationDesignActivatedEvent, IssuingPersonalizationDesignDeactivatedEvent, IssuingPersonalizationDesignRejectedEvent, IssuingPersonalizationDesignUpdatedEvent, IssuingSettlementCreatedEvent, IssuingSettlementUpdatedEvent, IssuingTokenCreatedEvent, IssuingTokenUpdatedEvent, IssuingTransactionCreatedEvent, IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, IssuingTransactionUpdatedEvent, MandateUpdatedEvent, PaymentIntentAmountCapturableUpdatedEvent, PaymentIntentCanceledEvent, PaymentIntentCreatedEvent, PaymentIntentPartiallyFundedEvent, PaymentIntentPaymentFailedEvent, PaymentIntentProcessingEvent, PaymentIntentRequiresActionEvent, PaymentIntentSucceededEvent, PaymentLinkCreatedEvent, PaymentLinkUpdatedEvent, PaymentMethodAttachedEvent, PaymentMethodAutomaticallyUpdatedEvent, PaymentMethodDetachedEvent, PaymentMethodUpdatedEvent, PayoutCanceledEvent, PayoutCreatedEvent, PayoutFailedEvent, PayoutPaidEvent, PayoutReconciliationCompletedEvent, PayoutUpdatedEvent, PersonCreatedEvent, PersonDeletedEvent, PersonUpdatedEvent, PlanCreatedEvent, PlanDeletedEvent, PlanUpdatedEvent, PriceCreatedEvent, PriceDeletedEvent, PriceUpdatedEvent, PrivacyRedactionJobCanceledEvent, PrivacyRedactionJobCreatedEvent, PrivacyRedactionJobReadyEvent, PrivacyRedactionJobSucceededEvent, PrivacyRedactionJobValidationErrorEvent, ProductCreatedEvent, ProductDeletedEvent, ProductUpdatedEvent, PromotionCodeCreatedEvent, PromotionCodeUpdatedEvent, QuoteAcceptFailedEvent, QuoteAcceptedEvent, QuoteAcceptingEvent, QuoteCanceledEvent, QuoteCreatedEvent, QuoteDraftEvent, QuoteFinalizedEvent, QuoteReestimateFailedEvent, QuoteReestimatedEvent, QuoteStaleEvent, RadarEarlyFraudWarningCreatedEvent, RadarEarlyFraudWarningUpdatedEvent, RefundCreatedEvent, RefundFailedEvent, RefundUpdatedEvent, ReportingReportRunFailedEvent, ReportingReportRunSucceededEvent, ReportingReportTypeUpdatedEvent, ReserveHoldCreatedEvent, ReserveHoldUpdatedEvent, ReservePlanCreatedEvent, ReservePlanDisabledEvent, ReservePlanExpiredEvent, ReservePlanUpdatedEvent, ReserveReleaseCreatedEvent, ReviewClosedEvent, ReviewOpenedEvent, SetupIntentCanceledEvent, SetupIntentCreatedEvent, SetupIntentRequiresActionEvent, SetupIntentSetupFailedEvent, SetupIntentSucceededEvent, SigmaScheduledQueryRunCreatedEvent, SourceCanceledEvent, SourceChargeableEvent, SourceFailedEvent, SourceMandateNotificationEvent, SourceRefundAttributesRequiredEvent, SourceTransactionCreatedEvent, SourceTransactionUpdatedEvent, SubscriptionScheduleAbortedEvent, SubscriptionScheduleCanceledEvent, SubscriptionScheduleCompletedEvent, SubscriptionScheduleCreatedEvent, SubscriptionScheduleExpiringEvent, SubscriptionSchedulePriceMigrationFailedEvent, SubscriptionScheduleReleasedEvent, SubscriptionScheduleUpdatedEvent, TaxFormUpdatedEvent, TaxSettingsUpdatedEvent, TaxRateCreatedEvent, TaxRateUpdatedEvent, TerminalReaderActionFailedEvent, TerminalReaderActionSucceededEvent, TerminalReaderActionUpdatedEvent, TestHelpersTestClockAdvancingEvent, TestHelpersTestClockCreatedEvent, TestHelpersTestClockDeletedEvent, TestHelpersTestClockInternalFailureEvent, TestHelpersTestClockReadyEvent, TopupCanceledEvent, TopupCreatedEvent, TopupFailedEvent, TopupReversedEvent, TopupSucceededEvent, TransferCreatedEvent, TransferReversedEvent, TransferUpdatedEvent, TreasuryCreditReversalCreatedEvent, TreasuryCreditReversalPostedEvent, TreasuryDebitReversalCompletedEvent, TreasuryDebitReversalCreatedEvent, TreasuryDebitReversalInitialCreditGrantedEvent, TreasuryFinancialAccountClosedEvent, TreasuryFinancialAccountCreatedEvent, TreasuryFinancialAccountFeaturesStatusUpdatedEvent, TreasuryInboundTransferCanceledEvent, TreasuryInboundTransferCreatedEvent, TreasuryInboundTransferFailedEvent, TreasuryInboundTransferSucceededEvent, TreasuryOutboundPaymentCanceledEvent, TreasuryOutboundPaymentCreatedEvent, TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent, TreasuryOutboundPaymentFailedEvent, TreasuryOutboundPaymentPostedEvent, TreasuryOutboundPaymentReturnedEvent, TreasuryOutboundPaymentTrackingDetailsUpdatedEvent, TreasuryOutboundTransferCanceledEvent, TreasuryOutboundTransferCreatedEvent, TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent, TreasuryOutboundTransferFailedEvent, TreasuryOutboundTransferPostedEvent, TreasuryOutboundTransferReturnedEvent, TreasuryOutboundTransferTrackingDetailsUpdatedEvent, TreasuryReceivedCreditCreatedEvent, TreasuryReceivedCreditFailedEvent, TreasuryReceivedCreditSucceededEvent, TreasuryReceivedDebitCreatedEvent, Event, EventBase, EventRetrieveParams, EventListParams, EventResource } from './resources/Events.js';
114
127
  import { OAuthResource } from './resources.js';
115
128
  import { OAuthToken, OAuthTokenParams, OAuthAuthorizeUrlOptions, OAuthAuthorizeUrlParams, OAuthDeauthorization, OAuthDeauthorizeParams } from './resources/OAuth.js';
116
129
  type RequestSenderFactory = (stripe: Stripe) => RequestSender;
@@ -157,6 +170,7 @@ export declare class Stripe {
157
170
  _authenticator: RequestAuthenticator | null;
158
171
  _clientId?: string;
159
172
  accountLinks: AccountLinkResource;
173
+ accountNotices: AccountNoticeResource;
160
174
  accountSessions: AccountSessionResource;
161
175
  accounts: AccountResource;
162
176
  applePayDomains: ApplePayDomainResource;
@@ -175,13 +189,17 @@ export declare class Stripe {
175
189
  ephemeralKeys: EphemeralKeyResource;
176
190
  events: EventResource;
177
191
  exchangeRates: ExchangeRateResource;
192
+ externalAccounts: ExternalAccountResource;
178
193
  fileLinks: FileLinkResource;
179
194
  files: FileResource;
195
+ fxQuotes: FxQuoteResource;
180
196
  invoiceItems: InvoiceItemResource;
181
197
  invoicePayments: InvoicePaymentResource;
182
198
  invoiceRenderingTemplates: InvoiceRenderingTemplateResource;
183
199
  invoices: InvoiceResource;
184
200
  mandates: MandateResource;
201
+ margins: MarginResource;
202
+ orders: OrderResource;
185
203
  paymentAttemptRecords: PaymentAttemptRecordResource;
186
204
  paymentIntents: PaymentIntentResource;
187
205
  paymentLinks: PaymentLinkResource;
@@ -214,6 +232,7 @@ export declare class Stripe {
214
232
  apps: Apps;
215
233
  billing: Billing;
216
234
  billingPortal: BillingPortal;
235
+ capital: Capital;
217
236
  checkout: Checkout;
218
237
  climate: Climate;
219
238
  entitlements: Entitlements;
@@ -221,8 +240,12 @@ export declare class Stripe {
221
240
  forwarding: Forwarding;
222
241
  identity: Identity;
223
242
  issuing: Issuing;
243
+ privacy: Privacy;
244
+ productCatalog: ProductCatalog;
224
245
  radar: Radar;
225
246
  reporting: Reporting;
247
+ reserve: Reserve;
248
+ sharedPayment: SharedPayment;
226
249
  sigma: Sigma;
227
250
  tax: Tax;
228
251
  terminal: Terminal;
@@ -329,11 +352,13 @@ export declare class Stripe {
329
352
  getApiField<K extends keyof Stripe['_api']>(key: K): Stripe['_api'][K];
330
353
  parseEventNotification(payload: string | Uint8Array, header: string | Uint8Array, secret: string, tolerance?: number, cryptoProvider?: CryptoProvider, receivedAt?: number): V2.Core.EventNotification;
331
354
  parseEventNotificationAsync(payload: string | Uint8Array, header: string | Uint8Array, secret: string, tolerance?: number, cryptoProvider?: CryptoProvider, receivedAt?: number): Promise<V2.Core.EventNotification>;
355
+ notificationHandler(webhookSecret: string, fallbackCallback: (event: UnknownEventNotification, client: Stripe, details: UnhandledNotificationDetails) => Promise<void>): StripeEventNotificationHandler;
332
356
  }
333
357
  export declare function createStripe(platformFunctions: PlatformFunctions, requestSender?: RequestSenderFactory): typeof Stripe;
334
358
  export declare namespace Stripe {
335
- export { Account, DeletedAccount, AccountCreateParams, AccountRetrieveParams, AccountUpdateParams, AccountListParams, AccountDeleteParams, AccountCreateExternalAccountParams, AccountCreateLoginLinkParams, AccountCreatePersonParams, AccountDeleteExternalAccountParams, AccountDeletePersonParams, AccountListCapabilitiesParams, AccountListExternalAccountsParams, AccountListPersonsParams, AccountRejectParams, AccountRetrieveCurrentParams, AccountRetrieveCapabilityParams, AccountRetrieveExternalAccountParams, AccountRetrievePersonParams, AccountUpdateCapabilityParams, AccountUpdateExternalAccountParams, AccountUpdatePersonParams, AccountResource, };
359
+ export { Account, DeletedAccount, AccountCreateParams, AccountRetrieveParams, AccountUpdateParams, AccountListParams, AccountDeleteParams, AccountCreateExternalAccountParams, AccountCreateLoginLinkParams, AccountCreatePersonParams, AccountDeleteExternalAccountParams, AccountDeletePersonParams, AccountListCapabilitiesParams, AccountListExternalAccountsParams, AccountListPersonsParams, AccountRejectParams, AccountRetrieveCurrentParams, AccountRetrieveCapabilityParams, AccountRetrieveExternalAccountParams, AccountRetrievePersonParams, AccountSerializeBatchUpdateParams, AccountUpdateCapabilityParams, AccountUpdateExternalAccountParams, AccountUpdatePersonParams, AccountResource, };
336
360
  export { AccountLink, AccountLinkCreateParams, AccountLinkResource };
361
+ export { AccountNotice, AccountNoticeRetrieveParams, AccountNoticeUpdateParams, AccountNoticeListParams, AccountNoticeResource, };
337
362
  export { AccountSession, AccountSessionCreateParams, AccountSessionResource };
338
363
  export { ApplePayDomain, DeletedApplePayDomain, ApplePayDomainCreateParams, ApplePayDomainRetrieveParams, ApplePayDomainListParams, ApplePayDomainDeleteParams, ApplePayDomainResource, };
339
364
  export { ApplicationFee, ApplicationFeeRetrieveParams, ApplicationFeeListParams, ApplicationFeeCreateRefundParams, ApplicationFeeListRefundsParams, ApplicationFeeRetrieveRefundParams, ApplicationFeeUpdateRefundParams, ApplicationFeeResource, };
@@ -343,23 +368,27 @@ export declare namespace Stripe {
343
368
  export { Charge, ChargeCreateParams, ChargeRetrieveParams, ChargeUpdateParams, ChargeListParams, ChargeCaptureParams, ChargeSearchParams, ChargeResource, };
344
369
  export { ConfirmationToken, ConfirmationTokenRetrieveParams, ConfirmationTokenResource, };
345
370
  export { CountrySpec, CountrySpecRetrieveParams, CountrySpecListParams, CountrySpecResource, };
346
- export { Coupon, DeletedCoupon, CouponCreateParams, CouponRetrieveParams, CouponUpdateParams, CouponListParams, CouponDeleteParams, CouponResource, };
371
+ export { Coupon, DeletedCoupon, CouponCreateParams, CouponRetrieveParams, CouponUpdateParams, CouponListParams, CouponDeleteParams, CouponSerializeBatchCreateParams, CouponResource, };
347
372
  export { CreditNote, CreditNoteCreateParams, CreditNoteRetrieveParams, CreditNoteUpdateParams, CreditNoteListParams, CreditNoteListLineItemsParams, CreditNoteListPreviewLineItemsParams, CreditNotePreviewParams, CreditNoteVoidCreditNoteParams, CreditNoteResource, };
348
- export { Customer, DeletedCustomer, CustomerCreateParams, CustomerRetrieveParams, CustomerUpdateParams, CustomerListParams, CustomerDeleteParams, CustomerCreateBalanceTransactionParams, CustomerCreateFundingInstructionsParams, CustomerCreateSourceParams, CustomerCreateTaxIdParams, CustomerDeleteDiscountParams, CustomerDeleteSourceParams, CustomerDeleteTaxIdParams, CustomerListBalanceTransactionsParams, CustomerListCashBalanceTransactionsParams, CustomerListPaymentMethodsParams, CustomerListSourcesParams, CustomerListTaxIdsParams, CustomerRetrieveBalanceTransactionParams, CustomerRetrieveCashBalanceParams, CustomerRetrieveCashBalanceTransactionParams, CustomerRetrievePaymentMethodParams, CustomerRetrieveSourceParams, CustomerRetrieveTaxIdParams, CustomerSearchParams, CustomerUpdateBalanceTransactionParams, CustomerUpdateCashBalanceParams, CustomerUpdateSourceParams, CustomerVerifySourceParams, CustomerResource, };
373
+ export { Customer, DeletedCustomer, CustomerCreateParams, CustomerRetrieveParams, CustomerUpdateParams, CustomerListParams, CustomerDeleteParams, CustomerCreateBalanceTransactionParams, CustomerCreateFundingInstructionsParams, CustomerCreateSourceParams, CustomerCreateTaxIdParams, CustomerDeleteDiscountParams, CustomerDeleteSourceParams, CustomerDeleteTaxIdParams, CustomerListBalanceTransactionsParams, CustomerListCashBalanceTransactionsParams, CustomerListPaymentMethodsParams, CustomerListSourcesParams, CustomerListTaxIdsParams, CustomerRetrieveBalanceTransactionParams, CustomerRetrieveCashBalanceParams, CustomerRetrieveCashBalanceTransactionParams, CustomerRetrievePaymentMethodParams, CustomerRetrieveSourceParams, CustomerRetrieveTaxIdParams, CustomerSearchParams, CustomerSerializeBatchUpdateParams, CustomerUpdateBalanceTransactionParams, CustomerUpdateCashBalanceParams, CustomerUpdateSourceParams, CustomerVerifySourceParams, CustomerResource, };
349
374
  export { CustomerSession, CustomerSessionCreateParams, CustomerSessionResource, };
350
375
  export { Dispute, DisputeRetrieveParams, DisputeUpdateParams, DisputeListParams, DisputeCloseParams, DisputeResource, };
351
376
  export { EphemeralKey, EphemeralKeyCreateParams, EphemeralKeyDeleteParams, EphemeralKeyResource, };
352
377
  export { Event, EventBase, EventRetrieveParams, EventListParams, EventResource, };
353
378
  export { ExchangeRate, ExchangeRateRetrieveParams, ExchangeRateListParams, ExchangeRateResource, };
379
+ export { ExternalAccount, DeletedExternalAccount, ExternalAccountCreateParams, ExternalAccountRetrieveParams, ExternalAccountUpdateParams, ExternalAccountListParams, ExternalAccountDeleteParams, ExternalAccountResource, };
354
380
  export { File, FileCreateParams, FileRetrieveParams, FileListParams, FileResource, };
355
381
  export { FileLink, FileLinkCreateParams, FileLinkRetrieveParams, FileLinkUpdateParams, FileLinkListParams, FileLinkResource, };
356
- export { Invoice, DeletedInvoice, InvoiceCreateParams, InvoiceRetrieveParams, InvoiceUpdateParams, InvoiceListParams, InvoiceDeleteParams, InvoiceAddLinesParams, InvoiceAttachPaymentParams, InvoiceCreatePreviewParams, InvoiceFinalizeInvoiceParams, InvoiceListLineItemsParams, InvoiceMarkUncollectibleParams, InvoicePayParams, InvoiceRemoveLinesParams, InvoiceSearchParams, InvoiceSendInvoiceParams, InvoiceUpdateLinesParams, InvoiceUpdateLineItemParams, InvoiceVoidInvoiceParams, InvoiceResource, };
382
+ export { FxQuote, FxQuoteCreateParams, FxQuoteRetrieveParams, FxQuoteListParams, FxQuoteResource, };
383
+ export { Invoice, DeletedInvoice, InvoiceCreateParams, InvoiceRetrieveParams, InvoiceUpdateParams, InvoiceListParams, InvoiceDeleteParams, InvoiceAddLinesParams, InvoiceAttachPaymentParams, InvoiceCreatePreviewParams, InvoiceDetachPaymentParams, InvoiceFinalizeInvoiceParams, InvoiceListLineItemsParams, InvoiceMarkUncollectibleParams, InvoicePayParams, InvoiceRemoveLinesParams, InvoiceSearchParams, InvoiceSendInvoiceParams, InvoiceUpdateLinesParams, InvoiceUpdateLineItemParams, InvoiceVoidInvoiceParams, InvoiceResource, };
357
384
  export { InvoiceItem, DeletedInvoiceItem, InvoiceItemCreateParams, InvoiceItemRetrieveParams, InvoiceItemUpdateParams, InvoiceItemListParams, InvoiceItemDeleteParams, InvoiceItemResource, };
358
385
  export { InvoicePayment, InvoicePaymentRetrieveParams, InvoicePaymentListParams, InvoicePaymentResource, };
359
386
  export { InvoiceRenderingTemplate, InvoiceRenderingTemplateRetrieveParams, InvoiceRenderingTemplateListParams, InvoiceRenderingTemplateArchiveParams, InvoiceRenderingTemplateUnarchiveParams, InvoiceRenderingTemplateResource, };
360
- export { Mandate, MandateRetrieveParams, MandateResource };
387
+ export { Mandate, MandateRetrieveParams, MandateListParams, MandateResource };
388
+ export { Margin, MarginCreateParams, MarginRetrieveParams, MarginUpdateParams, MarginListParams, MarginResource, };
389
+ export { Order, OrderCreateParams, OrderRetrieveParams, OrderUpdateParams, OrderListParams, OrderSubmitParams, OrderResource, };
361
390
  export { PaymentAttemptRecord, PaymentAttemptRecordRetrieveParams, PaymentAttemptRecordListParams, PaymentAttemptRecordResource, };
362
- export { PaymentIntent, PaymentIntentCreateParams, PaymentIntentRetrieveParams, PaymentIntentUpdateParams, PaymentIntentListParams, PaymentIntentApplyCustomerBalanceParams, PaymentIntentCancelParams, PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentListAmountDetailsLineItemsParams, PaymentIntentSearchParams, PaymentIntentVerifyMicrodepositsParams, PaymentIntentResource, };
391
+ export { PaymentIntent, PaymentIntentCreateParams, PaymentIntentRetrieveParams, PaymentIntentUpdateParams, PaymentIntentListParams, PaymentIntentApplyCustomerBalanceParams, PaymentIntentCancelParams, PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentDecrementAuthorizationParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentListAmountDetailsLineItemsParams, PaymentIntentSearchParams, PaymentIntentTriggerActionParams, PaymentIntentVerifyMicrodepositsParams, PaymentIntentResource, };
363
392
  export { PaymentLink, PaymentLinkCreateParams, PaymentLinkRetrieveParams, PaymentLinkUpdateParams, PaymentLinkListParams, PaymentLinkListLineItemsParams, PaymentLinkResource, };
364
393
  export { PaymentMethod, PaymentMethodCreateParams, PaymentMethodRetrieveParams, PaymentMethodUpdateParams, PaymentMethodListParams, PaymentMethodAttachParams, PaymentMethodDetachParams, PaymentMethodResource, };
365
394
  export { PaymentMethodConfiguration, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationRetrieveParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfigurationListParams, PaymentMethodConfigurationResource, };
@@ -369,17 +398,17 @@ export declare namespace Stripe {
369
398
  export { Plan, DeletedPlan, PlanCreateParams, PlanRetrieveParams, PlanUpdateParams, PlanListParams, PlanDeleteParams, PlanResource, };
370
399
  export { Price, DeletedPrice, PriceCreateParams, PriceRetrieveParams, PriceUpdateParams, PriceListParams, PriceSearchParams, PriceResource, };
371
400
  export { Product, DeletedProduct, ProductCreateParams, ProductRetrieveParams, ProductUpdateParams, ProductListParams, ProductDeleteParams, ProductCreateFeatureParams, ProductDeleteFeatureParams, ProductListFeaturesParams, ProductRetrieveFeatureParams, ProductSearchParams, ProductResource, };
372
- export { PromotionCode, PromotionCodeCreateParams, PromotionCodeRetrieveParams, PromotionCodeUpdateParams, PromotionCodeListParams, PromotionCodeResource, };
373
- export { Quote, QuoteCreateParams, QuoteRetrieveParams, QuoteUpdateParams, QuoteListParams, QuoteAcceptParams, QuoteCancelParams, QuoteFinalizeQuoteParams, QuoteListComputedUpfrontLineItemsParams, QuoteListLineItemsParams, QuotePdfParams, QuoteResource, };
401
+ export { PromotionCode, PromotionCodeCreateParams, PromotionCodeRetrieveParams, PromotionCodeUpdateParams, PromotionCodeListParams, PromotionCodeSerializeBatchCreateParams, PromotionCodeSerializeBatchUpdateParams, PromotionCodeResource, };
402
+ export { Quote, QuoteCreateParams, QuoteRetrieveParams, QuoteUpdateParams, QuoteListParams, QuoteAcceptParams, QuoteCancelParams, QuoteFinalizeQuoteParams, QuoteListPreviewInvoiceLinesParams, QuoteListComputedUpfrontLineItemsParams, QuoteListLineItemsParams, QuoteListLinesParams, QuoteListPreviewInvoicesParams, QuoteListPreviewSubscriptionSchedulesParams, QuoteMarkDraftParams, QuoteMarkStaleParams, QuotePdfParams, QuoteReestimateParams, QuoteResource, };
374
403
  export { Refund, RefundCreateParams, RefundRetrieveParams, RefundUpdateParams, RefundListParams, RefundCancelParams, RefundResource, };
375
404
  export { Review, ReviewRetrieveParams, ReviewListParams, ReviewApproveParams, ReviewResource, };
376
405
  export { SetupAttempt, SetupAttemptListParams, SetupAttemptResource };
377
406
  export { SetupIntent, SetupIntentCreateParams, SetupIntentRetrieveParams, SetupIntentUpdateParams, SetupIntentListParams, SetupIntentCancelParams, SetupIntentConfirmParams, SetupIntentVerifyMicrodepositsParams, SetupIntentResource, };
378
407
  export { ShippingRate, ShippingRateCreateParams, ShippingRateRetrieveParams, ShippingRateUpdateParams, ShippingRateListParams, ShippingRateResource, };
379
408
  export { Source, SourceCreateParams, SourceRetrieveParams, SourceUpdateParams, SourceListSourceTransactionsParams, SourceVerifyParams, SourceResource, };
380
- export { Subscription, SubscriptionCreateParams, SubscriptionRetrieveParams, SubscriptionUpdateParams, SubscriptionListParams, SubscriptionCancelParams, SubscriptionDeleteDiscountParams, SubscriptionMigrateParams, SubscriptionResumeParams, SubscriptionSearchParams, SubscriptionResource, };
409
+ export { Subscription, SubscriptionCreateParams, SubscriptionRetrieveParams, SubscriptionUpdateParams, SubscriptionListParams, SubscriptionCancelParams, SubscriptionDeleteDiscountParams, SubscriptionMigrateParams, SubscriptionPauseParams, SubscriptionResumeParams, SubscriptionSearchParams, SubscriptionSerializeBatchCancelParams, SubscriptionSerializeBatchMigrateParams, SubscriptionSerializeBatchUpdateParams, SubscriptionResource, };
381
410
  export { SubscriptionItem, DeletedSubscriptionItem, SubscriptionItemCreateParams, SubscriptionItemRetrieveParams, SubscriptionItemUpdateParams, SubscriptionItemListParams, SubscriptionItemDeleteParams, SubscriptionItemResource, };
382
- export { SubscriptionSchedule, SubscriptionScheduleCreateParams, SubscriptionScheduleRetrieveParams, SubscriptionScheduleUpdateParams, SubscriptionScheduleListParams, SubscriptionScheduleCancelParams, SubscriptionScheduleReleaseParams, SubscriptionScheduleResource, };
411
+ export { SubscriptionSchedule, SubscriptionScheduleCreateParams, SubscriptionScheduleRetrieveParams, SubscriptionScheduleUpdateParams, SubscriptionScheduleListParams, SubscriptionScheduleAmendParams, SubscriptionScheduleCancelParams, SubscriptionScheduleReleaseParams, SubscriptionScheduleResource, };
383
412
  export { TaxCode, TaxCodeRetrieveParams, TaxCodeListParams, TaxCodeResource };
384
413
  export { TaxId, DeletedTaxId, TaxIdCreateParams, TaxIdRetrieveParams, TaxIdListParams, TaxIdDeleteParams, TaxIdResource, };
385
414
  export { TaxRate, TaxRateCreateParams, TaxRateRetrieveParams, TaxRateUpdateParams, TaxRateListParams, TaxRateResource, };
@@ -395,12 +424,12 @@ export declare namespace Stripe {
395
424
  export { Discount, DeletedDiscount };
396
425
  export { FundingInstructions };
397
426
  export { LineItem };
427
+ export { QuoteLine };
398
428
  export { ReserveTransaction };
399
429
  export { SourceMandateNotification };
400
430
  export { SourceTransaction };
401
431
  export { TaxDeductedAtSource };
402
432
  export { Capability };
403
- export { ExternalAccount, DeletedExternalAccount };
404
433
  export { LoginLink };
405
434
  export { Person, DeletedPerson };
406
435
  export { FeeRefund };
@@ -412,10 +441,13 @@ export declare namespace Stripe {
412
441
  export { InvoiceLineItem };
413
442
  export { PaymentIntentAmountDetailsLineItem };
414
443
  export { ProductFeature, DeletedProductFeature };
444
+ export { QuotePreviewInvoice };
445
+ export { QuotePreviewSubscriptionSchedule };
415
446
  export { TransferReversal };
416
447
  export { Apps };
417
448
  export { Billing };
418
449
  export { BillingPortal };
450
+ export { Capital };
419
451
  export { Checkout };
420
452
  export { Climate };
421
453
  export { Entitlements };
@@ -423,16 +455,19 @@ export declare namespace Stripe {
423
455
  export { Forwarding };
424
456
  export { Identity };
425
457
  export { Issuing };
458
+ export { Privacy };
459
+ export { ProductCatalog };
426
460
  export { Radar };
427
461
  export { Reporting };
462
+ export { Reserve };
463
+ export { SharedPayment };
428
464
  export { Sigma };
429
465
  export { Tax };
430
466
  export { Terminal };
431
467
  export { TestHelpers };
432
468
  export { Treasury };
433
469
  export { V2 };
434
- export { Reserve };
435
- export { AccountApplicationAuthorizedEvent, AccountApplicationDeauthorizedEvent, AccountExternalAccountCreatedEvent, AccountExternalAccountDeletedEvent, AccountExternalAccountUpdatedEvent, AccountUpdatedEvent, ApplicationFeeCreatedEvent, ApplicationFeeRefundUpdatedEvent, ApplicationFeeRefundedEvent, BalanceAvailableEvent, BalanceSettingsUpdatedEvent, BillingAlertTriggeredEvent, BillingCreditBalanceTransactionCreatedEvent, BillingCreditGrantCreatedEvent, BillingCreditGrantUpdatedEvent, BillingMeterCreatedEvent, BillingMeterDeactivatedEvent, BillingMeterReactivatedEvent, BillingMeterUpdatedEvent, BillingPortalConfigurationCreatedEvent, BillingPortalConfigurationUpdatedEvent, BillingPortalSessionCreatedEvent, CapabilityUpdatedEvent, CashBalanceFundsAvailableEvent, ChargeCapturedEvent, ChargeDisputeClosedEvent, ChargeDisputeCreatedEvent, ChargeDisputeFundsReinstatedEvent, ChargeDisputeFundsWithdrawnEvent, ChargeDisputeUpdatedEvent, ChargeExpiredEvent, ChargeFailedEvent, ChargePendingEvent, ChargeRefundUpdatedEvent, ChargeRefundedEvent, ChargeSucceededEvent, ChargeUpdatedEvent, CheckoutSessionAsyncPaymentFailedEvent, CheckoutSessionAsyncPaymentSucceededEvent, CheckoutSessionCompletedEvent, CheckoutSessionExpiredEvent, ClimateOrderCanceledEvent, ClimateOrderCreatedEvent, ClimateOrderDelayedEvent, ClimateOrderDeliveredEvent, ClimateOrderProductSubstitutedEvent, ClimateProductCreatedEvent, ClimateProductPricingUpdatedEvent, CouponCreatedEvent, CouponDeletedEvent, CouponUpdatedEvent, CreditNoteCreatedEvent, CreditNoteUpdatedEvent, CreditNoteVoidedEvent, CustomerCreatedEvent, CustomerDeletedEvent, CustomerDiscountCreatedEvent, CustomerDiscountDeletedEvent, CustomerDiscountUpdatedEvent, CustomerSourceCreatedEvent, CustomerSourceDeletedEvent, CustomerSourceExpiringEvent, CustomerSourceUpdatedEvent, CustomerSubscriptionCreatedEvent, CustomerSubscriptionDeletedEvent, CustomerSubscriptionPausedEvent, CustomerSubscriptionPendingUpdateAppliedEvent, CustomerSubscriptionPendingUpdateExpiredEvent, CustomerSubscriptionResumedEvent, CustomerSubscriptionTrialWillEndEvent, CustomerSubscriptionUpdatedEvent, CustomerTaxIdCreatedEvent, CustomerTaxIdDeletedEvent, CustomerTaxIdUpdatedEvent, CustomerUpdatedEvent, CustomerCashBalanceTransactionCreatedEvent, EntitlementsActiveEntitlementSummaryUpdatedEvent, FileCreatedEvent, FinancialConnectionsAccountAccountNumbersUpdatedEvent, FinancialConnectionsAccountCreatedEvent, FinancialConnectionsAccountDeactivatedEvent, FinancialConnectionsAccountDisconnectedEvent, FinancialConnectionsAccountReactivatedEvent, FinancialConnectionsAccountRefreshedBalanceEvent, FinancialConnectionsAccountRefreshedOwnershipEvent, FinancialConnectionsAccountRefreshedTransactionsEvent, FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent, IdentityVerificationSessionCanceledEvent, IdentityVerificationSessionCreatedEvent, IdentityVerificationSessionProcessingEvent, IdentityVerificationSessionRedactedEvent, IdentityVerificationSessionRequiresInputEvent, IdentityVerificationSessionVerifiedEvent, InvoiceCreatedEvent, InvoiceDeletedEvent, InvoiceFinalizationFailedEvent, InvoiceFinalizedEvent, InvoiceMarkedUncollectibleEvent, InvoiceOverdueEvent, InvoiceOverpaidEvent, InvoicePaidEvent, InvoicePaymentActionRequiredEvent, InvoicePaymentAttemptRequiredEvent, InvoicePaymentFailedEvent, InvoicePaymentSucceededEvent, InvoiceSentEvent, InvoiceUpcomingEvent, InvoiceUpdatedEvent, InvoiceVoidedEvent, InvoiceWillBeDueEvent, InvoicePaymentPaidEvent, InvoiceItemCreatedEvent, InvoiceItemDeletedEvent, IssuingAuthorizationCreatedEvent, IssuingAuthorizationRequestEvent, IssuingAuthorizationUpdatedEvent, IssuingCardCreatedEvent, IssuingCardUpdatedEvent, IssuingCardholderCreatedEvent, IssuingCardholderUpdatedEvent, IssuingDisputeClosedEvent, IssuingDisputeCreatedEvent, IssuingDisputeFundsReinstatedEvent, IssuingDisputeFundsRescindedEvent, IssuingDisputeSubmittedEvent, IssuingDisputeUpdatedEvent, IssuingPersonalizationDesignActivatedEvent, IssuingPersonalizationDesignDeactivatedEvent, IssuingPersonalizationDesignRejectedEvent, IssuingPersonalizationDesignUpdatedEvent, IssuingTokenCreatedEvent, IssuingTokenUpdatedEvent, IssuingTransactionCreatedEvent, IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, IssuingTransactionUpdatedEvent, MandateUpdatedEvent, PaymentIntentAmountCapturableUpdatedEvent, PaymentIntentCanceledEvent, PaymentIntentCreatedEvent, PaymentIntentPartiallyFundedEvent, PaymentIntentPaymentFailedEvent, PaymentIntentProcessingEvent, PaymentIntentRequiresActionEvent, PaymentIntentSucceededEvent, PaymentLinkCreatedEvent, PaymentLinkUpdatedEvent, PaymentMethodAttachedEvent, PaymentMethodAutomaticallyUpdatedEvent, PaymentMethodDetachedEvent, PaymentMethodUpdatedEvent, PayoutCanceledEvent, PayoutCreatedEvent, PayoutFailedEvent, PayoutPaidEvent, PayoutReconciliationCompletedEvent, PayoutUpdatedEvent, PersonCreatedEvent, PersonDeletedEvent, PersonUpdatedEvent, PlanCreatedEvent, PlanDeletedEvent, PlanUpdatedEvent, PriceCreatedEvent, PriceDeletedEvent, PriceUpdatedEvent, ProductCreatedEvent, ProductDeletedEvent, ProductUpdatedEvent, PromotionCodeCreatedEvent, PromotionCodeUpdatedEvent, QuoteAcceptedEvent, QuoteCanceledEvent, QuoteCreatedEvent, QuoteFinalizedEvent, RadarEarlyFraudWarningCreatedEvent, RadarEarlyFraudWarningUpdatedEvent, RefundCreatedEvent, RefundFailedEvent, RefundUpdatedEvent, ReportingReportRunFailedEvent, ReportingReportRunSucceededEvent, ReportingReportTypeUpdatedEvent, ReserveHoldCreatedEvent, ReserveHoldUpdatedEvent, ReservePlanCreatedEvent, ReservePlanDisabledEvent, ReservePlanExpiredEvent, ReservePlanUpdatedEvent, ReserveReleaseCreatedEvent, ReviewClosedEvent, ReviewOpenedEvent, SetupIntentCanceledEvent, SetupIntentCreatedEvent, SetupIntentRequiresActionEvent, SetupIntentSetupFailedEvent, SetupIntentSucceededEvent, SigmaScheduledQueryRunCreatedEvent, SourceCanceledEvent, SourceChargeableEvent, SourceFailedEvent, SourceMandateNotificationEvent, SourceRefundAttributesRequiredEvent, SourceTransactionCreatedEvent, SourceTransactionUpdatedEvent, SubscriptionScheduleAbortedEvent, SubscriptionScheduleCanceledEvent, SubscriptionScheduleCompletedEvent, SubscriptionScheduleCreatedEvent, SubscriptionScheduleExpiringEvent, SubscriptionScheduleReleasedEvent, SubscriptionScheduleUpdatedEvent, TaxSettingsUpdatedEvent, TaxRateCreatedEvent, TaxRateUpdatedEvent, TerminalReaderActionFailedEvent, TerminalReaderActionSucceededEvent, TerminalReaderActionUpdatedEvent, TestHelpersTestClockAdvancingEvent, TestHelpersTestClockCreatedEvent, TestHelpersTestClockDeletedEvent, TestHelpersTestClockInternalFailureEvent, TestHelpersTestClockReadyEvent, TopupCanceledEvent, TopupCreatedEvent, TopupFailedEvent, TopupReversedEvent, TopupSucceededEvent, TransferCreatedEvent, TransferReversedEvent, TransferUpdatedEvent, TreasuryCreditReversalCreatedEvent, TreasuryCreditReversalPostedEvent, TreasuryDebitReversalCompletedEvent, TreasuryDebitReversalCreatedEvent, TreasuryDebitReversalInitialCreditGrantedEvent, TreasuryFinancialAccountClosedEvent, TreasuryFinancialAccountCreatedEvent, TreasuryFinancialAccountFeaturesStatusUpdatedEvent, TreasuryInboundTransferCanceledEvent, TreasuryInboundTransferCreatedEvent, TreasuryInboundTransferFailedEvent, TreasuryInboundTransferSucceededEvent, TreasuryOutboundPaymentCanceledEvent, TreasuryOutboundPaymentCreatedEvent, TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent, TreasuryOutboundPaymentFailedEvent, TreasuryOutboundPaymentPostedEvent, TreasuryOutboundPaymentReturnedEvent, TreasuryOutboundPaymentTrackingDetailsUpdatedEvent, TreasuryOutboundTransferCanceledEvent, TreasuryOutboundTransferCreatedEvent, TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent, TreasuryOutboundTransferFailedEvent, TreasuryOutboundTransferPostedEvent, TreasuryOutboundTransferReturnedEvent, TreasuryOutboundTransferTrackingDetailsUpdatedEvent, TreasuryReceivedCreditCreatedEvent, TreasuryReceivedCreditFailedEvent, TreasuryReceivedCreditSucceededEvent, TreasuryReceivedDebitCreatedEvent, };
470
+ export { AccountApplicationAuthorizedEvent, AccountApplicationDeauthorizedEvent, AccountExternalAccountCreatedEvent, AccountExternalAccountDeletedEvent, AccountExternalAccountUpdatedEvent, AccountUpdatedEvent, AccountNoticeCreatedEvent, AccountNoticeUpdatedEvent, ApplicationFeeCreatedEvent, ApplicationFeeRefundUpdatedEvent, ApplicationFeeRefundedEvent, BalanceAvailableEvent, BalanceSettingsUpdatedEvent, BillingAlertTriggeredEvent, BillingCreditBalanceTransactionCreatedEvent, BillingCreditGrantCreatedEvent, BillingCreditGrantUpdatedEvent, BillingMeterCreatedEvent, BillingMeterDeactivatedEvent, BillingMeterReactivatedEvent, BillingMeterUpdatedEvent, BillingPortalConfigurationCreatedEvent, BillingPortalConfigurationUpdatedEvent, BillingPortalSessionCreatedEvent, CapabilityUpdatedEvent, CapitalFinancingOfferAcceptedEvent, CapitalFinancingOfferCanceledEvent, CapitalFinancingOfferCreatedEvent, CapitalFinancingOfferExpiredEvent, CapitalFinancingOfferFullyRepaidEvent, CapitalFinancingOfferPaidOutEvent, CapitalFinancingOfferRejectedEvent, CapitalFinancingOfferReplacementCreatedEvent, CapitalFinancingTransactionCreatedEvent, CashBalanceFundsAvailableEvent, ChargeCapturedEvent, ChargeDisputeClosedEvent, ChargeDisputeCreatedEvent, ChargeDisputeFundsReinstatedEvent, ChargeDisputeFundsWithdrawnEvent, ChargeDisputeUpdatedEvent, ChargeExpiredEvent, ChargeFailedEvent, ChargePendingEvent, ChargeRefundUpdatedEvent, ChargeRefundedEvent, ChargeSucceededEvent, ChargeUpdatedEvent, CheckoutSessionAsyncPaymentFailedEvent, CheckoutSessionAsyncPaymentSucceededEvent, CheckoutSessionCompletedEvent, CheckoutSessionExpiredEvent, ClimateOrderCanceledEvent, ClimateOrderCreatedEvent, ClimateOrderDelayedEvent, ClimateOrderDeliveredEvent, ClimateOrderProductSubstitutedEvent, ClimateProductCreatedEvent, ClimateProductPricingUpdatedEvent, CouponCreatedEvent, CouponDeletedEvent, CouponUpdatedEvent, CreditNoteCreatedEvent, CreditNoteUpdatedEvent, CreditNoteVoidedEvent, CustomerCreatedEvent, CustomerDeletedEvent, CustomerDiscountCreatedEvent, CustomerDiscountDeletedEvent, CustomerDiscountUpdatedEvent, CustomerSourceCreatedEvent, CustomerSourceDeletedEvent, CustomerSourceExpiringEvent, CustomerSourceUpdatedEvent, CustomerSubscriptionCollectionPausedEvent, CustomerSubscriptionCollectionResumedEvent, CustomerSubscriptionCreatedEvent, CustomerSubscriptionCustomEventEvent, CustomerSubscriptionDeletedEvent, CustomerSubscriptionPausedEvent, CustomerSubscriptionPendingUpdateAppliedEvent, CustomerSubscriptionPendingUpdateExpiredEvent, CustomerSubscriptionPriceMigrationFailedEvent, CustomerSubscriptionResumedEvent, CustomerSubscriptionTrialWillEndEvent, CustomerSubscriptionUpdatedEvent, CustomerTaxIdCreatedEvent, CustomerTaxIdDeletedEvent, CustomerTaxIdUpdatedEvent, CustomerUpdatedEvent, CustomerCashBalanceTransactionCreatedEvent, EntitlementsActiveEntitlementSummaryUpdatedEvent, FileCreatedEvent, FinancialConnectionsAccountAccountNumbersUpdatedEvent, FinancialConnectionsAccountCreatedEvent, FinancialConnectionsAccountDeactivatedEvent, FinancialConnectionsAccountDisconnectedEvent, FinancialConnectionsAccountReactivatedEvent, FinancialConnectionsAccountRefreshedBalanceEvent, FinancialConnectionsAccountRefreshedInferredBalancesEvent, FinancialConnectionsAccountRefreshedOwnershipEvent, FinancialConnectionsAccountRefreshedTransactionsEvent, FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent, FinancialConnectionsSessionUpdatedEvent, FxQuoteExpiredEvent, IdentityVerificationSessionCanceledEvent, IdentityVerificationSessionCreatedEvent, IdentityVerificationSessionProcessingEvent, IdentityVerificationSessionRedactedEvent, IdentityVerificationSessionRequiresInputEvent, IdentityVerificationSessionVerifiedEvent, InvoiceCreatedEvent, InvoiceDeletedEvent, InvoiceFinalizationFailedEvent, InvoiceFinalizedEvent, InvoiceMarkedUncollectibleEvent, InvoiceOverdueEvent, InvoiceOverpaidEvent, InvoicePaidEvent, InvoicePaymentOverpaidEvent, InvoicePaymentActionRequiredEvent, InvoicePaymentAttemptRequiredEvent, InvoicePaymentFailedEvent, InvoicePaymentSucceededEvent, InvoiceSentEvent, InvoiceUpcomingEvent, InvoiceUpdatedEvent, InvoiceVoidedEvent, InvoiceWillBeDueEvent, InvoicePaymentDetachedEvent, InvoicePaymentPaidEvent, InvoiceItemCreatedEvent, InvoiceItemDeletedEvent, IssuingAuthorizationCreatedEvent, IssuingAuthorizationRequestEvent, IssuingAuthorizationUpdatedEvent, IssuingCardCreatedEvent, IssuingCardUpdatedEvent, IssuingCardholderCreatedEvent, IssuingCardholderUpdatedEvent, IssuingDisputeClosedEvent, IssuingDisputeCreatedEvent, IssuingDisputeFundsReinstatedEvent, IssuingDisputeFundsRescindedEvent, IssuingDisputeSubmittedEvent, IssuingDisputeUpdatedEvent, IssuingDisputeSettlementDetailCreatedEvent, IssuingDisputeSettlementDetailUpdatedEvent, IssuingFraudLiabilityDebitCreatedEvent, IssuingPersonalizationDesignActivatedEvent, IssuingPersonalizationDesignDeactivatedEvent, IssuingPersonalizationDesignRejectedEvent, IssuingPersonalizationDesignUpdatedEvent, IssuingSettlementCreatedEvent, IssuingSettlementUpdatedEvent, IssuingTokenCreatedEvent, IssuingTokenUpdatedEvent, IssuingTransactionCreatedEvent, IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, IssuingTransactionUpdatedEvent, MandateUpdatedEvent, PaymentIntentAmountCapturableUpdatedEvent, PaymentIntentCanceledEvent, PaymentIntentCreatedEvent, PaymentIntentPartiallyFundedEvent, PaymentIntentPaymentFailedEvent, PaymentIntentProcessingEvent, PaymentIntentRequiresActionEvent, PaymentIntentSucceededEvent, PaymentLinkCreatedEvent, PaymentLinkUpdatedEvent, PaymentMethodAttachedEvent, PaymentMethodAutomaticallyUpdatedEvent, PaymentMethodDetachedEvent, PaymentMethodUpdatedEvent, PayoutCanceledEvent, PayoutCreatedEvent, PayoutFailedEvent, PayoutPaidEvent, PayoutReconciliationCompletedEvent, PayoutUpdatedEvent, PersonCreatedEvent, PersonDeletedEvent, PersonUpdatedEvent, PlanCreatedEvent, PlanDeletedEvent, PlanUpdatedEvent, PriceCreatedEvent, PriceDeletedEvent, PriceUpdatedEvent, PrivacyRedactionJobCanceledEvent, PrivacyRedactionJobCreatedEvent, PrivacyRedactionJobReadyEvent, PrivacyRedactionJobSucceededEvent, PrivacyRedactionJobValidationErrorEvent, ProductCreatedEvent, ProductDeletedEvent, ProductUpdatedEvent, PromotionCodeCreatedEvent, PromotionCodeUpdatedEvent, QuoteAcceptFailedEvent, QuoteAcceptedEvent, QuoteAcceptingEvent, QuoteCanceledEvent, QuoteCreatedEvent, QuoteDraftEvent, QuoteFinalizedEvent, QuoteReestimateFailedEvent, QuoteReestimatedEvent, QuoteStaleEvent, RadarEarlyFraudWarningCreatedEvent, RadarEarlyFraudWarningUpdatedEvent, RefundCreatedEvent, RefundFailedEvent, RefundUpdatedEvent, ReportingReportRunFailedEvent, ReportingReportRunSucceededEvent, ReportingReportTypeUpdatedEvent, ReserveHoldCreatedEvent, ReserveHoldUpdatedEvent, ReservePlanCreatedEvent, ReservePlanDisabledEvent, ReservePlanExpiredEvent, ReservePlanUpdatedEvent, ReserveReleaseCreatedEvent, ReviewClosedEvent, ReviewOpenedEvent, SetupIntentCanceledEvent, SetupIntentCreatedEvent, SetupIntentRequiresActionEvent, SetupIntentSetupFailedEvent, SetupIntentSucceededEvent, SigmaScheduledQueryRunCreatedEvent, SourceCanceledEvent, SourceChargeableEvent, SourceFailedEvent, SourceMandateNotificationEvent, SourceRefundAttributesRequiredEvent, SourceTransactionCreatedEvent, SourceTransactionUpdatedEvent, SubscriptionScheduleAbortedEvent, SubscriptionScheduleCanceledEvent, SubscriptionScheduleCompletedEvent, SubscriptionScheduleCreatedEvent, SubscriptionScheduleExpiringEvent, SubscriptionSchedulePriceMigrationFailedEvent, SubscriptionScheduleReleasedEvent, SubscriptionScheduleUpdatedEvent, TaxFormUpdatedEvent, TaxSettingsUpdatedEvent, TaxRateCreatedEvent, TaxRateUpdatedEvent, TerminalReaderActionFailedEvent, TerminalReaderActionSucceededEvent, TerminalReaderActionUpdatedEvent, TestHelpersTestClockAdvancingEvent, TestHelpersTestClockCreatedEvent, TestHelpersTestClockDeletedEvent, TestHelpersTestClockInternalFailureEvent, TestHelpersTestClockReadyEvent, TopupCanceledEvent, TopupCreatedEvent, TopupFailedEvent, TopupReversedEvent, TopupSucceededEvent, TransferCreatedEvent, TransferReversedEvent, TransferUpdatedEvent, TreasuryCreditReversalCreatedEvent, TreasuryCreditReversalPostedEvent, TreasuryDebitReversalCompletedEvent, TreasuryDebitReversalCreatedEvent, TreasuryDebitReversalInitialCreditGrantedEvent, TreasuryFinancialAccountClosedEvent, TreasuryFinancialAccountCreatedEvent, TreasuryFinancialAccountFeaturesStatusUpdatedEvent, TreasuryInboundTransferCanceledEvent, TreasuryInboundTransferCreatedEvent, TreasuryInboundTransferFailedEvent, TreasuryInboundTransferSucceededEvent, TreasuryOutboundPaymentCanceledEvent, TreasuryOutboundPaymentCreatedEvent, TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent, TreasuryOutboundPaymentFailedEvent, TreasuryOutboundPaymentPostedEvent, TreasuryOutboundPaymentReturnedEvent, TreasuryOutboundPaymentTrackingDetailsUpdatedEvent, TreasuryOutboundTransferCanceledEvent, TreasuryOutboundTransferCreatedEvent, TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent, TreasuryOutboundTransferFailedEvent, TreasuryOutboundTransferPostedEvent, TreasuryOutboundTransferReturnedEvent, TreasuryOutboundTransferTrackingDetailsUpdatedEvent, TreasuryReceivedCreditCreatedEvent, TreasuryReceivedCreditFailedEvent, TreasuryReceivedCreditSucceededEvent, TreasuryReceivedDebitCreatedEvent, };
436
471
  export { Response, RequestOptions, RawRequestOptions, ApiList, ApiListPromise, V2List, V2ListPromise, ApiSearchResultPromise, ApiSearchResult, StripeStreamResponse, RequestEvent, ResponseEvent, AppInfo, FileData, };
437
472
  export { Metadata, MetadataParam, Address, JapanAddress, AddressParam, ShippingAddressParam, JapanAddressParam, RangeQueryParam, PaginationParams, Emptyable, };
438
473
  export { OAuthResource, OAuthToken, OAuthTokenParams, OAuthAuthorizeUrlOptions, OAuthAuthorizeUrlParams, OAuthDeauthorization, OAuthDeauthorizeParams, };
@@ -457,7 +492,22 @@ export declare namespace Stripe {
457
492
  type StripeInvalidScopeError = InstanceType<typeof _Error.StripeInvalidScopeError>;
458
493
  type StripeUnsupportedGrantTypeError = InstanceType<typeof _Error.StripeUnsupportedGrantTypeError>;
459
494
  type StripeUnsupportedResponseTypeError = InstanceType<typeof _Error.StripeUnsupportedResponseTypeError>;
495
+ type AlreadyCanceledError = InstanceType<typeof _Error.AlreadyCanceledError>;
496
+ type AlreadyExistsError = InstanceType<typeof _Error.AlreadyExistsError>;
497
+ type BlockedByStripeError = InstanceType<typeof _Error.BlockedByStripeError>;
498
+ type CannotProceedError = InstanceType<typeof _Error.CannotProceedError>;
499
+ type ControlledByAlternateResourceError = InstanceType<typeof _Error.ControlledByAlternateResourceError>;
500
+ type ControlledByDashboardError = InstanceType<typeof _Error.ControlledByDashboardError>;
501
+ type FeatureNotEnabledError = InstanceType<typeof _Error.FeatureNotEnabledError>;
502
+ type FinancialAccountNotOpenError = InstanceType<typeof _Error.FinancialAccountNotOpenError>;
503
+ type InsufficientFundsError = InstanceType<typeof _Error.InsufficientFundsError>;
504
+ type InvalidPaymentMethodError = InstanceType<typeof _Error.InvalidPaymentMethodError>;
505
+ type InvalidPayoutMethodError = InstanceType<typeof _Error.InvalidPayoutMethodError>;
506
+ type NonZeroBalanceError = InstanceType<typeof _Error.NonZeroBalanceError>;
507
+ type NotCancelableError = InstanceType<typeof _Error.NotCancelableError>;
508
+ type QuotaExceededError = InstanceType<typeof _Error.QuotaExceededError>;
460
509
  type RateLimitError = InstanceType<typeof _Error.RateLimitError>;
510
+ type RecipientNotNotifiableError = InstanceType<typeof _Error.RecipientNotNotifiableError>;
461
511
  type TemporarySessionExpiredError = InstanceType<typeof _Error.TemporarySessionExpiredError>;
462
512
  }
463
513
  export namespace errors {
@@ -478,7 +528,22 @@ export declare namespace Stripe {
478
528
  type StripeInvalidScopeError = InstanceType<typeof _Error.StripeInvalidScopeError>;
479
529
  type StripeUnsupportedGrantTypeError = InstanceType<typeof _Error.StripeUnsupportedGrantTypeError>;
480
530
  type StripeUnsupportedResponseTypeError = InstanceType<typeof _Error.StripeUnsupportedResponseTypeError>;
531
+ type AlreadyCanceledError = InstanceType<typeof _Error.AlreadyCanceledError>;
532
+ type AlreadyExistsError = InstanceType<typeof _Error.AlreadyExistsError>;
533
+ type BlockedByStripeError = InstanceType<typeof _Error.BlockedByStripeError>;
534
+ type CannotProceedError = InstanceType<typeof _Error.CannotProceedError>;
535
+ type ControlledByAlternateResourceError = InstanceType<typeof _Error.ControlledByAlternateResourceError>;
536
+ type ControlledByDashboardError = InstanceType<typeof _Error.ControlledByDashboardError>;
537
+ type FeatureNotEnabledError = InstanceType<typeof _Error.FeatureNotEnabledError>;
538
+ type FinancialAccountNotOpenError = InstanceType<typeof _Error.FinancialAccountNotOpenError>;
539
+ type InsufficientFundsError = InstanceType<typeof _Error.InsufficientFundsError>;
540
+ type InvalidPaymentMethodError = InstanceType<typeof _Error.InvalidPaymentMethodError>;
541
+ type InvalidPayoutMethodError = InstanceType<typeof _Error.InvalidPayoutMethodError>;
542
+ type NonZeroBalanceError = InstanceType<typeof _Error.NonZeroBalanceError>;
543
+ type NotCancelableError = InstanceType<typeof _Error.NotCancelableError>;
544
+ type QuotaExceededError = InstanceType<typeof _Error.QuotaExceededError>;
481
545
  type RateLimitError = InstanceType<typeof _Error.RateLimitError>;
546
+ type RecipientNotNotifiableError = InstanceType<typeof _Error.RecipientNotNotifiableError>;
482
547
  type TemporarySessionExpiredError = InstanceType<typeof _Error.TemporarySessionExpiredError>;
483
548
  }
484
549
  export import Events = V2.Core.Events;
@@ -12,10 +12,12 @@ const CryptoProvider_js_1 = require("./crypto/CryptoProvider.js");
12
12
  const HttpClient_js_1 = require("./net/HttpClient.js");
13
13
  const resources = require("./resources.js");
14
14
  const utils_js_1 = require("./utils.js");
15
+ const StripeEventNotificationHandler_js_1 = require("./StripeEventNotificationHandler.js");
15
16
  const shared_js_1 = require("./shared.js");
16
17
  // StripeInstanceImports: The beginning of the section generated from our OpenAPI spec
17
18
  const Accounts_js_1 = require("./resources/Accounts.js");
18
19
  const AccountLinks_js_1 = require("./resources/AccountLinks.js");
20
+ const AccountNotices_js_1 = require("./resources/AccountNotices.js");
19
21
  const AccountSessions_js_1 = require("./resources/AccountSessions.js");
20
22
  const ApplePayDomains_js_1 = require("./resources/ApplePayDomains.js");
21
23
  const ApplicationFees_js_1 = require("./resources/ApplicationFees.js");
@@ -32,13 +34,17 @@ const CustomerSessions_js_1 = require("./resources/CustomerSessions.js");
32
34
  const Disputes_js_1 = require("./resources/Disputes.js");
33
35
  const EphemeralKeys_js_1 = require("./resources/EphemeralKeys.js");
34
36
  const ExchangeRates_js_1 = require("./resources/ExchangeRates.js");
37
+ const ExternalAccounts_js_1 = require("./resources/ExternalAccounts.js");
35
38
  const Files_js_1 = require("./resources/Files.js");
36
39
  const FileLinks_js_1 = require("./resources/FileLinks.js");
40
+ const FxQuotes_js_1 = require("./resources/FxQuotes.js");
37
41
  const Invoices_js_1 = require("./resources/Invoices.js");
38
42
  const InvoiceItems_js_1 = require("./resources/InvoiceItems.js");
39
43
  const InvoicePayments_js_1 = require("./resources/InvoicePayments.js");
40
44
  const InvoiceRenderingTemplates_js_1 = require("./resources/InvoiceRenderingTemplates.js");
41
45
  const Mandates_js_1 = require("./resources/Mandates.js");
46
+ const Margins_js_1 = require("./resources/Margins.js");
47
+ const Orders_js_1 = require("./resources/Orders.js");
42
48
  const PaymentAttemptRecords_js_1 = require("./resources/PaymentAttemptRecords.js");
43
49
  const PaymentIntents_js_1 = require("./resources/PaymentIntents.js");
44
50
  const PaymentLinks_js_1 = require("./resources/PaymentLinks.js");
@@ -71,22 +77,26 @@ const WebhookEndpoints_js_1 = require("./resources/WebhookEndpoints.js");
71
77
  const index_js_1 = require("./resources/Apps/index.js");
72
78
  const index_js_2 = require("./resources/Billing/index.js");
73
79
  const index_js_3 = require("./resources/BillingPortal/index.js");
74
- const index_js_4 = require("./resources/Checkout/index.js");
75
- const index_js_5 = require("./resources/Climate/index.js");
76
- const index_js_6 = require("./resources/Entitlements/index.js");
77
- const index_js_7 = require("./resources/FinancialConnections/index.js");
78
- const index_js_8 = require("./resources/Forwarding/index.js");
79
- const index_js_9 = require("./resources/Identity/index.js");
80
- const index_js_10 = require("./resources/Issuing/index.js");
81
- const index_js_11 = require("./resources/Radar/index.js");
82
- const index_js_12 = require("./resources/Reporting/index.js");
83
- const index_js_13 = require("./resources/Sigma/index.js");
84
- const index_js_14 = require("./resources/Tax/index.js");
85
- const index_js_15 = require("./resources/Terminal/index.js");
86
- const index_js_16 = require("./resources/TestHelpers/index.js");
87
- const index_js_17 = require("./resources/Treasury/index.js");
88
- const index_js_18 = require("./resources/V2/index.js");
89
- const index_js_19 = require("./resources/Reserve/index.js");
80
+ const index_js_4 = require("./resources/Capital/index.js");
81
+ const index_js_5 = require("./resources/Checkout/index.js");
82
+ const index_js_6 = require("./resources/Climate/index.js");
83
+ const index_js_7 = require("./resources/Entitlements/index.js");
84
+ const index_js_8 = require("./resources/FinancialConnections/index.js");
85
+ const index_js_9 = require("./resources/Forwarding/index.js");
86
+ const index_js_10 = require("./resources/Identity/index.js");
87
+ const index_js_11 = require("./resources/Issuing/index.js");
88
+ const index_js_12 = require("./resources/Privacy/index.js");
89
+ const index_js_13 = require("./resources/ProductCatalog/index.js");
90
+ const index_js_14 = require("./resources/Radar/index.js");
91
+ const index_js_15 = require("./resources/Reporting/index.js");
92
+ const index_js_16 = require("./resources/Reserve/index.js");
93
+ const index_js_17 = require("./resources/SharedPayment/index.js");
94
+ const index_js_18 = require("./resources/Sigma/index.js");
95
+ const index_js_19 = require("./resources/Tax/index.js");
96
+ const index_js_20 = require("./resources/Terminal/index.js");
97
+ const index_js_21 = require("./resources/TestHelpers/index.js");
98
+ const index_js_22 = require("./resources/Treasury/index.js");
99
+ const index_js_23 = require("./resources/V2/index.js");
90
100
  // StripeInstanceImports: The end of the section generated from our OpenAPI spec
91
101
  // V1EventImports: The beginning of the section generated from our OpenAPI spec
92
102
  const Events_js_1 = require("./resources/Events.js");
@@ -200,6 +210,7 @@ class Stripe {
200
210
  this._requestSender = Stripe._requestSenderFactory(this);
201
211
  // StripeInitInstanceVariables: The beginning of the section generated from our OpenAPI spec
202
212
  this.accountLinks = new AccountLinks_js_1.AccountLinkResource(this);
213
+ this.accountNotices = new AccountNotices_js_1.AccountNoticeResource(this);
203
214
  this.accountSessions = new AccountSessions_js_1.AccountSessionResource(this);
204
215
  this.accounts = new Accounts_js_1.AccountResource(this);
205
216
  this.applePayDomains = new ApplePayDomains_js_1.ApplePayDomainResource(this);
@@ -218,13 +229,17 @@ class Stripe {
218
229
  this.ephemeralKeys = new EphemeralKeys_js_1.EphemeralKeyResource(this);
219
230
  this.events = new Events_js_1.EventResource(this);
220
231
  this.exchangeRates = new ExchangeRates_js_1.ExchangeRateResource(this);
232
+ this.externalAccounts = new ExternalAccounts_js_1.ExternalAccountResource(this);
221
233
  this.fileLinks = new FileLinks_js_1.FileLinkResource(this);
222
234
  this.files = new Files_js_1.FileResource(this);
235
+ this.fxQuotes = new FxQuotes_js_1.FxQuoteResource(this);
223
236
  this.invoiceItems = new InvoiceItems_js_1.InvoiceItemResource(this);
224
237
  this.invoicePayments = new InvoicePayments_js_1.InvoicePaymentResource(this);
225
238
  this.invoiceRenderingTemplates = new InvoiceRenderingTemplates_js_1.InvoiceRenderingTemplateResource(this);
226
239
  this.invoices = new Invoices_js_1.InvoiceResource(this);
227
240
  this.mandates = new Mandates_js_1.MandateResource(this);
241
+ this.margins = new Margins_js_1.MarginResource(this);
242
+ this.orders = new Orders_js_1.OrderResource(this);
228
243
  this.paymentAttemptRecords = new PaymentAttemptRecords_js_1.PaymentAttemptRecordResource(this);
229
244
  this.paymentIntents = new PaymentIntents_js_1.PaymentIntentResource(this);
230
245
  this.paymentLinks = new PaymentLinks_js_1.PaymentLinkResource(this);
@@ -257,21 +272,26 @@ class Stripe {
257
272
  this.apps = new index_js_1.Apps(this);
258
273
  this.billing = new index_js_2.Billing(this);
259
274
  this.billingPortal = new index_js_3.BillingPortal(this);
260
- this.checkout = new index_js_4.Checkout(this);
261
- this.climate = new index_js_5.Climate(this);
262
- this.entitlements = new index_js_6.Entitlements(this);
263
- this.financialConnections = new index_js_7.FinancialConnections(this);
264
- this.forwarding = new index_js_8.Forwarding(this);
265
- this.identity = new index_js_9.Identity(this);
266
- this.issuing = new index_js_10.Issuing(this);
267
- this.radar = new index_js_11.Radar(this);
268
- this.reporting = new index_js_12.Reporting(this);
269
- this.sigma = new index_js_13.Sigma(this);
270
- this.tax = new index_js_14.Tax(this);
271
- this.terminal = new index_js_15.Terminal(this);
272
- this.testHelpers = new index_js_16.TestHelpers(this);
273
- this.treasury = new index_js_17.Treasury(this);
274
- this.v2 = new index_js_18.V2(this);
275
+ this.capital = new index_js_4.Capital(this);
276
+ this.checkout = new index_js_5.Checkout(this);
277
+ this.climate = new index_js_6.Climate(this);
278
+ this.entitlements = new index_js_7.Entitlements(this);
279
+ this.financialConnections = new index_js_8.FinancialConnections(this);
280
+ this.forwarding = new index_js_9.Forwarding(this);
281
+ this.identity = new index_js_10.Identity(this);
282
+ this.issuing = new index_js_11.Issuing(this);
283
+ this.privacy = new index_js_12.Privacy(this);
284
+ this.productCatalog = new index_js_13.ProductCatalog(this);
285
+ this.radar = new index_js_14.Radar(this);
286
+ this.reporting = new index_js_15.Reporting(this);
287
+ this.reserve = new index_js_16.Reserve(this);
288
+ this.sharedPayment = new index_js_17.SharedPayment(this);
289
+ this.sigma = new index_js_18.Sigma(this);
290
+ this.tax = new index_js_19.Tax(this);
291
+ this.terminal = new index_js_20.Terminal(this);
292
+ this.testHelpers = new index_js_21.TestHelpers(this);
293
+ this.treasury = new index_js_22.Treasury(this);
294
+ this.v2 = new index_js_23.V2(this);
275
295
  // StripeInitInstanceVariables: The end of the section generated from our OpenAPI spec
276
296
  // hardcoded properties and resources
277
297
  // account property is added for backward compatibility
@@ -598,9 +618,12 @@ class Stripe {
598
618
  };
599
619
  return eventNotification;
600
620
  }
621
+ notificationHandler(webhookSecret, fallbackCallback) {
622
+ return new StripeEventNotificationHandler_js_1.StripeEventNotificationHandler(this, webhookSecret, fallbackCallback);
623
+ }
601
624
  }
602
625
  exports.Stripe = Stripe;
603
- Stripe.PACKAGE_VERSION = '22.3.0';
626
+ Stripe.PACKAGE_VERSION = '22.4.0-beta.1';
604
627
  Stripe.API_VERSION = apiVersion_js_1.ApiVersion;
605
628
  Stripe.aiAgent = '';
606
629
  Stripe.AI_AGENT = '';