stripe 22.3.0-alpha.2 → 22.3.0-alpha.4

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 (1024) hide show
  1. package/CHANGELOG.md +122 -23
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +28 -29
  4. package/VERSION +1 -1
  5. package/cjs/apiVersion.d.ts +1 -1
  6. package/cjs/apiVersion.js +1 -1
  7. package/cjs/autoPagination.js +27 -2
  8. package/cjs/autoPagination.js.map +1 -1
  9. package/cjs/platform/NodePlatformFunctions.d.ts +3 -0
  10. package/cjs/platform/NodePlatformFunctions.js +36 -2
  11. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  12. package/cjs/platform/PlatformFunctions.d.ts +1 -0
  13. package/cjs/platform/PlatformFunctions.js +3 -0
  14. package/cjs/platform/PlatformFunctions.js.map +1 -1
  15. package/cjs/resources/AccountNotices.js +2 -2
  16. package/cjs/resources/AccountNotices.js.map +1 -1
  17. package/cjs/resources/AccountSessions.d.ts +4 -0
  18. package/cjs/resources/Accounts.js +18 -18
  19. package/cjs/resources/Accounts.js.map +1 -1
  20. package/cjs/resources/ApplePayDomains.js +2 -2
  21. package/cjs/resources/ApplePayDomains.js.map +1 -1
  22. package/cjs/resources/ApplicationFees.js +5 -5
  23. package/cjs/resources/ApplicationFees.js.map +1 -1
  24. package/cjs/resources/BalanceTransactions.js +1 -1
  25. package/cjs/resources/BalanceTransactions.js.map +1 -1
  26. package/cjs/resources/Billing/Alerts.js +4 -4
  27. package/cjs/resources/Billing/Alerts.js.map +1 -1
  28. package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -1
  29. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  30. package/cjs/resources/Billing/CreditGrants.js +4 -4
  31. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  32. package/cjs/resources/Billing/Meters.js +5 -5
  33. package/cjs/resources/Billing/Meters.js.map +1 -1
  34. package/cjs/resources/BillingPortal/Configurations.js +2 -2
  35. package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
  36. package/cjs/resources/Capital/FinancingOffers.js +2 -2
  37. package/cjs/resources/Capital/FinancingOffers.js.map +1 -1
  38. package/cjs/resources/Capital/FinancingTransactions.js +1 -1
  39. package/cjs/resources/Capital/FinancingTransactions.js.map +1 -1
  40. package/cjs/resources/Charges.d.ts +29 -229
  41. package/cjs/resources/Charges.js +3 -3
  42. package/cjs/resources/Charges.js.map +1 -1
  43. package/cjs/resources/Checkout/Sessions.d.ts +17 -5
  44. package/cjs/resources/Checkout/Sessions.js +5 -5
  45. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  46. package/cjs/resources/Climate/Orders.js +3 -3
  47. package/cjs/resources/Climate/Orders.js.map +1 -1
  48. package/cjs/resources/Climate/Products.js +1 -1
  49. package/cjs/resources/Climate/Products.js.map +1 -1
  50. package/cjs/resources/Climate/Suppliers.js +1 -1
  51. package/cjs/resources/Climate/Suppliers.js.map +1 -1
  52. package/cjs/resources/ConfirmationTokens.d.ts +14 -5
  53. package/cjs/resources/ConfirmationTokens.js +1 -1
  54. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  55. package/cjs/resources/CountrySpecs.js +1 -1
  56. package/cjs/resources/CountrySpecs.js.map +1 -1
  57. package/cjs/resources/Coupons.js +3 -3
  58. package/cjs/resources/Coupons.js.map +1 -1
  59. package/cjs/resources/CreditNotes.js +4 -4
  60. package/cjs/resources/CreditNotes.js.map +1 -1
  61. package/cjs/resources/Customers.d.ts +1 -1
  62. package/cjs/resources/Customers.js +31 -27
  63. package/cjs/resources/Customers.js.map +1 -1
  64. package/cjs/resources/DelegatedCheckout/Orders.js +1 -1
  65. package/cjs/resources/DelegatedCheckout/Orders.js.map +1 -1
  66. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +5 -5
  67. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -1
  68. package/cjs/resources/Disputes.js +3 -3
  69. package/cjs/resources/Disputes.js.map +1 -1
  70. package/cjs/resources/Entitlements/ActiveEntitlements.js +1 -1
  71. package/cjs/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  72. package/cjs/resources/Entitlements/Features.js +2 -2
  73. package/cjs/resources/Entitlements/Features.js.map +1 -1
  74. package/cjs/resources/EphemeralKeys.js +1 -1
  75. package/cjs/resources/EphemeralKeys.js.map +1 -1
  76. package/cjs/resources/Events.js +1 -1
  77. package/cjs/resources/Events.js.map +1 -1
  78. package/cjs/resources/ExchangeRates.js +1 -1
  79. package/cjs/resources/ExchangeRates.js.map +1 -1
  80. package/cjs/resources/ExternalAccounts.js +3 -3
  81. package/cjs/resources/ExternalAccounts.js.map +1 -1
  82. package/cjs/resources/FileLinks.js +2 -2
  83. package/cjs/resources/FileLinks.js.map +1 -1
  84. package/cjs/resources/Files.js +1 -1
  85. package/cjs/resources/Files.js.map +1 -1
  86. package/cjs/resources/FinancialConnections/Accounts.js +7 -7
  87. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  88. package/cjs/resources/FinancialConnections/Authorizations.js +1 -1
  89. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
  90. package/cjs/resources/FinancialConnections/Institutions.js +1 -1
  91. package/cjs/resources/FinancialConnections/Institutions.js.map +1 -1
  92. package/cjs/resources/FinancialConnections/Sessions.js +1 -1
  93. package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
  94. package/cjs/resources/FinancialConnections/Transactions.js +1 -1
  95. package/cjs/resources/FinancialConnections/Transactions.js.map +1 -1
  96. package/cjs/resources/Forwarding/Requests.js +1 -1
  97. package/cjs/resources/Forwarding/Requests.js.map +1 -1
  98. package/cjs/resources/FrMealVouchersOnboardings.js +2 -2
  99. package/cjs/resources/FrMealVouchersOnboardings.js.map +1 -1
  100. package/cjs/resources/FxQuotes.js +1 -1
  101. package/cjs/resources/FxQuotes.js.map +1 -1
  102. package/cjs/resources/GiftCardOperations.d.ts +246 -0
  103. package/cjs/resources/GiftCardOperations.js +15 -0
  104. package/cjs/resources/GiftCardOperations.js.map +1 -0
  105. package/cjs/resources/GiftCards.d.ts +187 -0
  106. package/cjs/resources/GiftCards.js +51 -0
  107. package/cjs/resources/GiftCards.js.map +1 -0
  108. package/cjs/resources/Identity/BlocklistEntries.js +2 -2
  109. package/cjs/resources/Identity/BlocklistEntries.js.map +1 -1
  110. package/cjs/resources/Identity/VerificationReports.js +1 -1
  111. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  112. package/cjs/resources/Identity/VerificationSessions.js +4 -4
  113. package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
  114. package/cjs/resources/InvoiceItems.js +3 -3
  115. package/cjs/resources/InvoiceItems.js.map +1 -1
  116. package/cjs/resources/InvoicePayments.js +1 -1
  117. package/cjs/resources/InvoicePayments.js.map +1 -1
  118. package/cjs/resources/InvoiceRenderingTemplates.js +3 -3
  119. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  120. package/cjs/resources/Invoices.js +15 -15
  121. package/cjs/resources/Invoices.js.map +1 -1
  122. package/cjs/resources/Issuing/Authorizations.d.ts +1 -1
  123. package/cjs/resources/Issuing/Authorizations.js +4 -4
  124. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  125. package/cjs/resources/Issuing/Cardholders.js +2 -2
  126. package/cjs/resources/Issuing/Cardholders.js.map +1 -1
  127. package/cjs/resources/Issuing/Cards.js +2 -2
  128. package/cjs/resources/Issuing/Cards.js.map +1 -1
  129. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +3 -3
  130. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -1
  131. package/cjs/resources/Issuing/DisputeSettlementDetails.js +1 -1
  132. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -1
  133. package/cjs/resources/Issuing/Disputes.d.ts +43 -0
  134. package/cjs/resources/Issuing/Disputes.js +3 -3
  135. package/cjs/resources/Issuing/Disputes.js.map +1 -1
  136. package/cjs/resources/Issuing/FraudLiabilityDebits.js +1 -1
  137. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -1
  138. package/cjs/resources/Issuing/PersonalizationDesigns.js +2 -2
  139. package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  140. package/cjs/resources/Issuing/PhysicalBundles.js +1 -1
  141. package/cjs/resources/Issuing/PhysicalBundles.js.map +1 -1
  142. package/cjs/resources/Issuing/Programs.js +2 -2
  143. package/cjs/resources/Issuing/Programs.js.map +1 -1
  144. package/cjs/resources/Issuing/Tokens.d.ts +1 -1
  145. package/cjs/resources/Issuing/Tokens.js +2 -2
  146. package/cjs/resources/Issuing/Tokens.js.map +1 -1
  147. package/cjs/resources/Issuing/Transactions.js +2 -2
  148. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  149. package/cjs/resources/Mandates.d.ts +14 -0
  150. package/cjs/resources/Mandates.js +1 -1
  151. package/cjs/resources/Mandates.js.map +1 -1
  152. package/cjs/resources/Margins.js +2 -2
  153. package/cjs/resources/Margins.js.map +1 -1
  154. package/cjs/resources/Orchestration/PaymentAttempts.js +1 -1
  155. package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -1
  156. package/cjs/resources/Orders.d.ts +15 -3
  157. package/cjs/resources/Orders.js +3 -3
  158. package/cjs/resources/Orders.js.map +1 -1
  159. package/cjs/resources/PaymentAttemptRecords.d.ts +119 -2
  160. package/cjs/resources/PaymentAttemptRecords.js +8 -8
  161. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  162. package/cjs/resources/PaymentIntents.d.ts +721 -726
  163. package/cjs/resources/PaymentIntents.js +18 -12
  164. package/cjs/resources/PaymentIntents.js.map +1 -1
  165. package/cjs/resources/PaymentLinks.js +3 -3
  166. package/cjs/resources/PaymentLinks.js.map +1 -1
  167. package/cjs/resources/PaymentLocationCapabilities.js +2 -2
  168. package/cjs/resources/PaymentLocationCapabilities.js.map +1 -1
  169. package/cjs/resources/PaymentLocations.d.ts +2 -2
  170. package/cjs/resources/PaymentLocations.js +3 -3
  171. package/cjs/resources/PaymentLocations.js.map +1 -1
  172. package/cjs/resources/PaymentMethodConfigurations.js +2 -2
  173. package/cjs/resources/PaymentMethodConfigurations.js.map +1 -1
  174. package/cjs/resources/PaymentMethodDomains.js +3 -3
  175. package/cjs/resources/PaymentMethodDomains.js.map +1 -1
  176. package/cjs/resources/PaymentMethods.d.ts +22 -7
  177. package/cjs/resources/PaymentMethods.js +5 -5
  178. package/cjs/resources/PaymentMethods.js.map +1 -1
  179. package/cjs/resources/PaymentRecords.d.ts +185 -4
  180. package/cjs/resources/PaymentRecords.js +7 -7
  181. package/cjs/resources/PaymentRecords.js.map +1 -1
  182. package/cjs/resources/Payouts.js +4 -4
  183. package/cjs/resources/Payouts.js.map +1 -1
  184. package/cjs/resources/Plans.js +3 -3
  185. package/cjs/resources/Plans.js.map +1 -1
  186. package/cjs/resources/Prices.js +2 -2
  187. package/cjs/resources/Prices.js.map +1 -1
  188. package/cjs/resources/Privacy/RedactionJobs.js +6 -6
  189. package/cjs/resources/Privacy/RedactionJobs.js.map +1 -1
  190. package/cjs/resources/Products.d.ts +27 -0
  191. package/cjs/resources/Products.js +7 -7
  192. package/cjs/resources/Products.js.map +1 -1
  193. package/cjs/resources/PromotionCodes.js +2 -2
  194. package/cjs/resources/PromotionCodes.js.map +1 -1
  195. package/cjs/resources/Quotes.js +27 -19
  196. package/cjs/resources/Quotes.js.map +1 -1
  197. package/cjs/resources/Radar/AccountEvaluations.d.ts +44 -4
  198. package/cjs/resources/Radar/AccountEvaluations.js +2 -2
  199. package/cjs/resources/Radar/AccountEvaluations.js.map +1 -1
  200. package/cjs/resources/Radar/CustomerEvaluations.d.ts +34 -2
  201. package/cjs/resources/Radar/CustomerEvaluations.js +7 -1
  202. package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -1
  203. package/cjs/resources/Radar/EarlyFraudWarnings.js +1 -1
  204. package/cjs/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  205. package/cjs/resources/Radar/ValueListItems.js +2 -2
  206. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  207. package/cjs/resources/Radar/ValueLists.js +3 -3
  208. package/cjs/resources/Radar/ValueLists.js.map +1 -1
  209. package/cjs/resources/Radar/index.d.ts +1 -0
  210. package/cjs/resources/Refunds.d.ts +12 -0
  211. package/cjs/resources/Refunds.js +3 -3
  212. package/cjs/resources/Refunds.js.map +1 -1
  213. package/cjs/resources/Reporting/ReportRuns.js +1 -1
  214. package/cjs/resources/Reporting/ReportRuns.js.map +1 -1
  215. package/cjs/resources/Reporting/ReportTypes.js +1 -1
  216. package/cjs/resources/Reporting/ReportTypes.js.map +1 -1
  217. package/cjs/resources/Reserve/Holds.js +1 -1
  218. package/cjs/resources/Reserve/Holds.js.map +1 -1
  219. package/cjs/resources/Reserve/Plans.js +1 -1
  220. package/cjs/resources/Reserve/Plans.js.map +1 -1
  221. package/cjs/resources/Reserve/Releases.js +1 -1
  222. package/cjs/resources/Reserve/Releases.js.map +1 -1
  223. package/cjs/resources/Reviews.js +2 -2
  224. package/cjs/resources/Reviews.js.map +1 -1
  225. package/cjs/resources/SetupIntents.d.ts +38 -9
  226. package/cjs/resources/SetupIntents.js +5 -5
  227. package/cjs/resources/SetupIntents.js.map +1 -1
  228. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +4 -5
  229. package/cjs/resources/SharedPayment/GrantedTokens.js +1 -1
  230. package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -1
  231. package/cjs/resources/SharedPayment/IssuedTokens.js +2 -2
  232. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -1
  233. package/cjs/resources/ShippingRates.js +2 -2
  234. package/cjs/resources/ShippingRates.js.map +1 -1
  235. package/cjs/resources/Sigma/ScheduledQueryRuns.js +1 -1
  236. package/cjs/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  237. package/cjs/resources/Sources.js +4 -4
  238. package/cjs/resources/Sources.js.map +1 -1
  239. package/cjs/resources/SubscriptionItems.js +3 -3
  240. package/cjs/resources/SubscriptionItems.js.map +1 -1
  241. package/cjs/resources/SubscriptionSchedules.js +5 -5
  242. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  243. package/cjs/resources/Subscriptions.js +8 -8
  244. package/cjs/resources/Subscriptions.js.map +1 -1
  245. package/cjs/resources/Tax/CalculationLineItems.d.ts +8 -1
  246. package/cjs/resources/Tax/Calculations.d.ts +38 -0
  247. package/cjs/resources/Tax/Calculations.js +2 -2
  248. package/cjs/resources/Tax/Calculations.js.map +1 -1
  249. package/cjs/resources/Tax/Forms.js +2 -2
  250. package/cjs/resources/Tax/Forms.js.map +1 -1
  251. package/cjs/resources/Tax/Locations.js +1 -1
  252. package/cjs/resources/Tax/Locations.js.map +1 -1
  253. package/cjs/resources/Tax/Registrations.js +2 -2
  254. package/cjs/resources/Tax/Registrations.js.map +1 -1
  255. package/cjs/resources/Tax/TransactionLineItems.d.ts +8 -1
  256. package/cjs/resources/Tax/Transactions.js +2 -2
  257. package/cjs/resources/Tax/Transactions.js.map +1 -1
  258. package/cjs/resources/TaxCodes.js +1 -1
  259. package/cjs/resources/TaxCodes.js.map +1 -1
  260. package/cjs/resources/TaxFunds.d.ts +126 -0
  261. package/cjs/resources/TaxFunds.js +23 -0
  262. package/cjs/resources/TaxFunds.js.map +1 -0
  263. package/cjs/resources/TaxIds.js +2 -2
  264. package/cjs/resources/TaxIds.js.map +1 -1
  265. package/cjs/resources/TaxRates.js +2 -2
  266. package/cjs/resources/TaxRates.js.map +1 -1
  267. package/cjs/resources/Terminal/Configurations.js +3 -3
  268. package/cjs/resources/Terminal/Configurations.js.map +1 -1
  269. package/cjs/resources/Terminal/Locations.js +3 -3
  270. package/cjs/resources/Terminal/Locations.js.map +1 -1
  271. package/cjs/resources/Terminal/ReaderCollectedData.js +1 -1
  272. package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -1
  273. package/cjs/resources/Terminal/Readers.js +11 -11
  274. package/cjs/resources/Terminal/Readers.js.map +1 -1
  275. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +1 -1
  276. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -1
  277. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +7 -1
  278. package/cjs/resources/TestHelpers/Customers.js +1 -1
  279. package/cjs/resources/TestHelpers/Customers.js.map +1 -1
  280. package/cjs/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  281. package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  282. package/cjs/resources/TestHelpers/Issuing/Cards.js +5 -5
  283. package/cjs/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  284. package/cjs/resources/TestHelpers/Issuing/Disputes.js +4 -4
  285. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -1
  286. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  287. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  288. package/cjs/resources/TestHelpers/Issuing/Transactions.js +1 -1
  289. package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  290. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +3 -2
  291. package/cjs/resources/TestHelpers/PaymentIntents.js +1 -1
  292. package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -1
  293. package/cjs/resources/TestHelpers/Refunds.js +1 -1
  294. package/cjs/resources/TestHelpers/Refunds.js.map +1 -1
  295. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +1 -1
  296. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -1
  297. package/cjs/resources/TestHelpers/Terminal/Readers.js +3 -3
  298. package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  299. package/cjs/resources/TestHelpers/TestClocks.js +3 -3
  300. package/cjs/resources/TestHelpers/TestClocks.js.map +1 -1
  301. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  302. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  303. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  304. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  305. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  306. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  307. package/cjs/resources/Tokens.js +1 -1
  308. package/cjs/resources/Tokens.js.map +1 -1
  309. package/cjs/resources/Topups.js +3 -3
  310. package/cjs/resources/Topups.js.map +1 -1
  311. package/cjs/resources/Transfers.js +6 -6
  312. package/cjs/resources/Transfers.js.map +1 -1
  313. package/cjs/resources/Treasury/CreditReversals.js +1 -1
  314. package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
  315. package/cjs/resources/Treasury/DebitReversals.js +1 -1
  316. package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
  317. package/cjs/resources/Treasury/FinancialAccounts.js +5 -5
  318. package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
  319. package/cjs/resources/Treasury/InboundTransfers.js +2 -2
  320. package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
  321. package/cjs/resources/Treasury/OutboundPayments.js +2 -2
  322. package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
  323. package/cjs/resources/Treasury/OutboundTransfers.js +2 -2
  324. package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
  325. package/cjs/resources/Treasury/ReceivedCredits.js +1 -1
  326. package/cjs/resources/Treasury/ReceivedCredits.js.map +1 -1
  327. package/cjs/resources/Treasury/ReceivedDebits.js +1 -1
  328. package/cjs/resources/Treasury/ReceivedDebits.js.map +1 -1
  329. package/cjs/resources/Treasury/TransactionEntries.js +1 -1
  330. package/cjs/resources/Treasury/TransactionEntries.js.map +1 -1
  331. package/cjs/resources/Treasury/Transactions.js +1 -1
  332. package/cjs/resources/Treasury/Transactions.js.map +1 -1
  333. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +1 -1
  334. package/cjs/resources/V2/Billing/BillSettings/Versions.js +3 -3
  335. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -1
  336. package/cjs/resources/V2/Billing/BillSettings.js +2 -2
  337. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -1
  338. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +1 -1
  339. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +3 -3
  340. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -1
  341. package/cjs/resources/V2/Billing/Cadences.js +3 -3
  342. package/cjs/resources/V2/Billing/Cadences.js.map +1 -1
  343. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +1 -1
  344. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +3 -3
  345. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -1
  346. package/cjs/resources/V2/Billing/CollectionSettings.js +2 -2
  347. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -1
  348. package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.d.ts +1 -1
  349. package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js +2 -2
  350. package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js.map +1 -1
  351. package/cjs/resources/V2/Billing/Contracts.d.ts +2 -2
  352. package/cjs/resources/V2/Billing/Contracts.js +4 -4
  353. package/cjs/resources/V2/Billing/Contracts.js.map +1 -1
  354. package/cjs/resources/V2/Billing/CustomPricingUnits.js +2 -2
  355. package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -1
  356. package/cjs/resources/V2/Billing/Intents/Actions.d.ts +1 -1
  357. package/cjs/resources/V2/Billing/Intents/Actions.js +3 -3
  358. package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -1
  359. package/cjs/resources/V2/Billing/Intents.js +5 -5
  360. package/cjs/resources/V2/Billing/Intents.js.map +1 -1
  361. package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +1 -1
  362. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +3 -3
  363. package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -1
  364. package/cjs/resources/V2/Billing/LicenseFees.js +2 -2
  365. package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -1
  366. package/cjs/resources/V2/Billing/LicensedItems.js +2 -2
  367. package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -1
  368. package/cjs/resources/V2/Billing/MeteredItems.js +2 -2
  369. package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -1
  370. package/cjs/resources/V2/Billing/OneTimeItems.js +2 -2
  371. package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -1
  372. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +3 -3
  373. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -1
  374. package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +2 -2
  375. package/cjs/resources/V2/Billing/PricingPlans/Components.js +7 -7
  376. package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -1
  377. package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +1 -1
  378. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +3 -3
  379. package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -1
  380. package/cjs/resources/V2/Billing/PricingPlans.js +2 -2
  381. package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -1
  382. package/cjs/resources/V2/Billing/Profiles.js +2 -2
  383. package/cjs/resources/V2/Billing/Profiles.js.map +1 -1
  384. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +3 -3
  385. package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -1
  386. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +2 -2
  387. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +6 -6
  388. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -1
  389. package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +2 -2
  390. package/cjs/resources/V2/Billing/RateCards/Rates.js +6 -6
  391. package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -1
  392. package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +1 -1
  393. package/cjs/resources/V2/Billing/RateCards/Versions.js +3 -3
  394. package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -1
  395. package/cjs/resources/V2/Billing/RateCards.js +3 -3
  396. package/cjs/resources/V2/Billing/RateCards.js.map +1 -1
  397. package/cjs/resources/V2/Billing/ServiceActions.js +2 -2
  398. package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -1
  399. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  400. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
  401. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
  402. package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +1 -1
  403. package/cjs/resources/V2/Core/AccountTokens.js +1 -1
  404. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  405. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  406. package/cjs/resources/V2/Core/Accounts/PersonTokens.js +3 -3
  407. package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  408. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  409. package/cjs/resources/V2/Core/Accounts/Persons.js +7 -7
  410. package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
  411. package/cjs/resources/V2/Core/Accounts.d.ts +6211 -564
  412. package/cjs/resources/V2/Core/Accounts.js +8065 -53
  413. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  414. package/cjs/resources/V2/Core/ApprovalRequests.js +4 -4
  415. package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -1
  416. package/cjs/resources/V2/Core/BatchJobs.js +2 -2
  417. package/cjs/resources/V2/Core/BatchJobs.js.map +1 -1
  418. package/cjs/resources/V2/Core/ClaimableSandboxes.js +2 -2
  419. package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -1
  420. package/cjs/resources/V2/Core/ConnectionSessions.js +1 -1
  421. package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -1
  422. package/cjs/resources/V2/Core/EventDestinations.js +6 -6
  423. package/cjs/resources/V2/Core/EventDestinations.js.map +1 -1
  424. package/cjs/resources/V2/Core/Events.js +1 -1
  425. package/cjs/resources/V2/Core/Events.js.map +1 -1
  426. package/cjs/resources/V2/Core/FeeBatches.d.ts +71 -6
  427. package/cjs/resources/V2/Core/FeeBatches.js +1 -1
  428. package/cjs/resources/V2/Core/FeeBatches.js.map +1 -1
  429. package/cjs/resources/V2/Core/FeeEntries.d.ts +28 -3
  430. package/cjs/resources/V2/Core/FeeEntries.js +1 -1
  431. package/cjs/resources/V2/Core/FeeEntries.js.map +1 -1
  432. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +4 -4
  433. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
  434. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +1 -0
  435. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +6 -5
  436. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
  437. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +1 -1
  438. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -1
  439. package/cjs/resources/V2/Extend/WorkflowRuns.js +1 -1
  440. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -1
  441. package/cjs/resources/V2/Extend/Workflows.js +2 -2
  442. package/cjs/resources/V2/Extend/Workflows.js.map +1 -1
  443. package/cjs/resources/V2/Iam/ActivityLogs.js +1 -1
  444. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -1
  445. package/cjs/resources/V2/Iam/ApiKeys.js +4 -4
  446. package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -1
  447. package/cjs/resources/V2/MoneyManagement/Adjustments.js +1 -1
  448. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -1
  449. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +1 -1
  450. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -1
  451. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +1 -1
  452. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -1
  453. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +1 -1
  454. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +3 -3
  455. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -1
  456. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +3 -3
  457. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
  458. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +1 -1
  459. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -1
  460. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +1 -1
  461. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -1
  462. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +1 -1
  463. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -1
  464. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +2 -2
  465. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
  466. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +3 -3
  467. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
  468. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +2 -2
  469. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -1
  470. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +3 -3
  471. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  472. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +1 -1
  473. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -1
  474. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +1 -1
  475. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -1
  476. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +2 -2
  477. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -1
  478. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +6 -2
  479. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +1 -1
  480. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -1
  481. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +6 -2
  482. package/cjs/resources/V2/MoneyManagement/Transactions.js +1 -1
  483. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
  484. package/cjs/resources/V2/Network/BusinessProfiles.js +1 -1
  485. package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -1
  486. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +3 -3
  487. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -1
  488. package/cjs/resources/V2/Payments/OffSessionPayments.js +5 -5
  489. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -1
  490. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +2 -2
  491. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +6 -6
  492. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -1
  493. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +4 -4
  494. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -1
  495. package/cjs/resources/V2/Reporting/ReportRuns.js +1 -1
  496. package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -1
  497. package/cjs/resources/V2/Reporting/Reports.js +1 -1
  498. package/cjs/resources/V2/Reporting/Reports.js.map +1 -1
  499. package/cjs/resources/V2/Signals/AccountSignals.js +1 -1
  500. package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -1
  501. package/cjs/resources/V2/Tax/ManualRules.js +3 -3
  502. package/cjs/resources/V2/Tax/ManualRules.js.map +1 -1
  503. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +2 -2
  504. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -1
  505. package/cjs/resources/WebhookEndpoints.js +3 -3
  506. package/cjs/resources/WebhookEndpoints.js.map +1 -1
  507. package/cjs/resources.d.ts +3 -0
  508. package/cjs/resources.js +8 -2
  509. package/cjs/resources.js.map +1 -1
  510. package/cjs/stripe.core.d.ts +12 -2
  511. package/cjs/stripe.core.js +12 -1
  512. package/cjs/stripe.core.js.map +1 -1
  513. package/esm/apiVersion.d.ts +1 -1
  514. package/esm/apiVersion.js +1 -1
  515. package/esm/autoPagination.js +27 -2
  516. package/esm/autoPagination.js.map +1 -1
  517. package/esm/platform/NodePlatformFunctions.d.ts +3 -0
  518. package/esm/platform/NodePlatformFunctions.js +36 -2
  519. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  520. package/esm/platform/PlatformFunctions.d.ts +1 -0
  521. package/esm/platform/PlatformFunctions.js +3 -0
  522. package/esm/platform/PlatformFunctions.js.map +1 -1
  523. package/esm/resources/AccountNotices.js +2 -2
  524. package/esm/resources/AccountNotices.js.map +1 -1
  525. package/esm/resources/AccountSessions.d.ts +4 -0
  526. package/esm/resources/Accounts.js +18 -18
  527. package/esm/resources/Accounts.js.map +1 -1
  528. package/esm/resources/ApplePayDomains.js +2 -2
  529. package/esm/resources/ApplePayDomains.js.map +1 -1
  530. package/esm/resources/ApplicationFees.js +5 -5
  531. package/esm/resources/ApplicationFees.js.map +1 -1
  532. package/esm/resources/BalanceTransactions.js +1 -1
  533. package/esm/resources/BalanceTransactions.js.map +1 -1
  534. package/esm/resources/Billing/Alerts.js +4 -4
  535. package/esm/resources/Billing/Alerts.js.map +1 -1
  536. package/esm/resources/Billing/CreditBalanceTransactions.js +1 -1
  537. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  538. package/esm/resources/Billing/CreditGrants.js +4 -4
  539. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  540. package/esm/resources/Billing/Meters.js +5 -5
  541. package/esm/resources/Billing/Meters.js.map +1 -1
  542. package/esm/resources/BillingPortal/Configurations.js +2 -2
  543. package/esm/resources/BillingPortal/Configurations.js.map +1 -1
  544. package/esm/resources/Capital/FinancingOffers.js +2 -2
  545. package/esm/resources/Capital/FinancingOffers.js.map +1 -1
  546. package/esm/resources/Capital/FinancingTransactions.js +1 -1
  547. package/esm/resources/Capital/FinancingTransactions.js.map +1 -1
  548. package/esm/resources/Charges.d.ts +29 -229
  549. package/esm/resources/Charges.js +3 -3
  550. package/esm/resources/Charges.js.map +1 -1
  551. package/esm/resources/Checkout/Sessions.d.ts +17 -5
  552. package/esm/resources/Checkout/Sessions.js +5 -5
  553. package/esm/resources/Checkout/Sessions.js.map +1 -1
  554. package/esm/resources/Climate/Orders.js +3 -3
  555. package/esm/resources/Climate/Orders.js.map +1 -1
  556. package/esm/resources/Climate/Products.js +1 -1
  557. package/esm/resources/Climate/Products.js.map +1 -1
  558. package/esm/resources/Climate/Suppliers.js +1 -1
  559. package/esm/resources/Climate/Suppliers.js.map +1 -1
  560. package/esm/resources/ConfirmationTokens.d.ts +14 -5
  561. package/esm/resources/ConfirmationTokens.js +1 -1
  562. package/esm/resources/ConfirmationTokens.js.map +1 -1
  563. package/esm/resources/CountrySpecs.js +1 -1
  564. package/esm/resources/CountrySpecs.js.map +1 -1
  565. package/esm/resources/Coupons.js +3 -3
  566. package/esm/resources/Coupons.js.map +1 -1
  567. package/esm/resources/CreditNotes.js +4 -4
  568. package/esm/resources/CreditNotes.js.map +1 -1
  569. package/esm/resources/Customers.d.ts +1 -1
  570. package/esm/resources/Customers.js +31 -27
  571. package/esm/resources/Customers.js.map +1 -1
  572. package/esm/resources/DelegatedCheckout/Orders.js +1 -1
  573. package/esm/resources/DelegatedCheckout/Orders.js.map +1 -1
  574. package/esm/resources/DelegatedCheckout/RequestedSessions.js +5 -5
  575. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -1
  576. package/esm/resources/Disputes.js +3 -3
  577. package/esm/resources/Disputes.js.map +1 -1
  578. package/esm/resources/Entitlements/ActiveEntitlements.js +1 -1
  579. package/esm/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  580. package/esm/resources/Entitlements/Features.js +2 -2
  581. package/esm/resources/Entitlements/Features.js.map +1 -1
  582. package/esm/resources/EphemeralKeys.js +1 -1
  583. package/esm/resources/EphemeralKeys.js.map +1 -1
  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/ExternalAccounts.js +3 -3
  589. package/esm/resources/ExternalAccounts.js.map +1 -1
  590. package/esm/resources/FileLinks.js +2 -2
  591. package/esm/resources/FileLinks.js.map +1 -1
  592. package/esm/resources/Files.js +1 -1
  593. package/esm/resources/Files.js.map +1 -1
  594. package/esm/resources/FinancialConnections/Accounts.js +7 -7
  595. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  596. package/esm/resources/FinancialConnections/Authorizations.js +1 -1
  597. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
  598. package/esm/resources/FinancialConnections/Institutions.js +1 -1
  599. package/esm/resources/FinancialConnections/Institutions.js.map +1 -1
  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.js +1 -1
  603. package/esm/resources/FinancialConnections/Transactions.js.map +1 -1
  604. package/esm/resources/Forwarding/Requests.js +1 -1
  605. package/esm/resources/Forwarding/Requests.js.map +1 -1
  606. package/esm/resources/FrMealVouchersOnboardings.js +2 -2
  607. package/esm/resources/FrMealVouchersOnboardings.js.map +1 -1
  608. package/esm/resources/FxQuotes.js +1 -1
  609. package/esm/resources/FxQuotes.js.map +1 -1
  610. package/esm/resources/GiftCardOperations.d.ts +246 -0
  611. package/esm/resources/GiftCardOperations.js +11 -0
  612. package/esm/resources/GiftCardOperations.js.map +1 -0
  613. package/esm/resources/GiftCards.d.ts +187 -0
  614. package/esm/resources/GiftCards.js +47 -0
  615. package/esm/resources/GiftCards.js.map +1 -0
  616. package/esm/resources/Identity/BlocklistEntries.js +2 -2
  617. package/esm/resources/Identity/BlocklistEntries.js.map +1 -1
  618. package/esm/resources/Identity/VerificationReports.js +1 -1
  619. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  620. package/esm/resources/Identity/VerificationSessions.js +4 -4
  621. package/esm/resources/Identity/VerificationSessions.js.map +1 -1
  622. package/esm/resources/InvoiceItems.js +3 -3
  623. package/esm/resources/InvoiceItems.js.map +1 -1
  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.js +15 -15
  629. package/esm/resources/Invoices.js.map +1 -1
  630. package/esm/resources/Issuing/Authorizations.d.ts +1 -1
  631. package/esm/resources/Issuing/Authorizations.js +4 -4
  632. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  633. package/esm/resources/Issuing/Cardholders.js +2 -2
  634. package/esm/resources/Issuing/Cardholders.js.map +1 -1
  635. package/esm/resources/Issuing/Cards.js +2 -2
  636. package/esm/resources/Issuing/Cards.js.map +1 -1
  637. package/esm/resources/Issuing/CreditUnderwritingRecords.js +3 -3
  638. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -1
  639. package/esm/resources/Issuing/DisputeSettlementDetails.js +1 -1
  640. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -1
  641. package/esm/resources/Issuing/Disputes.d.ts +43 -0
  642. package/esm/resources/Issuing/Disputes.js +3 -3
  643. package/esm/resources/Issuing/Disputes.js.map +1 -1
  644. package/esm/resources/Issuing/FraudLiabilityDebits.js +1 -1
  645. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -1
  646. package/esm/resources/Issuing/PersonalizationDesigns.js +2 -2
  647. package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  648. package/esm/resources/Issuing/PhysicalBundles.js +1 -1
  649. package/esm/resources/Issuing/PhysicalBundles.js.map +1 -1
  650. package/esm/resources/Issuing/Programs.js +2 -2
  651. package/esm/resources/Issuing/Programs.js.map +1 -1
  652. package/esm/resources/Issuing/Tokens.d.ts +1 -1
  653. package/esm/resources/Issuing/Tokens.js +2 -2
  654. package/esm/resources/Issuing/Tokens.js.map +1 -1
  655. package/esm/resources/Issuing/Transactions.js +2 -2
  656. package/esm/resources/Issuing/Transactions.js.map +1 -1
  657. package/esm/resources/Mandates.d.ts +14 -0
  658. package/esm/resources/Mandates.js +1 -1
  659. package/esm/resources/Mandates.js.map +1 -1
  660. package/esm/resources/Margins.js +2 -2
  661. package/esm/resources/Margins.js.map +1 -1
  662. package/esm/resources/Orchestration/PaymentAttempts.js +1 -1
  663. package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -1
  664. package/esm/resources/Orders.d.ts +15 -3
  665. package/esm/resources/Orders.js +3 -3
  666. package/esm/resources/Orders.js.map +1 -1
  667. package/esm/resources/PaymentAttemptRecords.d.ts +119 -2
  668. package/esm/resources/PaymentAttemptRecords.js +8 -8
  669. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  670. package/esm/resources/PaymentIntents.d.ts +721 -726
  671. package/esm/resources/PaymentIntents.js +18 -12
  672. package/esm/resources/PaymentIntents.js.map +1 -1
  673. package/esm/resources/PaymentLinks.js +3 -3
  674. package/esm/resources/PaymentLinks.js.map +1 -1
  675. package/esm/resources/PaymentLocationCapabilities.js +2 -2
  676. package/esm/resources/PaymentLocationCapabilities.js.map +1 -1
  677. package/esm/resources/PaymentLocations.d.ts +2 -2
  678. package/esm/resources/PaymentLocations.js +3 -3
  679. package/esm/resources/PaymentLocations.js.map +1 -1
  680. package/esm/resources/PaymentMethodConfigurations.js +2 -2
  681. package/esm/resources/PaymentMethodConfigurations.js.map +1 -1
  682. package/esm/resources/PaymentMethodDomains.js +3 -3
  683. package/esm/resources/PaymentMethodDomains.js.map +1 -1
  684. package/esm/resources/PaymentMethods.d.ts +22 -7
  685. package/esm/resources/PaymentMethods.js +5 -5
  686. package/esm/resources/PaymentMethods.js.map +1 -1
  687. package/esm/resources/PaymentRecords.d.ts +185 -4
  688. package/esm/resources/PaymentRecords.js +7 -7
  689. package/esm/resources/PaymentRecords.js.map +1 -1
  690. package/esm/resources/Payouts.js +4 -4
  691. package/esm/resources/Payouts.js.map +1 -1
  692. package/esm/resources/Plans.js +3 -3
  693. package/esm/resources/Plans.js.map +1 -1
  694. package/esm/resources/Prices.js +2 -2
  695. package/esm/resources/Prices.js.map +1 -1
  696. package/esm/resources/Privacy/RedactionJobs.js +6 -6
  697. package/esm/resources/Privacy/RedactionJobs.js.map +1 -1
  698. package/esm/resources/Products.d.ts +27 -0
  699. package/esm/resources/Products.js +7 -7
  700. package/esm/resources/Products.js.map +1 -1
  701. package/esm/resources/PromotionCodes.js +2 -2
  702. package/esm/resources/PromotionCodes.js.map +1 -1
  703. package/esm/resources/Quotes.js +27 -19
  704. package/esm/resources/Quotes.js.map +1 -1
  705. package/esm/resources/Radar/AccountEvaluations.d.ts +44 -4
  706. package/esm/resources/Radar/AccountEvaluations.js +2 -2
  707. package/esm/resources/Radar/AccountEvaluations.js.map +1 -1
  708. package/esm/resources/Radar/CustomerEvaluations.d.ts +34 -2
  709. package/esm/resources/Radar/CustomerEvaluations.js +7 -1
  710. package/esm/resources/Radar/CustomerEvaluations.js.map +1 -1
  711. package/esm/resources/Radar/EarlyFraudWarnings.js +1 -1
  712. package/esm/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  713. package/esm/resources/Radar/ValueListItems.js +2 -2
  714. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  715. package/esm/resources/Radar/ValueLists.js +3 -3
  716. package/esm/resources/Radar/ValueLists.js.map +1 -1
  717. package/esm/resources/Radar/index.d.ts +1 -0
  718. package/esm/resources/Refunds.d.ts +12 -0
  719. package/esm/resources/Refunds.js +3 -3
  720. package/esm/resources/Refunds.js.map +1 -1
  721. package/esm/resources/Reporting/ReportRuns.js +1 -1
  722. package/esm/resources/Reporting/ReportRuns.js.map +1 -1
  723. package/esm/resources/Reporting/ReportTypes.js +1 -1
  724. package/esm/resources/Reporting/ReportTypes.js.map +1 -1
  725. package/esm/resources/Reserve/Holds.js +1 -1
  726. package/esm/resources/Reserve/Holds.js.map +1 -1
  727. package/esm/resources/Reserve/Plans.js +1 -1
  728. package/esm/resources/Reserve/Plans.js.map +1 -1
  729. package/esm/resources/Reserve/Releases.js +1 -1
  730. package/esm/resources/Reserve/Releases.js.map +1 -1
  731. package/esm/resources/Reviews.js +2 -2
  732. package/esm/resources/Reviews.js.map +1 -1
  733. package/esm/resources/SetupIntents.d.ts +38 -9
  734. package/esm/resources/SetupIntents.js +5 -5
  735. package/esm/resources/SetupIntents.js.map +1 -1
  736. package/esm/resources/SharedPayment/GrantedTokens.d.ts +4 -5
  737. package/esm/resources/SharedPayment/GrantedTokens.js +1 -1
  738. package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -1
  739. package/esm/resources/SharedPayment/IssuedTokens.js +2 -2
  740. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -1
  741. package/esm/resources/ShippingRates.js +2 -2
  742. package/esm/resources/ShippingRates.js.map +1 -1
  743. package/esm/resources/Sigma/ScheduledQueryRuns.js +1 -1
  744. package/esm/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  745. package/esm/resources/Sources.js +4 -4
  746. package/esm/resources/Sources.js.map +1 -1
  747. package/esm/resources/SubscriptionItems.js +3 -3
  748. package/esm/resources/SubscriptionItems.js.map +1 -1
  749. package/esm/resources/SubscriptionSchedules.js +5 -5
  750. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  751. package/esm/resources/Subscriptions.js +8 -8
  752. package/esm/resources/Subscriptions.js.map +1 -1
  753. package/esm/resources/Tax/CalculationLineItems.d.ts +8 -1
  754. package/esm/resources/Tax/Calculations.d.ts +38 -0
  755. package/esm/resources/Tax/Calculations.js +2 -2
  756. package/esm/resources/Tax/Calculations.js.map +1 -1
  757. package/esm/resources/Tax/Forms.js +2 -2
  758. package/esm/resources/Tax/Forms.js.map +1 -1
  759. package/esm/resources/Tax/Locations.js +1 -1
  760. package/esm/resources/Tax/Locations.js.map +1 -1
  761. package/esm/resources/Tax/Registrations.js +2 -2
  762. package/esm/resources/Tax/Registrations.js.map +1 -1
  763. package/esm/resources/Tax/TransactionLineItems.d.ts +8 -1
  764. package/esm/resources/Tax/Transactions.js +2 -2
  765. package/esm/resources/Tax/Transactions.js.map +1 -1
  766. package/esm/resources/TaxCodes.js +1 -1
  767. package/esm/resources/TaxCodes.js.map +1 -1
  768. package/esm/resources/TaxFunds.d.ts +126 -0
  769. package/esm/resources/TaxFunds.js +19 -0
  770. package/esm/resources/TaxFunds.js.map +1 -0
  771. package/esm/resources/TaxIds.js +2 -2
  772. package/esm/resources/TaxIds.js.map +1 -1
  773. package/esm/resources/TaxRates.js +2 -2
  774. package/esm/resources/TaxRates.js.map +1 -1
  775. package/esm/resources/Terminal/Configurations.js +3 -3
  776. package/esm/resources/Terminal/Configurations.js.map +1 -1
  777. package/esm/resources/Terminal/Locations.js +3 -3
  778. package/esm/resources/Terminal/Locations.js.map +1 -1
  779. package/esm/resources/Terminal/ReaderCollectedData.js +1 -1
  780. package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -1
  781. package/esm/resources/Terminal/Readers.js +11 -11
  782. package/esm/resources/Terminal/Readers.js.map +1 -1
  783. package/esm/resources/TestHelpers/Capital/FinancingOffers.js +1 -1
  784. package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -1
  785. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +7 -1
  786. package/esm/resources/TestHelpers/Customers.js +1 -1
  787. package/esm/resources/TestHelpers/Customers.js.map +1 -1
  788. package/esm/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  789. package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  790. package/esm/resources/TestHelpers/Issuing/Cards.js +5 -5
  791. package/esm/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  792. package/esm/resources/TestHelpers/Issuing/Disputes.js +4 -4
  793. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -1
  794. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  795. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  796. package/esm/resources/TestHelpers/Issuing/Transactions.js +1 -1
  797. package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  798. package/esm/resources/TestHelpers/PaymentIntents.d.ts +3 -2
  799. package/esm/resources/TestHelpers/PaymentIntents.js +1 -1
  800. package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -1
  801. package/esm/resources/TestHelpers/Refunds.js +1 -1
  802. package/esm/resources/TestHelpers/Refunds.js.map +1 -1
  803. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +1 -1
  804. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -1
  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.js +3 -3
  808. package/esm/resources/TestHelpers/TestClocks.js.map +1 -1
  809. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  810. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  811. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  812. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  813. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  814. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  815. package/esm/resources/Tokens.js +1 -1
  816. package/esm/resources/Tokens.js.map +1 -1
  817. package/esm/resources/Topups.js +3 -3
  818. package/esm/resources/Topups.js.map +1 -1
  819. package/esm/resources/Transfers.js +6 -6
  820. package/esm/resources/Transfers.js.map +1 -1
  821. package/esm/resources/Treasury/CreditReversals.js +1 -1
  822. package/esm/resources/Treasury/CreditReversals.js.map +1 -1
  823. package/esm/resources/Treasury/DebitReversals.js +1 -1
  824. package/esm/resources/Treasury/DebitReversals.js.map +1 -1
  825. package/esm/resources/Treasury/FinancialAccounts.js +5 -5
  826. package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
  827. package/esm/resources/Treasury/InboundTransfers.js +2 -2
  828. package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
  829. package/esm/resources/Treasury/OutboundPayments.js +2 -2
  830. package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
  831. package/esm/resources/Treasury/OutboundTransfers.js +2 -2
  832. package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
  833. package/esm/resources/Treasury/ReceivedCredits.js +1 -1
  834. package/esm/resources/Treasury/ReceivedCredits.js.map +1 -1
  835. package/esm/resources/Treasury/ReceivedDebits.js +1 -1
  836. package/esm/resources/Treasury/ReceivedDebits.js.map +1 -1
  837. package/esm/resources/Treasury/TransactionEntries.js +1 -1
  838. package/esm/resources/Treasury/TransactionEntries.js.map +1 -1
  839. package/esm/resources/Treasury/Transactions.js +1 -1
  840. package/esm/resources/Treasury/Transactions.js.map +1 -1
  841. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +1 -1
  842. package/esm/resources/V2/Billing/BillSettings/Versions.js +3 -3
  843. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -1
  844. package/esm/resources/V2/Billing/BillSettings.js +2 -2
  845. package/esm/resources/V2/Billing/BillSettings.js.map +1 -1
  846. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +1 -1
  847. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +3 -3
  848. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -1
  849. package/esm/resources/V2/Billing/Cadences.js +3 -3
  850. package/esm/resources/V2/Billing/Cadences.js.map +1 -1
  851. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +1 -1
  852. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +3 -3
  853. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -1
  854. package/esm/resources/V2/Billing/CollectionSettings.js +2 -2
  855. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -1
  856. package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.d.ts +1 -1
  857. package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js +2 -2
  858. package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js.map +1 -1
  859. package/esm/resources/V2/Billing/Contracts.d.ts +2 -2
  860. package/esm/resources/V2/Billing/Contracts.js +4 -4
  861. package/esm/resources/V2/Billing/Contracts.js.map +1 -1
  862. package/esm/resources/V2/Billing/CustomPricingUnits.js +2 -2
  863. package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -1
  864. package/esm/resources/V2/Billing/Intents/Actions.d.ts +1 -1
  865. package/esm/resources/V2/Billing/Intents/Actions.js +3 -3
  866. package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -1
  867. package/esm/resources/V2/Billing/Intents.js +5 -5
  868. package/esm/resources/V2/Billing/Intents.js.map +1 -1
  869. package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +1 -1
  870. package/esm/resources/V2/Billing/LicenseFees/Versions.js +3 -3
  871. package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -1
  872. package/esm/resources/V2/Billing/LicenseFees.js +2 -2
  873. package/esm/resources/V2/Billing/LicenseFees.js.map +1 -1
  874. package/esm/resources/V2/Billing/LicensedItems.js +2 -2
  875. package/esm/resources/V2/Billing/LicensedItems.js.map +1 -1
  876. package/esm/resources/V2/Billing/MeteredItems.js +2 -2
  877. package/esm/resources/V2/Billing/MeteredItems.js.map +1 -1
  878. package/esm/resources/V2/Billing/OneTimeItems.js +2 -2
  879. package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -1
  880. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +3 -3
  881. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -1
  882. package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +2 -2
  883. package/esm/resources/V2/Billing/PricingPlans/Components.js +7 -7
  884. package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -1
  885. package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +1 -1
  886. package/esm/resources/V2/Billing/PricingPlans/Versions.js +3 -3
  887. package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -1
  888. package/esm/resources/V2/Billing/PricingPlans.js +2 -2
  889. package/esm/resources/V2/Billing/PricingPlans.js.map +1 -1
  890. package/esm/resources/V2/Billing/Profiles.js +2 -2
  891. package/esm/resources/V2/Billing/Profiles.js.map +1 -1
  892. package/esm/resources/V2/Billing/RateCardSubscriptions.js +3 -3
  893. package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -1
  894. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +2 -2
  895. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +6 -6
  896. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -1
  897. package/esm/resources/V2/Billing/RateCards/Rates.d.ts +2 -2
  898. package/esm/resources/V2/Billing/RateCards/Rates.js +6 -6
  899. package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -1
  900. package/esm/resources/V2/Billing/RateCards/Versions.d.ts +1 -1
  901. package/esm/resources/V2/Billing/RateCards/Versions.js +3 -3
  902. package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -1
  903. package/esm/resources/V2/Billing/RateCards.js +3 -3
  904. package/esm/resources/V2/Billing/RateCards.js.map +1 -1
  905. package/esm/resources/V2/Billing/ServiceActions.js +2 -2
  906. package/esm/resources/V2/Billing/ServiceActions.js.map +1 -1
  907. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  908. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
  909. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
  910. package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +1 -1
  911. package/esm/resources/V2/Core/AccountTokens.js +1 -1
  912. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  913. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  914. package/esm/resources/V2/Core/Accounts/PersonTokens.js +3 -3
  915. package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  916. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  917. package/esm/resources/V2/Core/Accounts/Persons.js +7 -7
  918. package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
  919. package/esm/resources/V2/Core/Accounts.d.ts +6211 -564
  920. package/esm/resources/V2/Core/Accounts.js +8065 -53
  921. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  922. package/esm/resources/V2/Core/ApprovalRequests.js +4 -4
  923. package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -1
  924. package/esm/resources/V2/Core/BatchJobs.js +2 -2
  925. package/esm/resources/V2/Core/BatchJobs.js.map +1 -1
  926. package/esm/resources/V2/Core/ClaimableSandboxes.js +2 -2
  927. package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -1
  928. package/esm/resources/V2/Core/ConnectionSessions.js +1 -1
  929. package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -1
  930. package/esm/resources/V2/Core/EventDestinations.js +6 -6
  931. package/esm/resources/V2/Core/EventDestinations.js.map +1 -1
  932. package/esm/resources/V2/Core/Events.js +1 -1
  933. package/esm/resources/V2/Core/Events.js.map +1 -1
  934. package/esm/resources/V2/Core/FeeBatches.d.ts +71 -6
  935. package/esm/resources/V2/Core/FeeBatches.js +1 -1
  936. package/esm/resources/V2/Core/FeeBatches.js.map +1 -1
  937. package/esm/resources/V2/Core/FeeEntries.d.ts +28 -3
  938. package/esm/resources/V2/Core/FeeEntries.js +1 -1
  939. package/esm/resources/V2/Core/FeeEntries.js.map +1 -1
  940. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +4 -4
  941. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
  942. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +1 -0
  943. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +6 -5
  944. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
  945. package/esm/resources/V2/Data/Reporting/QueryRuns.js +1 -1
  946. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -1
  947. package/esm/resources/V2/Extend/WorkflowRuns.js +1 -1
  948. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -1
  949. package/esm/resources/V2/Extend/Workflows.js +2 -2
  950. package/esm/resources/V2/Extend/Workflows.js.map +1 -1
  951. package/esm/resources/V2/Iam/ActivityLogs.js +1 -1
  952. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -1
  953. package/esm/resources/V2/Iam/ApiKeys.js +4 -4
  954. package/esm/resources/V2/Iam/ApiKeys.js.map +1 -1
  955. package/esm/resources/V2/MoneyManagement/Adjustments.js +1 -1
  956. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -1
  957. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +1 -1
  958. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -1
  959. package/esm/resources/V2/MoneyManagement/DebitDisputes.js +1 -1
  960. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -1
  961. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +1 -1
  962. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +3 -3
  963. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -1
  964. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +3 -3
  965. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
  966. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +1 -1
  967. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -1
  968. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +1 -1
  969. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -1
  970. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +1 -1
  971. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -1
  972. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +2 -2
  973. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
  974. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +3 -3
  975. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
  976. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +2 -2
  977. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -1
  978. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +3 -3
  979. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  980. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +1 -1
  981. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -1
  982. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +1 -1
  983. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -1
  984. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +2 -2
  985. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -1
  986. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +6 -2
  987. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +1 -1
  988. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -1
  989. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +6 -2
  990. package/esm/resources/V2/MoneyManagement/Transactions.js +1 -1
  991. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
  992. package/esm/resources/V2/Network/BusinessProfiles.js +1 -1
  993. package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -1
  994. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +3 -3
  995. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -1
  996. package/esm/resources/V2/Payments/OffSessionPayments.js +5 -5
  997. package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -1
  998. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +2 -2
  999. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +6 -6
  1000. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -1
  1001. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +4 -4
  1002. package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -1
  1003. package/esm/resources/V2/Reporting/ReportRuns.js +1 -1
  1004. package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -1
  1005. package/esm/resources/V2/Reporting/Reports.js +1 -1
  1006. package/esm/resources/V2/Reporting/Reports.js.map +1 -1
  1007. package/esm/resources/V2/Signals/AccountSignals.js +1 -1
  1008. package/esm/resources/V2/Signals/AccountSignals.js.map +1 -1
  1009. package/esm/resources/V2/Tax/ManualRules.js +3 -3
  1010. package/esm/resources/V2/Tax/ManualRules.js.map +1 -1
  1011. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +2 -2
  1012. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -1
  1013. package/esm/resources/WebhookEndpoints.js +3 -3
  1014. package/esm/resources/WebhookEndpoints.js.map +1 -1
  1015. package/esm/resources.d.ts +3 -0
  1016. package/esm/resources.js +3 -0
  1017. package/esm/resources.js.map +1 -1
  1018. package/esm/stripe.core.d.ts +12 -2
  1019. package/esm/stripe.core.js +12 -1
  1020. package/esm/stripe.core.js.map +1 -1
  1021. package/esm/stripe.esm.node.d.ts +11 -2
  1022. package/esm/stripe.esm.node.js +7 -1
  1023. package/esm/stripe.esm.node.js.map +1 -1
  1024. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,98 @@
1
1
  # Changelog
2
2
 
3
+ ## 22.3.0-alpha.4 - 2026-06-17
4
+ * [#2751](https://github.com/stripe/stripe-node/pull/2751) Update generated code for private-preview
5
+ * Add support for `retrieve` method on resource `Radar.CustomerEvaluation`
6
+ * Add support for `disable_stripe_user_authentication` on `AccountSession.components.bills.features`
7
+ * Add support for `tamara` 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`, `PaymentMethodCreateParams`, `PaymentMethod`, `PaymentRecord.payment_method_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, `SetupIntentUpdateParams.payment_method_data`, and `SharedPayment.GrantedToken.payment_method_details`
8
+ * Add support for `status` on `Charge.payment_method_details.card.account_funding`
9
+ * ⚠️ Remove support for `processed_transaction_type` on `Charge.payment_method_details.card.account_funding`
10
+ * Add support for `items` on `Checkout.SessionCreateParams`
11
+ * ⚠️ Remove support for `brand` on `Checkout.Session.current_attempt.payment_method_details.card`
12
+ * Add support for new value `tamara` 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`
13
+ * ⚠️ Remove support for `first6` on `ConfirmationToken.payment_method_preview.gift_card`, `PaymentMethod.gift_card`, and `SharedPayment.GrantedToken.payment_method_details.gift_card`
14
+ * ⚠️ Add support for new value `tamara` on enums `ConfirmationToken.payment_method_preview.type`, `PaymentMethod.type`, and `SharedPayment.GrantedToken.payment_method_details.type`
15
+ * Add support for new value `tamara` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
16
+ * Add support for `fingerprint` on `GiftCard`
17
+ * Add support for `blik` on `Mandate.payment_method_details`
18
+ * Add support for `buyer_id` on `Order.payment.settings.payment_method_options.wechat_pay`, `OrderCreateParams.payment.settings.payment_method_options.wechat_pay`, `OrderUpdateParams.payment.settings.payment_method_options.wechat_pay`, `PaymentIntent.payment_method_options.wechat_pay`, `PaymentIntentConfirmParams.payment_method_options.wechat_pay`, `PaymentIntentCreateParams.payment_method_options.wechat_pay`, and `PaymentIntentUpdateParams.payment_method_options.wechat_pay`
19
+ * Add support for new value `mini_program` on enums `OrderCreateParams.payment.settings.payment_method_options.wechat_pay.client`, `OrderUpdateParams.payment.settings.payment_method_options.wechat_pay.client`, `PaymentIntentConfirmParams.payment_method_options.wechat_pay.client`, `PaymentIntentCreateParams.payment_method_options.wechat_pay.client`, and `PaymentIntentUpdateParams.payment_method_options.wechat_pay.client`
20
+ * ⚠️ Add support for new value `mini_program` on enums `Order.payment.settings.payment_method_options.wechat_pay.client` and `PaymentIntent.payment_method_options.wechat_pay.client`
21
+ * Add support for `payment_method_details` on `PaymentAttemptRecordReportGuaranteedParams` and `PaymentRecordReportPaymentAttemptGuaranteedParams`
22
+ * Add support for `failed` and `refund_group` on `PaymentAttemptRecordReportRefundParams` and `PaymentRecordReportRefundParams`
23
+ * Change type of `PaymentAttemptRecordReportRefundParams.outcome` and `PaymentRecordReportRefundParams.outcome` from `literal('refunded')` to `enum('failed'|'refunded')`
24
+ * Add support for new value `tamara` on enums `PaymentIntentConfirmParams.allowed_payment_method_types`, `PaymentIntentCreateParams.allowed_payment_method_types`, and `PaymentIntentUpdateParams.allowed_payment_method_types`
25
+ * Add support for new value `tamara` on enums `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`
26
+ * Add support for `beneficiary_details` on `PaymentIntent.payment_details.money_services`, `PaymentIntentConfirmParams.payment_details.money_services`, `PaymentIntentCreateParams.payment_details.money_services`, and `PaymentIntentUpdateParams.payment_details.money_services`
27
+ * ⚠️ Remove support for `beneficiary_account` and `beneficiary_details` on `PaymentIntent.payment_details.money_services.account_funding`, `PaymentIntentConfirmParams.payment_details.money_services.account_funding`, `PaymentIntentCreateParams.payment_details.money_services.account_funding`, and `PaymentIntentUpdateParams.payment_details.money_services.account_funding`
28
+ * ⚠️ Remove support for `sender_account` on `PaymentIntentConfirmParams.payment_details.money_services.account_funding`, `PaymentIntentCreateParams.payment_details.money_services.account_funding`, and `PaymentIntentUpdateParams.payment_details.money_services.account_funding`
29
+ * Add support for `given_name` and `surname` on `PaymentIntent.payment_details.money_services.account_funding.sender_details`, `PaymentIntentConfirmParams.payment_details.money_services.account_funding.sender_details`, `PaymentIntentCreateParams.payment_details.money_services.account_funding.sender_details`, and `PaymentIntentUpdateParams.payment_details.money_services.account_funding.sender_details`
30
+ * ⚠️ Remove support for `name` on `PaymentIntent.payment_details.money_services.account_funding.sender_details`, `PaymentIntentConfirmParams.payment_details.money_services.account_funding.sender_details`, `PaymentIntentCreateParams.payment_details.money_services.account_funding.sender_details`, and `PaymentIntentUpdateParams.payment_details.money_services.account_funding.sender_details`
31
+ * Change type of `PaymentIntentConfirmParams.payment_method_options.card.capture_method`, `PaymentIntentCreateParams.payment_method_options.card.capture_method`, and `PaymentIntentUpdateParams.payment_method_options.card.capture_method` from `literal('manual')` to `enum('automatic_delayed'|'manual')`
32
+ * ⚠️ Remove support for `wallet` on `PaymentIntentConfirmParams.payment_method_options.card.payment_details.money_services.account_funding`, `PaymentIntentConfirmParams.payment_method_options.card_present.payment_details.money_services.account_funding`, `PaymentIntentCreateParams.payment_method_options.card.payment_details.money_services.account_funding`, `PaymentIntentCreateParams.payment_method_options.card_present.payment_details.money_services.account_funding`, `PaymentIntentUpdateParams.payment_method_options.card.payment_details.money_services.account_funding`, and `PaymentIntentUpdateParams.payment_method_options.card_present.payment_details.money_services.account_funding`
33
+ * Add support for new value `automatic_delayed` on enums `PaymentIntentConfirmParams.payment_method_options.card_present.capture_method`, `PaymentIntentCreateParams.payment_method_options.card_present.capture_method`, and `PaymentIntentUpdateParams.payment_method_options.card_present.capture_method`
34
+ * Add support for `transaction_verification_options` on `PaymentIntent.payment_method_options.crypto`, `PaymentIntentConfirmParams.payment_method_options.crypto`, `PaymentIntentCreateParams.payment_method_options.crypto`, and `PaymentIntentUpdateParams.payment_method_options.crypto`
35
+ * Add support for new values `ethereum` and `polygon` on enums `PaymentIntentConfirmParams.payment_method_options.crypto.deposit_options.networks`, `PaymentIntentCreateParams.payment_method_options.crypto.deposit_options.networks`, and `PaymentIntentUpdateParams.payment_method_options.crypto.deposit_options.networks`
36
+ * Add support for new values `ethereum` and `polygon` on enum `PaymentIntentSimulateCryptoDepositParams.testHelpers.network`
37
+ * Change type of `PaymentIntentSimulateCryptoDepositParams.testHelpers.token_currency` from `literal('usdc')` to `enum('usdc'|'usdg'|'usdp')`
38
+ * Add support for `forced_capture` on `PaymentIntent.advanced_feature_details`
39
+ * ⚠️ Add support for new value `tamara` on enums `PaymentIntent.excluded_payment_method_types` and `SetupIntent.excluded_payment_method_types`
40
+ * Add support for `wechat_pay_handle_app_redirect` on `PaymentIntent.next_action` and `SetupIntent.next_action`
41
+ * Add support for `ethereum` and `polygon` on `PaymentIntent.next_action.crypto_display_details.deposit_addresses`
42
+ * ⚠️ Change type of `PaymentIntent.next_action.crypto_display_details.deposit_addresses.base.supported_tokens[].token_currency`, `PaymentIntent.next_action.crypto_display_details.deposit_addresses.solana.supported_tokens[].token_currency`, and `PaymentIntent.next_action.crypto_display_details.deposit_addresses.tempo.supported_tokens[].token_currency` from `literal('usdc')` to `enum('usdc'|'usdg'|'usdp')`
43
+ * Add support for `beneficiary_account` on `PaymentIntent.payment_details.money_services`
44
+ * ⚠️ Change type of `PaymentIntent.payment_method_options.card.capture_method` from `literal('manual')` to `enum('automatic_delayed'|'manual')`
45
+ * ⚠️ Add support for new value `automatic_delayed` on enum `PaymentIntent.payment_method_options.card_present.capture_method`
46
+ * ⚠️ Add support for new values `ethereum` and `polygon` on enum `PaymentIntent.payment_method_options.crypto.deposit_options.networks`
47
+ * Change type of `PaymentLocationUpdateParams.business_registration.siret` from `string` to `emptyable(string)`
48
+ * Add support for `card` on `PaymentRecordReportPaymentAttemptParams.payment_method_details` and `PaymentRecordReportPaymentParams.payment_method_details`
49
+ * Change type of `PaymentRecordReportPaymentAttemptParams.payment_method_details.type` and `PaymentRecordReportPaymentParams.payment_method_details.type` from `literal('custom')` to `enum('card'|'custom')`
50
+ * Add support for `managed_payments` on `Product`
51
+ * Add support for `payment_attempt_record` on `RefundCreateParams` and `RefundListParams`
52
+ * Add support for `payment_record` on `RefundListParams`
53
+ * Add support for `protections` on `V2.Core.Account.configuration.card_creator.capabilities.commercial.celtic.charge_card`, `V2.Core.Account.configuration.card_creator.capabilities.commercial.celtic.spend_card`, `V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.charge_card`, `V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.prepaid_card`, `V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.spend_card`, `V2.Core.Account.configuration.card_creator.capabilities.commercial.fifth_third.charge_card`, `V2.Core.Account.configuration.card_creator.capabilities.commercial.lead.prepaid_card`, `V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe.charge_card`, `V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe.prepaid_card`, `V2.Core.Account.configuration.card_creator.capabilities.consumer.celtic.revolving_credit_card`, `V2.Core.Account.configuration.card_creator.capabilities.consumer.cross_river_bank.prepaid_card`, `V2.Core.Account.configuration.card_creator.capabilities.consumer.lead.debit_card`, `V2.Core.Account.configuration.card_creator.capabilities.consumer.lead.prepaid_card`, `V2.Core.Account.configuration.customer.capabilities.automatic_indirect_tax`, `V2.Core.Account.configuration.merchant.capabilities.ach_debit_payments`, `V2.Core.Account.configuration.merchant.capabilities.acss_debit_payments`, `V2.Core.Account.configuration.merchant.capabilities.affirm_payments`, `V2.Core.Account.configuration.merchant.capabilities.afterpay_clearpay_payments`, `V2.Core.Account.configuration.merchant.capabilities.alma_payments`, `V2.Core.Account.configuration.merchant.capabilities.amazon_pay_payments`, `V2.Core.Account.configuration.merchant.capabilities.au_becs_debit_payments`, `V2.Core.Account.configuration.merchant.capabilities.bacs_debit_payments`, `V2.Core.Account.configuration.merchant.capabilities.bancontact_payments`, `V2.Core.Account.configuration.merchant.capabilities.blik_payments`, `V2.Core.Account.configuration.merchant.capabilities.boleto_payments`, `V2.Core.Account.configuration.merchant.capabilities.card_payments`, `V2.Core.Account.configuration.merchant.capabilities.cartes_bancaires_payments`, `V2.Core.Account.configuration.merchant.capabilities.cashapp_payments`, `V2.Core.Account.configuration.merchant.capabilities.eps_payments`, `V2.Core.Account.configuration.merchant.capabilities.fpx_payments`, `V2.Core.Account.configuration.merchant.capabilities.gb_bank_transfer_payments`, `V2.Core.Account.configuration.merchant.capabilities.grabpay_payments`, `V2.Core.Account.configuration.merchant.capabilities.ideal_payments`, `V2.Core.Account.configuration.merchant.capabilities.jcb_payments`, `V2.Core.Account.configuration.merchant.capabilities.jp_bank_transfer_payments`, `V2.Core.Account.configuration.merchant.capabilities.kakao_pay_payments`, `V2.Core.Account.configuration.merchant.capabilities.klarna_payments`, `V2.Core.Account.configuration.merchant.capabilities.konbini_payments`, `V2.Core.Account.configuration.merchant.capabilities.kr_card_payments`, `V2.Core.Account.configuration.merchant.capabilities.link_payments`, `V2.Core.Account.configuration.merchant.capabilities.mobilepay_payments`, `V2.Core.Account.configuration.merchant.capabilities.multibanco_payments`, `V2.Core.Account.configuration.merchant.capabilities.mx_bank_transfer_payments`, `V2.Core.Account.configuration.merchant.capabilities.naver_pay_payments`, `V2.Core.Account.configuration.merchant.capabilities.oxxo_payments`, `V2.Core.Account.configuration.merchant.capabilities.p24_payments`, `V2.Core.Account.configuration.merchant.capabilities.pay_by_bank_payments`, `V2.Core.Account.configuration.merchant.capabilities.payco_payments`, `V2.Core.Account.configuration.merchant.capabilities.paynow_payments`, `V2.Core.Account.configuration.merchant.capabilities.promptpay_payments`, `V2.Core.Account.configuration.merchant.capabilities.revolut_pay_payments`, `V2.Core.Account.configuration.merchant.capabilities.samsung_pay_payments`, `V2.Core.Account.configuration.merchant.capabilities.sepa_bank_transfer_payments`, `V2.Core.Account.configuration.merchant.capabilities.sepa_debit_payments`, `V2.Core.Account.configuration.merchant.capabilities.stripe_balance.payouts`, `V2.Core.Account.configuration.merchant.capabilities.swish_payments`, `V2.Core.Account.configuration.merchant.capabilities.twint_payments`, `V2.Core.Account.configuration.merchant.capabilities.us_bank_transfer_payments`, `V2.Core.Account.configuration.merchant.capabilities.zip_payments`, `V2.Core.Account.configuration.recipient.capabilities.bank_accounts.instant`, `V2.Core.Account.configuration.recipient.capabilities.bank_accounts.local`, `V2.Core.Account.configuration.recipient.capabilities.bank_accounts.wire`, `V2.Core.Account.configuration.recipient.capabilities.cards`, `V2.Core.Account.configuration.recipient.capabilities.crypto_wallets`, `V2.Core.Account.configuration.recipient.capabilities.paper_checks`, `V2.Core.Account.configuration.recipient.capabilities.stripe_balance.payouts`, `V2.Core.Account.configuration.recipient.capabilities.stripe_balance.stripe_transfers`, `V2.Core.Account.configuration.storer.capabilities.consumer.holds_currencies.usd`, `V2.Core.Account.configuration.storer.capabilities.financial_addresses.bank_accounts`, `V2.Core.Account.configuration.storer.capabilities.financial_addresses.crypto_wallets`, `V2.Core.Account.configuration.storer.capabilities.holds_currencies.eur`, `V2.Core.Account.configuration.storer.capabilities.holds_currencies.gbp`, `V2.Core.Account.configuration.storer.capabilities.holds_currencies.usd`, `V2.Core.Account.configuration.storer.capabilities.holds_currencies.usdc`, `V2.Core.Account.configuration.storer.capabilities.inbound_transfers.bank_accounts`, `V2.Core.Account.configuration.storer.capabilities.outbound_payments.bank_accounts`, `V2.Core.Account.configuration.storer.capabilities.outbound_payments.cards`, `V2.Core.Account.configuration.storer.capabilities.outbound_payments.crypto_wallets`, `V2.Core.Account.configuration.storer.capabilities.outbound_payments.financial_accounts`, `V2.Core.Account.configuration.storer.capabilities.outbound_payments.paper_checks`, `V2.Core.Account.configuration.storer.capabilities.outbound_transfers.bank_accounts`, `V2.Core.Account.configuration.storer.capabilities.outbound_transfers.crypto_wallets`, `V2.Core.Account.configuration.storer.capabilities.outbound_transfers.financial_accounts`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.commercial.celtic.charge_card`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.commercial.celtic.spend_card`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.commercial.cross_river_bank.charge_card`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.commercial.cross_river_bank.prepaid_card`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.commercial.cross_river_bank.spend_card`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.commercial.fifth_third.charge_card`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.commercial.lead.prepaid_card`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.commercial.stripe.charge_card`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.commercial.stripe.prepaid_card`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.consumer.celtic.revolving_credit_card`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.consumer.cross_river_bank.prepaid_card`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.consumer.lead.debit_card`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.consumer.lead.prepaid_card`, `V2.Core.AccountCreateParams.configuration.customer.capabilities.automatic_indirect_tax`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.ach_debit_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.acss_debit_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.affirm_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.afterpay_clearpay_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.alma_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.amazon_pay_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.au_becs_debit_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.bacs_debit_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.bancontact_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.blik_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.boleto_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.card_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.cartes_bancaires_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.cashapp_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.eps_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.fpx_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.gb_bank_transfer_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.grabpay_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.ideal_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.jcb_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.jp_bank_transfer_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.kakao_pay_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.klarna_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.konbini_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.kr_card_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.link_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.mobilepay_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.multibanco_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.mx_bank_transfer_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.naver_pay_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.oxxo_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.p24_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.pay_by_bank_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.payco_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.paynow_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.promptpay_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.revolut_pay_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.samsung_pay_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.sepa_bank_transfer_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.sepa_debit_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.swish_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.twint_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.us_bank_transfer_payments`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities.zip_payments`, `V2.Core.AccountCreateParams.configuration.recipient.capabilities.bank_accounts.instant`, `V2.Core.AccountCreateParams.configuration.recipient.capabilities.bank_accounts.local`, `V2.Core.AccountCreateParams.configuration.recipient.capabilities.bank_accounts.wire`, `V2.Core.AccountCreateParams.configuration.recipient.capabilities.cards`, `V2.Core.AccountCreateParams.configuration.recipient.capabilities.crypto_wallets`, `V2.Core.AccountCreateParams.configuration.recipient.capabilities.paper_checks`, `V2.Core.AccountCreateParams.configuration.recipient.capabilities.stripe_balance.stripe_transfers`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.consumer.holds_currencies.usd`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.financial_addresses.bank_accounts`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.financial_addresses.crypto_wallets`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.holds_currencies.eur`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.holds_currencies.gbp`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.holds_currencies.usd`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.holds_currencies.usdc`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.inbound_transfers.bank_accounts`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.outbound_payments.bank_accounts`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.outbound_payments.cards`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.outbound_payments.crypto_wallets`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.outbound_payments.financial_accounts`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.outbound_payments.paper_checks`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.outbound_transfers.bank_accounts`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.outbound_transfers.crypto_wallets`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.outbound_transfers.financial_accounts`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.commercial.celtic.charge_card`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.commercial.celtic.spend_card`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.commercial.cross_river_bank.charge_card`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.commercial.cross_river_bank.prepaid_card`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.commercial.cross_river_bank.spend_card`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.commercial.fifth_third.charge_card`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.commercial.lead.prepaid_card`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.commercial.stripe.charge_card`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.commercial.stripe.prepaid_card`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.consumer.celtic.revolving_credit_card`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.consumer.cross_river_bank.prepaid_card`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.consumer.lead.debit_card`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.consumer.lead.prepaid_card`, `V2.Core.AccountUpdateParams.configuration.customer.capabilities.automatic_indirect_tax`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.ach_debit_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.acss_debit_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.affirm_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.afterpay_clearpay_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.alma_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.amazon_pay_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.au_becs_debit_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.bacs_debit_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.bancontact_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.blik_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.boleto_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.card_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.cartes_bancaires_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.cashapp_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.eps_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.fpx_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.gb_bank_transfer_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.grabpay_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.ideal_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.jcb_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.jp_bank_transfer_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.kakao_pay_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.klarna_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.konbini_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.kr_card_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.link_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.mobilepay_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.multibanco_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.mx_bank_transfer_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.naver_pay_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.oxxo_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.p24_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.pay_by_bank_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.payco_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.paynow_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.promptpay_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.revolut_pay_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.samsung_pay_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.sepa_bank_transfer_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.sepa_debit_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.swish_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.twint_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.us_bank_transfer_payments`, `V2.Core.AccountUpdateParams.configuration.merchant.capabilities.zip_payments`, `V2.Core.AccountUpdateParams.configuration.recipient.capabilities.bank_accounts.instant`, `V2.Core.AccountUpdateParams.configuration.recipient.capabilities.bank_accounts.local`, `V2.Core.AccountUpdateParams.configuration.recipient.capabilities.bank_accounts.wire`, `V2.Core.AccountUpdateParams.configuration.recipient.capabilities.cards`, `V2.Core.AccountUpdateParams.configuration.recipient.capabilities.crypto_wallets`, `V2.Core.AccountUpdateParams.configuration.recipient.capabilities.paper_checks`, `V2.Core.AccountUpdateParams.configuration.recipient.capabilities.stripe_balance.stripe_transfers`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.consumer.holds_currencies.usd`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.financial_addresses.bank_accounts`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.financial_addresses.crypto_wallets`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.holds_currencies.eur`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.holds_currencies.gbp`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.holds_currencies.usd`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.holds_currencies.usdc`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.inbound_transfers.bank_accounts`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.outbound_payments.bank_accounts`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.outbound_payments.cards`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.outbound_payments.crypto_wallets`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.outbound_payments.financial_accounts`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.outbound_payments.paper_checks`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.outbound_transfers.bank_accounts`, `V2.Core.AccountUpdateParams.configuration.storer.capabilities.outbound_transfers.crypto_wallets`, and `V2.Core.AccountUpdateParams.configuration.storer.capabilities.outbound_transfers.financial_accounts`
54
+
55
+ ## 22.3.0-alpha.3 - 2026-06-10
56
+ This release changes the pinned API version to 2026-06-10.preview.
57
+
58
+ * [#2744](https://github.com/stripe/stripe-node/pull/2744) Update generated code for private-preview
59
+ * Add support for new resources `GiftCardOperation`, `GiftCard`, and `TaxFund`
60
+ * Add support for `retrieve` method on resource `GiftCardOperation`
61
+ * Add support for `activate`, `cashout`, `check_balance`, `create`, `reload`, `retrieve`, and `void_operation` methods on resource `GiftCard`
62
+ * Add support for `list` and `retrieve` methods on resource `TaxFund`
63
+ * Add support for `update_crypto_refund_address` method on resource `PaymentIntent`
64
+ * Add support for `performance_location_details` on `Tax.CalculationCreateParams.line_items[]`, `Tax.CalculationLineItem`, and `Tax.TransactionLineItem`
65
+ * ⚠️ Remove support for `money_services` on `ChargeCaptureParams.payment_details`, `ChargeUpdateParams.payment_details`, and `PaymentIntentCaptureParams.payment_details`
66
+ * Add support for `fr_meal_voucher` on `Charge.payment_method_details.card.benefits`
67
+ * Add support for `multicapture` on `Charge.payment_method_details.card_present`, `ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present`, `PaymentAttemptRecord.payment_method_details.card_present`, `PaymentMethod.card.generated_from.payment_method_details.card_present`, and `PaymentRecord.payment_method_details.card_present`
68
+ * Add support for `pix` on `Checkout.Session.current_attempt.payment_method_details`
69
+ * ⚠️ Add support for new value `jaywan` on enum `Checkout.Session.current_attempt.payment_method_details.card.brand`
70
+ * Add support for `provisional_credit` on `Issuing.DisputeUpdateParams` and `Issuing.Dispute`
71
+ * Add support for `reason` on `PaymentAttemptRecordReportCanceledParams` and `PaymentRecordReportPaymentAttemptCanceledParams`
72
+ * Add support for `fiserv_valuelink`, `givex`, and `svs` on `PaymentAttemptRecord.processor_details` and `PaymentRecord.processor_details`
73
+ * ⚠️ Change type of `PaymentAttemptRecord.processor_details.type` and `PaymentRecord.processor_details.type` from `literal('custom')` to `enum('custom'|'fiserv_valuelink'|'givex'|'svs')`
74
+ * Add support for `capture_by` and `capture_delay` on `PaymentIntent.payment_method_options.card_present`, `PaymentIntent.payment_method_options.card`, `PaymentIntentConfirmParams.payment_method_options.card_present`, `PaymentIntentConfirmParams.payment_method_options.card`, `PaymentIntentCreateParams.payment_method_options.card_present`, `PaymentIntentCreateParams.payment_method_options.card`, `PaymentIntentUpdateParams.payment_method_options.card_present`, and `PaymentIntentUpdateParams.payment_method_options.card`
75
+ * ⚠️ Remove support for `liquid_asset` on `PaymentIntentConfirmParams.payment_method_options.card.payment_details.money_services.account_funding`, `PaymentIntentConfirmParams.payment_method_options.card_present.payment_details.money_services.account_funding`, `PaymentIntentCreateParams.payment_method_options.card.payment_details.money_services.account_funding`, `PaymentIntentCreateParams.payment_method_options.card_present.payment_details.money_services.account_funding`, `PaymentIntentUpdateParams.payment_method_options.card.payment_details.money_services.account_funding`, and `PaymentIntentUpdateParams.payment_method_options.card_present.payment_details.money_services.account_funding`
76
+ * Add support for `request_multicapture` on `PaymentIntent.payment_method_options.card_present`, `PaymentIntentConfirmParams.payment_method_options.card_present`, `PaymentIntentCreateParams.payment_method_options.card_present`, and `PaymentIntentUpdateParams.payment_method_options.card_present`
77
+ * Add support for new value `transaction_verification` on enums `PaymentIntentConfirmParams.payment_method_options.crypto.mode`, `PaymentIntentCreateParams.payment_method_options.crypto.mode`, and `PaymentIntentUpdateParams.payment_method_options.crypto.mode`
78
+ * Add support for `ignore_application_fee`, `ignore_transfer_data`, and `request_partial_authorization` on `PaymentIntentConfirmParams.payment_method_options.gift_card`, `PaymentIntentCreateParams.payment_method_options.gift_card`, and `PaymentIntentUpdateParams.payment_method_options.gift_card`
79
+ * Change `PaymentIntentConfirmParams.payment_details.benefit.fr_meal_voucher.siret`, `PaymentIntentCreateParams.payment_details.benefit.fr_meal_voucher.siret`, `PaymentIntentUpdateParams.payment_details.benefit.fr_meal_voucher.siret`, `SetupIntentConfirmParams.setup_details.benefit.fr_meal_voucher.siret`, `SetupIntentCreateParams.setup_details.benefit.fr_meal_voucher.siret`, and `SetupIntentUpdateParams.setup_details.benefit.fr_meal_voucher.siret` to be optional
80
+ * Add support for `latest_payment_attempt_record` and `payment_record` on `PaymentIntent`
81
+ * ⚠️ Remove support for `reauthorization` and `reauthorize_before` on `PaymentIntent.advanced_feature_details`
82
+ * Add support for `refund_address` on `PaymentIntent.next_action.crypto_display_details.deposit_addresses.base`, `PaymentIntent.next_action.crypto_display_details.deposit_addresses.solana`, and `PaymentIntent.next_action.crypto_display_details.deposit_addresses.tempo`
83
+ * Add support for `location` on `PaymentIntent.payment_details` and `SetupIntent.setup_details`
84
+ * ⚠️ Add support for new value `transaction_verification` on enum `PaymentIntent.payment_method_options.crypto.mode`
85
+ * Add support for `data` on `Radar.AccountEvaluationCreateParams.login_initiated.client_device_metadata_details`, `Radar.AccountEvaluationCreateParams.registration_initiated.client_device_metadata_details`, and `Radar.CustomerEvaluationCreateParams.evaluation_context[].client_details`
86
+ * Change `Radar.AccountEvaluationCreateParams.login_initiated.client_device_metadata_details.radar_session`, `Radar.AccountEvaluationCreateParams.registration_initiated.client_device_metadata_details.radar_session`, and `Radar.CustomerEvaluationCreateParams.evaluation_context[].client_details.radar_session` to be optional
87
+ * ⚠️ Add support for new value `promotion` on enum `V2.Commerce.ProductCatalogImport.feed_type`
88
+ * ⚠️ Change type of `V2.Core.FeeBatch.adjustments.tax_adjustment` from `amount` to `an object`
89
+ * ⚠️ Change type of `V2.Core.FeeBatch.amount`, `V2.Core.FeeBatch.collection_records[].amount`, `V2.Core.FeeBatch.collection_records[].tax.amount`, `V2.Core.FeeBatch.tax.amount`, `V2.Core.FeeEntry.amount`, and `V2.Core.FeeEntry.tax.amount` from `amount` to `an object`
90
+ * ⚠️ Add support for new value `tax_fund` on enums `V2.MoneyManagement.Transaction.category` and `V2.MoneyManagement.TransactionEntry.transaction_details.category`
91
+ * Add support for `tax_fund` on `V2.MoneyManagement.Transaction.flow` and `V2.MoneyManagement.TransactionEntry.transaction_details.flow`
92
+ * ⚠️ Add support for new value `tax_fund` on enums `V2.MoneyManagement.Transaction.flow.type` and `V2.MoneyManagement.TransactionEntry.transaction_details.flow.type`
93
+ * Add support for new value `promotion` on enum `V2.Commerce.ProductCatalogImportCreateParams.feed_type`
94
+ * Add support for error code `default_us_bank_account_cannot_be_archived` on `CannotProceedError`
95
+
3
96
  ## 22.3.0-alpha.2 - 2026-06-03
4
97
  * [#2741](https://github.com/stripe/stripe-node/pull/2741) Update generated code for private-preview
5
98
  * Add support for new resources `DelegatedCheckout.OrderEvent`, `DelegatedCheckout.Order`, `V2.Billing.ContractLicensePricingQuantityChange`, `V2.Billing.Contract`, and `V2.Signals.AccountSignal`
@@ -47,6 +140,12 @@ This release changes the pinned API version to 2026-05-27.private.
47
140
  * Add support for snapshot event `PaymentIntentExpiredEvent` with resource `PaymentIntent`
48
141
  * Add support for event notifications `V2CoreHealthElementsErrorFiringEvent`, `V2CoreHealthElementsErrorResolvedEvent`, `V2CoreHealthInvoiceCountDroppedFiringEvent`, and `V2CoreHealthInvoiceCountDroppedResolvedEvent`
49
142
 
143
+ ## 22.2.1 - 2026-06-12
144
+ * [#2750](https://github.com/stripe/stripe-node/pull/2750) URI Encode path params
145
+ * [#2747](https://github.com/stripe/stripe-node/pull/2747) Fix V2ListIterator: concurrency guard and empty page handling
146
+ * [#2740](https://github.com/stripe/stripe-node/pull/2740) Add "source" field to user-agent header
147
+ * [#2734](https://github.com/stripe/stripe-node/pull/2734) Fix parseHttpHeaderAsNumber to return undefined instead of NaN
148
+
50
149
  ## 22.2.0 - 2026-05-27
51
150
  This release changes the pinned API version to 2026-05-27.dahlia.
52
151
 
@@ -105,12 +204,12 @@ This release changes the pinned API version to 2026-05-27.dahlia.
105
204
  * 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.
106
205
  * [#2715](https://github.com/stripe/stripe-node/pull/2715) Add WinterTC compatibility ESLint rule
107
206
  * [#2711](https://github.com/stripe/stripe-node/pull/2711) Export manually maintained types for OAuthToken and OAuth param classes
108
- ```ts
109
- // ❌ Before (v22.0.0-v22.1.1)
110
- const oAuthToken: Stripe.OAuthToken = {};
111
-
112
- // ✅ After (works on v22.1.2+)
113
- const oAuthToken: Stripe.OAuthToken = {};
207
+ ```ts
208
+ // ❌ Before (v22.0.0-v22.1.1)
209
+ const oAuthToken: Stripe.OAuthToken = {};
210
+
211
+ // ✅ After (works on v22.1.2+)
212
+ const oAuthToken: Stripe.OAuthToken = {};
114
213
  ```
115
214
  * [#2712](https://github.com/stripe/stripe-node/pull/2712) Exported types for nested param classes
116
215
  * Types inside nested param class namespaces(e.g. `Stripe.V2.Core.AccountCreateParams.Configuration`, `Stripe.V2.Core.AccountCreateParams.Dashboard`) are now accessible.
@@ -397,10 +496,10 @@ This release changes the pinned API version to 2026-04-22.private.
397
496
 
398
497
  ## 22.1.1 - 2026-05-06
399
498
  * [#2703](https://github.com/stripe/stripe-node/pull/2703) Export Decimal type from Stripe namespace
400
-
499
+
401
500
  - Added `Stripe.Decimal` as a usable type in the `Stripe` namespace, enabling type annotations like `function takesDecimal(d: Stripe.Decimal)`.
402
501
  * [#2704](https://github.com/stripe/stripe-node/pull/2704) Fix file upload regression: restore multipart request data processor
403
-
502
+
404
503
  - Fixed file uploads failing with `StripeInvalidRequestError` on the `/v1/files` endpoint since v22.
405
504
 
406
505
  ## 22.1.0 - 2026-04-23
@@ -556,32 +655,32 @@ This release changes the pinned API version to 2026-04-01.preview and contains a
556
655
  ## 22.0.2 - 2026-04-16
557
656
  * [#2685](https://github.com/stripe/stripe-node/pull/2685) Adds `parseEventNotificationAsync` to match existing sync function
558
657
  * [#2681](https://github.com/stripe/stripe-node/pull/2681) Add emitEventBodies config to include bodies in request/response events
559
- - Added `emitEventBodies` config option to include request and response bodies in `request`/`response` events.
658
+ - Added `emitEventBodies` config option to include request and response bodies in `request`/`response` events.
560
659
  - Changed `httpClient` config type from `HttpClient` class to `HttpClientInterface` interface.
561
660
  * [#2670](https://github.com/stripe/stripe-node/pull/2670) tolerance, receivedAt, timestamp are now optional in Webhook.ts
562
661
  * [#2677](https://github.com/stripe/stripe-node/pull/2677) Fixed named export for Bun
563
- ```ts
564
- // ✅ Fixed
565
- import { Stripe } from 'stripe';
662
+ ```ts
663
+ // ✅ Fixed
664
+ import { Stripe } from 'stripe';
566
665
  ```
567
666
 
568
667
  ## 22.0.1 - 2026-04-08
569
668
  * [#2669](https://github.com/stripe/stripe-node/pull/2669) Add constructor based initialization for CJS based TypeScript imports
570
- * 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)
571
- ```ts
572
- import Stripe = require('stripe');
573
- // ✅ Both statements work
574
- const stripeNew: Stripe.Stripe = new Stripe('sk_test_...');
575
- const stripeCalled: Stripe.Stripe = Stripe('sk_test_...');
669
+ * 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)
670
+ ```ts
671
+ import Stripe = require('stripe');
672
+ // ✅ Both statements work
673
+ const stripeNew: Stripe.Stripe = new Stripe('sk_test_...');
674
+ const stripeCalled: Stripe.Stripe = Stripe('sk_test_...');
576
675
  ```
577
676
  * [#2664](https://github.com/stripe/stripe-node/pull/2664) Fixed nested service param exports in the Stripe namespace
578
677
  * Resolves: [2658](https://github.com/stripe/stripe-node/issues/2658), [2662](https://github.com/stripe/stripe-node/issues/2662)
579
678
  * [#2667](https://github.com/stripe/stripe-node/pull/2667) Add type safety to Stripe constructor config (no runtime change)
580
- - Fixed some compile-time checks (no runtime changes)
581
- - Fixed `Stripe` constructor config parameter to use `StripeConfig` type instead of `Record<string, unknown>`, restoring compile-time type safety.
582
- - Added missing `authenticator` property to `StripeConfig`.
583
- - Fixed `Stripe.API_VERSION` to retain the literal API version type.
584
- - Fixed `StripeConfig.stripeContext` to accept `StripeContext` objects in addition to strings.
679
+ - Fixed some compile-time checks (no runtime changes)
680
+ - Fixed `Stripe` constructor config parameter to use `StripeConfig` type instead of `Record<string, unknown>`, restoring compile-time type safety.
681
+ - Added missing `authenticator` property to `StripeConfig`.
682
+ - Fixed `Stripe.API_VERSION` to retain the literal API version type.
683
+ - Fixed `StripeConfig.stripeContext` to accept `StripeContext` objects in addition to strings.
585
684
  * [#2663](https://github.com/stripe/stripe-node/pull/2663) Throw a more descriptive error when calling `rawRequest` with absolute urls
586
685
  * [#2652](https://github.com/stripe/stripe-node/pull/2652) Added `string[]` to `WebhookHeader` type for compatibility with express
587
686
  * Added `string[]` to the type of `signature` param in `stripe.webhooks.construct_event` method.
package/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v2290
1
+ v2315
package/README.md CHANGED
@@ -42,24 +42,25 @@ value:
42
42
  ```js
43
43
  const stripe = require('stripe')('sk_test_...');
44
44
 
45
- stripe.customers.create({
45
+ const customer = await stripeClient.customers.create({
46
46
  email: 'customer@example.com',
47
- })
48
- .then(customer => console.log(customer.id))
49
- .catch(error => console.error(error));
47
+ });
48
+
49
+ console.log(customer.id);
50
50
  ```
51
51
 
52
- Or using ES modules and `async`/`await`:
52
+ Or using CJS:
53
53
 
54
54
  ```js
55
- import Stripe from 'stripe';
56
- const stripe = new Stripe('sk_test_...');
55
+ const Stripe = require('stripe');
56
+ const stripeClient = Stripe('sk_test_...');
57
57
 
58
- const customer = await stripe.customers.create({
59
- email: 'customer@example.com',
60
- });
61
-
62
- console.log(customer.id);
58
+ stripeClient.customers
59
+ .create({
60
+ email: 'customer@example.com',
61
+ })
62
+ .then((customer) => console.log(customer.id))
63
+ .catch((error) => console.error(error));
63
64
  ```
64
65
 
65
66
  > [!WARNING]
@@ -420,7 +421,11 @@ const header = stripe.webhooks.generateTestHeaderString({
420
421
  secret,
421
422
  });
422
423
 
423
- const event = stripe.webhooks.constructEvent(payloadString, header, secret);
424
+ const event = stripeClient.webhooks.constructEvent(
425
+ payloadString,
426
+ header,
427
+ secret
428
+ );
424
429
 
425
430
  // Do something with mocked signed event
426
431
  expect(event.id).to.equal(payload.id);
@@ -436,27 +441,18 @@ See [undocumented params and properties](https://docs.stripe.com/sdks/server-sid
436
441
 
437
442
  If you're writing a plugin that uses the library, we'd appreciate it if you instantiated your stripe client with `appInfo`, eg;
438
443
 
439
- ```js
440
- const stripe = require('stripe')('sk_test_...', {
441
- appInfo: {
442
- name: 'MyAwesomePlugin',
443
- version: '1.2.34', // Optional
444
- url: 'https://myawesomeplugin.info', // Optional
445
- },
446
- });
447
- ```
444
+ With ES modules or TypeScript:
448
445
 
449
- Or using ES modules or TypeScript:
450
-
451
- ```js
452
- const stripe = new Stripe(apiKey, {
446
+ ````js
447
+ import Stripe from 'stripe';
448
+ const stripeClient = new Stripe(apiKey, {
453
449
  appInfo: {
454
450
  name: 'MyAwesomePlugin',
455
451
  version: '1.2.34', // Optional
456
452
  url: 'https://myawesomeplugin.info', // Optional
457
453
  },
458
454
  });
459
- ```
455
+ ``
460
456
 
461
457
  This information is passed along when the library makes calls to the Stripe API.
462
458
 
@@ -477,7 +473,7 @@ for await (const customer of stripe.customers.list()) {
477
473
  break;
478
474
  }
479
475
  }
480
- ```
476
+ ````
481
477
 
482
478
  #### `autoPagingEach`
483
479
 
@@ -574,7 +570,7 @@ const stripe = new Stripe('sk_test_...', {
574
570
 
575
571
  ### Private Preview SDKs
576
572
 
577
- Stripe has features in the [private preview phase](https://docs.stripe.com/release-phases) that can be accessed via versions of this package that have the `-alpha.X` suffix like `18.6.0-alpha.1`. These are invite-only features. Once invited, you can install the private preview SDKs by following the same instructions as for the [public preview SDKs](https://github.com/stripe/stripe-node?tab=readme-ov-file#public-preview-sdks) above and replacing the term `public-preview` with `private-preview`:
573
+ Stripe has features in the [private preview phase](https://docs.stripe.com/release-phases) that can be accessed via versions of this package that have the `-alpha.X` suffix like `18.6.0-alpha.1`. You can install the private preview SDKs by following the same instructions as for the [public preview SDKs](#public-preview-sdks) above and replacing the term `public-preview` with `private-preview`. Note that access to specific private preview API features may require separate approval:
578
574
 
579
575
  ```
580
576
  npm install stripe@private-preview --save-exact
@@ -629,6 +625,9 @@ New features and bug fixes are released on the latest major version of the `stri
629
625
 
630
626
  ## Development
631
627
 
628
+ > [!WARNING]
629
+ > External contributions to this repo from first-time contributors are currently on hiatus. If you'd like to see a change made to the package, please open an issue.(
630
+
632
631
  [Contribution guidelines for this project](CONTRIBUTING.md)
633
632
 
634
633
  The tests depend on [stripe-mock][stripe-mock], so make sure to fetch and
package/VERSION CHANGED
@@ -1 +1 @@
1
- 22.3.0-alpha.2
1
+ 22.3.0-alpha.4
@@ -1 +1 @@
1
- export declare const ApiVersion = "2026-06-03.preview";
1
+ export declare const ApiVersion = "2026-06-10.preview";
package/cjs/apiVersion.js CHANGED
@@ -2,5 +2,5 @@
2
2
  // File generated from our OpenAPI spec
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.ApiVersion = void 0;
5
- exports.ApiVersion = '2026-06-03.preview';
5
+ exports.ApiVersion = '2026-06-10.preview';
6
6
  //# sourceMappingURL=apiVersion.js.map
@@ -91,6 +91,7 @@ class V2ListIterator {
91
91
  this.firstPagePromise = firstPagePromise;
92
92
  this.currentPageIterator = null;
93
93
  this.nextPageUrl = null;
94
+ this.promiseCache = { currentPromise: null };
94
95
  this.options = options;
95
96
  this.spec = spec;
96
97
  this.stripeResource = stripeResource;
@@ -111,13 +112,16 @@ class V2ListIterator {
111
112
  this.currentPageIterator = page.data[Symbol.iterator]();
112
113
  return this.currentPageIterator;
113
114
  }
114
- async next() {
115
+ async _next() {
115
116
  await this.initFirstPage();
116
117
  if (this.currentPageIterator) {
117
118
  const result = this.currentPageIterator.next();
118
119
  if (!result.done)
119
120
  return { done: false, value: result.value };
120
121
  }
122
+ return this.nextFromNewPage();
123
+ }
124
+ async nextFromNewPage() {
121
125
  const nextPageIterator = await this.turnPage();
122
126
  if (!nextPageIterator) {
123
127
  return { done: true, value: undefined };
@@ -125,7 +129,28 @@ class V2ListIterator {
125
129
  const result = nextPageIterator.next();
126
130
  if (!result.done)
127
131
  return { done: false, value: result.value };
128
- return { done: true, value: undefined };
132
+ // Empty intermediate page recurse to try the next page.
133
+ return this.nextFromNewPage();
134
+ }
135
+ next() {
136
+ /**
137
+ * If a user calls `.next()` multiple times in parallel,
138
+ * return the same result until something has resolved
139
+ * to prevent page-turning race conditions.
140
+ */
141
+ if (this.promiseCache.currentPromise) {
142
+ return this.promiseCache.currentPromise;
143
+ }
144
+ const nextPromise = (async () => {
145
+ try {
146
+ return await this._next();
147
+ }
148
+ finally {
149
+ this.promiseCache.currentPromise = null;
150
+ }
151
+ })();
152
+ this.promiseCache.currentPromise = nextPromise;
153
+ return nextPromise;
129
154
  }
130
155
  }
131
156
  const makeAutoPaginationMethods = (stripeResource, params, options, method, path, spec, firstPagePromise) => {
@@ -1 +1 @@
1
- {"version":3,"file":"autoPagination.js","sourceRoot":"","sources":["../src/autoPagination.ts"],"names":[],"mappings":";;;AACA,yCAA6D;AAsC7D,MAAM,UAAU;IAUd,YACE,gBAAwC,EACxC,MAAmB,EACnB,OAAmC,EACnC,MAAc,EACd,IAAY,EACZ,IAAiC,EACjC,cAAoC;QAEpC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QACf,IAAI,CAAC,WAAW,GAAG,gBAAgB,CAAC;QACpC,IAAI,CAAC,YAAY,GAAG,EAAC,cAAc,EAAE,IAAI,EAAC,CAAC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IACvC,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,UAAyB;QACrC,IACE,CAAC,CACC,UAAU;YACV,UAAU,CAAC,IAAI;YACf,OAAO,UAAU,CAAC,IAAI,CAAC,MAAM,KAAK,QAAQ,CAC3C,EACD;YACA,MAAM,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AC;QACL,CAAC;QAED,iBAAiB,EAAE;aAChB,IAAI,CAAC,eAAe,CAAC;aACrB,KAAK,CAAC,MAAM,CAAC,CAAC;IACnB,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -20,6 +20,9 @@ export declare class NodePlatformFunctions extends PlatformFunctions {
20
20
  getEnv(): Record<string, string | undefined>;
21
21
  /** @override */
22
22
  getRuntimeVersion(): string;
23
+ private getUname;
24
+ /** @override */
25
+ getSourceHash(): string | null;
23
26
  /**
24
27
  * @override
25
28
  * Secure compare, from https://github.com/freewil/scmp
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NodePlatformFunctions = void 0;
4
4
  const crypto = require("crypto");
5
+ const os = require("os");
5
6
  const events_1 = require("events");
6
7
  const NodeCryptoProvider_js_1 = require("../crypto/NodeCryptoProvider.js");
7
8
  const NodeHttpClient_js_1 = require("../net/NodeHttpClient.js");
8
9
  const PlatformFunctions_js_1 = require("./PlatformFunctions.js");
9
10
  const Error_js_1 = require("../Error.js");
10
11
  const utils_js_1 = require("../utils.js");
11
- const os_1 = require("os");
12
12
  class StreamProcessingError extends Error_js_1.StripeError {
13
13
  }
14
14
  /**
@@ -25,7 +25,7 @@ class NodePlatformFunctions extends PlatformFunctions_js_1.PlatformFunctions {
25
25
  }
26
26
  /** @override */
27
27
  getPlatformInfo() {
28
- return `${process.platform} ${(0, os_1.release)()} ${(0, os_1.arch)()}`;
28
+ return `${process.platform} ${os.release()} ${os.arch()}`;
29
29
  }
30
30
  /** @override */
31
31
  emitWarning(warning) {
@@ -44,6 +44,40 @@ class NodePlatformFunctions extends PlatformFunctions_js_1.PlatformFunctions {
44
44
  getRuntimeVersion() {
45
45
  return process.version;
46
46
  }
47
+ getUname() {
48
+ try {
49
+ const parts = [os.type(), os.release(), os.arch()];
50
+ // os.version() returns detailed kernel version, available since Node 10.7.0
51
+ // It may not exist in older typings, so access carefully
52
+ const version = os.version?.();
53
+ if (version)
54
+ parts.push(version);
55
+ try {
56
+ parts.push(os.hostname());
57
+ // eslint-disable-next-line no-empty
58
+ }
59
+ catch (_e) { }
60
+ return parts.join(' ');
61
+ }
62
+ catch {
63
+ return null;
64
+ }
65
+ }
66
+ /** @override */
67
+ getSourceHash() {
68
+ try {
69
+ const uname = this.getUname();
70
+ return uname
71
+ ? crypto
72
+ .createHash('md5')
73
+ .update(uname)
74
+ .digest('hex')
75
+ : null;
76
+ }
77
+ catch {
78
+ return null;
79
+ }
80
+ }
47
81
  /**
48
82
  * @override
49
83
  * Secure compare, from https://github.com/freewil/scmp
@@ -1 +1 @@
1
- {"version":3,"file":"NodePlatformFunctions.js","sourceRoot":"","sources":["../../src/platform/NodePlatformFunctions.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AAGjC,mCAAoC;AAEpC,2EAAmE;AACnE,gEAAwD;AACxD,iEAAyD;AACzD,0CAAwC;AACxC,0CAAmC;AACnC,2BAAiC;AAGjC,MAAM,qBAAsB,SAAQ,sBAAW;CAAG;AAElD;;GAEG;AACH,MAAa,qBAAsB,SAAQ,wCAAiB;IAC1D,gBAAgB;IAChB,KAAK;QACH,0BAA0B;QAC1B,IAAI,MAAM,CAAC,UAAU,EAAE;YACrB,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;SAC5B;QACD,OAAO,KAAK,CAAC,KAAK,EAAE,CAAC;IACvB,CAAC;IAED,gBAAgB;IAChB,eAAe;QACb,OAAO,GAAG,OAAO,CAAC,QAAQ,IAAI,IAAA,YAAO,GAAE,IAAI,IAAA,SAAI,GAAE,EAAE,CAAC;IACtD,CAAC;IAED,gBAAgB;IAChB,WAAW,CAAC,OAAe;QACzB,IAAI,OAAO,OAAO,CAAC,WAAW,KAAK,UAAU,EAAE;YAC7C,OAAO,CAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;SACxC;aAAM;YACL,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;SAC5B;IACH,CAAC;IAED,gBAAgB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EAAE,EAAE;gBAC/B,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACzB,CAAC,CAAC;iBACD,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE;gBAChB,aAAa;gBACb,MAAM,UAAU,GAAiB,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;gBACzD,UAAU,CAAC,IAAI,CAAC,IAAI,GAAG,IAAA,iBAAM,EAAC,WAAW,CAAC,CAAC;gBAC3C,OAAO,CAAC,UAAU,CAAC,CAAC;YACtB,CAAC,CAAC;iBACD,EAAE,CAAC,OAAO,EAAE,CAAC,GAAU,EAAE,EAAE;gBAC1B,MAAM,CACJ,IAAI,qBAAqB,CAAC;oBACxB,OAAO,EACL,oEAAoE;oBACtE,MAAM,EAAE,GAAG;iBACZ,CAAC,CACH,CAAC;YACJ,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACL,CAAC;IAED,gBAAgB;IAChB,oBAAoB,CAAC,KAAkB;QACrC,OAAO,IAAI,kCAAc,CAAC,KAAK,CAAC,CAAC;IACnC,CAAC;IAED,gBAAgB;IAChB,uBAAuB;QACrB,OAAO,IAAI,kCAAc,EAAE,CAAC;IAC9B,CAAC;IAED,gBAAgB;IAChB,wBAAwB;QACtB,OAAO,IAAI,0CAAkB,EAAE,CAAC;IAClC,CAAC;IAED,gBAAgB;IAChB,2BAA2B;QACzB,OAAO,IAAI,CAAC,wBAAwB,EAAE,CAAC;IACzC,CAAC;CACF;AAnHD,sDAmHC"}
1
+ {"version":3,"file":"NodePlatformFunctions.js","sourceRoot":"","sources":["../../src/platform/NodePlatformFunctions.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AAEjC,yBAAyB;AAEzB,mCAAoC;AAEpC,2EAAmE;AACnE,gEAAwD;AACxD,iEAAyD;AACzD,0CAAwC;AACxC,0CAAmC;AAGnC,MAAM,qBAAsB,SAAQ,sBAAW;CAAG;AAElD;;GAEG;AACH,MAAa,qBAAsB,S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AAC,IAAI,CAAC,CAAC;SAC9B;QACD,MAAM,WAAW,GAAsB,EAAE,CAAC;QAC1C,OAAO,IAAI,OAAO,CAAe,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YACnD,IAAI,CAAC,IAAI,CAAC,IAAI;iBACX,EAAE,CAAC,MAAM,EAAE,CAAC,IAAgB,EAAE,EAAE;gBAC/B,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACzB,CAAC,CAAC;iBACD,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE;gBAChB,aAAa;gBACb,MAAM,UAAU,GAAiB,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;gBACzD,UAAU,CAAC,IAAI,CAAC,IAAI,GAAG,IAAA,iBAAM,EAAC,WAAW,CAAC,CAAC;gBAC3C,OAAO,CAAC,UAAU,CAAC,CAAC;YACtB,CAAC,CAAC;iBACD,EAAE,CAAC,OAAO,EAAE,CAAC,GAAU,EAAE,EAAE;gBAC1B,MAAM,CACJ,IAAI,qBAAqB,CAAC;oBACxB,OAAO,EACL,oEAAoE;oBACtE,MAAM,EAAE,GAAG;iBACZ,CAAC,CACH,CAAC;YACJ,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACL,CAAC;IAED,gBAAgB;IAChB,oBAAoB,CAAC,KAAkB;QACrC,OAAO,IAAI,kCAAc,CAAC,KAAK,CAAC,CAAC;IACnC,CAAC;IAED,gBAAgB;IAChB,uBAAuB;QACrB,OAAO,IAAI,kCAAc,EAAE,CAAC;IAC9B,CAAC;IAED,gBAAgB;IAChB,wBAAwB;QACtB,OAAO,IAAI,0CAAkB,EAAE,CAAC;IAClC,CAAC;IAED,gBAAgB;IAChB,2BAA2B;QACzB,OAAO,IAAI,CAAC,wBAAwB,EAAE,CAAC;IACzC,CAAC;CACF;AAnJD,sDAmJC"}
@@ -18,6 +18,7 @@ export declare class PlatformFunctions {
18
18
  * Returns platform info string for telemetry, or null if unavailable.
19
19
  */
20
20
  getPlatformInfo(): string | null;
21
+ getSourceHash(): string | null;
21
22
  /**
22
23
  * Emits a warning. Node.js uses process.emitWarning; other runtimes
23
24
  * fall back to console.warn.
@@ -18,6 +18,9 @@ class PlatformFunctions {
18
18
  getPlatformInfo() {
19
19
  return null;
20
20
  }
21
+ getSourceHash() {
22
+ return null;
23
+ }
21
24
  /**
22
25
  * Emits a warning. Node.js uses process.emitWarning; other runtimes
23
26
  * fall back to console.warn.
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformFunctions.js","sourceRoot":"","sources":["../../src/platform/PlatformFunctions.ts"],"names":[],"mappings":";;;AAOA,kEAA0D;AAO1D,+EAAuE;AAGvE;;;GAGG;AACH,MAAa,iBAAiB;IAI5B;QACE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;OAGG;IACH,WAAW,CAAC,OAAe;QACzB,+BAA+B;QAC/B,OAAO,CAAC,IAAI,CAAC,WAAW,OAAO,EAAE,CAAC,CAAC;QACnC,8BAA8B;IAChC,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,iBAAiB;QACf,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,KAAK;QACH,OAAO,sCAAsC,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;YACnE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;YACnC,MAAM,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC;YAC1C,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE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,CAAC,8CAA8C,CAAC,CAAC;IAClE,CAAC;CACF;AAjID,8CAiIC"}
1
+ {"version":3,"file":"PlatformFunctions.js","sourceRoot":"","sources":["../../src/platform/PlatformFunctions.ts"],"names":[],"mappings":";;;AAOA,kEAA0D;AAO1D,+EAAuE;AAGvE;;;GAGG;AACH,MAAa,iBAAiB;IAI5B;QACE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,IAAI,CAAC;IACd,CAAC;IAED,aAAa;QACX,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;OAGG;IACH,WAAW,CAAC,OAAe;QACzB,+BAA+B;QAC/B,OAAO,CAAC,IAAI,CAAC,WAAW,OAAO,EAAE,CAAC,CAAC;QACnC,8BAA8B;IAChC,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,iBAAiB;QACf,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,KAAK;QACH,OAAO,sCAAsC,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;YACnE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;YACnC,MAAM,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC;YAC1C,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QACxB,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,aAAa,CAAC,CAAS,EAAE,CAAS;QAChC,oDAAoD;QACpD,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM,EAAE;YACzB,OAAO,KAAK,CAAC;SACd;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