stripe 23.1.0-beta.2 → 23.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (830) hide show
  1. package/CHANGELOG.md +4850 -1831
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +58 -42
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +6 -6
  6. package/cjs/Error.js +17 -17
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/StripeEventNotificationHandler.js +60 -46
  9. package/cjs/StripeEventNotificationHandler.js.map +1 -1
  10. package/cjs/Types.d.ts +2 -4
  11. package/cjs/Types.js.map +1 -1
  12. package/cjs/apiVersion.d.ts +2 -2
  13. package/cjs/apiVersion.js +2 -2
  14. package/cjs/apiVersion.js.map +1 -1
  15. package/cjs/resources/AccountLinks.d.ts +1 -1
  16. package/cjs/resources/AccountSessions.d.ts +57 -211
  17. package/cjs/resources/AccountSessions.js.map +1 -1
  18. package/cjs/resources/Accounts.d.ts +58 -626
  19. package/cjs/resources/Accounts.js +0 -14
  20. package/cjs/resources/Accounts.js.map +1 -1
  21. package/cjs/resources/Apps/Installs.d.ts +6 -6
  22. package/cjs/resources/Apps/Installs.js +3 -3
  23. package/cjs/resources/Balance.d.ts +0 -67
  24. package/cjs/resources/BankAccounts.d.ts +2 -2
  25. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
  26. package/cjs/resources/Billing/index.d.ts +0 -3
  27. package/cjs/resources/Billing/index.js +0 -2
  28. package/cjs/resources/Billing/index.js.map +1 -1
  29. package/cjs/resources/BillingPortal/Configurations.d.ts +120 -0
  30. package/cjs/resources/BillingPortal/Sessions.d.ts +22 -2
  31. package/cjs/resources/Capabilities.d.ts +2 -2
  32. package/cjs/resources/Cards.d.ts +3 -17
  33. package/cjs/resources/Charges.d.ts +73 -3077
  34. package/cjs/resources/Checkout/Sessions.d.ts +40 -360
  35. package/cjs/resources/ConfirmationTokens.d.ts +1 -64
  36. package/cjs/resources/Coupons.d.ts +0 -53
  37. package/cjs/resources/Coupons.js +0 -13
  38. package/cjs/resources/Coupons.js.map +1 -1
  39. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  40. package/cjs/resources/CreditNotes.d.ts +1 -1
  41. package/cjs/resources/CustomerCashBalanceTransactions.d.ts +1 -1
  42. package/cjs/resources/CustomerSessions.d.ts +0 -68
  43. package/cjs/resources/Customers.d.ts +5 -24
  44. package/cjs/resources/Customers.js +0 -14
  45. package/cjs/resources/Customers.js.map +1 -1
  46. package/cjs/resources/Disputes.d.ts +8 -19
  47. package/cjs/resources/Events.d.ts +95 -548
  48. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  49. package/cjs/resources/ExternalAccounts.js +0 -44
  50. package/cjs/resources/ExternalAccounts.js.map +1 -1
  51. package/cjs/resources/FinancialConnections/Accounts.d.ts +5 -70
  52. package/cjs/resources/FinancialConnections/Accounts.js +0 -8
  53. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  54. package/cjs/resources/FinancialConnections/Authorizations.d.ts +1 -46
  55. package/cjs/resources/FinancialConnections/Authorizations.js +0 -11
  56. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
  57. package/cjs/resources/FinancialConnections/Sessions.d.ts +9 -124
  58. package/cjs/resources/FinancialConnections/index.d.ts +9 -21
  59. package/cjs/resources/FinancialConnections/index.js +0 -4
  60. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  61. package/cjs/resources/InvoiceItems.d.ts +1 -86
  62. package/cjs/resources/InvoiceItems.js.map +1 -1
  63. package/cjs/resources/InvoiceLineItems.d.ts +2 -40
  64. package/cjs/resources/Invoices.d.ts +142 -1230
  65. package/cjs/resources/Invoices.js +0 -41
  66. package/cjs/resources/Invoices.js.map +1 -1
  67. package/cjs/resources/Issuing/Authorizations.d.ts +0 -13
  68. package/cjs/resources/Issuing/Cardholders.d.ts +1 -19
  69. package/cjs/resources/Issuing/Cards.d.ts +12 -13
  70. package/cjs/resources/Issuing/Disputes.d.ts +0 -13
  71. package/cjs/resources/Issuing/Transactions.d.ts +0 -22
  72. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  73. package/cjs/resources/Issuing/index.d.ts +22 -47
  74. package/cjs/resources/Issuing/index.js +0 -6
  75. package/cjs/resources/Issuing/index.js.map +1 -1
  76. package/cjs/resources/LineItems.d.ts +2 -29
  77. package/cjs/resources/Mandates.d.ts +2 -33
  78. package/cjs/resources/Mandates.js +0 -8
  79. package/cjs/resources/Mandates.js.map +1 -1
  80. package/cjs/resources/PaymentAttemptRecords.d.ts +1 -80
  81. package/cjs/resources/PaymentIntents.d.ts +6191 -17059
  82. package/cjs/resources/PaymentIntents.js +0 -27
  83. package/cjs/resources/PaymentIntents.js.map +1 -1
  84. package/cjs/resources/PaymentLinks.d.ts +81 -3
  85. package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -280
  86. package/cjs/resources/PaymentMethods.d.ts +3 -155
  87. package/cjs/resources/PaymentMethods.js.map +1 -1
  88. package/cjs/resources/PaymentRecords.d.ts +1 -80
  89. package/cjs/resources/Payouts.d.ts +1 -1
  90. package/cjs/resources/Persons.d.ts +2 -2
  91. package/cjs/resources/Prices.d.ts +0 -36
  92. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +2 -2
  93. package/cjs/resources/PromotionCodes.d.ts +0 -12
  94. package/cjs/resources/PromotionCodes.js +0 -27
  95. package/cjs/resources/PromotionCodes.js.map +1 -1
  96. package/cjs/resources/Quotes.d.ts +150 -2359
  97. package/cjs/resources/Quotes.js +13 -1181
  98. package/cjs/resources/Quotes.js.map +1 -1
  99. package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
  100. package/cjs/resources/Radar/ValueListItems.d.ts +1 -31
  101. package/cjs/resources/Radar/index.d.ts +16 -21
  102. package/cjs/resources/Radar/index.js +0 -2
  103. package/cjs/resources/Radar/index.js.map +1 -1
  104. package/cjs/resources/Refunds.d.ts +18 -5
  105. package/cjs/resources/Reserve/Holds.d.ts +1 -53
  106. package/cjs/resources/Reserve/Holds.js +0 -19
  107. package/cjs/resources/Reserve/Holds.js.map +1 -1
  108. package/cjs/resources/Reserve/Plans.d.ts +1 -41
  109. package/cjs/resources/Reserve/Plans.js +0 -19
  110. package/cjs/resources/Reserve/Plans.js.map +1 -1
  111. package/cjs/resources/Reserve/Releases.d.ts +1 -41
  112. package/cjs/resources/Reserve/Releases.js +0 -19
  113. package/cjs/resources/Reserve/Releases.js.map +1 -1
  114. package/cjs/resources/Reserve/index.d.ts +6 -18
  115. package/cjs/resources/Reserve/index.js +0 -9
  116. package/cjs/resources/Reserve/index.js.map +1 -1
  117. package/cjs/resources/SetupAttempts.d.ts +1 -26
  118. package/cjs/resources/SetupIntents.d.ts +14 -328
  119. package/cjs/resources/SourceMandateNotifications.d.ts +1 -3
  120. package/cjs/resources/Sources.d.ts +1 -29
  121. package/cjs/resources/SubscriptionItems.d.ts +7 -112
  122. package/cjs/resources/SubscriptionSchedules.d.ts +7 -1159
  123. package/cjs/resources/SubscriptionSchedules.js +0 -6
  124. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  125. package/cjs/resources/Subscriptions.d.ts +12 -394
  126. package/cjs/resources/Subscriptions.js +1 -43
  127. package/cjs/resources/Subscriptions.js.map +1 -1
  128. package/cjs/resources/Tax/CalculationLineItems.d.ts +1 -1
  129. package/cjs/resources/Tax/Calculations.d.ts +6 -6
  130. package/cjs/resources/Tax/Registrations.d.ts +90 -28
  131. package/cjs/resources/Tax/Transactions.d.ts +3 -3
  132. package/cjs/resources/Tax/index.d.ts +17 -24
  133. package/cjs/resources/Tax/index.js +0 -2
  134. package/cjs/resources/Tax/index.js.map +1 -1
  135. package/cjs/resources/TaxIds.d.ts +4 -4
  136. package/cjs/resources/TaxRates.d.ts +3 -3
  137. package/cjs/resources/Terminal/Configurations.d.ts +27 -0
  138. package/cjs/resources/Terminal/Readers.d.ts +4 -20
  139. package/cjs/resources/Terminal/index.d.ts +0 -5
  140. package/cjs/resources/Terminal/index.js +0 -2
  141. package/cjs/resources/Terminal/index.js.map +1 -1
  142. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +1 -72
  143. package/cjs/resources/TestHelpers/Customers.d.ts +1 -1
  144. package/cjs/resources/TestHelpers/Customers.js +1 -1
  145. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  146. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  147. package/cjs/resources/TestHelpers/index.d.ts +0 -3
  148. package/cjs/resources/TestHelpers/index.js +4 -6
  149. package/cjs/resources/TestHelpers/index.js.map +1 -1
  150. package/cjs/resources/Tokens.d.ts +6 -15
  151. package/cjs/resources/Transfers.d.ts +0 -8
  152. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  153. package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
  154. package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -9
  155. package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
  156. package/cjs/resources/Treasury/ReceivedCredits.d.ts +6 -22
  157. package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
  158. package/cjs/resources/Treasury/TransactionEntries.d.ts +14 -0
  159. package/cjs/resources/Treasury/Transactions.d.ts +14 -0
  160. package/cjs/resources/V2/Billing/index.d.ts +6 -45
  161. package/cjs/resources/V2/Billing/index.js +0 -8
  162. package/cjs/resources/V2/Billing/index.js.map +1 -1
  163. package/cjs/resources/V2/Core/AccountPersons.d.ts +9 -9
  164. package/cjs/resources/V2/Core/AccountTokens.d.ts +21 -31
  165. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +9 -9
  166. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +19 -19
  167. package/cjs/resources/V2/Core/Accounts.d.ts +440 -1286
  168. package/cjs/resources/V2/Core/EventDestinations.d.ts +1 -1
  169. package/cjs/resources/V2/Core/Events.d.ts +872 -923
  170. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +6 -146
  171. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +4 -15
  172. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
  173. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +19 -20
  174. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +8 -0
  175. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
  176. package/cjs/resources/V2/Core/Vault/index.d.ts +2 -2
  177. package/cjs/resources/V2/Core/index.d.ts +9 -24
  178. package/cjs/resources/V2/Core/index.js +0 -4
  179. package/cjs/resources/V2/Core/index.js.map +1 -1
  180. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +13 -12
  181. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +25 -141
  182. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +2 -17
  183. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
  184. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +15 -37
  185. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +9 -13
  186. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +1 -1
  187. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +156 -93
  188. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +2 -1
  189. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
  190. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +3 -77
  191. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -1
  192. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
  193. package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +730 -0
  194. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +67 -0
  195. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
  196. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +6 -43
  197. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +5 -12
  198. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  199. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +7 -118
  200. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +155 -0
  201. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
  202. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  203. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +1 -15
  204. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -7
  205. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
  206. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +24 -18
  207. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +87 -26
  208. package/cjs/resources/V2/MoneyManagement/Transactions.js +12 -0
  209. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
  210. package/cjs/resources/V2/MoneyManagement/index.d.ts +43 -48
  211. package/cjs/resources/V2/MoneyManagement/index.js +4 -6
  212. package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
  213. package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  214. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
  215. package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  216. package/cjs/resources/V2/TestHelpers/index.d.ts +8 -0
  217. package/cjs/resources/V2/TestHelpers/index.js +13 -0
  218. package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
  219. package/cjs/resources/V2/index.d.ts +3 -18
  220. package/cjs/resources/V2/index.js +4 -14
  221. package/cjs/resources/V2/index.js.map +1 -1
  222. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  223. package/cjs/resources.d.ts +0 -9
  224. package/cjs/resources.js +15 -115
  225. package/cjs/resources.js.map +1 -1
  226. package/cjs/stripe.cjs.node.d.ts +671 -6308
  227. package/cjs/stripe.cjs.node.js.map +1 -1
  228. package/cjs/stripe.core.d.ts +28 -57
  229. package/cjs/stripe.core.js +36 -53
  230. package/cjs/stripe.core.js.map +1 -1
  231. package/esm/Error.d.ts +6 -6
  232. package/esm/Error.js +14 -14
  233. package/esm/Error.js.map +1 -1
  234. package/esm/StripeEventNotificationHandler.js +60 -46
  235. package/esm/StripeEventNotificationHandler.js.map +1 -1
  236. package/esm/Types.d.ts +2 -4
  237. package/esm/Types.js.map +1 -1
  238. package/esm/apiVersion.d.ts +2 -2
  239. package/esm/apiVersion.js +2 -2
  240. package/esm/apiVersion.js.map +1 -1
  241. package/esm/resources/AccountLinks.d.ts +1 -1
  242. package/esm/resources/AccountSessions.d.ts +57 -211
  243. package/esm/resources/AccountSessions.js.map +1 -1
  244. package/esm/resources/Accounts.d.ts +58 -626
  245. package/esm/resources/Accounts.js +0 -14
  246. package/esm/resources/Accounts.js.map +1 -1
  247. package/esm/resources/Apps/Installs.d.ts +6 -6
  248. package/esm/resources/Apps/Installs.js +3 -3
  249. package/esm/resources/Balance.d.ts +0 -67
  250. package/esm/resources/BankAccounts.d.ts +2 -2
  251. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
  252. package/esm/resources/Billing/index.d.ts +0 -3
  253. package/esm/resources/Billing/index.js +0 -2
  254. package/esm/resources/Billing/index.js.map +1 -1
  255. package/esm/resources/BillingPortal/Configurations.d.ts +120 -0
  256. package/esm/resources/BillingPortal/Sessions.d.ts +22 -2
  257. package/esm/resources/Capabilities.d.ts +2 -2
  258. package/esm/resources/Cards.d.ts +3 -17
  259. package/esm/resources/Charges.d.ts +73 -3077
  260. package/esm/resources/Checkout/Sessions.d.ts +40 -360
  261. package/esm/resources/ConfirmationTokens.d.ts +1 -64
  262. package/esm/resources/Coupons.d.ts +0 -53
  263. package/esm/resources/Coupons.js +0 -13
  264. package/esm/resources/Coupons.js.map +1 -1
  265. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  266. package/esm/resources/CreditNotes.d.ts +1 -1
  267. package/esm/resources/CustomerCashBalanceTransactions.d.ts +1 -1
  268. package/esm/resources/CustomerSessions.d.ts +0 -68
  269. package/esm/resources/Customers.d.ts +5 -24
  270. package/esm/resources/Customers.js +0 -14
  271. package/esm/resources/Customers.js.map +1 -1
  272. package/esm/resources/Disputes.d.ts +8 -19
  273. package/esm/resources/Events.d.ts +95 -548
  274. package/esm/resources/ExternalAccounts.d.ts +1 -212
  275. package/esm/resources/ExternalAccounts.js +1 -42
  276. package/esm/resources/ExternalAccounts.js.map +1 -1
  277. package/esm/resources/FinancialConnections/Accounts.d.ts +5 -70
  278. package/esm/resources/FinancialConnections/Accounts.js +0 -8
  279. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  280. package/esm/resources/FinancialConnections/Authorizations.d.ts +1 -46
  281. package/esm/resources/FinancialConnections/Authorizations.js +1 -9
  282. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
  283. package/esm/resources/FinancialConnections/Sessions.d.ts +9 -124
  284. package/esm/resources/FinancialConnections/index.d.ts +9 -21
  285. package/esm/resources/FinancialConnections/index.js +0 -4
  286. package/esm/resources/FinancialConnections/index.js.map +1 -1
  287. package/esm/resources/InvoiceItems.d.ts +1 -86
  288. package/esm/resources/InvoiceItems.js.map +1 -1
  289. package/esm/resources/InvoiceLineItems.d.ts +2 -40
  290. package/esm/resources/Invoices.d.ts +142 -1230
  291. package/esm/resources/Invoices.js +0 -41
  292. package/esm/resources/Invoices.js.map +1 -1
  293. package/esm/resources/Issuing/Authorizations.d.ts +0 -13
  294. package/esm/resources/Issuing/Cardholders.d.ts +1 -19
  295. package/esm/resources/Issuing/Cards.d.ts +12 -13
  296. package/esm/resources/Issuing/Disputes.d.ts +0 -13
  297. package/esm/resources/Issuing/Transactions.d.ts +0 -22
  298. package/esm/resources/Issuing/Transactions.js.map +1 -1
  299. package/esm/resources/Issuing/index.d.ts +22 -47
  300. package/esm/resources/Issuing/index.js +0 -6
  301. package/esm/resources/Issuing/index.js.map +1 -1
  302. package/esm/resources/LineItems.d.ts +2 -29
  303. package/esm/resources/Mandates.d.ts +2 -33
  304. package/esm/resources/Mandates.js +0 -8
  305. package/esm/resources/Mandates.js.map +1 -1
  306. package/esm/resources/PaymentAttemptRecords.d.ts +1 -80
  307. package/esm/resources/PaymentIntents.d.ts +6191 -17059
  308. package/esm/resources/PaymentIntents.js +0 -27
  309. package/esm/resources/PaymentIntents.js.map +1 -1
  310. package/esm/resources/PaymentLinks.d.ts +81 -3
  311. package/esm/resources/PaymentMethodConfigurations.d.ts +0 -280
  312. package/esm/resources/PaymentMethods.d.ts +3 -155
  313. package/esm/resources/PaymentMethods.js.map +1 -1
  314. package/esm/resources/PaymentRecords.d.ts +1 -80
  315. package/esm/resources/Payouts.d.ts +1 -1
  316. package/esm/resources/Persons.d.ts +2 -2
  317. package/esm/resources/Prices.d.ts +0 -36
  318. package/esm/resources/ProductCatalog/TrialOffers.d.ts +2 -2
  319. package/esm/resources/PromotionCodes.d.ts +0 -12
  320. package/esm/resources/PromotionCodes.js +0 -27
  321. package/esm/resources/PromotionCodes.js.map +1 -1
  322. package/esm/resources/Quotes.d.ts +150 -2359
  323. package/esm/resources/Quotes.js +13 -1181
  324. package/esm/resources/Quotes.js.map +1 -1
  325. package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
  326. package/esm/resources/Radar/ValueListItems.d.ts +1 -31
  327. package/esm/resources/Radar/index.d.ts +16 -21
  328. package/esm/resources/Radar/index.js +0 -2
  329. package/esm/resources/Radar/index.js.map +1 -1
  330. package/esm/resources/Refunds.d.ts +18 -5
  331. package/esm/resources/Reserve/Holds.d.ts +1 -53
  332. package/esm/resources/Reserve/Holds.js +1 -17
  333. package/esm/resources/Reserve/Holds.js.map +1 -1
  334. package/esm/resources/Reserve/Plans.d.ts +1 -41
  335. package/esm/resources/Reserve/Plans.js +1 -17
  336. package/esm/resources/Reserve/Plans.js.map +1 -1
  337. package/esm/resources/Reserve/Releases.d.ts +1 -41
  338. package/esm/resources/Reserve/Releases.js +1 -17
  339. package/esm/resources/Reserve/Releases.js.map +1 -1
  340. package/esm/resources/Reserve/index.d.ts +6 -18
  341. package/esm/resources/Reserve/index.js +0 -9
  342. package/esm/resources/Reserve/index.js.map +1 -1
  343. package/esm/resources/SetupAttempts.d.ts +1 -26
  344. package/esm/resources/SetupIntents.d.ts +14 -328
  345. package/esm/resources/SourceMandateNotifications.d.ts +1 -3
  346. package/esm/resources/Sources.d.ts +1 -29
  347. package/esm/resources/SubscriptionItems.d.ts +7 -112
  348. package/esm/resources/SubscriptionSchedules.d.ts +7 -1159
  349. package/esm/resources/SubscriptionSchedules.js +0 -6
  350. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  351. package/esm/resources/Subscriptions.d.ts +12 -394
  352. package/esm/resources/Subscriptions.js +1 -43
  353. package/esm/resources/Subscriptions.js.map +1 -1
  354. package/esm/resources/Tax/CalculationLineItems.d.ts +1 -1
  355. package/esm/resources/Tax/Calculations.d.ts +6 -6
  356. package/esm/resources/Tax/Registrations.d.ts +90 -28
  357. package/esm/resources/Tax/Transactions.d.ts +3 -3
  358. package/esm/resources/Tax/index.d.ts +17 -24
  359. package/esm/resources/Tax/index.js +0 -2
  360. package/esm/resources/Tax/index.js.map +1 -1
  361. package/esm/resources/TaxIds.d.ts +4 -4
  362. package/esm/resources/TaxRates.d.ts +3 -3
  363. package/esm/resources/Terminal/Configurations.d.ts +27 -0
  364. package/esm/resources/Terminal/Readers.d.ts +4 -20
  365. package/esm/resources/Terminal/index.d.ts +0 -5
  366. package/esm/resources/Terminal/index.js +0 -2
  367. package/esm/resources/Terminal/index.js.map +1 -1
  368. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +1 -72
  369. package/esm/resources/TestHelpers/Customers.d.ts +1 -1
  370. package/esm/resources/TestHelpers/Customers.js +1 -1
  371. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  372. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  373. package/esm/resources/TestHelpers/index.d.ts +0 -3
  374. package/esm/resources/TestHelpers/index.js +0 -2
  375. package/esm/resources/TestHelpers/index.js.map +1 -1
  376. package/esm/resources/Tokens.d.ts +6 -15
  377. package/esm/resources/Transfers.d.ts +0 -8
  378. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  379. package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
  380. package/esm/resources/Treasury/OutboundPayments.d.ts +0 -9
  381. package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
  382. package/esm/resources/Treasury/ReceivedCredits.d.ts +6 -22
  383. package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
  384. package/esm/resources/Treasury/TransactionEntries.d.ts +14 -0
  385. package/esm/resources/Treasury/Transactions.d.ts +14 -0
  386. package/esm/resources/V2/Billing/index.d.ts +6 -45
  387. package/esm/resources/V2/Billing/index.js +0 -8
  388. package/esm/resources/V2/Billing/index.js.map +1 -1
  389. package/esm/resources/V2/Core/AccountPersons.d.ts +9 -9
  390. package/esm/resources/V2/Core/AccountTokens.d.ts +21 -31
  391. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +9 -9
  392. package/esm/resources/V2/Core/Accounts/Persons.d.ts +19 -19
  393. package/esm/resources/V2/Core/Accounts.d.ts +440 -1286
  394. package/esm/resources/V2/Core/EventDestinations.d.ts +1 -1
  395. package/esm/resources/V2/Core/Events.d.ts +872 -923
  396. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +6 -146
  397. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +4 -15
  398. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
  399. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +19 -20
  400. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +8 -0
  401. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
  402. package/esm/resources/V2/Core/Vault/index.d.ts +2 -2
  403. package/esm/resources/V2/Core/index.d.ts +9 -24
  404. package/esm/resources/V2/Core/index.js +0 -4
  405. package/esm/resources/V2/Core/index.js.map +1 -1
  406. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +13 -12
  407. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +25 -141
  408. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +2 -17
  409. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
  410. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +15 -37
  411. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +9 -13
  412. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +1 -1
  413. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +156 -93
  414. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +2 -1
  415. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
  416. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +3 -77
  417. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -1
  418. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
  419. package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +730 -0
  420. package/esm/resources/V2/MoneyManagement/PayoutIntents.js +63 -0
  421. package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
  422. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +6 -43
  423. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +5 -12
  424. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  425. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +7 -118
  426. package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +155 -0
  427. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
  428. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  429. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +1 -15
  430. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -7
  431. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
  432. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +24 -18
  433. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +87 -26
  434. package/esm/resources/V2/MoneyManagement/Transactions.js +12 -0
  435. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
  436. package/esm/resources/V2/MoneyManagement/index.d.ts +43 -48
  437. package/esm/resources/V2/MoneyManagement/index.js +4 -6
  438. package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
  439. package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  440. package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
  441. package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  442. package/esm/resources/V2/TestHelpers/index.d.ts +8 -0
  443. package/esm/resources/V2/TestHelpers/index.js +9 -0
  444. package/esm/resources/V2/TestHelpers/index.js.map +1 -0
  445. package/esm/resources/V2/index.d.ts +3 -18
  446. package/esm/resources/V2/index.js +2 -12
  447. package/esm/resources/V2/index.js.map +1 -1
  448. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  449. package/esm/resources.d.ts +0 -9
  450. package/esm/resources.js +7 -102
  451. package/esm/resources.js.map +1 -1
  452. package/esm/stripe.core.d.ts +28 -57
  453. package/esm/stripe.core.js +2 -19
  454. package/esm/stripe.core.js.map +1 -1
  455. package/esm/stripe.esm.node.d.ts +28 -57
  456. package/esm/stripe.esm.node.js +2 -19
  457. package/esm/stripe.esm.node.js.map +1 -1
  458. package/package.json +1 -1
  459. package/cjs/resources/AccountNotices.d.ts +0 -140
  460. package/cjs/resources/AccountNotices.js +0 -29
  461. package/cjs/resources/AccountNotices.js.map +0 -1
  462. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -85
  463. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  464. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  465. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  466. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  467. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  468. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  469. package/cjs/resources/Billing/Analytics/index.js +0 -13
  470. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  471. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -194
  472. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  473. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  474. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -102
  475. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  476. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  477. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -141
  478. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  479. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  480. package/cjs/resources/Capital/index.d.ts +0 -25
  481. package/cjs/resources/Capital/index.js +0 -17
  482. package/cjs/resources/Capital/index.js.map +0 -1
  483. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  484. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  485. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  486. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -99
  487. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  488. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  489. package/cjs/resources/FxQuotes.d.ts +0 -216
  490. package/cjs/resources/FxQuotes.js +0 -29
  491. package/cjs/resources/FxQuotes.js.map +0 -1
  492. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
  493. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
  494. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  495. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
  496. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  497. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  498. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  499. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  500. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  501. package/cjs/resources/Issuing/Settlements.d.ts +0 -83
  502. package/cjs/resources/Issuing/Settlements.js +0 -4
  503. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  504. package/cjs/resources/Margins.d.ts +0 -115
  505. package/cjs/resources/Margins.js +0 -35
  506. package/cjs/resources/Margins.js.map +0 -1
  507. package/cjs/resources/Orders.d.ts +0 -4696
  508. package/cjs/resources/Orders.js +0 -457
  509. package/cjs/resources/Orders.js.map +0 -1
  510. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
  511. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  512. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  513. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -227
  514. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  515. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  516. package/cjs/resources/Privacy/index.d.ts +0 -22
  517. package/cjs/resources/Privacy/index.js +0 -13
  518. package/cjs/resources/Privacy/index.js.map +0 -1
  519. package/cjs/resources/QuoteLines.d.ts +0 -507
  520. package/cjs/resources/QuoteLines.js +0 -4
  521. package/cjs/resources/QuoteLines.js.map +0 -1
  522. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1170
  523. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  524. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  525. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -924
  526. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  527. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  528. package/cjs/resources/Radar/BillingEvaluations.d.ts +0 -374
  529. package/cjs/resources/Radar/BillingEvaluations.js +0 -15
  530. package/cjs/resources/Radar/BillingEvaluations.js.map +0 -1
  531. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -418
  532. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  533. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  534. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -330
  535. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  536. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  537. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  538. package/cjs/resources/SharedPayment/index.js +0 -15
  539. package/cjs/resources/SharedPayment/index.js.map +0 -1
  540. package/cjs/resources/Tax/Forms.d.ts +0 -228
  541. package/cjs/resources/Tax/Forms.js +0 -32
  542. package/cjs/resources/Tax/Forms.js.map +0 -1
  543. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -50
  544. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  545. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  546. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  547. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  548. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  549. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  550. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  551. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  552. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
  553. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  554. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  555. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  556. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  557. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  558. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -281
  559. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  560. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  561. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -958
  562. package/cjs/resources/V2/Billing/Cadences.js +0 -198
  563. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  564. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -238
  565. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  566. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  567. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  568. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  569. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  570. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  571. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  572. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  573. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -162
  574. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  575. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  576. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +0 -378
  577. package/cjs/resources/V2/Core/ApprovalRequests.js +0 -39
  578. package/cjs/resources/V2/Core/ApprovalRequests.js.map +0 -1
  579. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -360
  580. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  581. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  582. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -152
  583. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  584. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  585. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  586. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  587. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  588. package/cjs/resources/V2/Data/index.d.ts +0 -10
  589. package/cjs/resources/V2/Data/index.js +0 -13
  590. package/cjs/resources/V2/Data/index.js.map +0 -1
  591. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  592. package/cjs/resources/V2/EventMisc.js +0 -2
  593. package/cjs/resources/V2/EventMisc.js.map +0 -1
  594. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
  595. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  596. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  597. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -120
  598. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  599. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  600. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  601. package/cjs/resources/V2/Extend/index.js +0 -15
  602. package/cjs/resources/V2/Extend/index.js.map +0 -1
  603. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -377
  604. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
  605. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  606. package/cjs/resources/V2/Iam/index.d.ts +0 -13
  607. package/cjs/resources/V2/Iam/index.js +0 -13
  608. package/cjs/resources/V2/Iam/index.js.map +0 -1
  609. package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  610. package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +0 -4
  611. package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  612. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -243
  613. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  614. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  615. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -339
  616. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  617. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  618. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -163
  619. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  620. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  621. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -92
  622. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  623. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  624. package/cjs/resources/V2/Network/index.d.ts +0 -13
  625. package/cjs/resources/V2/Network/index.js +0 -13
  626. package/cjs/resources/V2/Network/index.js.map +0 -1
  627. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
  628. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  629. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  630. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  631. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  632. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  633. package/cjs/resources/V2/Signals/AccountActivities.d.ts +0 -424
  634. package/cjs/resources/V2/Signals/AccountActivities.js +0 -27
  635. package/cjs/resources/V2/Signals/AccountActivities.js.map +0 -1
  636. package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
  637. package/cjs/resources/V2/Signals/AccountEvaluations.js +0 -59
  638. package/cjs/resources/V2/Signals/AccountEvaluations.js.map +0 -1
  639. package/cjs/resources/V2/Signals/AccountSignals.d.ts +0 -196
  640. package/cjs/resources/V2/Signals/AccountSignals.js +0 -66
  641. package/cjs/resources/V2/Signals/AccountSignals.js.map +0 -1
  642. package/cjs/resources/V2/Signals/index.d.ts +0 -26
  643. package/cjs/resources/V2/Signals/index.js +0 -17
  644. package/cjs/resources/V2/Signals/index.js.map +0 -1
  645. package/esm/resources/AccountNotices.d.ts +0 -140
  646. package/esm/resources/AccountNotices.js +0 -25
  647. package/esm/resources/AccountNotices.js.map +0 -1
  648. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -85
  649. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  650. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  651. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  652. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  653. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  654. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  655. package/esm/resources/Billing/Analytics/index.js +0 -9
  656. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  657. package/esm/resources/Capital/FinancingOffers.d.ts +0 -194
  658. package/esm/resources/Capital/FinancingOffers.js +0 -26
  659. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  660. package/esm/resources/Capital/FinancingSummary.d.ts +0 -102
  661. package/esm/resources/Capital/FinancingSummary.js +0 -11
  662. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  663. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -141
  664. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  665. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  666. package/esm/resources/Capital/index.d.ts +0 -25
  667. package/esm/resources/Capital/index.js +0 -13
  668. package/esm/resources/Capital/index.js.map +0 -1
  669. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  670. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  671. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  672. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -99
  673. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  674. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  675. package/esm/resources/FxQuotes.d.ts +0 -216
  676. package/esm/resources/FxQuotes.js +0 -25
  677. package/esm/resources/FxQuotes.js.map +0 -1
  678. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
  679. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
  680. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  681. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
  682. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  683. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  684. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  685. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  686. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  687. package/esm/resources/Issuing/Settlements.d.ts +0 -83
  688. package/esm/resources/Issuing/Settlements.js +0 -3
  689. package/esm/resources/Issuing/Settlements.js.map +0 -1
  690. package/esm/resources/Margins.d.ts +0 -115
  691. package/esm/resources/Margins.js +0 -31
  692. package/esm/resources/Margins.js.map +0 -1
  693. package/esm/resources/Orders.d.ts +0 -4696
  694. package/esm/resources/Orders.js +0 -453
  695. package/esm/resources/Orders.js.map +0 -1
  696. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
  697. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  698. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  699. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -227
  700. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  701. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  702. package/esm/resources/Privacy/index.d.ts +0 -22
  703. package/esm/resources/Privacy/index.js +0 -9
  704. package/esm/resources/Privacy/index.js.map +0 -1
  705. package/esm/resources/QuoteLines.d.ts +0 -507
  706. package/esm/resources/QuoteLines.js +0 -3
  707. package/esm/resources/QuoteLines.js.map +0 -1
  708. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1170
  709. package/esm/resources/QuotePreviewInvoices.js +0 -3
  710. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  711. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -924
  712. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  713. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  714. package/esm/resources/Radar/BillingEvaluations.d.ts +0 -374
  715. package/esm/resources/Radar/BillingEvaluations.js +0 -11
  716. package/esm/resources/Radar/BillingEvaluations.js.map +0 -1
  717. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -418
  718. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  719. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  720. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -330
  721. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  722. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  723. package/esm/resources/SharedPayment/index.d.ts +0 -19
  724. package/esm/resources/SharedPayment/index.js +0 -11
  725. package/esm/resources/SharedPayment/index.js.map +0 -1
  726. package/esm/resources/Tax/Forms.d.ts +0 -228
  727. package/esm/resources/Tax/Forms.js +0 -28
  728. package/esm/resources/Tax/Forms.js.map +0 -1
  729. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -50
  730. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  731. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  732. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  733. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  734. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  735. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  736. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  737. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  738. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
  739. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  740. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  741. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  742. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  743. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  744. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -281
  745. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  746. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  747. package/esm/resources/V2/Billing/Cadences.d.ts +0 -958
  748. package/esm/resources/V2/Billing/Cadences.js +0 -194
  749. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  750. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -238
  751. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  752. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  753. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  754. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  755. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  756. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  757. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  758. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  759. package/esm/resources/V2/Billing/Profiles.d.ts +0 -162
  760. package/esm/resources/V2/Billing/Profiles.js +0 -31
  761. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  762. package/esm/resources/V2/Core/ApprovalRequests.d.ts +0 -378
  763. package/esm/resources/V2/Core/ApprovalRequests.js +0 -35
  764. package/esm/resources/V2/Core/ApprovalRequests.js.map +0 -1
  765. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -360
  766. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  767. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  768. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -152
  769. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  770. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  771. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  772. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  773. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  774. package/esm/resources/V2/Data/index.d.ts +0 -10
  775. package/esm/resources/V2/Data/index.js +0 -9
  776. package/esm/resources/V2/Data/index.js.map +0 -1
  777. package/esm/resources/V2/EventMisc.d.ts +0 -0
  778. package/esm/resources/V2/EventMisc.js +0 -2
  779. package/esm/resources/V2/EventMisc.js.map +0 -1
  780. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
  781. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  782. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  783. package/esm/resources/V2/Extend/Workflows.d.ts +0 -120
  784. package/esm/resources/V2/Extend/Workflows.js +0 -26
  785. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  786. package/esm/resources/V2/Extend/index.d.ts +0 -20
  787. package/esm/resources/V2/Extend/index.js +0 -11
  788. package/esm/resources/V2/Extend/index.js.map +0 -1
  789. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -377
  790. package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
  791. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  792. package/esm/resources/V2/Iam/index.d.ts +0 -13
  793. package/esm/resources/V2/Iam/index.js +0 -9
  794. package/esm/resources/V2/Iam/index.js.map +0 -1
  795. package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  796. package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +0 -3
  797. package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  798. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -243
  799. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  800. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  801. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -339
  802. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  803. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  804. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -163
  805. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  806. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  807. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -92
  808. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  809. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  810. package/esm/resources/V2/Network/index.d.ts +0 -13
  811. package/esm/resources/V2/Network/index.js +0 -9
  812. package/esm/resources/V2/Network/index.js.map +0 -1
  813. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
  814. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  815. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  816. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  817. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  818. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  819. package/esm/resources/V2/Signals/AccountActivities.d.ts +0 -424
  820. package/esm/resources/V2/Signals/AccountActivities.js +0 -23
  821. package/esm/resources/V2/Signals/AccountActivities.js.map +0 -1
  822. package/esm/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
  823. package/esm/resources/V2/Signals/AccountEvaluations.js +0 -55
  824. package/esm/resources/V2/Signals/AccountEvaluations.js.map +0 -1
  825. package/esm/resources/V2/Signals/AccountSignals.d.ts +0 -196
  826. package/esm/resources/V2/Signals/AccountSignals.js +0 -62
  827. package/esm/resources/V2/Signals/AccountSignals.js.map +0 -1
  828. package/esm/resources/V2/Signals/index.d.ts +0 -26
  829. package/esm/resources/V2/Signals/index.js +0 -13
  830. package/esm/resources/V2/Signals/index.js.map +0 -1
@@ -1,5 +1,4 @@
1
1
  import { StripeResource } from '../../../../StripeResource.js';
2
- import { OtherString } from '../../../../shared.js';
3
2
  import { RequestOptions, V2ListPromise, Response } from '../../../../lib.js';
4
3
  export declare class GbBankAccountResource extends StripeResource {
5
4
  /**
@@ -18,13 +17,6 @@ export declare class GbBankAccountResource extends StripeResource {
18
17
  * Retrieve a GB bank account.
19
18
  */
20
19
  retrieve(id: string, params?: V2.Core.Vault.GbBankAccountRetrieveParams, options?: RequestOptions): Promise<Response<GbBankAccount>>;
21
- /**
22
- * Confirm that you have received the result of the Confirmation of Payee request, and that you are okay with
23
- * proceeding to pay out to this bank account despite the account not matching, partially matching, or the service
24
- * being unavailable. Once you confirm this, you will be able to send OutboundPayments, but this may lead to
25
- * funds being sent to the wrong account, which we might not be able to recover.
26
- */
27
- acknowledgeConfirmationOfPayee(id: string, params?: V2.Core.Vault.GbBankAccountAcknowledgeConfirmationOfPayeeParams, options?: RequestOptions): Promise<Response<GbBankAccount>>;
28
20
  /**
29
21
  * Archive a GBBankAccount object. Archived GBBankAccount objects cannot be used as outbound destinations
30
22
  * and will not appear in the outbound destination list.
@@ -33,12 +25,10 @@ export declare class GbBankAccountResource extends StripeResource {
33
25
  */
34
26
  archive(id: string, params?: V2.Core.Vault.GbBankAccountArchiveParams, options?: RequestOptions): Promise<Response<GbBankAccount>>;
35
27
  /**
36
- * Initiate Confirmation of Payee (CoP) in order to verify that the owner of a UK bank account matches
37
- * who you expect. This must be done on all UK bank accounts before sending domestic OutboundPayments. If
38
- * the result is a partial match or a non match, explicit acknowledgement using AcknowledgeConfirmationOfPayee
39
- * is required before sending funds.
28
+ * Unarchive a GBBankAccount object.
29
+ * @throws Stripe.ControlledByAlternateResourceError
40
30
  */
41
- initiateConfirmationOfPayee(id: string, params?: V2.Core.Vault.GbBankAccountInitiateConfirmationOfPayeeParams, options?: RequestOptions): Promise<Response<GbBankAccount>>;
31
+ unarchive(id: string, params?: V2.Core.Vault.GbBankAccountUnarchiveParams, options?: RequestOptions): Promise<Response<GbBankAccount>>;
42
32
  }
43
33
  export interface GbBankAccount {
44
34
  /**
@@ -49,10 +39,6 @@ export interface GbBankAccount {
49
39
  * String representing the object's type. Objects of the same type share the same value of the object field.
50
40
  */
51
41
  object: 'v2.core.vault.gb_bank_account';
52
- /**
53
- * The alternative reference for this payout method, if it's a projected payout method.
54
- */
55
- alternative_reference?: GbBankAccount.AlternativeReference;
56
42
  /**
57
43
  * Whether this bank account object was archived. Bank account objects can be archived through
58
44
  * the /archive API, and they will not be automatically archived by Stripe. Archived bank account objects
@@ -67,11 +53,6 @@ export interface GbBankAccount {
67
53
  * The name of the bank.
68
54
  */
69
55
  bank_name: string;
70
- /**
71
- * Information around the status of Confirmation of Payee matching done on this bank account.
72
- * Confirmation of Payee is a name matching service that must be done before making OutboundPayments in the UK.
73
- */
74
- confirmation_of_payee: GbBankAccount.ConfirmationOfPayee;
75
56
  /**
76
57
  * Creation time.
77
58
  */
@@ -98,85 +79,7 @@ export interface GbBankAccount {
98
79
  supported_currencies: Array<string>;
99
80
  }
100
81
  export declare namespace GbBankAccount {
101
- interface AlternativeReference {
102
- /**
103
- * The ID of the alternative resource being referenced.
104
- */
105
- id: string;
106
- /**
107
- * The type of the alternative reference (e.g., external_account for V1 external accounts).
108
- */
109
- type: AlternativeReference.Type;
110
- }
111
- type BankAccountType = 'checking' | 'futsu' | 'savings' | 'toza';
112
- interface ConfirmationOfPayee {
113
- /**
114
- * The result of the Confirmation of Payee check, once the check has been initiated. Closed enum.
115
- */
116
- result: ConfirmationOfPayee.Result;
117
- /**
118
- * The current state of Confirmation of Payee on this bank account. Closed enum.
119
- */
120
- status: ConfirmationOfPayee.Status;
121
- }
122
- namespace AlternativeReference {
123
- type Type = 'external_account' | 'payment_method' | OtherString;
124
- }
125
- namespace ConfirmationOfPayee {
126
- interface Result {
127
- /**
128
- * When the CoP result was created.
129
- */
130
- created: string;
131
- /**
132
- * Whether or not the information of the bank account matches what you have provided. Closed enum.
133
- */
134
- match_result: Result.MatchResult;
135
- /**
136
- * The fields that CoP service matched against. Only has value if MATCH or PARTIAL_MATCH, empty otherwise.
137
- */
138
- matched: Result.Matched;
139
- /**
140
- * Human-readable message describing the match result.
141
- */
142
- message: string;
143
- /**
144
- * The fields that are matched against what the network has on file.
145
- */
146
- provided: Result.Provided;
147
- }
148
- type Status = 'awaiting_acknowledgement' | 'confirmed' | 'uninitiated';
149
- namespace Result {
150
- type MatchResult = 'match' | 'mismatch' | 'partial_match' | 'unavailable';
151
- interface Matched {
152
- /**
153
- * The business type given by the bank for this account, in case of a MATCH or PARTIAL_MATCH.
154
- * Closed enum.
155
- */
156
- business_type?: Matched.BusinessType;
157
- /**
158
- * The name given by the bank for this account, in case of a MATCH or PARTIAL_MATCH.
159
- */
160
- name?: string;
161
- }
162
- interface Provided {
163
- /**
164
- * The provided or Legal Entity business type to match against the CoP service. Closed enum.
165
- */
166
- business_type: Provided.BusinessType;
167
- /**
168
- * The provided or Legal Entity name to match against the CoP service.
169
- */
170
- name: string;
171
- }
172
- namespace Matched {
173
- type BusinessType = 'business' | 'personal';
174
- }
175
- namespace Provided {
176
- type BusinessType = 'business' | 'personal';
177
- }
178
- }
179
- }
82
+ type BankAccountType = 'checking' | 'savings';
180
83
  }
181
84
  export declare namespace V2 {
182
85
  namespace Core {
@@ -194,12 +97,6 @@ export declare namespace V2 {
194
97
  * Closed Enum. The type of the bank account (checking or savings).
195
98
  */
196
99
  bank_account_type?: GbBankAccountCreateParams.BankAccountType;
197
- /**
198
- * Whether or not to automatically perform Confirmation of Payee to verify the users information
199
- * against what was provided by the bank. Doing so is required for all bank accounts not owned
200
- * by you before making domestic UK OutboundPayments.
201
- */
202
- confirmation_of_payee?: GbBankAccountCreateParams.ConfirmationOfPayee;
203
100
  /**
204
101
  * The IBAN of the bank account.
205
102
  */
@@ -210,25 +107,7 @@ export declare namespace V2 {
210
107
  sort_code?: string;
211
108
  }
212
109
  namespace GbBankAccountCreateParams {
213
- type BankAccountType = 'checking' | 'futsu' | 'savings' | 'toza';
214
- interface ConfirmationOfPayee {
215
- /**
216
- * The business type to be checked against. Legal entity information will be used if unspecified.
217
- * Closed enum.
218
- */
219
- business_type?: ConfirmationOfPayee.BusinessType;
220
- /**
221
- * User specifies whether Confirmation of Payee is automatically initiated when creating the bank account.
222
- */
223
- initiate: boolean;
224
- /**
225
- * The name to be checked against. Legal entity information will be used if unspecified.
226
- */
227
- name?: string;
228
- }
229
- namespace ConfirmationOfPayee {
230
- type BusinessType = 'business' | 'personal';
231
- }
110
+ type BankAccountType = 'checking' | 'savings';
232
111
  }
233
112
  }
234
113
  }
@@ -253,14 +132,6 @@ export declare namespace V2 {
253
132
  }
254
133
  }
255
134
  }
256
- export declare namespace V2 {
257
- namespace Core {
258
- namespace Vault {
259
- interface GbBankAccountAcknowledgeConfirmationOfPayeeParams {
260
- }
261
- }
262
- }
263
- }
264
135
  export declare namespace V2 {
265
136
  namespace Core {
266
137
  namespace Vault {
@@ -272,18 +143,7 @@ export declare namespace V2 {
272
143
  export declare namespace V2 {
273
144
  namespace Core {
274
145
  namespace Vault {
275
- interface GbBankAccountInitiateConfirmationOfPayeeParams {
276
- /**
277
- * The business type to be checked against. Legal entity information will be used if unspecified.
278
- */
279
- business_type?: GbBankAccountInitiateConfirmationOfPayeeParams.BusinessType;
280
- /**
281
- * The name of the user to be checked against. Legal entity information will be used if unspecified.
282
- */
283
- name?: string;
284
- }
285
- namespace GbBankAccountInitiateConfirmationOfPayeeParams {
286
- type BusinessType = 'business' | 'personal';
146
+ interface GbBankAccountUnarchiveParams {
287
147
  }
288
148
  }
289
149
  }
@@ -25,15 +25,6 @@ export class GbBankAccountResource extends StripeResource {
25
25
  retrieve(id, params, options) {
26
26
  return this._makeRequest('GET', `/v2/core/vault/gb_bank_accounts/${encodeURIComponent(id)}`, params, options);
27
27
  }
28
- /**
29
- * Confirm that you have received the result of the Confirmation of Payee request, and that you are okay with
30
- * proceeding to pay out to this bank account despite the account not matching, partially matching, or the service
31
- * being unavailable. Once you confirm this, you will be able to send OutboundPayments, but this may lead to
32
- * funds being sent to the wrong account, which we might not be able to recover.
33
- */
34
- acknowledgeConfirmationOfPayee(id, params, options) {
35
- return this._makeRequest('POST', `/v2/core/vault/gb_bank_accounts/${encodeURIComponent(id)}/acknowledge_confirmation_of_payee`, params, options);
36
- }
37
28
  /**
38
29
  * Archive a GBBankAccount object. Archived GBBankAccount objects cannot be used as outbound destinations
39
30
  * and will not appear in the outbound destination list.
@@ -44,13 +35,11 @@ export class GbBankAccountResource extends StripeResource {
44
35
  return this._makeRequest('POST', `/v2/core/vault/gb_bank_accounts/${encodeURIComponent(id)}/archive`, params, options);
45
36
  }
46
37
  /**
47
- * Initiate Confirmation of Payee (CoP) in order to verify that the owner of a UK bank account matches
48
- * who you expect. This must be done on all UK bank accounts before sending domestic OutboundPayments. If
49
- * the result is a partial match or a non match, explicit acknowledgement using AcknowledgeConfirmationOfPayee
50
- * is required before sending funds.
38
+ * Unarchive a GBBankAccount object.
39
+ * @throws Stripe.ControlledByAlternateResourceError
51
40
  */
52
- initiateConfirmationOfPayee(id, params, options) {
53
- return this._makeRequest('POST', `/v2/core/vault/gb_bank_accounts/${encodeURIComponent(id)}/initiate_confirmation_of_payee`, params, options);
41
+ unarchive(id, params, options) {
42
+ return this._makeRequest('POST', `/v2/core/vault/gb_bank_accounts/${encodeURIComponent(id)}/unarchive`, params, options);
54
43
  }
55
44
  }
56
45
  //# sourceMappingURL=GbBankAccounts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GbBankAccounts.js","sourceRoot":"","sources":["../../../../../src/resources/V2/Core/Vault/GbBankAccounts.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,+BAA+B,CAAC;AAI7D,MAAM,OAAO,qBAAsB,SAAQ,cAAc;IACvD;;OAEG;IACH,IAAI,CACF,MAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,iCAAiC,EACjC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;;;;;OAMG;IACH,MAAM,CACJ,MAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,iCAAiC,EACjC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,mCAAmC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC3D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;OAKG;IACH,8BAA8B,CAC5B,EAAU,EACV,MAAwE,EACxE,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,kBAAkB,CACnD,EAAE,CACH,oCAAoC,EACrC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;OAKG;IACH,OAAO,CACL,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,kBAAkB,CAAC,EAAE,CAAC,UAAU,EACnE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;OAKG;IACH,2BAA2B,CACzB,EAAU,EACV,MAAqE,EACrE,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,kBAAkB,CACnD,EAAE,CACH,iCAAiC,EAClC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
1
+ {"version":3,"file":"GbBankAccounts.js","sourceRoot":"","sources":["../../../../../src/resources/V2/Core/Vault/GbBankAccounts.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,+BAA+B,CAAC;AAG7D,MAAM,OAAO,qBAAsB,SAAQ,cAAc;IACvD;;OAEG;IACH,IAAI,CACF,MAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,iCAAiC,EACjC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;;;;;OAMG;IACH,MAAM,CACJ,MAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,iCAAiC,EACjC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,mCAAmC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC3D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;OAKG;IACH,OAAO,CACL,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,kBAAkB,CAAC,EAAE,CAAC,UAAU,EACnE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;OAGG;IACH,SAAS,CACP,EAAU,EACV,MAAmD,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,kBAAkB,CAAC,EAAE,CAAC,YAAY,EACrE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
@@ -1,5 +1,4 @@
1
1
  import { StripeResource } from '../../../../StripeResource.js';
2
- import { OtherString } from '../../../../shared.js';
3
2
  import { RequestOptions, V2ListPromise, Response } from '../../../../lib.js';
4
3
  export declare class UsBankAccountResource extends StripeResource {
5
4
  /**
@@ -45,8 +44,14 @@ export declare class UsBankAccountResource extends StripeResource {
45
44
  /**
46
45
  * Send microdeposits in order to verify your US Bank Account so it is eligible to transfer funds. This will start the verification process and you must Confirm Microdeposits to successfully verify your US Bank Account.
47
46
  * @throws Stripe.ControlledByAlternateResourceError
47
+ * @throws Stripe.CannotProceedError
48
48
  */
49
49
  sendMicrodeposits(id: string, params?: V2.Core.Vault.UsBankAccountSendMicrodepositsParams, options?: RequestOptions): Promise<Response<UsBankAccount>>;
50
+ /**
51
+ * Unarchive a USBankAccount object.
52
+ * @throws Stripe.ControlledByAlternateResourceError
53
+ */
54
+ unarchive(id: string, params?: V2.Core.Vault.UsBankAccountUnarchiveParams, options?: RequestOptions): Promise<Response<UsBankAccount>>;
50
55
  }
51
56
  export interface UsBankAccount {
52
57
  /**
@@ -57,10 +62,6 @@ export interface UsBankAccount {
57
62
  * String representing the object's type. Objects of the same type share the same value of the object field.
58
63
  */
59
64
  object: 'v2.core.vault.us_bank_account';
60
- /**
61
- * The alternative reference for this payout method, if it's a projected payout method.
62
- */
63
- alternative_reference?: UsBankAccount.AlternativeReference;
64
65
  /**
65
66
  * Whether this USBankAccount object was archived.
66
67
  */
@@ -111,16 +112,6 @@ export interface UsBankAccount {
111
112
  verification: UsBankAccount.Verification;
112
113
  }
113
114
  export declare namespace UsBankAccount {
114
- interface AlternativeReference {
115
- /**
116
- * The ID of the alternative resource being referenced.
117
- */
118
- id: string;
119
- /**
120
- * The type of the alternative reference (e.g., external_account for V1 external accounts).
121
- */
122
- type: AlternativeReference.Type;
123
- }
124
115
  type BankAccountType = 'checking' | 'savings';
125
116
  interface Verification {
126
117
  /**
@@ -132,9 +123,6 @@ export declare namespace UsBankAccount {
132
123
  */
133
124
  status: Verification.Status;
134
125
  }
135
- namespace AlternativeReference {
136
- type Type = 'external_account' | 'payment_method' | OtherString;
137
- }
138
126
  namespace Verification {
139
127
  interface MicrodepositVerificationDetails {
140
128
  /**
@@ -220,9 +208,12 @@ export declare namespace V2 {
220
208
  */
221
209
  limit?: number;
222
210
  /**
223
- * Optionally filter by verification status. Mutually exclusive with `unverified`, `verified`, `awaiting_verification`, and `verification_failed`.
211
+ * Closed Enum. Optionally filter by verification status.
224
212
  */
225
- verification_status?: string;
213
+ verification_status?: UsBankAccountListParams.VerificationStatus;
214
+ }
215
+ namespace UsBankAccountListParams {
216
+ type VerificationStatus = 'awaiting_verification' | 'unverified' | 'verification_failed' | 'verified';
226
217
  }
227
218
  }
228
219
  }
@@ -259,3 +250,11 @@ export declare namespace V2 {
259
250
  }
260
251
  }
261
252
  }
253
+ export declare namespace V2 {
254
+ namespace Core {
255
+ namespace Vault {
256
+ interface UsBankAccountUnarchiveParams {
257
+ }
258
+ }
259
+ }
260
+ }
@@ -58,9 +58,17 @@ export class UsBankAccountResource extends StripeResource {
58
58
  /**
59
59
  * Send microdeposits in order to verify your US Bank Account so it is eligible to transfer funds. This will start the verification process and you must Confirm Microdeposits to successfully verify your US Bank Account.
60
60
  * @throws Stripe.ControlledByAlternateResourceError
61
+ * @throws Stripe.CannotProceedError
61
62
  */
62
63
  sendMicrodeposits(id, params, options) {
63
64
  return this._makeRequest('POST', `/v2/core/vault/us_bank_accounts/${encodeURIComponent(id)}/send_microdeposits`, params, options);
64
65
  }
66
+ /**
67
+ * Unarchive a USBankAccount object.
68
+ * @throws Stripe.ControlledByAlternateResourceError
69
+ */
70
+ unarchive(id, params, options) {
71
+ return this._makeRequest('POST', `/v2/core/vault/us_bank_accounts/${encodeURIComponent(id)}/unarchive`, params, options);
72
+ }
65
73
  }
66
74
  //# sourceMappingURL=UsBankAccounts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UsBankAccounts.js","sourceRoot":"","sources":["../../../../../src/resources/V2/Core/Vault/UsBankAccounts.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,+BAA+B,CAAC;AAI7D,MAAM,OAAO,qBAAsB,SAAQ,cAAc;IACvD;;OAEG;IACH,IAAI,CACF,MAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,iCAAiC,EACjC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;;;;;OAMG;IACH,MAAM,CACJ,MAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,iCAAiC,EACjC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,mCAAmC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC3D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;;OAMG;IACH,MAAM,CACJ,EAAU,EACV,MAAgD,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC3D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;;OAMG;IACH,OAAO,CACL,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,kBAAkB,CAAC,EAAE,CAAC,UAAU,EACnE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;;OAMG;IACH,oBAAoB,CAClB,EAAU,EACV,MAA8D,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,kBAAkB,CACnD,EAAE,CACH,wBAAwB,EACzB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;OAGG;IACH,iBAAiB,CACf,EAAU,EACV,MAA2D,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,kBAAkB,CACnD,EAAE,CACH,qBAAqB,EACtB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
1
+ {"version":3,"file":"UsBankAccounts.js","sourceRoot":"","sources":["../../../../../src/resources/V2/Core/Vault/UsBankAccounts.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,+BAA+B,CAAC;AAG7D,MAAM,OAAO,qBAAsB,SAAQ,cAAc;IACvD;;OAEG;IACH,IAAI,CACF,MAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,iCAAiC,EACjC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;;;;;OAMG;IACH,MAAM,CACJ,MAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,iCAAiC,EACjC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,mCAAmC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC3D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;;OAMG;IACH,MAAM,CACJ,EAAU,EACV,MAAgD,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC3D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;;OAMG;IACH,OAAO,CACL,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,kBAAkB,CAAC,EAAE,CAAC,UAAU,EACnE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;;OAMG;IACH,oBAAoB,CAClB,EAAU,EACV,MAA8D,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,kBAAkB,CACnD,EAAE,CACH,wBAAwB,EACzB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;OAIG;IACH,iBAAiB,CACf,EAAU,EACV,MAA2D,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,kBAAkB,CACnD,EAAE,CACH,qBAAqB,EACtB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;OAGG;IACH,SAAS,CACP,EAAU,EACV,MAAmD,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,kBAAkB,CAAC,EAAE,CAAC,YAAY,EACrE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
@@ -13,9 +13,8 @@ export declare namespace Vault {
13
13
  export import GbBankAccountListParams = V2Namespace0.Core.Vault.GbBankAccountListParams;
14
14
  export import GbBankAccountCreateParams = V2Namespace0.Core.Vault.GbBankAccountCreateParams;
15
15
  export import GbBankAccountRetrieveParams = V2Namespace0.Core.Vault.GbBankAccountRetrieveParams;
16
- export import GbBankAccountAcknowledgeConfirmationOfPayeeParams = V2Namespace0.Core.Vault.GbBankAccountAcknowledgeConfirmationOfPayeeParams;
17
16
  export import GbBankAccountArchiveParams = V2Namespace0.Core.Vault.GbBankAccountArchiveParams;
18
- export import GbBankAccountInitiateConfirmationOfPayeeParams = V2Namespace0.Core.Vault.GbBankAccountInitiateConfirmationOfPayeeParams;
17
+ export import GbBankAccountUnarchiveParams = V2Namespace0.Core.Vault.GbBankAccountUnarchiveParams;
19
18
  export { GbBankAccount, GbBankAccountResource };
20
19
  export import UsBankAccountListParams = V2Namespace1.Core.Vault.UsBankAccountListParams;
21
20
  export import UsBankAccountCreateParams = V2Namespace1.Core.Vault.UsBankAccountCreateParams;
@@ -24,5 +23,6 @@ export declare namespace Vault {
24
23
  export import UsBankAccountArchiveParams = V2Namespace1.Core.Vault.UsBankAccountArchiveParams;
25
24
  export import UsBankAccountConfirmMicrodepositsParams = V2Namespace1.Core.Vault.UsBankAccountConfirmMicrodepositsParams;
26
25
  export import UsBankAccountSendMicrodepositsParams = V2Namespace1.Core.Vault.UsBankAccountSendMicrodepositsParams;
26
+ export import UsBankAccountUnarchiveParams = V2Namespace1.Core.Vault.UsBankAccountUnarchiveParams;
27
27
  export { UsBankAccount, UsBankAccountResource };
28
28
  }
@@ -2,18 +2,14 @@ import { Stripe } from '../../../stripe.core.js';
2
2
  import { V2 as V2Namespace0, Account, AccountResource } from './Accounts.js';
3
3
  import { V2 as V2Namespace1, AccountLink, AccountLinkResource } from './AccountLinks.js';
4
4
  import { V2 as V2Namespace2, AccountToken, AccountTokenResource } from './AccountTokens.js';
5
- import { V2 as V2Namespace3, ApprovalRequest, ApprovalRequestResource } from './ApprovalRequests.js';
6
- import { V2 as V2Namespace4, BatchJob, BatchJobResource } from './BatchJobs.js';
7
5
  import { EventBase, EventNotification, Event, Events, V2 as V2EventsNamespace, EventResource } from './Events.js';
8
- import { V2 as V2Namespace6, EventDestination, EventDestinationResource } from './EventDestinations.js';
6
+ import { V2 as V2Namespace4, EventDestination, EventDestinationResource } from './EventDestinations.js';
9
7
  import { AccountPersonToken } from './AccountPersonTokens.js';
10
8
  import { AccountPerson } from './AccountPersons.js';
11
9
  import { Vault } from './Vault/index.js';
12
10
  export { Account } from './Accounts.js';
13
11
  export { AccountLink } from './AccountLinks.js';
14
12
  export { AccountToken } from './AccountTokens.js';
15
- export { ApprovalRequest } from './ApprovalRequests.js';
16
- export { BatchJob } from './BatchJobs.js';
17
13
  export { Event } from './Events.js';
18
14
  export { EventDestination } from './EventDestinations.js';
19
15
  export { AccountPersonToken } from './AccountPersonTokens.js';
@@ -23,8 +19,6 @@ export declare class Core {
23
19
  accounts: AccountResource;
24
20
  accountLinks: AccountLinkResource;
25
21
  accountTokens: AccountTokenResource;
26
- approvalRequests: ApprovalRequestResource;
27
- batchJobs: BatchJobResource;
28
22
  events: EventResource;
29
23
  eventDestinations: EventDestinationResource;
30
24
  vault: Vault;
@@ -42,26 +36,17 @@ export declare namespace Core {
42
36
  export import AccountTokenCreateParams = V2Namespace2.Core.AccountTokenCreateParams;
43
37
  export import AccountTokenRetrieveParams = V2Namespace2.Core.AccountTokenRetrieveParams;
44
38
  export { AccountToken, AccountTokenResource };
45
- export import ApprovalRequestListParams = V2Namespace3.Core.ApprovalRequestListParams;
46
- export import ApprovalRequestRetrieveParams = V2Namespace3.Core.ApprovalRequestRetrieveParams;
47
- export import ApprovalRequestUpdateParams = V2Namespace3.Core.ApprovalRequestUpdateParams;
48
- export import ApprovalRequestCancelParams = V2Namespace3.Core.ApprovalRequestCancelParams;
49
- export { ApprovalRequest, ApprovalRequestResource };
50
- export import BatchJobCreateParams = V2Namespace4.Core.BatchJobCreateParams;
51
- export import BatchJobRetrieveParams = V2Namespace4.Core.BatchJobRetrieveParams;
52
- export import BatchJobCancelParams = V2Namespace4.Core.BatchJobCancelParams;
53
- export { BatchJob, BatchJobResource };
54
39
  export import EventListParams = V2EventsNamespace.Core.EventListParams;
55
40
  export import EventRetrieveParams = V2EventsNamespace.Core.EventRetrieveParams;
56
41
  export { EventBase, Event, EventNotification, Events, EventResource };
57
- export import EventDestinationListParams = V2Namespace6.Core.EventDestinationListParams;
58
- export import EventDestinationCreateParams = V2Namespace6.Core.EventDestinationCreateParams;
59
- export import EventDestinationDeleteParams = V2Namespace6.Core.EventDestinationDeleteParams;
60
- export import EventDestinationRetrieveParams = V2Namespace6.Core.EventDestinationRetrieveParams;
61
- export import EventDestinationUpdateParams = V2Namespace6.Core.EventDestinationUpdateParams;
62
- export import EventDestinationDisableParams = V2Namespace6.Core.EventDestinationDisableParams;
63
- export import EventDestinationEnableParams = V2Namespace6.Core.EventDestinationEnableParams;
64
- export import EventDestinationPingParams = V2Namespace6.Core.EventDestinationPingParams;
42
+ export import EventDestinationListParams = V2Namespace4.Core.EventDestinationListParams;
43
+ export import EventDestinationCreateParams = V2Namespace4.Core.EventDestinationCreateParams;
44
+ export import EventDestinationDeleteParams = V2Namespace4.Core.EventDestinationDeleteParams;
45
+ export import EventDestinationRetrieveParams = V2Namespace4.Core.EventDestinationRetrieveParams;
46
+ export import EventDestinationUpdateParams = V2Namespace4.Core.EventDestinationUpdateParams;
47
+ export import EventDestinationDisableParams = V2Namespace4.Core.EventDestinationDisableParams;
48
+ export import EventDestinationEnableParams = V2Namespace4.Core.EventDestinationEnableParams;
49
+ export import EventDestinationPingParams = V2Namespace4.Core.EventDestinationPingParams;
65
50
  export { EventDestination, EventDestinationResource };
66
51
  export { AccountPersonToken };
67
52
  export { AccountPerson };
@@ -2,8 +2,6 @@
2
2
  import { AccountResource } from './Accounts.js';
3
3
  import { AccountLinkResource, } from './AccountLinks.js';
4
4
  import { AccountTokenResource, } from './AccountTokens.js';
5
- import { ApprovalRequestResource, } from './ApprovalRequests.js';
6
- import { BatchJobResource } from './BatchJobs.js';
7
5
  import { EventResource, } from './Events.js';
8
6
  import { EventDestinationResource, } from './EventDestinations.js';
9
7
  import { Vault } from './Vault/index.js';
@@ -13,8 +11,6 @@ export class Core {
13
11
  this.accounts = new AccountResource(stripe);
14
12
  this.accountLinks = new AccountLinkResource(stripe);
15
13
  this.accountTokens = new AccountTokenResource(stripe);
16
- this.approvalRequests = new ApprovalRequestResource(stripe);
17
- this.batchJobs = new BatchJobResource(stripe);
18
14
  this.events = new EventResource(stripe);
19
15
  this.eventDestinations = new EventDestinationResource(stripe);
20
16
  this.vault = new Vault(stripe);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/V2/Core/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAGvC,OAAO,EAA8B,eAAe,EAAC,MAAM,eAAe,CAAC;AAC3E,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAGL,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAA+B,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAML,aAAa,GACd,MAAM,aAAa,CAAC;AACrB,OAAO,EAGL,wBAAwB,GACzB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAC,KAAK,EAAC,MAAM,kBAAkB,CAAC;AAYvC,MAAM,OAAO,IAAI;IAUf,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,QAAQ,GAAG,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;QAC5C,IAAI,CAAC,YAAY,GAAG,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,aAAa,GAAG,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC;QACtD,IAAI,CAAC,gBAAgB,GAAG,IAAI,uBAAuB,CAAC,MAAM,CAAC,CAAC;QAC5D,IAAI,CAAC,SAAS,GAAG,IAAI,gBAAgB,CAAC,MAAM,CAAC,CAAC;QAC9C,IAAI,CAAC,MAAM,GAAG,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC;QACxC,IAAI,CAAC,iBAAiB,GAAG,IAAI,wBAAwB,CAAC,MAAM,CAAC,CAAC;QAC9D,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;CACF"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/V2/Core/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAGvC,OAAO,EAA8B,eAAe,EAAC,MAAM,eAAe,CAAC;AAC3E,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAML,aAAa,GACd,MAAM,aAAa,CAAC;AACrB,OAAO,EAGL,wBAAwB,GACzB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAC,KAAK,EAAC,MAAM,kBAAkB,CAAC;AAUvC,MAAM,OAAO,IAAI;IAQf,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,QAAQ,GAAG,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;QAC5C,IAAI,CAAC,YAAY,GAAG,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,aAAa,GAAG,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC;QACtD,IAAI,CAAC,MAAM,GAAG,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC;QACxC,IAAI,CAAC,iBAAiB,GAAG,IAAI,wBAAwB,CAAC,MAAM,CAAC,CAAC;QAC9D,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;CACF"}
@@ -22,7 +22,10 @@ export interface Adjustment {
22
22
  */
23
23
  object: 'v2.money_management.adjustment';
24
24
  /**
25
- * If applicable, contains information about the original flow linked to this Adjustment.
25
+ * Details about the original flow object linked to this Adjustment, if applicable.
26
+ * `adjusted_flow.type` identifies the kind of object. The corresponding field contains its ID:
27
+ * for an InboundTransfer, `adjusted_flow.inbound_transfer` contains the InboundTransfer's ID.
28
+ * Pass that ID to the `adjusted_flow` parameter on List Adjustments.
26
29
  */
27
30
  adjusted_flow?: Adjustment.AdjustedFlow;
28
31
  /**
@@ -30,30 +33,27 @@ export interface Adjustment {
30
33
  */
31
34
  amount: V2Amount;
32
35
  /**
33
- * Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
36
+ * Time at which the object was created. Represented as an RFC 3339 timestamp in UTC with millisecond precision,
37
+ * for example `2022-09-18T13:22:18.123Z`.
34
38
  */
35
39
  created: string;
36
40
  /**
37
- * Description of the Adjustment and what it was used for.
41
+ * A description of the Adjustment and its purpose.
38
42
  */
39
43
  description?: string;
40
44
  /**
41
- * The FinancialAccount that this adjustment is for.
45
+ * The ID of the FinancialAccount whose balance this Adjustment affects.
42
46
  */
43
47
  financial_account: string;
44
48
  /**
45
49
  * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
46
50
  */
47
51
  livemode: boolean;
48
- /**
49
- * A link to the Stripe-hosted receipt that is provided when money movement is considered regulated under Stripe's money transmission licenses. The receipt link remains active for 60 days from the Adjustment creation date. After this period, the link will expire and the receipt url value will be null.
50
- */
51
- receipt_url?: string;
52
52
  }
53
53
  export declare namespace Adjustment {
54
54
  interface AdjustedFlow {
55
55
  /**
56
- * If applicable, the ID of the Adjustment linked to this Adjustment.
56
+ * If applicable, the ID of the original Adjustment linked to this Adjustment.
57
57
  */
58
58
  adjustment?: string;
59
59
  /**
@@ -82,7 +82,7 @@ export declare namespace Adjustment {
82
82
  type: AdjustedFlow.Type;
83
83
  }
84
84
  namespace AdjustedFlow {
85
- type Type = 'adjustment' | 'balance_exchange' | 'inbound_payment' | 'inbound_transfer' | 'outbound_payment' | 'outbound_transfer' | 'received_credit' | 'received_debit' | OtherString;
85
+ type Type = 'adjustment' | 'inbound_transfer' | 'outbound_payment' | 'outbound_transfer' | 'received_credit' | 'received_debit' | OtherString;
86
86
  }
87
87
  }
88
88
  export declare namespace V2 {
@@ -95,11 +95,12 @@ export declare namespace V2 {
95
95
  namespace MoneyManagement {
96
96
  interface AdjustmentListParams {
97
97
  /**
98
- * Filter for Adjustments linked to a Flow.
98
+ * Filter for Adjustments linked to a specific flow object. This filter only supports filtering by
99
+ * the flow object's ID, such as `ibt_123` for an InboundTransfer.
99
100
  */
100
101
  adjusted_flow?: string;
101
102
  /**
102
- * Set of filters to query Adjustments within a range of `created` timestamps.
103
+ * Filter for Adjustments by their creation time using `gt`, `gte`, `lt`, or `lte`.
103
104
  */
104
105
  created?: RangeQueryParam;
105
106
  /**