stripe 22.4.0-alpha.2 → 22.4.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (761) hide show
  1. package/CHANGELOG.md +85 -0
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/Error.d.ts +66 -7
  5. package/cjs/Error.js +13 -3
  6. package/cjs/Error.js.map +1 -1
  7. package/cjs/RequestSender.d.ts +1 -1
  8. package/cjs/RequestSender.js +4 -9
  9. package/cjs/RequestSender.js.map +1 -1
  10. package/cjs/StripeEventNotificationHandler.js +5 -0
  11. package/cjs/StripeEventNotificationHandler.js.map +1 -1
  12. package/cjs/Types.d.ts +75 -11
  13. package/cjs/Types.js.map +1 -1
  14. package/cjs/Webhooks.d.ts +2 -2
  15. package/cjs/apiVersion.d.ts +1 -1
  16. package/cjs/apiVersion.js +1 -1
  17. package/cjs/platform/NodePlatformFunctions.d.ts +3 -2
  18. package/cjs/platform/NodePlatformFunctions.js +46 -24
  19. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  20. package/cjs/platform/PlatformFunctions.d.ts +1 -1
  21. package/cjs/platform/PlatformFunctions.js +1 -1
  22. package/cjs/platform/PlatformFunctions.js.map +1 -1
  23. package/cjs/resources/AccountLinks.d.ts +2 -1
  24. package/cjs/resources/AccountLinks.js.map +1 -1
  25. package/cjs/resources/AccountNotices.d.ts +2 -2
  26. package/cjs/resources/AccountNotices.js.map +1 -1
  27. package/cjs/resources/AccountSessions.d.ts +16 -33
  28. package/cjs/resources/AccountSignals.d.ts +7 -6
  29. package/cjs/resources/Accounts.d.ts +59 -41
  30. package/cjs/resources/Accounts.js +2 -2
  31. package/cjs/resources/Accounts.js.map +1 -1
  32. package/cjs/resources/ApplicationFees.d.ts +2 -2
  33. package/cjs/resources/ApplicationFees.js.map +1 -1
  34. package/cjs/resources/Apps/Secrets.d.ts +6 -6
  35. package/cjs/resources/BalanceSettings.d.ts +10 -10
  36. package/cjs/resources/BalanceTransactions.d.ts +3 -3
  37. package/cjs/resources/BalanceTransfers.d.ts +4 -4
  38. package/cjs/resources/BankAccounts.d.ts +2 -2
  39. package/cjs/resources/Billing/AlertRecovereds.d.ts +16 -0
  40. package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -2
  41. package/cjs/resources/Billing/Alerts.d.ts +13 -13
  42. package/cjs/resources/Billing/Alerts.js.map +1 -1
  43. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +4 -4
  44. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +6 -6
  45. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  46. package/cjs/resources/Billing/CreditGrants.d.ts +5 -5
  47. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  48. package/cjs/resources/Billing/MeterEventAdjustments.d.ts +2 -1
  49. package/cjs/resources/Billing/MeterEventAdjustments.js.map +1 -1
  50. package/cjs/resources/Billing/Meters.d.ts +8 -8
  51. package/cjs/resources/BillingPortal/Configurations.d.ts +22 -22
  52. package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
  53. package/cjs/resources/BillingPortal/Sessions.d.ts +7 -6
  54. package/cjs/resources/BillingPortal/Sessions.js.map +1 -1
  55. package/cjs/resources/Capabilities.d.ts +7 -6
  56. package/cjs/resources/Capital/FinancingOffers.d.ts +5 -5
  57. package/cjs/resources/Capital/FinancingOffers.js.map +1 -1
  58. package/cjs/resources/Capital/FinancingSummary.d.ts +2 -1
  59. package/cjs/resources/Capital/FinancingSummary.js.map +1 -1
  60. package/cjs/resources/Capital/FinancingTransactions.d.ts +6 -6
  61. package/cjs/resources/Cards.d.ts +4 -4
  62. package/cjs/resources/Charges.d.ts +91 -91
  63. package/cjs/resources/Charges.js.map +1 -1
  64. package/cjs/resources/Checkout/Sessions.d.ts +203 -178
  65. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  66. package/cjs/resources/Climate/Orders.d.ts +3 -3
  67. package/cjs/resources/Climate/Orders.js.map +1 -1
  68. package/cjs/resources/Climate/Suppliers.d.ts +2 -2
  69. package/cjs/resources/ConfirmationTokens.d.ts +23 -23
  70. package/cjs/resources/Coupons.d.ts +6 -6
  71. package/cjs/resources/Coupons.js.map +1 -1
  72. package/cjs/resources/CreditNoteLineItems.d.ts +3 -3
  73. package/cjs/resources/CreditNotes.d.ts +16 -16
  74. package/cjs/resources/CreditNotes.js.map +1 -1
  75. package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +2 -1
  76. package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +4 -3
  77. package/cjs/resources/Crypto/Customers.d.ts +8 -8
  78. package/cjs/resources/Crypto/OnrampSessions.d.ts +12 -12
  79. package/cjs/resources/Crypto/OnrampSessions.js.map +1 -1
  80. package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +2 -1
  81. package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -1
  82. package/cjs/resources/CustomerBalanceTransactions.d.ts +2 -2
  83. package/cjs/resources/CustomerCashBalanceTransactions.d.ts +4 -3
  84. package/cjs/resources/CustomerSessions.d.ts +29 -28
  85. package/cjs/resources/CustomerSessions.js.map +1 -1
  86. package/cjs/resources/Customers.d.ts +11 -11
  87. package/cjs/resources/Customers.js.map +1 -1
  88. package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +5 -4
  89. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +25 -25
  90. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -1
  91. package/cjs/resources/Disputes.d.ts +17 -13
  92. package/cjs/resources/Disputes.js +1 -1
  93. package/cjs/resources/Disputes.js.map +1 -1
  94. package/cjs/resources/Events.d.ts +69 -4
  95. package/cjs/resources/Files.d.ts +3 -3
  96. package/cjs/resources/Files.js.map +1 -1
  97. package/cjs/resources/FinancialConnections/Accounts.d.ts +22 -22
  98. package/cjs/resources/FinancialConnections/Authorizations.d.ts +5 -4
  99. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
  100. package/cjs/resources/FinancialConnections/Institutions.d.ts +2 -2
  101. package/cjs/resources/FinancialConnections/Sessions.d.ts +25 -13
  102. package/cjs/resources/FinancialConnections/Transactions.d.ts +2 -2
  103. package/cjs/resources/Forwarding/Requests.d.ts +3 -3
  104. package/cjs/resources/Forwarding/Requests.js.map +1 -1
  105. package/cjs/resources/FundingInstructions.d.ts +4 -4
  106. package/cjs/resources/FxQuotes.d.ts +6 -6
  107. package/cjs/resources/GiftCardOperations.d.ts +2 -1
  108. package/cjs/resources/GiftCardOperations.js.map +1 -1
  109. package/cjs/resources/Identity/VerificationReports.d.ts +17 -17
  110. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  111. package/cjs/resources/Identity/VerificationSessions.d.ts +15 -15
  112. package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
  113. package/cjs/resources/InvoiceItems.d.ts +7 -7
  114. package/cjs/resources/InvoiceItems.js.map +1 -1
  115. package/cjs/resources/InvoiceLineItems.d.ts +5 -5
  116. package/cjs/resources/InvoicePayments.d.ts +3 -3
  117. package/cjs/resources/Invoices.d.ts +155 -149
  118. package/cjs/resources/Invoices.js.map +1 -1
  119. package/cjs/resources/Issuing/Authorizations.d.ts +78 -31
  120. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  121. package/cjs/resources/Issuing/Cardholders.d.ts +17 -17
  122. package/cjs/resources/Issuing/Cardholders.js.map +1 -1
  123. package/cjs/resources/Issuing/Cards.d.ts +31 -27
  124. package/cjs/resources/Issuing/Cards.js.map +1 -1
  125. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +25 -25
  126. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -1
  127. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +3 -3
  128. package/cjs/resources/Issuing/Disputes.d.ts +24 -24
  129. package/cjs/resources/Issuing/Disputes.js.map +1 -1
  130. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +5 -5
  131. package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  132. package/cjs/resources/Issuing/PhysicalBundles.d.ts +8 -8
  133. package/cjs/resources/Issuing/Settlements.d.ts +2 -2
  134. package/cjs/resources/Issuing/Tokens.d.ts +15 -15
  135. package/cjs/resources/Issuing/Transactions.d.ts +61 -6
  136. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  137. package/cjs/resources/LineItems.d.ts +2 -2
  138. package/cjs/resources/Mandates.d.ts +16 -16
  139. package/cjs/resources/Orders.d.ts +115 -115
  140. package/cjs/resources/Orders.js.map +1 -1
  141. package/cjs/resources/PaymentAttemptRecords.d.ts +45 -45
  142. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  143. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
  144. package/cjs/resources/PaymentIntents.d.ts +645 -567
  145. package/cjs/resources/PaymentIntents.js.map +1 -1
  146. package/cjs/resources/PaymentLinks.d.ts +50 -50
  147. package/cjs/resources/PaymentLinks.js.map +1 -1
  148. package/cjs/resources/PaymentLocationCapabilities.d.ts +4 -3
  149. package/cjs/resources/PaymentLocationCapabilities.js.map +1 -1
  150. package/cjs/resources/PaymentLocations.d.ts +3 -3
  151. package/cjs/resources/PaymentLocations.js.map +1 -1
  152. package/cjs/resources/PaymentMethodConfigurations.d.ts +257 -257
  153. package/cjs/resources/PaymentMethodDomains.d.ts +7 -7
  154. package/cjs/resources/PaymentMethods.d.ts +39 -39
  155. package/cjs/resources/PaymentMethods.js +1 -1
  156. package/cjs/resources/PaymentMethods.js.map +1 -1
  157. package/cjs/resources/PaymentRecords.d.ts +159 -57
  158. package/cjs/resources/PaymentRecords.js +7 -0
  159. package/cjs/resources/PaymentRecords.js.map +1 -1
  160. package/cjs/resources/Payouts.d.ts +3 -3
  161. package/cjs/resources/Payouts.js.map +1 -1
  162. package/cjs/resources/Persons.d.ts +6 -6
  163. package/cjs/resources/Plans.d.ts +6 -6
  164. package/cjs/resources/Plans.js.map +1 -1
  165. package/cjs/resources/Prices.d.ts +6 -6
  166. package/cjs/resources/Prices.js.map +1 -1
  167. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +2 -1
  168. package/cjs/resources/Privacy/RedactionJobs.d.ts +6 -6
  169. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +3 -2
  170. package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -1
  171. package/cjs/resources/Products.d.ts +3 -3
  172. package/cjs/resources/Products.js.map +1 -1
  173. package/cjs/resources/Profiles.d.ts +42 -0
  174. package/cjs/resources/PromotionCodes.d.ts +2 -2
  175. package/cjs/resources/QuoteLines.d.ts +23 -23
  176. package/cjs/resources/QuotePreviewInvoices.d.ts +33 -27
  177. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +164 -21
  178. package/cjs/resources/Quotes.d.ts +142 -120
  179. package/cjs/resources/Quotes.js.map +1 -1
  180. package/cjs/resources/Radar/CustomerEvaluations.d.ts +4 -3
  181. package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -1
  182. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +17 -17
  183. package/cjs/resources/Radar/PaymentEvaluations.d.ts +22 -22
  184. package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -1
  185. package/cjs/resources/Radar/ValueListItems.d.ts +3 -3
  186. package/cjs/resources/Radar/ValueLists.d.ts +2 -2
  187. package/cjs/resources/Radar/ValueLists.js.map +1 -1
  188. package/cjs/resources/Refunds.d.ts +8 -4
  189. package/cjs/resources/Refunds.js.map +1 -1
  190. package/cjs/resources/Reserve/Holds.d.ts +5 -5
  191. package/cjs/resources/Reserve/Plans.d.ts +4 -4
  192. package/cjs/resources/Reserve/Releases.d.ts +4 -4
  193. package/cjs/resources/SetupAttempts.d.ts +16 -7
  194. package/cjs/resources/SetupAttempts.js.map +1 -1
  195. package/cjs/resources/SetupIntents.d.ts +138 -132
  196. package/cjs/resources/SetupIntents.js.map +1 -1
  197. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +17 -17
  198. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +21 -5
  199. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -1
  200. package/cjs/resources/ShippingRates.d.ts +5 -5
  201. package/cjs/resources/ShippingRates.js.map +1 -1
  202. package/cjs/resources/Sources.d.ts +3 -3
  203. package/cjs/resources/Sources.js.map +1 -1
  204. package/cjs/resources/SubscriptionItems.d.ts +14 -14
  205. package/cjs/resources/SubscriptionItems.js.map +1 -1
  206. package/cjs/resources/SubscriptionSchedules.d.ts +559 -110
  207. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  208. package/cjs/resources/Subscriptions.d.ts +101 -101
  209. package/cjs/resources/Subscriptions.js.map +1 -1
  210. package/cjs/resources/Tax/Associations.d.ts +2 -1
  211. package/cjs/resources/Tax/Associations.js.map +1 -1
  212. package/cjs/resources/Tax/CalculationLineItems.d.ts +5 -5
  213. package/cjs/resources/Tax/Calculations.d.ts +16 -16
  214. package/cjs/resources/Tax/Calculations.js.map +1 -1
  215. package/cjs/resources/Tax/Forms.d.ts +6 -6
  216. package/cjs/resources/Tax/Registrations.d.ts +169 -155
  217. package/cjs/resources/Tax/Settings.d.ts +4 -4
  218. package/cjs/resources/Tax/TransactionLineItems.d.ts +3 -3
  219. package/cjs/resources/Tax/Transactions.d.ts +11 -11
  220. package/cjs/resources/Tax/Transactions.js.map +1 -1
  221. package/cjs/resources/TaxCodes.d.ts +2 -2
  222. package/cjs/resources/TaxIds.d.ts +4 -4
  223. package/cjs/resources/TaxRates.d.ts +2 -2
  224. package/cjs/resources/TaxRates.js.map +1 -1
  225. package/cjs/resources/Terminal/Configurations.d.ts +4 -4
  226. package/cjs/resources/Terminal/Readers.d.ts +218 -17
  227. package/cjs/resources/Terminal/Readers.js +24 -0
  228. package/cjs/resources/Terminal/Readers.js.map +1 -1
  229. package/cjs/resources/Terminal/index.d.ts +4 -0
  230. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +12 -12
  231. package/cjs/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
  232. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
  233. package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +2 -1
  234. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -1
  235. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
  236. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  237. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
  238. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +2 -1
  239. package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -1
  240. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +2 -2
  241. package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
  242. package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  243. package/cjs/resources/TestHelpers/TestClocks.d.ts +2 -2
  244. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
  245. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  246. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
  247. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  248. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
  249. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  250. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -1
  251. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
  252. package/cjs/resources/Tokens.d.ts +18 -10
  253. package/cjs/resources/Tokens.js.map +1 -1
  254. package/cjs/resources/Treasury/CreditReversals.d.ts +4 -4
  255. package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
  256. package/cjs/resources/Treasury/DebitReversals.d.ts +5 -5
  257. package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
  258. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +38 -37
  259. package/cjs/resources/Treasury/FinancialAccounts.d.ts +19 -19
  260. package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
  261. package/cjs/resources/Treasury/InboundTransfers.d.ts +6 -6
  262. package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
  263. package/cjs/resources/Treasury/OutboundPayments.d.ts +13 -13
  264. package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
  265. package/cjs/resources/Treasury/OutboundTransfers.d.ts +10 -10
  266. package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
  267. package/cjs/resources/Treasury/ReceivedCredits.d.ts +9 -9
  268. package/cjs/resources/Treasury/ReceivedDebits.d.ts +7 -7
  269. package/cjs/resources/Treasury/TransactionEntries.d.ts +5 -5
  270. package/cjs/resources/Treasury/Transactions.d.ts +6 -6
  271. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +2 -1
  272. package/cjs/resources/V2/Billing/BillSettings.d.ts +4 -3
  273. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -1
  274. package/cjs/resources/V2/Billing/Cadences.d.ts +21 -21
  275. package/cjs/resources/V2/Billing/Cadences.js.map +1 -1
  276. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +12 -11
  277. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +34 -33
  278. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -1
  279. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +2 -2
  280. package/cjs/resources/V2/Billing/Contracts.d.ts +146 -437
  281. package/cjs/resources/V2/Billing/Contracts.js +8 -284
  282. package/cjs/resources/V2/Billing/Contracts.js.map +1 -1
  283. package/cjs/resources/V2/Billing/IntentActions.d.ts +21 -21
  284. package/cjs/resources/V2/Billing/Intents.d.ts +23 -23
  285. package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +2 -1
  286. package/cjs/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
  287. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +8 -8
  288. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -1
  289. package/cjs/resources/V2/Billing/Profiles.d.ts +3 -3
  290. package/cjs/resources/V2/Billing/ServiceActions.d.ts +7 -7
  291. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +4 -4
  292. package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +5 -5
  293. package/cjs/resources/V2/Core/AccountLinks.d.ts +23 -22
  294. package/cjs/resources/V2/Core/AccountLinks.js.map +1 -1
  295. package/cjs/resources/V2/Core/AccountPersons.d.ts +4 -4
  296. package/cjs/resources/V2/Core/AccountTokens.d.ts +7 -7
  297. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  298. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +4 -4
  299. package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  300. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +7 -7
  301. package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
  302. package/cjs/resources/V2/Core/Accounts.d.ts +61 -40
  303. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  304. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +3 -2
  305. package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -1
  306. package/cjs/resources/V2/Core/EventDestinations.d.ts +6 -6
  307. package/cjs/resources/V2/Core/Events.d.ts +103 -33
  308. package/cjs/resources/V2/Core/FeeBatches.d.ts +4 -3
  309. package/cjs/resources/V2/Core/FeeBatches.js.map +1 -1
  310. package/cjs/resources/V2/Core/FeeEntries.d.ts +4 -3
  311. package/cjs/resources/V2/Core/FeeEntries.js.map +1 -1
  312. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +11 -11
  313. package/cjs/resources/V2/Core/Health/Alerts.d.ts +16 -16
  314. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +2 -1
  315. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
  316. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +2 -1
  317. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
  318. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +4 -3
  319. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -1
  320. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +3 -2
  321. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -1
  322. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +4 -3
  323. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -1
  324. package/cjs/resources/V2/Extend/Workflows.d.ts +4 -3
  325. package/cjs/resources/V2/Extend/Workflows.js.map +1 -1
  326. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +5 -4
  327. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -1
  328. package/cjs/resources/V2/Iam/ApiKeys.d.ts +4 -3
  329. package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -1
  330. package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +5 -4
  331. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -1
  332. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +5 -5
  333. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +7 -7
  334. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +5 -4
  335. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -1
  336. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +8 -7
  337. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -1
  338. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +16 -16
  339. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +4 -3
  340. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
  341. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +8 -8
  342. package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +10 -10
  343. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +14 -3
  344. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  345. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +32 -9
  346. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -1
  347. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +4 -3
  348. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -1
  349. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +3 -2
  350. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -1
  351. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +3 -2
  352. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
  353. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +10 -10
  354. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -1
  355. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +4 -4
  356. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +3 -3
  357. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +3 -3
  358. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +2 -1
  359. package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -1
  360. package/cjs/resources/V2/Signals/AccountSignals.d.ts +4 -4
  361. package/cjs/resources/V2/Signals/AccountSignals.js +1 -1
  362. package/cjs/resources/V2/Tax/ManualRules.d.ts +2 -2
  363. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +2 -1
  364. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -1
  365. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  366. package/cjs/resources/WebhookEndpoints.js.map +1 -1
  367. package/cjs/resources.d.ts +0 -1
  368. package/cjs/resources.js +2 -4
  369. package/cjs/resources.js.map +1 -1
  370. package/cjs/shared.d.ts +5 -0
  371. package/cjs/stripe.cjs.node.d.ts +255 -93
  372. package/cjs/stripe.cjs.node.js.map +1 -1
  373. package/cjs/stripe.core.d.ts +16 -8
  374. package/cjs/stripe.core.js +6 -7
  375. package/cjs/stripe.core.js.map +1 -1
  376. package/cjs/utils.d.ts +0 -1
  377. package/cjs/utils.js +1 -17
  378. package/cjs/utils.js.map +1 -1
  379. package/esm/Error.d.ts +66 -7
  380. package/esm/Error.js +13 -3
  381. package/esm/Error.js.map +1 -1
  382. package/esm/RequestSender.d.ts +1 -1
  383. package/esm/RequestSender.js +5 -10
  384. package/esm/RequestSender.js.map +1 -1
  385. package/esm/StripeEventNotificationHandler.js +5 -0
  386. package/esm/StripeEventNotificationHandler.js.map +1 -1
  387. package/esm/Types.d.ts +75 -11
  388. package/esm/Types.js.map +1 -1
  389. package/esm/Webhooks.d.ts +2 -2
  390. package/esm/apiVersion.d.ts +1 -1
  391. package/esm/apiVersion.js +1 -1
  392. package/esm/platform/NodePlatformFunctions.d.ts +3 -2
  393. package/esm/platform/NodePlatformFunctions.js +46 -24
  394. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  395. package/esm/platform/PlatformFunctions.d.ts +1 -1
  396. package/esm/platform/PlatformFunctions.js +1 -1
  397. package/esm/platform/PlatformFunctions.js.map +1 -1
  398. package/esm/resources/AccountLinks.d.ts +2 -1
  399. package/esm/resources/AccountLinks.js.map +1 -1
  400. package/esm/resources/AccountNotices.d.ts +2 -2
  401. package/esm/resources/AccountNotices.js.map +1 -1
  402. package/esm/resources/AccountSessions.d.ts +16 -33
  403. package/esm/resources/AccountSignals.d.ts +7 -6
  404. package/esm/resources/Accounts.d.ts +59 -41
  405. package/esm/resources/Accounts.js +2 -2
  406. package/esm/resources/Accounts.js.map +1 -1
  407. package/esm/resources/ApplicationFees.d.ts +2 -2
  408. package/esm/resources/ApplicationFees.js.map +1 -1
  409. package/esm/resources/Apps/Secrets.d.ts +6 -6
  410. package/esm/resources/BalanceSettings.d.ts +10 -10
  411. package/esm/resources/BalanceTransactions.d.ts +3 -3
  412. package/esm/resources/BalanceTransfers.d.ts +4 -4
  413. package/esm/resources/BankAccounts.d.ts +2 -2
  414. package/esm/resources/Billing/AlertRecovereds.d.ts +16 -0
  415. package/esm/resources/Billing/AlertTriggereds.d.ts +2 -2
  416. package/esm/resources/Billing/Alerts.d.ts +13 -13
  417. package/esm/resources/Billing/Alerts.js.map +1 -1
  418. package/esm/resources/Billing/CreditBalanceSummary.d.ts +4 -4
  419. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +6 -6
  420. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  421. package/esm/resources/Billing/CreditGrants.d.ts +5 -5
  422. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  423. package/esm/resources/Billing/MeterEventAdjustments.d.ts +2 -1
  424. package/esm/resources/Billing/MeterEventAdjustments.js.map +1 -1
  425. package/esm/resources/Billing/Meters.d.ts +8 -8
  426. package/esm/resources/BillingPortal/Configurations.d.ts +22 -22
  427. package/esm/resources/BillingPortal/Configurations.js.map +1 -1
  428. package/esm/resources/BillingPortal/Sessions.d.ts +7 -6
  429. package/esm/resources/BillingPortal/Sessions.js.map +1 -1
  430. package/esm/resources/Capabilities.d.ts +7 -6
  431. package/esm/resources/Capital/FinancingOffers.d.ts +5 -5
  432. package/esm/resources/Capital/FinancingOffers.js.map +1 -1
  433. package/esm/resources/Capital/FinancingSummary.d.ts +2 -1
  434. package/esm/resources/Capital/FinancingSummary.js.map +1 -1
  435. package/esm/resources/Capital/FinancingTransactions.d.ts +6 -6
  436. package/esm/resources/Cards.d.ts +4 -4
  437. package/esm/resources/Charges.d.ts +91 -91
  438. package/esm/resources/Charges.js.map +1 -1
  439. package/esm/resources/Checkout/Sessions.d.ts +203 -178
  440. package/esm/resources/Checkout/Sessions.js.map +1 -1
  441. package/esm/resources/Climate/Orders.d.ts +3 -3
  442. package/esm/resources/Climate/Orders.js.map +1 -1
  443. package/esm/resources/Climate/Suppliers.d.ts +2 -2
  444. package/esm/resources/ConfirmationTokens.d.ts +23 -23
  445. package/esm/resources/Coupons.d.ts +6 -6
  446. package/esm/resources/Coupons.js.map +1 -1
  447. package/esm/resources/CreditNoteLineItems.d.ts +3 -3
  448. package/esm/resources/CreditNotes.d.ts +16 -16
  449. package/esm/resources/CreditNotes.js.map +1 -1
  450. package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +2 -1
  451. package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +4 -3
  452. package/esm/resources/Crypto/Customers.d.ts +8 -8
  453. package/esm/resources/Crypto/OnrampSessions.d.ts +12 -12
  454. package/esm/resources/Crypto/OnrampSessions.js.map +1 -1
  455. package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +2 -1
  456. package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -1
  457. package/esm/resources/CustomerBalanceTransactions.d.ts +2 -2
  458. package/esm/resources/CustomerCashBalanceTransactions.d.ts +4 -3
  459. package/esm/resources/CustomerSessions.d.ts +29 -28
  460. package/esm/resources/CustomerSessions.js.map +1 -1
  461. package/esm/resources/Customers.d.ts +11 -11
  462. package/esm/resources/Customers.js.map +1 -1
  463. package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +5 -4
  464. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +25 -25
  465. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -1
  466. package/esm/resources/Disputes.d.ts +17 -13
  467. package/esm/resources/Disputes.js +1 -1
  468. package/esm/resources/Disputes.js.map +1 -1
  469. package/esm/resources/Events.d.ts +69 -4
  470. package/esm/resources/Files.d.ts +3 -3
  471. package/esm/resources/Files.js.map +1 -1
  472. package/esm/resources/FinancialConnections/Accounts.d.ts +22 -22
  473. package/esm/resources/FinancialConnections/Authorizations.d.ts +5 -4
  474. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
  475. package/esm/resources/FinancialConnections/Institutions.d.ts +2 -2
  476. package/esm/resources/FinancialConnections/Sessions.d.ts +25 -13
  477. package/esm/resources/FinancialConnections/Transactions.d.ts +2 -2
  478. package/esm/resources/Forwarding/Requests.d.ts +3 -3
  479. package/esm/resources/Forwarding/Requests.js.map +1 -1
  480. package/esm/resources/FundingInstructions.d.ts +4 -4
  481. package/esm/resources/FxQuotes.d.ts +6 -6
  482. package/esm/resources/GiftCardOperations.d.ts +2 -1
  483. package/esm/resources/GiftCardOperations.js.map +1 -1
  484. package/esm/resources/Identity/VerificationReports.d.ts +17 -17
  485. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  486. package/esm/resources/Identity/VerificationSessions.d.ts +15 -15
  487. package/esm/resources/Identity/VerificationSessions.js.map +1 -1
  488. package/esm/resources/InvoiceItems.d.ts +7 -7
  489. package/esm/resources/InvoiceItems.js.map +1 -1
  490. package/esm/resources/InvoiceLineItems.d.ts +5 -5
  491. package/esm/resources/InvoicePayments.d.ts +3 -3
  492. package/esm/resources/Invoices.d.ts +155 -149
  493. package/esm/resources/Invoices.js.map +1 -1
  494. package/esm/resources/Issuing/Authorizations.d.ts +78 -31
  495. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  496. package/esm/resources/Issuing/Cardholders.d.ts +17 -17
  497. package/esm/resources/Issuing/Cardholders.js.map +1 -1
  498. package/esm/resources/Issuing/Cards.d.ts +31 -27
  499. package/esm/resources/Issuing/Cards.js.map +1 -1
  500. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +25 -25
  501. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -1
  502. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +3 -3
  503. package/esm/resources/Issuing/Disputes.d.ts +24 -24
  504. package/esm/resources/Issuing/Disputes.js.map +1 -1
  505. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +5 -5
  506. package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  507. package/esm/resources/Issuing/PhysicalBundles.d.ts +8 -8
  508. package/esm/resources/Issuing/Settlements.d.ts +2 -2
  509. package/esm/resources/Issuing/Tokens.d.ts +15 -15
  510. package/esm/resources/Issuing/Transactions.d.ts +61 -6
  511. package/esm/resources/Issuing/Transactions.js.map +1 -1
  512. package/esm/resources/LineItems.d.ts +2 -2
  513. package/esm/resources/Mandates.d.ts +16 -16
  514. package/esm/resources/Orders.d.ts +115 -115
  515. package/esm/resources/Orders.js.map +1 -1
  516. package/esm/resources/PaymentAttemptRecords.d.ts +45 -45
  517. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  518. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
  519. package/esm/resources/PaymentIntents.d.ts +645 -567
  520. package/esm/resources/PaymentIntents.js.map +1 -1
  521. package/esm/resources/PaymentLinks.d.ts +50 -50
  522. package/esm/resources/PaymentLinks.js.map +1 -1
  523. package/esm/resources/PaymentLocationCapabilities.d.ts +4 -3
  524. package/esm/resources/PaymentLocationCapabilities.js.map +1 -1
  525. package/esm/resources/PaymentLocations.d.ts +3 -3
  526. package/esm/resources/PaymentLocations.js.map +1 -1
  527. package/esm/resources/PaymentMethodConfigurations.d.ts +257 -257
  528. package/esm/resources/PaymentMethodDomains.d.ts +7 -7
  529. package/esm/resources/PaymentMethods.d.ts +39 -39
  530. package/esm/resources/PaymentMethods.js +1 -1
  531. package/esm/resources/PaymentMethods.js.map +1 -1
  532. package/esm/resources/PaymentRecords.d.ts +159 -57
  533. package/esm/resources/PaymentRecords.js +7 -0
  534. package/esm/resources/PaymentRecords.js.map +1 -1
  535. package/esm/resources/Payouts.d.ts +3 -3
  536. package/esm/resources/Payouts.js.map +1 -1
  537. package/esm/resources/Persons.d.ts +6 -6
  538. package/esm/resources/Plans.d.ts +6 -6
  539. package/esm/resources/Plans.js.map +1 -1
  540. package/esm/resources/Prices.d.ts +6 -6
  541. package/esm/resources/Prices.js.map +1 -1
  542. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +2 -1
  543. package/esm/resources/Privacy/RedactionJobs.d.ts +6 -6
  544. package/esm/resources/ProductCatalog/TrialOffers.d.ts +3 -2
  545. package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -1
  546. package/esm/resources/Products.d.ts +3 -3
  547. package/esm/resources/Products.js.map +1 -1
  548. package/esm/resources/Profiles.d.ts +42 -0
  549. package/esm/resources/PromotionCodes.d.ts +2 -2
  550. package/esm/resources/QuoteLines.d.ts +23 -23
  551. package/esm/resources/QuotePreviewInvoices.d.ts +33 -27
  552. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +164 -21
  553. package/esm/resources/Quotes.d.ts +142 -120
  554. package/esm/resources/Quotes.js.map +1 -1
  555. package/esm/resources/Radar/CustomerEvaluations.d.ts +4 -3
  556. package/esm/resources/Radar/CustomerEvaluations.js.map +1 -1
  557. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +17 -17
  558. package/esm/resources/Radar/PaymentEvaluations.d.ts +22 -22
  559. package/esm/resources/Radar/PaymentEvaluations.js.map +1 -1
  560. package/esm/resources/Radar/ValueListItems.d.ts +3 -3
  561. package/esm/resources/Radar/ValueLists.d.ts +2 -2
  562. package/esm/resources/Radar/ValueLists.js.map +1 -1
  563. package/esm/resources/Refunds.d.ts +8 -4
  564. package/esm/resources/Refunds.js.map +1 -1
  565. package/esm/resources/Reserve/Holds.d.ts +5 -5
  566. package/esm/resources/Reserve/Plans.d.ts +4 -4
  567. package/esm/resources/Reserve/Releases.d.ts +4 -4
  568. package/esm/resources/SetupAttempts.d.ts +16 -7
  569. package/esm/resources/SetupAttempts.js.map +1 -1
  570. package/esm/resources/SetupIntents.d.ts +138 -132
  571. package/esm/resources/SetupIntents.js.map +1 -1
  572. package/esm/resources/SharedPayment/GrantedTokens.d.ts +17 -17
  573. package/esm/resources/SharedPayment/IssuedTokens.d.ts +21 -5
  574. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -1
  575. package/esm/resources/ShippingRates.d.ts +5 -5
  576. package/esm/resources/ShippingRates.js.map +1 -1
  577. package/esm/resources/Sources.d.ts +3 -3
  578. package/esm/resources/Sources.js.map +1 -1
  579. package/esm/resources/SubscriptionItems.d.ts +14 -14
  580. package/esm/resources/SubscriptionItems.js.map +1 -1
  581. package/esm/resources/SubscriptionSchedules.d.ts +559 -110
  582. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  583. package/esm/resources/Subscriptions.d.ts +101 -101
  584. package/esm/resources/Subscriptions.js.map +1 -1
  585. package/esm/resources/Tax/Associations.d.ts +2 -1
  586. package/esm/resources/Tax/Associations.js.map +1 -1
  587. package/esm/resources/Tax/CalculationLineItems.d.ts +5 -5
  588. package/esm/resources/Tax/Calculations.d.ts +16 -16
  589. package/esm/resources/Tax/Calculations.js.map +1 -1
  590. package/esm/resources/Tax/Forms.d.ts +6 -6
  591. package/esm/resources/Tax/Registrations.d.ts +169 -155
  592. package/esm/resources/Tax/Settings.d.ts +4 -4
  593. package/esm/resources/Tax/TransactionLineItems.d.ts +3 -3
  594. package/esm/resources/Tax/Transactions.d.ts +11 -11
  595. package/esm/resources/Tax/Transactions.js.map +1 -1
  596. package/esm/resources/TaxCodes.d.ts +2 -2
  597. package/esm/resources/TaxIds.d.ts +4 -4
  598. package/esm/resources/TaxRates.d.ts +2 -2
  599. package/esm/resources/TaxRates.js.map +1 -1
  600. package/esm/resources/Terminal/Configurations.d.ts +4 -4
  601. package/esm/resources/Terminal/Readers.d.ts +218 -17
  602. package/esm/resources/Terminal/Readers.js +24 -0
  603. package/esm/resources/Terminal/Readers.js.map +1 -1
  604. package/esm/resources/Terminal/index.d.ts +4 -0
  605. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +12 -12
  606. package/esm/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
  607. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
  608. package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +2 -1
  609. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -1
  610. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
  611. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  612. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
  613. package/esm/resources/TestHelpers/PaymentIntents.d.ts +2 -1
  614. package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -1
  615. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +2 -2
  616. package/esm/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
  617. package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  618. package/esm/resources/TestHelpers/TestClocks.d.ts +2 -2
  619. package/esm/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
  620. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  621. package/esm/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
  622. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  623. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
  624. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  625. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -1
  626. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
  627. package/esm/resources/Tokens.d.ts +18 -10
  628. package/esm/resources/Tokens.js.map +1 -1
  629. package/esm/resources/Treasury/CreditReversals.d.ts +4 -4
  630. package/esm/resources/Treasury/CreditReversals.js.map +1 -1
  631. package/esm/resources/Treasury/DebitReversals.d.ts +5 -5
  632. package/esm/resources/Treasury/DebitReversals.js.map +1 -1
  633. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +38 -37
  634. package/esm/resources/Treasury/FinancialAccounts.d.ts +19 -19
  635. package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
  636. package/esm/resources/Treasury/InboundTransfers.d.ts +6 -6
  637. package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
  638. package/esm/resources/Treasury/OutboundPayments.d.ts +13 -13
  639. package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
  640. package/esm/resources/Treasury/OutboundTransfers.d.ts +10 -10
  641. package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
  642. package/esm/resources/Treasury/ReceivedCredits.d.ts +9 -9
  643. package/esm/resources/Treasury/ReceivedDebits.d.ts +7 -7
  644. package/esm/resources/Treasury/TransactionEntries.d.ts +5 -5
  645. package/esm/resources/Treasury/Transactions.d.ts +6 -6
  646. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +2 -1
  647. package/esm/resources/V2/Billing/BillSettings.d.ts +4 -3
  648. package/esm/resources/V2/Billing/BillSettings.js.map +1 -1
  649. package/esm/resources/V2/Billing/Cadences.d.ts +21 -21
  650. package/esm/resources/V2/Billing/Cadences.js.map +1 -1
  651. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +12 -11
  652. package/esm/resources/V2/Billing/CollectionSettings.d.ts +34 -33
  653. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -1
  654. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +2 -2
  655. package/esm/resources/V2/Billing/Contracts.d.ts +146 -437
  656. package/esm/resources/V2/Billing/Contracts.js +8 -284
  657. package/esm/resources/V2/Billing/Contracts.js.map +1 -1
  658. package/esm/resources/V2/Billing/IntentActions.d.ts +21 -21
  659. package/esm/resources/V2/Billing/Intents.d.ts +23 -23
  660. package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +2 -1
  661. package/esm/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
  662. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +8 -8
  663. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -1
  664. package/esm/resources/V2/Billing/Profiles.d.ts +3 -3
  665. package/esm/resources/V2/Billing/ServiceActions.d.ts +7 -7
  666. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +4 -4
  667. package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +5 -5
  668. package/esm/resources/V2/Core/AccountLinks.d.ts +23 -22
  669. package/esm/resources/V2/Core/AccountLinks.js.map +1 -1
  670. package/esm/resources/V2/Core/AccountPersons.d.ts +4 -4
  671. package/esm/resources/V2/Core/AccountTokens.d.ts +7 -7
  672. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  673. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +4 -4
  674. package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  675. package/esm/resources/V2/Core/Accounts/Persons.d.ts +7 -7
  676. package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
  677. package/esm/resources/V2/Core/Accounts.d.ts +61 -40
  678. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  679. package/esm/resources/V2/Core/ApprovalRequests.d.ts +3 -2
  680. package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -1
  681. package/esm/resources/V2/Core/EventDestinations.d.ts +6 -6
  682. package/esm/resources/V2/Core/Events.d.ts +103 -33
  683. package/esm/resources/V2/Core/FeeBatches.d.ts +4 -3
  684. package/esm/resources/V2/Core/FeeBatches.js.map +1 -1
  685. package/esm/resources/V2/Core/FeeEntries.d.ts +4 -3
  686. package/esm/resources/V2/Core/FeeEntries.js.map +1 -1
  687. package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +11 -11
  688. package/esm/resources/V2/Core/Health/Alerts.d.ts +16 -16
  689. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +2 -1
  690. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
  691. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +2 -1
  692. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
  693. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +4 -3
  694. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -1
  695. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +3 -2
  696. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -1
  697. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +4 -3
  698. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -1
  699. package/esm/resources/V2/Extend/Workflows.d.ts +4 -3
  700. package/esm/resources/V2/Extend/Workflows.js.map +1 -1
  701. package/esm/resources/V2/Iam/ActivityLogs.d.ts +5 -4
  702. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -1
  703. package/esm/resources/V2/Iam/ApiKeys.d.ts +4 -3
  704. package/esm/resources/V2/Iam/ApiKeys.js.map +1 -1
  705. package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +5 -4
  706. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -1
  707. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +5 -5
  708. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +7 -7
  709. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +5 -4
  710. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -1
  711. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +8 -7
  712. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -1
  713. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +16 -16
  714. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +4 -3
  715. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
  716. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +8 -8
  717. package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +10 -10
  718. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +14 -3
  719. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  720. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +32 -9
  721. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -1
  722. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +4 -3
  723. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -1
  724. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +3 -2
  725. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -1
  726. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +3 -2
  727. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
  728. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +10 -10
  729. package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -1
  730. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +4 -4
  731. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +3 -3
  732. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +3 -3
  733. package/esm/resources/V2/Reporting/ReportRuns.d.ts +2 -1
  734. package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -1
  735. package/esm/resources/V2/Signals/AccountSignals.d.ts +4 -4
  736. package/esm/resources/V2/Signals/AccountSignals.js +1 -1
  737. package/esm/resources/V2/Tax/ManualRules.d.ts +2 -2
  738. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +2 -1
  739. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -1
  740. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  741. package/esm/resources/WebhookEndpoints.js.map +1 -1
  742. package/esm/resources.d.ts +0 -1
  743. package/esm/resources.js +0 -1
  744. package/esm/resources.js.map +1 -1
  745. package/esm/shared.d.ts +5 -0
  746. package/esm/stripe.core.d.ts +16 -8
  747. package/esm/stripe.core.js +6 -7
  748. package/esm/stripe.core.js.map +1 -1
  749. package/esm/stripe.esm.node.d.ts +16 -7
  750. package/esm/stripe.esm.node.js +1 -3
  751. package/esm/stripe.esm.node.js.map +1 -1
  752. package/esm/utils.d.ts +0 -1
  753. package/esm/utils.js +0 -15
  754. package/esm/utils.js.map +1 -1
  755. package/package.json +1 -1
  756. package/cjs/resources/FrMealVouchersOnboardings.d.ts +0 -173
  757. package/cjs/resources/FrMealVouchersOnboardings.js +0 -42
  758. package/cjs/resources/FrMealVouchersOnboardings.js.map +0 -1
  759. package/esm/resources/FrMealVouchersOnboardings.d.ts +0 -173
  760. package/esm/resources/FrMealVouchersOnboardings.js +0 -38
  761. package/esm/resources/FrMealVouchersOnboardings.js.map +0 -1
@@ -1,12 +1,14 @@
1
1
  import { StripeResource } from '../../StripeResource.js';
2
2
  import { Location } from './Locations.js';
3
+ import { GiftCard } from './../GiftCards.js';
4
+ import { GiftCardOperation } from './../GiftCardOperations.js';
3
5
  import { PaymentIntent } from './../PaymentIntents.js';
4
6
  import { PaymentMethod } from './../PaymentMethods.js';
5
7
  import { SetupIntent } from './../SetupIntents.js';
6
8
  import { CustomerSource } from './../CustomerSources.js';
7
9
  import { Charge } from './../Charges.js';
8
10
  import { Refund } from './../Refunds.js';
9
- import { Emptyable, MetadataParam, PaginationParams, Metadata } from '../../shared.js';
11
+ import { Emptyable, MetadataParam, PaginationParams, OtherString, Metadata } from '../../shared.js';
10
12
  import { RequestOptions, Response, ApiListPromise } from '../../lib.js';
11
13
  export declare class ReaderResource extends StripeResource {
12
14
  /**
@@ -29,10 +31,22 @@ export declare class ReaderResource extends StripeResource {
29
31
  * Creates a new Reader object.
30
32
  */
31
33
  create(params: Terminal.ReaderCreateParams, options?: RequestOptions): Promise<Response<Reader>>;
34
+ /**
35
+ * Initiates a gift card activation flow on a Reader and optionally sets its balance.
36
+ */
37
+ activateGiftCard(id: string, params: Terminal.ReaderActivateGiftCardParams, options?: RequestOptions): Promise<Response<Reader>>;
32
38
  /**
33
39
  * Cancels the current reader action. See [Programmatic Cancellation](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#programmatic-cancellation) for more details.
34
40
  */
35
- cancelAction(id: string, params?: Terminal.ReaderCancelActionParams, options?: RequestOptions): Promise<Response<Reader>>;
41
+ cancelAction(id: string, params?: Terminal.ReaderCancelActionParams, options?: RequestOptions): Promise<Response<Reader | DeletedReader>>;
42
+ /**
43
+ * Initiates a gift card cashout flow on a Reader. A cashout sets the gift card balance to 0.
44
+ */
45
+ cashoutGiftCard(id: string, params: Terminal.ReaderCashoutGiftCardParams, options?: RequestOptions): Promise<Response<Reader>>;
46
+ /**
47
+ * Initiates a gift card balance check flow on a Reader.
48
+ */
49
+ checkGiftCardBalance(id: string, params: Terminal.ReaderCheckGiftCardBalanceParams, options?: RequestOptions): Promise<Response<Reader>>;
36
50
  /**
37
51
  * Initiates an [input collection flow](https://docs.stripe.com/docs/terminal/features/collect-inputs) on a Reader to display input forms and collect information from your customers.
38
52
  */
@@ -57,6 +71,10 @@ export declare class ReaderResource extends StripeResource {
57
71
  * Initiates an in-person refund on a Reader. See [Refund an Interac Payment](https://docs.stripe.com/docs/terminal/payments/regional?integration-country=CA#refund-an-interac-payment) for more details.
58
72
  */
59
73
  refundPayment(id: string, params?: Terminal.ReaderRefundPaymentParams, options?: RequestOptions): Promise<Response<Reader>>;
74
+ /**
75
+ * Initiates a gift card reload flow on a Reader by adding the specified amount to its balance.
76
+ */
77
+ reloadGiftCard(id: string, params: Terminal.ReaderReloadGiftCardParams, options?: RequestOptions): Promise<Response<Reader>>;
60
78
  /**
61
79
  * Sets the reader display to show [cart details](https://docs.stripe.com/docs/terminal/features/display).
62
80
  */
@@ -143,14 +161,26 @@ export interface DeletedReader {
143
161
  serial_number: string;
144
162
  }
145
163
  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';
164
+ 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' | OtherString;
147
165
  }
148
166
  export declare namespace Reader {
149
167
  interface Action {
168
+ /**
169
+ * Represents a reader action to activate a gift card
170
+ */
171
+ activate_gift_card?: Action.ActivateGiftCard;
150
172
  /**
151
173
  * 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.
152
174
  */
153
175
  api_error: Action.ApiError | null;
176
+ /**
177
+ * Represents a reader action to cash out a gift card
178
+ */
179
+ cashout_gift_card?: Action.CashoutGiftCard;
180
+ /**
181
+ * Represents a reader action to check a gift card balance
182
+ */
183
+ check_gift_card_balance?: Action.CheckGiftCardBalance;
154
184
  /**
155
185
  * Represents a reader action to collect customer inputs
156
186
  */
@@ -163,6 +193,10 @@ export declare namespace Reader {
163
193
  * Represents a reader action to confirm a payment
164
194
  */
165
195
  confirm_payment_intent?: Action.ConfirmPaymentIntent;
196
+ /**
197
+ * Represents a reader action to deactivate a gift card
198
+ */
199
+ deactivate_gift_card?: Action.DeactivateGiftCard;
166
200
  /**
167
201
  * Failure code, only set if status is `failed`.
168
202
  */
@@ -187,6 +221,10 @@ export declare namespace Reader {
187
221
  * Represents a reader action to refund a payment
188
222
  */
189
223
  refund_payment?: Action.RefundPayment;
224
+ /**
225
+ * Represents a reader action to reload a gift card
226
+ */
227
+ reload_gift_card?: Action.ReloadGiftCard;
190
228
  /**
191
229
  * Represents a reader action to set the reader display
192
230
  */
@@ -200,9 +238,19 @@ export declare namespace Reader {
200
238
  */
201
239
  type: Action.Type;
202
240
  }
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';
241
+ 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' | OtherString;
204
242
  type Status = 'offline' | 'online';
205
243
  namespace Action {
244
+ interface ActivateGiftCard {
245
+ /**
246
+ * The gift card used in this reader action.
247
+ */
248
+ gift_card?: string | GiftCard;
249
+ /**
250
+ * The GiftCardOperation created for this reader action.
251
+ */
252
+ gift_card_operation?: string | GiftCardOperation;
253
+ }
206
254
  interface ApiError {
207
255
  /**
208
256
  * 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.
@@ -224,6 +272,11 @@ export declare namespace Reader {
224
272
  * A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported.
225
273
  */
226
274
  doc_url?: string;
275
+ /**
276
+ * A GiftCardOperation represents an operation performed on a third-party gift card,
277
+ * such as activation, reload, cashout, balance check, or void.
278
+ */
279
+ gift_card_operation?: GiftCardOperation;
227
280
  /**
228
281
  * A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
229
282
  */
@@ -300,6 +353,26 @@ export declare namespace Reader {
300
353
  */
301
354
  type: ApiError.Type;
302
355
  }
356
+ interface CashoutGiftCard {
357
+ /**
358
+ * The gift card used in this reader action.
359
+ */
360
+ gift_card?: string | GiftCard;
361
+ /**
362
+ * The GiftCardOperation created for this reader action.
363
+ */
364
+ gift_card_operation?: string | GiftCardOperation;
365
+ }
366
+ interface CheckGiftCardBalance {
367
+ /**
368
+ * The gift card used in this reader action.
369
+ */
370
+ gift_card?: string | GiftCard;
371
+ /**
372
+ * The GiftCardOperation created for this reader action.
373
+ */
374
+ gift_card_operation?: string | GiftCardOperation;
375
+ }
303
376
  interface CollectInputs {
304
377
  /**
305
378
  * List of inputs to be collected.
@@ -346,6 +419,16 @@ export declare namespace Reader {
346
419
  */
347
420
  payment_intent: string | PaymentIntent;
348
421
  }
422
+ interface DeactivateGiftCard {
423
+ /**
424
+ * The gift card used in this reader action.
425
+ */
426
+ gift_card?: string | GiftCard;
427
+ /**
428
+ * The GiftCardOperation created for this reader action.
429
+ */
430
+ gift_card_operation?: string | GiftCardOperation;
431
+ }
349
432
  interface PrintContent {
350
433
  /**
351
434
  * Metadata of an uploaded file
@@ -426,6 +509,16 @@ export declare namespace Reader {
426
509
  */
427
510
  reverse_transfer?: boolean;
428
511
  }
512
+ interface ReloadGiftCard {
513
+ /**
514
+ * The gift card used in this reader action.
515
+ */
516
+ gift_card?: string | GiftCard;
517
+ /**
518
+ * The GiftCardOperation created for this reader action.
519
+ */
520
+ gift_card_operation?: string | GiftCardOperation;
521
+ }
429
522
  interface SetReaderDisplay {
430
523
  /**
431
524
  * Cart object to be displayed by the reader, including line items, amounts, and currency.
@@ -436,8 +529,8 @@ export declare namespace Reader {
436
529
  */
437
530
  type: 'cart';
438
531
  }
439
- type Status = 'failed' | 'in_progress' | 'succeeded';
440
- type Type = 'collect_inputs' | 'collect_payment_method' | 'confirm_payment_intent' | 'print_content' | 'process_payment_intent' | 'process_setup_intent' | 'refund_payment' | 'set_reader_display';
532
+ type Status = 'failed' | 'in_progress' | 'succeeded' | OtherString;
533
+ type Type = 'activate_gift_card' | 'cashout_gift_card' | 'check_gift_card_balance' | 'collect_inputs' | 'collect_payment_method' | 'confirm_payment_intent' | 'deactivate_gift_card' | 'print_content' | 'process_payment_intent' | 'process_setup_intent' | 'refund_payment' | 'reload_gift_card' | 'set_reader_display' | OtherString;
441
534
  namespace ApiError {
442
535
  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_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';
443
536
  type Type = 'api_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error';
@@ -587,12 +680,12 @@ export declare namespace Reader {
587
680
  text: string;
588
681
  }
589
682
  namespace Choice {
590
- type Style = 'primary' | 'secondary';
683
+ type Style = 'primary' | 'secondary' | OtherString;
591
684
  }
592
685
  }
593
686
  namespace Toggle {
594
- type DefaultValue = 'disabled' | 'enabled';
595
- type Value = 'disabled' | 'enabled';
687
+ type DefaultValue = 'disabled' | 'enabled' | OtherString;
688
+ type Value = 'disabled' | 'enabled' | OtherString;
596
689
  }
597
690
  }
598
691
  }
@@ -803,14 +896,47 @@ export declare namespace Terminal {
803
896
  status?: ReaderListParams.Status;
804
897
  }
805
898
  namespace ReaderListParams {
806
- 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';
807
- type Status = 'offline' | 'online';
899
+ 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' | OtherString;
900
+ type Status = 'offline' | 'online' | OtherString;
808
901
  }
809
902
  }
810
903
  export declare namespace Terminal {
811
904
  interface ReaderDeleteParams {
812
905
  }
813
906
  }
907
+ export declare namespace Terminal {
908
+ interface ReaderActivateGiftCardParams {
909
+ /**
910
+ * The brand of the gift card.
911
+ */
912
+ brand: ReaderActivateGiftCardParams.Brand;
913
+ /**
914
+ * The initial balance to set on the gift card.
915
+ */
916
+ balance?: ReaderActivateGiftCardParams.Balance;
917
+ /**
918
+ * Specifies which fields in the response should be expanded.
919
+ */
920
+ expand?: Array<string>;
921
+ /**
922
+ * The Stripe account ID to process the gift card operation on behalf of.
923
+ */
924
+ on_behalf_of?: string;
925
+ }
926
+ namespace ReaderActivateGiftCardParams {
927
+ type Brand = 'fiserv_valuelink' | 'givex' | 'svs';
928
+ interface Balance {
929
+ /**
930
+ * The initial balance amount to be loaded when activating the gift card, in the smallest currency unit
931
+ */
932
+ amount: number;
933
+ /**
934
+ * 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).
935
+ */
936
+ currency: string;
937
+ }
938
+ }
939
+ }
814
940
  export declare namespace Terminal {
815
941
  interface ReaderCancelActionParams {
816
942
  /**
@@ -819,6 +945,44 @@ export declare namespace Terminal {
819
945
  expand?: Array<string>;
820
946
  }
821
947
  }
948
+ export declare namespace Terminal {
949
+ interface ReaderCashoutGiftCardParams {
950
+ /**
951
+ * The brand of the gift card.
952
+ */
953
+ brand: ReaderCashoutGiftCardParams.Brand;
954
+ /**
955
+ * Specifies which fields in the response should be expanded.
956
+ */
957
+ expand?: Array<string>;
958
+ /**
959
+ * The Stripe account ID to process the gift card operation on behalf of.
960
+ */
961
+ on_behalf_of?: string;
962
+ }
963
+ namespace ReaderCashoutGiftCardParams {
964
+ type Brand = 'fiserv_valuelink' | 'givex' | 'svs';
965
+ }
966
+ }
967
+ export declare namespace Terminal {
968
+ interface ReaderCheckGiftCardBalanceParams {
969
+ /**
970
+ * The brand of the gift card.
971
+ */
972
+ brand: ReaderCheckGiftCardBalanceParams.Brand;
973
+ /**
974
+ * Specifies which fields in the response should be expanded.
975
+ */
976
+ expand?: Array<string>;
977
+ /**
978
+ * The Stripe account ID to process the gift card operation on behalf of.
979
+ */
980
+ on_behalf_of?: string;
981
+ }
982
+ namespace ReaderCheckGiftCardBalanceParams {
983
+ type Brand = 'fiserv_valuelink' | 'givex' | 'svs';
984
+ }
985
+ }
822
986
  export declare namespace Terminal {
823
987
  interface ReaderCollectInputsParams {
824
988
  /**
@@ -896,7 +1060,7 @@ export declare namespace Terminal {
896
1060
  */
897
1061
  title?: string;
898
1062
  }
899
- type Type = 'email' | 'numeric' | 'phone' | 'selection' | 'signature' | 'text';
1063
+ type Type = 'email' | 'numeric' | 'phone' | 'selection' | 'signature' | 'text' | OtherString;
900
1064
  namespace Selection {
901
1065
  interface Choice {
902
1066
  /**
@@ -913,11 +1077,11 @@ export declare namespace Terminal {
913
1077
  text: string;
914
1078
  }
915
1079
  namespace Choice {
916
- type Style = 'primary' | 'secondary';
1080
+ type Style = 'primary' | 'secondary' | OtherString;
917
1081
  }
918
1082
  }
919
1083
  namespace Toggle {
920
- type DefaultValue = 'disabled' | 'enabled';
1084
+ type DefaultValue = 'disabled' | 'enabled' | OtherString;
921
1085
  }
922
1086
  }
923
1087
  }
@@ -947,6 +1111,10 @@ export declare namespace Terminal {
947
1111
  * Enables cancel button on transaction screens.
948
1112
  */
949
1113
  enable_customer_cancellation?: boolean;
1114
+ /**
1115
+ * The gift card brand to use in the transaction.
1116
+ */
1117
+ gift_card_brand?: CollectConfig.GiftCardBrand;
950
1118
  /**
951
1119
  * Override showing a tipping selection screen on this transaction.
952
1120
  */
@@ -957,7 +1125,8 @@ export declare namespace Terminal {
957
1125
  tipping?: CollectConfig.Tipping;
958
1126
  }
959
1127
  namespace CollectConfig {
960
- type AllowRedisplay = 'always' | 'limited' | 'unspecified';
1128
+ type AllowRedisplay = 'always' | 'limited' | 'unspecified' | OtherString;
1129
+ type GiftCardBrand = 'fiserv_valuelink' | 'givex' | 'svs';
961
1130
  interface Tipping {
962
1131
  /**
963
1132
  * 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).
@@ -1016,6 +1185,10 @@ export declare namespace Terminal {
1016
1185
  * Enables cancel button on transaction screens.
1017
1186
  */
1018
1187
  enable_customer_cancellation?: boolean;
1188
+ /**
1189
+ * The gift card brand to use in the transaction.
1190
+ */
1191
+ gift_card_brand?: ProcessConfig.GiftCardBrand;
1019
1192
  /**
1020
1193
  * The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
1021
1194
  */
@@ -1030,7 +1203,8 @@ export declare namespace Terminal {
1030
1203
  tipping?: ProcessConfig.Tipping;
1031
1204
  }
1032
1205
  namespace ProcessConfig {
1033
- type AllowRedisplay = 'always' | 'limited' | 'unspecified';
1206
+ type AllowRedisplay = 'always' | 'limited' | 'unspecified' | OtherString;
1207
+ type GiftCardBrand = 'fiserv_valuelink' | 'givex' | 'svs';
1034
1208
  interface Tipping {
1035
1209
  /**
1036
1210
  * 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).
@@ -1060,7 +1234,7 @@ export declare namespace Terminal {
1060
1234
  process_config?: ReaderProcessSetupIntentParams.ProcessConfig;
1061
1235
  }
1062
1236
  namespace ReaderProcessSetupIntentParams {
1063
- type AllowRedisplay = 'always' | 'limited' | 'unspecified';
1237
+ type AllowRedisplay = 'always' | 'limited' | 'unspecified' | OtherString;
1064
1238
  interface ProcessConfig {
1065
1239
  /**
1066
1240
  * Enables cancel button on transaction screens.
@@ -1113,6 +1287,33 @@ export declare namespace Terminal {
1113
1287
  }
1114
1288
  }
1115
1289
  }
1290
+ export declare namespace Terminal {
1291
+ interface ReaderReloadGiftCardParams {
1292
+ /**
1293
+ * The amount to add to the gift card balance, in the smallest currency unit.
1294
+ */
1295
+ amount: number;
1296
+ /**
1297
+ * The brand of the gift card.
1298
+ */
1299
+ brand: ReaderReloadGiftCardParams.Brand;
1300
+ /**
1301
+ * 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).
1302
+ */
1303
+ currency: string;
1304
+ /**
1305
+ * Specifies which fields in the response should be expanded.
1306
+ */
1307
+ expand?: Array<string>;
1308
+ /**
1309
+ * The Stripe account ID to process the gift card operation on behalf of.
1310
+ */
1311
+ on_behalf_of?: string;
1312
+ }
1313
+ namespace ReaderReloadGiftCardParams {
1314
+ type Brand = 'fiserv_valuelink' | 'givex' | 'svs';
1315
+ }
1316
+ }
1116
1317
  export declare namespace Terminal {
1117
1318
  interface ReaderSetReaderDisplayParams {
1118
1319
  /**
@@ -36,12 +36,30 @@ class ReaderResource extends StripeResource_js_1.StripeResource {
36
36
  create(params, options) {
37
37
  return this._makeRequest('POST', '/v1/terminal/readers', params, options);
38
38
  }
39
+ /**
40
+ * Initiates a gift card activation flow on a Reader and optionally sets its balance.
41
+ */
42
+ activateGiftCard(id, params, options) {
43
+ return this._makeRequest('POST', `/v1/terminal/readers/${encodeURIComponent(id)}/activate_gift_card`, params, options);
44
+ }
39
45
  /**
40
46
  * Cancels the current reader action. See [Programmatic Cancellation](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#programmatic-cancellation) for more details.
41
47
  */
42
48
  cancelAction(id, params, options) {
43
49
  return this._makeRequest('POST', `/v1/terminal/readers/${encodeURIComponent(id)}/cancel_action`, params, options);
44
50
  }
51
+ /**
52
+ * Initiates a gift card cashout flow on a Reader. A cashout sets the gift card balance to 0.
53
+ */
54
+ cashoutGiftCard(id, params, options) {
55
+ return this._makeRequest('POST', `/v1/terminal/readers/${encodeURIComponent(id)}/cashout_gift_card`, params, options);
56
+ }
57
+ /**
58
+ * Initiates a gift card balance check flow on a Reader.
59
+ */
60
+ checkGiftCardBalance(id, params, options) {
61
+ return this._makeRequest('POST', `/v1/terminal/readers/${encodeURIComponent(id)}/check_gift_card_balance`, params, options);
62
+ }
45
63
  /**
46
64
  * Initiates an [input collection flow](https://docs.stripe.com/docs/terminal/features/collect-inputs) on a Reader to display input forms and collect information from your customers.
47
65
  */
@@ -78,6 +96,12 @@ class ReaderResource extends StripeResource_js_1.StripeResource {
78
96
  refundPayment(id, params, options) {
79
97
  return this._makeRequest('POST', `/v1/terminal/readers/${encodeURIComponent(id)}/refund_payment`, params, options);
80
98
  }
99
+ /**
100
+ * Initiates a gift card reload flow on a Reader by adding the specified amount to its balance.
101
+ */
102
+ reloadGiftCard(id, params, options) {
103
+ return this._makeRequest('POST', `/v1/terminal/readers/${encodeURIComponent(id)}/reload_gift_card`, params, options);
104
+ }
81
105
  /**
82
106
  * Sets the reader display to show [cart details](https://docs.stripe.com/docs/terminal/features/display).
83
107
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Readers.js","sourceRoot":"","sources":["../../../src/resources/Terminal/Readers.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"Readers.js","sourceRoot":"","sources":["../../../src/resources/Terminal/Readers.ts"],"names":[],"mappings":"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"}
@@ -45,13 +45,17 @@ export declare namespace Terminal {
45
45
  export import ReaderUpdateParams = TerminalNamespace4.ReaderUpdateParams;
46
46
  export import ReaderListParams = TerminalNamespace4.ReaderListParams;
47
47
  export import ReaderCreateParams = TerminalNamespace4.ReaderCreateParams;
48
+ export import ReaderActivateGiftCardParams = TerminalNamespace4.ReaderActivateGiftCardParams;
48
49
  export import ReaderCancelActionParams = TerminalNamespace4.ReaderCancelActionParams;
50
+ export import ReaderCashoutGiftCardParams = TerminalNamespace4.ReaderCashoutGiftCardParams;
51
+ export import ReaderCheckGiftCardBalanceParams = TerminalNamespace4.ReaderCheckGiftCardBalanceParams;
49
52
  export import ReaderCollectInputsParams = TerminalNamespace4.ReaderCollectInputsParams;
50
53
  export import ReaderCollectPaymentMethodParams = TerminalNamespace4.ReaderCollectPaymentMethodParams;
51
54
  export import ReaderConfirmPaymentIntentParams = TerminalNamespace4.ReaderConfirmPaymentIntentParams;
52
55
  export import ReaderProcessPaymentIntentParams = TerminalNamespace4.ReaderProcessPaymentIntentParams;
53
56
  export import ReaderProcessSetupIntentParams = TerminalNamespace4.ReaderProcessSetupIntentParams;
54
57
  export import ReaderRefundPaymentParams = TerminalNamespace4.ReaderRefundPaymentParams;
58
+ export import ReaderReloadGiftCardParams = TerminalNamespace4.ReaderReloadGiftCardParams;
55
59
  export import ReaderSetReaderDisplayParams = TerminalNamespace4.ReaderSetReaderDisplayParams;
56
60
  export { DeletedReader };
57
61
  export { Reader, ReaderResource };
@@ -1,6 +1,6 @@
1
1
  import { StripeResource } from '../../StripeResource.js';
2
2
  import { ConfirmationToken } from './../ConfirmationTokens.js';
3
- import { MetadataParam, Emptyable, AddressParam } from '../../shared.js';
3
+ import { MetadataParam, OtherString, Emptyable, AddressParam } from '../../shared.js';
4
4
  import { RequestOptions, Response } from '../../lib.js';
5
5
  export declare class ConfirmationTokenResource extends StripeResource {
6
6
  /**
@@ -326,7 +326,7 @@ export declare namespace TestHelpers {
326
326
  */
327
327
  card?: PaymentMethodOptions.Card;
328
328
  }
329
- type SetupFutureUsage = 'off_session' | 'on_session';
329
+ type SetupFutureUsage = 'off_session' | 'on_session' | OtherString;
330
330
  interface Shipping {
331
331
  /**
332
332
  * Shipping address
@@ -362,7 +362,7 @@ export declare namespace TestHelpers {
362
362
  }
363
363
  interface Alipay {
364
364
  }
365
- type AllowRedisplay = 'always' | 'limited' | 'unspecified';
365
+ type AllowRedisplay = 'always' | 'limited' | 'unspecified' | OtherString;
366
366
  interface Alma {
367
367
  }
368
368
  interface AmazonPay {
@@ -606,7 +606,7 @@ export declare namespace TestHelpers {
606
606
  }
607
607
  interface Twint {
608
608
  }
609
- type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
609
+ type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
610
610
  interface Upi {
611
611
  /**
612
612
  * Configuration options for setting up an eMandate
@@ -647,7 +647,7 @@ export declare namespace TestHelpers {
647
647
  type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bsn' | 'cimb' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob';
648
648
  }
649
649
  namespace IdBankTransfer {
650
- type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
650
+ type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata' | OtherString;
651
651
  }
652
652
  namespace Ideal {
653
653
  type Bank = 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe';
@@ -669,10 +669,10 @@ export declare namespace TestHelpers {
669
669
  }
670
670
  }
671
671
  namespace NaverPay {
672
- type Funding = 'card' | 'points';
672
+ type Funding = 'card' | 'points' | OtherString;
673
673
  }
674
674
  namespace P24 {
675
- type Bank = 'alior_bank' | 'bank_millennium' | 'bank_nowy_bfg_sa' | 'bank_pekao_sa' | 'banki_spbdzielcze' | 'blik' | 'bnp_paribas' | 'boz' | 'citi_handlowy' | 'credit_agricole' | 'envelobank' | 'etransfer_pocztowy24' | 'getin_bank' | 'ideabank' | 'ing' | 'inteligo' | 'mbank_mtransfer' | 'nest_przelew' | 'noble_pay' | 'pbac_z_ipko' | 'plus_bank' | 'santander_przelew24' | 'tmobile_usbugi_bankowe' | 'toyota_bank' | 'velobank' | 'volkswagen_bank';
675
+ type Bank = 'alior_bank' | 'bank_millennium' | 'bank_nowy_bfg_sa' | 'bank_pekao_sa' | 'banki_spbdzielcze' | 'blik' | 'bnp_paribas' | 'boz' | 'citi_handlowy' | 'credit_agricole' | 'envelobank' | 'etransfer_pocztowy24' | 'getin_bank' | 'ideabank' | 'ing' | 'inteligo' | 'mbank_mtransfer' | 'nest_przelew' | 'noble_pay' | 'pbac_z_ipko' | 'plus_bank' | 'santander_przelew24' | 'tmobile_usbugi_bankowe' | 'toyota_bank' | 'velobank' | 'volkswagen_bank' | OtherString;
676
676
  }
677
677
  namespace Rechnung {
678
678
  interface Dob {
@@ -691,7 +691,7 @@ export declare namespace TestHelpers {
691
691
  }
692
692
  }
693
693
  namespace Sofort {
694
- type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
694
+ type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL' | OtherString;
695
695
  }
696
696
  namespace Upi {
697
697
  interface MandateOptions {
@@ -713,12 +713,12 @@ export declare namespace TestHelpers {
713
713
  end_date?: number;
714
714
  }
715
715
  namespace MandateOptions {
716
- type AmountType = 'fixed' | 'maximum';
716
+ type AmountType = 'fixed' | 'maximum' | OtherString;
717
717
  }
718
718
  }
719
719
  namespace UsBankAccount {
720
- type AccountHolderType = 'company' | 'individual';
721
- type AccountType = 'checking' | 'savings';
720
+ type AccountHolderType = 'company' | 'individual' | OtherString;
721
+ type AccountType = 'checking' | 'savings' | OtherString;
722
722
  }
723
723
  }
724
724
  namespace PaymentMethodOptions {
@@ -753,7 +753,7 @@ export declare namespace TestHelpers {
753
753
  type: Plan.Type;
754
754
  }
755
755
  namespace Plan {
756
- type Type = 'bonus' | 'fixed_count' | 'revolving';
756
+ type Type = 'bonus' | 'fixed_count' | 'revolving' | OtherString;
757
757
  }
758
758
  }
759
759
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmationTokens.js","sourceRoot":"","sources":["../../../src/resources/TestHelpers/ConfirmationTokens.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAKvD,MAAa,yBAA0B,SAAQ,kCAAc;IAC3D;;OAEG;IACH,MAAM,CACJ,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sCAAsC,EACtC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAfD,8DAeC"}
1
+ {"version":3,"file":"ConfirmationTokens.js","sourceRoot":"","sources":["../../../src/resources/TestHelpers/ConfirmationTokens.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAUvD,MAAa,yBAA0B,SAAQ,kCAAc;IAC3D;;OAEG;IACH,MAAM,CACJ,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sCAAsC,EACtC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAfD,8DAeC"}