stripe 22.2.0-beta.2 → 22.2.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 (874) hide show
  1. package/CHANGELOG.md +84 -1727
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +65 -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 +1 -0
  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/lib.d.ts +48 -3
  17. package/cjs/net/FetchHttpClient.js.map +1 -1
  18. package/cjs/net/HttpClient.js.map +1 -1
  19. package/cjs/platform/NodePlatformFunctions.d.ts +6 -0
  20. package/cjs/platform/NodePlatformFunctions.js +17 -0
  21. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  22. package/cjs/platform/PlatformFunctions.d.ts +13 -0
  23. package/cjs/platform/PlatformFunctions.js +21 -0
  24. package/cjs/platform/PlatformFunctions.js.map +1 -1
  25. package/cjs/resources/AccountLinks.d.ts +1 -1
  26. package/cjs/resources/AccountSessions.d.ts +0 -262
  27. package/cjs/resources/AccountSessions.js.map +1 -1
  28. package/cjs/resources/Accounts.d.ts +45 -819
  29. package/cjs/resources/Accounts.js +0 -15
  30. package/cjs/resources/Accounts.js.map +1 -1
  31. package/cjs/resources/Apps/index.d.ts +4 -4
  32. package/cjs/resources/Balance.d.ts +0 -67
  33. package/cjs/resources/BalanceSettings.d.ts +86 -0
  34. package/cjs/resources/BankAccounts.d.ts +2 -2
  35. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
  36. package/cjs/resources/Billing/index.d.ts +24 -27
  37. package/cjs/resources/Billing/index.js +0 -2
  38. package/cjs/resources/Billing/index.js.map +1 -1
  39. package/cjs/resources/BillingPortal/index.d.ts +5 -5
  40. package/cjs/resources/Capabilities.d.ts +2 -2
  41. package/cjs/resources/Cards.d.ts +0 -4
  42. package/cjs/resources/Charges.d.ts +92 -3064
  43. package/cjs/resources/Checkout/Sessions.d.ts +51 -414
  44. package/cjs/resources/Checkout/index.d.ts +6 -6
  45. package/cjs/resources/Climate/index.d.ts +9 -9
  46. package/cjs/resources/ConfirmationTokens.d.ts +7 -67
  47. package/cjs/resources/Coupons.d.ts +0 -47
  48. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  49. package/cjs/resources/CreditNotes.d.ts +1 -7
  50. package/cjs/resources/CreditNotes.js +0 -14
  51. package/cjs/resources/CreditNotes.js.map +1 -1
  52. package/cjs/resources/CustomerSessions.d.ts +0 -68
  53. package/cjs/resources/Customers.d.ts +1 -7
  54. package/cjs/resources/Customers.js +0 -15
  55. package/cjs/resources/Customers.js.map +1 -1
  56. package/cjs/resources/Discounts.d.ts +4 -4
  57. package/cjs/resources/Disputes.d.ts +0 -29
  58. package/cjs/resources/Entitlements/index.d.ts +6 -6
  59. package/cjs/resources/Events.d.ts +2 -547
  60. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  61. package/cjs/resources/ExternalAccounts.js +0 -44
  62. package/cjs/resources/ExternalAccounts.js.map +1 -1
  63. package/cjs/resources/Files.d.ts +2 -0
  64. package/cjs/resources/Files.js +5 -0
  65. package/cjs/resources/Files.js.map +1 -1
  66. package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -74
  67. package/cjs/resources/FinancialConnections/Accounts.js +0 -8
  68. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  69. package/cjs/resources/FinancialConnections/Sessions.d.ts +7 -155
  70. package/cjs/resources/FinancialConnections/index.d.ts +13 -28
  71. package/cjs/resources/FinancialConnections/index.js +0 -4
  72. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  73. package/cjs/resources/Forwarding/index.d.ts +3 -3
  74. package/cjs/resources/Identity/index.d.ts +8 -8
  75. package/cjs/resources/InvoiceItems.d.ts +28 -85
  76. package/cjs/resources/InvoiceItems.js.map +1 -1
  77. package/cjs/resources/InvoiceLineItems.d.ts +2 -40
  78. package/cjs/resources/Invoices.d.ts +26 -1348
  79. package/cjs/resources/Invoices.js +0 -70
  80. package/cjs/resources/Invoices.js.map +1 -1
  81. package/cjs/resources/Issuing/Cardholders.d.ts +1 -2
  82. package/cjs/resources/Issuing/Disputes.d.ts +1 -1
  83. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
  84. package/cjs/resources/Issuing/Transactions.d.ts +0 -9
  85. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  86. package/cjs/resources/Issuing/index.d.ts +35 -60
  87. package/cjs/resources/Issuing/index.js +0 -6
  88. package/cjs/resources/Issuing/index.js.map +1 -1
  89. package/cjs/resources/LineItems.d.ts +2 -29
  90. package/cjs/resources/Mandates.d.ts +4 -33
  91. package/cjs/resources/Mandates.js +0 -8
  92. package/cjs/resources/Mandates.js.map +1 -1
  93. package/cjs/resources/OAuth.d.ts +7 -8
  94. package/cjs/resources/PaymentAttemptRecords.d.ts +23 -92
  95. package/cjs/resources/PaymentIntents.d.ts +6510 -17236
  96. package/cjs/resources/PaymentIntents.js +3 -28
  97. package/cjs/resources/PaymentIntents.js.map +1 -1
  98. package/cjs/resources/PaymentLinks.d.ts +88 -20
  99. package/cjs/resources/PaymentMethodConfigurations.d.ts +93 -299
  100. package/cjs/resources/PaymentMethods.d.ts +22 -152
  101. package/cjs/resources/PaymentMethods.js.map +1 -1
  102. package/cjs/resources/PaymentRecords.d.ts +23 -92
  103. package/cjs/resources/Payouts.d.ts +1 -1
  104. package/cjs/resources/Persons.d.ts +2 -2
  105. package/cjs/resources/Plans.d.ts +0 -16
  106. package/cjs/resources/Prices.d.ts +0 -52
  107. package/cjs/resources/Products.d.ts +0 -42
  108. package/cjs/resources/PromotionCodes.d.ts +0 -12
  109. package/cjs/resources/PromotionCodes.js +0 -28
  110. package/cjs/resources/PromotionCodes.js.map +1 -1
  111. package/cjs/resources/Quotes.d.ts +160 -2369
  112. package/cjs/resources/Quotes.js +13 -1181
  113. package/cjs/resources/Quotes.js.map +1 -1
  114. package/cjs/resources/Radar/PaymentEvaluations.d.ts +2 -2
  115. package/cjs/resources/Radar/index.d.ts +12 -12
  116. package/cjs/resources/Refunds.d.ts +3 -11
  117. package/cjs/resources/Reporting/index.d.ts +5 -5
  118. package/cjs/resources/Reserve/Holds.d.ts +1 -53
  119. package/cjs/resources/Reserve/Holds.js +0 -19
  120. package/cjs/resources/Reserve/Holds.js.map +1 -1
  121. package/cjs/resources/Reserve/Plans.d.ts +0 -16
  122. package/cjs/resources/Reserve/Plans.js +0 -11
  123. package/cjs/resources/Reserve/Plans.js.map +1 -1
  124. package/cjs/resources/Reserve/Releases.d.ts +1 -41
  125. package/cjs/resources/Reserve/Releases.js +0 -19
  126. package/cjs/resources/Reserve/Releases.js.map +1 -1
  127. package/cjs/resources/Reserve/index.d.ts +3 -14
  128. package/cjs/resources/Reserve/index.js +2 -10
  129. package/cjs/resources/Reserve/index.js.map +1 -1
  130. package/cjs/resources/SetupAttempts.d.ts +3 -25
  131. package/cjs/resources/SetupIntents.d.ts +77 -336
  132. package/cjs/resources/Sigma/index.d.ts +2 -2
  133. package/cjs/resources/Sources.d.ts +1 -16
  134. package/cjs/resources/SubscriptionItems.d.ts +4 -165
  135. package/cjs/resources/SubscriptionSchedules.d.ts +16 -1174
  136. package/cjs/resources/SubscriptionSchedules.js +0 -48
  137. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  138. package/cjs/resources/Subscriptions.d.ts +32 -490
  139. package/cjs/resources/Subscriptions.js +2 -31
  140. package/cjs/resources/Subscriptions.js.map +1 -1
  141. package/cjs/resources/Tax/CalculationLineItems.d.ts +2 -6
  142. package/cjs/resources/Tax/Calculations.d.ts +3 -7
  143. package/cjs/resources/Tax/Registrations.d.ts +2 -138
  144. package/cjs/resources/Tax/Transactions.d.ts +2 -2
  145. package/cjs/resources/Tax/index.d.ts +17 -31
  146. package/cjs/resources/Tax/index.js +0 -4
  147. package/cjs/resources/Tax/index.js.map +1 -1
  148. package/cjs/resources/TaxCodes.d.ts +0 -15
  149. package/cjs/resources/Terminal/Configurations.d.ts +108 -27
  150. package/cjs/resources/Terminal/Readers.d.ts +143 -19
  151. package/cjs/resources/Terminal/Readers.js.map +1 -1
  152. package/cjs/resources/Terminal/index.d.ts +25 -30
  153. package/cjs/resources/Terminal/index.js +0 -2
  154. package/cjs/resources/Terminal/index.js.map +1 -1
  155. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
  156. package/cjs/resources/TestHelpers/TestClocks.d.ts +4 -0
  157. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  158. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  159. package/cjs/resources/TestHelpers/index.d.ts +5 -8
  160. package/cjs/resources/TestHelpers/index.js +4 -6
  161. package/cjs/resources/TestHelpers/index.js.map +1 -1
  162. package/cjs/resources/Transfers.d.ts +0 -8
  163. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  164. package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
  165. package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
  166. package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
  167. package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
  168. package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
  169. package/cjs/resources/Treasury/index.d.ts +33 -33
  170. package/cjs/resources/V2/Billing/index.d.ts +6 -45
  171. package/cjs/resources/V2/Billing/index.js +0 -8
  172. package/cjs/resources/V2/Billing/index.js.map +1 -1
  173. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  174. package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
  175. package/cjs/resources/V2/Core/AccountTokens.d.ts +32 -14
  176. package/cjs/resources/V2/Core/AccountTokens.js +5 -1
  177. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  178. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  179. package/cjs/resources/V2/Core/Accounts.d.ts +233 -1171
  180. package/cjs/resources/V2/Core/Accounts.js +1 -1
  181. package/cjs/resources/V2/Core/EventDestinations.d.ts +2 -2
  182. package/cjs/resources/V2/Core/Events.d.ts +8 -1126
  183. package/cjs/resources/V2/Core/Events.js +2 -1
  184. package/cjs/resources/V2/Core/Events.js.map +1 -1
  185. package/cjs/resources/V2/Core/index.d.ts +19 -29
  186. package/cjs/resources/V2/Core/index.js +0 -4
  187. package/cjs/resources/V2/Core/index.js.map +1 -1
  188. package/cjs/resources/V2/index.d.ts +0 -27
  189. package/cjs/resources/V2/index.js +0 -14
  190. package/cjs/resources/V2/index.js.map +1 -1
  191. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  192. package/cjs/resources.d.ts +0 -10
  193. package/cjs/resources.js +10 -146
  194. package/cjs/resources.js.map +1 -1
  195. package/cjs/stripe.core.d.ts +30 -69
  196. package/cjs/stripe.core.js +44 -61
  197. package/cjs/stripe.core.js.map +1 -1
  198. package/cjs/utils.d.ts +0 -2
  199. package/cjs/utils.js +1 -16
  200. package/cjs/utils.js.map +1 -1
  201. package/esm/Error.d.ts +0 -50
  202. package/esm/Error.js +0 -109
  203. package/esm/Error.js.map +1 -1
  204. package/esm/RequestSender.d.ts +1 -0
  205. package/esm/RequestSender.js +11 -3
  206. package/esm/RequestSender.js.map +1 -1
  207. package/esm/Types.d.ts +2 -4
  208. package/esm/Types.js.map +1 -1
  209. package/esm/apiVersion.d.ts +2 -1
  210. package/esm/apiVersion.js +2 -1
  211. package/esm/apiVersion.js.map +1 -1
  212. package/esm/lib.d.ts +48 -3
  213. package/esm/net/FetchHttpClient.js.map +1 -1
  214. package/esm/net/HttpClient.js.map +1 -1
  215. package/esm/platform/NodePlatformFunctions.d.ts +6 -0
  216. package/esm/platform/NodePlatformFunctions.js +17 -0
  217. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  218. package/esm/platform/PlatformFunctions.d.ts +13 -0
  219. package/esm/platform/PlatformFunctions.js +21 -0
  220. package/esm/platform/PlatformFunctions.js.map +1 -1
  221. package/esm/resources/AccountLinks.d.ts +1 -1
  222. package/esm/resources/AccountSessions.d.ts +0 -262
  223. package/esm/resources/AccountSessions.js.map +1 -1
  224. package/esm/resources/Accounts.d.ts +45 -819
  225. package/esm/resources/Accounts.js +0 -15
  226. package/esm/resources/Accounts.js.map +1 -1
  227. package/esm/resources/Apps/index.d.ts +4 -4
  228. package/esm/resources/Balance.d.ts +0 -67
  229. package/esm/resources/BalanceSettings.d.ts +86 -0
  230. package/esm/resources/BankAccounts.d.ts +2 -2
  231. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
  232. package/esm/resources/Billing/index.d.ts +24 -27
  233. package/esm/resources/Billing/index.js +0 -2
  234. package/esm/resources/Billing/index.js.map +1 -1
  235. package/esm/resources/BillingPortal/index.d.ts +5 -5
  236. package/esm/resources/Capabilities.d.ts +2 -2
  237. package/esm/resources/Cards.d.ts +0 -4
  238. package/esm/resources/Charges.d.ts +92 -3064
  239. package/esm/resources/Checkout/Sessions.d.ts +51 -414
  240. package/esm/resources/Checkout/index.d.ts +6 -6
  241. package/esm/resources/Climate/index.d.ts +9 -9
  242. package/esm/resources/ConfirmationTokens.d.ts +7 -67
  243. package/esm/resources/Coupons.d.ts +0 -47
  244. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  245. package/esm/resources/CreditNotes.d.ts +1 -7
  246. package/esm/resources/CreditNotes.js +0 -14
  247. package/esm/resources/CreditNotes.js.map +1 -1
  248. package/esm/resources/CustomerSessions.d.ts +0 -68
  249. package/esm/resources/Customers.d.ts +1 -7
  250. package/esm/resources/Customers.js +0 -15
  251. package/esm/resources/Customers.js.map +1 -1
  252. package/esm/resources/Discounts.d.ts +4 -4
  253. package/esm/resources/Disputes.d.ts +0 -29
  254. package/esm/resources/Entitlements/index.d.ts +6 -6
  255. package/esm/resources/Events.d.ts +2 -547
  256. package/esm/resources/ExternalAccounts.d.ts +1 -212
  257. package/esm/resources/ExternalAccounts.js +1 -42
  258. package/esm/resources/ExternalAccounts.js.map +1 -1
  259. package/esm/resources/Files.d.ts +2 -0
  260. package/esm/resources/Files.js +5 -0
  261. package/esm/resources/Files.js.map +1 -1
  262. package/esm/resources/FinancialConnections/Accounts.d.ts +4 -74
  263. package/esm/resources/FinancialConnections/Accounts.js +0 -8
  264. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  265. package/esm/resources/FinancialConnections/Sessions.d.ts +7 -155
  266. package/esm/resources/FinancialConnections/index.d.ts +13 -28
  267. package/esm/resources/FinancialConnections/index.js +0 -4
  268. package/esm/resources/FinancialConnections/index.js.map +1 -1
  269. package/esm/resources/Forwarding/index.d.ts +3 -3
  270. package/esm/resources/Identity/index.d.ts +8 -8
  271. package/esm/resources/InvoiceItems.d.ts +28 -85
  272. package/esm/resources/InvoiceItems.js.map +1 -1
  273. package/esm/resources/InvoiceLineItems.d.ts +2 -40
  274. package/esm/resources/Invoices.d.ts +26 -1348
  275. package/esm/resources/Invoices.js +0 -70
  276. package/esm/resources/Invoices.js.map +1 -1
  277. package/esm/resources/Issuing/Cardholders.d.ts +1 -2
  278. package/esm/resources/Issuing/Disputes.d.ts +1 -1
  279. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
  280. package/esm/resources/Issuing/Transactions.d.ts +0 -9
  281. package/esm/resources/Issuing/Transactions.js.map +1 -1
  282. package/esm/resources/Issuing/index.d.ts +35 -60
  283. package/esm/resources/Issuing/index.js +0 -6
  284. package/esm/resources/Issuing/index.js.map +1 -1
  285. package/esm/resources/LineItems.d.ts +2 -29
  286. package/esm/resources/Mandates.d.ts +4 -33
  287. package/esm/resources/Mandates.js +0 -8
  288. package/esm/resources/Mandates.js.map +1 -1
  289. package/esm/resources/OAuth.d.ts +7 -8
  290. package/esm/resources/PaymentAttemptRecords.d.ts +23 -92
  291. package/esm/resources/PaymentIntents.d.ts +6510 -17236
  292. package/esm/resources/PaymentIntents.js +3 -28
  293. package/esm/resources/PaymentIntents.js.map +1 -1
  294. package/esm/resources/PaymentLinks.d.ts +88 -20
  295. package/esm/resources/PaymentMethodConfigurations.d.ts +93 -299
  296. package/esm/resources/PaymentMethods.d.ts +22 -152
  297. package/esm/resources/PaymentMethods.js.map +1 -1
  298. package/esm/resources/PaymentRecords.d.ts +23 -92
  299. package/esm/resources/Payouts.d.ts +1 -1
  300. package/esm/resources/Persons.d.ts +2 -2
  301. package/esm/resources/Plans.d.ts +0 -16
  302. package/esm/resources/Prices.d.ts +0 -52
  303. package/esm/resources/Products.d.ts +0 -42
  304. package/esm/resources/PromotionCodes.d.ts +0 -12
  305. package/esm/resources/PromotionCodes.js +0 -28
  306. package/esm/resources/PromotionCodes.js.map +1 -1
  307. package/esm/resources/Quotes.d.ts +160 -2369
  308. package/esm/resources/Quotes.js +13 -1181
  309. package/esm/resources/Quotes.js.map +1 -1
  310. package/esm/resources/Radar/PaymentEvaluations.d.ts +2 -2
  311. package/esm/resources/Radar/index.d.ts +12 -12
  312. package/esm/resources/Refunds.d.ts +3 -11
  313. package/esm/resources/Reporting/index.d.ts +5 -5
  314. package/esm/resources/Reserve/Holds.d.ts +1 -53
  315. package/esm/resources/Reserve/Holds.js +1 -17
  316. package/esm/resources/Reserve/Holds.js.map +1 -1
  317. package/esm/resources/Reserve/Plans.d.ts +0 -16
  318. package/esm/resources/Reserve/Plans.js +1 -9
  319. package/esm/resources/Reserve/Plans.js.map +1 -1
  320. package/esm/resources/Reserve/Releases.d.ts +1 -41
  321. package/esm/resources/Reserve/Releases.js +1 -17
  322. package/esm/resources/Reserve/Releases.js.map +1 -1
  323. package/esm/resources/Reserve/index.d.ts +3 -14
  324. package/esm/resources/Reserve/index.js +2 -10
  325. package/esm/resources/Reserve/index.js.map +1 -1
  326. package/esm/resources/SetupAttempts.d.ts +3 -25
  327. package/esm/resources/SetupIntents.d.ts +77 -336
  328. package/esm/resources/Sigma/index.d.ts +2 -2
  329. package/esm/resources/Sources.d.ts +1 -16
  330. package/esm/resources/SubscriptionItems.d.ts +4 -165
  331. package/esm/resources/SubscriptionSchedules.d.ts +16 -1174
  332. package/esm/resources/SubscriptionSchedules.js +0 -48
  333. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  334. package/esm/resources/Subscriptions.d.ts +32 -490
  335. package/esm/resources/Subscriptions.js +2 -31
  336. package/esm/resources/Subscriptions.js.map +1 -1
  337. package/esm/resources/Tax/CalculationLineItems.d.ts +2 -6
  338. package/esm/resources/Tax/Calculations.d.ts +3 -7
  339. package/esm/resources/Tax/Registrations.d.ts +2 -138
  340. package/esm/resources/Tax/Transactions.d.ts +2 -2
  341. package/esm/resources/Tax/index.d.ts +17 -31
  342. package/esm/resources/Tax/index.js +0 -4
  343. package/esm/resources/Tax/index.js.map +1 -1
  344. package/esm/resources/TaxCodes.d.ts +0 -15
  345. package/esm/resources/Terminal/Configurations.d.ts +108 -27
  346. package/esm/resources/Terminal/Readers.d.ts +143 -19
  347. package/esm/resources/Terminal/Readers.js.map +1 -1
  348. package/esm/resources/Terminal/index.d.ts +25 -30
  349. package/esm/resources/Terminal/index.js +0 -2
  350. package/esm/resources/Terminal/index.js.map +1 -1
  351. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
  352. package/esm/resources/TestHelpers/TestClocks.d.ts +4 -0
  353. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  354. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  355. package/esm/resources/TestHelpers/index.d.ts +5 -8
  356. package/esm/resources/TestHelpers/index.js +0 -2
  357. package/esm/resources/TestHelpers/index.js.map +1 -1
  358. package/esm/resources/Transfers.d.ts +0 -8
  359. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  360. package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
  361. package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
  362. package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
  363. package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
  364. package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
  365. package/esm/resources/Treasury/index.d.ts +33 -33
  366. package/esm/resources/V2/Billing/index.d.ts +6 -45
  367. package/esm/resources/V2/Billing/index.js +0 -8
  368. package/esm/resources/V2/Billing/index.js.map +1 -1
  369. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  370. package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
  371. package/esm/resources/V2/Core/AccountTokens.d.ts +32 -14
  372. package/esm/resources/V2/Core/AccountTokens.js +5 -1
  373. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  374. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  375. package/esm/resources/V2/Core/Accounts.d.ts +233 -1171
  376. package/esm/resources/V2/Core/Accounts.js +1 -1
  377. package/esm/resources/V2/Core/EventDestinations.d.ts +2 -2
  378. package/esm/resources/V2/Core/Events.d.ts +8 -1126
  379. package/esm/resources/V2/Core/Events.js +2 -1
  380. package/esm/resources/V2/Core/Events.js.map +1 -1
  381. package/esm/resources/V2/Core/index.d.ts +19 -29
  382. package/esm/resources/V2/Core/index.js +0 -4
  383. package/esm/resources/V2/Core/index.js.map +1 -1
  384. package/esm/resources/V2/index.d.ts +0 -27
  385. package/esm/resources/V2/index.js +0 -14
  386. package/esm/resources/V2/index.js.map +1 -1
  387. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  388. package/esm/resources.d.ts +0 -10
  389. package/esm/resources.js +0 -131
  390. package/esm/resources.js.map +1 -1
  391. package/esm/stripe.core.d.ts +30 -69
  392. package/esm/stripe.core.js +15 -32
  393. package/esm/stripe.core.js.map +1 -1
  394. package/esm/stripe.esm.node.d.ts +30 -70
  395. package/esm/stripe.esm.node.js +15 -32
  396. package/esm/stripe.esm.node.js.map +1 -1
  397. package/esm/utils.d.ts +0 -2
  398. package/esm/utils.js +0 -13
  399. package/esm/utils.js.map +1 -1
  400. package/package.json +1 -1
  401. package/cjs/StripeEventNotificationHandler.d.ts +0 -22
  402. package/cjs/StripeEventNotificationHandler.js +0 -147
  403. package/cjs/StripeEventNotificationHandler.js.map +0 -1
  404. package/cjs/resources/AccountNotices.d.ts +0 -140
  405. package/cjs/resources/AccountNotices.js +0 -29
  406. package/cjs/resources/AccountNotices.js.map +0 -1
  407. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  408. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  409. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  410. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  411. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  412. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  413. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  414. package/cjs/resources/Billing/Analytics/index.js +0 -13
  415. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  416. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
  417. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  418. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  419. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
  420. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  421. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  422. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
  423. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  424. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  425. package/cjs/resources/Capital/index.d.ts +0 -25
  426. package/cjs/resources/Capital/index.js +0 -17
  427. package/cjs/resources/Capital/index.js.map +0 -1
  428. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  429. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  430. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  431. package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
  432. package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
  433. package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
  434. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
  435. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  436. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  437. package/cjs/resources/FxQuotes.d.ts +0 -212
  438. package/cjs/resources/FxQuotes.js +0 -29
  439. package/cjs/resources/FxQuotes.js.map +0 -1
  440. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  441. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
  442. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  443. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  444. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  445. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  446. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  447. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  448. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  449. package/cjs/resources/Issuing/Settlements.d.ts +0 -85
  450. package/cjs/resources/Issuing/Settlements.js +0 -4
  451. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  452. package/cjs/resources/Margins.d.ts +0 -115
  453. package/cjs/resources/Margins.js +0 -35
  454. package/cjs/resources/Margins.js.map +0 -1
  455. package/cjs/resources/Orders.d.ts +0 -4693
  456. package/cjs/resources/Orders.js +0 -457
  457. package/cjs/resources/Orders.js.map +0 -1
  458. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  459. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  460. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  461. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
  462. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  463. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  464. package/cjs/resources/Privacy/index.d.ts +0 -22
  465. package/cjs/resources/Privacy/index.js +0 -13
  466. package/cjs/resources/Privacy/index.js.map +0 -1
  467. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  468. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
  469. package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
  470. package/cjs/resources/ProductCatalog/index.d.ts +0 -12
  471. package/cjs/resources/ProductCatalog/index.js +0 -13
  472. package/cjs/resources/ProductCatalog/index.js.map +0 -1
  473. package/cjs/resources/QuoteLines.d.ts +0 -507
  474. package/cjs/resources/QuoteLines.js +0 -4
  475. package/cjs/resources/QuoteLines.js.map +0 -1
  476. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1116
  477. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  478. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  479. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
  480. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  481. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  482. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
  483. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  484. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  485. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  486. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  487. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  488. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  489. package/cjs/resources/SharedPayment/index.js +0 -15
  490. package/cjs/resources/SharedPayment/index.js.map +0 -1
  491. package/cjs/resources/Tax/Forms.d.ts +0 -230
  492. package/cjs/resources/Tax/Forms.js +0 -32
  493. package/cjs/resources/Tax/Forms.js.map +0 -1
  494. package/cjs/resources/Tax/Locations.d.ts +0 -108
  495. package/cjs/resources/Tax/Locations.js +0 -33
  496. package/cjs/resources/Tax/Locations.js.map +0 -1
  497. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  498. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  499. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  500. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  501. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  502. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  503. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  504. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  505. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  506. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  507. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  508. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  509. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  510. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  511. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  512. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
  513. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  514. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  515. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -951
  516. package/cjs/resources/V2/Billing/Cadences.js +0 -198
  517. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  518. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  519. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  520. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  521. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  522. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  523. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  524. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  525. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  526. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  527. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
  528. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  529. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  530. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
  531. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  532. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  533. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  534. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  535. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  536. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  537. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
  538. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  539. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  540. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  541. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  542. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  543. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  544. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  545. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  546. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  547. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  548. package/cjs/resources/V2/Data/index.d.ts +0 -10
  549. package/cjs/resources/V2/Data/index.js +0 -13
  550. package/cjs/resources/V2/Data/index.js.map +0 -1
  551. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  552. package/cjs/resources/V2/EventMisc.js +0 -2
  553. package/cjs/resources/V2/EventMisc.js.map +0 -1
  554. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  555. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  556. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  557. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
  558. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  559. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  560. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  561. package/cjs/resources/V2/Extend/index.js +0 -15
  562. package/cjs/resources/V2/Extend/index.js.map +0 -1
  563. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  564. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  565. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  566. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  567. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  568. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  569. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -204
  570. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -17
  571. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  572. package/cjs/resources/V2/Iam/index.d.ts +0 -12
  573. package/cjs/resources/V2/Iam/index.js +0 -13
  574. package/cjs/resources/V2/Iam/index.js.map +0 -1
  575. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  576. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  577. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  578. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  579. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
  580. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  581. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  582. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  583. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  584. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  585. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  586. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  587. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  588. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  589. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  590. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  591. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  592. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  593. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
  594. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  595. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  596. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  597. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  598. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  599. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  600. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
  601. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  602. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  603. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  604. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  605. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
  606. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  607. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  608. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  609. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  610. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  611. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  612. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  613. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  614. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  615. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
  616. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  617. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
  618. package/cjs/resources/V2/MoneyManagement/index.js +0 -39
  619. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  620. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  621. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  622. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  623. package/cjs/resources/V2/Network/index.d.ts +0 -13
  624. package/cjs/resources/V2/Network/index.js +0 -13
  625. package/cjs/resources/V2/Network/index.js.map +0 -1
  626. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  627. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  628. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  629. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  630. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  631. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  632. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  633. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  634. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  635. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
  636. package/cjs/resources/V2/TestHelpers/index.js +0 -13
  637. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  638. package/esm/StripeEventNotificationHandler.d.ts +0 -22
  639. package/esm/StripeEventNotificationHandler.js +0 -143
  640. package/esm/StripeEventNotificationHandler.js.map +0 -1
  641. package/esm/resources/AccountNotices.d.ts +0 -140
  642. package/esm/resources/AccountNotices.js +0 -25
  643. package/esm/resources/AccountNotices.js.map +0 -1
  644. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  645. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  646. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  647. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  648. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  649. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  650. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  651. package/esm/resources/Billing/Analytics/index.js +0 -9
  652. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  653. package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
  654. package/esm/resources/Capital/FinancingOffers.js +0 -26
  655. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  656. package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
  657. package/esm/resources/Capital/FinancingSummary.js +0 -11
  658. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  659. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
  660. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  661. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  662. package/esm/resources/Capital/index.d.ts +0 -25
  663. package/esm/resources/Capital/index.js +0 -13
  664. package/esm/resources/Capital/index.js.map +0 -1
  665. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  666. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  667. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  668. package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
  669. package/esm/resources/FinancialConnections/Authorizations.js +0 -11
  670. package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
  671. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
  672. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  673. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  674. package/esm/resources/FxQuotes.d.ts +0 -212
  675. package/esm/resources/FxQuotes.js +0 -25
  676. package/esm/resources/FxQuotes.js.map +0 -1
  677. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  678. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
  679. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  680. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  681. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  682. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  683. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  684. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  685. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  686. package/esm/resources/Issuing/Settlements.d.ts +0 -85
  687. package/esm/resources/Issuing/Settlements.js +0 -3
  688. package/esm/resources/Issuing/Settlements.js.map +0 -1
  689. package/esm/resources/Margins.d.ts +0 -115
  690. package/esm/resources/Margins.js +0 -31
  691. package/esm/resources/Margins.js.map +0 -1
  692. package/esm/resources/Orders.d.ts +0 -4693
  693. package/esm/resources/Orders.js +0 -453
  694. package/esm/resources/Orders.js.map +0 -1
  695. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  696. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  697. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  698. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
  699. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  700. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  701. package/esm/resources/Privacy/index.d.ts +0 -22
  702. package/esm/resources/Privacy/index.js +0 -9
  703. package/esm/resources/Privacy/index.js.map +0 -1
  704. package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  705. package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
  706. package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
  707. package/esm/resources/ProductCatalog/index.d.ts +0 -12
  708. package/esm/resources/ProductCatalog/index.js +0 -9
  709. package/esm/resources/ProductCatalog/index.js.map +0 -1
  710. package/esm/resources/QuoteLines.d.ts +0 -507
  711. package/esm/resources/QuoteLines.js +0 -3
  712. package/esm/resources/QuoteLines.js.map +0 -1
  713. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1116
  714. package/esm/resources/QuotePreviewInvoices.js +0 -3
  715. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  716. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
  717. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  718. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  719. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
  720. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  721. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  722. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  723. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  724. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  725. package/esm/resources/SharedPayment/index.d.ts +0 -19
  726. package/esm/resources/SharedPayment/index.js +0 -11
  727. package/esm/resources/SharedPayment/index.js.map +0 -1
  728. package/esm/resources/Tax/Forms.d.ts +0 -230
  729. package/esm/resources/Tax/Forms.js +0 -28
  730. package/esm/resources/Tax/Forms.js.map +0 -1
  731. package/esm/resources/Tax/Locations.d.ts +0 -108
  732. package/esm/resources/Tax/Locations.js +0 -29
  733. package/esm/resources/Tax/Locations.js.map +0 -1
  734. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  735. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  736. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  737. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  738. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  739. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  740. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  741. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  742. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  743. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  744. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  745. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  746. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  747. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  748. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  749. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
  750. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  751. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  752. package/esm/resources/V2/Billing/Cadences.d.ts +0 -951
  753. package/esm/resources/V2/Billing/Cadences.js +0 -194
  754. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  755. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  756. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  757. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  758. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  759. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  760. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  761. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  762. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  763. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  764. package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
  765. package/esm/resources/V2/Billing/Profiles.js +0 -31
  766. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  767. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
  768. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  769. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  770. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  771. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  772. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  773. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  774. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
  775. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  776. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  777. package/esm/resources/V2/Core/Vault/index.js +0 -11
  778. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  779. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  780. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  781. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  782. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  783. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  784. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  785. package/esm/resources/V2/Data/index.d.ts +0 -10
  786. package/esm/resources/V2/Data/index.js +0 -9
  787. package/esm/resources/V2/Data/index.js.map +0 -1
  788. package/esm/resources/V2/EventMisc.d.ts +0 -0
  789. package/esm/resources/V2/EventMisc.js +0 -2
  790. package/esm/resources/V2/EventMisc.js.map +0 -1
  791. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  792. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  793. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  794. package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
  795. package/esm/resources/V2/Extend/Workflows.js +0 -26
  796. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  797. package/esm/resources/V2/Extend/index.d.ts +0 -20
  798. package/esm/resources/V2/Extend/index.js +0 -11
  799. package/esm/resources/V2/Extend/index.js.map +0 -1
  800. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  801. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  802. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  803. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  804. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  805. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  806. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -204
  807. package/esm/resources/V2/Iam/ActivityLogs.js +0 -13
  808. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  809. package/esm/resources/V2/Iam/index.d.ts +0 -12
  810. package/esm/resources/V2/Iam/index.js +0 -9
  811. package/esm/resources/V2/Iam/index.js.map +0 -1
  812. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  813. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  814. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  815. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  816. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
  817. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  818. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  819. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  820. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  821. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  822. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  823. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  824. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  825. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  826. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  827. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  828. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  829. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  830. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
  831. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  832. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  833. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  834. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  835. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  836. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  837. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
  838. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  839. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  840. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  841. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  842. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
  843. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  844. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  845. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  846. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  847. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  848. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  849. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  850. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  851. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  852. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
  853. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  854. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
  855. package/esm/resources/V2/MoneyManagement/index.js +0 -35
  856. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  857. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  858. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  859. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  860. package/esm/resources/V2/Network/index.d.ts +0 -13
  861. package/esm/resources/V2/Network/index.js +0 -9
  862. package/esm/resources/V2/Network/index.js.map +0 -1
  863. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  864. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  865. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  866. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  867. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  868. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  869. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  870. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  871. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  872. package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
  873. package/esm/resources/V2/TestHelpers/index.js +0 -9
  874. package/esm/resources/V2/TestHelpers/index.js.map +0 -1
@@ -1,15 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.GrantedTokenResource = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- class GrantedTokenResource extends StripeResource_js_1.StripeResource {
7
- /**
8
- * Retrieves an existing SharedPaymentGrantedToken object
9
- */
10
- retrieve(id, params, options) {
11
- return this._makeRequest('GET', `/v1/shared_payment/granted_tokens/${id}`, params, options);
12
- }
13
- }
14
- exports.GrantedTokenResource = GrantedTokenResource;
15
- //# sourceMappingURL=GrantedTokens.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GrantedTokens.js","sourceRoot":"","sources":["../../../src/resources/SharedPayment/GrantedTokens.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAMvD,MAAa,oBAAqB,SAAQ,kCAAc;IACtD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,qCAAqC,EAAE,EAAE,EACzC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAhBD,oDAgBC"}
@@ -1,308 +0,0 @@
1
- import { StripeResource } from '../../StripeResource.js';
2
- import { RequestOptions, Response } from '../../lib.js';
3
- export declare class IssuedTokenResource extends StripeResource {
4
- /**
5
- * Retrieves an existing SharedPaymentIssuedToken object
6
- */
7
- retrieve(id: string, params?: SharedPayment.IssuedTokenRetrieveParams, options?: RequestOptions): Promise<Response<IssuedToken>>;
8
- /**
9
- * Creates a new SharedPaymentIssuedToken object
10
- */
11
- create(params: SharedPayment.IssuedTokenCreateParams, options?: RequestOptions): Promise<Response<IssuedToken>>;
12
- /**
13
- * Revokes a SharedPaymentIssuedToken
14
- */
15
- revoke(id: string, params?: SharedPayment.IssuedTokenRevokeParams, options?: RequestOptions): Promise<Response<IssuedToken>>;
16
- }
17
- export interface IssuedToken {
18
- /**
19
- * Unique identifier for the object.
20
- */
21
- id: string;
22
- /**
23
- * String representing the object's type. Objects of the same type share the same value.
24
- */
25
- object: 'shared_payment.issued_token';
26
- /**
27
- * Time at which the object was created. Measured in seconds since the Unix epoch.
28
- */
29
- created: number;
30
- /**
31
- * Time at which this SharedPaymentIssuedToken was deactivated.
32
- */
33
- deactivated_at: number | null;
34
- /**
35
- * The reason why the SharedPaymentIssuedToken has been deactivated.
36
- */
37
- deactivated_reason: SharedPayment.IssuedToken.DeactivatedReason | null;
38
- /**
39
- * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
40
- */
41
- livemode: boolean;
42
- /**
43
- * If present, describes the action required to make this `SharedPaymentIssuedToken` usable for payments. Present when the token is in `requires_action` state.
44
- */
45
- next_action: SharedPayment.IssuedToken.NextAction | null;
46
- /**
47
- * ID of an existing PaymentMethod.
48
- */
49
- payment_method: string;
50
- /**
51
- * If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
52
- */
53
- return_url?: string | null;
54
- /**
55
- * Risk details of the SharedPaymentIssuedToken.
56
- */
57
- risk_details?: SharedPayment.IssuedToken.RiskDetails | null;
58
- /**
59
- * Seller details of the SharedPaymentIssuedToken, including network_id and external_id.
60
- */
61
- seller_details: SharedPayment.IssuedToken.SellerDetails | null;
62
- /**
63
- * Indicates that you intend to save the PaymentMethod of this SharedPaymentToken to a customer later.
64
- */
65
- setup_future_usage: 'on_session' | null;
66
- /**
67
- * Metadata about the SharedPaymentIssuedToken.
68
- */
69
- shared_metadata: {
70
- [key: string]: string;
71
- } | null;
72
- /**
73
- * Status of this SharedPaymentIssuedToken, one of `active`, `requires_action`, or `deactivated`.
74
- */
75
- status: SharedPayment.IssuedToken.Status | null;
76
- /**
77
- * Usage details of the SharedPaymentIssuedToken
78
- */
79
- usage_details: SharedPayment.IssuedToken.UsageDetails | null;
80
- /**
81
- * Usage limits of the SharedPaymentIssuedToken.
82
- */
83
- usage_limits: SharedPayment.IssuedToken.UsageLimits | null;
84
- }
85
- export declare namespace SharedPayment {
86
- namespace IssuedToken {
87
- type DeactivatedReason = 'consumed' | 'expired' | 'resolved' | 'revoked';
88
- interface NextAction {
89
- /**
90
- * Specifies the type of next action required. Determines which child attribute contains action details.
91
- */
92
- type: 'use_stripe_sdk';
93
- /**
94
- * Contains details for handling the next action using Stripe.js, iOS, or Android SDKs. Present when `next_action.type` is `use_stripe_sdk`.
95
- */
96
- use_stripe_sdk: NextAction.UseStripeSdk | null;
97
- }
98
- interface RiskDetails {
99
- /**
100
- * Risk insights for this token, including scores and recommended actions for each risk type.
101
- */
102
- insights: RiskDetails.Insights;
103
- }
104
- interface SellerDetails {
105
- /**
106
- * A unique id within a network that identifies a logical seller. This should usually be the merchant id on the seller platform.
107
- */
108
- external_id: string;
109
- /**
110
- * The unique and logical string that identifies the seller platform that this SharedToken is being created for.
111
- */
112
- network_business_profile: string;
113
- }
114
- type Status = 'active' | 'deactivated' | 'requires_action';
115
- interface UsageDetails {
116
- /**
117
- * The total amount captured using this SharedPaymentToken.
118
- */
119
- amount_captured: UsageDetails.AmountCaptured | null;
120
- }
121
- interface UsageLimits {
122
- /**
123
- * 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).
124
- */
125
- currency: string;
126
- /**
127
- * Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent.
128
- */
129
- expires_at: number | null;
130
- /**
131
- * Max amount that can be captured using this SharedPaymentToken.
132
- */
133
- max_amount: number;
134
- }
135
- namespace NextAction {
136
- interface UseStripeSdk {
137
- /**
138
- * A base64-encoded string used by Stripe.js and the iOS and Android client SDKs to handle the next action. Its content is subject to change.
139
- */
140
- value: string;
141
- }
142
- }
143
- namespace RiskDetails {
144
- interface Insights {
145
- /**
146
- * Bot risk insight.
147
- */
148
- bot?: Insights.Bot | null;
149
- /**
150
- * Card issuer decline risk insight.
151
- */
152
- card_issuer_decline?: Insights.CardIssuerDecline | null;
153
- /**
154
- * Card testing risk insight.
155
- */
156
- card_testing?: Insights.CardTesting | null;
157
- /**
158
- * Fraudulent dispute risk insight.
159
- */
160
- fraudulent_dispute: Insights.FraudulentDispute | null;
161
- /**
162
- * Stolen card risk insight.
163
- */
164
- stolen_card?: Insights.StolenCard | null;
165
- }
166
- namespace Insights {
167
- interface Bot {
168
- /**
169
- * Recommended action for this insight.
170
- */
171
- recommended_action: string;
172
- /**
173
- * Risk score for this insight.
174
- */
175
- score: number;
176
- }
177
- interface CardIssuerDecline {
178
- /**
179
- * Recommended action for this insight.
180
- */
181
- recommended_action: string;
182
- /**
183
- * Risk score for this insight.
184
- */
185
- score: number;
186
- }
187
- interface CardTesting {
188
- /**
189
- * Recommended action for this insight.
190
- */
191
- recommended_action: string;
192
- /**
193
- * Risk score for this insight.
194
- */
195
- score: number;
196
- }
197
- interface FraudulentDispute {
198
- /**
199
- * Recommended action for this insight.
200
- */
201
- recommended_action: string;
202
- /**
203
- * Risk score for this insight.
204
- */
205
- score: number;
206
- }
207
- interface StolenCard {
208
- /**
209
- * Recommended action for this insight.
210
- */
211
- recommended_action: string;
212
- /**
213
- * Risk score for this insight.
214
- */
215
- score: number;
216
- }
217
- }
218
- }
219
- namespace UsageDetails {
220
- interface AmountCaptured {
221
- /**
222
- * 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).
223
- */
224
- currency: string;
225
- /**
226
- * Integer value of the amount in the smallest currency unit.
227
- */
228
- value: number;
229
- }
230
- }
231
- }
232
- }
233
- export declare namespace SharedPayment {
234
- interface IssuedTokenCreateParams {
235
- /**
236
- * The PaymentMethod that is going to be shared by the SharedPaymentIssuedToken.
237
- */
238
- payment_method: string;
239
- /**
240
- * Seller details of the SharedPaymentIssuedToken, including network_id and external_id.
241
- */
242
- seller_details: IssuedTokenCreateParams.SellerDetails;
243
- /**
244
- * Limits on how this SharedPaymentToken can be used.
245
- */
246
- usage_limits: IssuedTokenCreateParams.UsageLimits;
247
- /**
248
- * Specifies which fields in the response should be expanded.
249
- */
250
- expand?: Array<string>;
251
- /**
252
- * If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
253
- */
254
- return_url?: string;
255
- /**
256
- * Indicates that you intend to save the PaymentMethod of this SharedPaymentToken to a customer later.
257
- */
258
- setup_future_usage?: 'on_session';
259
- /**
260
- * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to the SharedPaymentIssuedToken. The values here are visible by default with the party that you share this SharedPaymentIssuedToken with.
261
- */
262
- shared_metadata?: {
263
- [key: string]: string;
264
- };
265
- }
266
- namespace IssuedTokenCreateParams {
267
- interface SellerDetails {
268
- /**
269
- * A unique id within a network that identifies a logical seller, usually this would be the unique merchant id.
270
- */
271
- external_id?: string;
272
- /**
273
- * A string that identifies the network that this SharedToken is being created for.
274
- */
275
- network_business_profile?: string;
276
- }
277
- interface UsageLimits {
278
- /**
279
- * 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).
280
- */
281
- currency: string;
282
- /**
283
- * Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent.
284
- */
285
- expires_at?: number;
286
- /**
287
- * Max amount that can be captured using this SharedPaymentToken
288
- */
289
- max_amount: number;
290
- }
291
- }
292
- }
293
- export declare namespace SharedPayment {
294
- interface IssuedTokenRetrieveParams {
295
- /**
296
- * Specifies which fields in the response should be expanded.
297
- */
298
- expand?: Array<string>;
299
- }
300
- }
301
- export declare namespace SharedPayment {
302
- interface IssuedTokenRevokeParams {
303
- /**
304
- * Specifies which fields in the response should be expanded.
305
- */
306
- expand?: Array<string>;
307
- }
308
- }
@@ -1,27 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.IssuedTokenResource = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- class IssuedTokenResource extends StripeResource_js_1.StripeResource {
7
- /**
8
- * Retrieves an existing SharedPaymentIssuedToken object
9
- */
10
- retrieve(id, params, options) {
11
- return this._makeRequest('GET', `/v1/shared_payment/issued_tokens/${id}`, params, options);
12
- }
13
- /**
14
- * Creates a new SharedPaymentIssuedToken object
15
- */
16
- create(params, options) {
17
- return this._makeRequest('POST', '/v1/shared_payment/issued_tokens', params, options);
18
- }
19
- /**
20
- * Revokes a SharedPaymentIssuedToken
21
- */
22
- revoke(id, params, options) {
23
- return this._makeRequest('POST', `/v1/shared_payment/issued_tokens/${id}/revoke`, params, options);
24
- }
25
- }
26
- exports.IssuedTokenResource = IssuedTokenResource;
27
- //# sourceMappingURL=IssuedTokens.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IssuedTokens.js","sourceRoot":"","sources":["../../../src/resources/SharedPayment/IssuedTokens.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAGvD,MAAa,mBAAoB,SAAQ,kCAAc;IACrD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAgD,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,oCAAoC,EAAE,EAAE,EACxC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,MAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,kCAAkC,EAClC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,oCAAoC,EAAE,SAAS,EAC/C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA7CD,kDA6CC"}
@@ -1,19 +0,0 @@
1
- import { Stripe } from '../../stripe.core.js';
2
- import { SharedPayment as SharedPaymentNamespace0, GrantedToken, GrantedTokenResource } from './GrantedTokens.js';
3
- import { SharedPayment as SharedPaymentNamespace1, IssuedToken, IssuedTokenResource } from './IssuedTokens.js';
4
- export { GrantedToken } from './GrantedTokens.js';
5
- export { IssuedToken } from './IssuedTokens.js';
6
- export declare class SharedPayment {
7
- private readonly stripe;
8
- grantedTokens: GrantedTokenResource;
9
- issuedTokens: IssuedTokenResource;
10
- constructor(stripe: Stripe);
11
- }
12
- export declare namespace SharedPayment {
13
- export type GrantedTokenRetrieveParams = SharedPaymentNamespace0.GrantedTokenRetrieveParams;
14
- export { GrantedToken };
15
- export type IssuedTokenRetrieveParams = SharedPaymentNamespace1.IssuedTokenRetrieveParams;
16
- export type IssuedTokenCreateParams = SharedPaymentNamespace1.IssuedTokenCreateParams;
17
- export type IssuedTokenRevokeParams = SharedPaymentNamespace1.IssuedTokenRevokeParams;
18
- export { IssuedToken };
19
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.SharedPayment = void 0;
5
- const GrantedTokens_js_1 = require("./GrantedTokens.js");
6
- const IssuedTokens_js_1 = require("./IssuedTokens.js");
7
- class SharedPayment {
8
- constructor(stripe) {
9
- this.stripe = stripe;
10
- this.grantedTokens = new GrantedTokens_js_1.GrantedTokenResource(stripe);
11
- this.issuedTokens = new IssuedTokens_js_1.IssuedTokenResource(stripe);
12
- }
13
- }
14
- exports.SharedPayment = SharedPayment;
15
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/SharedPayment/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,yDAI4B;AAC5B,uDAI2B;AAK3B,MAAa,aAAa;IAIxB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,aAAa,GAAG,IAAI,uCAAoB,CAAC,MAAM,CAAC,CAAC;QACtD,IAAI,CAAC,YAAY,GAAG,IAAI,qCAAmB,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;CACF;AARD,sCAQC"}
@@ -1,230 +0,0 @@
1
- import { StripeResource } from '../../StripeResource.js';
2
- import { Account } from './../Accounts.js';
3
- import { PaginationParams } from '../../shared.js';
4
- import { RequestOptions, ApiListPromise, Response, StripeStreamResponse } from '../../lib.js';
5
- export declare class FormResource extends StripeResource {
6
- /**
7
- * Returns a list of tax forms which were previously created. The tax forms are returned in sorted order, with the oldest tax forms appearing first.
8
- */
9
- list(params: Tax.FormListParams, options?: RequestOptions): ApiListPromise<Form>;
10
- /**
11
- * Retrieves the details of a tax form that has previously been created. Supply the unique tax form ID that was returned from your previous request, and Stripe will return the corresponding tax form information.
12
- */
13
- retrieve(id: string, params?: Tax.FormRetrieveParams, options?: RequestOptions): Promise<Response<Form>>;
14
- /**
15
- * Download the PDF for a tax form.
16
- */
17
- pdf(id: string, params?: Tax.FormPdfParams, options?: RequestOptions): Promise<StripeStreamResponse>;
18
- }
19
- export interface Form {
20
- /**
21
- * Unique identifier for the object.
22
- */
23
- id: string;
24
- /**
25
- * String representing the object's type. Objects of the same type share the same value.
26
- */
27
- object: 'tax.form';
28
- au_serr?: Tax.Form.AuSerr;
29
- ca_mrdp?: Tax.Form.CaMrdp;
30
- /**
31
- * The form that corrects this form, if any.
32
- */
33
- corrected_by: string | Form | null;
34
- /**
35
- * Time at which the object was created. Measured in seconds since the Unix epoch.
36
- */
37
- created: number;
38
- eu_dac7?: Tax.Form.EuDac7;
39
- /**
40
- * A list of tax filing statuses. Note that a filing status will only be included if the form has been filed directly with the jurisdiction's tax authority.
41
- */
42
- filing_statuses: Array<Tax.Form.FilingStatus>;
43
- gb_mrdp?: Tax.Form.GbMrdp;
44
- /**
45
- * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
46
- */
47
- livemode: boolean;
48
- nz_mrdp?: Tax.Form.NzMrdp;
49
- payee: Tax.Form.Payee;
50
- /**
51
- * The type of the tax form. An additional hash is included on the tax form with a name matching this value. It contains additional information specific to the tax form type.
52
- */
53
- type: Tax.Form.Type;
54
- us_1099_k?: Tax.Form.Us1099K;
55
- us_1099_misc?: Tax.Form.Us1099Misc;
56
- us_1099_nec?: Tax.Form.Us1099Nec;
57
- }
58
- export declare namespace Tax {
59
- namespace Form {
60
- interface AuSerr {
61
- /**
62
- * End date of the period represented by the information reported on the tax form.
63
- */
64
- reporting_period_end_date: string;
65
- /**
66
- * Start date of the period represented by the information reported on the tax form.
67
- */
68
- reporting_period_start_date: string;
69
- }
70
- interface CaMrdp {
71
- /**
72
- * End date of the period represented by the information reported on the tax form.
73
- */
74
- reporting_period_end_date: string;
75
- /**
76
- * Start date of the period represented by the information reported on the tax form.
77
- */
78
- reporting_period_start_date: string;
79
- }
80
- interface EuDac7 {
81
- /**
82
- * End date of the period represented by the information reported on the tax form.
83
- */
84
- reporting_period_end_date: string;
85
- /**
86
- * Start date of the period represented by the information reported on the tax form.
87
- */
88
- reporting_period_start_date: string;
89
- }
90
- interface FilingStatus {
91
- /**
92
- * Time when the filing status was updated.
93
- */
94
- effective_at: number;
95
- jurisdiction: FilingStatus.Jurisdiction;
96
- /**
97
- * The current status of the filed form.
98
- */
99
- value: FilingStatus.Value;
100
- }
101
- interface GbMrdp {
102
- /**
103
- * End date of the period represented by the information reported on the tax form.
104
- */
105
- reporting_period_end_date: string;
106
- /**
107
- * Start date of the period represented by the information reported on the tax form.
108
- */
109
- reporting_period_start_date: string;
110
- }
111
- interface NzMrdp {
112
- /**
113
- * End date of the period represented by the information reported on the tax form.
114
- */
115
- reporting_period_end_date: string;
116
- /**
117
- * Start date of the period represented by the information reported on the tax form.
118
- */
119
- reporting_period_start_date: string;
120
- }
121
- interface Payee {
122
- /**
123
- * The ID of the payee's Stripe account.
124
- */
125
- account: string | Account | null;
126
- /**
127
- * The external reference to this payee.
128
- */
129
- external_reference: string | null;
130
- /**
131
- * Either `account` or `external_reference`.
132
- */
133
- type: Payee.Type;
134
- }
135
- type Type = 'au_serr' | 'ca_mrdp' | 'eu_dac7' | 'gb_mrdp' | 'nz_mrdp' | 'us_1099_k' | 'us_1099_misc' | 'us_1099_nec';
136
- interface Us1099K {
137
- /**
138
- * Year represented by the information reported on the tax form.
139
- */
140
- reporting_year: number;
141
- }
142
- interface Us1099Misc {
143
- /**
144
- * Year represented by the information reported on the tax form.
145
- */
146
- reporting_year: number;
147
- }
148
- interface Us1099Nec {
149
- /**
150
- * Year represented by the information reported on the tax form.
151
- */
152
- reporting_year: number;
153
- }
154
- namespace FilingStatus {
155
- interface Jurisdiction {
156
- /**
157
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
158
- */
159
- country: string;
160
- /**
161
- * Indicates the level of the jurisdiction where the form was filed.
162
- */
163
- level: Jurisdiction.Level;
164
- /**
165
- * [ISO 3166-2 U.S. state code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix, if any. For example, "NY" for New York, United States. Null for non-U.S. forms.
166
- */
167
- state: string | null;
168
- }
169
- type Value = 'accepted' | 'filed' | 'rejected';
170
- namespace Jurisdiction {
171
- type Level = 'country' | 'state';
172
- }
173
- }
174
- namespace Payee {
175
- type Type = 'account' | 'external_reference';
176
- }
177
- }
178
- }
179
- export declare namespace Tax {
180
- interface FormRetrieveParams {
181
- /**
182
- * Specifies which fields in the response should be expanded.
183
- */
184
- expand?: Array<string>;
185
- }
186
- }
187
- export declare namespace Tax {
188
- interface FormListParams extends PaginationParams {
189
- /**
190
- * The payee whose volume is represented on the tax form.
191
- */
192
- payee: FormListParams.Payee;
193
- /**
194
- * Specifies which fields in the response should be expanded.
195
- */
196
- expand?: Array<string>;
197
- /**
198
- * An optional filter on the list, based on the object `type` field. Without the filter, the list includes all current and future tax form types. If your integration expects only one type of tax form in the response, make sure to provide a type value in the request.
199
- */
200
- type?: FormListParams.Type;
201
- }
202
- namespace FormListParams {
203
- interface Payee {
204
- /**
205
- * The ID of the Stripe account whose forms will be retrieved.
206
- */
207
- account?: string;
208
- /**
209
- * The external reference to the payee whose forms will be retrieved.
210
- */
211
- external_reference?: string;
212
- /**
213
- * Specifies the payee type. Either `account` or `external_reference`.
214
- */
215
- type?: Payee.Type;
216
- }
217
- type Type = 'au_serr' | 'ca_mrdp' | 'eu_dac7' | 'gb_mrdp' | 'nz_mrdp' | 'us_1099_k' | 'us_1099_misc' | 'us_1099_nec';
218
- namespace Payee {
219
- type Type = 'account' | 'external_reference';
220
- }
221
- }
222
- }
223
- export declare namespace Tax {
224
- interface FormPdfParams {
225
- /**
226
- * Specifies which fields in the response should be expanded.
227
- */
228
- expand?: Array<string>;
229
- }
230
- }
@@ -1,32 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.FormResource = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- class FormResource extends StripeResource_js_1.StripeResource {
7
- /**
8
- * Returns a list of tax forms which were previously created. The tax forms are returned in sorted order, with the oldest tax forms appearing first.
9
- */
10
- list(params, options) {
11
- return this._makeRequest('GET', '/v1/tax/forms', params, options, {
12
- methodType: 'list',
13
- });
14
- }
15
- /**
16
- * Retrieves the details of a tax form that has previously been created. Supply the unique tax form ID that was returned from your previous request, and Stripe will return the corresponding tax form information.
17
- */
18
- retrieve(id, params, options) {
19
- return this._makeRequest('GET', `/v1/tax/forms/${id}`, params, options);
20
- }
21
- /**
22
- * Download the PDF for a tax form.
23
- */
24
- pdf(id, params, options) {
25
- return this._makeRequest('GET', `/v1/tax/forms/${id}/pdf`, params, options, {
26
- apiBase: 'files',
27
- streaming: true,
28
- });
29
- }
30
- }
31
- exports.FormResource = FormResource;
32
- //# sourceMappingURL=Forms.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Forms.js","sourceRoot":"","sources":["../../../src/resources/Tax/Forms.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAUvD,MAAa,YAAa,SAAQ,kCAAc;IAC9C;;OAEG;IACH,IAAI,CACF,MAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,OAAO,EAAE;YAChE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,iBAAiB,EAAE,EAAE,EACrB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,GAAG,CACD,EAAU,EACV,MAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,iBAAiB,EAAE,MAAM,EACzB,MAAM,EACN,OAAO,EACP;YACE,OAAO,EAAE,OAAO;YAChB,SAAS,EAAE,IAAI;SAChB,CACK,CAAC;IACX,CAAC;CACF;AA9CD,oCA8CC"}