stripe 22.2.0-beta.3 → 22.2.1

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 (1268) hide show
  1. package/CHANGELOG.md +105 -1745
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +66 -58
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +0 -50
  6. package/cjs/Error.js +1 -125
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/RequestSender.d.ts +2 -1
  9. package/cjs/RequestSender.js +12 -4
  10. package/cjs/RequestSender.js.map +1 -1
  11. package/cjs/Types.d.ts +2 -4
  12. package/cjs/Types.js.map +1 -1
  13. package/cjs/apiVersion.d.ts +2 -1
  14. package/cjs/apiVersion.js +3 -2
  15. package/cjs/apiVersion.js.map +1 -1
  16. package/cjs/autoPagination.js +27 -2
  17. package/cjs/autoPagination.js.map +1 -1
  18. package/cjs/lib.d.ts +48 -3
  19. package/cjs/net/FetchHttpClient.js.map +1 -1
  20. package/cjs/net/HttpClient.js.map +1 -1
  21. package/cjs/platform/NodePlatformFunctions.d.ts +9 -0
  22. package/cjs/platform/NodePlatformFunctions.js +53 -2
  23. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  24. package/cjs/platform/PlatformFunctions.d.ts +14 -0
  25. package/cjs/platform/PlatformFunctions.js +24 -0
  26. package/cjs/platform/PlatformFunctions.js.map +1 -1
  27. package/cjs/resources/AccountLinks.d.ts +1 -1
  28. package/cjs/resources/AccountSessions.d.ts +0 -262
  29. package/cjs/resources/AccountSessions.js.map +1 -1
  30. package/cjs/resources/Accounts.d.ts +45 -819
  31. package/cjs/resources/Accounts.js +17 -32
  32. package/cjs/resources/Accounts.js.map +1 -1
  33. package/cjs/resources/ApplePayDomains.js +2 -2
  34. package/cjs/resources/ApplePayDomains.js.map +1 -1
  35. package/cjs/resources/ApplicationFees.js +5 -5
  36. package/cjs/resources/ApplicationFees.js.map +1 -1
  37. package/cjs/resources/Apps/index.d.ts +4 -4
  38. package/cjs/resources/Balance.d.ts +0 -67
  39. package/cjs/resources/BalanceSettings.d.ts +86 -0
  40. package/cjs/resources/BalanceTransactions.js +1 -1
  41. package/cjs/resources/BalanceTransactions.js.map +1 -1
  42. package/cjs/resources/BankAccounts.d.ts +2 -2
  43. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
  44. package/cjs/resources/Billing/Alerts.js +4 -4
  45. package/cjs/resources/Billing/Alerts.js.map +1 -1
  46. package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -1
  47. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  48. package/cjs/resources/Billing/CreditGrants.js +4 -4
  49. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  50. package/cjs/resources/Billing/Meters.js +5 -5
  51. package/cjs/resources/Billing/Meters.js.map +1 -1
  52. package/cjs/resources/Billing/index.d.ts +24 -27
  53. package/cjs/resources/Billing/index.js +0 -2
  54. package/cjs/resources/Billing/index.js.map +1 -1
  55. package/cjs/resources/BillingPortal/Configurations.js +2 -2
  56. package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
  57. package/cjs/resources/BillingPortal/index.d.ts +5 -5
  58. package/cjs/resources/Capabilities.d.ts +2 -2
  59. package/cjs/resources/Cards.d.ts +0 -4
  60. package/cjs/resources/Charges.d.ts +92 -3064
  61. package/cjs/resources/Charges.js +3 -3
  62. package/cjs/resources/Charges.js.map +1 -1
  63. package/cjs/resources/Checkout/Sessions.d.ts +51 -414
  64. package/cjs/resources/Checkout/Sessions.js +4 -4
  65. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  66. package/cjs/resources/Checkout/index.d.ts +6 -6
  67. package/cjs/resources/Climate/Orders.js +3 -3
  68. package/cjs/resources/Climate/Orders.js.map +1 -1
  69. package/cjs/resources/Climate/Products.js +1 -1
  70. package/cjs/resources/Climate/Products.js.map +1 -1
  71. package/cjs/resources/Climate/Suppliers.js +1 -1
  72. package/cjs/resources/Climate/Suppliers.js.map +1 -1
  73. package/cjs/resources/Climate/index.d.ts +9 -9
  74. package/cjs/resources/ConfirmationTokens.d.ts +7 -67
  75. package/cjs/resources/ConfirmationTokens.js +1 -1
  76. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  77. package/cjs/resources/CountrySpecs.js +1 -1
  78. package/cjs/resources/CountrySpecs.js.map +1 -1
  79. package/cjs/resources/Coupons.d.ts +0 -47
  80. package/cjs/resources/Coupons.js +3 -3
  81. package/cjs/resources/Coupons.js.map +1 -1
  82. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  83. package/cjs/resources/CreditNotes.d.ts +1 -7
  84. package/cjs/resources/CreditNotes.js +4 -18
  85. package/cjs/resources/CreditNotes.js.map +1 -1
  86. package/cjs/resources/CustomerSessions.d.ts +0 -68
  87. package/cjs/resources/Customers.d.ts +1 -7
  88. package/cjs/resources/Customers.js +31 -42
  89. package/cjs/resources/Customers.js.map +1 -1
  90. package/cjs/resources/Discounts.d.ts +4 -4
  91. package/cjs/resources/Disputes.d.ts +0 -29
  92. package/cjs/resources/Disputes.js +3 -3
  93. package/cjs/resources/Disputes.js.map +1 -1
  94. package/cjs/resources/Entitlements/ActiveEntitlements.js +1 -1
  95. package/cjs/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  96. package/cjs/resources/Entitlements/Features.js +2 -2
  97. package/cjs/resources/Entitlements/Features.js.map +1 -1
  98. package/cjs/resources/Entitlements/index.d.ts +6 -6
  99. package/cjs/resources/EphemeralKeys.js +1 -1
  100. package/cjs/resources/EphemeralKeys.js.map +1 -1
  101. package/cjs/resources/Events.d.ts +2 -547
  102. package/cjs/resources/Events.js +1 -1
  103. package/cjs/resources/Events.js.map +1 -1
  104. package/cjs/resources/ExchangeRates.js +1 -1
  105. package/cjs/resources/ExchangeRates.js.map +1 -1
  106. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  107. package/cjs/resources/ExternalAccounts.js +0 -44
  108. package/cjs/resources/ExternalAccounts.js.map +1 -1
  109. package/cjs/resources/FileLinks.js +2 -2
  110. package/cjs/resources/FileLinks.js.map +1 -1
  111. package/cjs/resources/Files.js +1 -1
  112. package/cjs/resources/Files.js.map +1 -1
  113. package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -74
  114. package/cjs/resources/FinancialConnections/Accounts.js +6 -14
  115. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  116. package/cjs/resources/FinancialConnections/Sessions.d.ts +7 -155
  117. package/cjs/resources/FinancialConnections/Sessions.js +1 -1
  118. package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
  119. package/cjs/resources/FinancialConnections/Transactions.js +1 -1
  120. package/cjs/resources/FinancialConnections/Transactions.js.map +1 -1
  121. package/cjs/resources/FinancialConnections/index.d.ts +13 -28
  122. package/cjs/resources/FinancialConnections/index.js +0 -4
  123. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  124. package/cjs/resources/Forwarding/Requests.js +1 -1
  125. package/cjs/resources/Forwarding/Requests.js.map +1 -1
  126. package/cjs/resources/Forwarding/index.d.ts +3 -3
  127. package/cjs/resources/Identity/VerificationReports.js +1 -1
  128. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  129. package/cjs/resources/Identity/VerificationSessions.js +4 -4
  130. package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
  131. package/cjs/resources/Identity/index.d.ts +8 -8
  132. package/cjs/resources/InvoiceItems.d.ts +28 -85
  133. package/cjs/resources/InvoiceItems.js +3 -3
  134. package/cjs/resources/InvoiceItems.js.map +1 -1
  135. package/cjs/resources/InvoiceLineItems.d.ts +2 -40
  136. package/cjs/resources/InvoicePayments.js +1 -1
  137. package/cjs/resources/InvoicePayments.js.map +1 -1
  138. package/cjs/resources/InvoiceRenderingTemplates.js +3 -3
  139. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  140. package/cjs/resources/Invoices.d.ts +26 -1348
  141. package/cjs/resources/Invoices.js +14 -84
  142. package/cjs/resources/Invoices.js.map +1 -1
  143. package/cjs/resources/Issuing/Authorizations.js +4 -4
  144. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  145. package/cjs/resources/Issuing/Cardholders.d.ts +1 -2
  146. package/cjs/resources/Issuing/Cardholders.js +2 -2
  147. package/cjs/resources/Issuing/Cardholders.js.map +1 -1
  148. package/cjs/resources/Issuing/Cards.js +2 -2
  149. package/cjs/resources/Issuing/Cards.js.map +1 -1
  150. package/cjs/resources/Issuing/Disputes.d.ts +1 -1
  151. package/cjs/resources/Issuing/Disputes.js +3 -3
  152. package/cjs/resources/Issuing/Disputes.js.map +1 -1
  153. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
  154. package/cjs/resources/Issuing/PersonalizationDesigns.js +2 -2
  155. package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  156. package/cjs/resources/Issuing/PhysicalBundles.js +1 -1
  157. package/cjs/resources/Issuing/PhysicalBundles.js.map +1 -1
  158. package/cjs/resources/Issuing/Tokens.js +2 -2
  159. package/cjs/resources/Issuing/Tokens.js.map +1 -1
  160. package/cjs/resources/Issuing/Transactions.d.ts +0 -9
  161. package/cjs/resources/Issuing/Transactions.js +2 -2
  162. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  163. package/cjs/resources/Issuing/index.d.ts +35 -60
  164. package/cjs/resources/Issuing/index.js +0 -6
  165. package/cjs/resources/Issuing/index.js.map +1 -1
  166. package/cjs/resources/LineItems.d.ts +2 -29
  167. package/cjs/resources/Mandates.d.ts +4 -33
  168. package/cjs/resources/Mandates.js +1 -9
  169. package/cjs/resources/Mandates.js.map +1 -1
  170. package/cjs/resources/OAuth.d.ts +7 -8
  171. package/cjs/resources/PaymentAttemptRecords.d.ts +23 -92
  172. package/cjs/resources/PaymentAttemptRecords.js +1 -1
  173. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  174. package/cjs/resources/PaymentIntents.d.ts +6510 -17236
  175. package/cjs/resources/PaymentIntents.js +12 -37
  176. package/cjs/resources/PaymentIntents.js.map +1 -1
  177. package/cjs/resources/PaymentLinks.d.ts +88 -20
  178. package/cjs/resources/PaymentLinks.js +3 -3
  179. package/cjs/resources/PaymentLinks.js.map +1 -1
  180. package/cjs/resources/PaymentMethodConfigurations.d.ts +93 -299
  181. package/cjs/resources/PaymentMethodConfigurations.js +2 -2
  182. package/cjs/resources/PaymentMethodConfigurations.js.map +1 -1
  183. package/cjs/resources/PaymentMethodDomains.js +3 -3
  184. package/cjs/resources/PaymentMethodDomains.js.map +1 -1
  185. package/cjs/resources/PaymentMethods.d.ts +22 -152
  186. package/cjs/resources/PaymentMethods.js +4 -4
  187. package/cjs/resources/PaymentMethods.js.map +1 -1
  188. package/cjs/resources/PaymentRecords.d.ts +23 -92
  189. package/cjs/resources/PaymentRecords.js +7 -7
  190. package/cjs/resources/PaymentRecords.js.map +1 -1
  191. package/cjs/resources/Payouts.d.ts +1 -1
  192. package/cjs/resources/Payouts.js +4 -4
  193. package/cjs/resources/Payouts.js.map +1 -1
  194. package/cjs/resources/Persons.d.ts +2 -2
  195. package/cjs/resources/Plans.d.ts +0 -16
  196. package/cjs/resources/Plans.js +3 -3
  197. package/cjs/resources/Plans.js.map +1 -1
  198. package/cjs/resources/Prices.d.ts +0 -52
  199. package/cjs/resources/Prices.js +2 -2
  200. package/cjs/resources/Prices.js.map +1 -1
  201. package/cjs/resources/Products.d.ts +0 -42
  202. package/cjs/resources/Products.js +7 -7
  203. package/cjs/resources/Products.js.map +1 -1
  204. package/cjs/resources/PromotionCodes.d.ts +0 -12
  205. package/cjs/resources/PromotionCodes.js +2 -30
  206. package/cjs/resources/PromotionCodes.js.map +1 -1
  207. package/cjs/resources/Quotes.d.ts +160 -2369
  208. package/cjs/resources/Quotes.js +20 -1180
  209. package/cjs/resources/Quotes.js.map +1 -1
  210. package/cjs/resources/Radar/EarlyFraudWarnings.js +1 -1
  211. package/cjs/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  212. package/cjs/resources/Radar/PaymentEvaluations.d.ts +2 -2
  213. package/cjs/resources/Radar/ValueListItems.js +2 -2
  214. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  215. package/cjs/resources/Radar/ValueLists.js +3 -3
  216. package/cjs/resources/Radar/ValueLists.js.map +1 -1
  217. package/cjs/resources/Radar/index.d.ts +12 -12
  218. package/cjs/resources/Refunds.d.ts +3 -11
  219. package/cjs/resources/Refunds.js +3 -3
  220. package/cjs/resources/Refunds.js.map +1 -1
  221. package/cjs/resources/Reporting/ReportRuns.js +1 -1
  222. package/cjs/resources/Reporting/ReportRuns.js.map +1 -1
  223. package/cjs/resources/Reporting/ReportTypes.js +1 -1
  224. package/cjs/resources/Reporting/ReportTypes.js.map +1 -1
  225. package/cjs/resources/Reporting/index.d.ts +5 -5
  226. package/cjs/resources/Reserve/Holds.d.ts +1 -53
  227. package/cjs/resources/Reserve/Holds.js +0 -19
  228. package/cjs/resources/Reserve/Holds.js.map +1 -1
  229. package/cjs/resources/Reserve/Plans.d.ts +0 -16
  230. package/cjs/resources/Reserve/Plans.js +0 -11
  231. package/cjs/resources/Reserve/Plans.js.map +1 -1
  232. package/cjs/resources/Reserve/Releases.d.ts +1 -41
  233. package/cjs/resources/Reserve/Releases.js +0 -19
  234. package/cjs/resources/Reserve/Releases.js.map +1 -1
  235. package/cjs/resources/Reserve/index.d.ts +3 -14
  236. package/cjs/resources/Reserve/index.js +2 -10
  237. package/cjs/resources/Reserve/index.js.map +1 -1
  238. package/cjs/resources/Reviews.js +2 -2
  239. package/cjs/resources/Reviews.js.map +1 -1
  240. package/cjs/resources/SetupAttempts.d.ts +3 -25
  241. package/cjs/resources/SetupIntents.d.ts +77 -336
  242. package/cjs/resources/SetupIntents.js +5 -5
  243. package/cjs/resources/SetupIntents.js.map +1 -1
  244. package/cjs/resources/ShippingRates.js +2 -2
  245. package/cjs/resources/ShippingRates.js.map +1 -1
  246. package/cjs/resources/Sigma/ScheduledQueryRuns.js +1 -1
  247. package/cjs/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  248. package/cjs/resources/Sigma/index.d.ts +2 -2
  249. package/cjs/resources/Sources.d.ts +1 -16
  250. package/cjs/resources/Sources.js +4 -4
  251. package/cjs/resources/Sources.js.map +1 -1
  252. package/cjs/resources/SubscriptionItems.d.ts +4 -165
  253. package/cjs/resources/SubscriptionItems.js +3 -3
  254. package/cjs/resources/SubscriptionItems.js.map +1 -1
  255. package/cjs/resources/SubscriptionSchedules.d.ts +16 -1174
  256. package/cjs/resources/SubscriptionSchedules.js +4 -52
  257. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  258. package/cjs/resources/Subscriptions.d.ts +32 -490
  259. package/cjs/resources/Subscriptions.js +8 -37
  260. package/cjs/resources/Subscriptions.js.map +1 -1
  261. package/cjs/resources/Tax/CalculationLineItems.d.ts +2 -6
  262. package/cjs/resources/Tax/Calculations.d.ts +3 -7
  263. package/cjs/resources/Tax/Calculations.js +2 -2
  264. package/cjs/resources/Tax/Calculations.js.map +1 -1
  265. package/cjs/resources/Tax/Registrations.d.ts +2 -138
  266. package/cjs/resources/Tax/Registrations.js +2 -2
  267. package/cjs/resources/Tax/Registrations.js.map +1 -1
  268. package/cjs/resources/Tax/Transactions.d.ts +2 -2
  269. package/cjs/resources/Tax/Transactions.js +2 -2
  270. package/cjs/resources/Tax/Transactions.js.map +1 -1
  271. package/cjs/resources/Tax/index.d.ts +17 -31
  272. package/cjs/resources/Tax/index.js +0 -4
  273. package/cjs/resources/Tax/index.js.map +1 -1
  274. package/cjs/resources/TaxCodes.d.ts +0 -15
  275. package/cjs/resources/TaxCodes.js +1 -1
  276. package/cjs/resources/TaxCodes.js.map +1 -1
  277. package/cjs/resources/TaxIds.js +2 -2
  278. package/cjs/resources/TaxIds.js.map +1 -1
  279. package/cjs/resources/TaxRates.js +2 -2
  280. package/cjs/resources/TaxRates.js.map +1 -1
  281. package/cjs/resources/Terminal/Configurations.d.ts +108 -27
  282. package/cjs/resources/Terminal/Configurations.js +3 -3
  283. package/cjs/resources/Terminal/Configurations.js.map +1 -1
  284. package/cjs/resources/Terminal/Locations.js +3 -3
  285. package/cjs/resources/Terminal/Locations.js.map +1 -1
  286. package/cjs/resources/Terminal/Readers.d.ts +143 -19
  287. package/cjs/resources/Terminal/Readers.js +11 -11
  288. package/cjs/resources/Terminal/Readers.js.map +1 -1
  289. package/cjs/resources/Terminal/index.d.ts +25 -30
  290. package/cjs/resources/Terminal/index.js +0 -2
  291. package/cjs/resources/Terminal/index.js.map +1 -1
  292. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
  293. package/cjs/resources/TestHelpers/Customers.js +1 -1
  294. package/cjs/resources/TestHelpers/Customers.js.map +1 -1
  295. package/cjs/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  296. package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  297. package/cjs/resources/TestHelpers/Issuing/Cards.js +5 -5
  298. package/cjs/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  299. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  300. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  301. package/cjs/resources/TestHelpers/Issuing/Transactions.js +1 -1
  302. package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  303. package/cjs/resources/TestHelpers/Refunds.js +1 -1
  304. package/cjs/resources/TestHelpers/Refunds.js.map +1 -1
  305. package/cjs/resources/TestHelpers/Terminal/Readers.js +3 -3
  306. package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  307. package/cjs/resources/TestHelpers/TestClocks.d.ts +4 -0
  308. package/cjs/resources/TestHelpers/TestClocks.js +3 -3
  309. package/cjs/resources/TestHelpers/TestClocks.js.map +1 -1
  310. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  311. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  312. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  313. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  314. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  315. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  316. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  317. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  318. package/cjs/resources/TestHelpers/index.d.ts +5 -8
  319. package/cjs/resources/TestHelpers/index.js +4 -6
  320. package/cjs/resources/TestHelpers/index.js.map +1 -1
  321. package/cjs/resources/Tokens.js +1 -1
  322. package/cjs/resources/Tokens.js.map +1 -1
  323. package/cjs/resources/Topups.js +3 -3
  324. package/cjs/resources/Topups.js.map +1 -1
  325. package/cjs/resources/Transfers.d.ts +0 -8
  326. package/cjs/resources/Transfers.js +6 -6
  327. package/cjs/resources/Transfers.js.map +1 -1
  328. package/cjs/resources/Treasury/CreditReversals.js +1 -1
  329. package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
  330. package/cjs/resources/Treasury/DebitReversals.js +1 -1
  331. package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
  332. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  333. package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
  334. package/cjs/resources/Treasury/FinancialAccounts.js +5 -5
  335. package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
  336. package/cjs/resources/Treasury/InboundTransfers.js +2 -2
  337. package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
  338. package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
  339. package/cjs/resources/Treasury/OutboundPayments.js +2 -2
  340. package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
  341. package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
  342. package/cjs/resources/Treasury/OutboundTransfers.js +2 -2
  343. package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
  344. package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
  345. package/cjs/resources/Treasury/ReceivedCredits.js +1 -1
  346. package/cjs/resources/Treasury/ReceivedCredits.js.map +1 -1
  347. package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
  348. package/cjs/resources/Treasury/ReceivedDebits.js +1 -1
  349. package/cjs/resources/Treasury/ReceivedDebits.js.map +1 -1
  350. package/cjs/resources/Treasury/TransactionEntries.js +1 -1
  351. package/cjs/resources/Treasury/TransactionEntries.js.map +1 -1
  352. package/cjs/resources/Treasury/Transactions.js +1 -1
  353. package/cjs/resources/Treasury/Transactions.js.map +1 -1
  354. package/cjs/resources/Treasury/index.d.ts +33 -33
  355. package/cjs/resources/V2/Billing/index.d.ts +6 -45
  356. package/cjs/resources/V2/Billing/index.js +0 -8
  357. package/cjs/resources/V2/Billing/index.js.map +1 -1
  358. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  359. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
  360. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
  361. package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
  362. package/cjs/resources/V2/Core/AccountTokens.d.ts +32 -14
  363. package/cjs/resources/V2/Core/AccountTokens.js +6 -2
  364. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  365. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  366. package/cjs/resources/V2/Core/Accounts/PersonTokens.js +3 -3
  367. package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  368. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +3 -3
  369. package/cjs/resources/V2/Core/Accounts/Persons.js +7 -7
  370. package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
  371. package/cjs/resources/V2/Core/Accounts.d.ts +233 -1171
  372. package/cjs/resources/V2/Core/Accounts.js +4 -4
  373. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  374. package/cjs/resources/V2/Core/EventDestinations.d.ts +2 -2
  375. package/cjs/resources/V2/Core/EventDestinations.js +6 -6
  376. package/cjs/resources/V2/Core/EventDestinations.js.map +1 -1
  377. package/cjs/resources/V2/Core/Events.d.ts +8 -1126
  378. package/cjs/resources/V2/Core/Events.js +3 -2
  379. package/cjs/resources/V2/Core/Events.js.map +1 -1
  380. package/cjs/resources/V2/Core/index.d.ts +19 -29
  381. package/cjs/resources/V2/Core/index.js +0 -4
  382. package/cjs/resources/V2/Core/index.js.map +1 -1
  383. package/cjs/resources/V2/index.d.ts +0 -27
  384. package/cjs/resources/V2/index.js +0 -14
  385. package/cjs/resources/V2/index.js.map +1 -1
  386. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  387. package/cjs/resources/WebhookEndpoints.js +3 -3
  388. package/cjs/resources/WebhookEndpoints.js.map +1 -1
  389. package/cjs/resources.d.ts +0 -10
  390. package/cjs/resources.js +10 -146
  391. package/cjs/resources.js.map +1 -1
  392. package/cjs/stripe.core.d.ts +30 -69
  393. package/cjs/stripe.core.js +49 -61
  394. package/cjs/stripe.core.js.map +1 -1
  395. package/cjs/utils.d.ts +1 -3
  396. package/cjs/utils.js +14 -18
  397. package/cjs/utils.js.map +1 -1
  398. package/esm/Error.d.ts +0 -50
  399. package/esm/Error.js +0 -109
  400. package/esm/Error.js.map +1 -1
  401. package/esm/RequestSender.d.ts +2 -1
  402. package/esm/RequestSender.js +13 -5
  403. package/esm/RequestSender.js.map +1 -1
  404. package/esm/Types.d.ts +2 -4
  405. package/esm/Types.js.map +1 -1
  406. package/esm/apiVersion.d.ts +2 -1
  407. package/esm/apiVersion.js +2 -1
  408. package/esm/apiVersion.js.map +1 -1
  409. package/esm/autoPagination.js +27 -2
  410. package/esm/autoPagination.js.map +1 -1
  411. package/esm/lib.d.ts +48 -3
  412. package/esm/net/FetchHttpClient.js.map +1 -1
  413. package/esm/net/HttpClient.js.map +1 -1
  414. package/esm/platform/NodePlatformFunctions.d.ts +9 -0
  415. package/esm/platform/NodePlatformFunctions.js +53 -2
  416. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  417. package/esm/platform/PlatformFunctions.d.ts +14 -0
  418. package/esm/platform/PlatformFunctions.js +24 -0
  419. package/esm/platform/PlatformFunctions.js.map +1 -1
  420. package/esm/resources/AccountLinks.d.ts +1 -1
  421. package/esm/resources/AccountSessions.d.ts +0 -262
  422. package/esm/resources/AccountSessions.js.map +1 -1
  423. package/esm/resources/Accounts.d.ts +45 -819
  424. package/esm/resources/Accounts.js +17 -32
  425. package/esm/resources/Accounts.js.map +1 -1
  426. package/esm/resources/ApplePayDomains.js +2 -2
  427. package/esm/resources/ApplePayDomains.js.map +1 -1
  428. package/esm/resources/ApplicationFees.js +5 -5
  429. package/esm/resources/ApplicationFees.js.map +1 -1
  430. package/esm/resources/Apps/index.d.ts +4 -4
  431. package/esm/resources/Balance.d.ts +0 -67
  432. package/esm/resources/BalanceSettings.d.ts +86 -0
  433. package/esm/resources/BalanceTransactions.js +1 -1
  434. package/esm/resources/BalanceTransactions.js.map +1 -1
  435. package/esm/resources/BankAccounts.d.ts +2 -2
  436. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
  437. package/esm/resources/Billing/Alerts.js +4 -4
  438. package/esm/resources/Billing/Alerts.js.map +1 -1
  439. package/esm/resources/Billing/CreditBalanceTransactions.js +1 -1
  440. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  441. package/esm/resources/Billing/CreditGrants.js +4 -4
  442. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  443. package/esm/resources/Billing/Meters.js +5 -5
  444. package/esm/resources/Billing/Meters.js.map +1 -1
  445. package/esm/resources/Billing/index.d.ts +24 -27
  446. package/esm/resources/Billing/index.js +0 -2
  447. package/esm/resources/Billing/index.js.map +1 -1
  448. package/esm/resources/BillingPortal/Configurations.js +2 -2
  449. package/esm/resources/BillingPortal/Configurations.js.map +1 -1
  450. package/esm/resources/BillingPortal/index.d.ts +5 -5
  451. package/esm/resources/Capabilities.d.ts +2 -2
  452. package/esm/resources/Cards.d.ts +0 -4
  453. package/esm/resources/Charges.d.ts +92 -3064
  454. package/esm/resources/Charges.js +3 -3
  455. package/esm/resources/Charges.js.map +1 -1
  456. package/esm/resources/Checkout/Sessions.d.ts +51 -414
  457. package/esm/resources/Checkout/Sessions.js +4 -4
  458. package/esm/resources/Checkout/Sessions.js.map +1 -1
  459. package/esm/resources/Checkout/index.d.ts +6 -6
  460. package/esm/resources/Climate/Orders.js +3 -3
  461. package/esm/resources/Climate/Orders.js.map +1 -1
  462. package/esm/resources/Climate/Products.js +1 -1
  463. package/esm/resources/Climate/Products.js.map +1 -1
  464. package/esm/resources/Climate/Suppliers.js +1 -1
  465. package/esm/resources/Climate/Suppliers.js.map +1 -1
  466. package/esm/resources/Climate/index.d.ts +9 -9
  467. package/esm/resources/ConfirmationTokens.d.ts +7 -67
  468. package/esm/resources/ConfirmationTokens.js +1 -1
  469. package/esm/resources/ConfirmationTokens.js.map +1 -1
  470. package/esm/resources/CountrySpecs.js +1 -1
  471. package/esm/resources/CountrySpecs.js.map +1 -1
  472. package/esm/resources/Coupons.d.ts +0 -47
  473. package/esm/resources/Coupons.js +3 -3
  474. package/esm/resources/Coupons.js.map +1 -1
  475. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  476. package/esm/resources/CreditNotes.d.ts +1 -7
  477. package/esm/resources/CreditNotes.js +4 -18
  478. package/esm/resources/CreditNotes.js.map +1 -1
  479. package/esm/resources/CustomerSessions.d.ts +0 -68
  480. package/esm/resources/Customers.d.ts +1 -7
  481. package/esm/resources/Customers.js +31 -42
  482. package/esm/resources/Customers.js.map +1 -1
  483. package/esm/resources/Discounts.d.ts +4 -4
  484. package/esm/resources/Disputes.d.ts +0 -29
  485. package/esm/resources/Disputes.js +3 -3
  486. package/esm/resources/Disputes.js.map +1 -1
  487. package/esm/resources/Entitlements/ActiveEntitlements.js +1 -1
  488. package/esm/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  489. package/esm/resources/Entitlements/Features.js +2 -2
  490. package/esm/resources/Entitlements/Features.js.map +1 -1
  491. package/esm/resources/Entitlements/index.d.ts +6 -6
  492. package/esm/resources/EphemeralKeys.js +1 -1
  493. package/esm/resources/EphemeralKeys.js.map +1 -1
  494. package/esm/resources/Events.d.ts +2 -547
  495. package/esm/resources/Events.js +1 -1
  496. package/esm/resources/Events.js.map +1 -1
  497. package/esm/resources/ExchangeRates.js +1 -1
  498. package/esm/resources/ExchangeRates.js.map +1 -1
  499. package/esm/resources/ExternalAccounts.d.ts +1 -212
  500. package/esm/resources/ExternalAccounts.js +1 -42
  501. package/esm/resources/ExternalAccounts.js.map +1 -1
  502. package/esm/resources/FileLinks.js +2 -2
  503. package/esm/resources/FileLinks.js.map +1 -1
  504. package/esm/resources/Files.js +1 -1
  505. package/esm/resources/Files.js.map +1 -1
  506. package/esm/resources/FinancialConnections/Accounts.d.ts +4 -74
  507. package/esm/resources/FinancialConnections/Accounts.js +6 -14
  508. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  509. package/esm/resources/FinancialConnections/Sessions.d.ts +7 -155
  510. package/esm/resources/FinancialConnections/Sessions.js +1 -1
  511. package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
  512. package/esm/resources/FinancialConnections/Transactions.js +1 -1
  513. package/esm/resources/FinancialConnections/Transactions.js.map +1 -1
  514. package/esm/resources/FinancialConnections/index.d.ts +13 -28
  515. package/esm/resources/FinancialConnections/index.js +0 -4
  516. package/esm/resources/FinancialConnections/index.js.map +1 -1
  517. package/esm/resources/Forwarding/Requests.js +1 -1
  518. package/esm/resources/Forwarding/Requests.js.map +1 -1
  519. package/esm/resources/Forwarding/index.d.ts +3 -3
  520. package/esm/resources/Identity/VerificationReports.js +1 -1
  521. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  522. package/esm/resources/Identity/VerificationSessions.js +4 -4
  523. package/esm/resources/Identity/VerificationSessions.js.map +1 -1
  524. package/esm/resources/Identity/index.d.ts +8 -8
  525. package/esm/resources/InvoiceItems.d.ts +28 -85
  526. package/esm/resources/InvoiceItems.js +3 -3
  527. package/esm/resources/InvoiceItems.js.map +1 -1
  528. package/esm/resources/InvoiceLineItems.d.ts +2 -40
  529. package/esm/resources/InvoicePayments.js +1 -1
  530. package/esm/resources/InvoicePayments.js.map +1 -1
  531. package/esm/resources/InvoiceRenderingTemplates.js +3 -3
  532. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  533. package/esm/resources/Invoices.d.ts +26 -1348
  534. package/esm/resources/Invoices.js +14 -84
  535. package/esm/resources/Invoices.js.map +1 -1
  536. package/esm/resources/Issuing/Authorizations.js +4 -4
  537. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  538. package/esm/resources/Issuing/Cardholders.d.ts +1 -2
  539. package/esm/resources/Issuing/Cardholders.js +2 -2
  540. package/esm/resources/Issuing/Cardholders.js.map +1 -1
  541. package/esm/resources/Issuing/Cards.js +2 -2
  542. package/esm/resources/Issuing/Cards.js.map +1 -1
  543. package/esm/resources/Issuing/Disputes.d.ts +1 -1
  544. package/esm/resources/Issuing/Disputes.js +3 -3
  545. package/esm/resources/Issuing/Disputes.js.map +1 -1
  546. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
  547. package/esm/resources/Issuing/PersonalizationDesigns.js +2 -2
  548. package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  549. package/esm/resources/Issuing/PhysicalBundles.js +1 -1
  550. package/esm/resources/Issuing/PhysicalBundles.js.map +1 -1
  551. package/esm/resources/Issuing/Tokens.js +2 -2
  552. package/esm/resources/Issuing/Tokens.js.map +1 -1
  553. package/esm/resources/Issuing/Transactions.d.ts +0 -9
  554. package/esm/resources/Issuing/Transactions.js +2 -2
  555. package/esm/resources/Issuing/Transactions.js.map +1 -1
  556. package/esm/resources/Issuing/index.d.ts +35 -60
  557. package/esm/resources/Issuing/index.js +0 -6
  558. package/esm/resources/Issuing/index.js.map +1 -1
  559. package/esm/resources/LineItems.d.ts +2 -29
  560. package/esm/resources/Mandates.d.ts +4 -33
  561. package/esm/resources/Mandates.js +1 -9
  562. package/esm/resources/Mandates.js.map +1 -1
  563. package/esm/resources/OAuth.d.ts +7 -8
  564. package/esm/resources/PaymentAttemptRecords.d.ts +23 -92
  565. package/esm/resources/PaymentAttemptRecords.js +1 -1
  566. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  567. package/esm/resources/PaymentIntents.d.ts +6510 -17236
  568. package/esm/resources/PaymentIntents.js +12 -37
  569. package/esm/resources/PaymentIntents.js.map +1 -1
  570. package/esm/resources/PaymentLinks.d.ts +88 -20
  571. package/esm/resources/PaymentLinks.js +3 -3
  572. package/esm/resources/PaymentLinks.js.map +1 -1
  573. package/esm/resources/PaymentMethodConfigurations.d.ts +93 -299
  574. package/esm/resources/PaymentMethodConfigurations.js +2 -2
  575. package/esm/resources/PaymentMethodConfigurations.js.map +1 -1
  576. package/esm/resources/PaymentMethodDomains.js +3 -3
  577. package/esm/resources/PaymentMethodDomains.js.map +1 -1
  578. package/esm/resources/PaymentMethods.d.ts +22 -152
  579. package/esm/resources/PaymentMethods.js +4 -4
  580. package/esm/resources/PaymentMethods.js.map +1 -1
  581. package/esm/resources/PaymentRecords.d.ts +23 -92
  582. package/esm/resources/PaymentRecords.js +7 -7
  583. package/esm/resources/PaymentRecords.js.map +1 -1
  584. package/esm/resources/Payouts.d.ts +1 -1
  585. package/esm/resources/Payouts.js +4 -4
  586. package/esm/resources/Payouts.js.map +1 -1
  587. package/esm/resources/Persons.d.ts +2 -2
  588. package/esm/resources/Plans.d.ts +0 -16
  589. package/esm/resources/Plans.js +3 -3
  590. package/esm/resources/Plans.js.map +1 -1
  591. package/esm/resources/Prices.d.ts +0 -52
  592. package/esm/resources/Prices.js +2 -2
  593. package/esm/resources/Prices.js.map +1 -1
  594. package/esm/resources/Products.d.ts +0 -42
  595. package/esm/resources/Products.js +7 -7
  596. package/esm/resources/Products.js.map +1 -1
  597. package/esm/resources/PromotionCodes.d.ts +0 -12
  598. package/esm/resources/PromotionCodes.js +2 -30
  599. package/esm/resources/PromotionCodes.js.map +1 -1
  600. package/esm/resources/Quotes.d.ts +160 -2369
  601. package/esm/resources/Quotes.js +20 -1180
  602. package/esm/resources/Quotes.js.map +1 -1
  603. package/esm/resources/Radar/EarlyFraudWarnings.js +1 -1
  604. package/esm/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  605. package/esm/resources/Radar/PaymentEvaluations.d.ts +2 -2
  606. package/esm/resources/Radar/ValueListItems.js +2 -2
  607. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  608. package/esm/resources/Radar/ValueLists.js +3 -3
  609. package/esm/resources/Radar/ValueLists.js.map +1 -1
  610. package/esm/resources/Radar/index.d.ts +12 -12
  611. package/esm/resources/Refunds.d.ts +3 -11
  612. package/esm/resources/Refunds.js +3 -3
  613. package/esm/resources/Refunds.js.map +1 -1
  614. package/esm/resources/Reporting/ReportRuns.js +1 -1
  615. package/esm/resources/Reporting/ReportRuns.js.map +1 -1
  616. package/esm/resources/Reporting/ReportTypes.js +1 -1
  617. package/esm/resources/Reporting/ReportTypes.js.map +1 -1
  618. package/esm/resources/Reporting/index.d.ts +5 -5
  619. package/esm/resources/Reserve/Holds.d.ts +1 -53
  620. package/esm/resources/Reserve/Holds.js +1 -17
  621. package/esm/resources/Reserve/Holds.js.map +1 -1
  622. package/esm/resources/Reserve/Plans.d.ts +0 -16
  623. package/esm/resources/Reserve/Plans.js +1 -9
  624. package/esm/resources/Reserve/Plans.js.map +1 -1
  625. package/esm/resources/Reserve/Releases.d.ts +1 -41
  626. package/esm/resources/Reserve/Releases.js +1 -17
  627. package/esm/resources/Reserve/Releases.js.map +1 -1
  628. package/esm/resources/Reserve/index.d.ts +3 -14
  629. package/esm/resources/Reserve/index.js +2 -10
  630. package/esm/resources/Reserve/index.js.map +1 -1
  631. package/esm/resources/Reviews.js +2 -2
  632. package/esm/resources/Reviews.js.map +1 -1
  633. package/esm/resources/SetupAttempts.d.ts +3 -25
  634. package/esm/resources/SetupIntents.d.ts +77 -336
  635. package/esm/resources/SetupIntents.js +5 -5
  636. package/esm/resources/SetupIntents.js.map +1 -1
  637. package/esm/resources/ShippingRates.js +2 -2
  638. package/esm/resources/ShippingRates.js.map +1 -1
  639. package/esm/resources/Sigma/ScheduledQueryRuns.js +1 -1
  640. package/esm/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  641. package/esm/resources/Sigma/index.d.ts +2 -2
  642. package/esm/resources/Sources.d.ts +1 -16
  643. package/esm/resources/Sources.js +4 -4
  644. package/esm/resources/Sources.js.map +1 -1
  645. package/esm/resources/SubscriptionItems.d.ts +4 -165
  646. package/esm/resources/SubscriptionItems.js +3 -3
  647. package/esm/resources/SubscriptionItems.js.map +1 -1
  648. package/esm/resources/SubscriptionSchedules.d.ts +16 -1174
  649. package/esm/resources/SubscriptionSchedules.js +4 -52
  650. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  651. package/esm/resources/Subscriptions.d.ts +32 -490
  652. package/esm/resources/Subscriptions.js +8 -37
  653. package/esm/resources/Subscriptions.js.map +1 -1
  654. package/esm/resources/Tax/CalculationLineItems.d.ts +2 -6
  655. package/esm/resources/Tax/Calculations.d.ts +3 -7
  656. package/esm/resources/Tax/Calculations.js +2 -2
  657. package/esm/resources/Tax/Calculations.js.map +1 -1
  658. package/esm/resources/Tax/Registrations.d.ts +2 -138
  659. package/esm/resources/Tax/Registrations.js +2 -2
  660. package/esm/resources/Tax/Registrations.js.map +1 -1
  661. package/esm/resources/Tax/Transactions.d.ts +2 -2
  662. package/esm/resources/Tax/Transactions.js +2 -2
  663. package/esm/resources/Tax/Transactions.js.map +1 -1
  664. package/esm/resources/Tax/index.d.ts +17 -31
  665. package/esm/resources/Tax/index.js +0 -4
  666. package/esm/resources/Tax/index.js.map +1 -1
  667. package/esm/resources/TaxCodes.d.ts +0 -15
  668. package/esm/resources/TaxCodes.js +1 -1
  669. package/esm/resources/TaxCodes.js.map +1 -1
  670. package/esm/resources/TaxIds.js +2 -2
  671. package/esm/resources/TaxIds.js.map +1 -1
  672. package/esm/resources/TaxRates.js +2 -2
  673. package/esm/resources/TaxRates.js.map +1 -1
  674. package/esm/resources/Terminal/Configurations.d.ts +108 -27
  675. package/esm/resources/Terminal/Configurations.js +3 -3
  676. package/esm/resources/Terminal/Configurations.js.map +1 -1
  677. package/esm/resources/Terminal/Locations.js +3 -3
  678. package/esm/resources/Terminal/Locations.js.map +1 -1
  679. package/esm/resources/Terminal/Readers.d.ts +143 -19
  680. package/esm/resources/Terminal/Readers.js +11 -11
  681. package/esm/resources/Terminal/Readers.js.map +1 -1
  682. package/esm/resources/Terminal/index.d.ts +25 -30
  683. package/esm/resources/Terminal/index.js +0 -2
  684. package/esm/resources/Terminal/index.js.map +1 -1
  685. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
  686. package/esm/resources/TestHelpers/Customers.js +1 -1
  687. package/esm/resources/TestHelpers/Customers.js.map +1 -1
  688. package/esm/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  689. package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  690. package/esm/resources/TestHelpers/Issuing/Cards.js +5 -5
  691. package/esm/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  692. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  693. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  694. package/esm/resources/TestHelpers/Issuing/Transactions.js +1 -1
  695. package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  696. package/esm/resources/TestHelpers/Refunds.js +1 -1
  697. package/esm/resources/TestHelpers/Refunds.js.map +1 -1
  698. package/esm/resources/TestHelpers/Terminal/Readers.js +3 -3
  699. package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  700. package/esm/resources/TestHelpers/TestClocks.d.ts +4 -0
  701. package/esm/resources/TestHelpers/TestClocks.js +3 -3
  702. package/esm/resources/TestHelpers/TestClocks.js.map +1 -1
  703. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  704. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  705. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  706. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  707. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  708. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  709. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  710. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  711. package/esm/resources/TestHelpers/index.d.ts +5 -8
  712. package/esm/resources/TestHelpers/index.js +0 -2
  713. package/esm/resources/TestHelpers/index.js.map +1 -1
  714. package/esm/resources/Tokens.js +1 -1
  715. package/esm/resources/Tokens.js.map +1 -1
  716. package/esm/resources/Topups.js +3 -3
  717. package/esm/resources/Topups.js.map +1 -1
  718. package/esm/resources/Transfers.d.ts +0 -8
  719. package/esm/resources/Transfers.js +6 -6
  720. package/esm/resources/Transfers.js.map +1 -1
  721. package/esm/resources/Treasury/CreditReversals.js +1 -1
  722. package/esm/resources/Treasury/CreditReversals.js.map +1 -1
  723. package/esm/resources/Treasury/DebitReversals.js +1 -1
  724. package/esm/resources/Treasury/DebitReversals.js.map +1 -1
  725. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  726. package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
  727. package/esm/resources/Treasury/FinancialAccounts.js +5 -5
  728. package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
  729. package/esm/resources/Treasury/InboundTransfers.js +2 -2
  730. package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
  731. package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
  732. package/esm/resources/Treasury/OutboundPayments.js +2 -2
  733. package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
  734. package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
  735. package/esm/resources/Treasury/OutboundTransfers.js +2 -2
  736. package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
  737. package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
  738. package/esm/resources/Treasury/ReceivedCredits.js +1 -1
  739. package/esm/resources/Treasury/ReceivedCredits.js.map +1 -1
  740. package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
  741. package/esm/resources/Treasury/ReceivedDebits.js +1 -1
  742. package/esm/resources/Treasury/ReceivedDebits.js.map +1 -1
  743. package/esm/resources/Treasury/TransactionEntries.js +1 -1
  744. package/esm/resources/Treasury/TransactionEntries.js.map +1 -1
  745. package/esm/resources/Treasury/Transactions.js +1 -1
  746. package/esm/resources/Treasury/Transactions.js.map +1 -1
  747. package/esm/resources/Treasury/index.d.ts +33 -33
  748. package/esm/resources/V2/Billing/index.d.ts +6 -45
  749. package/esm/resources/V2/Billing/index.js +0 -8
  750. package/esm/resources/V2/Billing/index.js.map +1 -1
  751. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  752. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
  753. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
  754. package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
  755. package/esm/resources/V2/Core/AccountTokens.d.ts +32 -14
  756. package/esm/resources/V2/Core/AccountTokens.js +6 -2
  757. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  758. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  759. package/esm/resources/V2/Core/Accounts/PersonTokens.js +3 -3
  760. package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  761. package/esm/resources/V2/Core/Accounts/Persons.d.ts +3 -3
  762. package/esm/resources/V2/Core/Accounts/Persons.js +7 -7
  763. package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
  764. package/esm/resources/V2/Core/Accounts.d.ts +233 -1171
  765. package/esm/resources/V2/Core/Accounts.js +4 -4
  766. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  767. package/esm/resources/V2/Core/EventDestinations.d.ts +2 -2
  768. package/esm/resources/V2/Core/EventDestinations.js +6 -6
  769. package/esm/resources/V2/Core/EventDestinations.js.map +1 -1
  770. package/esm/resources/V2/Core/Events.d.ts +8 -1126
  771. package/esm/resources/V2/Core/Events.js +3 -2
  772. package/esm/resources/V2/Core/Events.js.map +1 -1
  773. package/esm/resources/V2/Core/index.d.ts +19 -29
  774. package/esm/resources/V2/Core/index.js +0 -4
  775. package/esm/resources/V2/Core/index.js.map +1 -1
  776. package/esm/resources/V2/index.d.ts +0 -27
  777. package/esm/resources/V2/index.js +0 -14
  778. package/esm/resources/V2/index.js.map +1 -1
  779. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  780. package/esm/resources/WebhookEndpoints.js +3 -3
  781. package/esm/resources/WebhookEndpoints.js.map +1 -1
  782. package/esm/resources.d.ts +0 -10
  783. package/esm/resources.js +0 -131
  784. package/esm/resources.js.map +1 -1
  785. package/esm/stripe.core.d.ts +30 -69
  786. package/esm/stripe.core.js +20 -32
  787. package/esm/stripe.core.js.map +1 -1
  788. package/esm/stripe.esm.node.d.ts +29 -70
  789. package/esm/stripe.esm.node.js +15 -32
  790. package/esm/stripe.esm.node.js.map +1 -1
  791. package/esm/utils.d.ts +1 -3
  792. package/esm/utils.js +13 -15
  793. package/esm/utils.js.map +1 -1
  794. package/package.json +1 -1
  795. package/cjs/StripeEventNotificationHandler.d.ts +0 -22
  796. package/cjs/StripeEventNotificationHandler.js +0 -147
  797. package/cjs/StripeEventNotificationHandler.js.map +0 -1
  798. package/cjs/resources/AccountNotices.d.ts +0 -140
  799. package/cjs/resources/AccountNotices.js +0 -29
  800. package/cjs/resources/AccountNotices.js.map +0 -1
  801. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  802. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  803. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  804. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  805. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  806. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  807. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  808. package/cjs/resources/Billing/Analytics/index.js +0 -13
  809. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  810. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
  811. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  812. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  813. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
  814. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  815. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  816. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
  817. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  818. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  819. package/cjs/resources/Capital/index.d.ts +0 -25
  820. package/cjs/resources/Capital/index.js +0 -17
  821. package/cjs/resources/Capital/index.js.map +0 -1
  822. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  823. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  824. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  825. package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
  826. package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
  827. package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
  828. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
  829. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  830. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  831. package/cjs/resources/FxQuotes.d.ts +0 -212
  832. package/cjs/resources/FxQuotes.js +0 -29
  833. package/cjs/resources/FxQuotes.js.map +0 -1
  834. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  835. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
  836. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  837. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  838. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  839. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  840. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  841. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  842. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  843. package/cjs/resources/Issuing/Settlements.d.ts +0 -85
  844. package/cjs/resources/Issuing/Settlements.js +0 -4
  845. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  846. package/cjs/resources/Margins.d.ts +0 -115
  847. package/cjs/resources/Margins.js +0 -35
  848. package/cjs/resources/Margins.js.map +0 -1
  849. package/cjs/resources/Orders.d.ts +0 -4693
  850. package/cjs/resources/Orders.js +0 -457
  851. package/cjs/resources/Orders.js.map +0 -1
  852. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  853. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  854. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  855. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
  856. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  857. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  858. package/cjs/resources/Privacy/index.d.ts +0 -22
  859. package/cjs/resources/Privacy/index.js +0 -13
  860. package/cjs/resources/Privacy/index.js.map +0 -1
  861. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  862. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
  863. package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
  864. package/cjs/resources/ProductCatalog/index.d.ts +0 -12
  865. package/cjs/resources/ProductCatalog/index.js +0 -13
  866. package/cjs/resources/ProductCatalog/index.js.map +0 -1
  867. package/cjs/resources/QuoteLines.d.ts +0 -507
  868. package/cjs/resources/QuoteLines.js +0 -4
  869. package/cjs/resources/QuoteLines.js.map +0 -1
  870. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1116
  871. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  872. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  873. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
  874. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  875. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  876. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
  877. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  878. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  879. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  880. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  881. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  882. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  883. package/cjs/resources/SharedPayment/index.js +0 -15
  884. package/cjs/resources/SharedPayment/index.js.map +0 -1
  885. package/cjs/resources/Tax/Forms.d.ts +0 -230
  886. package/cjs/resources/Tax/Forms.js +0 -32
  887. package/cjs/resources/Tax/Forms.js.map +0 -1
  888. package/cjs/resources/Tax/Locations.d.ts +0 -108
  889. package/cjs/resources/Tax/Locations.js +0 -33
  890. package/cjs/resources/Tax/Locations.js.map +0 -1
  891. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  892. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  893. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  894. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  895. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  896. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  897. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  898. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  899. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  900. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  901. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  902. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  903. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  904. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  905. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  906. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
  907. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  908. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  909. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -951
  910. package/cjs/resources/V2/Billing/Cadences.js +0 -198
  911. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  912. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  913. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  914. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  915. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  916. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  917. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  918. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  919. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  920. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  921. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
  922. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  923. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  924. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
  925. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  926. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  927. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  928. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  929. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  930. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  931. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
  932. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  933. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  934. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  935. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  936. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  937. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  938. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  939. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  940. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  941. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  942. package/cjs/resources/V2/Data/index.d.ts +0 -10
  943. package/cjs/resources/V2/Data/index.js +0 -13
  944. package/cjs/resources/V2/Data/index.js.map +0 -1
  945. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  946. package/cjs/resources/V2/EventMisc.js +0 -2
  947. package/cjs/resources/V2/EventMisc.js.map +0 -1
  948. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  949. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  950. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  951. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
  952. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  953. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  954. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  955. package/cjs/resources/V2/Extend/index.js +0 -15
  956. package/cjs/resources/V2/Extend/index.js.map +0 -1
  957. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  958. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  959. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  960. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  961. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  962. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  963. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -204
  964. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -17
  965. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  966. package/cjs/resources/V2/Iam/index.d.ts +0 -12
  967. package/cjs/resources/V2/Iam/index.js +0 -13
  968. package/cjs/resources/V2/Iam/index.js.map +0 -1
  969. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  970. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  971. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  972. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  973. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
  974. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  975. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  976. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  977. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  978. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  979. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  980. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  981. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  982. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  983. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  984. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  985. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  986. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  987. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
  988. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  989. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  990. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  991. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  992. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  993. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  994. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
  995. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  996. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  997. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  998. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  999. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
  1000. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  1001. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1002. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  1003. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  1004. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1005. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  1006. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  1007. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1008. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  1009. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
  1010. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1011. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
  1012. package/cjs/resources/V2/MoneyManagement/index.js +0 -39
  1013. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  1014. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  1015. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  1016. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1017. package/cjs/resources/V2/Network/index.d.ts +0 -13
  1018. package/cjs/resources/V2/Network/index.js +0 -13
  1019. package/cjs/resources/V2/Network/index.js.map +0 -1
  1020. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  1021. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  1022. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1023. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1024. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  1025. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1026. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  1027. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  1028. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1029. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
  1030. package/cjs/resources/V2/TestHelpers/index.js +0 -13
  1031. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  1032. package/esm/StripeEventNotificationHandler.d.ts +0 -22
  1033. package/esm/StripeEventNotificationHandler.js +0 -143
  1034. package/esm/StripeEventNotificationHandler.js.map +0 -1
  1035. package/esm/resources/AccountNotices.d.ts +0 -140
  1036. package/esm/resources/AccountNotices.js +0 -25
  1037. package/esm/resources/AccountNotices.js.map +0 -1
  1038. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  1039. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  1040. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  1041. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  1042. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  1043. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  1044. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  1045. package/esm/resources/Billing/Analytics/index.js +0 -9
  1046. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  1047. package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
  1048. package/esm/resources/Capital/FinancingOffers.js +0 -26
  1049. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  1050. package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
  1051. package/esm/resources/Capital/FinancingSummary.js +0 -11
  1052. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  1053. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
  1054. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  1055. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  1056. package/esm/resources/Capital/index.d.ts +0 -25
  1057. package/esm/resources/Capital/index.js +0 -13
  1058. package/esm/resources/Capital/index.js.map +0 -1
  1059. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  1060. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  1061. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  1062. package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
  1063. package/esm/resources/FinancialConnections/Authorizations.js +0 -11
  1064. package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
  1065. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
  1066. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  1067. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  1068. package/esm/resources/FxQuotes.d.ts +0 -212
  1069. package/esm/resources/FxQuotes.js +0 -25
  1070. package/esm/resources/FxQuotes.js.map +0 -1
  1071. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  1072. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
  1073. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  1074. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  1075. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  1076. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  1077. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  1078. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  1079. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  1080. package/esm/resources/Issuing/Settlements.d.ts +0 -85
  1081. package/esm/resources/Issuing/Settlements.js +0 -3
  1082. package/esm/resources/Issuing/Settlements.js.map +0 -1
  1083. package/esm/resources/Margins.d.ts +0 -115
  1084. package/esm/resources/Margins.js +0 -31
  1085. package/esm/resources/Margins.js.map +0 -1
  1086. package/esm/resources/Orders.d.ts +0 -4693
  1087. package/esm/resources/Orders.js +0 -453
  1088. package/esm/resources/Orders.js.map +0 -1
  1089. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  1090. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  1091. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  1092. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
  1093. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  1094. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  1095. package/esm/resources/Privacy/index.d.ts +0 -22
  1096. package/esm/resources/Privacy/index.js +0 -9
  1097. package/esm/resources/Privacy/index.js.map +0 -1
  1098. package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  1099. package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
  1100. package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
  1101. package/esm/resources/ProductCatalog/index.d.ts +0 -12
  1102. package/esm/resources/ProductCatalog/index.js +0 -9
  1103. package/esm/resources/ProductCatalog/index.js.map +0 -1
  1104. package/esm/resources/QuoteLines.d.ts +0 -507
  1105. package/esm/resources/QuoteLines.js +0 -3
  1106. package/esm/resources/QuoteLines.js.map +0 -1
  1107. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1116
  1108. package/esm/resources/QuotePreviewInvoices.js +0 -3
  1109. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  1110. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
  1111. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  1112. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  1113. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
  1114. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  1115. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  1116. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  1117. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  1118. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  1119. package/esm/resources/SharedPayment/index.d.ts +0 -19
  1120. package/esm/resources/SharedPayment/index.js +0 -11
  1121. package/esm/resources/SharedPayment/index.js.map +0 -1
  1122. package/esm/resources/Tax/Forms.d.ts +0 -230
  1123. package/esm/resources/Tax/Forms.js +0 -28
  1124. package/esm/resources/Tax/Forms.js.map +0 -1
  1125. package/esm/resources/Tax/Locations.d.ts +0 -108
  1126. package/esm/resources/Tax/Locations.js +0 -29
  1127. package/esm/resources/Tax/Locations.js.map +0 -1
  1128. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  1129. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  1130. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  1131. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  1132. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  1133. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  1134. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  1135. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  1136. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  1137. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  1138. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  1139. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  1140. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  1141. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  1142. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  1143. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
  1144. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  1145. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  1146. package/esm/resources/V2/Billing/Cadences.d.ts +0 -951
  1147. package/esm/resources/V2/Billing/Cadences.js +0 -194
  1148. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  1149. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  1150. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  1151. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  1152. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  1153. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  1154. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  1155. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  1156. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  1157. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  1158. package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
  1159. package/esm/resources/V2/Billing/Profiles.js +0 -31
  1160. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  1161. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
  1162. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  1163. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  1164. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  1165. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  1166. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  1167. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  1168. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
  1169. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  1170. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  1171. package/esm/resources/V2/Core/Vault/index.js +0 -11
  1172. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  1173. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  1174. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  1175. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  1176. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  1177. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  1178. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  1179. package/esm/resources/V2/Data/index.d.ts +0 -10
  1180. package/esm/resources/V2/Data/index.js +0 -9
  1181. package/esm/resources/V2/Data/index.js.map +0 -1
  1182. package/esm/resources/V2/EventMisc.d.ts +0 -0
  1183. package/esm/resources/V2/EventMisc.js +0 -2
  1184. package/esm/resources/V2/EventMisc.js.map +0 -1
  1185. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  1186. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  1187. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  1188. package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
  1189. package/esm/resources/V2/Extend/Workflows.js +0 -26
  1190. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  1191. package/esm/resources/V2/Extend/index.d.ts +0 -20
  1192. package/esm/resources/V2/Extend/index.js +0 -11
  1193. package/esm/resources/V2/Extend/index.js.map +0 -1
  1194. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  1195. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  1196. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  1197. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  1198. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  1199. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  1200. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -204
  1201. package/esm/resources/V2/Iam/ActivityLogs.js +0 -13
  1202. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  1203. package/esm/resources/V2/Iam/index.d.ts +0 -12
  1204. package/esm/resources/V2/Iam/index.js +0 -9
  1205. package/esm/resources/V2/Iam/index.js.map +0 -1
  1206. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  1207. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  1208. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  1209. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  1210. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
  1211. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  1212. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  1213. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  1214. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  1215. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  1216. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  1217. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  1218. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  1219. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  1220. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  1221. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  1222. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  1223. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1224. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
  1225. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  1226. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1227. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  1228. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  1229. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1230. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  1231. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
  1232. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1233. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  1234. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  1235. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1236. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
  1237. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  1238. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1239. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  1240. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  1241. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1242. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  1243. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  1244. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1245. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  1246. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
  1247. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1248. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
  1249. package/esm/resources/V2/MoneyManagement/index.js +0 -35
  1250. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  1251. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  1252. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  1253. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1254. package/esm/resources/V2/Network/index.d.ts +0 -13
  1255. package/esm/resources/V2/Network/index.js +0 -9
  1256. package/esm/resources/V2/Network/index.js.map +0 -1
  1257. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  1258. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  1259. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1260. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1261. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  1262. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1263. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  1264. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  1265. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1266. package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
  1267. package/esm/resources/V2/TestHelpers/index.js +0 -9
  1268. package/esm/resources/V2/TestHelpers/index.js.map +0 -1
@@ -1,640 +0,0 @@
1
- import { StripeResource } from '../../StripeResource.js';
2
- import { PaginationParams, MetadataParam, Metadata } from '../../shared.js';
3
- import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
4
- export declare class CreditUnderwritingRecordResource extends StripeResource {
5
- /**
6
- * Retrieves a list of CreditUnderwritingRecord objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first.
7
- */
8
- list(params?: Issuing.CreditUnderwritingRecordListParams, options?: RequestOptions): ApiListPromise<CreditUnderwritingRecord>;
9
- /**
10
- * Retrieves a CreditUnderwritingRecord object.
11
- */
12
- retrieve(id: string, params?: Issuing.CreditUnderwritingRecordRetrieveParams, options?: RequestOptions): Promise<Response<CreditUnderwritingRecord>>;
13
- /**
14
- * Update a CreditUnderwritingRecord object to correct mistakes.
15
- */
16
- correct(id: string, params?: Issuing.CreditUnderwritingRecordCorrectParams, options?: RequestOptions): Promise<Response<CreditUnderwritingRecord>>;
17
- /**
18
- * Update a CreditUnderwritingRecord object from a decision made on a credit application.
19
- */
20
- reportDecision(id: string, params: Issuing.CreditUnderwritingRecordReportDecisionParams, options?: RequestOptions): Promise<Response<CreditUnderwritingRecord>>;
21
- /**
22
- * Creates a CreditUnderwritingRecord object with information about a credit application submission.
23
- */
24
- createFromApplication(params: Issuing.CreditUnderwritingRecordCreateFromApplicationParams, options?: RequestOptions): Promise<Response<CreditUnderwritingRecord>>;
25
- /**
26
- * Creates a CreditUnderwritingRecord object from an underwriting decision coming from a proactive review of an existing accountholder.
27
- */
28
- createFromProactiveReview(params: Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams, options?: RequestOptions): Promise<Response<CreditUnderwritingRecord>>;
29
- }
30
- export interface CreditUnderwritingRecord {
31
- /**
32
- * Unique identifier for the object.
33
- */
34
- id: string;
35
- /**
36
- * String representing the object's type. Objects of the same type share the same value.
37
- */
38
- object: 'issuing.credit_underwriting_record';
39
- /**
40
- * For decisions triggered by an application, details about the submission.
41
- */
42
- application: Issuing.CreditUnderwritingRecord.Application | null;
43
- /**
44
- * Time at which the object was created. Measured in seconds since the Unix epoch.
45
- */
46
- created: number;
47
- /**
48
- * The event that triggered the underwriting.
49
- */
50
- created_from: Issuing.CreditUnderwritingRecord.CreatedFrom;
51
- credit_user: Issuing.CreditUnderwritingRecord.CreditUser;
52
- /**
53
- * Date when a decision was made.
54
- */
55
- decided_at: number | null;
56
- /**
57
- * Details about the decision.
58
- */
59
- decision: Issuing.CreditUnderwritingRecord.Decision | null;
60
- /**
61
- * For underwriting initiated by an application, a decision must be taken 30 days after the submission.
62
- */
63
- decision_deadline: number | null;
64
- /**
65
- * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
66
- */
67
- livemode: boolean;
68
- /**
69
- * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
70
- */
71
- metadata: Metadata | null;
72
- /**
73
- * File containing regulatory reporting data for the decision. Required if you are subject to this [reporting requirement](https://docs.stripe.com/issuing/credit/report-required-regulatory-data-for-credit-decisions).
74
- */
75
- regulatory_reporting_file: string | null;
76
- /**
77
- * If an exception to the usual underwriting criteria was made for this application, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance.
78
- */
79
- underwriting_exception: Issuing.CreditUnderwritingRecord.UnderwritingException | null;
80
- }
81
- export declare namespace Issuing {
82
- namespace CreditUnderwritingRecord {
83
- interface Application {
84
- /**
85
- * The channel through which the applicant has submitted their application.
86
- */
87
- application_method: Application.ApplicationMethod;
88
- /**
89
- * Scope of demand made by the applicant.
90
- */
91
- purpose: Application.Purpose;
92
- /**
93
- * Date when the applicant submitted their application.
94
- */
95
- submitted_at: number;
96
- }
97
- type CreatedFrom = 'application' | 'proactive_review';
98
- interface CreditUser {
99
- /**
100
- * Email of the applicant or accountholder.
101
- */
102
- email: string;
103
- /**
104
- * Full name of the company or person.
105
- */
106
- name: string;
107
- }
108
- interface Decision {
109
- /**
110
- * Details about a decision application_rejected.
111
- */
112
- application_rejected: Decision.ApplicationRejected | null;
113
- /**
114
- * Details about a decision credit_limit_approved.
115
- */
116
- credit_limit_approved: Decision.CreditLimitApproved | null;
117
- /**
118
- * Details about a decision credit_limit_decreased.
119
- */
120
- credit_limit_decreased: Decision.CreditLimitDecreased | null;
121
- /**
122
- * Details about a decision credit_line_closed.
123
- */
124
- credit_line_closed: Decision.CreditLineClosed | null;
125
- /**
126
- * Outcome of the decision.
127
- */
128
- type: Decision.Type;
129
- }
130
- interface UnderwritingException {
131
- /**
132
- * Written explanation for the exception.
133
- */
134
- explanation: string;
135
- /**
136
- * The decision before the exception was applied.
137
- */
138
- original_decision_type: UnderwritingException.OriginalDecisionType;
139
- }
140
- namespace Application {
141
- type ApplicationMethod = 'in_person' | 'mail' | 'online' | 'phone';
142
- type Purpose = 'credit_limit_increase' | 'credit_line_opening';
143
- }
144
- namespace Decision {
145
- interface ApplicationRejected {
146
- /**
147
- * Details about the `reasons.other` when present.
148
- */
149
- reason_other_explanation: string | null;
150
- /**
151
- * List of reasons why the application was rejected up to 4 reasons, in order of importance.
152
- */
153
- reasons: Array<ApplicationRejected.Reason>;
154
- }
155
- interface CreditLimitApproved {
156
- /**
157
- * Credit amount approved. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://docs.stripe.com/api/issuing/credit_policy).
158
- */
159
- amount: number;
160
- /**
161
- * 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).
162
- */
163
- currency: string;
164
- }
165
- interface CreditLimitDecreased {
166
- /**
167
- * Credit amount approved after decrease. An approved credit limit is required before you can set a amount in the [CreditPolicy API](https://docs.stripe.com/api/issuing/credit_policy).
168
- */
169
- amount: number;
170
- /**
171
- * 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).
172
- */
173
- currency: string;
174
- /**
175
- * Details about the `reasons.other` when present.
176
- */
177
- reason_other_explanation: string | null;
178
- /**
179
- * List of reasons why the existing credit was decreased, up to 4 reasons, in order of importance.
180
- */
181
- reasons: Array<CreditLimitDecreased.Reason>;
182
- }
183
- interface CreditLineClosed {
184
- /**
185
- * Details about the `reasons.other` when present.
186
- */
187
- reason_other_explanation: string | null;
188
- /**
189
- * List of reasons why the existing account was closed, up to 4 reasons, in order of importance.
190
- */
191
- reasons: Array<CreditLineClosed.Reason>;
192
- }
193
- type Type = 'additional_information_requested' | 'application_rejected' | 'credit_limit_approved' | 'credit_limit_decreased' | 'credit_line_closed' | 'no_changes' | 'withdrawn_by_applicant';
194
- namespace ApplicationRejected {
195
- type Reason = 'applicant_is_not_beneficial_owner' | 'applicant_too_young' | 'application_is_not_beneficial_owner' | 'bankruptcy' | 'business_size_too_small' | 'current_account_tier_ineligible' | 'customer_already_exists' | 'customer_requested_account_closure' | 'debt_to_cash_balance_ratio_too_high' | 'debt_to_equity_ratio_too_high' | 'delinquent_credit_obligations' | 'dispute_rate_too_high' | 'duration_of_residence' | 'excessive_income_or_revenue_obligations' | 'expenses_to_cash_balance_ratio_too_high' | 'foreclosure_or_repossession' | 'frozen_file_at_credit_bureau' | 'garnishment_or_attachment' | 'government_loan_program_criteria' | 'high_concentration_of_clients' | 'high_risk_industry' | 'incomplete_application' | 'inconsistent_monthly_revenues' | 'insufficient_account_history_with_platform' | 'insufficient_bank_account_history' | 'insufficient_cash_balance' | 'insufficient_cash_flow' | 'insufficient_collateral' | 'insufficient_credit_experience' | 'insufficient_deposits' | 'insufficient_income' | 'insufficient_margin_ratio' | 'insufficient_operating_profit' | 'insufficient_period_in_operation' | 'insufficient_reserves' | 'insufficient_revenue' | 'insufficient_social_media_performance' | 'insufficient_time_in_network' | 'insufficient_trade_credit_insurance' | 'invalid_business_license' | 'lacking_cash_account' | 'late_payment_history_reported_to_bureau' | 'lien_collection_action_or_judgement' | 'negative_public_information' | 'no_credit_file' | 'other' | 'outside_supported_country' | 'outside_supported_state' | 'poor_payment_history_with_platform' | 'prior_or_current_legal_action' | 'prohibited_industry' | 'rate_of_cash_balance_fluctuation_too_high' | 'recent_inquiries_on_business_credit_report' | 'removal_of_bank_account_connection' | 'revenue_discrepancy' | 'runway_too_short' | 'suspected_fraud' | 'too_many_non_sufficient_funds_or_overdrafts' | 'unable_to_verify_address' | 'unable_to_verify_identity' | 'unable_to_verify_income_or_revenue' | 'unprofitable' | 'unsupportable_business_type';
196
- }
197
- namespace CreditLimitDecreased {
198
- type Reason = 'applicant_is_not_beneficial_owner' | 'applicant_too_young' | 'application_is_not_beneficial_owner' | 'bankruptcy' | 'business_size_too_small' | 'change_in_financial_state' | 'change_in_utilization_of_credit_line' | 'current_account_tier_ineligible' | 'customer_already_exists' | 'customer_requested_account_closure' | 'debt_to_cash_balance_ratio_too_high' | 'debt_to_equity_ratio_too_high' | 'decrease_in_income_to_expense_ratio' | 'decrease_in_social_media_performance' | 'delinquent_credit_obligations' | 'dispute_rate_too_high' | 'duration_of_residence' | 'exceeds_acceptable_platform_exposure' | 'excessive_income_or_revenue_obligations' | 'expenses_to_cash_balance_ratio_too_high' | 'foreclosure_or_repossession' | 'frozen_file_at_credit_bureau' | 'garnishment_or_attachment' | 'government_loan_program_criteria' | 'has_recent_credit_limit_increase' | 'high_concentration_of_clients' | 'high_risk_industry' | 'incomplete_application' | 'inconsistent_monthly_revenues' | 'insufficient_account_history_with_platform' | 'insufficient_bank_account_history' | 'insufficient_cash_balance' | 'insufficient_cash_flow' | 'insufficient_collateral' | 'insufficient_credit_experience' | 'insufficient_credit_utilization' | 'insufficient_deposits' | 'insufficient_income' | 'insufficient_margin_ratio' | 'insufficient_operating_profit' | 'insufficient_period_in_operation' | 'insufficient_reserves' | 'insufficient_revenue' | 'insufficient_social_media_performance' | 'insufficient_time_in_network' | 'insufficient_trade_credit_insurance' | 'insufficient_usage_as_qualified_expenses' | 'invalid_business_license' | 'lacking_cash_account' | 'late_payment_history_reported_to_bureau' | 'lien_collection_action_or_judgement' | 'negative_public_information' | 'no_credit_file' | 'other' | 'outside_supported_country' | 'outside_supported_state' | 'poor_payment_history_with_platform' | 'prior_or_current_legal_action' | 'prohibited_industry' | 'rate_of_cash_balance_fluctuation_too_high' | 'recent_inquiries_on_business_credit_report' | 'removal_of_bank_account_connection' | 'revenue_discrepancy' | 'runway_too_short' | 'suspected_fraud' | 'too_many_non_sufficient_funds_or_overdrafts' | 'unable_to_verify_address' | 'unable_to_verify_identity' | 'unable_to_verify_income_or_revenue' | 'unprofitable' | 'unsupportable_business_type';
199
- }
200
- namespace CreditLineClosed {
201
- type Reason = 'applicant_is_not_beneficial_owner' | 'applicant_too_young' | 'application_is_not_beneficial_owner' | 'bankruptcy' | 'business_size_too_small' | 'change_in_financial_state' | 'change_in_utilization_of_credit_line' | 'current_account_tier_ineligible' | 'customer_already_exists' | 'customer_requested_account_closure' | 'debt_to_cash_balance_ratio_too_high' | 'debt_to_equity_ratio_too_high' | 'decrease_in_income_to_expense_ratio' | 'decrease_in_social_media_performance' | 'delinquent_credit_obligations' | 'dispute_rate_too_high' | 'duration_of_residence' | 'exceeds_acceptable_platform_exposure' | 'excessive_income_or_revenue_obligations' | 'expenses_to_cash_balance_ratio_too_high' | 'foreclosure_or_repossession' | 'frozen_file_at_credit_bureau' | 'garnishment_or_attachment' | 'government_loan_program_criteria' | 'has_recent_credit_limit_increase' | 'high_concentration_of_clients' | 'high_risk_industry' | 'incomplete_application' | 'inconsistent_monthly_revenues' | 'insufficient_account_history_with_platform' | 'insufficient_bank_account_history' | 'insufficient_cash_balance' | 'insufficient_cash_flow' | 'insufficient_collateral' | 'insufficient_credit_experience' | 'insufficient_credit_utilization' | 'insufficient_deposits' | 'insufficient_income' | 'insufficient_margin_ratio' | 'insufficient_operating_profit' | 'insufficient_period_in_operation' | 'insufficient_reserves' | 'insufficient_revenue' | 'insufficient_social_media_performance' | 'insufficient_time_in_network' | 'insufficient_trade_credit_insurance' | 'insufficient_usage_as_qualified_expenses' | 'invalid_business_license' | 'lacking_cash_account' | 'late_payment_history_reported_to_bureau' | 'lien_collection_action_or_judgement' | 'negative_public_information' | 'no_credit_file' | 'other' | 'outside_supported_country' | 'outside_supported_state' | 'poor_payment_history_with_platform' | 'prior_or_current_legal_action' | 'prohibited_industry' | 'rate_of_cash_balance_fluctuation_too_high' | 'recent_inquiries_on_business_credit_report' | 'removal_of_bank_account_connection' | 'revenue_discrepancy' | 'runway_too_short' | 'suspected_fraud' | 'too_many_non_sufficient_funds_or_overdrafts' | 'unable_to_verify_address' | 'unable_to_verify_identity' | 'unable_to_verify_income_or_revenue' | 'unprofitable' | 'unsupportable_business_type';
202
- }
203
- }
204
- namespace UnderwritingException {
205
- type OriginalDecisionType = 'additional_information_requested' | 'application_rejected' | 'credit_limit_approved' | 'credit_limit_decreased' | 'credit_line_closed' | 'no_changes' | 'withdrawn_by_applicant';
206
- }
207
- }
208
- }
209
- export declare namespace Issuing {
210
- interface CreditUnderwritingRecordRetrieveParams {
211
- /**
212
- * Specifies which fields in the response should be expanded.
213
- */
214
- expand?: Array<string>;
215
- }
216
- }
217
- export declare namespace Issuing {
218
- interface CreditUnderwritingRecordListParams extends PaginationParams {
219
- /**
220
- * Specifies which fields in the response should be expanded.
221
- */
222
- expand?: Array<string>;
223
- }
224
- }
225
- export declare namespace Issuing {
226
- interface CreditUnderwritingRecordCorrectParams {
227
- /**
228
- * Details about the application submission.
229
- */
230
- application?: CreditUnderwritingRecordCorrectParams.Application;
231
- /**
232
- * Information about the company or person applying or holding the account.
233
- */
234
- credit_user?: CreditUnderwritingRecordCorrectParams.CreditUser;
235
- /**
236
- * Date when a decision was made.
237
- */
238
- decided_at?: number;
239
- /**
240
- * Details about the decision.
241
- */
242
- decision?: CreditUnderwritingRecordCorrectParams.Decision;
243
- /**
244
- * Specifies which fields in the response should be expanded.
245
- */
246
- expand?: Array<string>;
247
- /**
248
- * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
249
- */
250
- metadata?: MetadataParam;
251
- /**
252
- * File containing regulatory reporting data for the decision. Required if you are subject to this [reporting requirement](https://docs.stripe.com/issuing/credit/report-required-regulatory-data-for-credit-decisions). Optional if previously provided and no changes are needed.
253
- */
254
- regulatory_reporting_file?: string;
255
- /**
256
- * If an exception to the usual underwriting criteria was made for this decision, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance.
257
- */
258
- underwriting_exception?: CreditUnderwritingRecordCorrectParams.UnderwritingException;
259
- }
260
- namespace CreditUnderwritingRecordCorrectParams {
261
- interface Application {
262
- /**
263
- * The channel through which the applicant has submitted their application. Defaults to `online`.
264
- */
265
- application_method?: Application.ApplicationMethod;
266
- /**
267
- * Scope of demand made by the applicant.
268
- */
269
- purpose: Application.Purpose;
270
- /**
271
- * Date when the applicant submitted their application.
272
- */
273
- submitted_at: number;
274
- }
275
- interface CreditUser {
276
- /**
277
- * Email of the applicant or accountholder.
278
- */
279
- email: string;
280
- /**
281
- * Full name of the company or person.
282
- */
283
- name: string;
284
- }
285
- interface Decision {
286
- /**
287
- * Details about the application rejection.
288
- */
289
- application_rejected?: Decision.ApplicationRejected;
290
- /**
291
- * Details about the credit limit approved. An approved credit limit is required before you can set a `credit_limit_amount` in the [CreditPolicy API](https://docs.stripe.com/api/issuing/credit_policy/)
292
- */
293
- credit_limit_approved?: Decision.CreditLimitApproved;
294
- /**
295
- * Details about the credit limit decreased.
296
- */
297
- credit_limit_decreased?: Decision.CreditLimitDecreased;
298
- /**
299
- * Details about the credit line closed.
300
- */
301
- credit_line_closed?: Decision.CreditLineClosed;
302
- /**
303
- * Outcome of the decision.
304
- */
305
- type: Decision.Type;
306
- }
307
- interface UnderwritingException {
308
- /**
309
- * Written explanation for the exception.
310
- */
311
- explanation: string;
312
- /**
313
- * The decision before the exception was applied.
314
- */
315
- original_decision_type: UnderwritingException.OriginalDecisionType;
316
- }
317
- namespace Application {
318
- type ApplicationMethod = 'in_person' | 'mail' | 'online' | 'phone';
319
- type Purpose = 'credit_limit_increase' | 'credit_line_opening';
320
- }
321
- namespace Decision {
322
- interface ApplicationRejected {
323
- /**
324
- * Details about the `reasons.other` when present.
325
- */
326
- reason_other_explanation?: string;
327
- /**
328
- * List of reasons why the application was rejected, up to 4 reasons, in order of importance.
329
- */
330
- reasons: Array<ApplicationRejected.Reason>;
331
- }
332
- interface CreditLimitApproved {
333
- /**
334
- * The credit approved, in the currency of the account and [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
335
- */
336
- amount: number;
337
- /**
338
- * The currency of the credit approved, will default to the Account's Issuing currency.
339
- */
340
- currency?: string;
341
- }
342
- interface CreditLimitDecreased {
343
- /**
344
- * The credit approved, in the currency of the account and [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
345
- */
346
- amount: number;
347
- /**
348
- * The currency of the credit approved, will default to the Account's Issuing currency.
349
- */
350
- currency?: string;
351
- /**
352
- * Details about the `reasons.other` when present.
353
- */
354
- reason_other_explanation?: string;
355
- /**
356
- * List of reasons why the existing credit was decreased, up to 4 reasons, in order of importance.
357
- */
358
- reasons: Array<CreditLimitDecreased.Reason>;
359
- }
360
- interface CreditLineClosed {
361
- /**
362
- * Details about the `reasons.other` when present.
363
- */
364
- reason_other_explanation?: string;
365
- /**
366
- * List of reasons why the credit line was closed, up to 4 reasons, in order of importance.
367
- */
368
- reasons: Array<CreditLineClosed.Reason>;
369
- }
370
- type Type = 'additional_information_requested' | 'application_rejected' | 'credit_limit_approved' | 'credit_limit_decreased' | 'credit_line_closed' | 'no_changes' | 'withdrawn_by_applicant';
371
- namespace ApplicationRejected {
372
- type Reason = 'applicant_is_not_beneficial_owner' | 'applicant_too_young' | 'application_is_not_beneficial_owner' | 'bankruptcy' | 'business_size_too_small' | 'current_account_tier_ineligible' | 'customer_already_exists' | 'customer_requested_account_closure' | 'debt_to_cash_balance_ratio_too_high' | 'debt_to_equity_ratio_too_high' | 'delinquent_credit_obligations' | 'dispute_rate_too_high' | 'duration_of_residence' | 'excessive_income_or_revenue_obligations' | 'expenses_to_cash_balance_ratio_too_high' | 'foreclosure_or_repossession' | 'frozen_file_at_credit_bureau' | 'garnishment_or_attachment' | 'government_loan_program_criteria' | 'high_concentration_of_clients' | 'high_risk_industry' | 'incomplete_application' | 'inconsistent_monthly_revenues' | 'insufficient_account_history_with_platform' | 'insufficient_bank_account_history' | 'insufficient_cash_balance' | 'insufficient_cash_flow' | 'insufficient_collateral' | 'insufficient_credit_experience' | 'insufficient_deposits' | 'insufficient_income' | 'insufficient_margin_ratio' | 'insufficient_operating_profit' | 'insufficient_period_in_operation' | 'insufficient_reserves' | 'insufficient_revenue' | 'insufficient_social_media_performance' | 'insufficient_time_in_network' | 'insufficient_trade_credit_insurance' | 'invalid_business_license' | 'lacking_cash_account' | 'late_payment_history_reported_to_bureau' | 'lien_collection_action_or_judgement' | 'negative_public_information' | 'no_credit_file' | 'other' | 'outside_supported_country' | 'outside_supported_state' | 'poor_payment_history_with_platform' | 'prior_or_current_legal_action' | 'prohibited_industry' | 'rate_of_cash_balance_fluctuation_too_high' | 'recent_inquiries_on_business_credit_report' | 'removal_of_bank_account_connection' | 'revenue_discrepancy' | 'runway_too_short' | 'suspected_fraud' | 'too_many_non_sufficient_funds_or_overdrafts' | 'unable_to_verify_address' | 'unable_to_verify_identity' | 'unable_to_verify_income_or_revenue' | 'unprofitable' | 'unsupportable_business_type';
373
- }
374
- namespace CreditLimitDecreased {
375
- type Reason = 'applicant_is_not_beneficial_owner' | 'applicant_too_young' | 'application_is_not_beneficial_owner' | 'bankruptcy' | 'business_size_too_small' | 'change_in_financial_state' | 'change_in_utilization_of_credit_line' | 'current_account_tier_ineligible' | 'customer_already_exists' | 'customer_requested_account_closure' | 'debt_to_cash_balance_ratio_too_high' | 'debt_to_equity_ratio_too_high' | 'decrease_in_income_to_expense_ratio' | 'decrease_in_social_media_performance' | 'delinquent_credit_obligations' | 'dispute_rate_too_high' | 'duration_of_residence' | 'exceeds_acceptable_platform_exposure' | 'excessive_income_or_revenue_obligations' | 'expenses_to_cash_balance_ratio_too_high' | 'foreclosure_or_repossession' | 'frozen_file_at_credit_bureau' | 'garnishment_or_attachment' | 'government_loan_program_criteria' | 'has_recent_credit_limit_increase' | 'high_concentration_of_clients' | 'high_risk_industry' | 'incomplete_application' | 'inconsistent_monthly_revenues' | 'insufficient_account_history_with_platform' | 'insufficient_bank_account_history' | 'insufficient_cash_balance' | 'insufficient_cash_flow' | 'insufficient_collateral' | 'insufficient_credit_experience' | 'insufficient_credit_utilization' | 'insufficient_deposits' | 'insufficient_income' | 'insufficient_margin_ratio' | 'insufficient_operating_profit' | 'insufficient_period_in_operation' | 'insufficient_reserves' | 'insufficient_revenue' | 'insufficient_social_media_performance' | 'insufficient_time_in_network' | 'insufficient_trade_credit_insurance' | 'insufficient_usage_as_qualified_expenses' | 'invalid_business_license' | 'lacking_cash_account' | 'late_payment_history_reported_to_bureau' | 'lien_collection_action_or_judgement' | 'negative_public_information' | 'no_credit_file' | 'other' | 'outside_supported_country' | 'outside_supported_state' | 'poor_payment_history_with_platform' | 'prior_or_current_legal_action' | 'prohibited_industry' | 'rate_of_cash_balance_fluctuation_too_high' | 'recent_inquiries_on_business_credit_report' | 'removal_of_bank_account_connection' | 'revenue_discrepancy' | 'runway_too_short' | 'suspected_fraud' | 'too_many_non_sufficient_funds_or_overdrafts' | 'unable_to_verify_address' | 'unable_to_verify_identity' | 'unable_to_verify_income_or_revenue' | 'unprofitable' | 'unsupportable_business_type';
376
- }
377
- namespace CreditLineClosed {
378
- type Reason = 'applicant_is_not_beneficial_owner' | 'applicant_too_young' | 'application_is_not_beneficial_owner' | 'bankruptcy' | 'business_size_too_small' | 'change_in_financial_state' | 'change_in_utilization_of_credit_line' | 'current_account_tier_ineligible' | 'customer_already_exists' | 'customer_requested_account_closure' | 'debt_to_cash_balance_ratio_too_high' | 'debt_to_equity_ratio_too_high' | 'decrease_in_income_to_expense_ratio' | 'decrease_in_social_media_performance' | 'delinquent_credit_obligations' | 'dispute_rate_too_high' | 'duration_of_residence' | 'exceeds_acceptable_platform_exposure' | 'excessive_income_or_revenue_obligations' | 'expenses_to_cash_balance_ratio_too_high' | 'foreclosure_or_repossession' | 'frozen_file_at_credit_bureau' | 'garnishment_or_attachment' | 'government_loan_program_criteria' | 'has_recent_credit_limit_increase' | 'high_concentration_of_clients' | 'high_risk_industry' | 'incomplete_application' | 'inconsistent_monthly_revenues' | 'insufficient_account_history_with_platform' | 'insufficient_bank_account_history' | 'insufficient_cash_balance' | 'insufficient_cash_flow' | 'insufficient_collateral' | 'insufficient_credit_experience' | 'insufficient_credit_utilization' | 'insufficient_deposits' | 'insufficient_income' | 'insufficient_margin_ratio' | 'insufficient_operating_profit' | 'insufficient_period_in_operation' | 'insufficient_reserves' | 'insufficient_revenue' | 'insufficient_social_media_performance' | 'insufficient_time_in_network' | 'insufficient_trade_credit_insurance' | 'insufficient_usage_as_qualified_expenses' | 'invalid_business_license' | 'lacking_cash_account' | 'late_payment_history_reported_to_bureau' | 'lien_collection_action_or_judgement' | 'negative_public_information' | 'no_credit_file' | 'other' | 'outside_supported_country' | 'outside_supported_state' | 'poor_payment_history_with_platform' | 'prior_or_current_legal_action' | 'prohibited_industry' | 'rate_of_cash_balance_fluctuation_too_high' | 'recent_inquiries_on_business_credit_report' | 'removal_of_bank_account_connection' | 'revenue_discrepancy' | 'runway_too_short' | 'suspected_fraud' | 'too_many_non_sufficient_funds_or_overdrafts' | 'unable_to_verify_address' | 'unable_to_verify_identity' | 'unable_to_verify_income_or_revenue' | 'unprofitable' | 'unsupportable_business_type';
379
- }
380
- }
381
- namespace UnderwritingException {
382
- type OriginalDecisionType = 'additional_information_requested' | 'application_rejected' | 'credit_limit_approved' | 'credit_limit_decreased' | 'credit_line_closed' | 'no_changes' | 'withdrawn_by_applicant';
383
- }
384
- }
385
- }
386
- export declare namespace Issuing {
387
- interface CreditUnderwritingRecordCreateFromApplicationParams {
388
- /**
389
- * Details about the application submission.
390
- */
391
- application: CreditUnderwritingRecordCreateFromApplicationParams.Application;
392
- /**
393
- * Information about the company or person applying or holding the account.
394
- */
395
- credit_user: CreditUnderwritingRecordCreateFromApplicationParams.CreditUser;
396
- /**
397
- * Specifies which fields in the response should be expanded.
398
- */
399
- expand?: Array<string>;
400
- /**
401
- * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
402
- */
403
- metadata?: MetadataParam;
404
- }
405
- namespace CreditUnderwritingRecordCreateFromApplicationParams {
406
- interface Application {
407
- /**
408
- * The channel through which the applicant has submitted their application. Defaults to `online`.
409
- */
410
- application_method?: Application.ApplicationMethod;
411
- /**
412
- * Scope of demand made by the applicant.
413
- */
414
- purpose: Application.Purpose;
415
- /**
416
- * Date when the applicant submitted their application.
417
- */
418
- submitted_at: number;
419
- }
420
- interface CreditUser {
421
- /**
422
- * Email of the applicant or accountholder.
423
- */
424
- email: string;
425
- /**
426
- * Full name of the company or person.
427
- */
428
- name: string;
429
- }
430
- namespace Application {
431
- type ApplicationMethod = 'in_person' | 'mail' | 'online' | 'phone';
432
- type Purpose = 'credit_limit_increase' | 'credit_line_opening';
433
- }
434
- }
435
- }
436
- export declare namespace Issuing {
437
- interface CreditUnderwritingRecordCreateFromProactiveReviewParams {
438
- /**
439
- * Information about the company or person applying or holding the account.
440
- */
441
- credit_user: CreditUnderwritingRecordCreateFromProactiveReviewParams.CreditUser;
442
- /**
443
- * Date when a decision was made.
444
- */
445
- decided_at: number;
446
- /**
447
- * Details about the decision.
448
- */
449
- decision: CreditUnderwritingRecordCreateFromProactiveReviewParams.Decision;
450
- /**
451
- * Specifies which fields in the response should be expanded.
452
- */
453
- expand?: Array<string>;
454
- /**
455
- * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
456
- */
457
- metadata?: MetadataParam;
458
- /**
459
- * File containing regulatory reporting data for the decision. Required if you are subject to this [reporting requirement](https://docs.stripe.com/issuing/credit/report-required-regulatory-data-for-credit-decisions).
460
- */
461
- regulatory_reporting_file?: string;
462
- /**
463
- * If an exception to the usual underwriting criteria was made for this decision, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance.
464
- */
465
- underwriting_exception?: CreditUnderwritingRecordCreateFromProactiveReviewParams.UnderwritingException;
466
- }
467
- namespace CreditUnderwritingRecordCreateFromProactiveReviewParams {
468
- interface CreditUser {
469
- /**
470
- * Email of the applicant or accountholder.
471
- */
472
- email: string;
473
- /**
474
- * Full name of the company or person.
475
- */
476
- name: string;
477
- }
478
- interface Decision {
479
- /**
480
- * Details about the credit limit approved. An approved credit limit is required before you can set a `credit_limit_amount` in the [CreditPolicy API](https://docs.stripe.com/api/issuing/credit_policy/)
481
- */
482
- credit_limit_approved?: Decision.CreditLimitApproved;
483
- /**
484
- * Details about the credit limit decreased.
485
- */
486
- credit_limit_decreased?: Decision.CreditLimitDecreased;
487
- /**
488
- * Details about the credit line closed.
489
- */
490
- credit_line_closed?: Decision.CreditLineClosed;
491
- /**
492
- * Outcome of the decision.
493
- */
494
- type: Decision.Type;
495
- }
496
- interface UnderwritingException {
497
- /**
498
- * Written explanation for the exception.
499
- */
500
- explanation: string;
501
- /**
502
- * The decision before the exception was applied.
503
- */
504
- original_decision_type: UnderwritingException.OriginalDecisionType;
505
- }
506
- namespace Decision {
507
- interface CreditLimitApproved {
508
- /**
509
- * The credit approved, in the currency of the account and [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
510
- */
511
- amount: number;
512
- /**
513
- * The currency of the credit approved, will default to the Account's Issuing currency.
514
- */
515
- currency?: string;
516
- }
517
- interface CreditLimitDecreased {
518
- /**
519
- * The credit approved, in the currency of the account and [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
520
- */
521
- amount: number;
522
- /**
523
- * The currency of the credit approved, will default to the Account's Issuing currency.
524
- */
525
- currency?: string;
526
- /**
527
- * Details about the `reasons.other` when present.
528
- */
529
- reason_other_explanation?: string;
530
- /**
531
- * List of reasons why the existing credit was decreased, up to 4 reasons, in order of importance.
532
- */
533
- reasons: Array<CreditLimitDecreased.Reason>;
534
- }
535
- interface CreditLineClosed {
536
- /**
537
- * Details about the `reasons.other` when present.
538
- */
539
- reason_other_explanation?: string;
540
- /**
541
- * List of reasons why the credit line was closed, up to 4 reasons, in order of importance.
542
- */
543
- reasons: Array<CreditLineClosed.Reason>;
544
- }
545
- type Type = 'credit_limit_approved' | 'credit_limit_decreased' | 'credit_line_closed' | 'no_changes';
546
- namespace CreditLimitDecreased {
547
- type Reason = 'applicant_is_not_beneficial_owner' | 'applicant_too_young' | 'application_is_not_beneficial_owner' | 'bankruptcy' | 'business_size_too_small' | 'change_in_financial_state' | 'change_in_utilization_of_credit_line' | 'current_account_tier_ineligible' | 'customer_already_exists' | 'customer_requested_account_closure' | 'debt_to_cash_balance_ratio_too_high' | 'debt_to_equity_ratio_too_high' | 'decrease_in_income_to_expense_ratio' | 'decrease_in_social_media_performance' | 'delinquent_credit_obligations' | 'dispute_rate_too_high' | 'duration_of_residence' | 'exceeds_acceptable_platform_exposure' | 'excessive_income_or_revenue_obligations' | 'expenses_to_cash_balance_ratio_too_high' | 'foreclosure_or_repossession' | 'frozen_file_at_credit_bureau' | 'garnishment_or_attachment' | 'government_loan_program_criteria' | 'has_recent_credit_limit_increase' | 'high_concentration_of_clients' | 'high_risk_industry' | 'incomplete_application' | 'inconsistent_monthly_revenues' | 'insufficient_account_history_with_platform' | 'insufficient_bank_account_history' | 'insufficient_cash_balance' | 'insufficient_cash_flow' | 'insufficient_collateral' | 'insufficient_credit_experience' | 'insufficient_credit_utilization' | 'insufficient_deposits' | 'insufficient_income' | 'insufficient_margin_ratio' | 'insufficient_operating_profit' | 'insufficient_period_in_operation' | 'insufficient_reserves' | 'insufficient_revenue' | 'insufficient_social_media_performance' | 'insufficient_time_in_network' | 'insufficient_trade_credit_insurance' | 'insufficient_usage_as_qualified_expenses' | 'invalid_business_license' | 'lacking_cash_account' | 'late_payment_history_reported_to_bureau' | 'lien_collection_action_or_judgement' | 'negative_public_information' | 'no_credit_file' | 'other' | 'outside_supported_country' | 'outside_supported_state' | 'poor_payment_history_with_platform' | 'prior_or_current_legal_action' | 'prohibited_industry' | 'rate_of_cash_balance_fluctuation_too_high' | 'recent_inquiries_on_business_credit_report' | 'removal_of_bank_account_connection' | 'revenue_discrepancy' | 'runway_too_short' | 'suspected_fraud' | 'too_many_non_sufficient_funds_or_overdrafts' | 'unable_to_verify_address' | 'unable_to_verify_identity' | 'unable_to_verify_income_or_revenue' | 'unprofitable' | 'unsupportable_business_type';
548
- }
549
- namespace CreditLineClosed {
550
- type Reason = 'applicant_is_not_beneficial_owner' | 'applicant_too_young' | 'application_is_not_beneficial_owner' | 'bankruptcy' | 'business_size_too_small' | 'change_in_financial_state' | 'change_in_utilization_of_credit_line' | 'current_account_tier_ineligible' | 'customer_already_exists' | 'customer_requested_account_closure' | 'debt_to_cash_balance_ratio_too_high' | 'debt_to_equity_ratio_too_high' | 'decrease_in_income_to_expense_ratio' | 'decrease_in_social_media_performance' | 'delinquent_credit_obligations' | 'dispute_rate_too_high' | 'duration_of_residence' | 'exceeds_acceptable_platform_exposure' | 'excessive_income_or_revenue_obligations' | 'expenses_to_cash_balance_ratio_too_high' | 'foreclosure_or_repossession' | 'frozen_file_at_credit_bureau' | 'garnishment_or_attachment' | 'government_loan_program_criteria' | 'has_recent_credit_limit_increase' | 'high_concentration_of_clients' | 'high_risk_industry' | 'incomplete_application' | 'inconsistent_monthly_revenues' | 'insufficient_account_history_with_platform' | 'insufficient_bank_account_history' | 'insufficient_cash_balance' | 'insufficient_cash_flow' | 'insufficient_collateral' | 'insufficient_credit_experience' | 'insufficient_credit_utilization' | 'insufficient_deposits' | 'insufficient_income' | 'insufficient_margin_ratio' | 'insufficient_operating_profit' | 'insufficient_period_in_operation' | 'insufficient_reserves' | 'insufficient_revenue' | 'insufficient_social_media_performance' | 'insufficient_time_in_network' | 'insufficient_trade_credit_insurance' | 'insufficient_usage_as_qualified_expenses' | 'invalid_business_license' | 'lacking_cash_account' | 'late_payment_history_reported_to_bureau' | 'lien_collection_action_or_judgement' | 'negative_public_information' | 'no_credit_file' | 'other' | 'outside_supported_country' | 'outside_supported_state' | 'poor_payment_history_with_platform' | 'prior_or_current_legal_action' | 'prohibited_industry' | 'rate_of_cash_balance_fluctuation_too_high' | 'recent_inquiries_on_business_credit_report' | 'removal_of_bank_account_connection' | 'revenue_discrepancy' | 'runway_too_short' | 'suspected_fraud' | 'too_many_non_sufficient_funds_or_overdrafts' | 'unable_to_verify_address' | 'unable_to_verify_identity' | 'unable_to_verify_income_or_revenue' | 'unprofitable' | 'unsupportable_business_type';
551
- }
552
- }
553
- namespace UnderwritingException {
554
- type OriginalDecisionType = 'additional_information_requested' | 'application_rejected' | 'credit_limit_approved' | 'credit_limit_decreased' | 'credit_line_closed' | 'no_changes' | 'withdrawn_by_applicant';
555
- }
556
- }
557
- }
558
- export declare namespace Issuing {
559
- interface CreditUnderwritingRecordReportDecisionParams {
560
- /**
561
- * Date when a decision was made.
562
- */
563
- decided_at: number;
564
- /**
565
- * Details about the decision.
566
- */
567
- decision: CreditUnderwritingRecordReportDecisionParams.Decision;
568
- /**
569
- * Specifies which fields in the response should be expanded.
570
- */
571
- expand?: Array<string>;
572
- /**
573
- * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
574
- */
575
- metadata?: MetadataParam;
576
- /**
577
- * File containing regulatory reporting data for the decision. Required if you are subject to this [reporting requirement](https://docs.stripe.com/issuing/credit/report-required-regulatory-data-for-credit-decisions).
578
- */
579
- regulatory_reporting_file?: string;
580
- /**
581
- * If an exception to the usual underwriting criteria was made for this decision, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance.
582
- */
583
- underwriting_exception?: CreditUnderwritingRecordReportDecisionParams.UnderwritingException;
584
- }
585
- namespace CreditUnderwritingRecordReportDecisionParams {
586
- interface Decision {
587
- /**
588
- * Details about the application rejection.
589
- */
590
- application_rejected?: Decision.ApplicationRejected;
591
- /**
592
- * Details about the credit limit approved. An approved credit limit is required before you can set a `credit_limit_amount` in the [CreditPolicy API](https://docs.stripe.com/api/issuing/credit_policy/)
593
- */
594
- credit_limit_approved?: Decision.CreditLimitApproved;
595
- /**
596
- * Outcome of the decision.
597
- */
598
- type: Decision.Type;
599
- }
600
- interface UnderwritingException {
601
- /**
602
- * Written explanation for the exception.
603
- */
604
- explanation: string;
605
- /**
606
- * The decision before the exception was applied.
607
- */
608
- original_decision_type: UnderwritingException.OriginalDecisionType;
609
- }
610
- namespace Decision {
611
- interface ApplicationRejected {
612
- /**
613
- * Details about the `reasons.other` when present.
614
- */
615
- reason_other_explanation?: string;
616
- /**
617
- * List of reasons why the application was rejected, up to 4 reasons, in order of importance.
618
- */
619
- reasons: Array<ApplicationRejected.Reason>;
620
- }
621
- interface CreditLimitApproved {
622
- /**
623
- * The credit approved, in the currency of the account and [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
624
- */
625
- amount: number;
626
- /**
627
- * The currency of the credit approved, will default to the Account's Issuing currency.
628
- */
629
- currency?: string;
630
- }
631
- type Type = 'additional_information_requested' | 'application_rejected' | 'credit_limit_approved' | 'withdrawn_by_applicant';
632
- namespace ApplicationRejected {
633
- type Reason = 'applicant_is_not_beneficial_owner' | 'applicant_too_young' | 'application_is_not_beneficial_owner' | 'bankruptcy' | 'business_size_too_small' | 'current_account_tier_ineligible' | 'customer_already_exists' | 'customer_requested_account_closure' | 'debt_to_cash_balance_ratio_too_high' | 'debt_to_equity_ratio_too_high' | 'delinquent_credit_obligations' | 'dispute_rate_too_high' | 'duration_of_residence' | 'excessive_income_or_revenue_obligations' | 'expenses_to_cash_balance_ratio_too_high' | 'foreclosure_or_repossession' | 'frozen_file_at_credit_bureau' | 'garnishment_or_attachment' | 'government_loan_program_criteria' | 'high_concentration_of_clients' | 'high_risk_industry' | 'incomplete_application' | 'inconsistent_monthly_revenues' | 'insufficient_account_history_with_platform' | 'insufficient_bank_account_history' | 'insufficient_cash_balance' | 'insufficient_cash_flow' | 'insufficient_collateral' | 'insufficient_credit_experience' | 'insufficient_deposits' | 'insufficient_income' | 'insufficient_margin_ratio' | 'insufficient_operating_profit' | 'insufficient_period_in_operation' | 'insufficient_reserves' | 'insufficient_revenue' | 'insufficient_social_media_performance' | 'insufficient_time_in_network' | 'insufficient_trade_credit_insurance' | 'invalid_business_license' | 'lacking_cash_account' | 'late_payment_history_reported_to_bureau' | 'lien_collection_action_or_judgement' | 'negative_public_information' | 'no_credit_file' | 'other' | 'outside_supported_country' | 'outside_supported_state' | 'poor_payment_history_with_platform' | 'prior_or_current_legal_action' | 'prohibited_industry' | 'rate_of_cash_balance_fluctuation_too_high' | 'recent_inquiries_on_business_credit_report' | 'removal_of_bank_account_connection' | 'revenue_discrepancy' | 'runway_too_short' | 'suspected_fraud' | 'too_many_non_sufficient_funds_or_overdrafts' | 'unable_to_verify_address' | 'unable_to_verify_identity' | 'unable_to_verify_income_or_revenue' | 'unprofitable' | 'unsupportable_business_type';
634
- }
635
- }
636
- namespace UnderwritingException {
637
- type OriginalDecisionType = 'additional_information_requested' | 'application_rejected' | 'credit_limit_approved' | 'credit_limit_decreased' | 'credit_line_closed' | 'no_changes' | 'withdrawn_by_applicant';
638
- }
639
- }
640
- }