stripe 22.3.0-beta.1 → 22.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1337) hide show
  1. package/CHANGELOG.md +151 -1770
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +73 -58
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +0 -50
  6. package/cjs/Error.js +1 -125
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/RequestSender.d.ts +2 -1
  9. package/cjs/RequestSender.js +10 -2
  10. package/cjs/RequestSender.js.map +1 -1
  11. package/cjs/Types.d.ts +2 -4
  12. package/cjs/Types.js.map +1 -1
  13. package/cjs/apiVersion.d.ts +2 -1
  14. package/cjs/apiVersion.js +3 -2
  15. package/cjs/apiVersion.js.map +1 -1
  16. package/cjs/autoPagination.js +27 -2
  17. package/cjs/autoPagination.js.map +1 -1
  18. package/cjs/platform/NodePlatformFunctions.d.ts +3 -0
  19. package/cjs/platform/NodePlatformFunctions.js +36 -2
  20. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  21. package/cjs/platform/PlatformFunctions.d.ts +1 -0
  22. package/cjs/platform/PlatformFunctions.js +3 -0
  23. package/cjs/platform/PlatformFunctions.js.map +1 -1
  24. package/cjs/resources/AccountLinks.d.ts +1 -1
  25. package/cjs/resources/AccountSessions.d.ts +0 -262
  26. package/cjs/resources/AccountSessions.js.map +1 -1
  27. package/cjs/resources/Accounts.d.ts +5 -829
  28. package/cjs/resources/Accounts.js +18 -32
  29. package/cjs/resources/Accounts.js.map +1 -1
  30. package/cjs/resources/ApplePayDomains.js +2 -2
  31. package/cjs/resources/ApplePayDomains.js.map +1 -1
  32. package/cjs/resources/ApplicationFees.js +5 -5
  33. package/cjs/resources/ApplicationFees.js.map +1 -1
  34. package/cjs/resources/Apps/Secrets.d.ts +14 -16
  35. package/cjs/resources/Apps/index.d.ts +1 -1
  36. package/cjs/resources/Balance.d.ts +0 -67
  37. package/cjs/resources/BalanceTransactions.d.ts +5 -5
  38. package/cjs/resources/BalanceTransactions.js +3 -3
  39. package/cjs/resources/BalanceTransactions.js.map +1 -1
  40. package/cjs/resources/BankAccounts.d.ts +2 -2
  41. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
  42. package/cjs/resources/Billing/Alerts.d.ts +27 -29
  43. package/cjs/resources/Billing/Alerts.js +4 -4
  44. package/cjs/resources/Billing/Alerts.js.map +1 -1
  45. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +40 -42
  46. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +74 -76
  47. package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -1
  48. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  49. package/cjs/resources/Billing/CreditGrants.d.ts +41 -43
  50. package/cjs/resources/Billing/CreditGrants.js +4 -4
  51. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  52. package/cjs/resources/Billing/MeterEventAdjustments.d.ts +9 -11
  53. package/cjs/resources/Billing/Meters.d.ts +39 -41
  54. package/cjs/resources/Billing/Meters.js +5 -5
  55. package/cjs/resources/Billing/Meters.js.map +1 -1
  56. package/cjs/resources/Billing/index.d.ts +7 -10
  57. package/cjs/resources/Billing/index.js +0 -2
  58. package/cjs/resources/Billing/index.js.map +1 -1
  59. package/cjs/resources/BillingPortal/Configurations.d.ts +132 -134
  60. package/cjs/resources/BillingPortal/Configurations.js +2 -2
  61. package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
  62. package/cjs/resources/BillingPortal/Sessions.d.ts +100 -102
  63. package/cjs/resources/BillingPortal/index.d.ts +2 -2
  64. package/cjs/resources/Capabilities.d.ts +2 -2
  65. package/cjs/resources/Cards.d.ts +0 -4
  66. package/cjs/resources/Charges.d.ts +84 -3066
  67. package/cjs/resources/Charges.js +3 -3
  68. package/cjs/resources/Charges.js.map +1 -1
  69. package/cjs/resources/Checkout/Sessions.d.ts +1598 -1900
  70. package/cjs/resources/Checkout/Sessions.js +4 -4
  71. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  72. package/cjs/resources/Checkout/index.d.ts +1 -1
  73. package/cjs/resources/Climate/Orders.d.ts +47 -49
  74. package/cjs/resources/Climate/Orders.js +3 -3
  75. package/cjs/resources/Climate/Orders.js.map +1 -1
  76. package/cjs/resources/Climate/Products.d.ts +15 -17
  77. package/cjs/resources/Climate/Products.js +1 -1
  78. package/cjs/resources/Climate/Products.js.map +1 -1
  79. package/cjs/resources/Climate/Suppliers.d.ts +25 -27
  80. package/cjs/resources/Climate/Suppliers.js +1 -1
  81. package/cjs/resources/Climate/Suppliers.js.map +1 -1
  82. package/cjs/resources/Climate/index.d.ts +3 -3
  83. package/cjs/resources/ConfirmationTokens.d.ts +13 -67
  84. package/cjs/resources/ConfirmationTokens.js +1 -1
  85. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  86. package/cjs/resources/CountrySpecs.js +1 -1
  87. package/cjs/resources/CountrySpecs.js.map +1 -1
  88. package/cjs/resources/Coupons.d.ts +0 -53
  89. package/cjs/resources/Coupons.js +3 -16
  90. package/cjs/resources/Coupons.js.map +1 -1
  91. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  92. package/cjs/resources/CreditNotes.d.ts +8 -5
  93. package/cjs/resources/CreditNotes.js +6 -4
  94. package/cjs/resources/CreditNotes.js.map +1 -1
  95. package/cjs/resources/CustomerSessions.d.ts +0 -68
  96. package/cjs/resources/Customers.d.ts +1 -7
  97. package/cjs/resources/Customers.js +31 -41
  98. package/cjs/resources/Customers.js.map +1 -1
  99. package/cjs/resources/Disputes.d.ts +28 -30
  100. package/cjs/resources/Disputes.js +3 -3
  101. package/cjs/resources/Disputes.js.map +1 -1
  102. package/cjs/resources/Entitlements/ActiveEntitlements.js +1 -1
  103. package/cjs/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  104. package/cjs/resources/Entitlements/Features.js +2 -2
  105. package/cjs/resources/Entitlements/Features.js.map +1 -1
  106. package/cjs/resources/Entitlements/index.d.ts +2 -2
  107. package/cjs/resources/EphemeralKeys.js +1 -1
  108. package/cjs/resources/EphemeralKeys.js.map +1 -1
  109. package/cjs/resources/Events.d.ts +3 -548
  110. package/cjs/resources/Events.js +1 -1
  111. package/cjs/resources/Events.js.map +1 -1
  112. package/cjs/resources/ExchangeRates.js +1 -1
  113. package/cjs/resources/ExchangeRates.js.map +1 -1
  114. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  115. package/cjs/resources/ExternalAccounts.js +0 -44
  116. package/cjs/resources/ExternalAccounts.js.map +1 -1
  117. package/cjs/resources/FileLinks.js +2 -2
  118. package/cjs/resources/FileLinks.js.map +1 -1
  119. package/cjs/resources/Files.js +1 -1
  120. package/cjs/resources/Files.js.map +1 -1
  121. package/cjs/resources/FinancialConnections/Accounts.d.ts +169 -217
  122. package/cjs/resources/FinancialConnections/Accounts.js +6 -14
  123. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  124. package/cjs/resources/FinancialConnections/Sessions.d.ts +43 -193
  125. package/cjs/resources/FinancialConnections/Sessions.js +1 -1
  126. package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
  127. package/cjs/resources/FinancialConnections/Transactions.d.ts +13 -15
  128. package/cjs/resources/FinancialConnections/Transactions.js +1 -1
  129. package/cjs/resources/FinancialConnections/Transactions.js.map +1 -1
  130. package/cjs/resources/FinancialConnections/index.d.ts +9 -24
  131. package/cjs/resources/FinancialConnections/index.js +0 -4
  132. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  133. package/cjs/resources/Forwarding/Requests.d.ts +57 -59
  134. package/cjs/resources/Forwarding/Requests.js +1 -1
  135. package/cjs/resources/Forwarding/Requests.js.map +1 -1
  136. package/cjs/resources/Forwarding/index.d.ts +1 -1
  137. package/cjs/resources/Identity/VerificationReports.d.ts +255 -257
  138. package/cjs/resources/Identity/VerificationReports.js +1 -1
  139. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  140. package/cjs/resources/Identity/VerificationSessions.d.ts +148 -150
  141. package/cjs/resources/Identity/VerificationSessions.js +4 -4
  142. package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
  143. package/cjs/resources/Identity/index.d.ts +2 -2
  144. package/cjs/resources/InvoiceItems.d.ts +0 -85
  145. package/cjs/resources/InvoiceItems.js +3 -3
  146. package/cjs/resources/InvoiceItems.js.map +1 -1
  147. package/cjs/resources/InvoiceLineItems.d.ts +2 -40
  148. package/cjs/resources/InvoicePayments.js +1 -1
  149. package/cjs/resources/InvoicePayments.js.map +1 -1
  150. package/cjs/resources/InvoiceRenderingTemplates.js +3 -3
  151. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  152. package/cjs/resources/Invoices.d.ts +23 -1341
  153. package/cjs/resources/Invoices.js +14 -55
  154. package/cjs/resources/Invoices.js.map +1 -1
  155. package/cjs/resources/Issuing/Authorizations.d.ts +354 -356
  156. package/cjs/resources/Issuing/Authorizations.js +4 -4
  157. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  158. package/cjs/resources/Issuing/Cardholders.d.ts +144 -147
  159. package/cjs/resources/Issuing/Cardholders.js +2 -2
  160. package/cjs/resources/Issuing/Cardholders.js.map +1 -1
  161. package/cjs/resources/Issuing/Cards.d.ts +183 -185
  162. package/cjs/resources/Issuing/Cards.js +2 -2
  163. package/cjs/resources/Issuing/Cards.js.map +1 -1
  164. package/cjs/resources/Issuing/Disputes.d.ts +215 -217
  165. package/cjs/resources/Issuing/Disputes.js +3 -3
  166. package/cjs/resources/Issuing/Disputes.js.map +1 -1
  167. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +47 -49
  168. package/cjs/resources/Issuing/PersonalizationDesigns.js +2 -2
  169. package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  170. package/cjs/resources/Issuing/PhysicalBundles.d.ts +24 -26
  171. package/cjs/resources/Issuing/PhysicalBundles.js +1 -1
  172. package/cjs/resources/Issuing/PhysicalBundles.js.map +1 -1
  173. package/cjs/resources/Issuing/Tokens.d.ts +130 -132
  174. package/cjs/resources/Issuing/Tokens.js +2 -2
  175. package/cjs/resources/Issuing/Tokens.js.map +1 -1
  176. package/cjs/resources/Issuing/Transactions.d.ts +223 -234
  177. package/cjs/resources/Issuing/Transactions.js +2 -2
  178. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  179. package/cjs/resources/Issuing/index.d.ts +30 -55
  180. package/cjs/resources/Issuing/index.js +0 -6
  181. package/cjs/resources/Issuing/index.js.map +1 -1
  182. package/cjs/resources/LineItems.d.ts +4 -30
  183. package/cjs/resources/Mandates.d.ts +1 -33
  184. package/cjs/resources/Mandates.js +1 -9
  185. package/cjs/resources/Mandates.js.map +1 -1
  186. package/cjs/resources/PaymentAttemptRecords.d.ts +9 -92
  187. package/cjs/resources/PaymentAttemptRecords.js +1 -1
  188. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  189. package/cjs/resources/PaymentIntents.d.ts +6495 -17272
  190. package/cjs/resources/PaymentIntents.js +9 -36
  191. package/cjs/resources/PaymentIntents.js.map +1 -1
  192. package/cjs/resources/PaymentLinks.d.ts +6 -19
  193. package/cjs/resources/PaymentLinks.js +3 -3
  194. package/cjs/resources/PaymentLinks.js.map +1 -1
  195. package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -350
  196. package/cjs/resources/PaymentMethodConfigurations.js +2 -2
  197. package/cjs/resources/PaymentMethodConfigurations.js.map +1 -1
  198. package/cjs/resources/PaymentMethodDomains.js +3 -3
  199. package/cjs/resources/PaymentMethodDomains.js.map +1 -1
  200. package/cjs/resources/PaymentMethods.d.ts +16 -152
  201. package/cjs/resources/PaymentMethods.js +4 -4
  202. package/cjs/resources/PaymentMethods.js.map +1 -1
  203. package/cjs/resources/PaymentRecords.d.ts +19 -102
  204. package/cjs/resources/PaymentRecords.js +7 -7
  205. package/cjs/resources/PaymentRecords.js.map +1 -1
  206. package/cjs/resources/Payouts.js +4 -4
  207. package/cjs/resources/Payouts.js.map +1 -1
  208. package/cjs/resources/Persons.d.ts +2 -2
  209. package/cjs/resources/Plans.d.ts +0 -16
  210. package/cjs/resources/Plans.js +3 -3
  211. package/cjs/resources/Plans.js.map +1 -1
  212. package/cjs/resources/Prices.d.ts +0 -52
  213. package/cjs/resources/Prices.js +2 -2
  214. package/cjs/resources/Prices.js.map +1 -1
  215. package/cjs/resources/Products.d.ts +0 -42
  216. package/cjs/resources/Products.js +7 -7
  217. package/cjs/resources/Products.js.map +1 -1
  218. package/cjs/resources/PromotionCodes.d.ts +0 -12
  219. package/cjs/resources/PromotionCodes.js +2 -29
  220. package/cjs/resources/PromotionCodes.js.map +1 -1
  221. package/cjs/resources/Quotes.d.ts +165 -2374
  222. package/cjs/resources/Quotes.js +20 -1180
  223. package/cjs/resources/Quotes.js.map +1 -1
  224. package/cjs/resources/Radar/EarlyFraudWarnings.js +1 -1
  225. package/cjs/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  226. package/cjs/resources/Radar/PaymentEvaluations.d.ts +294 -296
  227. package/cjs/resources/Radar/ValueListItems.d.ts +14 -16
  228. package/cjs/resources/Radar/ValueListItems.js +2 -2
  229. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  230. package/cjs/resources/Radar/ValueLists.d.ts +18 -20
  231. package/cjs/resources/Radar/ValueLists.js +3 -3
  232. package/cjs/resources/Radar/ValueLists.js.map +1 -1
  233. package/cjs/resources/Radar/index.d.ts +8 -6
  234. package/cjs/resources/Radar/index.js.map +1 -1
  235. package/cjs/resources/Refunds.d.ts +0 -11
  236. package/cjs/resources/Refunds.js +3 -3
  237. package/cjs/resources/Refunds.js.map +1 -1
  238. package/cjs/resources/Reporting/ReportRuns.d.ts +35 -37
  239. package/cjs/resources/Reporting/ReportRuns.js +1 -1
  240. package/cjs/resources/Reporting/ReportRuns.js.map +1 -1
  241. package/cjs/resources/Reporting/ReportTypes.js +1 -1
  242. package/cjs/resources/Reporting/ReportTypes.js.map +1 -1
  243. package/cjs/resources/Reporting/index.d.ts +2 -2
  244. package/cjs/resources/Reserve/Holds.d.ts +24 -64
  245. package/cjs/resources/Reserve/Holds.js +0 -19
  246. package/cjs/resources/Reserve/Holds.js.map +1 -1
  247. package/cjs/resources/Reserve/Plans.d.ts +25 -43
  248. package/cjs/resources/Reserve/Plans.js +0 -11
  249. package/cjs/resources/Reserve/Plans.js.map +1 -1
  250. package/cjs/resources/Reserve/Releases.d.ts +17 -59
  251. package/cjs/resources/Reserve/Releases.js +0 -19
  252. package/cjs/resources/Reserve/Releases.js.map +1 -1
  253. package/cjs/resources/Reserve/index.d.ts +3 -14
  254. package/cjs/resources/Reserve/index.js +0 -9
  255. package/cjs/resources/Reserve/index.js.map +1 -1
  256. package/cjs/resources/Reviews.js +2 -2
  257. package/cjs/resources/Reviews.js.map +1 -1
  258. package/cjs/resources/SetupAttempts.d.ts +8 -26
  259. package/cjs/resources/SetupIntents.d.ts +14 -333
  260. package/cjs/resources/SetupIntents.js +5 -5
  261. package/cjs/resources/SetupIntents.js.map +1 -1
  262. package/cjs/resources/ShippingRates.js +2 -2
  263. package/cjs/resources/ShippingRates.js.map +1 -1
  264. package/cjs/resources/Sigma/ScheduledQueryRuns.d.ts +7 -9
  265. package/cjs/resources/Sigma/ScheduledQueryRuns.js +1 -1
  266. package/cjs/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  267. package/cjs/resources/Sigma/index.d.ts +1 -1
  268. package/cjs/resources/Sources.d.ts +1 -16
  269. package/cjs/resources/Sources.js +4 -4
  270. package/cjs/resources/Sources.js.map +1 -1
  271. package/cjs/resources/SubscriptionItems.d.ts +0 -143
  272. package/cjs/resources/SubscriptionItems.js +3 -3
  273. package/cjs/resources/SubscriptionItems.js.map +1 -1
  274. package/cjs/resources/SubscriptionSchedules.d.ts +4 -1155
  275. package/cjs/resources/SubscriptionSchedules.js +4 -10
  276. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  277. package/cjs/resources/Subscriptions.d.ts +61 -560
  278. package/cjs/resources/Subscriptions.js +7 -152
  279. package/cjs/resources/Subscriptions.js.map +1 -1
  280. package/cjs/resources/Tax/Associations.d.ts +24 -26
  281. package/cjs/resources/Tax/CalculationLineItems.d.ts +56 -62
  282. package/cjs/resources/Tax/Calculations.d.ts +158 -164
  283. package/cjs/resources/Tax/Calculations.js +2 -2
  284. package/cjs/resources/Tax/Calculations.js.map +1 -1
  285. package/cjs/resources/Tax/Registrations.d.ts +1095 -1233
  286. package/cjs/resources/Tax/Registrations.js +2 -2
  287. package/cjs/resources/Tax/Registrations.js.map +1 -1
  288. package/cjs/resources/Tax/Settings.d.ts +37 -39
  289. package/cjs/resources/Tax/TransactionLineItems.d.ts +11 -13
  290. package/cjs/resources/Tax/Transactions.d.ts +113 -115
  291. package/cjs/resources/Tax/Transactions.js +2 -2
  292. package/cjs/resources/Tax/Transactions.js.map +1 -1
  293. package/cjs/resources/Tax/index.d.ts +18 -32
  294. package/cjs/resources/Tax/index.js +0 -4
  295. package/cjs/resources/Tax/index.js.map +1 -1
  296. package/cjs/resources/TaxCodes.d.ts +0 -15
  297. package/cjs/resources/TaxCodes.js +1 -1
  298. package/cjs/resources/TaxCodes.js.map +1 -1
  299. package/cjs/resources/TaxIds.js +2 -2
  300. package/cjs/resources/TaxIds.js.map +1 -1
  301. package/cjs/resources/TaxRates.js +2 -2
  302. package/cjs/resources/TaxRates.js.map +1 -1
  303. package/cjs/resources/Terminal/Configurations.d.ts +479 -508
  304. package/cjs/resources/Terminal/Configurations.js +3 -3
  305. package/cjs/resources/Terminal/Configurations.js.map +1 -1
  306. package/cjs/resources/Terminal/Locations.d.ts +72 -74
  307. package/cjs/resources/Terminal/Locations.js +3 -3
  308. package/cjs/resources/Terminal/Locations.js.map +1 -1
  309. package/cjs/resources/Terminal/OnboardingLinks.d.ts +16 -18
  310. package/cjs/resources/Terminal/Readers.d.ts +479 -497
  311. package/cjs/resources/Terminal/Readers.js +11 -11
  312. package/cjs/resources/Terminal/Readers.js.map +1 -1
  313. package/cjs/resources/Terminal/index.d.ts +11 -13
  314. package/cjs/resources/Terminal/index.js +0 -2
  315. package/cjs/resources/Terminal/index.js.map +1 -1
  316. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +2 -79
  317. package/cjs/resources/TestHelpers/Customers.js +1 -1
  318. package/cjs/resources/TestHelpers/Customers.js.map +1 -1
  319. package/cjs/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  320. package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  321. package/cjs/resources/TestHelpers/Issuing/Cards.js +5 -5
  322. package/cjs/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  323. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  324. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  325. package/cjs/resources/TestHelpers/Issuing/Transactions.js +1 -1
  326. package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  327. package/cjs/resources/TestHelpers/Refunds.js +1 -1
  328. package/cjs/resources/TestHelpers/Refunds.js.map +1 -1
  329. package/cjs/resources/TestHelpers/Terminal/Readers.js +3 -3
  330. package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  331. package/cjs/resources/TestHelpers/TestClocks.d.ts +27 -29
  332. package/cjs/resources/TestHelpers/TestClocks.js +3 -3
  333. package/cjs/resources/TestHelpers/TestClocks.js.map +1 -1
  334. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  335. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  336. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  337. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  338. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  339. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  340. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  341. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  342. package/cjs/resources/TestHelpers/index.d.ts +3 -5
  343. package/cjs/resources/TestHelpers/index.js +4 -6
  344. package/cjs/resources/TestHelpers/index.js.map +1 -1
  345. package/cjs/resources/Tokens.js +1 -1
  346. package/cjs/resources/Tokens.js.map +1 -1
  347. package/cjs/resources/Topups.d.ts +18 -0
  348. package/cjs/resources/Topups.js +3 -3
  349. package/cjs/resources/Topups.js.map +1 -1
  350. package/cjs/resources/Transfers.d.ts +0 -8
  351. package/cjs/resources/Transfers.js +6 -6
  352. package/cjs/resources/Transfers.js.map +1 -1
  353. package/cjs/resources/Treasury/CreditReversals.d.ts +11 -13
  354. package/cjs/resources/Treasury/CreditReversals.js +1 -1
  355. package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
  356. package/cjs/resources/Treasury/DebitReversals.d.ts +18 -20
  357. package/cjs/resources/Treasury/DebitReversals.js +1 -1
  358. package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
  359. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +252 -259
  360. package/cjs/resources/Treasury/FinancialAccounts.d.ts +88 -123
  361. package/cjs/resources/Treasury/FinancialAccounts.js +5 -5
  362. package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
  363. package/cjs/resources/Treasury/InboundTransfers.d.ts +79 -81
  364. package/cjs/resources/Treasury/InboundTransfers.js +2 -2
  365. package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
  366. package/cjs/resources/Treasury/OutboundPayments.d.ts +125 -135
  367. package/cjs/resources/Treasury/OutboundPayments.js +2 -2
  368. package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
  369. package/cjs/resources/Treasury/OutboundTransfers.d.ts +114 -160
  370. package/cjs/resources/Treasury/OutboundTransfers.js +2 -2
  371. package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
  372. package/cjs/resources/Treasury/ReceivedCredits.d.ts +118 -142
  373. package/cjs/resources/Treasury/ReceivedCredits.js +1 -1
  374. package/cjs/resources/Treasury/ReceivedCredits.js.map +1 -1
  375. package/cjs/resources/Treasury/ReceivedDebits.d.ts +86 -114
  376. package/cjs/resources/Treasury/ReceivedDebits.js +1 -1
  377. package/cjs/resources/Treasury/ReceivedDebits.js.map +1 -1
  378. package/cjs/resources/Treasury/TransactionEntries.d.ts +75 -77
  379. package/cjs/resources/Treasury/TransactionEntries.js +1 -1
  380. package/cjs/resources/Treasury/TransactionEntries.js.map +1 -1
  381. package/cjs/resources/Treasury/Transactions.d.ts +86 -88
  382. package/cjs/resources/Treasury/Transactions.js +1 -1
  383. package/cjs/resources/Treasury/Transactions.js.map +1 -1
  384. package/cjs/resources/Treasury/index.d.ts +10 -10
  385. package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +9 -13
  386. package/cjs/resources/V2/Billing/index.d.ts +9 -48
  387. package/cjs/resources/V2/Billing/index.js +0 -8
  388. package/cjs/resources/V2/Billing/index.js.map +1 -1
  389. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  390. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
  391. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
  392. package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +132 -131
  393. package/cjs/resources/V2/Core/AccountLinks.d.ts +81 -85
  394. package/cjs/resources/V2/Core/AccountPersons.d.ts +369 -373
  395. package/cjs/resources/V2/Core/AccountTokens.d.ts +0 -10
  396. package/cjs/resources/V2/Core/AccountTokens.js +1 -1
  397. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  398. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  399. package/cjs/resources/V2/Core/Accounts/PersonTokens.js +3 -3
  400. package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  401. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  402. package/cjs/resources/V2/Core/Accounts/Persons.js +7 -7
  403. package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
  404. package/cjs/resources/V2/Core/Accounts.d.ts +3043 -4006
  405. package/cjs/resources/V2/Core/Accounts.js +3 -3
  406. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  407. package/cjs/resources/V2/Core/EventDestinations.d.ts +78 -82
  408. package/cjs/resources/V2/Core/EventDestinations.js +6 -6
  409. package/cjs/resources/V2/Core/EventDestinations.js.map +1 -1
  410. package/cjs/resources/V2/Core/Events.d.ts +31 -1154
  411. package/cjs/resources/V2/Core/Events.js +1 -1
  412. package/cjs/resources/V2/Core/Events.js.map +1 -1
  413. package/cjs/resources/V2/Core/index.d.ts +14 -24
  414. package/cjs/resources/V2/Core/index.js +0 -4
  415. package/cjs/resources/V2/Core/index.js.map +1 -1
  416. package/cjs/resources/V2/index.d.ts +0 -27
  417. package/cjs/resources/V2/index.js +0 -14
  418. package/cjs/resources/V2/index.js.map +1 -1
  419. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  420. package/cjs/resources/WebhookEndpoints.js +3 -3
  421. package/cjs/resources/WebhookEndpoints.js.map +1 -1
  422. package/cjs/resources.d.ts +0 -10
  423. package/cjs/resources.js +10 -146
  424. package/cjs/resources.js.map +1 -1
  425. package/cjs/stripe.cjs.node.d.ts +14384 -3
  426. package/cjs/stripe.cjs.node.js +1 -4
  427. package/cjs/stripe.cjs.node.js.map +1 -1
  428. package/cjs/stripe.core.d.ts +69 -62
  429. package/cjs/stripe.core.js +37 -55
  430. package/cjs/stripe.core.js.map +1 -1
  431. package/cjs/utils.d.ts +1 -1
  432. package/cjs/utils.js +13 -2
  433. package/cjs/utils.js.map +1 -1
  434. package/esm/Error.d.ts +0 -50
  435. package/esm/Error.js +0 -109
  436. package/esm/Error.js.map +1 -1
  437. package/esm/RequestSender.d.ts +2 -1
  438. package/esm/RequestSender.js +10 -2
  439. package/esm/RequestSender.js.map +1 -1
  440. package/esm/Types.d.ts +2 -4
  441. package/esm/Types.js.map +1 -1
  442. package/esm/apiVersion.d.ts +2 -1
  443. package/esm/apiVersion.js +2 -1
  444. package/esm/apiVersion.js.map +1 -1
  445. package/esm/autoPagination.js +27 -2
  446. package/esm/autoPagination.js.map +1 -1
  447. package/esm/platform/NodePlatformFunctions.d.ts +3 -0
  448. package/esm/platform/NodePlatformFunctions.js +36 -2
  449. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  450. package/esm/platform/PlatformFunctions.d.ts +1 -0
  451. package/esm/platform/PlatformFunctions.js +3 -0
  452. package/esm/platform/PlatformFunctions.js.map +1 -1
  453. package/esm/resources/AccountLinks.d.ts +1 -1
  454. package/esm/resources/AccountSessions.d.ts +0 -262
  455. package/esm/resources/AccountSessions.js.map +1 -1
  456. package/esm/resources/Accounts.d.ts +5 -829
  457. package/esm/resources/Accounts.js +18 -32
  458. package/esm/resources/Accounts.js.map +1 -1
  459. package/esm/resources/ApplePayDomains.js +2 -2
  460. package/esm/resources/ApplePayDomains.js.map +1 -1
  461. package/esm/resources/ApplicationFees.js +5 -5
  462. package/esm/resources/ApplicationFees.js.map +1 -1
  463. package/esm/resources/Apps/Secrets.d.ts +14 -16
  464. package/esm/resources/Apps/index.d.ts +1 -1
  465. package/esm/resources/Balance.d.ts +0 -67
  466. package/esm/resources/BalanceTransactions.d.ts +5 -5
  467. package/esm/resources/BalanceTransactions.js +3 -3
  468. package/esm/resources/BalanceTransactions.js.map +1 -1
  469. package/esm/resources/BankAccounts.d.ts +2 -2
  470. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
  471. package/esm/resources/Billing/Alerts.d.ts +27 -29
  472. package/esm/resources/Billing/Alerts.js +4 -4
  473. package/esm/resources/Billing/Alerts.js.map +1 -1
  474. package/esm/resources/Billing/CreditBalanceSummary.d.ts +40 -42
  475. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +74 -76
  476. package/esm/resources/Billing/CreditBalanceTransactions.js +1 -1
  477. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  478. package/esm/resources/Billing/CreditGrants.d.ts +41 -43
  479. package/esm/resources/Billing/CreditGrants.js +4 -4
  480. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  481. package/esm/resources/Billing/MeterEventAdjustments.d.ts +9 -11
  482. package/esm/resources/Billing/Meters.d.ts +39 -41
  483. package/esm/resources/Billing/Meters.js +5 -5
  484. package/esm/resources/Billing/Meters.js.map +1 -1
  485. package/esm/resources/Billing/index.d.ts +7 -10
  486. package/esm/resources/Billing/index.js +0 -2
  487. package/esm/resources/Billing/index.js.map +1 -1
  488. package/esm/resources/BillingPortal/Configurations.d.ts +132 -134
  489. package/esm/resources/BillingPortal/Configurations.js +2 -2
  490. package/esm/resources/BillingPortal/Configurations.js.map +1 -1
  491. package/esm/resources/BillingPortal/Sessions.d.ts +100 -102
  492. package/esm/resources/BillingPortal/index.d.ts +2 -2
  493. package/esm/resources/Capabilities.d.ts +2 -2
  494. package/esm/resources/Cards.d.ts +0 -4
  495. package/esm/resources/Charges.d.ts +84 -3066
  496. package/esm/resources/Charges.js +3 -3
  497. package/esm/resources/Charges.js.map +1 -1
  498. package/esm/resources/Checkout/Sessions.d.ts +1598 -1900
  499. package/esm/resources/Checkout/Sessions.js +4 -4
  500. package/esm/resources/Checkout/Sessions.js.map +1 -1
  501. package/esm/resources/Checkout/index.d.ts +1 -1
  502. package/esm/resources/Climate/Orders.d.ts +47 -49
  503. package/esm/resources/Climate/Orders.js +3 -3
  504. package/esm/resources/Climate/Orders.js.map +1 -1
  505. package/esm/resources/Climate/Products.d.ts +15 -17
  506. package/esm/resources/Climate/Products.js +1 -1
  507. package/esm/resources/Climate/Products.js.map +1 -1
  508. package/esm/resources/Climate/Suppliers.d.ts +25 -27
  509. package/esm/resources/Climate/Suppliers.js +1 -1
  510. package/esm/resources/Climate/Suppliers.js.map +1 -1
  511. package/esm/resources/Climate/index.d.ts +3 -3
  512. package/esm/resources/ConfirmationTokens.d.ts +13 -67
  513. package/esm/resources/ConfirmationTokens.js +1 -1
  514. package/esm/resources/ConfirmationTokens.js.map +1 -1
  515. package/esm/resources/CountrySpecs.js +1 -1
  516. package/esm/resources/CountrySpecs.js.map +1 -1
  517. package/esm/resources/Coupons.d.ts +0 -53
  518. package/esm/resources/Coupons.js +3 -16
  519. package/esm/resources/Coupons.js.map +1 -1
  520. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  521. package/esm/resources/CreditNotes.d.ts +8 -5
  522. package/esm/resources/CreditNotes.js +6 -4
  523. package/esm/resources/CreditNotes.js.map +1 -1
  524. package/esm/resources/CustomerSessions.d.ts +0 -68
  525. package/esm/resources/Customers.d.ts +1 -7
  526. package/esm/resources/Customers.js +31 -41
  527. package/esm/resources/Customers.js.map +1 -1
  528. package/esm/resources/Disputes.d.ts +28 -30
  529. package/esm/resources/Disputes.js +3 -3
  530. package/esm/resources/Disputes.js.map +1 -1
  531. package/esm/resources/Entitlements/ActiveEntitlements.js +1 -1
  532. package/esm/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  533. package/esm/resources/Entitlements/Features.js +2 -2
  534. package/esm/resources/Entitlements/Features.js.map +1 -1
  535. package/esm/resources/Entitlements/index.d.ts +2 -2
  536. package/esm/resources/EphemeralKeys.js +1 -1
  537. package/esm/resources/EphemeralKeys.js.map +1 -1
  538. package/esm/resources/Events.d.ts +3 -548
  539. package/esm/resources/Events.js +1 -1
  540. package/esm/resources/Events.js.map +1 -1
  541. package/esm/resources/ExchangeRates.js +1 -1
  542. package/esm/resources/ExchangeRates.js.map +1 -1
  543. package/esm/resources/ExternalAccounts.d.ts +1 -212
  544. package/esm/resources/ExternalAccounts.js +1 -42
  545. package/esm/resources/ExternalAccounts.js.map +1 -1
  546. package/esm/resources/FileLinks.js +2 -2
  547. package/esm/resources/FileLinks.js.map +1 -1
  548. package/esm/resources/Files.js +1 -1
  549. package/esm/resources/Files.js.map +1 -1
  550. package/esm/resources/FinancialConnections/Accounts.d.ts +169 -217
  551. package/esm/resources/FinancialConnections/Accounts.js +6 -14
  552. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  553. package/esm/resources/FinancialConnections/Sessions.d.ts +43 -193
  554. package/esm/resources/FinancialConnections/Sessions.js +1 -1
  555. package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
  556. package/esm/resources/FinancialConnections/Transactions.d.ts +13 -15
  557. package/esm/resources/FinancialConnections/Transactions.js +1 -1
  558. package/esm/resources/FinancialConnections/Transactions.js.map +1 -1
  559. package/esm/resources/FinancialConnections/index.d.ts +9 -24
  560. package/esm/resources/FinancialConnections/index.js +0 -4
  561. package/esm/resources/FinancialConnections/index.js.map +1 -1
  562. package/esm/resources/Forwarding/Requests.d.ts +57 -59
  563. package/esm/resources/Forwarding/Requests.js +1 -1
  564. package/esm/resources/Forwarding/Requests.js.map +1 -1
  565. package/esm/resources/Forwarding/index.d.ts +1 -1
  566. package/esm/resources/Identity/VerificationReports.d.ts +255 -257
  567. package/esm/resources/Identity/VerificationReports.js +1 -1
  568. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  569. package/esm/resources/Identity/VerificationSessions.d.ts +148 -150
  570. package/esm/resources/Identity/VerificationSessions.js +4 -4
  571. package/esm/resources/Identity/VerificationSessions.js.map +1 -1
  572. package/esm/resources/Identity/index.d.ts +2 -2
  573. package/esm/resources/InvoiceItems.d.ts +0 -85
  574. package/esm/resources/InvoiceItems.js +3 -3
  575. package/esm/resources/InvoiceItems.js.map +1 -1
  576. package/esm/resources/InvoiceLineItems.d.ts +2 -40
  577. package/esm/resources/InvoicePayments.js +1 -1
  578. package/esm/resources/InvoicePayments.js.map +1 -1
  579. package/esm/resources/InvoiceRenderingTemplates.js +3 -3
  580. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  581. package/esm/resources/Invoices.d.ts +23 -1341
  582. package/esm/resources/Invoices.js +14 -55
  583. package/esm/resources/Invoices.js.map +1 -1
  584. package/esm/resources/Issuing/Authorizations.d.ts +354 -356
  585. package/esm/resources/Issuing/Authorizations.js +4 -4
  586. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  587. package/esm/resources/Issuing/Cardholders.d.ts +144 -147
  588. package/esm/resources/Issuing/Cardholders.js +2 -2
  589. package/esm/resources/Issuing/Cardholders.js.map +1 -1
  590. package/esm/resources/Issuing/Cards.d.ts +183 -185
  591. package/esm/resources/Issuing/Cards.js +2 -2
  592. package/esm/resources/Issuing/Cards.js.map +1 -1
  593. package/esm/resources/Issuing/Disputes.d.ts +215 -217
  594. package/esm/resources/Issuing/Disputes.js +3 -3
  595. package/esm/resources/Issuing/Disputes.js.map +1 -1
  596. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +47 -49
  597. package/esm/resources/Issuing/PersonalizationDesigns.js +2 -2
  598. package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  599. package/esm/resources/Issuing/PhysicalBundles.d.ts +24 -26
  600. package/esm/resources/Issuing/PhysicalBundles.js +1 -1
  601. package/esm/resources/Issuing/PhysicalBundles.js.map +1 -1
  602. package/esm/resources/Issuing/Tokens.d.ts +130 -132
  603. package/esm/resources/Issuing/Tokens.js +2 -2
  604. package/esm/resources/Issuing/Tokens.js.map +1 -1
  605. package/esm/resources/Issuing/Transactions.d.ts +223 -234
  606. package/esm/resources/Issuing/Transactions.js +2 -2
  607. package/esm/resources/Issuing/Transactions.js.map +1 -1
  608. package/esm/resources/Issuing/index.d.ts +30 -55
  609. package/esm/resources/Issuing/index.js +0 -6
  610. package/esm/resources/Issuing/index.js.map +1 -1
  611. package/esm/resources/LineItems.d.ts +4 -30
  612. package/esm/resources/Mandates.d.ts +1 -33
  613. package/esm/resources/Mandates.js +1 -9
  614. package/esm/resources/Mandates.js.map +1 -1
  615. package/esm/resources/PaymentAttemptRecords.d.ts +9 -92
  616. package/esm/resources/PaymentAttemptRecords.js +1 -1
  617. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  618. package/esm/resources/PaymentIntents.d.ts +6495 -17272
  619. package/esm/resources/PaymentIntents.js +9 -36
  620. package/esm/resources/PaymentIntents.js.map +1 -1
  621. package/esm/resources/PaymentLinks.d.ts +6 -19
  622. package/esm/resources/PaymentLinks.js +3 -3
  623. package/esm/resources/PaymentLinks.js.map +1 -1
  624. package/esm/resources/PaymentMethodConfigurations.d.ts +0 -350
  625. package/esm/resources/PaymentMethodConfigurations.js +2 -2
  626. package/esm/resources/PaymentMethodConfigurations.js.map +1 -1
  627. package/esm/resources/PaymentMethodDomains.js +3 -3
  628. package/esm/resources/PaymentMethodDomains.js.map +1 -1
  629. package/esm/resources/PaymentMethods.d.ts +16 -152
  630. package/esm/resources/PaymentMethods.js +4 -4
  631. package/esm/resources/PaymentMethods.js.map +1 -1
  632. package/esm/resources/PaymentRecords.d.ts +19 -102
  633. package/esm/resources/PaymentRecords.js +7 -7
  634. package/esm/resources/PaymentRecords.js.map +1 -1
  635. package/esm/resources/Payouts.js +4 -4
  636. package/esm/resources/Payouts.js.map +1 -1
  637. package/esm/resources/Persons.d.ts +2 -2
  638. package/esm/resources/Plans.d.ts +0 -16
  639. package/esm/resources/Plans.js +3 -3
  640. package/esm/resources/Plans.js.map +1 -1
  641. package/esm/resources/Prices.d.ts +0 -52
  642. package/esm/resources/Prices.js +2 -2
  643. package/esm/resources/Prices.js.map +1 -1
  644. package/esm/resources/Products.d.ts +0 -42
  645. package/esm/resources/Products.js +7 -7
  646. package/esm/resources/Products.js.map +1 -1
  647. package/esm/resources/PromotionCodes.d.ts +0 -12
  648. package/esm/resources/PromotionCodes.js +2 -29
  649. package/esm/resources/PromotionCodes.js.map +1 -1
  650. package/esm/resources/Quotes.d.ts +165 -2374
  651. package/esm/resources/Quotes.js +20 -1180
  652. package/esm/resources/Quotes.js.map +1 -1
  653. package/esm/resources/Radar/EarlyFraudWarnings.js +1 -1
  654. package/esm/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  655. package/esm/resources/Radar/PaymentEvaluations.d.ts +294 -296
  656. package/esm/resources/Radar/ValueListItems.d.ts +14 -16
  657. package/esm/resources/Radar/ValueListItems.js +2 -2
  658. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  659. package/esm/resources/Radar/ValueLists.d.ts +18 -20
  660. package/esm/resources/Radar/ValueLists.js +3 -3
  661. package/esm/resources/Radar/ValueLists.js.map +1 -1
  662. package/esm/resources/Radar/index.d.ts +8 -6
  663. package/esm/resources/Radar/index.js.map +1 -1
  664. package/esm/resources/Refunds.d.ts +0 -11
  665. package/esm/resources/Refunds.js +3 -3
  666. package/esm/resources/Refunds.js.map +1 -1
  667. package/esm/resources/Reporting/ReportRuns.d.ts +35 -37
  668. package/esm/resources/Reporting/ReportRuns.js +1 -1
  669. package/esm/resources/Reporting/ReportRuns.js.map +1 -1
  670. package/esm/resources/Reporting/ReportTypes.js +1 -1
  671. package/esm/resources/Reporting/ReportTypes.js.map +1 -1
  672. package/esm/resources/Reporting/index.d.ts +2 -2
  673. package/esm/resources/Reserve/Holds.d.ts +24 -64
  674. package/esm/resources/Reserve/Holds.js +1 -17
  675. package/esm/resources/Reserve/Holds.js.map +1 -1
  676. package/esm/resources/Reserve/Plans.d.ts +25 -43
  677. package/esm/resources/Reserve/Plans.js +1 -9
  678. package/esm/resources/Reserve/Plans.js.map +1 -1
  679. package/esm/resources/Reserve/Releases.d.ts +17 -59
  680. package/esm/resources/Reserve/Releases.js +1 -17
  681. package/esm/resources/Reserve/Releases.js.map +1 -1
  682. package/esm/resources/Reserve/index.d.ts +3 -14
  683. package/esm/resources/Reserve/index.js +0 -9
  684. package/esm/resources/Reserve/index.js.map +1 -1
  685. package/esm/resources/Reviews.js +2 -2
  686. package/esm/resources/Reviews.js.map +1 -1
  687. package/esm/resources/SetupAttempts.d.ts +8 -26
  688. package/esm/resources/SetupIntents.d.ts +14 -333
  689. package/esm/resources/SetupIntents.js +5 -5
  690. package/esm/resources/SetupIntents.js.map +1 -1
  691. package/esm/resources/ShippingRates.js +2 -2
  692. package/esm/resources/ShippingRates.js.map +1 -1
  693. package/esm/resources/Sigma/ScheduledQueryRuns.d.ts +7 -9
  694. package/esm/resources/Sigma/ScheduledQueryRuns.js +1 -1
  695. package/esm/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  696. package/esm/resources/Sigma/index.d.ts +1 -1
  697. package/esm/resources/Sources.d.ts +1 -16
  698. package/esm/resources/Sources.js +4 -4
  699. package/esm/resources/Sources.js.map +1 -1
  700. package/esm/resources/SubscriptionItems.d.ts +0 -143
  701. package/esm/resources/SubscriptionItems.js +3 -3
  702. package/esm/resources/SubscriptionItems.js.map +1 -1
  703. package/esm/resources/SubscriptionSchedules.d.ts +4 -1155
  704. package/esm/resources/SubscriptionSchedules.js +4 -10
  705. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  706. package/esm/resources/Subscriptions.d.ts +61 -560
  707. package/esm/resources/Subscriptions.js +7 -152
  708. package/esm/resources/Subscriptions.js.map +1 -1
  709. package/esm/resources/Tax/Associations.d.ts +24 -26
  710. package/esm/resources/Tax/CalculationLineItems.d.ts +56 -62
  711. package/esm/resources/Tax/Calculations.d.ts +158 -164
  712. package/esm/resources/Tax/Calculations.js +2 -2
  713. package/esm/resources/Tax/Calculations.js.map +1 -1
  714. package/esm/resources/Tax/Registrations.d.ts +1095 -1233
  715. package/esm/resources/Tax/Registrations.js +2 -2
  716. package/esm/resources/Tax/Registrations.js.map +1 -1
  717. package/esm/resources/Tax/Settings.d.ts +37 -39
  718. package/esm/resources/Tax/TransactionLineItems.d.ts +11 -13
  719. package/esm/resources/Tax/Transactions.d.ts +113 -115
  720. package/esm/resources/Tax/Transactions.js +2 -2
  721. package/esm/resources/Tax/Transactions.js.map +1 -1
  722. package/esm/resources/Tax/index.d.ts +18 -32
  723. package/esm/resources/Tax/index.js +0 -4
  724. package/esm/resources/Tax/index.js.map +1 -1
  725. package/esm/resources/TaxCodes.d.ts +0 -15
  726. package/esm/resources/TaxCodes.js +1 -1
  727. package/esm/resources/TaxCodes.js.map +1 -1
  728. package/esm/resources/TaxIds.js +2 -2
  729. package/esm/resources/TaxIds.js.map +1 -1
  730. package/esm/resources/TaxRates.js +2 -2
  731. package/esm/resources/TaxRates.js.map +1 -1
  732. package/esm/resources/Terminal/Configurations.d.ts +479 -508
  733. package/esm/resources/Terminal/Configurations.js +3 -3
  734. package/esm/resources/Terminal/Configurations.js.map +1 -1
  735. package/esm/resources/Terminal/Locations.d.ts +72 -74
  736. package/esm/resources/Terminal/Locations.js +3 -3
  737. package/esm/resources/Terminal/Locations.js.map +1 -1
  738. package/esm/resources/Terminal/OnboardingLinks.d.ts +16 -18
  739. package/esm/resources/Terminal/Readers.d.ts +479 -497
  740. package/esm/resources/Terminal/Readers.js +11 -11
  741. package/esm/resources/Terminal/Readers.js.map +1 -1
  742. package/esm/resources/Terminal/index.d.ts +11 -13
  743. package/esm/resources/Terminal/index.js +0 -2
  744. package/esm/resources/Terminal/index.js.map +1 -1
  745. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +2 -79
  746. package/esm/resources/TestHelpers/Customers.js +1 -1
  747. package/esm/resources/TestHelpers/Customers.js.map +1 -1
  748. package/esm/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  749. package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  750. package/esm/resources/TestHelpers/Issuing/Cards.js +5 -5
  751. package/esm/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  752. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  753. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  754. package/esm/resources/TestHelpers/Issuing/Transactions.js +1 -1
  755. package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  756. package/esm/resources/TestHelpers/Refunds.js +1 -1
  757. package/esm/resources/TestHelpers/Refunds.js.map +1 -1
  758. package/esm/resources/TestHelpers/Terminal/Readers.js +3 -3
  759. package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  760. package/esm/resources/TestHelpers/TestClocks.d.ts +27 -29
  761. package/esm/resources/TestHelpers/TestClocks.js +3 -3
  762. package/esm/resources/TestHelpers/TestClocks.js.map +1 -1
  763. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  764. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  765. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  766. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  767. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  768. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  769. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  770. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  771. package/esm/resources/TestHelpers/index.d.ts +3 -5
  772. package/esm/resources/TestHelpers/index.js +0 -2
  773. package/esm/resources/TestHelpers/index.js.map +1 -1
  774. package/esm/resources/Tokens.js +1 -1
  775. package/esm/resources/Tokens.js.map +1 -1
  776. package/esm/resources/Topups.d.ts +18 -0
  777. package/esm/resources/Topups.js +3 -3
  778. package/esm/resources/Topups.js.map +1 -1
  779. package/esm/resources/Transfers.d.ts +0 -8
  780. package/esm/resources/Transfers.js +6 -6
  781. package/esm/resources/Transfers.js.map +1 -1
  782. package/esm/resources/Treasury/CreditReversals.d.ts +11 -13
  783. package/esm/resources/Treasury/CreditReversals.js +1 -1
  784. package/esm/resources/Treasury/CreditReversals.js.map +1 -1
  785. package/esm/resources/Treasury/DebitReversals.d.ts +18 -20
  786. package/esm/resources/Treasury/DebitReversals.js +1 -1
  787. package/esm/resources/Treasury/DebitReversals.js.map +1 -1
  788. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +252 -259
  789. package/esm/resources/Treasury/FinancialAccounts.d.ts +88 -123
  790. package/esm/resources/Treasury/FinancialAccounts.js +5 -5
  791. package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
  792. package/esm/resources/Treasury/InboundTransfers.d.ts +79 -81
  793. package/esm/resources/Treasury/InboundTransfers.js +2 -2
  794. package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
  795. package/esm/resources/Treasury/OutboundPayments.d.ts +125 -135
  796. package/esm/resources/Treasury/OutboundPayments.js +2 -2
  797. package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
  798. package/esm/resources/Treasury/OutboundTransfers.d.ts +114 -160
  799. package/esm/resources/Treasury/OutboundTransfers.js +2 -2
  800. package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
  801. package/esm/resources/Treasury/ReceivedCredits.d.ts +118 -142
  802. package/esm/resources/Treasury/ReceivedCredits.js +1 -1
  803. package/esm/resources/Treasury/ReceivedCredits.js.map +1 -1
  804. package/esm/resources/Treasury/ReceivedDebits.d.ts +86 -114
  805. package/esm/resources/Treasury/ReceivedDebits.js +1 -1
  806. package/esm/resources/Treasury/ReceivedDebits.js.map +1 -1
  807. package/esm/resources/Treasury/TransactionEntries.d.ts +75 -77
  808. package/esm/resources/Treasury/TransactionEntries.js +1 -1
  809. package/esm/resources/Treasury/TransactionEntries.js.map +1 -1
  810. package/esm/resources/Treasury/Transactions.d.ts +86 -88
  811. package/esm/resources/Treasury/Transactions.js +1 -1
  812. package/esm/resources/Treasury/Transactions.js.map +1 -1
  813. package/esm/resources/Treasury/index.d.ts +10 -10
  814. package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +9 -13
  815. package/esm/resources/V2/Billing/index.d.ts +9 -48
  816. package/esm/resources/V2/Billing/index.js +0 -8
  817. package/esm/resources/V2/Billing/index.js.map +1 -1
  818. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  819. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
  820. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
  821. package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +132 -131
  822. package/esm/resources/V2/Core/AccountLinks.d.ts +81 -85
  823. package/esm/resources/V2/Core/AccountPersons.d.ts +369 -373
  824. package/esm/resources/V2/Core/AccountTokens.d.ts +0 -10
  825. package/esm/resources/V2/Core/AccountTokens.js +1 -1
  826. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  827. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  828. package/esm/resources/V2/Core/Accounts/PersonTokens.js +3 -3
  829. package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  830. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  831. package/esm/resources/V2/Core/Accounts/Persons.js +7 -7
  832. package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
  833. package/esm/resources/V2/Core/Accounts.d.ts +3043 -4006
  834. package/esm/resources/V2/Core/Accounts.js +3 -3
  835. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  836. package/esm/resources/V2/Core/EventDestinations.d.ts +78 -82
  837. package/esm/resources/V2/Core/EventDestinations.js +6 -6
  838. package/esm/resources/V2/Core/EventDestinations.js.map +1 -1
  839. package/esm/resources/V2/Core/Events.d.ts +31 -1154
  840. package/esm/resources/V2/Core/Events.js +1 -1
  841. package/esm/resources/V2/Core/Events.js.map +1 -1
  842. package/esm/resources/V2/Core/index.d.ts +14 -24
  843. package/esm/resources/V2/Core/index.js +0 -4
  844. package/esm/resources/V2/Core/index.js.map +1 -1
  845. package/esm/resources/V2/index.d.ts +0 -27
  846. package/esm/resources/V2/index.js +0 -14
  847. package/esm/resources/V2/index.js.map +1 -1
  848. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  849. package/esm/resources/WebhookEndpoints.js +3 -3
  850. package/esm/resources/WebhookEndpoints.js.map +1 -1
  851. package/esm/resources.d.ts +0 -10
  852. package/esm/resources.js +0 -131
  853. package/esm/resources.js.map +1 -1
  854. package/esm/stripe.core.d.ts +69 -62
  855. package/esm/stripe.core.js +7 -25
  856. package/esm/stripe.core.js.map +1 -1
  857. package/esm/stripe.esm.node.d.ts +68 -63
  858. package/esm/stripe.esm.node.js +2 -25
  859. package/esm/stripe.esm.node.js.map +1 -1
  860. package/esm/utils.d.ts +1 -1
  861. package/esm/utils.js +13 -2
  862. package/esm/utils.js.map +1 -1
  863. package/package.json +1 -1
  864. package/cjs/StripeEventNotificationHandler.d.ts +0 -19
  865. package/cjs/StripeEventNotificationHandler.js +0 -148
  866. package/cjs/StripeEventNotificationHandler.js.map +0 -1
  867. package/cjs/resources/AccountNotices.d.ts +0 -140
  868. package/cjs/resources/AccountNotices.js +0 -29
  869. package/cjs/resources/AccountNotices.js.map +0 -1
  870. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  871. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  872. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  873. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  874. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  875. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  876. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  877. package/cjs/resources/Billing/Analytics/index.js +0 -13
  878. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  879. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
  880. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  881. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  882. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
  883. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  884. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  885. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
  886. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  887. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  888. package/cjs/resources/Capital/index.d.ts +0 -25
  889. package/cjs/resources/Capital/index.js +0 -17
  890. package/cjs/resources/Capital/index.js.map +0 -1
  891. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  892. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  893. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  894. package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
  895. package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
  896. package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
  897. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
  898. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  899. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  900. package/cjs/resources/FxQuotes.d.ts +0 -212
  901. package/cjs/resources/FxQuotes.js +0 -29
  902. package/cjs/resources/FxQuotes.js.map +0 -1
  903. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  904. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
  905. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  906. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  907. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  908. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  909. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  910. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  911. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  912. package/cjs/resources/Issuing/Settlements.d.ts +0 -85
  913. package/cjs/resources/Issuing/Settlements.js +0 -4
  914. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  915. package/cjs/resources/Margins.d.ts +0 -115
  916. package/cjs/resources/Margins.js +0 -35
  917. package/cjs/resources/Margins.js.map +0 -1
  918. package/cjs/resources/Orders.d.ts +0 -4693
  919. package/cjs/resources/Orders.js +0 -457
  920. package/cjs/resources/Orders.js.map +0 -1
  921. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  922. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  923. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  924. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
  925. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  926. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  927. package/cjs/resources/Privacy/index.d.ts +0 -22
  928. package/cjs/resources/Privacy/index.js +0 -13
  929. package/cjs/resources/Privacy/index.js.map +0 -1
  930. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  931. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
  932. package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
  933. package/cjs/resources/ProductCatalog/index.d.ts +0 -12
  934. package/cjs/resources/ProductCatalog/index.js +0 -13
  935. package/cjs/resources/ProductCatalog/index.js.map +0 -1
  936. package/cjs/resources/QuoteLines.d.ts +0 -507
  937. package/cjs/resources/QuoteLines.js +0 -4
  938. package/cjs/resources/QuoteLines.js.map +0 -1
  939. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1120
  940. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  941. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  942. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -737
  943. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  944. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  945. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1095
  946. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  947. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  948. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  949. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  950. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  951. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  952. package/cjs/resources/SharedPayment/index.js +0 -15
  953. package/cjs/resources/SharedPayment/index.js.map +0 -1
  954. package/cjs/resources/Tax/Forms.d.ts +0 -230
  955. package/cjs/resources/Tax/Forms.js +0 -32
  956. package/cjs/resources/Tax/Forms.js.map +0 -1
  957. package/cjs/resources/Tax/Locations.d.ts +0 -108
  958. package/cjs/resources/Tax/Locations.js +0 -33
  959. package/cjs/resources/Tax/Locations.js.map +0 -1
  960. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  961. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  962. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  963. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  964. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  965. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  966. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  967. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  968. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  969. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  970. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  971. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  972. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  973. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  974. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  975. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
  976. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  977. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  978. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -951
  979. package/cjs/resources/V2/Billing/Cadences.js +0 -198
  980. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  981. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  982. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  983. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  984. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  985. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  986. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  987. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  988. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  989. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  990. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
  991. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  992. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  993. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
  994. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  995. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  996. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  997. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  998. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  999. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  1000. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
  1001. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  1002. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  1003. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  1004. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  1005. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  1006. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  1007. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  1008. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  1009. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  1010. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  1011. package/cjs/resources/V2/Data/index.d.ts +0 -10
  1012. package/cjs/resources/V2/Data/index.js +0 -13
  1013. package/cjs/resources/V2/Data/index.js.map +0 -1
  1014. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  1015. package/cjs/resources/V2/EventMisc.js +0 -2
  1016. package/cjs/resources/V2/EventMisc.js.map +0 -1
  1017. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  1018. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  1019. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  1020. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
  1021. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  1022. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  1023. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  1024. package/cjs/resources/V2/Extend/index.js +0 -15
  1025. package/cjs/resources/V2/Extend/index.js.map +0 -1
  1026. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  1027. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  1028. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  1029. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  1030. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  1031. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  1032. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -214
  1033. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
  1034. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  1035. package/cjs/resources/V2/Iam/index.d.ts +0 -13
  1036. package/cjs/resources/V2/Iam/index.js +0 -13
  1037. package/cjs/resources/V2/Iam/index.js.map +0 -1
  1038. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  1039. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  1040. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  1041. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  1042. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
  1043. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  1044. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  1045. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  1046. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  1047. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  1048. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  1049. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  1050. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  1051. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  1052. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  1053. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  1054. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  1055. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1056. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -300
  1057. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  1058. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1059. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  1060. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  1061. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1062. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  1063. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
  1064. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1065. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  1066. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  1067. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1068. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -295
  1069. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  1070. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1071. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  1072. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  1073. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1074. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  1075. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  1076. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1077. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  1078. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
  1079. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1080. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
  1081. package/cjs/resources/V2/MoneyManagement/index.js +0 -39
  1082. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  1083. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  1084. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  1085. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1086. package/cjs/resources/V2/Network/index.d.ts +0 -13
  1087. package/cjs/resources/V2/Network/index.js +0 -13
  1088. package/cjs/resources/V2/Network/index.js.map +0 -1
  1089. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  1090. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  1091. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1092. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1093. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  1094. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1095. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  1096. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  1097. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1098. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
  1099. package/cjs/resources/V2/TestHelpers/index.js +0 -13
  1100. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  1101. package/esm/StripeEventNotificationHandler.d.ts +0 -19
  1102. package/esm/StripeEventNotificationHandler.js +0 -144
  1103. package/esm/StripeEventNotificationHandler.js.map +0 -1
  1104. package/esm/resources/AccountNotices.d.ts +0 -140
  1105. package/esm/resources/AccountNotices.js +0 -25
  1106. package/esm/resources/AccountNotices.js.map +0 -1
  1107. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  1108. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  1109. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  1110. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  1111. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  1112. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  1113. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  1114. package/esm/resources/Billing/Analytics/index.js +0 -9
  1115. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  1116. package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
  1117. package/esm/resources/Capital/FinancingOffers.js +0 -26
  1118. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  1119. package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
  1120. package/esm/resources/Capital/FinancingSummary.js +0 -11
  1121. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  1122. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
  1123. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  1124. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  1125. package/esm/resources/Capital/index.d.ts +0 -25
  1126. package/esm/resources/Capital/index.js +0 -13
  1127. package/esm/resources/Capital/index.js.map +0 -1
  1128. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  1129. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  1130. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  1131. package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
  1132. package/esm/resources/FinancialConnections/Authorizations.js +0 -11
  1133. package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
  1134. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
  1135. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  1136. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  1137. package/esm/resources/FxQuotes.d.ts +0 -212
  1138. package/esm/resources/FxQuotes.js +0 -25
  1139. package/esm/resources/FxQuotes.js.map +0 -1
  1140. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  1141. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
  1142. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  1143. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  1144. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  1145. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  1146. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  1147. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  1148. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  1149. package/esm/resources/Issuing/Settlements.d.ts +0 -85
  1150. package/esm/resources/Issuing/Settlements.js +0 -3
  1151. package/esm/resources/Issuing/Settlements.js.map +0 -1
  1152. package/esm/resources/Margins.d.ts +0 -115
  1153. package/esm/resources/Margins.js +0 -31
  1154. package/esm/resources/Margins.js.map +0 -1
  1155. package/esm/resources/Orders.d.ts +0 -4693
  1156. package/esm/resources/Orders.js +0 -453
  1157. package/esm/resources/Orders.js.map +0 -1
  1158. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  1159. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  1160. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  1161. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
  1162. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  1163. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  1164. package/esm/resources/Privacy/index.d.ts +0 -22
  1165. package/esm/resources/Privacy/index.js +0 -9
  1166. package/esm/resources/Privacy/index.js.map +0 -1
  1167. package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  1168. package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
  1169. package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
  1170. package/esm/resources/ProductCatalog/index.d.ts +0 -12
  1171. package/esm/resources/ProductCatalog/index.js +0 -9
  1172. package/esm/resources/ProductCatalog/index.js.map +0 -1
  1173. package/esm/resources/QuoteLines.d.ts +0 -507
  1174. package/esm/resources/QuoteLines.js +0 -3
  1175. package/esm/resources/QuoteLines.js.map +0 -1
  1176. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1120
  1177. package/esm/resources/QuotePreviewInvoices.js +0 -3
  1178. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  1179. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -737
  1180. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  1181. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  1182. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1095
  1183. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  1184. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  1185. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  1186. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  1187. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  1188. package/esm/resources/SharedPayment/index.d.ts +0 -19
  1189. package/esm/resources/SharedPayment/index.js +0 -11
  1190. package/esm/resources/SharedPayment/index.js.map +0 -1
  1191. package/esm/resources/Tax/Forms.d.ts +0 -230
  1192. package/esm/resources/Tax/Forms.js +0 -28
  1193. package/esm/resources/Tax/Forms.js.map +0 -1
  1194. package/esm/resources/Tax/Locations.d.ts +0 -108
  1195. package/esm/resources/Tax/Locations.js +0 -29
  1196. package/esm/resources/Tax/Locations.js.map +0 -1
  1197. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  1198. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  1199. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  1200. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  1201. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  1202. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  1203. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  1204. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  1205. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  1206. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  1207. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  1208. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  1209. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  1210. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  1211. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  1212. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
  1213. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  1214. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  1215. package/esm/resources/V2/Billing/Cadences.d.ts +0 -951
  1216. package/esm/resources/V2/Billing/Cadences.js +0 -194
  1217. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  1218. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  1219. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  1220. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  1221. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  1222. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  1223. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  1224. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  1225. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  1226. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  1227. package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
  1228. package/esm/resources/V2/Billing/Profiles.js +0 -31
  1229. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  1230. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
  1231. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  1232. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  1233. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  1234. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  1235. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  1236. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  1237. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
  1238. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  1239. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  1240. package/esm/resources/V2/Core/Vault/index.js +0 -11
  1241. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  1242. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  1243. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  1244. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  1245. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  1246. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  1247. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  1248. package/esm/resources/V2/Data/index.d.ts +0 -10
  1249. package/esm/resources/V2/Data/index.js +0 -9
  1250. package/esm/resources/V2/Data/index.js.map +0 -1
  1251. package/esm/resources/V2/EventMisc.d.ts +0 -0
  1252. package/esm/resources/V2/EventMisc.js +0 -2
  1253. package/esm/resources/V2/EventMisc.js.map +0 -1
  1254. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  1255. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  1256. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  1257. package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
  1258. package/esm/resources/V2/Extend/Workflows.js +0 -26
  1259. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  1260. package/esm/resources/V2/Extend/index.d.ts +0 -20
  1261. package/esm/resources/V2/Extend/index.js +0 -11
  1262. package/esm/resources/V2/Extend/index.js.map +0 -1
  1263. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  1264. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  1265. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  1266. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  1267. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  1268. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  1269. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -214
  1270. package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
  1271. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  1272. package/esm/resources/V2/Iam/index.d.ts +0 -13
  1273. package/esm/resources/V2/Iam/index.js +0 -9
  1274. package/esm/resources/V2/Iam/index.js.map +0 -1
  1275. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  1276. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  1277. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  1278. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  1279. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
  1280. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  1281. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  1282. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  1283. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  1284. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  1285. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  1286. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  1287. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  1288. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  1289. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  1290. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  1291. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  1292. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1293. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -300
  1294. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  1295. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1296. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  1297. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  1298. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1299. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  1300. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
  1301. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1302. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  1303. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  1304. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1305. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -295
  1306. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  1307. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1308. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  1309. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  1310. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1311. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  1312. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  1313. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1314. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  1315. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
  1316. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1317. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
  1318. package/esm/resources/V2/MoneyManagement/index.js +0 -35
  1319. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  1320. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  1321. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  1322. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1323. package/esm/resources/V2/Network/index.d.ts +0 -13
  1324. package/esm/resources/V2/Network/index.js +0 -9
  1325. package/esm/resources/V2/Network/index.js.map +0 -1
  1326. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  1327. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  1328. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1329. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1330. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  1331. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1332. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  1333. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  1334. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1335. package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
  1336. package/esm/resources/V2/TestHelpers/index.js +0 -9
  1337. package/esm/resources/V2/TestHelpers/index.js.map +0 -1
@@ -12,15 +12,15 @@ export declare class ReaderResource extends StripeResource {
12
12
  /**
13
13
  * Deletes a Reader object.
14
14
  */
15
- del(id: string, params?: Terminal.ReaderDeleteParams, options?: RequestOptions): Promise<Response<Terminal.DeletedReader>>;
15
+ del(id: string, params?: Terminal.ReaderDeleteParams, options?: RequestOptions): Promise<Response<DeletedReader>>;
16
16
  /**
17
17
  * Retrieves a Reader object.
18
18
  */
19
- retrieve(id: string, params?: Terminal.ReaderRetrieveParams, options?: RequestOptions): Promise<Response<Reader | Terminal.DeletedReader>>;
19
+ retrieve(id: string, params?: Terminal.ReaderRetrieveParams, options?: RequestOptions): Promise<Response<Reader | DeletedReader>>;
20
20
  /**
21
21
  * Updates a Reader object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
22
22
  */
23
- update(id: string, params?: Terminal.ReaderUpdateParams, options?: RequestOptions): Promise<Response<Reader | Terminal.DeletedReader>>;
23
+ update(id: string, params?: Terminal.ReaderUpdateParams, options?: RequestOptions): Promise<Response<Reader | DeletedReader>>;
24
24
  /**
25
25
  * Returns a list of Reader objects.
26
26
  */
@@ -74,7 +74,7 @@ export interface Reader {
74
74
  /**
75
75
  * The most recent action performed by the reader.
76
76
  */
77
- action: Terminal.Reader.Action | null;
77
+ action: Reader.Action | null;
78
78
  /**
79
79
  * Always true for a deleted object
80
80
  */
@@ -86,7 +86,7 @@ export interface Reader {
86
86
  /**
87
87
  * Device type of the reader.
88
88
  */
89
- device_type: Terminal.Reader.DeviceType;
89
+ device_type: Reader.DeviceType;
90
90
  /**
91
91
  * The local IP address of the reader.
92
92
  */
@@ -118,616 +118,598 @@ export interface Reader {
118
118
  /**
119
119
  * The networking status of the reader. We do not recommend using this field in flows that may block taking payments.
120
120
  */
121
- status: Terminal.Reader.Status | null;
121
+ status: Reader.Status | null;
122
122
  }
123
- export declare namespace Terminal {
124
- interface DeletedReader {
123
+ export interface DeletedReader {
124
+ /**
125
+ * Unique identifier for the object.
126
+ */
127
+ id: string;
128
+ /**
129
+ * String representing the object's type. Objects of the same type share the same value.
130
+ */
131
+ object: 'terminal.reader';
132
+ /**
133
+ * Always true for a deleted object
134
+ */
135
+ deleted: true;
136
+ /**
137
+ * Device type of the reader.
138
+ */
139
+ device_type: DeletedReader.DeviceType;
140
+ /**
141
+ * Serial number of the reader.
142
+ */
143
+ serial_number: string;
144
+ }
145
+ export declare namespace DeletedReader {
146
+ type DeviceType = 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_v660p';
147
+ }
148
+ export declare namespace Reader {
149
+ interface Action {
125
150
  /**
126
- * Unique identifier for the object.
151
+ * The reader action failed due to an [API error](https://docs.stripe.com/api/errors). Only present when `status` is `failed` and the underlying failure was an API error. Avoid parsing the `message` field for programmatic logic; use `type` or `code` instead. The `message` field is for display to humans only and may be updated at anytime. Requires [reader version](https://docs.stripe.com/terminal/readers/stripe-reader-s700-s710#reader-software-version) 2.42 or later. Readers on older versions always return null.
127
152
  */
128
- id: string;
153
+ api_error: Action.ApiError | null;
129
154
  /**
130
- * String representing the object's type. Objects of the same type share the same value.
155
+ * Represents a reader action to collect customer inputs
131
156
  */
132
- object: 'terminal.reader';
157
+ collect_inputs?: Action.CollectInputs;
133
158
  /**
134
- * Always true for a deleted object
159
+ * Represents a reader action to collect a payment method
135
160
  */
136
- deleted: true;
161
+ collect_payment_method?: Action.CollectPaymentMethod;
137
162
  /**
138
- * Device type of the reader.
163
+ * Represents a reader action to confirm a payment
139
164
  */
140
- device_type: DeletedReader.DeviceType;
165
+ confirm_payment_intent?: Action.ConfirmPaymentIntent;
141
166
  /**
142
- * Serial number of the reader.
167
+ * Failure code, only set if status is `failed`.
143
168
  */
144
- serial_number: string;
145
- }
146
- namespace DeletedReader {
147
- type DeviceType = 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_v660p';
169
+ failure_code: string | null;
170
+ /**
171
+ * Detailed failure message, only set if status is `failed`.
172
+ */
173
+ failure_message: string | null;
174
+ /**
175
+ * Represents a reader action to print content
176
+ */
177
+ print_content?: Action.PrintContent;
178
+ /**
179
+ * Represents a reader action to process a payment intent
180
+ */
181
+ process_payment_intent?: Action.ProcessPaymentIntent;
182
+ /**
183
+ * Represents a reader action to process a setup intent
184
+ */
185
+ process_setup_intent?: Action.ProcessSetupIntent;
186
+ /**
187
+ * Represents a reader action to refund a payment
188
+ */
189
+ refund_payment?: Action.RefundPayment;
190
+ /**
191
+ * Represents a reader action to set the reader display
192
+ */
193
+ set_reader_display?: Action.SetReaderDisplay;
194
+ /**
195
+ * Status of the action performed by the reader.
196
+ */
197
+ status: Action.Status;
198
+ /**
199
+ * Type of action performed by the reader.
200
+ */
201
+ type: Action.Type;
148
202
  }
149
- namespace Reader {
150
- interface Action {
203
+ type DeviceType = 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_v660p';
204
+ type Status = 'offline' | 'online';
205
+ namespace Action {
206
+ interface ApiError {
151
207
  /**
152
- * The reader action failed due to an [API error](https://docs.stripe.com/api/errors). Only present when `status` is `failed` and the underlying failure was an API error. Avoid parsing the `message` field for programmatic logic; use `type` or `code` instead. The `message` field is for display to humans only and may be updated at anytime. Requires [reader version](https://docs.stripe.com/terminal/readers/stripe-reader-s700-s710#reader-software-version) 2.42 or later. Readers on older versions always return null.
208
+ * For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines) if they provide one.
153
209
  */
154
- api_error: Action.ApiError | null;
210
+ advice_code?: string;
155
211
  /**
156
- * Represents a reader action to collect customer inputs
212
+ * For card errors, the ID of the failed charge.
157
213
  */
158
- collect_inputs?: Action.CollectInputs;
214
+ charge?: string;
159
215
  /**
160
- * Represents a reader action to collect a payment method
216
+ * For some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/error-codes) reported.
161
217
  */
162
- collect_payment_method?: Action.CollectPaymentMethod;
218
+ code?: ApiError.Code;
163
219
  /**
164
- * Represents a reader action to confirm a payment
220
+ * For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://docs.stripe.com/declines#issuer-declines) if they provide one.
165
221
  */
166
- confirm_payment_intent?: Action.ConfirmPaymentIntent;
222
+ decline_code?: string;
167
223
  /**
168
- * Failure code, only set if status is `failed`.
224
+ * A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported.
169
225
  */
170
- failure_code: string | null;
226
+ doc_url?: string;
171
227
  /**
172
- * Detailed failure message, only set if status is `failed`.
228
+ * A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
173
229
  */
174
- failure_message: string | null;
230
+ message?: string;
175
231
  /**
176
- * Represents a reader action to print content
232
+ * For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
177
233
  */
178
- print_content?: Action.PrintContent;
234
+ network_advice_code?: string;
179
235
  /**
180
- * Represents a reader action to process a payment intent
236
+ * For payments declined by the network, an alphanumeric code which indicates the reason the payment failed.
181
237
  */
182
- process_payment_intent?: Action.ProcessPaymentIntent;
238
+ network_decline_code?: string;
183
239
  /**
184
- * Represents a reader action to process a setup intent
240
+ * If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
185
241
  */
186
- process_setup_intent?: Action.ProcessSetupIntent;
242
+ param?: string;
187
243
  /**
188
- * Represents a reader action to refund a payment
244
+ * A PaymentIntent guides you through the process of collecting a payment from your customer.
245
+ * We recommend that you create exactly one PaymentIntent for each order or
246
+ * customer session in your system. You can reference the PaymentIntent later to
247
+ * see the history of payment attempts for a particular session.
248
+ *
249
+ * A PaymentIntent transitions through
250
+ * [multiple statuses](https://docs.stripe.com/payments/paymentintents/lifecycle)
251
+ * throughout its lifetime as it interfaces with Stripe.js to perform
252
+ * authentication flows and ultimately creates at most one successful charge.
253
+ *
254
+ * Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)
189
255
  */
190
- refund_payment?: Action.RefundPayment;
256
+ payment_intent?: PaymentIntent;
191
257
  /**
192
- * Represents a reader action to set the reader display
258
+ * PaymentMethod objects represent your customer's payment instruments.
259
+ * You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to
260
+ * Customer objects to store instrument details for future payments.
261
+ *
262
+ * Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).
193
263
  */
194
- set_reader_display?: Action.SetReaderDisplay;
264
+ payment_method?: PaymentMethod;
195
265
  /**
196
- * Status of the action performed by the reader.
266
+ * If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors.
197
267
  */
198
- status: Action.Status;
268
+ payment_method_type?: string;
199
269
  /**
200
- * Type of action performed by the reader.
270
+ * A URL to the request log entry in your dashboard.
201
271
  */
202
- type: Action.Type;
272
+ request_log_url?: string;
273
+ /**
274
+ * A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
275
+ * For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment.
276
+ * Later, you can use [PaymentIntents](https://api.stripe.com#payment_intents) to drive the payment flow.
277
+ *
278
+ * Create a SetupIntent when you're ready to collect your customer's payment credentials.
279
+ * Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid.
280
+ * The SetupIntent transitions through multiple [statuses](https://docs.stripe.com/payments/intents#intent-statuses) as it guides
281
+ * you through the setup process.
282
+ *
283
+ * Successful SetupIntents result in payment credentials that are optimized for future payments.
284
+ * For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through
285
+ * [Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection
286
+ * to streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents).
287
+ * If you use the SetupIntent with a [Customer](https://api.stripe.com#setup_intent_object-customer),
288
+ * it automatically attaches the resulting payment method to that Customer after successful setup.
289
+ * We recommend using SetupIntents or [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) on
290
+ * PaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods.
291
+ *
292
+ * By using SetupIntents, you can reduce friction for your customers, even as regulations change over time.
293
+ *
294
+ * Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)
295
+ */
296
+ setup_intent?: SetupIntent;
297
+ source?: CustomerSource;
298
+ /**
299
+ * The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`
300
+ */
301
+ type: ApiError.Type;
203
302
  }
204
- type DeviceType = 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_v660p';
205
- type Status = 'offline' | 'online';
206
- namespace Action {
207
- interface ApiError {
208
- /**
209
- * For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines) if they provide one.
210
- */
211
- advice_code?: string;
212
- /**
213
- * For card errors, the ID of the failed charge.
214
- */
215
- charge?: string;
216
- /**
217
- * For some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/error-codes) reported.
218
- */
219
- code?: ApiError.Code;
220
- /**
221
- * For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://docs.stripe.com/declines#issuer-declines) if they provide one.
222
- */
223
- decline_code?: string;
224
- /**
225
- * A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported.
226
- */
227
- doc_url?: string;
228
- /**
229
- * A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
230
- */
231
- message?: string;
232
- /**
233
- * For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
234
- */
235
- network_advice_code?: string;
236
- /**
237
- * For payments declined by the network, an alphanumeric code which indicates the reason the payment failed.
238
- */
239
- network_decline_code?: string;
240
- /**
241
- * If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
242
- */
243
- param?: string;
244
- /**
245
- * A PaymentIntent guides you through the process of collecting a payment from your customer.
246
- * We recommend that you create exactly one PaymentIntent for each order or
247
- * customer session in your system. You can reference the PaymentIntent later to
248
- * see the history of payment attempts for a particular session.
249
- *
250
- * A PaymentIntent transitions through
251
- * [multiple statuses](https://docs.stripe.com/payments/paymentintents/lifecycle)
252
- * throughout its lifetime as it interfaces with Stripe.js to perform
253
- * authentication flows and ultimately creates at most one successful charge.
254
- *
255
- * Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)
256
- */
257
- payment_intent?: PaymentIntent;
258
- /**
259
- * PaymentMethod objects represent your customer's payment instruments.
260
- * You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to
261
- * Customer objects to store instrument details for future payments.
262
- *
263
- * Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).
264
- */
265
- payment_method?: PaymentMethod;
266
- /**
267
- * If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors.
268
- */
269
- payment_method_type?: string;
270
- /**
271
- * A URL to the request log entry in your dashboard.
272
- */
273
- request_log_url?: string;
274
- /**
275
- * A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
276
- * For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment.
277
- * Later, you can use [PaymentIntents](https://api.stripe.com#payment_intents) to drive the payment flow.
278
- *
279
- * Create a SetupIntent when you're ready to collect your customer's payment credentials.
280
- * Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid.
281
- * The SetupIntent transitions through multiple [statuses](https://docs.stripe.com/payments/intents#intent-statuses) as it guides
282
- * you through the setup process.
283
- *
284
- * Successful SetupIntents result in payment credentials that are optimized for future payments.
285
- * For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through
286
- * [Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection
287
- * to streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents).
288
- * If you use the SetupIntent with a [Customer](https://api.stripe.com#setup_intent_object-customer),
289
- * it automatically attaches the resulting payment method to that Customer after successful setup.
290
- * We recommend using SetupIntents or [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) on
291
- * PaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods.
292
- *
293
- * By using SetupIntents, you can reduce friction for your customers, even as regulations change over time.
294
- *
295
- * Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)
296
- */
297
- setup_intent?: SetupIntent;
298
- source?: CustomerSource;
299
- /**
300
- * The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`
301
- */
302
- type: ApiError.Type;
303
- }
304
- interface CollectInputs {
305
- /**
306
- * List of inputs to be collected.
307
- */
308
- inputs: Array<CollectInputs.Input>;
309
- /**
310
- * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
311
- */
312
- metadata: Metadata | null;
313
- }
314
- interface CollectPaymentMethod {
315
- /**
316
- * Account the payment intent belongs to.
317
- */
318
- account?: string;
319
- /**
320
- * Represents a per-transaction override of a reader configuration
321
- */
322
- collect_config?: CollectPaymentMethod.CollectConfig;
323
- /**
324
- * Most recent PaymentIntent processed by the reader.
325
- */
326
- payment_intent: string | PaymentIntent;
327
- /**
328
- * PaymentMethod objects represent your customer's payment instruments.
329
- * You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to
330
- * Customer objects to store instrument details for future payments.
331
- *
332
- * Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).
333
- */
334
- payment_method?: PaymentMethod;
335
- }
336
- interface ConfirmPaymentIntent {
337
- /**
338
- * Account the payment intent belongs to.
339
- */
340
- account?: string;
341
- /**
342
- * Represents a per-transaction override of a reader configuration
343
- */
344
- confirm_config?: ConfirmPaymentIntent.ConfirmConfig;
345
- /**
346
- * Most recent PaymentIntent processed by the reader.
347
- */
348
- payment_intent: string | PaymentIntent;
349
- }
350
- interface PrintContent {
351
- /**
352
- * Metadata of an uploaded file
353
- */
354
- image?: PrintContent.Image;
355
- /**
356
- * The type of content to print. Currently supports `image`.
357
- */
358
- type: 'image';
359
- }
360
- interface ProcessPaymentIntent {
361
- /**
362
- * Account the payment intent belongs to.
363
- */
364
- account?: string;
365
- /**
366
- * Most recent PaymentIntent processed by the reader.
367
- */
368
- payment_intent: string | PaymentIntent;
369
- /**
370
- * Represents a per-transaction override of a reader configuration
371
- */
372
- process_config?: ProcessPaymentIntent.ProcessConfig;
373
- }
374
- interface ProcessSetupIntent {
375
- /**
376
- * ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
377
- */
378
- generated_card?: string;
379
- /**
380
- * Represents a per-setup override of a reader configuration
381
- */
382
- process_config?: ProcessSetupIntent.ProcessConfig;
383
- /**
384
- * Most recent SetupIntent processed by the reader.
385
- */
386
- setup_intent: string | SetupIntent;
387
- }
388
- interface RefundPayment {
389
- /**
390
- * Account the payment intent belongs to.
391
- */
392
- account?: string;
303
+ interface CollectInputs {
304
+ /**
305
+ * List of inputs to be collected.
306
+ */
307
+ inputs: Array<CollectInputs.Input>;
308
+ /**
309
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
310
+ */
311
+ metadata: Metadata | null;
312
+ }
313
+ interface CollectPaymentMethod {
314
+ /**
315
+ * Represents a per-transaction override of a reader configuration
316
+ */
317
+ collect_config?: CollectPaymentMethod.CollectConfig;
318
+ /**
319
+ * Most recent PaymentIntent processed by the reader.
320
+ */
321
+ payment_intent: string | PaymentIntent;
322
+ /**
323
+ * PaymentMethod objects represent your customer's payment instruments.
324
+ * You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to
325
+ * Customer objects to store instrument details for future payments.
326
+ *
327
+ * Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).
328
+ */
329
+ payment_method?: PaymentMethod;
330
+ }
331
+ interface ConfirmPaymentIntent {
332
+ /**
333
+ * Represents a per-transaction override of a reader configuration
334
+ */
335
+ confirm_config?: ConfirmPaymentIntent.ConfirmConfig;
336
+ /**
337
+ * Most recent PaymentIntent processed by the reader.
338
+ */
339
+ payment_intent: string | PaymentIntent;
340
+ }
341
+ interface PrintContent {
342
+ /**
343
+ * Metadata of an uploaded file
344
+ */
345
+ image?: PrintContent.Image;
346
+ /**
347
+ * The type of content to print. Currently supports `image`.
348
+ */
349
+ type: 'image';
350
+ }
351
+ interface ProcessPaymentIntent {
352
+ /**
353
+ * Most recent PaymentIntent processed by the reader.
354
+ */
355
+ payment_intent: string | PaymentIntent;
356
+ /**
357
+ * Represents a per-transaction override of a reader configuration
358
+ */
359
+ process_config?: ProcessPaymentIntent.ProcessConfig;
360
+ }
361
+ interface ProcessSetupIntent {
362
+ /**
363
+ * ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
364
+ */
365
+ generated_card?: string;
366
+ /**
367
+ * Represents a per-setup override of a reader configuration
368
+ */
369
+ process_config?: ProcessSetupIntent.ProcessConfig;
370
+ /**
371
+ * Most recent SetupIntent processed by the reader.
372
+ */
373
+ setup_intent: string | SetupIntent;
374
+ }
375
+ interface RefundPayment {
376
+ /**
377
+ * The amount being refunded.
378
+ */
379
+ amount?: number;
380
+ /**
381
+ * Charge that is being refunded.
382
+ */
383
+ charge?: string | Charge;
384
+ /**
385
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
386
+ */
387
+ metadata?: Metadata;
388
+ /**
389
+ * Payment intent that is being refunded.
390
+ */
391
+ payment_intent?: string | PaymentIntent;
392
+ /**
393
+ * The reason for the refund.
394
+ */
395
+ reason?: RefundPayment.Reason;
396
+ /**
397
+ * Unique identifier for the refund object.
398
+ */
399
+ refund?: string | Refund;
400
+ /**
401
+ * Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge.
402
+ */
403
+ refund_application_fee?: boolean;
404
+ /**
405
+ * Represents a per-transaction override of a reader configuration
406
+ */
407
+ refund_payment_config?: RefundPayment.RefundPaymentConfig;
408
+ /**
409
+ * Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.
410
+ */
411
+ reverse_transfer?: boolean;
412
+ }
413
+ interface SetReaderDisplay {
414
+ /**
415
+ * Cart object to be displayed by the reader, including line items, amounts, and currency.
416
+ */
417
+ cart: SetReaderDisplay.Cart | null;
418
+ /**
419
+ * Type of information to be displayed by the reader. Only `cart` is currently supported.
420
+ */
421
+ type: 'cart';
422
+ }
423
+ type Status = 'failed' | 'in_progress' | 'succeeded';
424
+ type Type = 'collect_inputs' | 'collect_payment_method' | 'confirm_payment_intent' | 'print_content' | 'process_payment_intent' | 'process_setup_intent' | 'refund_payment' | 'set_reader_display';
425
+ namespace ApiError {
426
+ type Code = 'account_closed' | 'account_country_invalid_address' | 'account_error_country_change_requires_additional_steps' | 'account_information_mismatch' | 'account_invalid' | 'account_number_invalid' | 'account_token_required_for_v2_account' | 'acss_debit_session_incomplete' | 'action_blocked' | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' | 'authentication_required' | 'balance_insufficient' | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' | 'bank_account_restricted' | 'bank_account_unusable' | 'bank_account_unverified' | 'bank_account_verification_failed' | 'billing_invalid_mandate' | 'bitcoin_upgrade_required' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'card_declined' | 'cardholder_phone_number_required' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_exceeds_transaction_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'clearing_code_unsupported' | 'country_code_invalid' | 'country_unsupported' | 'coupon_expired' | 'customer_max_payment_methods' | 'customer_max_subscriptions' | 'customer_session_expired' | 'customer_tax_location_invalid' | 'debit_not_authorized' | 'email_invalid' | 'expired_card' | 'failed_tax_calculation' | 'financial_account_balance_does_not_support_currency' | 'financial_account_capability_not_enabled' | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' | 'financial_connections_no_successful_transaction_refresh' | 'forwarding_api_inactive' | 'forwarding_api_invalid_parameter' | 'forwarding_api_retryable_upstream_error' | 'forwarding_api_upstream_connection_error' | 'forwarding_api_upstream_connection_timeout' | 'forwarding_api_upstream_error' | 'idempotency_key_in_use' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_number' | 'incorrect_zip' | 'india_recurring_payment_mandate_canceled' | 'instant_payouts_config_disabled' | 'instant_payouts_currency_disabled' | 'instant_payouts_limit_exceeded' | 'instant_payouts_unsupported' | 'insufficient_funds' | 'intent_invalid_state' | 'intent_verification_method_missing' | 'invalid_card_type' | 'invalid_characters' | 'invalid_charge_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_mandate_reference_prefix_format' | 'invalid_number' | 'invalid_source_usage' | 'invalid_tax_location' | 'invoice_no_customer_line_items' | 'invoice_no_payment_method_types' | 'invoice_no_subscription_line_items' | 'invoice_not_editable' | 'invoice_on_behalf_of_not_editable' | 'invoice_payment_intent_requires_action' | 'invoice_upcoming_none' | 'livemode_mismatch' | 'lock_timeout' | 'missing' | 'no_account' | 'not_allowed_on_standard_account' | 'out_of_inventory' | 'ownership_declaration_not_allowed' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_invalid_parameter' | 'payment_intent_konbini_rejected_confirmation_number' | 'payment_intent_mandate_invalid' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_rate_limit_exceeded' | 'payment_intent_unexpected_state' | 'payment_method_bank_account_already_verified' | 'payment_method_bank_account_blocked' | 'payment_method_billing_details_address_missing' | 'payment_method_configuration_failures' | 'payment_method_currency_mismatch' | 'payment_method_customer_decline' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_microdeposit_failed' | 'payment_method_microdeposit_processing_error' | 'payment_method_microdeposit_verification_amounts_invalid' | 'payment_method_microdeposit_verification_amounts_mismatch' | 'payment_method_microdeposit_verification_attempts_exceeded' | 'payment_method_microdeposit_verification_descriptor_code_mismatch' | 'payment_method_microdeposit_verification_timeout' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' | 'platform_api_key_expired' | 'postal_code_invalid' | 'processing_error' | 'product_inactive' | 'progressive_onboarding_limit_exceeded' | 'rate_limit' | 'refer_to_customer' | 'refund_disputed_payment' | 'request_blocked' | 'resource_already_exists' | 'resource_missing' | 'return_intent_already_processed' | 'routing_number_invalid' | 'secret_key_required' | 'sepa_unsupported_account' | 'service_period_coupon_with_metered_tiered_item_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_mandate_invalid' | 'setup_intent_mobile_wallet_unsupported' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state' | 'shipping_address_invalid' | 'shipping_calculation_failed' | 'siret_invalid' | 'sku_inactive' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | 'tax_id_invalid' | 'tax_id_prohibited' | 'taxes_calculation_failed' | 'terminal_location_country_unsupported' | 'terminal_reader_busy' | 'terminal_reader_hardware_fault' | 'terminal_reader_invalid_location_for_activation' | 'terminal_reader_invalid_location_for_payment' | 'terminal_reader_offline' | 'terminal_reader_timeout' | 'testmode_charges_only' | 'tls_version_unsupported' | 'token_already_used' | 'token_card_network_invalid' | 'token_in_use' | 'transfer_source_balance_parameters_mismatch' | 'transfers_not_allowed' | 'url_invalid';
427
+ type Type = 'api_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error';
428
+ }
429
+ namespace CollectInputs {
430
+ interface Input {
393
431
  /**
394
- * The amount being refunded.
432
+ * Default text of input being collected.
395
433
  */
396
- amount?: number;
434
+ custom_text: Input.CustomText | null;
397
435
  /**
398
- * Charge that is being refunded.
436
+ * Information about a email being collected using a reader
399
437
  */
400
- charge?: string | Charge;
438
+ email?: Input.Email;
401
439
  /**
402
- * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
440
+ * Information about a number being collected using a reader
403
441
  */
404
- metadata?: Metadata;
442
+ numeric?: Input.Numeric;
405
443
  /**
406
- * Payment intent that is being refunded.
444
+ * Information about a phone number being collected using a reader
407
445
  */
408
- payment_intent?: string | PaymentIntent;
446
+ phone?: Input.Phone;
409
447
  /**
410
- * The reason for the refund.
448
+ * Indicate that this input is required, disabling the skip button.
411
449
  */
412
- reason?: RefundPayment.Reason;
450
+ required: boolean | null;
413
451
  /**
414
- * Unique identifier for the refund object.
452
+ * Information about a selection being collected using a reader
415
453
  */
416
- refund?: string | Refund;
454
+ selection?: Input.Selection;
417
455
  /**
418
- * Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge.
456
+ * Information about a signature being collected using a reader
419
457
  */
420
- refund_application_fee?: boolean;
458
+ signature?: Input.Signature;
421
459
  /**
422
- * Represents a per-transaction override of a reader configuration
460
+ * Indicate that this input was skipped by the user.
423
461
  */
424
- refund_payment_config?: RefundPayment.RefundPaymentConfig;
462
+ skipped?: boolean;
425
463
  /**
426
- * Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.
464
+ * Information about text being collected using a reader
427
465
  */
428
- reverse_transfer?: boolean;
429
- }
430
- interface SetReaderDisplay {
466
+ text?: Input.Text;
431
467
  /**
432
- * Cart object to be displayed by the reader, including line items, amounts, and currency.
468
+ * List of toggles being collected. Values are present if collection is complete.
433
469
  */
434
- cart: SetReaderDisplay.Cart | null;
470
+ toggles: Array<Input.Toggle> | null;
435
471
  /**
436
- * Type of information to be displayed by the reader. Only `cart` is currently supported.
472
+ * Type of input being collected.
437
473
  */
438
- type: 'cart';
474
+ type: Input.Type;
439
475
  }
440
- type Status = 'failed' | 'in_progress' | 'succeeded';
441
- type Type = 'collect_inputs' | 'collect_payment_method' | 'confirm_payment_intent' | 'print_content' | 'process_payment_intent' | 'process_setup_intent' | 'refund_payment' | 'set_reader_display';
442
- namespace ApiError {
443
- type Code = 'account_closed' | 'account_country_invalid_address' | 'account_error_country_change_requires_additional_steps' | 'account_information_mismatch' | 'account_invalid' | 'account_number_invalid' | 'account_token_required_for_v2_account' | 'acss_debit_session_incomplete' | 'action_blocked' | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' | 'authentication_required' | 'balance_insufficient' | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' | 'bank_account_restricted' | 'bank_account_unusable' | 'bank_account_unverified' | 'bank_account_verification_failed' | 'billing_invalid_mandate' | 'bitcoin_upgrade_required' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'card_declined' | 'cardholder_phone_number_required' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_exceeds_transaction_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'clearing_code_unsupported' | 'country_code_invalid' | 'country_unsupported' | 'coupon_expired' | 'customer_max_payment_methods' | 'customer_max_subscriptions' | 'customer_session_expired' | 'customer_tax_location_invalid' | 'debit_not_authorized' | 'email_invalid' | 'expired_card' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' | 'financial_connections_institution_unavailable' | 'financial_connections_no_successful_transaction_refresh' | 'forwarding_api_inactive' | 'forwarding_api_invalid_parameter' | 'forwarding_api_retryable_upstream_error' | 'forwarding_api_upstream_connection_error' | 'forwarding_api_upstream_connection_timeout' | 'forwarding_api_upstream_error' | 'idempotency_key_in_use' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_number' | 'incorrect_zip' | 'india_recurring_payment_mandate_canceled' | 'instant_payouts_config_disabled' | 'instant_payouts_currency_disabled' | 'instant_payouts_limit_exceeded' | 'instant_payouts_unsupported' | 'insufficient_funds' | 'intent_invalid_state' | 'intent_verification_method_missing' | 'invalid_card_type' | 'invalid_characters' | 'invalid_charge_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_mandate_reference_prefix_format' | 'invalid_number' | 'invalid_source_usage' | 'invalid_tax_location' | 'invoice_no_customer_line_items' | 'invoice_no_payment_method_types' | 'invoice_no_subscription_line_items' | 'invoice_not_editable' | 'invoice_on_behalf_of_not_editable' | 'invoice_payment_intent_requires_action' | 'invoice_upcoming_none' | 'livemode_mismatch' | 'lock_timeout' | 'missing' | 'no_account' | 'not_allowed_on_standard_account' | 'out_of_inventory' | 'ownership_declaration_not_allowed' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_invalid_parameter' | 'payment_intent_konbini_rejected_confirmation_number' | 'payment_intent_mandate_invalid' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_rate_limit_exceeded' | 'payment_intent_unexpected_state' | 'payment_method_bank_account_already_verified' | 'payment_method_bank_account_blocked' | 'payment_method_billing_details_address_missing' | 'payment_method_configuration_failures' | 'payment_method_currency_mismatch' | 'payment_method_customer_decline' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_microdeposit_failed' | 'payment_method_microdeposit_processing_error' | 'payment_method_microdeposit_verification_amounts_invalid' | 'payment_method_microdeposit_verification_amounts_mismatch' | 'payment_method_microdeposit_verification_attempts_exceeded' | 'payment_method_microdeposit_verification_descriptor_code_mismatch' | 'payment_method_microdeposit_verification_timeout' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' | 'platform_api_key_expired' | 'postal_code_invalid' | 'processing_error' | 'product_inactive' | 'progressive_onboarding_limit_exceeded' | 'rate_limit' | 'refer_to_customer' | 'refund_disputed_payment' | 'request_blocked' | 'resource_already_exists' | 'resource_missing' | 'return_intent_already_processed' | 'routing_number_invalid' | 'secret_key_required' | 'sensitive_data_access_expired' | 'sepa_unsupported_account' | 'service_period_coupon_with_metered_tiered_item_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_mandate_invalid' | 'setup_intent_mobile_wallet_unsupported' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state' | 'shipping_address_invalid' | 'shipping_calculation_failed' | 'siret_invalid' | 'sku_inactive' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | 'tax_id_invalid' | 'tax_id_prohibited' | 'taxes_calculation_failed' | 'terminal_location_country_unsupported' | 'terminal_reader_busy' | 'terminal_reader_collected_data_invalid' | 'terminal_reader_hardware_fault' | 'terminal_reader_invalid_location_for_activation' | 'terminal_reader_invalid_location_for_payment' | 'terminal_reader_offline' | 'terminal_reader_timeout' | 'testmode_charges_only' | 'tls_version_unsupported' | 'token_already_used' | 'token_card_network_invalid' | 'token_in_use' | 'transfer_source_balance_parameters_mismatch' | 'transfers_not_allowed' | 'url_invalid' | 'v2_account_disconnection_unsupported' | 'v2_account_missing_configuration';
444
- type Type = 'api_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error';
445
- }
446
- namespace CollectInputs {
447
- interface Input {
448
- /**
449
- * Default text of input being collected.
450
- */
451
- custom_text: Input.CustomText | null;
452
- /**
453
- * Information about a email being collected using a reader
454
- */
455
- email?: Input.Email;
476
+ namespace Input {
477
+ interface CustomText {
456
478
  /**
457
- * Information about a number being collected using a reader
479
+ * Customize the default description for this input
458
480
  */
459
- numeric?: Input.Numeric;
481
+ description: string | null;
460
482
  /**
461
- * Information about a phone number being collected using a reader
483
+ * Customize the default label for this input's skip button
462
484
  */
463
- phone?: Input.Phone;
485
+ skip_button: string | null;
464
486
  /**
465
- * Indicate that this input is required, disabling the skip button.
487
+ * Customize the default label for this input's submit button
466
488
  */
467
- required: boolean | null;
489
+ submit_button: string | null;
468
490
  /**
469
- * Information about a selection being collected using a reader
491
+ * Customize the default title for this input
470
492
  */
471
- selection?: Input.Selection;
472
- /**
473
- * Information about a signature being collected using a reader
474
- */
475
- signature?: Input.Signature;
476
- /**
477
- * Indicate that this input was skipped by the user.
478
- */
479
- skipped?: boolean;
493
+ title: string | null;
494
+ }
495
+ interface Email {
480
496
  /**
481
- * Information about text being collected using a reader
497
+ * The collected email address
482
498
  */
483
- text?: Input.Text;
499
+ value: string | null;
500
+ }
501
+ interface Numeric {
484
502
  /**
485
- * List of toggles being collected. Values are present if collection is complete.
503
+ * The collected number
486
504
  */
487
- toggles: Array<Input.Toggle> | null;
505
+ value: string | null;
506
+ }
507
+ interface Phone {
488
508
  /**
489
- * Type of input being collected.
509
+ * The collected phone number
490
510
  */
491
- type: Input.Type;
511
+ value: string | null;
492
512
  }
493
- namespace Input {
494
- interface CustomText {
495
- /**
496
- * Customize the default description for this input
497
- */
498
- description: string | null;
499
- /**
500
- * Customize the default label for this input's skip button
501
- */
502
- skip_button: string | null;
503
- /**
504
- * Customize the default label for this input's submit button
505
- */
506
- submit_button: string | null;
507
- /**
508
- * Customize the default title for this input
509
- */
510
- title: string | null;
511
- }
512
- interface Email {
513
- /**
514
- * The collected email address
515
- */
516
- value: string | null;
517
- }
518
- interface Numeric {
519
- /**
520
- * The collected number
521
- */
522
- value: string | null;
523
- }
524
- interface Phone {
525
- /**
526
- * The collected phone number
527
- */
528
- value: string | null;
529
- }
530
- interface Selection {
531
- /**
532
- * List of possible choices to be selected
533
- */
534
- choices: Array<Selection.Choice>;
535
- /**
536
- * The id of the selected choice
537
- */
538
- id: string | null;
539
- /**
540
- * The text of the selected choice
541
- */
542
- text: string | null;
543
- }
544
- interface Signature {
545
- /**
546
- * The File ID of a collected signature image
547
- */
548
- value: string | null;
549
- }
550
- interface Text {
551
- /**
552
- * The collected text value
553
- */
554
- value: string | null;
555
- }
556
- interface Toggle {
557
- /**
558
- * The toggle's default value. Can be `enabled` or `disabled`.
559
- */
560
- default_value: Toggle.DefaultValue | null;
561
- /**
562
- * The toggle's description text. Maximum 50 characters.
563
- */
564
- description: string | null;
565
- /**
566
- * The toggle's title text. Maximum 50 characters.
567
- */
568
- title: string | null;
569
- /**
570
- * The toggle's collected value. Can be `enabled` or `disabled`.
571
- */
572
- value: Toggle.Value | null;
573
- }
574
- type Type = 'email' | 'numeric' | 'phone' | 'selection' | 'signature' | 'text';
575
- namespace Selection {
576
- interface Choice {
577
- /**
578
- * The identifier for the selected choice. Maximum 50 characters.
579
- */
580
- id: string | null;
581
- /**
582
- * The button style for the choice. Can be `primary` or `secondary`.
583
- */
584
- style: Choice.Style | null;
585
- /**
586
- * The text to be selected. Maximum 30 characters.
587
- */
588
- text: string;
589
- }
590
- namespace Choice {
591
- type Style = 'primary' | 'secondary';
592
- }
593
- }
594
- namespace Toggle {
595
- type DefaultValue = 'disabled' | 'enabled';
596
- type Value = 'disabled' | 'enabled';
597
- }
598
- }
599
- }
600
- namespace CollectPaymentMethod {
601
- interface CollectConfig {
513
+ interface Selection {
602
514
  /**
603
- * Enable customer-initiated cancellation when processing this payment.
515
+ * List of possible choices to be selected
604
516
  */
605
- enable_customer_cancellation?: boolean;
517
+ choices: Array<Selection.Choice>;
606
518
  /**
607
- * Override showing a tipping selection screen on this transaction.
519
+ * The id of the selected choice
608
520
  */
609
- skip_tipping?: boolean;
521
+ id: string | null;
610
522
  /**
611
- * Represents a per-transaction tipping configuration
523
+ * The text of the selected choice
612
524
  */
613
- tipping?: CollectConfig.Tipping;
525
+ text: string | null;
614
526
  }
615
- namespace CollectConfig {
616
- interface Tipping {
617
- /**
618
- * Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
619
- */
620
- amount_eligible?: number;
621
- }
622
- }
623
- }
624
- namespace ConfirmPaymentIntent {
625
- interface ConfirmConfig {
527
+ interface Signature {
626
528
  /**
627
- * If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion.
529
+ * The File ID of a collected signature image
628
530
  */
629
- return_url?: string;
531
+ value: string | null;
630
532
  }
631
- }
632
- namespace PrintContent {
633
- interface Image {
634
- /**
635
- * Creation time of the object (in seconds since the Unix epoch).
636
- */
637
- created_at: number;
638
- /**
639
- * The original name of the uploaded file (e.g. `receipt.png`).
640
- */
641
- filename: string;
642
- /**
643
- * The size (in bytes) of the uploaded file.
644
- */
645
- size: number;
533
+ interface Text {
646
534
  /**
647
- * The format of the uploaded file.
535
+ * The collected text value
648
536
  */
649
- type: string;
537
+ value: string | null;
650
538
  }
651
- }
652
- namespace ProcessPaymentIntent {
653
- interface ProcessConfig {
539
+ interface Toggle {
654
540
  /**
655
- * Enable customer-initiated cancellation when processing this payment.
541
+ * The toggle's default value. Can be `enabled` or `disabled`.
656
542
  */
657
- enable_customer_cancellation?: boolean;
543
+ default_value: Toggle.DefaultValue | null;
658
544
  /**
659
- * If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion.
545
+ * The toggle's description text. Maximum 50 characters.
660
546
  */
661
- return_url?: string;
547
+ description: string | null;
662
548
  /**
663
- * Override showing a tipping selection screen on this transaction.
549
+ * The toggle's title text. Maximum 50 characters.
664
550
  */
665
- skip_tipping?: boolean;
551
+ title: string | null;
666
552
  /**
667
- * Represents a per-transaction tipping configuration
553
+ * The toggle's collected value. Can be `enabled` or `disabled`.
668
554
  */
669
- tipping?: ProcessConfig.Tipping;
555
+ value: Toggle.Value | null;
670
556
  }
671
- namespace ProcessConfig {
672
- interface Tipping {
557
+ type Type = 'email' | 'numeric' | 'phone' | 'selection' | 'signature' | 'text';
558
+ namespace Selection {
559
+ interface Choice {
560
+ /**
561
+ * The identifier for the selected choice. Maximum 50 characters.
562
+ */
563
+ id: string | null;
564
+ /**
565
+ * The button style for the choice. Can be `primary` or `secondary`.
566
+ */
567
+ style: Choice.Style | null;
673
568
  /**
674
- * Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
569
+ * The text to be selected. Maximum 30 characters.
675
570
  */
676
- amount_eligible?: number;
571
+ text: string;
572
+ }
573
+ namespace Choice {
574
+ type Style = 'primary' | 'secondary';
677
575
  }
678
576
  }
577
+ namespace Toggle {
578
+ type DefaultValue = 'disabled' | 'enabled';
579
+ type Value = 'disabled' | 'enabled';
580
+ }
679
581
  }
680
- namespace ProcessSetupIntent {
681
- interface ProcessConfig {
582
+ }
583
+ namespace CollectPaymentMethod {
584
+ interface CollectConfig {
585
+ /**
586
+ * Enable customer-initiated cancellation when processing this payment.
587
+ */
588
+ enable_customer_cancellation?: boolean;
589
+ /**
590
+ * Override showing a tipping selection screen on this transaction.
591
+ */
592
+ skip_tipping?: boolean;
593
+ /**
594
+ * Represents a per-transaction tipping configuration
595
+ */
596
+ tipping?: CollectConfig.Tipping;
597
+ }
598
+ namespace CollectConfig {
599
+ interface Tipping {
682
600
  /**
683
- * Enable customer-initiated cancellation when processing this SetupIntent.
601
+ * Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
684
602
  */
685
- enable_customer_cancellation?: boolean;
603
+ amount_eligible?: number;
686
604
  }
687
605
  }
688
- namespace RefundPayment {
689
- type Reason = 'duplicate' | 'fraudulent' | 'requested_by_customer';
690
- interface RefundPaymentConfig {
606
+ }
607
+ namespace ConfirmPaymentIntent {
608
+ interface ConfirmConfig {
609
+ /**
610
+ * If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion.
611
+ */
612
+ return_url?: string;
613
+ }
614
+ }
615
+ namespace PrintContent {
616
+ interface Image {
617
+ /**
618
+ * Creation time of the object (in seconds since the Unix epoch).
619
+ */
620
+ created_at: number;
621
+ /**
622
+ * The original name of the uploaded file (e.g. `receipt.png`).
623
+ */
624
+ filename: string;
625
+ /**
626
+ * The size (in bytes) of the uploaded file.
627
+ */
628
+ size: number;
629
+ /**
630
+ * The format of the uploaded file.
631
+ */
632
+ type: string;
633
+ }
634
+ }
635
+ namespace ProcessPaymentIntent {
636
+ interface ProcessConfig {
637
+ /**
638
+ * Enable customer-initiated cancellation when processing this payment.
639
+ */
640
+ enable_customer_cancellation?: boolean;
641
+ /**
642
+ * If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion.
643
+ */
644
+ return_url?: string;
645
+ /**
646
+ * Override showing a tipping selection screen on this transaction.
647
+ */
648
+ skip_tipping?: boolean;
649
+ /**
650
+ * Represents a per-transaction tipping configuration
651
+ */
652
+ tipping?: ProcessConfig.Tipping;
653
+ }
654
+ namespace ProcessConfig {
655
+ interface Tipping {
691
656
  /**
692
- * Enable customer-initiated cancellation when refunding this payment.
657
+ * Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
693
658
  */
694
- enable_customer_cancellation?: boolean;
659
+ amount_eligible?: number;
695
660
  }
696
661
  }
697
- namespace SetReaderDisplay {
698
- interface Cart {
699
- /**
700
- * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
701
- */
702
- currency: string;
662
+ }
663
+ namespace ProcessSetupIntent {
664
+ interface ProcessConfig {
665
+ /**
666
+ * Enable customer-initiated cancellation when processing this SetupIntent.
667
+ */
668
+ enable_customer_cancellation?: boolean;
669
+ }
670
+ }
671
+ namespace RefundPayment {
672
+ type Reason = 'duplicate' | 'fraudulent' | 'requested_by_customer';
673
+ interface RefundPaymentConfig {
674
+ /**
675
+ * Enable customer-initiated cancellation when refunding this payment.
676
+ */
677
+ enable_customer_cancellation?: boolean;
678
+ }
679
+ }
680
+ namespace SetReaderDisplay {
681
+ interface Cart {
682
+ /**
683
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
684
+ */
685
+ currency: string;
686
+ /**
687
+ * List of line items in the cart.
688
+ */
689
+ line_items: Array<Cart.LineItem>;
690
+ /**
691
+ * Tax amount for the entire cart. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
692
+ */
693
+ tax: number | null;
694
+ /**
695
+ * Total amount for the entire cart, including tax. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
696
+ */
697
+ total: number;
698
+ }
699
+ namespace Cart {
700
+ interface LineItem {
703
701
  /**
704
- * List of line items in the cart.
702
+ * The amount of the line item. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
705
703
  */
706
- line_items: Array<Cart.LineItem>;
704
+ amount: number;
707
705
  /**
708
- * Tax amount for the entire cart. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
706
+ * Description of the line item.
709
707
  */
710
- tax: number | null;
708
+ description: string;
711
709
  /**
712
- * Total amount for the entire cart, including tax. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
710
+ * The quantity of the line item.
713
711
  */
714
- total: number;
715
- }
716
- namespace Cart {
717
- interface LineItem {
718
- /**
719
- * The amount of the line item. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
720
- */
721
- amount: number;
722
- /**
723
- * Description of the line item.
724
- */
725
- description: string;
726
- /**
727
- * The quantity of the line item.
728
- */
729
- quantity: number;
730
- }
712
+ quantity: number;
731
713
  }
732
714
  }
733
715
  }