@depup/stripe 22.0.1-depup.0 → 22.4.0-depup.0

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 (923) hide show
  1. package/CHANGELOG.md +264 -11
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +2 -2
  4. package/VERSION +1 -1
  5. package/changes.json +1 -1
  6. package/cjs/Error.d.ts +61 -7
  7. package/cjs/Error.js +12 -3
  8. package/cjs/Error.js.map +1 -1
  9. package/cjs/RequestSender.d.ts +2 -1
  10. package/cjs/RequestSender.js +30 -14
  11. package/cjs/RequestSender.js.map +1 -1
  12. package/cjs/StripeResource.js +4 -0
  13. package/cjs/StripeResource.js.map +1 -1
  14. package/cjs/Types.d.ts +73 -11
  15. package/cjs/Types.js.map +1 -1
  16. package/cjs/Webhooks.d.ts +8 -8
  17. package/cjs/Webhooks.js +41 -4
  18. package/cjs/Webhooks.js.map +1 -1
  19. package/cjs/apiVersion.d.ts +1 -1
  20. package/cjs/apiVersion.js +1 -1
  21. package/cjs/autoPagination.js +41 -4
  22. package/cjs/autoPagination.js.map +1 -1
  23. package/cjs/lib.d.ts +56 -5
  24. package/cjs/net/FetchHttpClient.js +11 -1
  25. package/cjs/net/FetchHttpClient.js.map +1 -1
  26. package/cjs/net/HttpClient.js.map +1 -1
  27. package/cjs/net/NodeHttpClient.js +3 -0
  28. package/cjs/net/NodeHttpClient.js.map +1 -1
  29. package/cjs/platform/NodePlatformFunctions.d.ts +10 -0
  30. package/cjs/platform/NodePlatformFunctions.js +75 -2
  31. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  32. package/cjs/platform/PlatformFunctions.d.ts +14 -0
  33. package/cjs/platform/PlatformFunctions.js +24 -0
  34. package/cjs/platform/PlatformFunctions.js.map +1 -1
  35. package/cjs/resources/AccountLinks.d.ts +2 -1
  36. package/cjs/resources/AccountLinks.js.map +1 -1
  37. package/cjs/resources/AccountSessions.d.ts +92 -0
  38. package/cjs/resources/Accounts.d.ts +202 -71
  39. package/cjs/resources/Accounts.js +31 -21
  40. package/cjs/resources/Accounts.js.map +1 -1
  41. package/cjs/resources/ApplePayDomains.js +2 -2
  42. package/cjs/resources/ApplePayDomains.js.map +1 -1
  43. package/cjs/resources/ApplicationFees.d.ts +2 -2
  44. package/cjs/resources/ApplicationFees.js +5 -5
  45. package/cjs/resources/ApplicationFees.js.map +1 -1
  46. package/cjs/resources/Apps/Secrets.d.ts +19 -21
  47. package/cjs/resources/Apps/index.d.ts +5 -5
  48. package/cjs/resources/BalanceSettings.d.ts +92 -6
  49. package/cjs/resources/BalanceTransactions.d.ts +9 -9
  50. package/cjs/resources/BalanceTransactions.js +3 -3
  51. package/cjs/resources/BalanceTransactions.js.map +1 -1
  52. package/cjs/resources/BankAccounts.d.ts +2 -2
  53. package/cjs/resources/Billing/Alerts.d.ts +29 -31
  54. package/cjs/resources/Billing/Alerts.js +4 -4
  55. package/cjs/resources/Billing/Alerts.js.map +1 -1
  56. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +42 -43
  57. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  58. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +75 -77
  59. package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -1
  60. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  61. package/cjs/resources/Billing/CreditGrants.d.ts +43 -45
  62. package/cjs/resources/Billing/CreditGrants.js +4 -4
  63. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  64. package/cjs/resources/Billing/MeterEventAdjustments.d.ts +10 -11
  65. package/cjs/resources/Billing/MeterEventAdjustments.js.map +1 -1
  66. package/cjs/resources/Billing/MeterEvents.d.ts +1 -1
  67. package/cjs/resources/Billing/Meters.d.ts +45 -47
  68. package/cjs/resources/Billing/Meters.js +5 -5
  69. package/cjs/resources/Billing/Meters.js.map +1 -1
  70. package/cjs/resources/Billing/index.d.ts +31 -31
  71. package/cjs/resources/BillingPortal/Configurations.d.ts +148 -150
  72. package/cjs/resources/BillingPortal/Configurations.js +2 -2
  73. package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
  74. package/cjs/resources/BillingPortal/Sessions.d.ts +104 -105
  75. package/cjs/resources/BillingPortal/Sessions.js.map +1 -1
  76. package/cjs/resources/BillingPortal/index.d.ts +7 -7
  77. package/cjs/resources/Capabilities.d.ts +6 -5
  78. package/cjs/resources/Cards.d.ts +3 -3
  79. package/cjs/resources/Charges.d.ts +85 -32
  80. package/cjs/resources/Charges.js +3 -3
  81. package/cjs/resources/Charges.js.map +1 -1
  82. package/cjs/resources/Checkout/Sessions.d.ts +1823 -1575
  83. package/cjs/resources/Checkout/Sessions.js +4 -4
  84. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  85. package/cjs/resources/Checkout/index.d.ts +7 -7
  86. package/cjs/resources/Climate/Orders.d.ts +48 -50
  87. package/cjs/resources/Climate/Orders.js +3 -3
  88. package/cjs/resources/Climate/Orders.js.map +1 -1
  89. package/cjs/resources/Climate/Products.d.ts +15 -17
  90. package/cjs/resources/Climate/Products.js +1 -1
  91. package/cjs/resources/Climate/Products.js.map +1 -1
  92. package/cjs/resources/Climate/Suppliers.d.ts +26 -28
  93. package/cjs/resources/Climate/Suppliers.js +1 -1
  94. package/cjs/resources/Climate/Suppliers.js.map +1 -1
  95. package/cjs/resources/Climate/index.d.ts +12 -12
  96. package/cjs/resources/ConfirmationTokens.d.ts +42 -21
  97. package/cjs/resources/ConfirmationTokens.js +1 -1
  98. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  99. package/cjs/resources/CountrySpecs.js +1 -1
  100. package/cjs/resources/CountrySpecs.js.map +1 -1
  101. package/cjs/resources/Coupons.d.ts +3 -3
  102. package/cjs/resources/Coupons.js +3 -3
  103. package/cjs/resources/Coupons.js.map +1 -1
  104. package/cjs/resources/CreditNoteLineItems.d.ts +3 -3
  105. package/cjs/resources/CreditNotes.d.ts +23 -20
  106. package/cjs/resources/CreditNotes.js +6 -4
  107. package/cjs/resources/CreditNotes.js.map +1 -1
  108. package/cjs/resources/CustomerBalanceTransactions.d.ts +2 -2
  109. package/cjs/resources/CustomerCashBalanceTransactions.d.ts +4 -3
  110. package/cjs/resources/CustomerSessions.d.ts +25 -24
  111. package/cjs/resources/CustomerSessions.js.map +1 -1
  112. package/cjs/resources/Customers.d.ts +14 -14
  113. package/cjs/resources/Customers.js +31 -27
  114. package/cjs/resources/Customers.js.map +1 -1
  115. package/cjs/resources/Discounts.d.ts +4 -4
  116. package/cjs/resources/Disputes.d.ts +43 -12
  117. package/cjs/resources/Disputes.js +4 -4
  118. package/cjs/resources/Disputes.js.map +1 -1
  119. package/cjs/resources/Entitlements/ActiveEntitlements.js +1 -1
  120. package/cjs/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  121. package/cjs/resources/Entitlements/Features.js +2 -2
  122. package/cjs/resources/Entitlements/Features.js.map +1 -1
  123. package/cjs/resources/Entitlements/index.d.ts +8 -8
  124. package/cjs/resources/EphemeralKeys.js +1 -1
  125. package/cjs/resources/EphemeralKeys.js.map +1 -1
  126. package/cjs/resources/Events.d.ts +68 -3
  127. package/cjs/resources/Events.js +1 -1
  128. package/cjs/resources/Events.js.map +1 -1
  129. package/cjs/resources/ExchangeRates.js +1 -1
  130. package/cjs/resources/ExchangeRates.js.map +1 -1
  131. package/cjs/resources/FileLinks.js +2 -2
  132. package/cjs/resources/FileLinks.js.map +1 -1
  133. package/cjs/resources/Files.d.ts +5 -3
  134. package/cjs/resources/Files.js +6 -1
  135. package/cjs/resources/Files.js.map +1 -1
  136. package/cjs/resources/FinancialConnections/Accounts.d.ts +167 -145
  137. package/cjs/resources/FinancialConnections/Accounts.js +6 -6
  138. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  139. package/cjs/resources/FinancialConnections/Authorizations.d.ts +55 -0
  140. package/cjs/resources/FinancialConnections/Authorizations.js +4 -0
  141. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
  142. package/cjs/resources/FinancialConnections/Sessions.d.ts +115 -42
  143. package/cjs/resources/FinancialConnections/Sessions.js +1 -1
  144. package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
  145. package/cjs/resources/FinancialConnections/Transactions.d.ts +14 -16
  146. package/cjs/resources/FinancialConnections/Transactions.js +1 -1
  147. package/cjs/resources/FinancialConnections/Transactions.js.map +1 -1
  148. package/cjs/resources/FinancialConnections/index.d.ts +17 -14
  149. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  150. package/cjs/resources/Forwarding/Requests.d.ts +59 -61
  151. package/cjs/resources/Forwarding/Requests.js +1 -1
  152. package/cjs/resources/Forwarding/Requests.js.map +1 -1
  153. package/cjs/resources/Forwarding/index.d.ts +4 -4
  154. package/cjs/resources/FundingInstructions.d.ts +4 -4
  155. package/cjs/resources/Identity/VerificationReports.d.ts +257 -259
  156. package/cjs/resources/Identity/VerificationReports.js +1 -1
  157. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  158. package/cjs/resources/Identity/VerificationSessions.d.ts +156 -158
  159. package/cjs/resources/Identity/VerificationSessions.js +4 -4
  160. package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
  161. package/cjs/resources/Identity/index.d.ts +10 -10
  162. package/cjs/resources/InvoiceItems.d.ts +28 -0
  163. package/cjs/resources/InvoiceItems.js +3 -3
  164. package/cjs/resources/InvoiceItems.js.map +1 -1
  165. package/cjs/resources/InvoiceLineItems.d.ts +4 -4
  166. package/cjs/resources/InvoicePayments.d.ts +3 -3
  167. package/cjs/resources/InvoicePayments.js +1 -1
  168. package/cjs/resources/InvoicePayments.js.map +1 -1
  169. package/cjs/resources/InvoiceRenderingTemplates.js +3 -3
  170. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  171. package/cjs/resources/Invoices.d.ts +307 -88
  172. package/cjs/resources/Invoices.js +14 -14
  173. package/cjs/resources/Invoices.js.map +1 -1
  174. package/cjs/resources/Issuing/Authorizations.d.ts +359 -356
  175. package/cjs/resources/Issuing/Authorizations.js +4 -4
  176. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  177. package/cjs/resources/Issuing/Cardholders.d.ts +173 -145
  178. package/cjs/resources/Issuing/Cardholders.js +2 -2
  179. package/cjs/resources/Issuing/Cardholders.js.map +1 -1
  180. package/cjs/resources/Issuing/Cards.d.ts +229 -189
  181. package/cjs/resources/Issuing/Cards.js +2 -2
  182. package/cjs/resources/Issuing/Cards.js.map +1 -1
  183. package/cjs/resources/Issuing/Disputes.d.ts +230 -232
  184. package/cjs/resources/Issuing/Disputes.js +3 -3
  185. package/cjs/resources/Issuing/Disputes.js.map +1 -1
  186. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +50 -52
  187. package/cjs/resources/Issuing/PersonalizationDesigns.js +2 -2
  188. package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  189. package/cjs/resources/Issuing/PhysicalBundles.d.ts +27 -29
  190. package/cjs/resources/Issuing/PhysicalBundles.js +1 -1
  191. package/cjs/resources/Issuing/PhysicalBundles.js.map +1 -1
  192. package/cjs/resources/Issuing/Tokens.d.ts +133 -135
  193. package/cjs/resources/Issuing/Tokens.js +2 -2
  194. package/cjs/resources/Issuing/Tokens.js.map +1 -1
  195. package/cjs/resources/Issuing/Transactions.d.ts +225 -227
  196. package/cjs/resources/Issuing/Transactions.js +2 -2
  197. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  198. package/cjs/resources/Issuing/index.d.ts +38 -38
  199. package/cjs/resources/LineItems.d.ts +4 -3
  200. package/cjs/resources/Mandates.d.ts +54 -10
  201. package/cjs/resources/Mandates.js +1 -1
  202. package/cjs/resources/Mandates.js.map +1 -1
  203. package/cjs/resources/OAuth.d.ts +7 -8
  204. package/cjs/resources/PaymentAttemptRecords.d.ts +81 -52
  205. package/cjs/resources/PaymentAttemptRecords.js +1 -1
  206. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  207. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
  208. package/cjs/resources/PaymentIntents.d.ts +963 -304
  209. package/cjs/resources/PaymentIntents.js +12 -10
  210. package/cjs/resources/PaymentIntents.js.map +1 -1
  211. package/cjs/resources/PaymentLinks.d.ts +217 -48
  212. package/cjs/resources/PaymentLinks.js +3 -3
  213. package/cjs/resources/PaymentLinks.js.map +1 -1
  214. package/cjs/resources/PaymentMethodConfigurations.d.ts +439 -225
  215. package/cjs/resources/PaymentMethodConfigurations.js +2 -2
  216. package/cjs/resources/PaymentMethodConfigurations.js.map +1 -1
  217. package/cjs/resources/PaymentMethodDomains.d.ts +7 -7
  218. package/cjs/resources/PaymentMethodDomains.js +3 -3
  219. package/cjs/resources/PaymentMethodDomains.js.map +1 -1
  220. package/cjs/resources/PaymentMethods.d.ts +76 -37
  221. package/cjs/resources/PaymentMethods.js +5 -5
  222. package/cjs/resources/PaymentMethods.js.map +1 -1
  223. package/cjs/resources/PaymentRecords.d.ts +113 -66
  224. package/cjs/resources/PaymentRecords.js +15 -7
  225. package/cjs/resources/PaymentRecords.js.map +1 -1
  226. package/cjs/resources/Payouts.d.ts +4 -4
  227. package/cjs/resources/Payouts.js +4 -4
  228. package/cjs/resources/Payouts.js.map +1 -1
  229. package/cjs/resources/Persons.d.ts +6 -6
  230. package/cjs/resources/Plans.d.ts +6 -6
  231. package/cjs/resources/Plans.js +3 -3
  232. package/cjs/resources/Plans.js.map +1 -1
  233. package/cjs/resources/Prices.d.ts +6 -6
  234. package/cjs/resources/Prices.js +2 -2
  235. package/cjs/resources/Prices.js.map +1 -1
  236. package/cjs/resources/Products.js +7 -7
  237. package/cjs/resources/Products.js.map +1 -1
  238. package/cjs/resources/PromotionCodes.d.ts +2 -2
  239. package/cjs/resources/PromotionCodes.js +2 -2
  240. package/cjs/resources/PromotionCodes.js.map +1 -1
  241. package/cjs/resources/Quotes.d.ts +86 -20
  242. package/cjs/resources/Quotes.js +20 -12
  243. package/cjs/resources/Quotes.js.map +1 -1
  244. package/cjs/resources/Radar/EarlyFraudWarnings.js +1 -1
  245. package/cjs/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  246. package/cjs/resources/Radar/PaymentEvaluations.d.ts +298 -300
  247. package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -1
  248. package/cjs/resources/Radar/ValueListItems.d.ts +14 -16
  249. package/cjs/resources/Radar/ValueListItems.js +2 -2
  250. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  251. package/cjs/resources/Radar/ValueLists.d.ts +22 -24
  252. package/cjs/resources/Radar/ValueLists.js +3 -3
  253. package/cjs/resources/Radar/ValueLists.js.map +1 -1
  254. package/cjs/resources/Radar/index.d.ts +20 -18
  255. package/cjs/resources/Radar/index.js.map +1 -1
  256. package/cjs/resources/Refunds.d.ts +21 -4
  257. package/cjs/resources/Refunds.js +3 -3
  258. package/cjs/resources/Refunds.js.map +1 -1
  259. package/cjs/resources/Reporting/ReportRuns.d.ts +35 -37
  260. package/cjs/resources/Reporting/ReportRuns.js +1 -1
  261. package/cjs/resources/Reporting/ReportRuns.js.map +1 -1
  262. package/cjs/resources/Reporting/ReportTypes.js +1 -1
  263. package/cjs/resources/Reporting/ReportTypes.js.map +1 -1
  264. package/cjs/resources/Reporting/index.d.ts +7 -7
  265. package/cjs/resources/Reserve/Holds.d.ts +32 -20
  266. package/cjs/resources/Reserve/Plans.d.ts +29 -31
  267. package/cjs/resources/Reserve/Releases.d.ts +23 -25
  268. package/cjs/resources/Reserve/index.js +1 -2
  269. package/cjs/resources/Reserve/index.js.map +1 -1
  270. package/cjs/resources/Reviews.js +2 -2
  271. package/cjs/resources/Reviews.js.map +1 -1
  272. package/cjs/resources/SetupAttempts.d.ts +24 -7
  273. package/cjs/resources/SetupIntents.d.ts +444 -118
  274. package/cjs/resources/SetupIntents.js +5 -5
  275. package/cjs/resources/SetupIntents.js.map +1 -1
  276. package/cjs/resources/ShippingRates.d.ts +5 -5
  277. package/cjs/resources/ShippingRates.js +2 -2
  278. package/cjs/resources/ShippingRates.js.map +1 -1
  279. package/cjs/resources/Sigma/ScheduledQueryRuns.d.ts +7 -9
  280. package/cjs/resources/Sigma/ScheduledQueryRuns.js +1 -1
  281. package/cjs/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  282. package/cjs/resources/Sigma/index.d.ts +3 -3
  283. package/cjs/resources/Sources.d.ts +2 -2
  284. package/cjs/resources/Sources.js +4 -4
  285. package/cjs/resources/Sources.js.map +1 -1
  286. package/cjs/resources/SubscriptionItems.d.ts +11 -25
  287. package/cjs/resources/SubscriptionItems.js +3 -3
  288. package/cjs/resources/SubscriptionItems.js.map +1 -1
  289. package/cjs/resources/SubscriptionSchedules.d.ts +168 -37
  290. package/cjs/resources/SubscriptionSchedules.js +4 -4
  291. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  292. package/cjs/resources/Subscriptions.d.ts +559 -87
  293. package/cjs/resources/Subscriptions.js +9 -9
  294. package/cjs/resources/Subscriptions.js.map +1 -1
  295. package/cjs/resources/Tax/Associations.d.ts +25 -26
  296. package/cjs/resources/Tax/Associations.js.map +1 -1
  297. package/cjs/resources/Tax/CalculationLineItems.d.ts +57 -59
  298. package/cjs/resources/Tax/Calculations.d.ts +167 -169
  299. package/cjs/resources/Tax/Calculations.js +2 -2
  300. package/cjs/resources/Tax/Calculations.js.map +1 -1
  301. package/cjs/resources/Tax/Registrations.d.ts +1226 -1194
  302. package/cjs/resources/Tax/Registrations.js +2 -2
  303. package/cjs/resources/Tax/Registrations.js.map +1 -1
  304. package/cjs/resources/Tax/Settings.d.ts +38 -40
  305. package/cjs/resources/Tax/TransactionLineItems.d.ts +12 -14
  306. package/cjs/resources/Tax/Transactions.d.ts +116 -118
  307. package/cjs/resources/Tax/Transactions.js +2 -2
  308. package/cjs/resources/Tax/Transactions.js.map +1 -1
  309. package/cjs/resources/Tax/index.d.ts +19 -19
  310. package/cjs/resources/TaxCodes.js +1 -1
  311. package/cjs/resources/TaxCodes.js.map +1 -1
  312. package/cjs/resources/TaxIds.d.ts +8 -8
  313. package/cjs/resources/TaxIds.js +2 -2
  314. package/cjs/resources/TaxIds.js.map +1 -1
  315. package/cjs/resources/TaxRates.d.ts +5 -5
  316. package/cjs/resources/TaxRates.js +2 -2
  317. package/cjs/resources/TaxRates.js.map +1 -1
  318. package/cjs/resources/Terminal/Configurations.d.ts +540 -434
  319. package/cjs/resources/Terminal/Configurations.js +3 -3
  320. package/cjs/resources/Terminal/Configurations.js.map +1 -1
  321. package/cjs/resources/Terminal/Locations.d.ts +72 -74
  322. package/cjs/resources/Terminal/Locations.js +3 -3
  323. package/cjs/resources/Terminal/Locations.js.map +1 -1
  324. package/cjs/resources/Terminal/OnboardingLinks.d.ts +16 -18
  325. package/cjs/resources/Terminal/Readers.d.ts +495 -357
  326. package/cjs/resources/Terminal/Readers.js +11 -11
  327. package/cjs/resources/Terminal/Readers.js.map +1 -1
  328. package/cjs/resources/Terminal/index.d.ts +36 -33
  329. package/cjs/resources/Terminal/index.js.map +1 -1
  330. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +31 -13
  331. package/cjs/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
  332. package/cjs/resources/TestHelpers/Customers.js +1 -1
  333. package/cjs/resources/TestHelpers/Customers.js.map +1 -1
  334. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
  335. package/cjs/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  336. package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  337. package/cjs/resources/TestHelpers/Issuing/Cards.js +5 -5
  338. package/cjs/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  339. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
  340. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  341. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  342. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
  343. package/cjs/resources/TestHelpers/Issuing/Transactions.js +1 -1
  344. package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  345. package/cjs/resources/TestHelpers/Refunds.js +1 -1
  346. package/cjs/resources/TestHelpers/Refunds.js.map +1 -1
  347. package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
  348. package/cjs/resources/TestHelpers/Terminal/Readers.js +3 -3
  349. package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  350. package/cjs/resources/TestHelpers/TestClocks.d.ts +32 -30
  351. package/cjs/resources/TestHelpers/TestClocks.js +3 -3
  352. package/cjs/resources/TestHelpers/TestClocks.js.map +1 -1
  353. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
  354. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  355. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  356. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
  357. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  358. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  359. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
  360. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  361. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  362. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -1
  363. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
  364. package/cjs/resources/TestHelpers/index.d.ts +8 -7
  365. package/cjs/resources/TestHelpers/index.js.map +1 -1
  366. package/cjs/resources/Tokens.d.ts +19 -9
  367. package/cjs/resources/Tokens.js +1 -1
  368. package/cjs/resources/Tokens.js.map +1 -1
  369. package/cjs/resources/Topups.d.ts +46 -0
  370. package/cjs/resources/Topups.js +3 -3
  371. package/cjs/resources/Topups.js.map +1 -1
  372. package/cjs/resources/Transfers.js +6 -6
  373. package/cjs/resources/Transfers.js.map +1 -1
  374. package/cjs/resources/Treasury/CreditReversals.d.ts +13 -15
  375. package/cjs/resources/Treasury/CreditReversals.js +1 -1
  376. package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
  377. package/cjs/resources/Treasury/DebitReversals.d.ts +21 -23
  378. package/cjs/resources/Treasury/DebitReversals.js +1 -1
  379. package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
  380. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +265 -266
  381. package/cjs/resources/Treasury/FinancialAccounts.d.ts +95 -97
  382. package/cjs/resources/Treasury/FinancialAccounts.js +5 -5
  383. package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
  384. package/cjs/resources/Treasury/InboundTransfers.d.ts +81 -83
  385. package/cjs/resources/Treasury/InboundTransfers.js +2 -2
  386. package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
  387. package/cjs/resources/Treasury/OutboundPayments.d.ts +131 -133
  388. package/cjs/resources/Treasury/OutboundPayments.js +2 -2
  389. package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
  390. package/cjs/resources/Treasury/OutboundTransfers.d.ts +121 -123
  391. package/cjs/resources/Treasury/OutboundTransfers.js +2 -2
  392. package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
  393. package/cjs/resources/Treasury/ReceivedCredits.d.ts +123 -125
  394. package/cjs/resources/Treasury/ReceivedCredits.js +1 -1
  395. package/cjs/resources/Treasury/ReceivedCredits.js.map +1 -1
  396. package/cjs/resources/Treasury/ReceivedDebits.d.ts +89 -91
  397. package/cjs/resources/Treasury/ReceivedDebits.js +1 -1
  398. package/cjs/resources/Treasury/ReceivedDebits.js.map +1 -1
  399. package/cjs/resources/Treasury/TransactionEntries.d.ts +77 -79
  400. package/cjs/resources/Treasury/TransactionEntries.js +1 -1
  401. package/cjs/resources/Treasury/TransactionEntries.js.map +1 -1
  402. package/cjs/resources/Treasury/Transactions.d.ts +89 -91
  403. package/cjs/resources/Treasury/Transactions.js +1 -1
  404. package/cjs/resources/Treasury/Transactions.js.map +1 -1
  405. package/cjs/resources/Treasury/index.d.ts +43 -43
  406. package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +14 -17
  407. package/cjs/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
  408. package/cjs/resources/V2/Billing/MeterEventSession.d.ts +4 -4
  409. package/cjs/resources/V2/Billing/MeterEventSession.js +1 -1
  410. package/cjs/resources/V2/Billing/index.d.ts +6 -6
  411. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +99 -0
  412. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js +156 -0
  413. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -0
  414. package/cjs/resources/V2/Commerce/ProductCatalog/index.d.ts +8 -0
  415. package/cjs/resources/V2/Commerce/ProductCatalog/index.js +13 -0
  416. package/cjs/resources/V2/Commerce/ProductCatalog/index.js.map +1 -0
  417. package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +184 -0
  418. package/cjs/resources/V2/Commerce/ProductCatalogImports.js +4 -0
  419. package/cjs/resources/V2/Commerce/ProductCatalogImports.js.map +1 -0
  420. package/cjs/resources/V2/Commerce/index.d.ts +13 -0
  421. package/cjs/resources/V2/Commerce/index.js +13 -0
  422. package/cjs/resources/V2/Commerce/index.js.map +1 -0
  423. package/cjs/resources/V2/Core/AccountLinks.d.ts +91 -94
  424. package/cjs/resources/V2/Core/AccountLinks.js.map +1 -1
  425. package/cjs/resources/V2/Core/AccountPersons.d.ts +370 -374
  426. package/cjs/resources/V2/Core/AccountTokens.d.ts +80 -11
  427. package/cjs/resources/V2/Core/AccountTokens.js +6 -2
  428. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  429. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +7 -6
  430. package/cjs/resources/V2/Core/Accounts/PersonTokens.js +5 -4
  431. package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  432. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +10 -10
  433. package/cjs/resources/V2/Core/Accounts/Persons.js +7 -7
  434. package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
  435. package/cjs/resources/V2/Core/Accounts.d.ts +3156 -2914
  436. package/cjs/resources/V2/Core/Accounts.js +4 -4
  437. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  438. package/cjs/resources/V2/Core/EventDestinations.d.ts +104 -61
  439. package/cjs/resources/V2/Core/EventDestinations.js +6 -6
  440. package/cjs/resources/V2/Core/EventDestinations.js.map +1 -1
  441. package/cjs/resources/V2/Core/Events.d.ts +97 -43
  442. package/cjs/resources/V2/Core/Events.js +3 -2
  443. package/cjs/resources/V2/Core/Events.js.map +1 -1
  444. package/cjs/resources/V2/Core/index.d.ts +23 -23
  445. package/cjs/resources/V2/index.d.ts +3 -0
  446. package/cjs/resources/V2/index.js +4 -2
  447. package/cjs/resources/V2/index.js.map +1 -1
  448. package/cjs/resources/WebhookEndpoints.d.ts +4 -4
  449. package/cjs/resources/WebhookEndpoints.js +3 -3
  450. package/cjs/resources/WebhookEndpoints.js.map +1 -1
  451. package/cjs/resources.js +6 -0
  452. package/cjs/resources.js.map +1 -1
  453. package/cjs/shared.d.ts +5 -0
  454. package/cjs/stripe.cjs.node.d.ts +14481 -3
  455. package/cjs/stripe.cjs.node.js +1 -4
  456. package/cjs/stripe.cjs.node.js.map +1 -1
  457. package/cjs/stripe.core.d.ts +71 -15
  458. package/cjs/stripe.core.js +67 -7
  459. package/cjs/stripe.core.js.map +1 -1
  460. package/cjs/utils.d.ts +6 -3
  461. package/cjs/utils.js +19 -21
  462. package/cjs/utils.js.map +1 -1
  463. package/esm/Error.d.ts +61 -7
  464. package/esm/Error.js +12 -3
  465. package/esm/Error.js.map +1 -1
  466. package/esm/RequestSender.d.ts +2 -1
  467. package/esm/RequestSender.js +31 -15
  468. package/esm/RequestSender.js.map +1 -1
  469. package/esm/StripeResource.js +5 -1
  470. package/esm/StripeResource.js.map +1 -1
  471. package/esm/Types.d.ts +73 -11
  472. package/esm/Types.js.map +1 -1
  473. package/esm/Webhooks.d.ts +8 -8
  474. package/esm/Webhooks.js +41 -4
  475. package/esm/Webhooks.js.map +1 -1
  476. package/esm/apiVersion.d.ts +1 -1
  477. package/esm/apiVersion.js +1 -1
  478. package/esm/autoPagination.js +42 -5
  479. package/esm/autoPagination.js.map +1 -1
  480. package/esm/lib.d.ts +56 -5
  481. package/esm/net/FetchHttpClient.js +11 -1
  482. package/esm/net/FetchHttpClient.js.map +1 -1
  483. package/esm/net/HttpClient.js.map +1 -1
  484. package/esm/net/NodeHttpClient.js +3 -0
  485. package/esm/net/NodeHttpClient.js.map +1 -1
  486. package/esm/platform/NodePlatformFunctions.d.ts +10 -0
  487. package/esm/platform/NodePlatformFunctions.js +75 -2
  488. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  489. package/esm/platform/PlatformFunctions.d.ts +14 -0
  490. package/esm/platform/PlatformFunctions.js +24 -0
  491. package/esm/platform/PlatformFunctions.js.map +1 -1
  492. package/esm/resources/AccountLinks.d.ts +2 -1
  493. package/esm/resources/AccountLinks.js.map +1 -1
  494. package/esm/resources/AccountSessions.d.ts +92 -0
  495. package/esm/resources/Accounts.d.ts +202 -71
  496. package/esm/resources/Accounts.js +31 -21
  497. package/esm/resources/Accounts.js.map +1 -1
  498. package/esm/resources/ApplePayDomains.js +2 -2
  499. package/esm/resources/ApplePayDomains.js.map +1 -1
  500. package/esm/resources/ApplicationFees.d.ts +2 -2
  501. package/esm/resources/ApplicationFees.js +5 -5
  502. package/esm/resources/ApplicationFees.js.map +1 -1
  503. package/esm/resources/Apps/Secrets.d.ts +19 -21
  504. package/esm/resources/Apps/index.d.ts +5 -5
  505. package/esm/resources/BalanceSettings.d.ts +92 -6
  506. package/esm/resources/BalanceTransactions.d.ts +9 -9
  507. package/esm/resources/BalanceTransactions.js +3 -3
  508. package/esm/resources/BalanceTransactions.js.map +1 -1
  509. package/esm/resources/BankAccounts.d.ts +2 -2
  510. package/esm/resources/Billing/Alerts.d.ts +29 -31
  511. package/esm/resources/Billing/Alerts.js +4 -4
  512. package/esm/resources/Billing/Alerts.js.map +1 -1
  513. package/esm/resources/Billing/CreditBalanceSummary.d.ts +42 -43
  514. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  515. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +75 -77
  516. package/esm/resources/Billing/CreditBalanceTransactions.js +1 -1
  517. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  518. package/esm/resources/Billing/CreditGrants.d.ts +43 -45
  519. package/esm/resources/Billing/CreditGrants.js +4 -4
  520. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  521. package/esm/resources/Billing/MeterEventAdjustments.d.ts +10 -11
  522. package/esm/resources/Billing/MeterEventAdjustments.js.map +1 -1
  523. package/esm/resources/Billing/MeterEvents.d.ts +1 -1
  524. package/esm/resources/Billing/Meters.d.ts +45 -47
  525. package/esm/resources/Billing/Meters.js +5 -5
  526. package/esm/resources/Billing/Meters.js.map +1 -1
  527. package/esm/resources/Billing/index.d.ts +31 -31
  528. package/esm/resources/BillingPortal/Configurations.d.ts +148 -150
  529. package/esm/resources/BillingPortal/Configurations.js +2 -2
  530. package/esm/resources/BillingPortal/Configurations.js.map +1 -1
  531. package/esm/resources/BillingPortal/Sessions.d.ts +104 -105
  532. package/esm/resources/BillingPortal/Sessions.js.map +1 -1
  533. package/esm/resources/BillingPortal/index.d.ts +7 -7
  534. package/esm/resources/Capabilities.d.ts +6 -5
  535. package/esm/resources/Cards.d.ts +3 -3
  536. package/esm/resources/Charges.d.ts +85 -32
  537. package/esm/resources/Charges.js +3 -3
  538. package/esm/resources/Charges.js.map +1 -1
  539. package/esm/resources/Checkout/Sessions.d.ts +1823 -1575
  540. package/esm/resources/Checkout/Sessions.js +4 -4
  541. package/esm/resources/Checkout/Sessions.js.map +1 -1
  542. package/esm/resources/Checkout/index.d.ts +7 -7
  543. package/esm/resources/Climate/Orders.d.ts +48 -50
  544. package/esm/resources/Climate/Orders.js +3 -3
  545. package/esm/resources/Climate/Orders.js.map +1 -1
  546. package/esm/resources/Climate/Products.d.ts +15 -17
  547. package/esm/resources/Climate/Products.js +1 -1
  548. package/esm/resources/Climate/Products.js.map +1 -1
  549. package/esm/resources/Climate/Suppliers.d.ts +26 -28
  550. package/esm/resources/Climate/Suppliers.js +1 -1
  551. package/esm/resources/Climate/Suppliers.js.map +1 -1
  552. package/esm/resources/Climate/index.d.ts +12 -12
  553. package/esm/resources/ConfirmationTokens.d.ts +42 -21
  554. package/esm/resources/ConfirmationTokens.js +1 -1
  555. package/esm/resources/ConfirmationTokens.js.map +1 -1
  556. package/esm/resources/CountrySpecs.js +1 -1
  557. package/esm/resources/CountrySpecs.js.map +1 -1
  558. package/esm/resources/Coupons.d.ts +3 -3
  559. package/esm/resources/Coupons.js +3 -3
  560. package/esm/resources/Coupons.js.map +1 -1
  561. package/esm/resources/CreditNoteLineItems.d.ts +3 -3
  562. package/esm/resources/CreditNotes.d.ts +23 -20
  563. package/esm/resources/CreditNotes.js +6 -4
  564. package/esm/resources/CreditNotes.js.map +1 -1
  565. package/esm/resources/CustomerBalanceTransactions.d.ts +2 -2
  566. package/esm/resources/CustomerCashBalanceTransactions.d.ts +4 -3
  567. package/esm/resources/CustomerSessions.d.ts +25 -24
  568. package/esm/resources/CustomerSessions.js.map +1 -1
  569. package/esm/resources/Customers.d.ts +14 -14
  570. package/esm/resources/Customers.js +31 -27
  571. package/esm/resources/Customers.js.map +1 -1
  572. package/esm/resources/Discounts.d.ts +4 -4
  573. package/esm/resources/Disputes.d.ts +43 -12
  574. package/esm/resources/Disputes.js +4 -4
  575. package/esm/resources/Disputes.js.map +1 -1
  576. package/esm/resources/Entitlements/ActiveEntitlements.js +1 -1
  577. package/esm/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  578. package/esm/resources/Entitlements/Features.js +2 -2
  579. package/esm/resources/Entitlements/Features.js.map +1 -1
  580. package/esm/resources/Entitlements/index.d.ts +8 -8
  581. package/esm/resources/EphemeralKeys.js +1 -1
  582. package/esm/resources/EphemeralKeys.js.map +1 -1
  583. package/esm/resources/Events.d.ts +68 -3
  584. package/esm/resources/Events.js +1 -1
  585. package/esm/resources/Events.js.map +1 -1
  586. package/esm/resources/ExchangeRates.js +1 -1
  587. package/esm/resources/ExchangeRates.js.map +1 -1
  588. package/esm/resources/FileLinks.js +2 -2
  589. package/esm/resources/FileLinks.js.map +1 -1
  590. package/esm/resources/Files.d.ts +5 -3
  591. package/esm/resources/Files.js +6 -1
  592. package/esm/resources/Files.js.map +1 -1
  593. package/esm/resources/FinancialConnections/Accounts.d.ts +167 -145
  594. package/esm/resources/FinancialConnections/Accounts.js +6 -6
  595. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  596. package/esm/resources/FinancialConnections/Authorizations.d.ts +55 -0
  597. package/esm/resources/FinancialConnections/Authorizations.js +3 -0
  598. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
  599. package/esm/resources/FinancialConnections/Sessions.d.ts +115 -42
  600. package/esm/resources/FinancialConnections/Sessions.js +1 -1
  601. package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
  602. package/esm/resources/FinancialConnections/Transactions.d.ts +14 -16
  603. package/esm/resources/FinancialConnections/Transactions.js +1 -1
  604. package/esm/resources/FinancialConnections/Transactions.js.map +1 -1
  605. package/esm/resources/FinancialConnections/index.d.ts +17 -14
  606. package/esm/resources/FinancialConnections/index.js.map +1 -1
  607. package/esm/resources/Forwarding/Requests.d.ts +59 -61
  608. package/esm/resources/Forwarding/Requests.js +1 -1
  609. package/esm/resources/Forwarding/Requests.js.map +1 -1
  610. package/esm/resources/Forwarding/index.d.ts +4 -4
  611. package/esm/resources/FundingInstructions.d.ts +4 -4
  612. package/esm/resources/Identity/VerificationReports.d.ts +257 -259
  613. package/esm/resources/Identity/VerificationReports.js +1 -1
  614. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  615. package/esm/resources/Identity/VerificationSessions.d.ts +156 -158
  616. package/esm/resources/Identity/VerificationSessions.js +4 -4
  617. package/esm/resources/Identity/VerificationSessions.js.map +1 -1
  618. package/esm/resources/Identity/index.d.ts +10 -10
  619. package/esm/resources/InvoiceItems.d.ts +28 -0
  620. package/esm/resources/InvoiceItems.js +3 -3
  621. package/esm/resources/InvoiceItems.js.map +1 -1
  622. package/esm/resources/InvoiceLineItems.d.ts +4 -4
  623. package/esm/resources/InvoicePayments.d.ts +3 -3
  624. package/esm/resources/InvoicePayments.js +1 -1
  625. package/esm/resources/InvoicePayments.js.map +1 -1
  626. package/esm/resources/InvoiceRenderingTemplates.js +3 -3
  627. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  628. package/esm/resources/Invoices.d.ts +307 -88
  629. package/esm/resources/Invoices.js +14 -14
  630. package/esm/resources/Invoices.js.map +1 -1
  631. package/esm/resources/Issuing/Authorizations.d.ts +359 -356
  632. package/esm/resources/Issuing/Authorizations.js +4 -4
  633. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  634. package/esm/resources/Issuing/Cardholders.d.ts +173 -145
  635. package/esm/resources/Issuing/Cardholders.js +2 -2
  636. package/esm/resources/Issuing/Cardholders.js.map +1 -1
  637. package/esm/resources/Issuing/Cards.d.ts +229 -189
  638. package/esm/resources/Issuing/Cards.js +2 -2
  639. package/esm/resources/Issuing/Cards.js.map +1 -1
  640. package/esm/resources/Issuing/Disputes.d.ts +230 -232
  641. package/esm/resources/Issuing/Disputes.js +3 -3
  642. package/esm/resources/Issuing/Disputes.js.map +1 -1
  643. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +50 -52
  644. package/esm/resources/Issuing/PersonalizationDesigns.js +2 -2
  645. package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  646. package/esm/resources/Issuing/PhysicalBundles.d.ts +27 -29
  647. package/esm/resources/Issuing/PhysicalBundles.js +1 -1
  648. package/esm/resources/Issuing/PhysicalBundles.js.map +1 -1
  649. package/esm/resources/Issuing/Tokens.d.ts +133 -135
  650. package/esm/resources/Issuing/Tokens.js +2 -2
  651. package/esm/resources/Issuing/Tokens.js.map +1 -1
  652. package/esm/resources/Issuing/Transactions.d.ts +225 -227
  653. package/esm/resources/Issuing/Transactions.js +2 -2
  654. package/esm/resources/Issuing/Transactions.js.map +1 -1
  655. package/esm/resources/Issuing/index.d.ts +38 -38
  656. package/esm/resources/LineItems.d.ts +4 -3
  657. package/esm/resources/Mandates.d.ts +54 -10
  658. package/esm/resources/Mandates.js +1 -1
  659. package/esm/resources/Mandates.js.map +1 -1
  660. package/esm/resources/OAuth.d.ts +7 -8
  661. package/esm/resources/PaymentAttemptRecords.d.ts +81 -52
  662. package/esm/resources/PaymentAttemptRecords.js +1 -1
  663. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  664. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
  665. package/esm/resources/PaymentIntents.d.ts +963 -304
  666. package/esm/resources/PaymentIntents.js +12 -10
  667. package/esm/resources/PaymentIntents.js.map +1 -1
  668. package/esm/resources/PaymentLinks.d.ts +217 -48
  669. package/esm/resources/PaymentLinks.js +3 -3
  670. package/esm/resources/PaymentLinks.js.map +1 -1
  671. package/esm/resources/PaymentMethodConfigurations.d.ts +439 -225
  672. package/esm/resources/PaymentMethodConfigurations.js +2 -2
  673. package/esm/resources/PaymentMethodConfigurations.js.map +1 -1
  674. package/esm/resources/PaymentMethodDomains.d.ts +7 -7
  675. package/esm/resources/PaymentMethodDomains.js +3 -3
  676. package/esm/resources/PaymentMethodDomains.js.map +1 -1
  677. package/esm/resources/PaymentMethods.d.ts +76 -37
  678. package/esm/resources/PaymentMethods.js +5 -5
  679. package/esm/resources/PaymentMethods.js.map +1 -1
  680. package/esm/resources/PaymentRecords.d.ts +113 -66
  681. package/esm/resources/PaymentRecords.js +15 -7
  682. package/esm/resources/PaymentRecords.js.map +1 -1
  683. package/esm/resources/Payouts.d.ts +4 -4
  684. package/esm/resources/Payouts.js +4 -4
  685. package/esm/resources/Payouts.js.map +1 -1
  686. package/esm/resources/Persons.d.ts +6 -6
  687. package/esm/resources/Plans.d.ts +6 -6
  688. package/esm/resources/Plans.js +3 -3
  689. package/esm/resources/Plans.js.map +1 -1
  690. package/esm/resources/Prices.d.ts +6 -6
  691. package/esm/resources/Prices.js +2 -2
  692. package/esm/resources/Prices.js.map +1 -1
  693. package/esm/resources/Products.js +7 -7
  694. package/esm/resources/Products.js.map +1 -1
  695. package/esm/resources/PromotionCodes.d.ts +2 -2
  696. package/esm/resources/PromotionCodes.js +2 -2
  697. package/esm/resources/PromotionCodes.js.map +1 -1
  698. package/esm/resources/Quotes.d.ts +86 -20
  699. package/esm/resources/Quotes.js +20 -12
  700. package/esm/resources/Quotes.js.map +1 -1
  701. package/esm/resources/Radar/EarlyFraudWarnings.js +1 -1
  702. package/esm/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  703. package/esm/resources/Radar/PaymentEvaluations.d.ts +298 -300
  704. package/esm/resources/Radar/PaymentEvaluations.js.map +1 -1
  705. package/esm/resources/Radar/ValueListItems.d.ts +14 -16
  706. package/esm/resources/Radar/ValueListItems.js +2 -2
  707. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  708. package/esm/resources/Radar/ValueLists.d.ts +22 -24
  709. package/esm/resources/Radar/ValueLists.js +3 -3
  710. package/esm/resources/Radar/ValueLists.js.map +1 -1
  711. package/esm/resources/Radar/index.d.ts +20 -18
  712. package/esm/resources/Radar/index.js.map +1 -1
  713. package/esm/resources/Refunds.d.ts +21 -4
  714. package/esm/resources/Refunds.js +3 -3
  715. package/esm/resources/Refunds.js.map +1 -1
  716. package/esm/resources/Reporting/ReportRuns.d.ts +35 -37
  717. package/esm/resources/Reporting/ReportRuns.js +1 -1
  718. package/esm/resources/Reporting/ReportRuns.js.map +1 -1
  719. package/esm/resources/Reporting/ReportTypes.js +1 -1
  720. package/esm/resources/Reporting/ReportTypes.js.map +1 -1
  721. package/esm/resources/Reporting/index.d.ts +7 -7
  722. package/esm/resources/Reserve/Holds.d.ts +32 -20
  723. package/esm/resources/Reserve/Plans.d.ts +29 -31
  724. package/esm/resources/Reserve/Releases.d.ts +23 -25
  725. package/esm/resources/Reserve/index.js +1 -2
  726. package/esm/resources/Reserve/index.js.map +1 -1
  727. package/esm/resources/Reviews.js +2 -2
  728. package/esm/resources/Reviews.js.map +1 -1
  729. package/esm/resources/SetupAttempts.d.ts +24 -7
  730. package/esm/resources/SetupIntents.d.ts +444 -118
  731. package/esm/resources/SetupIntents.js +5 -5
  732. package/esm/resources/SetupIntents.js.map +1 -1
  733. package/esm/resources/ShippingRates.d.ts +5 -5
  734. package/esm/resources/ShippingRates.js +2 -2
  735. package/esm/resources/ShippingRates.js.map +1 -1
  736. package/esm/resources/Sigma/ScheduledQueryRuns.d.ts +7 -9
  737. package/esm/resources/Sigma/ScheduledQueryRuns.js +1 -1
  738. package/esm/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  739. package/esm/resources/Sigma/index.d.ts +3 -3
  740. package/esm/resources/Sources.d.ts +2 -2
  741. package/esm/resources/Sources.js +4 -4
  742. package/esm/resources/Sources.js.map +1 -1
  743. package/esm/resources/SubscriptionItems.d.ts +11 -25
  744. package/esm/resources/SubscriptionItems.js +3 -3
  745. package/esm/resources/SubscriptionItems.js.map +1 -1
  746. package/esm/resources/SubscriptionSchedules.d.ts +168 -37
  747. package/esm/resources/SubscriptionSchedules.js +4 -4
  748. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  749. package/esm/resources/Subscriptions.d.ts +559 -87
  750. package/esm/resources/Subscriptions.js +9 -9
  751. package/esm/resources/Subscriptions.js.map +1 -1
  752. package/esm/resources/Tax/Associations.d.ts +25 -26
  753. package/esm/resources/Tax/Associations.js.map +1 -1
  754. package/esm/resources/Tax/CalculationLineItems.d.ts +57 -59
  755. package/esm/resources/Tax/Calculations.d.ts +167 -169
  756. package/esm/resources/Tax/Calculations.js +2 -2
  757. package/esm/resources/Tax/Calculations.js.map +1 -1
  758. package/esm/resources/Tax/Registrations.d.ts +1226 -1194
  759. package/esm/resources/Tax/Registrations.js +2 -2
  760. package/esm/resources/Tax/Registrations.js.map +1 -1
  761. package/esm/resources/Tax/Settings.d.ts +38 -40
  762. package/esm/resources/Tax/TransactionLineItems.d.ts +12 -14
  763. package/esm/resources/Tax/Transactions.d.ts +116 -118
  764. package/esm/resources/Tax/Transactions.js +2 -2
  765. package/esm/resources/Tax/Transactions.js.map +1 -1
  766. package/esm/resources/Tax/index.d.ts +19 -19
  767. package/esm/resources/TaxCodes.js +1 -1
  768. package/esm/resources/TaxCodes.js.map +1 -1
  769. package/esm/resources/TaxIds.d.ts +8 -8
  770. package/esm/resources/TaxIds.js +2 -2
  771. package/esm/resources/TaxIds.js.map +1 -1
  772. package/esm/resources/TaxRates.d.ts +5 -5
  773. package/esm/resources/TaxRates.js +2 -2
  774. package/esm/resources/TaxRates.js.map +1 -1
  775. package/esm/resources/Terminal/Configurations.d.ts +540 -434
  776. package/esm/resources/Terminal/Configurations.js +3 -3
  777. package/esm/resources/Terminal/Configurations.js.map +1 -1
  778. package/esm/resources/Terminal/Locations.d.ts +72 -74
  779. package/esm/resources/Terminal/Locations.js +3 -3
  780. package/esm/resources/Terminal/Locations.js.map +1 -1
  781. package/esm/resources/Terminal/OnboardingLinks.d.ts +16 -18
  782. package/esm/resources/Terminal/Readers.d.ts +495 -357
  783. package/esm/resources/Terminal/Readers.js +11 -11
  784. package/esm/resources/Terminal/Readers.js.map +1 -1
  785. package/esm/resources/Terminal/index.d.ts +36 -33
  786. package/esm/resources/Terminal/index.js.map +1 -1
  787. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +31 -13
  788. package/esm/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
  789. package/esm/resources/TestHelpers/Customers.js +1 -1
  790. package/esm/resources/TestHelpers/Customers.js.map +1 -1
  791. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
  792. package/esm/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  793. package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  794. package/esm/resources/TestHelpers/Issuing/Cards.js +5 -5
  795. package/esm/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  796. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
  797. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  798. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  799. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
  800. package/esm/resources/TestHelpers/Issuing/Transactions.js +1 -1
  801. package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  802. package/esm/resources/TestHelpers/Refunds.js +1 -1
  803. package/esm/resources/TestHelpers/Refunds.js.map +1 -1
  804. package/esm/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
  805. package/esm/resources/TestHelpers/Terminal/Readers.js +3 -3
  806. package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  807. package/esm/resources/TestHelpers/TestClocks.d.ts +32 -30
  808. package/esm/resources/TestHelpers/TestClocks.js +3 -3
  809. package/esm/resources/TestHelpers/TestClocks.js.map +1 -1
  810. package/esm/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
  811. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  812. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  813. package/esm/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
  814. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  815. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  816. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
  817. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  818. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  819. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -1
  820. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
  821. package/esm/resources/TestHelpers/index.d.ts +8 -7
  822. package/esm/resources/TestHelpers/index.js.map +1 -1
  823. package/esm/resources/Tokens.d.ts +19 -9
  824. package/esm/resources/Tokens.js +1 -1
  825. package/esm/resources/Tokens.js.map +1 -1
  826. package/esm/resources/Topups.d.ts +46 -0
  827. package/esm/resources/Topups.js +3 -3
  828. package/esm/resources/Topups.js.map +1 -1
  829. package/esm/resources/Transfers.js +6 -6
  830. package/esm/resources/Transfers.js.map +1 -1
  831. package/esm/resources/Treasury/CreditReversals.d.ts +13 -15
  832. package/esm/resources/Treasury/CreditReversals.js +1 -1
  833. package/esm/resources/Treasury/CreditReversals.js.map +1 -1
  834. package/esm/resources/Treasury/DebitReversals.d.ts +21 -23
  835. package/esm/resources/Treasury/DebitReversals.js +1 -1
  836. package/esm/resources/Treasury/DebitReversals.js.map +1 -1
  837. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +265 -266
  838. package/esm/resources/Treasury/FinancialAccounts.d.ts +95 -97
  839. package/esm/resources/Treasury/FinancialAccounts.js +5 -5
  840. package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
  841. package/esm/resources/Treasury/InboundTransfers.d.ts +81 -83
  842. package/esm/resources/Treasury/InboundTransfers.js +2 -2
  843. package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
  844. package/esm/resources/Treasury/OutboundPayments.d.ts +131 -133
  845. package/esm/resources/Treasury/OutboundPayments.js +2 -2
  846. package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
  847. package/esm/resources/Treasury/OutboundTransfers.d.ts +121 -123
  848. package/esm/resources/Treasury/OutboundTransfers.js +2 -2
  849. package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
  850. package/esm/resources/Treasury/ReceivedCredits.d.ts +123 -125
  851. package/esm/resources/Treasury/ReceivedCredits.js +1 -1
  852. package/esm/resources/Treasury/ReceivedCredits.js.map +1 -1
  853. package/esm/resources/Treasury/ReceivedDebits.d.ts +89 -91
  854. package/esm/resources/Treasury/ReceivedDebits.js +1 -1
  855. package/esm/resources/Treasury/ReceivedDebits.js.map +1 -1
  856. package/esm/resources/Treasury/TransactionEntries.d.ts +77 -79
  857. package/esm/resources/Treasury/TransactionEntries.js +1 -1
  858. package/esm/resources/Treasury/TransactionEntries.js.map +1 -1
  859. package/esm/resources/Treasury/Transactions.d.ts +89 -91
  860. package/esm/resources/Treasury/Transactions.js +1 -1
  861. package/esm/resources/Treasury/Transactions.js.map +1 -1
  862. package/esm/resources/Treasury/index.d.ts +43 -43
  863. package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +14 -17
  864. package/esm/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
  865. package/esm/resources/V2/Billing/MeterEventSession.d.ts +4 -4
  866. package/esm/resources/V2/Billing/MeterEventSession.js +1 -1
  867. package/esm/resources/V2/Billing/index.d.ts +6 -6
  868. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +99 -0
  869. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js +152 -0
  870. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -0
  871. package/esm/resources/V2/Commerce/ProductCatalog/index.d.ts +8 -0
  872. package/esm/resources/V2/Commerce/ProductCatalog/index.js +9 -0
  873. package/esm/resources/V2/Commerce/ProductCatalog/index.js.map +1 -0
  874. package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +184 -0
  875. package/esm/resources/V2/Commerce/ProductCatalogImports.js +3 -0
  876. package/esm/resources/V2/Commerce/ProductCatalogImports.js.map +1 -0
  877. package/esm/resources/V2/Commerce/index.d.ts +13 -0
  878. package/esm/resources/V2/Commerce/index.js +9 -0
  879. package/esm/resources/V2/Commerce/index.js.map +1 -0
  880. package/esm/resources/V2/Core/AccountLinks.d.ts +91 -94
  881. package/esm/resources/V2/Core/AccountLinks.js.map +1 -1
  882. package/esm/resources/V2/Core/AccountPersons.d.ts +370 -374
  883. package/esm/resources/V2/Core/AccountTokens.d.ts +80 -11
  884. package/esm/resources/V2/Core/AccountTokens.js +6 -2
  885. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  886. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +7 -6
  887. package/esm/resources/V2/Core/Accounts/PersonTokens.js +5 -4
  888. package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  889. package/esm/resources/V2/Core/Accounts/Persons.d.ts +10 -10
  890. package/esm/resources/V2/Core/Accounts/Persons.js +7 -7
  891. package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
  892. package/esm/resources/V2/Core/Accounts.d.ts +3156 -2914
  893. package/esm/resources/V2/Core/Accounts.js +4 -4
  894. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  895. package/esm/resources/V2/Core/EventDestinations.d.ts +104 -61
  896. package/esm/resources/V2/Core/EventDestinations.js +6 -6
  897. package/esm/resources/V2/Core/EventDestinations.js.map +1 -1
  898. package/esm/resources/V2/Core/Events.d.ts +97 -43
  899. package/esm/resources/V2/Core/Events.js +3 -2
  900. package/esm/resources/V2/Core/Events.js.map +1 -1
  901. package/esm/resources/V2/Core/index.d.ts +23 -23
  902. package/esm/resources/V2/index.d.ts +3 -0
  903. package/esm/resources/V2/index.js +2 -0
  904. package/esm/resources/V2/index.js.map +1 -1
  905. package/esm/resources/WebhookEndpoints.d.ts +4 -4
  906. package/esm/resources/WebhookEndpoints.js +3 -3
  907. package/esm/resources/WebhookEndpoints.js.map +1 -1
  908. package/esm/resources.js +6 -0
  909. package/esm/resources.js.map +1 -1
  910. package/esm/shared.d.ts +5 -0
  911. package/esm/stripe.core.d.ts +71 -15
  912. package/esm/stripe.core.js +68 -8
  913. package/esm/stripe.core.js.map +1 -1
  914. package/esm/stripe.esm.node.d.ts +71 -15
  915. package/esm/stripe.esm.node.js +62 -8
  916. package/esm/stripe.esm.node.js.map +1 -1
  917. package/esm/stripe.esm.worker.d.ts +1 -0
  918. package/esm/stripe.esm.worker.js +1 -0
  919. package/esm/stripe.esm.worker.js.map +1 -1
  920. package/esm/utils.d.ts +6 -3
  921. package/esm/utils.js +17 -17
  922. package/esm/utils.js.map +1 -1
  923. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,22 +1,275 @@
1
1
  # Changelog
2
2
 
3
+ ## 22.4.0 - 2026-07-29
4
+ This release changes the pinned API version to 2026-07-29.dahlia.
5
+
6
+ * [#2795](https://github.com/stripe/stripe-node/pull/2795) Update generated code
7
+ * Add support for new resource `FinancialConnections.Authorization`
8
+ * Add support for `unreject` method on resource `Account`
9
+ * Add support for `list` method on resource `PaymentRecord`
10
+ * Add support for `administrative_address` and `principal_place_of_business` on `Account.company`, `AccountCreateParams.company`, `AccountUpdateParams.company`, and `TokenCreateParams.account.company`
11
+ * Add support for `sepa_debit_payments` on `AccountUpdateParams.settings`
12
+ * Remove support for `proof_of_registration` on `AccountCreateParams.documents`. This field was limited-use and is being deprecated.
13
+ * Add support for `payouts_action` on `AccountRejectParams`
14
+ * Add support for new values `mass_transit_parking_tax` and `parking_tax` on enums `Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type`, `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`, `Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type`, and `Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type`
15
+ * Add support for new value `chaps` on enums `FundingInstructions.bank_transfer.financial_addresses[].supported_networks` and `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].supported_networks`
16
+ * Add support for `smart_disputes_management` on `AccountSession.components.disputes_list.features`, `AccountSession.components.payment_details.features`, `AccountSession.components.payment_disputes.features`, `AccountSession.components.payments.features`, `AccountSessionCreateParams.components.disputes_list.features`, `AccountSessionCreateParams.components.payment_details.features`, `AccountSessionCreateParams.components.payment_disputes.features`, and `AccountSessionCreateParams.components.payments.features`
17
+ * Add support for new value `data_share_only` on enums `Charge.payment_method_details.card.three_d_secure.result`, `PaymentAttemptRecord.payment_method_details.card.three_d_secure.result`, `PaymentRecord.payment_method_details.card.three_d_secure.result`, and `SetupAttempt.payment_method_details.card.three_d_secure.result`
18
+ * Add support for new values `bnp_paribas`, `citibank`, and `mbsb_bank` on enums `Charge.payment_method_details.fpx.bank`, `ConfirmationToken.payment_method_preview.fpx.bank`, `PaymentAttemptRecord.payment_method_details.fpx.bank`, `PaymentMethod.fpx.bank`, and `PaymentRecord.payment_method_details.fpx.bank`
19
+ * Remove support for `dynamic_tax_rates` on `Checkout.SessionCreateParams.line_items[]`. This field was limited-use and is being deprecated.
20
+ * Add support for `setup_future_usage` on `Checkout.Session.payment_method_options.payco`, `Checkout.Session.payment_method_options.samsung_pay`, `Checkout.SessionCreateParams.payment_method_options.payco`, `Checkout.SessionCreateParams.payment_method_options.samsung_pay`, `PaymentIntent.payment_method_options.payco`, `PaymentIntent.payment_method_options.samsung_pay`, `PaymentIntentConfirmParams.payment_method_options.payco`, `PaymentIntentConfirmParams.payment_method_options.samsung_pay`, `PaymentIntentCreateParams.payment_method_options.payco`, `PaymentIntentCreateParams.payment_method_options.samsung_pay`, `PaymentIntentUpdateParams.payment_method_options.payco`, `PaymentIntentUpdateParams.payment_method_options.samsung_pay`, and `PaymentLinkUpdateParams.payment_intent_data`
21
+ * Add support for new value `ic_nif` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, `Tax.Transaction.customer_details.tax_ids[].type`, and `TaxId.type`
22
+ * Add support for new values `bnp_paribas`, `citibank`, and `mbsb_bank` on enums `ConfirmationTokenCreateParams.testHelpers.payment_method_data.fpx.bank`, `PaymentIntentConfirmParams.payment_method_data.fpx.bank`, `PaymentIntentCreateParams.payment_method_data.fpx.bank`, `PaymentIntentUpdateParams.payment_method_data.fpx.bank`, `PaymentMethodCreateParams.fpx.bank`, `SetupIntentConfirmParams.payment_method_data.fpx.bank`, `SetupIntentCreateParams.payment_method_data.fpx.bank`, and `SetupIntentUpdateParams.payment_method_data.fpx.bank`
23
+ * Add support for new value `ic_nif` on enums `CustomerCreateParams.tax_id_data[].type`, `CustomerCreateTaxIdParams.type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `Tax.CalculationCreateParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type`
24
+ * Add support for `network` on `Dispute.payment_method_details.card`
25
+ * Add support for new values `financial_connections.account.expected_deactivation_date_updated`, `financial_connections.account.supported_payment_method_types_updated`, `financial_connections.account.upcoming_deactivation`, `financial_connections.authorization.expected_deactivation_date_updated`, and `financial_connections.authorization.upcoming_deactivation` on enum `Event.type`
26
+ * Add support for `limits` and `manual_entry` on `FinancialConnections.SessionCreateParams` and `FinancialConnections.Session`
27
+ * Add support for `require_payment_method_support` on `FinancialConnections.Session.filters` and `FinancialConnections.SessionCreateParams.filters`
28
+ * Add support for `bank_account_token` on `FinancialConnections.Session`
29
+ * Add support for new values `alipay` and `mb_way` on enums `Invoice.payment_settings.payment_method_types`, `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `Subscription.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
30
+ * Add support for new values `mass_transit_parking_tax` and `parking_tax` on enums `InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `InvoiceLineItemUpdateParams.tax_amounts[].tax_rate_data.tax_type`, `InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
31
+ * Add support for `metadata` on `InvoiceCreatePreviewParams.subscription_details`
32
+ * Add support for new value `stripe_internal_error` on enum `Issuing.Authorization.request_history[].reason`
33
+ * Add support for `business_name` on `Issuing.Card.shipping`, `Issuing.CardCreateParams.shipping`, and `Issuing.CardUpdateParams.shipping`
34
+ * Add support for new value `correos` on enum `Issuing.Card.shipping.carrier`
35
+ * Add support for `allowed_payment_method_types` on `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentUpdateParams`, `PaymentIntent`, `SetupIntentConfirmParams`, `SetupIntentCreateParams`, `SetupIntentUpdateParams`, and `SetupIntent`
36
+ * Add support for `referrer` on `PaymentIntentConfirmParams.radar_options` and `PaymentIntentCreateParams.radar_options`
37
+ * Add support for `consent_collection` and `shipping_options` on `PaymentLinkUpdateParams`
38
+ * Add support for `custom_fields`, `description`, and `footer` on `Quote.invoice_settings`, `QuoteCreateParams.invoice_settings`, `QuoteUpdateParams.invoice_settings`, `SubscriptionSchedule.default_settings.invoice_settings`, `SubscriptionSchedule.phases[].invoice_settings`, `SubscriptionScheduleCreateParams.default_settings.invoice_settings`, `SubscriptionScheduleCreateParams.phases[].invoice_settings`, `SubscriptionScheduleUpdateParams.default_settings.invoice_settings`, and `SubscriptionScheduleUpdateParams.phases[].invoice_settings`
39
+ * Add support for `customer_account` and `customer` on `Refund`
40
+ * Add support for `payment_method` on `Refund` and `Topup`
41
+ * Add support for `trial` on `SubscriptionSchedule.phases[]`
42
+ * Add support for `mass_transit_parking_tax` and `parking_tax` on `Tax.Registration.country_options.us` and `Tax.RegistrationCreateParams.country_options.us`
43
+ * Add support for new values `mass_transit_parking_tax` and `parking_tax` on enum `Tax.RegistrationCreateParams.country_options.us.type`
44
+ * Add support for new values `mass_transit_parking_tax` and `parking_tax` on enum `Tax.Registration.country_options.us.type`
45
+ * Add support for `initiated_by` and `payment_method_options` on `Topup`
46
+ * Add support for new values `financial_connections.account.expected_deactivation_date_updated`, `financial_connections.account.supported_payment_method_types_updated`, `financial_connections.account.upcoming_deactivation`, `financial_connections.authorization.expected_deactivation_date_updated`, and `financial_connections.authorization.upcoming_deactivation` on enums `WebhookEndpointCreateParams.enabled_events` and `WebhookEndpointUpdateParams.enabled_events`
47
+ * Add support for new value `2026-07-29.dahlia` on enum `WebhookEndpointCreateParams.api_version`
48
+ * Add support for `additional_addresses` on `V2.Core.Account.identity.business_details`, `V2.Core.AccountCreateParams.identity.business_details`, `V2.Core.AccountTokenCreateParams.identity.business_details`, and `V2.Core.AccountUpdateParams.identity.business_details`
49
+ * Add support for snapshot events `FinancialConnectionsAccountExpectedDeactivationDateUpdatedEvent`, `FinancialConnectionsAccountSupportedPaymentMethodTypesUpdatedEvent`, and `FinancialConnectionsAccountUpcomingDeactivationEvent` with resource `FinancialConnections.Account`
50
+ * Add support for snapshot events `FinancialConnectionsAuthorizationExpectedDeactivationDateUpdatedEvent` and `FinancialConnectionsAuthorizationUpcomingDeactivationEvent` with resource `FinancialConnections.Authorization`
51
+ * [#2790](https://github.com/stripe/stripe-node/pull/2790) Bump brace-expansion from 1.1.11 to 1.1.16
52
+ * [#2786](https://github.com/stripe/stripe-node/pull/2786) Adds shared OtherString type to better annotate non-exhaustive enums
53
+
54
+ ## 22.3.2 - 2026-07-15
55
+ * [#2784](https://github.com/stripe/stripe-node/pull/2784) Replace source hash with Telemetry UUID
56
+ * [#2783](https://github.com/stripe/stripe-node/pull/2783) Make Error fields generated
57
+
58
+ ## 22.3.1 - 2026-07-09
59
+ * [#2781](https://github.com/stripe/stripe-node/pull/2781) Remove unused Retry-After header support
60
+ * [#2779](https://github.com/stripe/stripe-node/pull/2779) Export HttpClient types as interfaces instead of classes
61
+ - `Stripe.HttpClient` and `Stripe.HttpClientResponse` types now reflect the minimal interface contract rather than the concrete class, making custom HTTP client implementations easier to type correctly.
62
+ * [#2778](https://github.com/stripe/stripe-node/pull/2778) Restore missing public type exports from v21 Stripe namespace
63
+ - Restores `Stripe.StripeConfig`, `Stripe.CryptoProvider`, `Stripe.HttpClient`, `Stripe.HttpClientResponse`, `Stripe.Webhooks`, `Stripe.Signature`, `Stripe.WebhookTestHeaderOptions`, `Stripe.StripeResource`, `Stripe.LatestApiVersion`, `Stripe.HttpAgent`, `Stripe.HttpProtocol`, and `Stripe.RawErrorType` type exports that were inadvertently dropped in the v22 type system migration.
64
+
65
+ ## 22.3.0 - 2026-06-24
66
+ This release changes the pinned API version to 2026-06-24.dahlia.
67
+
68
+ * [#2748](https://github.com/stripe/stripe-node/pull/2748) Update generated code
69
+ * Add support for `release_details` on `Reserve.Hold`
70
+ * ⚠️ Add support for new value `tax_fund` on enum `BalanceTransaction.type`
71
+ * Change `Billing.CreditGrant.priority` to be required
72
+ * Add support for `buyer_id` on `Charge.payment_method_details.bizum`, `ConfirmationToken.payment_method_preview.bizum`, `ConfirmationToken.payment_method_preview.blik`, `PaymentAttemptRecord.payment_method_details.bizum`, `PaymentMethod.bizum`, `PaymentMethod.blik`, and `PaymentRecord.payment_method_details.bizum`
73
+ * Add support for `transaction_link_id` on `Charge.payment_method_details.card`
74
+ * ⚠️ Add support for new value `sui` on enums `Charge.payment_method_details.crypto.network`, `PaymentAttemptRecord.payment_method_details.crypto.network`, and `PaymentRecord.payment_method_details.crypto.network`
75
+ * ⚠️ Add support for new value `usdsui` on enums `Charge.payment_method_details.crypto.token_currency`, `PaymentAttemptRecord.payment_method_details.crypto.token_currency`, and `PaymentRecord.payment_method_details.crypto.token_currency`
76
+ * Add support for `fingerprint` on `Charge.payment_method_details.pix`, `ConfirmationToken.payment_method_preview.pix`, `PaymentMethod.pix`, and `SetupAttempt.payment_method_details.pix`
77
+ * Add support for `sunbit` on `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
78
+ * Add support for `billing_cycle_anchor_config` on `Checkout.SessionCreateParams.subscription_data`
79
+ * Add support for `wechat_pay` on `Checkout.Session.payment_method_options`
80
+ * Add support for `mastercard_compliance` on `Dispute.evidence.enhanced_evidence`, `Dispute.evidence_details.enhanced_eligibility`, and `DisputeUpdateParams.evidence.enhanced_evidence`
81
+ * ⚠️ Add support for new value `mastercard_compliance` on enum `Dispute.enhanced_eligibility_types`
82
+ * Add support for `status_details` on `FinancialConnections.Account`
83
+ * ⚠️ Add support for new value `validated` on enum `Identity.VerificationSession.redaction.status`
84
+ * Add support for new value `satispay` on enums `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
85
+ * ⚠️ Add support for new value `satispay` on enums `Invoice.payment_settings.payment_method_types` and `Subscription.payment_settings.payment_method_types`
86
+ * ⚠️ Remove support for `stored_credential_usage` on `PaymentAttemptRecord.payment_method_details.card` and `PaymentRecord.payment_method_details.card`
87
+ * ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.description` and `PaymentRecord.payment_method_details.card.description` to be optional
88
+ * ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.iin` and `PaymentRecord.payment_method_details.card.iin` to be optional
89
+ * ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.issuer` and `PaymentRecord.payment_method_details.card.issuer` to be optional
90
+ * Add support for `setup_future_usage` on `PaymentIntent.payment_method_options.satispay`, `PaymentIntentConfirmParams.payment_method_options.satispay`, `PaymentIntentCreateParams.payment_method_options.satispay`, and `PaymentIntentUpdateParams.payment_method_options.satispay`
91
+ * Change `PaymentRecordReportRefundParams.refunded` to be optional
92
+ * Add support for `satispay` on `SetupAttempt.payment_method_details`
93
+ * Add support for `custom_fields`, `description`, and `footer` on `Subscription.invoice_settings`, `SubscriptionCreateParams.invoice_settings`, and `SubscriptionUpdateParams.invoice_settings`
94
+ * Add support for `payment_method_options` and `payment_method` on `TopupCreateParams`
95
+ * Add support for new value `2026-06-24.dahlia` on enum `WebhookEndpointCreateParams.api_version`
96
+ * Add support for `mode` on `V2.Commerce.ProductCatalogImport`
97
+ * ⚠️ Add support for new value `promotion` on enum `V2.Commerce.ProductCatalogImport.feed_type`
98
+ * Add support for `sunbit_payments` on `V2.Core.Account.configuration.merchant.capabilities`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities`, and `V2.Core.AccountUpdateParams.configuration.merchant.capabilities`
99
+ * Add support for `crypto_money_manager` and `money_manager` on `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service`
100
+ * ⚠️ Remove support for `crypto_storer` and `storer` on `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service`
101
+ * Add support for new value `promotion` on enum `V2.Commerce.ProductCatalogImportCreateParams.feed_type`
102
+ * ⚠️ Add support for new value `sunbit_payments` on enum `EventsV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.updated_capability`
103
+ * Add support for error codes `anomalous_money_movement_request`, `failed_tax_calculation`, `financial_account_balance_does_not_support_currency`, `financial_account_capability_not_enabled`, and `financial_account_capability_restricted` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, `StripeError`, and `Terminal.Reader.action.api_error`
104
+ * [#2765](https://github.com/stripe/stripe-node/pull/2765) fix: CJS companion namespace access for resource types at all depths
105
+
106
+ - Fixes TypeScript type access for nested namespaces in CJS mode (e.g. `Stripe.Price.Recurring`, `Stripe.Subscription.BillingMode`)
107
+ - Fixes TypeScript type access for nested resource types e.g. `Stripe.Billing.Alert.Status`, `Stripe.Terminal.Configuration.Tipping` in both ESM and CJS modes.
108
+
109
+ ## 22.2.3 - 2026-06-22
110
+ * [#2761](https://github.com/stripe/stripe-node/pull/2761) Encode URI path params in `accounts.retrieve`
111
+
112
+ ## 22.2.2 - 2026-06-18
113
+ * [#2725](https://github.com/stripe/stripe-node/pull/2725) Fixes CJS type exports for stripe package (reported in [#2683](https://github.com/stripe/stripe-node/issues/2683))
114
+ * [#2758](https://github.com/stripe/stripe-node/pull/2758) Fix `Stripe.ErrorType.StripeError` incorrectly being usable as a runtime class (reported in [#2661](https://github.com/stripe/stripe-node/issues/2661))
115
+ * [#2753](https://github.com/stripe/stripe-node/pull/2753) handle shadowed namespaces (reported in [#2691](https://github.com/stripe/stripe-node/issues/2691))
116
+
117
+ ## 22.2.1 - 2026-06-12
118
+ * [#2750](https://github.com/stripe/stripe-node/pull/2750) URI Encode path params
119
+ * [#2747](https://github.com/stripe/stripe-node/pull/2747) Fix V2ListIterator: concurrency guard and empty page handling
120
+ * [#2740](https://github.com/stripe/stripe-node/pull/2740) Add "source" field to user-agent header
121
+ * [#2734](https://github.com/stripe/stripe-node/pull/2734) Fix parseHttpHeaderAsNumber to return undefined instead of NaN
122
+
123
+ ## 22.2.0 - 2026-05-27
124
+ This release changes the pinned API version to 2026-05-27.dahlia.
125
+
126
+ * [#2710](https://github.com/stripe/stripe-node/pull/2710) Update generated code
127
+ * Add support for new resource `V2.Commerce.ProductCatalogImport`
128
+ * Add support for `create` and `retrieve` methods on resource `V2.Commerce.ProductCatalogImport`
129
+ * Add support for `bizum_payments` and `scalapay_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
130
+ * Add support for `automatic_transfer_rules_by_currency` on `BalanceSettingUpdateParams.payments.payouts` and `BalanceSettings.payments.payouts`
131
+ * Add support for `start_of_day` on `BalanceSettingUpdateParams.payments.settlement_timing` and `BalanceSettings.payments.settlement_timing`
132
+ * Add support for `description` on `ChargeCreateParams.transfer_data`, `PaymentIntent.transfer_data`, `PaymentIntentCreateParams.transfer_data`, and `PaymentIntentUpdateParams.transfer_data`
133
+ * Add support for `bizum` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentAttemptRecord.payment_method_details`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `PaymentRecord.payment_method_details`, `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_data`, `SetupIntentCreateParams.payment_method_options`, `SetupIntentUpdateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_options`
134
+ * Add support for `scalapay` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentAttemptRecord.payment_method_details`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `PaymentRecord.payment_method_details`, `Refund.destination_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
135
+ * Add support for `mandate` on `Charge.payment_method_details.twint`, `PaymentAttemptRecord.payment_method_details.twint`, and `PaymentRecord.payment_method_details.twint`
136
+ * Add support for new values `bizum` and `scalapay` on enums `Checkout.SessionCreateParams.excluded_payment_method_types`, `PaymentIntentConfirmParams.excluded_payment_method_types`, `PaymentIntentCreateParams.excluded_payment_method_types`, `PaymentIntentUpdateParams.excluded_payment_method_types`, `SetupIntentCreateParams.excluded_payment_method_types`, and `SetupIntentUpdateParams.excluded_payment_method_types`
137
+ * Change type of `Checkout.SessionCreateParams.payment_method_options.twint.setup_future_usage`, `PaymentIntentConfirmParams.payment_method_options.twint.setup_future_usage`, `PaymentIntentCreateParams.payment_method_options.twint.setup_future_usage`, and `PaymentIntentUpdateParams.payment_method_options.twint.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')`
138
+ * Add support for new values `bizum` and `scalapay` on enum `Checkout.SessionCreateParams.payment_method_types`
139
+ * ⚠️ Change type of `Checkout.Session.payment_method_options.twint.setup_future_usage` and `PaymentIntent.payment_method_options.twint.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')`
140
+ * Add support for new values `bizum` and `scalapay` on enums `ConfirmationTokenCreateParams.testHelpers.payment_method_data.type`, `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type`
141
+ * ⚠️ Add support for new values `bizum` and `scalapay` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
142
+ * Add support for new values `bizum` and `scalapay` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
143
+ * Add support for `credited_items` on `InvoiceItem.proration_details`
144
+ * Add support for new value `twint` on enums `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
145
+ * Add support for `discountable` on `InvoiceCreatePreviewParams.schedule_details.phases[].add_invoice_items[]`, `SubscriptionCreateParams.add_invoice_items[]`, `SubscriptionSchedule.phases[].add_invoice_items[]`, `SubscriptionScheduleCreateParams.phases[].add_invoice_items[]`, `SubscriptionScheduleUpdateParams.phases[].add_invoice_items[]`, and `SubscriptionUpdateParams.add_invoice_items[]`
146
+ * Add support for `billing_schedules` on `InvoiceCreatePreviewParams.subscription_details`, `SubscriptionCreateParams`, `SubscriptionUpdateParams`, and `Subscription`
147
+ * Add support for new value `max_billed_until` on enums `InvoiceCreatePreviewParams.subscription_details.cancel_at`, `SubscriptionCreateParams.cancel_at`, and `SubscriptionUpdateParams.cancel_at`
148
+ * Add support for `amount_paid_off_stripe` on `Invoice`
149
+ * ⚠️ Add support for new value `twint` on enums `Invoice.payment_settings.payment_method_types` and `Subscription.payment_settings.payment_method_types`
150
+ * Add support for `twint` on `Mandate.payment_method_details` and `SetupAttempt.payment_method_details`
151
+ * Add support for `metadata` on `PaymentIntent.transfer_data`, `PaymentIntentCreateParams.transfer_data`, `PaymentIntentUpdateParams.transfer_data`, and `Subscription.pending_update`
152
+ * Add support for `payment_data` on `PaymentIntent.transfer_data`, `PaymentIntentCreateParams.transfer_data`, and `PaymentIntentUpdateParams.transfer_data`
153
+ * ⚠️ Add support for new values `bizum` and `scalapay` on enums `PaymentIntent.excluded_payment_method_types` and `SetupIntent.excluded_payment_method_types`
154
+ * Add support for `blik_authorize` on `PaymentIntent.next_action` and `SetupIntent.next_action`
155
+ * Add support for `payment_method_options` on `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
156
+ * Add support for new value `bizum` on enums `PaymentLinkCreateParams.payment_method_types` and `PaymentLinkUpdateParams.payment_method_types`
157
+ * ⚠️ Add support for new value `bizum` on enum `PaymentLink.payment_method_types`
158
+ * Add support for `active` on `PaymentMethodConfigurationListParams`
159
+ * Add support for `billed_until` on `SubscriptionItem`
160
+ * Add support for `discount` and `discounts` on `Subscription.pending_update`
161
+ * Add support for `verifone_m425`, `verifone_p630`, `verifone_ux700`, and `verifone_v660p` on `Terminal.ConfigurationCreateParams`, `Terminal.ConfigurationUpdateParams`, and `Terminal.Configuration`
162
+ * Add support for new values `simulated_verifone_m425`, `simulated_verifone_p630`, `simulated_verifone_ux700`, `simulated_verifone_v660p`, `verifone_m425`, `verifone_p630`, `verifone_ux700`, and `verifone_v660p` on enum `Terminal.ReaderListParams.device_type`
163
+ * Add support for `api_error` and `print_content` on `Terminal.Reader.action`
164
+ * ⚠️ Add support for new value `print_content` on enum `Terminal.Reader.action.type`
165
+ * ⚠️ Add support for new values `simulated_verifone_m425`, `simulated_verifone_p630`, `simulated_verifone_ux700`, `simulated_verifone_v660p`, `verifone_m425`, `verifone_p630`, `verifone_ux700`, and `verifone_v660p` on enum `Terminal.Reader.device_type`
166
+ * Add support for `customer` on `TestHelpers.TestClockCreateParams`
167
+ * Add support for new value `2026-05-27.dahlia` on enum `WebhookEndpointCreateParams.api_version`
168
+ * Add support for `signer` on `V2.Core.Account.identity.business_details.documents.proof_of_registration`, `V2.Core.Account.identity.business_details.documents.proof_of_ultimate_beneficial_ownership`, `V2.Core.AccountCreateParams.identity.business_details.documents.proof_of_registration`, `V2.Core.AccountCreateParams.identity.business_details.documents.proof_of_ultimate_beneficial_ownership`, `V2.Core.AccountTokenCreateParams.identity.business_details.documents.proof_of_registration`, `V2.Core.AccountTokenCreateParams.identity.business_details.documents.proof_of_ultimate_beneficial_ownership`, `V2.Core.AccountUpdateParams.identity.business_details.documents.proof_of_registration`, and `V2.Core.AccountUpdateParams.identity.business_details.documents.proof_of_ultimate_beneficial_ownership`
169
+ * Add support for `azure_event_grid` on `V2.Core.EventDestinationCreateParams` and `V2.Core.EventDestination`
170
+ * ⚠️ Add support for new value `no_azure_partner_topic_exists` on enum `V2.Core.EventDestination.status_details.disabled.reason`
171
+ * ⚠️ Add support for new value `azure_event_grid` on enum `V2.Core.EventDestination.type`
172
+ * Add support for new value `azure_event_grid` on enum `V2.Core.EventDestinationCreateParams.type`
173
+ * ⚠️ Add support for new value `meter_event_value_too_many_digits` on enums `EventsV1BillingMeterErrorReportTriggeredEvent.reason.error_types[].code` and `EventsV1BillingMeterNoMeterFoundEvent.reason.error_types[].code`
174
+ * Add support for event notifications `V2CommerceProductCatalogImportsFailedEvent`, `V2CommerceProductCatalogImportsProcessingEvent`, `V2CommerceProductCatalogImportsSucceededEvent`, and `V2CommerceProductCatalogImportsSucceededWithErrorsEvent` with related object `V2.Commerce.ProductCatalogImport`
175
+ * Add support for error codes `payment_method_microdeposit_processing_error` and `siret_invalid` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, and `StripeError`
176
+ * [#2723](https://github.com/stripe/stripe-node/pull/2723) Emit warning when `stripe-notify` header is present in response
177
+ * [#2717](https://github.com/stripe/stripe-node/pull/2717) Add V2List and V2ListPromise types for v2 list endpoints
178
+ * Adds `V2List` and `V2ListPromise` types to represent API v2 list responses. These types include deprecated fields from the previously returned list shapes. These fields will be removed in the next major release.
179
+ * [#2715](https://github.com/stripe/stripe-node/pull/2715) Add WinterTC compatibility ESLint rule
180
+ * [#2711](https://github.com/stripe/stripe-node/pull/2711) Export manually maintained types for OAuthToken and OAuth param classes
181
+ ```ts
182
+ // ❌ Before (v22.0.0-v22.1.1)
183
+ const oAuthToken: Stripe.OAuthToken = {};
184
+
185
+ // ✅ After (works on v22.1.2+)
186
+ const oAuthToken: Stripe.OAuthToken = {};
187
+ ```
188
+ * [#2712](https://github.com/stripe/stripe-node/pull/2712) Exported types for nested param classes
189
+ * Types inside nested param class namespaces(e.g. `Stripe.V2.Core.AccountCreateParams.Configuration`, `Stripe.V2.Core.AccountCreateParams.Dashboard`) are now accessible.
190
+
191
+ ## 22.1.1 - 2026-05-06
192
+ * [#2703](https://github.com/stripe/stripe-node/pull/2703) Export Decimal type from Stripe namespace
193
+
194
+ - Added `Stripe.Decimal` as a usable type in the `Stripe` namespace, enabling type annotations like `function takesDecimal(d: Stripe.Decimal)`.
195
+ * [#2704](https://github.com/stripe/stripe-node/pull/2704) Fix file upload regression: restore multipart request data processor
196
+
197
+ - Fixed file uploads failing with `StripeInvalidRequestError` on the `/v1/files` endpoint since v22.
198
+
199
+ ## 22.1.0 - 2026-04-23
200
+ This release changes the pinned API version to 2026-04-22.dahlia.
201
+
202
+ * [#2639](https://github.com/stripe/stripe-node/pull/2639) Update generated code
203
+ * Add support for `app_distribution` and `sunbit_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
204
+ * Add support for `balance_report` and `payout_reconciliation_report` on `AccountSession.components` and `AccountSessionCreateParams.components`
205
+ * ⚠️ Add support for new values `fee_credit_funding`, `inbound_transfer_reversal`, and `inbound_transfer` on enum `BalanceTransaction.type`
206
+ * Add support for `sunbit` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentAttemptRecord.payment_method_details`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `PaymentRecord.payment_method_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
207
+ * ⚠️ Add support for new values `phantom_cash` and `usdt` on enums `Charge.payment_method_details.crypto.token_currency`, `PaymentAttemptRecord.payment_method_details.crypto.token_currency`, and `PaymentRecord.payment_method_details.crypto.token_currency`
208
+ * Add support for `location` and `reader` on `Charge.payment_method_details.klarna`, `PaymentAttemptRecord.payment_method_details.klarna`, and `PaymentRecord.payment_method_details.klarna`
209
+ * Add support for `mandate` on `Charge.payment_method_details.pix`, `PaymentAttemptRecord.payment_method_details.pix`, and `PaymentRecord.payment_method_details.pix`
210
+ * Add support for `managed_payments` on `Checkout.SessionCreateParams`, `Checkout.Session`, `PaymentIntent`, `PaymentLinkCreateParams`, `PaymentLink`, `SetupIntent`, and `Subscription`
211
+ * Add support for new value `sunbit` on enums `Checkout.SessionCreateParams.excluded_payment_method_types`, `PaymentIntentConfirmParams.excluded_payment_method_types`, `PaymentIntentCreateParams.excluded_payment_method_types`, `PaymentIntentUpdateParams.excluded_payment_method_types`, `SetupIntentCreateParams.excluded_payment_method_types`, and `SetupIntentUpdateParams.excluded_payment_method_types`
212
+ * Add support for `mandate_options` on `Checkout.Session.payment_method_options.pix`, `Checkout.SessionCreateParams.payment_method_options.pix`, `PaymentIntent.payment_method_options.pix`, `PaymentIntentConfirmParams.payment_method_options.pix`, `PaymentIntentCreateParams.payment_method_options.pix`, and `PaymentIntentUpdateParams.payment_method_options.pix`
213
+ * Change type of `Checkout.SessionCreateParams.payment_method_options.pix.setup_future_usage`, `PaymentIntentConfirmParams.payment_method_options.pix.setup_future_usage`, `PaymentIntentCreateParams.payment_method_options.pix.setup_future_usage`, and `PaymentIntentUpdateParams.payment_method_options.pix.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')`
214
+ * Add support for new value `sunbit` on enum `Checkout.SessionCreateParams.payment_method_types`
215
+ * ⚠️ Add support for new values `fo_vat`, `gi_tin`, `it_cf`, and `py_ruc` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, `Tax.Transaction.customer_details.tax_ids[].type`, and `TaxId.type`
216
+ * ⚠️ Change type of `Checkout.Session.payment_method_options.pix.setup_future_usage` and `PaymentIntent.payment_method_options.pix.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')`
217
+ * Add support for new value `sunbit` on enums `ConfirmationTokenCreateParams.testHelpers.payment_method_data.type`, `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type`
218
+ * ⚠️ Add support for new value `sunbit` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
219
+ * Add support for new values `fo_vat`, `gi_tin`, `it_cf`, and `py_ruc` on enums `CustomerCreateParams.tax_id_data[].type`, `CustomerCreateTaxIdParams.type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `Tax.CalculationCreateParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type`
220
+ * Add support for new value `sunbit` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
221
+ * Add support for `pix` on `Invoice.payment_settings.payment_method_options`, `InvoiceCreateParams.payment_settings.payment_method_options`, `InvoiceUpdateParams.payment_settings.payment_method_options`, `Mandate.payment_method_details`, `SetupAttempt.payment_method_details`, `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_options`, `SetupIntentUpdateParams.payment_method_options`, `Subscription.payment_settings.payment_method_options`, `SubscriptionCreateParams.payment_settings.payment_method_options`, and `SubscriptionUpdateParams.payment_settings.payment_method_options`
222
+ * Add support for `upi` on `Invoice.payment_settings.payment_method_options`, `InvoiceCreateParams.payment_settings.payment_method_options`, `InvoiceUpdateParams.payment_settings.payment_method_options`, `Subscription.payment_settings.payment_method_options`, `SubscriptionCreateParams.payment_settings.payment_method_options`, and `SubscriptionUpdateParams.payment_settings.payment_method_options`
223
+ * Add support for new values `pix` and `upi` on enums `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
224
+ * ⚠️ Add support for new values `pix` and `upi` on enums `Invoice.payment_settings.payment_method_types` and `Subscription.payment_settings.payment_method_types`
225
+ * Add support for `card_presence` on `Issuing.Authorization`
226
+ * Add support for `allowed_card_presences` and `blocked_card_presences` on `Issuing.Card.spending_controls`, `Issuing.CardCreateParams.spending_controls`, `Issuing.CardUpdateParams.spending_controls`, `Issuing.Cardholder.spending_controls`, `Issuing.CardholderCreateParams.spending_controls`, and `Issuing.CardholderUpdateParams.spending_controls`
227
+ * ⚠️ Add support for new value `fulfillment_error` on enum `Issuing.Card.cancellation_reason`
228
+ * ⚠️ Add support for new value `fulfillment_error` on enum `Issuing.Card.replacement_reason`
229
+ * Add support for `amount` and `currency` on `Mandate.multi_use`
230
+ * Add support for `amount_to_confirm` on `PaymentIntentConfirmParams`
231
+ * ⚠️ Add support for new value `sunbit` on enums `PaymentIntent.excluded_payment_method_types` and `SetupIntent.excluded_payment_method_types`
232
+ * Add support for `klarna_display_qr_code` on `PaymentIntent.next_action`
233
+ * Add support for new value `sunbit` on enums `PaymentLinkCreateParams.payment_method_types` and `PaymentLinkUpdateParams.payment_method_types`
234
+ * ⚠️ Add support for new value `sunbit` on enum `PaymentLink.payment_method_types`
235
+ * ⚠️ Add support for new values `low`, `not_assessed`, and `unknown` on enum `Radar.PaymentEvaluation.signals.fraudulent_payment.risk_level`
236
+ * Add support for new value `account` on enum `Radar.ValueListCreateParams.item_type`
237
+ * ⚠️ Add support for new value `account` on enum `Radar.ValueList.item_type`
238
+ * Add support for `moto` on `SetupAttempt.payment_method_details.card`
239
+ * Add support for `pix_display_qr_code` on `SetupIntent.next_action`
240
+ * Add support for new value `2026-04-22.dahlia` on enum `WebhookEndpointCreateParams.api_version`
241
+ * Add support for error codes `action_blocked` and `approval_required` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, and `StripeError`
242
+ * [#2688](https://github.com/stripe/stripe-node/pull/2688) Preserve stack traces for async operations
243
+
244
+ ## 22.0.2 - 2026-04-16
245
+ * [#2685](https://github.com/stripe/stripe-node/pull/2685) Adds `parseEventNotificationAsync` to match existing sync function
246
+ * [#2681](https://github.com/stripe/stripe-node/pull/2681) Add emitEventBodies config to include bodies in request/response events
247
+ - Added `emitEventBodies` config option to include request and response bodies in `request`/`response` events.
248
+ - Changed `httpClient` config type from `HttpClient` class to `HttpClientInterface` interface.
249
+ * [#2670](https://github.com/stripe/stripe-node/pull/2670) tolerance, receivedAt, timestamp are now optional in Webhook.ts
250
+ * [#2677](https://github.com/stripe/stripe-node/pull/2677) Fixed named export for Bun
251
+ ```ts
252
+ // ✅ Fixed
253
+ import { Stripe } from 'stripe';
254
+ ```
255
+
3
256
  ## 22.0.1 - 2026-04-08
4
257
  * [#2669](https://github.com/stripe/stripe-node/pull/2669) Add constructor based initialization for CJS based TypeScript imports
5
- * Initialization of Stripe class with `new` keyword is now possible for CJS based TypeScript project. Resolves: [2660](https://github.com/stripe/stripe-node/issues/2660)
6
- ```ts
7
- import Stripe = require('stripe');
8
- // ✅ Both statements work
9
- const stripeNew: Stripe.Stripe = new Stripe('sk_test_...');
10
- const stripeCalled: Stripe.Stripe = Stripe('sk_test_...');
258
+ * Initialization of Stripe class with `new` keyword is now possible for CJS based TypeScript project. Resolves: [2660](https://github.com/stripe/stripe-node/issues/2660)
259
+ ```ts
260
+ import Stripe = require('stripe');
261
+ // ✅ Both statements work
262
+ const stripeNew: Stripe.Stripe = new Stripe('sk_test_...');
263
+ const stripeCalled: Stripe.Stripe = Stripe('sk_test_...');
11
264
  ```
12
265
  * [#2664](https://github.com/stripe/stripe-node/pull/2664) Fixed nested service param exports in the Stripe namespace
13
266
  * Resolves: [2658](https://github.com/stripe/stripe-node/issues/2658), [2662](https://github.com/stripe/stripe-node/issues/2662)
14
267
  * [#2667](https://github.com/stripe/stripe-node/pull/2667) Add type safety to Stripe constructor config (no runtime change)
15
- - Fixed some compile-time checks (no runtime changes)
16
- - Fixed `Stripe` constructor config parameter to use `StripeConfig` type instead of `Record<string, unknown>`, restoring compile-time type safety.
17
- - Added missing `authenticator` property to `StripeConfig`.
18
- - Fixed `Stripe.API_VERSION` to retain the literal API version type.
19
- - Fixed `StripeConfig.stripeContext` to accept `StripeContext` objects in addition to strings.
268
+ - Fixed some compile-time checks (no runtime changes)
269
+ - Fixed `Stripe` constructor config parameter to use `StripeConfig` type instead of `Record<string, unknown>`, restoring compile-time type safety.
270
+ - Added missing `authenticator` property to `StripeConfig`.
271
+ - Fixed `Stripe.API_VERSION` to retain the literal API version type.
272
+ - Fixed `StripeConfig.stripeContext` to accept `StripeContext` objects in addition to strings.
20
273
  * [#2663](https://github.com/stripe/stripe-node/pull/2663) Throw a more descriptive error when calling `rawRequest` with absolute urls
21
274
  * [#2652](https://github.com/stripe/stripe-node/pull/2652) Added `string[]` to `WebhookHeader` type for compatibility with express
22
275
  * Added `string[]` to the type of `signature` param in `stripe.webhooks.construct_event` method.
package/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v2206
1
+ v2349
package/README.md CHANGED
@@ -13,8 +13,8 @@ npm install @depup/stripe
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [stripe](https://www.npmjs.com/package/stripe) @ 22.0.1 |
17
- | Processed | 2026-04-08 |
16
+ | Original | [stripe](https://www.npmjs.com/package/stripe) @ 22.4.0 |
17
+ | Processed | 2026-08-02 |
18
18
  | Smoke test | passed |
19
19
  | Deps updated | 0 |
20
20
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 22.0.1
1
+ 22.4.0
package/changes.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "bumped": {},
3
- "timestamp": "2026-04-08T16:32:23.654Z",
3
+ "timestamp": "2026-08-02T00:58:43.638Z",
4
4
  "totalUpdated": 0
5
5
  }
package/cjs/Error.d.ts CHANGED
@@ -1,5 +1,9 @@
1
1
  import { HttpClientResponseError } from './RequestSender.js';
2
2
  import { RawErrorType, StripeRawError } from './Types.js';
3
+ import { PaymentIntent } from './resources/PaymentIntents.js';
4
+ import { PaymentMethod } from './resources/PaymentMethods.js';
5
+ import { SetupIntent } from './resources/SetupIntents.js';
6
+ import { CustomerSource } from './resources/CustomerSources.js';
3
7
  export declare const generateV1Error: (rawStripeError: StripeRawError) => StripeError;
4
8
  export declare const generateOAuthError: (rawStripeError: StripeRawError) => StripeError;
5
9
  export declare const generateV2Error: (rawStripeError: StripeRawError) => StripeError;
@@ -17,18 +21,68 @@ export declare class StripeError extends Error {
17
21
  [header: string]: string;
18
22
  };
19
23
  readonly requestId?: string;
20
- readonly code?: string;
21
- readonly doc_url?: string;
22
- readonly param?: string;
23
24
  readonly detail?: string | Error | HttpClientResponseError;
24
25
  readonly statusCode?: number;
26
+ /**
27
+ * For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines) if they provide one.
28
+ */
29
+ readonly advice_code?: string;
30
+ /**
31
+ * For card errors, the ID of the failed charge.
32
+ */
25
33
  readonly charge?: string;
34
+ /**
35
+ * For some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/error-codes) reported.
36
+ */
37
+ readonly code?: string;
38
+ /**
39
+ * For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://docs.stripe.com/declines#issuer-declines) if they provide one.
40
+ */
26
41
  readonly decline_code?: string;
42
+ /**
43
+ * A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported.
44
+ */
45
+ readonly doc_url?: string;
46
+ /**
47
+ * For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
48
+ */
49
+ readonly network_advice_code?: string;
50
+ /**
51
+ * For payments declined by the network, an alphanumeric code which indicates the reason the payment failed.
52
+ */
53
+ readonly network_decline_code?: string;
54
+ /**
55
+ * If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
56
+ */
57
+ readonly param?: string;
58
+ /**
59
+ * The PaymentIntent object for errors returned on a request involving a PaymentIntent.
60
+ */
61
+ readonly payment_intent?: PaymentIntent;
62
+ /**
63
+ * The PaymentMethod object for errors returned on a request involving a PaymentMethod.
64
+ */
65
+ readonly payment_method?: PaymentMethod;
66
+ /**
67
+ * If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors.
68
+ */
27
69
  readonly payment_method_type?: string;
28
- readonly payment_intent?: any;
29
- readonly payment_method?: any;
30
- readonly setup_intent?: any;
31
- readonly source?: any;
70
+ /**
71
+ * A URL to the request log entry in your dashboard.
72
+ */
73
+ readonly request_log_url?: string;
74
+ /**
75
+ * The SetupIntent object for errors returned on a request involving a SetupIntent.
76
+ */
77
+ readonly setup_intent?: SetupIntent;
78
+ /**
79
+ * The CustomerSource object for errors returned on a request involving a CustomerSource.
80
+ */
81
+ readonly source?: CustomerSource;
82
+ /**
83
+ * The user message associated with the error.
84
+ */
85
+ readonly user_message?: string;
32
86
  constructor(raw?: StripeRawError, type?: string | null);
33
87
  /**
34
88
  * Helper factory which takes raw stripe errors and outputs wrapping instances
package/cjs/Error.js CHANGED
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable no-warning-comments */
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.TemporarySessionExpiredError = exports.RateLimitError = exports.StripeUnsupportedResponseTypeError = exports.StripeUnsupportedGrantTypeError = exports.StripeInvalidScopeError = exports.StripeOAuthInvalidRequestError = exports.StripeInvalidClientError = exports.StripeInvalidGrantError = exports.StripeOAuthError = exports.StripeIdempotencyError = exports.StripeSignatureVerificationError = exports.StripeConnectionError = exports.StripeRateLimitError = exports.StripePermissionError = exports.StripeAuthenticationError = exports.StripeAPIError = exports.StripeInvalidRequestError = exports.StripeCardError = exports.StripeError = exports.generateV2Error = exports.generateOAuthError = exports.generateV1Error = void 0;
6
+ // errorImports: The end of the section generated from our OpenAPI spec
6
7
  const generateV1Error = (rawStripeError) => {
7
8
  const statusCode = rawStripeError.statusCode;
8
9
  if (statusCode === 429 ||
@@ -72,27 +73,35 @@ exports.generateV2Error = generateV2Error;
72
73
  * Specifically for errors returned from Stripe's REST API.
73
74
  */
74
75
  class StripeError extends Error {
76
+ // errorProperties: The end of the section generated from our OpenAPI spec
75
77
  constructor(raw = {}, type = null) {
76
78
  super(raw.message);
77
79
  this.type = type || this.constructor.name;
78
80
  this.raw = raw;
79
81
  this.rawType = raw.type;
80
- this.code = raw.code;
81
- this.doc_url = raw.doc_url;
82
- this.param = raw.param;
83
82
  this.detail = raw.detail;
84
83
  this.headers = raw.headers;
85
84
  this.requestId = raw.requestId;
86
85
  this.statusCode = raw.statusCode;
87
86
  this.message = raw.message ?? '';
88
87
  this.userMessage = raw.user_message;
88
+ // errorAssignments: The beginning of the section generated from our OpenAPI spec
89
+ this.advice_code = raw.advice_code;
89
90
  this.charge = raw.charge;
91
+ this.code = raw.code;
90
92
  this.decline_code = raw.decline_code;
93
+ this.doc_url = raw.doc_url;
94
+ this.network_advice_code = raw.network_advice_code;
95
+ this.network_decline_code = raw.network_decline_code;
96
+ this.param = raw.param;
91
97
  this.payment_intent = raw.payment_intent;
92
98
  this.payment_method = raw.payment_method;
93
99
  this.payment_method_type = raw.payment_method_type;
100
+ this.request_log_url = raw.request_log_url;
94
101
  this.setup_intent = raw.setup_intent;
95
102
  this.source = raw.source;
103
+ this.user_message = raw.user_message;
104
+ // errorAssignments: The end of the section generated from our OpenAPI spec
96
105
  }
97
106
  }
98
107
  exports.StripeError = StripeError;
package/cjs/Error.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Error.js","sourceRoot":"","sources":["../src/Error.ts"],"names":[],"mappings":";AAAA,8BAA8B;AAC9B,wCAAwC;;;AAKjC,MAAM,eAAe,GAAG,CAC7B,cAA8B,EACjB,EAAE;IACf,MAAM,UAAU,GAAG,cAAc,CAAC,UAAU,CAAC;IAE7C,IACE,UAAU,KAAK,GAAG;QAClB,CAAC,UAAU,KAAK,GAAG,IAAI,cAAc,CAAC,IAAI,KAAK,YAAY,CAAC,EAC5D;QACA,OAAO,IAAI,oBAAoB,CAAC,cAAc,CAAC,CAAC;KACjD;IAED,IAAI,UAAU,KAAK,GAAG,IAAI,UAAU,KAAK,GAAG,EAAE;QAC5C,IAAI,cAAc,CAAC,IAAI,KAAK,mBAAmB,EAAE;YAC/C,OAAO,IAAI,sBAAsB,CAAC,cAAc,CAAC,CAAC;SACnD;QACD,OAAO,IAAI,yBAAyB,CAAC,cAAc,CAAC,CAAC;KACtD;IAED,IAAI,UAAU,KAAK,GAAG,EAAE;QACtB,OAAO,IAAI,yBAAyB,CAAC,cAAc,CAAC,CAAC;KACtD;IAED,IAAI,UAAU,KAAK,GAAG,EAAE;QACtB,OAAO,IAAI,eAAe,CAAC,cAAc,CAAC,CAAC;KAC5C;IAED,IAAI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MAAa,4BAA6B,SAAQ,WAAW;IAC3D,YAAY,iBAAiC,EAAE;QAC7C,KAAK,CAAC,cAAc,EAAE,8BAA8B,CAAC,CAAC;IACxD,CAAC;CACF;AAJD,oEAIC;AACD,2EAA2E"}
@@ -13,6 +13,7 @@ export declare class RequestSender {
13
13
  _addHeadersDirectlyToObject(obj: any, headers: RequestHeaders): void;
14
14
  _makeResponseEvent(requestEvent: RequestEvent, statusCode: number, headers: RequestHeaders): ResponseEvent;
15
15
  _getRequestId(headers: RequestHeaders): string;
16
+ private _emitStripeNotice;
16
17
  /**
17
18
  * Used by methods with spec.streaming === true. For these methods, we do not
18
19
  * buffer successful responses into memory or do parse them into stripe
@@ -32,7 +33,7 @@ export declare class RequestSender {
32
33
  _jsonResponseHandler(requestEvent: RequestEvent, apiMode: 'v1' | 'v2', usage: Array<string>, callback: RequestCallback): (res: HttpClientResponseInterface) => void;
33
34
  static _generateConnectionErrorMessage(requestRetries: number): string;
34
35
  static _shouldRetry(res: null | HttpClientResponseInterface, numRetries: number, maxRetries: number, error?: HttpClientResponseError): boolean;
35
- _getSleepTimeInMS(numRetries: number, retryAfter?: number | null): number;
36
+ _getSleepTimeInMS(numRetries: number): number;
36
37
  _getMaxNetworkRetries(settings?: RequestSettings): number;
37
38
  _defaultIdempotencyKey(method: string, settings: RequestSettings, apiMode: ApiMode): string | null;
38
39
  _makeHeaders({ contentType, contentLength, apiVersion, clientUserAgent, method, userSuppliedHeaders, userSuppliedSettings, stripeAccount, stripeContext, apiMode, }: {