stripe 22.2.0-beta.3 → 22.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (868) hide show
  1. package/CHANGELOG.md +84 -1730
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +65 -57
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +0 -50
  6. package/cjs/Error.js +1 -125
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/RequestSender.d.ts +1 -0
  9. package/cjs/RequestSender.js +10 -2
  10. package/cjs/RequestSender.js.map +1 -1
  11. package/cjs/Types.d.ts +2 -4
  12. package/cjs/Types.js.map +1 -1
  13. package/cjs/apiVersion.d.ts +2 -1
  14. package/cjs/apiVersion.js +3 -2
  15. package/cjs/apiVersion.js.map +1 -1
  16. package/cjs/lib.d.ts +48 -3
  17. package/cjs/net/FetchHttpClient.js.map +1 -1
  18. package/cjs/net/HttpClient.js.map +1 -1
  19. package/cjs/platform/NodePlatformFunctions.d.ts +6 -0
  20. package/cjs/platform/NodePlatformFunctions.js +17 -0
  21. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  22. package/cjs/platform/PlatformFunctions.d.ts +13 -0
  23. package/cjs/platform/PlatformFunctions.js +21 -0
  24. package/cjs/platform/PlatformFunctions.js.map +1 -1
  25. package/cjs/resources/AccountLinks.d.ts +1 -1
  26. package/cjs/resources/AccountSessions.d.ts +0 -262
  27. package/cjs/resources/AccountSessions.js.map +1 -1
  28. package/cjs/resources/Accounts.d.ts +45 -819
  29. package/cjs/resources/Accounts.js +0 -15
  30. package/cjs/resources/Accounts.js.map +1 -1
  31. package/cjs/resources/Apps/index.d.ts +4 -4
  32. package/cjs/resources/Balance.d.ts +0 -67
  33. package/cjs/resources/BalanceSettings.d.ts +86 -0
  34. package/cjs/resources/BankAccounts.d.ts +2 -2
  35. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
  36. package/cjs/resources/Billing/index.d.ts +24 -27
  37. package/cjs/resources/Billing/index.js +0 -2
  38. package/cjs/resources/Billing/index.js.map +1 -1
  39. package/cjs/resources/BillingPortal/index.d.ts +5 -5
  40. package/cjs/resources/Capabilities.d.ts +2 -2
  41. package/cjs/resources/Cards.d.ts +0 -4
  42. package/cjs/resources/Charges.d.ts +92 -3064
  43. package/cjs/resources/Checkout/Sessions.d.ts +51 -414
  44. package/cjs/resources/Checkout/index.d.ts +6 -6
  45. package/cjs/resources/Climate/index.d.ts +9 -9
  46. package/cjs/resources/ConfirmationTokens.d.ts +7 -67
  47. package/cjs/resources/Coupons.d.ts +0 -47
  48. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  49. package/cjs/resources/CreditNotes.d.ts +1 -7
  50. package/cjs/resources/CreditNotes.js +0 -14
  51. package/cjs/resources/CreditNotes.js.map +1 -1
  52. package/cjs/resources/CustomerSessions.d.ts +0 -68
  53. package/cjs/resources/Customers.d.ts +1 -7
  54. package/cjs/resources/Customers.js +0 -15
  55. package/cjs/resources/Customers.js.map +1 -1
  56. package/cjs/resources/Discounts.d.ts +4 -4
  57. package/cjs/resources/Disputes.d.ts +0 -29
  58. package/cjs/resources/Entitlements/index.d.ts +6 -6
  59. package/cjs/resources/Events.d.ts +2 -547
  60. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  61. package/cjs/resources/ExternalAccounts.js +0 -44
  62. package/cjs/resources/ExternalAccounts.js.map +1 -1
  63. package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -74
  64. package/cjs/resources/FinancialConnections/Accounts.js +0 -8
  65. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  66. package/cjs/resources/FinancialConnections/Sessions.d.ts +7 -155
  67. package/cjs/resources/FinancialConnections/index.d.ts +13 -28
  68. package/cjs/resources/FinancialConnections/index.js +0 -4
  69. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  70. package/cjs/resources/Forwarding/index.d.ts +3 -3
  71. package/cjs/resources/Identity/index.d.ts +8 -8
  72. package/cjs/resources/InvoiceItems.d.ts +28 -85
  73. package/cjs/resources/InvoiceItems.js.map +1 -1
  74. package/cjs/resources/InvoiceLineItems.d.ts +2 -40
  75. package/cjs/resources/Invoices.d.ts +26 -1348
  76. package/cjs/resources/Invoices.js +0 -70
  77. package/cjs/resources/Invoices.js.map +1 -1
  78. package/cjs/resources/Issuing/Cardholders.d.ts +1 -2
  79. package/cjs/resources/Issuing/Disputes.d.ts +1 -1
  80. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
  81. package/cjs/resources/Issuing/Transactions.d.ts +0 -9
  82. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  83. package/cjs/resources/Issuing/index.d.ts +35 -60
  84. package/cjs/resources/Issuing/index.js +0 -6
  85. package/cjs/resources/Issuing/index.js.map +1 -1
  86. package/cjs/resources/LineItems.d.ts +2 -29
  87. package/cjs/resources/Mandates.d.ts +4 -33
  88. package/cjs/resources/Mandates.js +0 -8
  89. package/cjs/resources/Mandates.js.map +1 -1
  90. package/cjs/resources/OAuth.d.ts +7 -8
  91. package/cjs/resources/PaymentAttemptRecords.d.ts +23 -92
  92. package/cjs/resources/PaymentIntents.d.ts +6510 -17236
  93. package/cjs/resources/PaymentIntents.js +3 -28
  94. package/cjs/resources/PaymentIntents.js.map +1 -1
  95. package/cjs/resources/PaymentLinks.d.ts +88 -20
  96. package/cjs/resources/PaymentMethodConfigurations.d.ts +93 -299
  97. package/cjs/resources/PaymentMethods.d.ts +22 -152
  98. package/cjs/resources/PaymentMethods.js.map +1 -1
  99. package/cjs/resources/PaymentRecords.d.ts +23 -92
  100. package/cjs/resources/Payouts.d.ts +1 -1
  101. package/cjs/resources/Persons.d.ts +2 -2
  102. package/cjs/resources/Plans.d.ts +0 -16
  103. package/cjs/resources/Prices.d.ts +0 -52
  104. package/cjs/resources/Products.d.ts +0 -42
  105. package/cjs/resources/PromotionCodes.d.ts +0 -12
  106. package/cjs/resources/PromotionCodes.js +0 -28
  107. package/cjs/resources/PromotionCodes.js.map +1 -1
  108. package/cjs/resources/Quotes.d.ts +160 -2369
  109. package/cjs/resources/Quotes.js +13 -1181
  110. package/cjs/resources/Quotes.js.map +1 -1
  111. package/cjs/resources/Radar/PaymentEvaluations.d.ts +2 -2
  112. package/cjs/resources/Radar/index.d.ts +12 -12
  113. package/cjs/resources/Refunds.d.ts +3 -11
  114. package/cjs/resources/Reporting/index.d.ts +5 -5
  115. package/cjs/resources/Reserve/Holds.d.ts +1 -53
  116. package/cjs/resources/Reserve/Holds.js +0 -19
  117. package/cjs/resources/Reserve/Holds.js.map +1 -1
  118. package/cjs/resources/Reserve/Plans.d.ts +0 -16
  119. package/cjs/resources/Reserve/Plans.js +0 -11
  120. package/cjs/resources/Reserve/Plans.js.map +1 -1
  121. package/cjs/resources/Reserve/Releases.d.ts +1 -41
  122. package/cjs/resources/Reserve/Releases.js +0 -19
  123. package/cjs/resources/Reserve/Releases.js.map +1 -1
  124. package/cjs/resources/Reserve/index.d.ts +3 -14
  125. package/cjs/resources/Reserve/index.js +2 -10
  126. package/cjs/resources/Reserve/index.js.map +1 -1
  127. package/cjs/resources/SetupAttempts.d.ts +3 -25
  128. package/cjs/resources/SetupIntents.d.ts +77 -336
  129. package/cjs/resources/Sigma/index.d.ts +2 -2
  130. package/cjs/resources/Sources.d.ts +1 -16
  131. package/cjs/resources/SubscriptionItems.d.ts +4 -165
  132. package/cjs/resources/SubscriptionSchedules.d.ts +16 -1174
  133. package/cjs/resources/SubscriptionSchedules.js +0 -48
  134. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  135. package/cjs/resources/Subscriptions.d.ts +32 -490
  136. package/cjs/resources/Subscriptions.js +2 -31
  137. package/cjs/resources/Subscriptions.js.map +1 -1
  138. package/cjs/resources/Tax/CalculationLineItems.d.ts +2 -6
  139. package/cjs/resources/Tax/Calculations.d.ts +3 -7
  140. package/cjs/resources/Tax/Registrations.d.ts +2 -138
  141. package/cjs/resources/Tax/Transactions.d.ts +2 -2
  142. package/cjs/resources/Tax/index.d.ts +17 -31
  143. package/cjs/resources/Tax/index.js +0 -4
  144. package/cjs/resources/Tax/index.js.map +1 -1
  145. package/cjs/resources/TaxCodes.d.ts +0 -15
  146. package/cjs/resources/Terminal/Configurations.d.ts +108 -27
  147. package/cjs/resources/Terminal/Readers.d.ts +143 -19
  148. package/cjs/resources/Terminal/Readers.js.map +1 -1
  149. package/cjs/resources/Terminal/index.d.ts +25 -30
  150. package/cjs/resources/Terminal/index.js +0 -2
  151. package/cjs/resources/Terminal/index.js.map +1 -1
  152. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
  153. package/cjs/resources/TestHelpers/TestClocks.d.ts +4 -0
  154. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  155. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  156. package/cjs/resources/TestHelpers/index.d.ts +5 -8
  157. package/cjs/resources/TestHelpers/index.js +4 -6
  158. package/cjs/resources/TestHelpers/index.js.map +1 -1
  159. package/cjs/resources/Transfers.d.ts +0 -8
  160. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  161. package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
  162. package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
  163. package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
  164. package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
  165. package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
  166. package/cjs/resources/Treasury/index.d.ts +33 -33
  167. package/cjs/resources/V2/Billing/index.d.ts +6 -45
  168. package/cjs/resources/V2/Billing/index.js +0 -8
  169. package/cjs/resources/V2/Billing/index.js.map +1 -1
  170. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  171. package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
  172. package/cjs/resources/V2/Core/AccountTokens.d.ts +32 -14
  173. package/cjs/resources/V2/Core/AccountTokens.js +5 -1
  174. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  175. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  176. package/cjs/resources/V2/Core/Accounts.d.ts +233 -1171
  177. package/cjs/resources/V2/Core/Accounts.js +1 -1
  178. package/cjs/resources/V2/Core/EventDestinations.d.ts +2 -2
  179. package/cjs/resources/V2/Core/Events.d.ts +8 -1126
  180. package/cjs/resources/V2/Core/Events.js +2 -1
  181. package/cjs/resources/V2/Core/Events.js.map +1 -1
  182. package/cjs/resources/V2/Core/index.d.ts +19 -29
  183. package/cjs/resources/V2/Core/index.js +0 -4
  184. package/cjs/resources/V2/Core/index.js.map +1 -1
  185. package/cjs/resources/V2/index.d.ts +0 -27
  186. package/cjs/resources/V2/index.js +0 -14
  187. package/cjs/resources/V2/index.js.map +1 -1
  188. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  189. package/cjs/resources.d.ts +0 -10
  190. package/cjs/resources.js +10 -146
  191. package/cjs/resources.js.map +1 -1
  192. package/cjs/stripe.core.d.ts +29 -69
  193. package/cjs/stripe.core.js +44 -61
  194. package/cjs/stripe.core.js.map +1 -1
  195. package/cjs/utils.d.ts +0 -2
  196. package/cjs/utils.js +1 -16
  197. package/cjs/utils.js.map +1 -1
  198. package/esm/Error.d.ts +0 -50
  199. package/esm/Error.js +0 -109
  200. package/esm/Error.js.map +1 -1
  201. package/esm/RequestSender.d.ts +1 -0
  202. package/esm/RequestSender.js +11 -3
  203. package/esm/RequestSender.js.map +1 -1
  204. package/esm/Types.d.ts +2 -4
  205. package/esm/Types.js.map +1 -1
  206. package/esm/apiVersion.d.ts +2 -1
  207. package/esm/apiVersion.js +2 -1
  208. package/esm/apiVersion.js.map +1 -1
  209. package/esm/lib.d.ts +48 -3
  210. package/esm/net/FetchHttpClient.js.map +1 -1
  211. package/esm/net/HttpClient.js.map +1 -1
  212. package/esm/platform/NodePlatformFunctions.d.ts +6 -0
  213. package/esm/platform/NodePlatformFunctions.js +17 -0
  214. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  215. package/esm/platform/PlatformFunctions.d.ts +13 -0
  216. package/esm/platform/PlatformFunctions.js +21 -0
  217. package/esm/platform/PlatformFunctions.js.map +1 -1
  218. package/esm/resources/AccountLinks.d.ts +1 -1
  219. package/esm/resources/AccountSessions.d.ts +0 -262
  220. package/esm/resources/AccountSessions.js.map +1 -1
  221. package/esm/resources/Accounts.d.ts +45 -819
  222. package/esm/resources/Accounts.js +0 -15
  223. package/esm/resources/Accounts.js.map +1 -1
  224. package/esm/resources/Apps/index.d.ts +4 -4
  225. package/esm/resources/Balance.d.ts +0 -67
  226. package/esm/resources/BalanceSettings.d.ts +86 -0
  227. package/esm/resources/BankAccounts.d.ts +2 -2
  228. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
  229. package/esm/resources/Billing/index.d.ts +24 -27
  230. package/esm/resources/Billing/index.js +0 -2
  231. package/esm/resources/Billing/index.js.map +1 -1
  232. package/esm/resources/BillingPortal/index.d.ts +5 -5
  233. package/esm/resources/Capabilities.d.ts +2 -2
  234. package/esm/resources/Cards.d.ts +0 -4
  235. package/esm/resources/Charges.d.ts +92 -3064
  236. package/esm/resources/Checkout/Sessions.d.ts +51 -414
  237. package/esm/resources/Checkout/index.d.ts +6 -6
  238. package/esm/resources/Climate/index.d.ts +9 -9
  239. package/esm/resources/ConfirmationTokens.d.ts +7 -67
  240. package/esm/resources/Coupons.d.ts +0 -47
  241. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  242. package/esm/resources/CreditNotes.d.ts +1 -7
  243. package/esm/resources/CreditNotes.js +0 -14
  244. package/esm/resources/CreditNotes.js.map +1 -1
  245. package/esm/resources/CustomerSessions.d.ts +0 -68
  246. package/esm/resources/Customers.d.ts +1 -7
  247. package/esm/resources/Customers.js +0 -15
  248. package/esm/resources/Customers.js.map +1 -1
  249. package/esm/resources/Discounts.d.ts +4 -4
  250. package/esm/resources/Disputes.d.ts +0 -29
  251. package/esm/resources/Entitlements/index.d.ts +6 -6
  252. package/esm/resources/Events.d.ts +2 -547
  253. package/esm/resources/ExternalAccounts.d.ts +1 -212
  254. package/esm/resources/ExternalAccounts.js +1 -42
  255. package/esm/resources/ExternalAccounts.js.map +1 -1
  256. package/esm/resources/FinancialConnections/Accounts.d.ts +4 -74
  257. package/esm/resources/FinancialConnections/Accounts.js +0 -8
  258. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  259. package/esm/resources/FinancialConnections/Sessions.d.ts +7 -155
  260. package/esm/resources/FinancialConnections/index.d.ts +13 -28
  261. package/esm/resources/FinancialConnections/index.js +0 -4
  262. package/esm/resources/FinancialConnections/index.js.map +1 -1
  263. package/esm/resources/Forwarding/index.d.ts +3 -3
  264. package/esm/resources/Identity/index.d.ts +8 -8
  265. package/esm/resources/InvoiceItems.d.ts +28 -85
  266. package/esm/resources/InvoiceItems.js.map +1 -1
  267. package/esm/resources/InvoiceLineItems.d.ts +2 -40
  268. package/esm/resources/Invoices.d.ts +26 -1348
  269. package/esm/resources/Invoices.js +0 -70
  270. package/esm/resources/Invoices.js.map +1 -1
  271. package/esm/resources/Issuing/Cardholders.d.ts +1 -2
  272. package/esm/resources/Issuing/Disputes.d.ts +1 -1
  273. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
  274. package/esm/resources/Issuing/Transactions.d.ts +0 -9
  275. package/esm/resources/Issuing/Transactions.js.map +1 -1
  276. package/esm/resources/Issuing/index.d.ts +35 -60
  277. package/esm/resources/Issuing/index.js +0 -6
  278. package/esm/resources/Issuing/index.js.map +1 -1
  279. package/esm/resources/LineItems.d.ts +2 -29
  280. package/esm/resources/Mandates.d.ts +4 -33
  281. package/esm/resources/Mandates.js +0 -8
  282. package/esm/resources/Mandates.js.map +1 -1
  283. package/esm/resources/OAuth.d.ts +7 -8
  284. package/esm/resources/PaymentAttemptRecords.d.ts +23 -92
  285. package/esm/resources/PaymentIntents.d.ts +6510 -17236
  286. package/esm/resources/PaymentIntents.js +3 -28
  287. package/esm/resources/PaymentIntents.js.map +1 -1
  288. package/esm/resources/PaymentLinks.d.ts +88 -20
  289. package/esm/resources/PaymentMethodConfigurations.d.ts +93 -299
  290. package/esm/resources/PaymentMethods.d.ts +22 -152
  291. package/esm/resources/PaymentMethods.js.map +1 -1
  292. package/esm/resources/PaymentRecords.d.ts +23 -92
  293. package/esm/resources/Payouts.d.ts +1 -1
  294. package/esm/resources/Persons.d.ts +2 -2
  295. package/esm/resources/Plans.d.ts +0 -16
  296. package/esm/resources/Prices.d.ts +0 -52
  297. package/esm/resources/Products.d.ts +0 -42
  298. package/esm/resources/PromotionCodes.d.ts +0 -12
  299. package/esm/resources/PromotionCodes.js +0 -28
  300. package/esm/resources/PromotionCodes.js.map +1 -1
  301. package/esm/resources/Quotes.d.ts +160 -2369
  302. package/esm/resources/Quotes.js +13 -1181
  303. package/esm/resources/Quotes.js.map +1 -1
  304. package/esm/resources/Radar/PaymentEvaluations.d.ts +2 -2
  305. package/esm/resources/Radar/index.d.ts +12 -12
  306. package/esm/resources/Refunds.d.ts +3 -11
  307. package/esm/resources/Reporting/index.d.ts +5 -5
  308. package/esm/resources/Reserve/Holds.d.ts +1 -53
  309. package/esm/resources/Reserve/Holds.js +1 -17
  310. package/esm/resources/Reserve/Holds.js.map +1 -1
  311. package/esm/resources/Reserve/Plans.d.ts +0 -16
  312. package/esm/resources/Reserve/Plans.js +1 -9
  313. package/esm/resources/Reserve/Plans.js.map +1 -1
  314. package/esm/resources/Reserve/Releases.d.ts +1 -41
  315. package/esm/resources/Reserve/Releases.js +1 -17
  316. package/esm/resources/Reserve/Releases.js.map +1 -1
  317. package/esm/resources/Reserve/index.d.ts +3 -14
  318. package/esm/resources/Reserve/index.js +2 -10
  319. package/esm/resources/Reserve/index.js.map +1 -1
  320. package/esm/resources/SetupAttempts.d.ts +3 -25
  321. package/esm/resources/SetupIntents.d.ts +77 -336
  322. package/esm/resources/Sigma/index.d.ts +2 -2
  323. package/esm/resources/Sources.d.ts +1 -16
  324. package/esm/resources/SubscriptionItems.d.ts +4 -165
  325. package/esm/resources/SubscriptionSchedules.d.ts +16 -1174
  326. package/esm/resources/SubscriptionSchedules.js +0 -48
  327. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  328. package/esm/resources/Subscriptions.d.ts +32 -490
  329. package/esm/resources/Subscriptions.js +2 -31
  330. package/esm/resources/Subscriptions.js.map +1 -1
  331. package/esm/resources/Tax/CalculationLineItems.d.ts +2 -6
  332. package/esm/resources/Tax/Calculations.d.ts +3 -7
  333. package/esm/resources/Tax/Registrations.d.ts +2 -138
  334. package/esm/resources/Tax/Transactions.d.ts +2 -2
  335. package/esm/resources/Tax/index.d.ts +17 -31
  336. package/esm/resources/Tax/index.js +0 -4
  337. package/esm/resources/Tax/index.js.map +1 -1
  338. package/esm/resources/TaxCodes.d.ts +0 -15
  339. package/esm/resources/Terminal/Configurations.d.ts +108 -27
  340. package/esm/resources/Terminal/Readers.d.ts +143 -19
  341. package/esm/resources/Terminal/Readers.js.map +1 -1
  342. package/esm/resources/Terminal/index.d.ts +25 -30
  343. package/esm/resources/Terminal/index.js +0 -2
  344. package/esm/resources/Terminal/index.js.map +1 -1
  345. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
  346. package/esm/resources/TestHelpers/TestClocks.d.ts +4 -0
  347. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  348. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  349. package/esm/resources/TestHelpers/index.d.ts +5 -8
  350. package/esm/resources/TestHelpers/index.js +0 -2
  351. package/esm/resources/TestHelpers/index.js.map +1 -1
  352. package/esm/resources/Transfers.d.ts +0 -8
  353. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  354. package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
  355. package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
  356. package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
  357. package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
  358. package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
  359. package/esm/resources/Treasury/index.d.ts +33 -33
  360. package/esm/resources/V2/Billing/index.d.ts +6 -45
  361. package/esm/resources/V2/Billing/index.js +0 -8
  362. package/esm/resources/V2/Billing/index.js.map +1 -1
  363. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  364. package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
  365. package/esm/resources/V2/Core/AccountTokens.d.ts +32 -14
  366. package/esm/resources/V2/Core/AccountTokens.js +5 -1
  367. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  368. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  369. package/esm/resources/V2/Core/Accounts.d.ts +233 -1171
  370. package/esm/resources/V2/Core/Accounts.js +1 -1
  371. package/esm/resources/V2/Core/EventDestinations.d.ts +2 -2
  372. package/esm/resources/V2/Core/Events.d.ts +8 -1126
  373. package/esm/resources/V2/Core/Events.js +2 -1
  374. package/esm/resources/V2/Core/Events.js.map +1 -1
  375. package/esm/resources/V2/Core/index.d.ts +19 -29
  376. package/esm/resources/V2/Core/index.js +0 -4
  377. package/esm/resources/V2/Core/index.js.map +1 -1
  378. package/esm/resources/V2/index.d.ts +0 -27
  379. package/esm/resources/V2/index.js +0 -14
  380. package/esm/resources/V2/index.js.map +1 -1
  381. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  382. package/esm/resources.d.ts +0 -10
  383. package/esm/resources.js +0 -131
  384. package/esm/resources.js.map +1 -1
  385. package/esm/stripe.core.d.ts +29 -69
  386. package/esm/stripe.core.js +15 -32
  387. package/esm/stripe.core.js.map +1 -1
  388. package/esm/stripe.esm.node.d.ts +29 -70
  389. package/esm/stripe.esm.node.js +15 -32
  390. package/esm/stripe.esm.node.js.map +1 -1
  391. package/esm/utils.d.ts +0 -2
  392. package/esm/utils.js +0 -13
  393. package/esm/utils.js.map +1 -1
  394. package/package.json +1 -1
  395. package/cjs/StripeEventNotificationHandler.d.ts +0 -22
  396. package/cjs/StripeEventNotificationHandler.js +0 -147
  397. package/cjs/StripeEventNotificationHandler.js.map +0 -1
  398. package/cjs/resources/AccountNotices.d.ts +0 -140
  399. package/cjs/resources/AccountNotices.js +0 -29
  400. package/cjs/resources/AccountNotices.js.map +0 -1
  401. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  402. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  403. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  404. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  405. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  406. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  407. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  408. package/cjs/resources/Billing/Analytics/index.js +0 -13
  409. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  410. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
  411. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  412. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  413. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
  414. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  415. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  416. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
  417. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  418. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  419. package/cjs/resources/Capital/index.d.ts +0 -25
  420. package/cjs/resources/Capital/index.js +0 -17
  421. package/cjs/resources/Capital/index.js.map +0 -1
  422. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  423. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  424. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  425. package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
  426. package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
  427. package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
  428. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
  429. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  430. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  431. package/cjs/resources/FxQuotes.d.ts +0 -212
  432. package/cjs/resources/FxQuotes.js +0 -29
  433. package/cjs/resources/FxQuotes.js.map +0 -1
  434. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  435. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
  436. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  437. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  438. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  439. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  440. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  441. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  442. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  443. package/cjs/resources/Issuing/Settlements.d.ts +0 -85
  444. package/cjs/resources/Issuing/Settlements.js +0 -4
  445. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  446. package/cjs/resources/Margins.d.ts +0 -115
  447. package/cjs/resources/Margins.js +0 -35
  448. package/cjs/resources/Margins.js.map +0 -1
  449. package/cjs/resources/Orders.d.ts +0 -4693
  450. package/cjs/resources/Orders.js +0 -457
  451. package/cjs/resources/Orders.js.map +0 -1
  452. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  453. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  454. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  455. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
  456. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  457. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  458. package/cjs/resources/Privacy/index.d.ts +0 -22
  459. package/cjs/resources/Privacy/index.js +0 -13
  460. package/cjs/resources/Privacy/index.js.map +0 -1
  461. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  462. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
  463. package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
  464. package/cjs/resources/ProductCatalog/index.d.ts +0 -12
  465. package/cjs/resources/ProductCatalog/index.js +0 -13
  466. package/cjs/resources/ProductCatalog/index.js.map +0 -1
  467. package/cjs/resources/QuoteLines.d.ts +0 -507
  468. package/cjs/resources/QuoteLines.js +0 -4
  469. package/cjs/resources/QuoteLines.js.map +0 -1
  470. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1116
  471. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  472. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  473. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
  474. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  475. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  476. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
  477. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  478. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  479. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  480. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  481. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  482. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  483. package/cjs/resources/SharedPayment/index.js +0 -15
  484. package/cjs/resources/SharedPayment/index.js.map +0 -1
  485. package/cjs/resources/Tax/Forms.d.ts +0 -230
  486. package/cjs/resources/Tax/Forms.js +0 -32
  487. package/cjs/resources/Tax/Forms.js.map +0 -1
  488. package/cjs/resources/Tax/Locations.d.ts +0 -108
  489. package/cjs/resources/Tax/Locations.js +0 -33
  490. package/cjs/resources/Tax/Locations.js.map +0 -1
  491. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  492. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  493. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  494. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  495. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  496. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  497. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  498. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  499. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  500. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  501. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  502. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  503. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  504. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  505. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  506. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
  507. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  508. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  509. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -951
  510. package/cjs/resources/V2/Billing/Cadences.js +0 -198
  511. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  512. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  513. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  514. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  515. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  516. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  517. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  518. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  519. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  520. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  521. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
  522. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  523. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  524. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
  525. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  526. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  527. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  528. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  529. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  530. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  531. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
  532. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  533. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  534. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  535. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  536. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  537. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  538. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  539. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  540. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  541. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  542. package/cjs/resources/V2/Data/index.d.ts +0 -10
  543. package/cjs/resources/V2/Data/index.js +0 -13
  544. package/cjs/resources/V2/Data/index.js.map +0 -1
  545. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  546. package/cjs/resources/V2/EventMisc.js +0 -2
  547. package/cjs/resources/V2/EventMisc.js.map +0 -1
  548. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  549. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  550. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  551. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
  552. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  553. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  554. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  555. package/cjs/resources/V2/Extend/index.js +0 -15
  556. package/cjs/resources/V2/Extend/index.js.map +0 -1
  557. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  558. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  559. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  560. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  561. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  562. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  563. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -204
  564. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -17
  565. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  566. package/cjs/resources/V2/Iam/index.d.ts +0 -12
  567. package/cjs/resources/V2/Iam/index.js +0 -13
  568. package/cjs/resources/V2/Iam/index.js.map +0 -1
  569. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  570. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  571. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  572. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  573. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
  574. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  575. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  576. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  577. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  578. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  579. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  580. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  581. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  582. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  583. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  584. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  585. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  586. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  587. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
  588. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  589. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  590. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  591. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  592. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  593. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  594. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
  595. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  596. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  597. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  598. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  599. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
  600. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  601. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  602. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  603. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  604. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  605. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  606. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  607. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  608. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  609. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
  610. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  611. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
  612. package/cjs/resources/V2/MoneyManagement/index.js +0 -39
  613. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  614. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  615. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  616. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  617. package/cjs/resources/V2/Network/index.d.ts +0 -13
  618. package/cjs/resources/V2/Network/index.js +0 -13
  619. package/cjs/resources/V2/Network/index.js.map +0 -1
  620. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  621. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  622. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  623. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  624. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  625. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  626. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  627. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  628. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  629. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
  630. package/cjs/resources/V2/TestHelpers/index.js +0 -13
  631. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  632. package/esm/StripeEventNotificationHandler.d.ts +0 -22
  633. package/esm/StripeEventNotificationHandler.js +0 -143
  634. package/esm/StripeEventNotificationHandler.js.map +0 -1
  635. package/esm/resources/AccountNotices.d.ts +0 -140
  636. package/esm/resources/AccountNotices.js +0 -25
  637. package/esm/resources/AccountNotices.js.map +0 -1
  638. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  639. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  640. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  641. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  642. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  643. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  644. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  645. package/esm/resources/Billing/Analytics/index.js +0 -9
  646. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  647. package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
  648. package/esm/resources/Capital/FinancingOffers.js +0 -26
  649. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  650. package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
  651. package/esm/resources/Capital/FinancingSummary.js +0 -11
  652. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  653. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
  654. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  655. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  656. package/esm/resources/Capital/index.d.ts +0 -25
  657. package/esm/resources/Capital/index.js +0 -13
  658. package/esm/resources/Capital/index.js.map +0 -1
  659. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  660. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  661. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  662. package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
  663. package/esm/resources/FinancialConnections/Authorizations.js +0 -11
  664. package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
  665. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
  666. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  667. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  668. package/esm/resources/FxQuotes.d.ts +0 -212
  669. package/esm/resources/FxQuotes.js +0 -25
  670. package/esm/resources/FxQuotes.js.map +0 -1
  671. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  672. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
  673. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  674. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  675. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  676. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  677. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  678. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  679. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  680. package/esm/resources/Issuing/Settlements.d.ts +0 -85
  681. package/esm/resources/Issuing/Settlements.js +0 -3
  682. package/esm/resources/Issuing/Settlements.js.map +0 -1
  683. package/esm/resources/Margins.d.ts +0 -115
  684. package/esm/resources/Margins.js +0 -31
  685. package/esm/resources/Margins.js.map +0 -1
  686. package/esm/resources/Orders.d.ts +0 -4693
  687. package/esm/resources/Orders.js +0 -453
  688. package/esm/resources/Orders.js.map +0 -1
  689. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  690. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  691. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  692. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
  693. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  694. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  695. package/esm/resources/Privacy/index.d.ts +0 -22
  696. package/esm/resources/Privacy/index.js +0 -9
  697. package/esm/resources/Privacy/index.js.map +0 -1
  698. package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  699. package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
  700. package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
  701. package/esm/resources/ProductCatalog/index.d.ts +0 -12
  702. package/esm/resources/ProductCatalog/index.js +0 -9
  703. package/esm/resources/ProductCatalog/index.js.map +0 -1
  704. package/esm/resources/QuoteLines.d.ts +0 -507
  705. package/esm/resources/QuoteLines.js +0 -3
  706. package/esm/resources/QuoteLines.js.map +0 -1
  707. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1116
  708. package/esm/resources/QuotePreviewInvoices.js +0 -3
  709. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  710. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
  711. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  712. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  713. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
  714. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  715. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  716. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  717. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  718. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  719. package/esm/resources/SharedPayment/index.d.ts +0 -19
  720. package/esm/resources/SharedPayment/index.js +0 -11
  721. package/esm/resources/SharedPayment/index.js.map +0 -1
  722. package/esm/resources/Tax/Forms.d.ts +0 -230
  723. package/esm/resources/Tax/Forms.js +0 -28
  724. package/esm/resources/Tax/Forms.js.map +0 -1
  725. package/esm/resources/Tax/Locations.d.ts +0 -108
  726. package/esm/resources/Tax/Locations.js +0 -29
  727. package/esm/resources/Tax/Locations.js.map +0 -1
  728. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  729. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  730. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  731. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  732. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  733. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  734. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  735. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  736. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  737. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  738. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  739. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  740. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  741. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  742. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  743. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
  744. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  745. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  746. package/esm/resources/V2/Billing/Cadences.d.ts +0 -951
  747. package/esm/resources/V2/Billing/Cadences.js +0 -194
  748. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  749. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  750. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  751. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  752. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  753. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  754. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  755. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  756. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  757. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  758. package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
  759. package/esm/resources/V2/Billing/Profiles.js +0 -31
  760. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  761. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
  762. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  763. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  764. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  765. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  766. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  767. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  768. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
  769. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  770. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  771. package/esm/resources/V2/Core/Vault/index.js +0 -11
  772. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  773. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  774. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  775. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  776. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  777. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  778. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  779. package/esm/resources/V2/Data/index.d.ts +0 -10
  780. package/esm/resources/V2/Data/index.js +0 -9
  781. package/esm/resources/V2/Data/index.js.map +0 -1
  782. package/esm/resources/V2/EventMisc.d.ts +0 -0
  783. package/esm/resources/V2/EventMisc.js +0 -2
  784. package/esm/resources/V2/EventMisc.js.map +0 -1
  785. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  786. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  787. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  788. package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
  789. package/esm/resources/V2/Extend/Workflows.js +0 -26
  790. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  791. package/esm/resources/V2/Extend/index.d.ts +0 -20
  792. package/esm/resources/V2/Extend/index.js +0 -11
  793. package/esm/resources/V2/Extend/index.js.map +0 -1
  794. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  795. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  796. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  797. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  798. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  799. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  800. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -204
  801. package/esm/resources/V2/Iam/ActivityLogs.js +0 -13
  802. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  803. package/esm/resources/V2/Iam/index.d.ts +0 -12
  804. package/esm/resources/V2/Iam/index.js +0 -9
  805. package/esm/resources/V2/Iam/index.js.map +0 -1
  806. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  807. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  808. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  809. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  810. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
  811. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  812. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  813. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  814. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  815. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  816. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  817. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  818. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  819. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  820. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  821. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  822. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  823. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  824. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
  825. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  826. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  827. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  828. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  829. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  830. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  831. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
  832. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  833. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  834. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  835. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  836. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
  837. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  838. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  839. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  840. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  841. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  842. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  843. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  844. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  845. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  846. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
  847. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  848. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
  849. package/esm/resources/V2/MoneyManagement/index.js +0 -35
  850. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  851. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  852. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  853. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  854. package/esm/resources/V2/Network/index.d.ts +0 -13
  855. package/esm/resources/V2/Network/index.js +0 -9
  856. package/esm/resources/V2/Network/index.js.map +0 -1
  857. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  858. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  859. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  860. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  861. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  862. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  863. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  864. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  865. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  866. package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
  867. package/esm/resources/V2/TestHelpers/index.js +0 -9
  868. package/esm/resources/V2/TestHelpers/index.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"TransactionEntries.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/TransactionEntries.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAI1D,MAAM,OAAO,wBAAyB,SAAQ,cAAc;IAC1D;;OAEG;IACH,IAAI,CACF,MAAsD,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,0CAA0C,EAC1C,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAA0D,EAC1D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,4CAA4C,EAAE,EAAE,EAChD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
@@ -1,196 +0,0 @@
1
- import { StripeResource } from '../../../StripeResource.js';
2
- import { V2Amount } from './../V2Amounts.js';
3
- import { RequestOptions, ApiListPromise, Response } from '../../../lib.js';
4
- export declare class TransactionResource extends StripeResource {
5
- /**
6
- * Returns a list of Transactions that match the provided filters.
7
- */
8
- list(params?: V2.MoneyManagement.TransactionListParams, options?: RequestOptions): ApiListPromise<Transaction>;
9
- /**
10
- * Retrieves the details of a Transaction by ID.
11
- */
12
- retrieve(id: string, params?: V2.MoneyManagement.TransactionRetrieveParams, options?: RequestOptions): Promise<Response<Transaction>>;
13
- }
14
- export interface Transaction {
15
- /**
16
- * Unique identifier for the object.
17
- */
18
- id: string;
19
- /**
20
- * String representing the object's type. Objects of the same type share the same value of the object field.
21
- */
22
- object: 'v2.money_management.transaction';
23
- /**
24
- * The amount of the Transaction.
25
- */
26
- amount: V2Amount;
27
- /**
28
- * The delta to the FinancialAccount's balance. The balance_impact for the Transaction is equal to sum of its
29
- * TransactionEntries that have `effective_at`s in the past.
30
- */
31
- balance_impact: V2.MoneyManagement.Transaction.BalanceImpact;
32
- /**
33
- * Open Enum. A descriptive category used to classify the Transaction.
34
- */
35
- category: V2.MoneyManagement.Transaction.Category;
36
- /**
37
- * Counterparty to this Transaction.
38
- */
39
- counterparty?: V2.MoneyManagement.Transaction.Counterparty;
40
- /**
41
- * 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.
42
- */
43
- created: string;
44
- /**
45
- * Description of this Transaction. When applicable, the description is copied from the Flow object at the time
46
- * of transaction creation.
47
- */
48
- description?: string;
49
- /**
50
- * Indicates the FinancialAccount affected by this Transaction.
51
- */
52
- financial_account: string;
53
- /**
54
- * Details about the Flow object that created the Transaction.
55
- */
56
- flow?: V2.MoneyManagement.Transaction.Flow;
57
- /**
58
- * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
59
- */
60
- livemode: boolean;
61
- /**
62
- * Closed Enum. Current status of the Transaction.
63
- * A Transaction is `pending` if either `balance_impact.inbound_pending` or `balance_impact.outbound_pending` is non-zero.
64
- * A Transaction is `posted` if only `balance_impact.available` is non-zero.
65
- * A Transaction is `void` if there is no balance impact.
66
- * `posted` and `void` are terminal states, and no additional entries will be added to the Transaction.
67
- */
68
- status: V2.MoneyManagement.Transaction.Status;
69
- /**
70
- * Timestamps for when the Transaction transitioned to a particular status.
71
- */
72
- status_transitions: V2.MoneyManagement.Transaction.StatusTransitions;
73
- }
74
- export declare namespace V2 {
75
- namespace MoneyManagement {
76
- namespace Transaction {
77
- interface BalanceImpact {
78
- /**
79
- * Impact to the available balance.
80
- */
81
- available: V2Amount;
82
- /**
83
- * Impact to the inbound_pending balance.
84
- */
85
- inbound_pending: V2Amount;
86
- /**
87
- * Impact to the outbound_pending balance.
88
- */
89
- outbound_pending: V2Amount;
90
- }
91
- type Category = 'adjustment' | 'currency_conversion' | 'inbound_transfer' | 'inbound_transfer_reversal' | 'outbound_payment' | 'outbound_payment_reversal' | 'outbound_transfer' | 'outbound_transfer_reversal' | 'received_credit' | 'received_credit_reversal' | 'received_debit' | 'received_debit_reversal' | 'stripe_fee' | 'stripe_fee_tax';
92
- interface Counterparty {
93
- /**
94
- * Name of the counterparty.
95
- */
96
- name?: string;
97
- }
98
- interface Flow {
99
- /**
100
- * If applicable, the ID of the Adjustment that created this Transaction.
101
- */
102
- adjustment?: string;
103
- /**
104
- * In the future, this will be the ID of the currency conversion that created this Transaction. For now, this field is always null.
105
- */
106
- currency_conversion?: string;
107
- /**
108
- * If applicable, the ID of the FeeTransaction that created this Transaction.
109
- */
110
- fee_transaction?: string;
111
- /**
112
- * If applicable, the ID of the InboundTransfer that created this Transaction.
113
- */
114
- inbound_transfer?: string;
115
- /**
116
- * If applicable, the ID of the OutboundPayment that created this Transaction.
117
- */
118
- outbound_payment?: string;
119
- /**
120
- * If applicable, the ID of the OutboundTransfer that created this Transaction.
121
- */
122
- outbound_transfer?: string;
123
- /**
124
- * If applicable, the ID of the ReceivedCredit that created this Transaction.
125
- */
126
- received_credit?: string;
127
- /**
128
- * If applicable, the ID of the ReceivedDebit that created this Transaction.
129
- */
130
- received_debit?: string;
131
- /**
132
- * Open Enum. Type of the flow that created the Transaction. The field matching this value will contain the ID of the flow.
133
- */
134
- type: Flow.Type;
135
- }
136
- type Status = 'pending' | 'posted' | 'void';
137
- interface StatusTransitions {
138
- /**
139
- * The time at which the Transaction became posted. Only present if status == posted.
140
- */
141
- posted_at?: string;
142
- /**
143
- * The time at which the Transaction became void. Only present if status == void.
144
- */
145
- void_at?: string;
146
- }
147
- namespace Flow {
148
- type Type = 'adjustment' | 'currency_conversion' | 'fee_transaction' | 'inbound_transfer' | 'outbound_payment' | 'outbound_transfer' | 'received_credit' | 'received_debit';
149
- }
150
- }
151
- }
152
- }
153
- export declare namespace V2 {
154
- namespace MoneyManagement {
155
- interface TransactionRetrieveParams {
156
- }
157
- }
158
- }
159
- export declare namespace V2 {
160
- namespace MoneyManagement {
161
- interface TransactionListParams {
162
- /**
163
- * Filter for Transactions created at an exact time.
164
- */
165
- created?: string;
166
- /**
167
- * Filter for Transactions created after the specified timestamp.
168
- */
169
- created_gt?: string;
170
- /**
171
- * Filter for Transactions created at or after the specified timestamp.
172
- */
173
- created_gte?: string;
174
- /**
175
- * Filter for Transactions created before the specified timestamp.
176
- */
177
- created_lt?: string;
178
- /**
179
- * Filter for Transactions created at or before the specified timestamp.
180
- */
181
- created_lte?: string;
182
- /**
183
- * Filter for Transactions belonging to a FinancialAccount.
184
- */
185
- financial_account?: string;
186
- /**
187
- * Filter for Transactions corresponding to a Flow.
188
- */
189
- flow?: string;
190
- /**
191
- * The page limit.
192
- */
193
- limit?: number;
194
- }
195
- }
196
- }
@@ -1,19 +0,0 @@
1
- // File generated from our OpenAPI spec
2
- import { StripeResource } from '../../../StripeResource.js';
3
- export class TransactionResource extends StripeResource {
4
- /**
5
- * Returns a list of Transactions that match the provided filters.
6
- */
7
- list(params, options) {
8
- return this._makeRequest('GET', '/v2/money_management/transactions', params, options, {
9
- methodType: 'list',
10
- });
11
- }
12
- /**
13
- * Retrieves the details of a Transaction by ID.
14
- */
15
- retrieve(id, params, options) {
16
- return this._makeRequest('GET', `/v2/money_management/transactions/${id}`, params, options);
17
- }
18
- }
19
- //# sourceMappingURL=Transactions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Transactions.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/Transactions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAI1D,MAAM,OAAO,mBAAoB,SAAQ,cAAc;IACrD;;OAEG;IACH,IAAI,CACF,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,mCAAmC,EACnC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAqD,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,qCAAqC,EAAE,EAAE,EACzC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
@@ -1,104 +0,0 @@
1
- import { Stripe } from '../../../stripe.core.js';
2
- import { V2 as V2Namespace0, Adjustment, AdjustmentResource } from './Adjustments.js';
3
- import { V2 as V2Namespace1, FinancialAccount, FinancialAccountResource } from './FinancialAccounts.js';
4
- import { V2 as V2Namespace2, FinancialAddress, FinancialAddressResource } from './FinancialAddresses.js';
5
- import { V2 as V2Namespace3, InboundTransfer, InboundTransferResource } from './InboundTransfers.js';
6
- import { V2 as V2Namespace4, OutboundPayment, OutboundPaymentResource } from './OutboundPayments.js';
7
- import { V2 as V2Namespace5, OutboundPaymentQuote, OutboundPaymentQuoteResource } from './OutboundPaymentQuotes.js';
8
- import { V2 as V2Namespace6, OutboundSetupIntent, OutboundSetupIntentResource } from './OutboundSetupIntents.js';
9
- import { V2 as V2Namespace7, OutboundTransfer, OutboundTransferResource } from './OutboundTransfers.js';
10
- import { V2 as V2Namespace8, PayoutMethod, PayoutMethodResource } from './PayoutMethods.js';
11
- import { V2 as V2Namespace9, PayoutMethodsBankAccountSpec, PayoutMethodsBankAccountSpecResource } from './PayoutMethodsBankAccountSpec.js';
12
- import { V2 as V2Namespace10, ReceivedCredit, ReceivedCreditResource } from './ReceivedCredits.js';
13
- import { V2 as V2Namespace11, ReceivedDebit, ReceivedDebitResource } from './ReceivedDebits.js';
14
- import { V2 as V2Namespace12, Transaction, TransactionResource } from './Transactions.js';
15
- import { V2 as V2Namespace13, TransactionEntry, TransactionEntryResource } from './TransactionEntries.js';
16
- export { Adjustment } from './Adjustments.js';
17
- export { FinancialAccount } from './FinancialAccounts.js';
18
- export { FinancialAddress } from './FinancialAddresses.js';
19
- export { InboundTransfer } from './InboundTransfers.js';
20
- export { OutboundPayment } from './OutboundPayments.js';
21
- export { OutboundPaymentQuote } from './OutboundPaymentQuotes.js';
22
- export { OutboundSetupIntent } from './OutboundSetupIntents.js';
23
- export { OutboundTransfer } from './OutboundTransfers.js';
24
- export { PayoutMethod } from './PayoutMethods.js';
25
- export { PayoutMethodsBankAccountSpec } from './PayoutMethodsBankAccountSpec.js';
26
- export { ReceivedCredit } from './ReceivedCredits.js';
27
- export { ReceivedDebit } from './ReceivedDebits.js';
28
- export { Transaction } from './Transactions.js';
29
- export { TransactionEntry } from './TransactionEntries.js';
30
- export declare class MoneyManagement {
31
- private readonly stripe;
32
- adjustments: AdjustmentResource;
33
- financialAccounts: FinancialAccountResource;
34
- financialAddresses: FinancialAddressResource;
35
- inboundTransfers: InboundTransferResource;
36
- outboundPayments: OutboundPaymentResource;
37
- outboundPaymentQuotes: OutboundPaymentQuoteResource;
38
- outboundSetupIntents: OutboundSetupIntentResource;
39
- outboundTransfers: OutboundTransferResource;
40
- payoutMethods: PayoutMethodResource;
41
- payoutMethodsBankAccountSpecs: PayoutMethodsBankAccountSpecResource;
42
- receivedCredits: ReceivedCreditResource;
43
- receivedDebits: ReceivedDebitResource;
44
- transactions: TransactionResource;
45
- transactionEntries: TransactionEntryResource;
46
- constructor(stripe: Stripe);
47
- }
48
- export declare namespace MoneyManagement {
49
- export type AdjustmentListParams = V2Namespace0.MoneyManagement.AdjustmentListParams;
50
- export type AdjustmentRetrieveParams = V2Namespace0.MoneyManagement.AdjustmentRetrieveParams;
51
- export { Adjustment };
52
- export type FinancialAccountListParams = V2Namespace1.MoneyManagement.FinancialAccountListParams;
53
- export type FinancialAccountCreateParams = V2Namespace1.MoneyManagement.FinancialAccountCreateParams;
54
- export type FinancialAccountRetrieveParams = V2Namespace1.MoneyManagement.FinancialAccountRetrieveParams;
55
- export type FinancialAccountUpdateParams = V2Namespace1.MoneyManagement.FinancialAccountUpdateParams;
56
- export type FinancialAccountCloseParams = V2Namespace1.MoneyManagement.FinancialAccountCloseParams;
57
- export { FinancialAccount };
58
- export type FinancialAddressListParams = V2Namespace2.MoneyManagement.FinancialAddressListParams;
59
- export type FinancialAddressCreateParams = V2Namespace2.MoneyManagement.FinancialAddressCreateParams;
60
- export type FinancialAddressRetrieveParams = V2Namespace2.MoneyManagement.FinancialAddressRetrieveParams;
61
- export { FinancialAddress };
62
- export type InboundTransferListParams = V2Namespace3.MoneyManagement.InboundTransferListParams;
63
- export type InboundTransferCreateParams = V2Namespace3.MoneyManagement.InboundTransferCreateParams;
64
- export type InboundTransferRetrieveParams = V2Namespace3.MoneyManagement.InboundTransferRetrieveParams;
65
- export { InboundTransfer };
66
- export type OutboundPaymentListParams = V2Namespace4.MoneyManagement.OutboundPaymentListParams;
67
- export type OutboundPaymentCreateParams = V2Namespace4.MoneyManagement.OutboundPaymentCreateParams;
68
- export type OutboundPaymentRetrieveParams = V2Namespace4.MoneyManagement.OutboundPaymentRetrieveParams;
69
- export type OutboundPaymentCancelParams = V2Namespace4.MoneyManagement.OutboundPaymentCancelParams;
70
- export { OutboundPayment };
71
- export type OutboundPaymentQuoteCreateParams = V2Namespace5.MoneyManagement.OutboundPaymentQuoteCreateParams;
72
- export type OutboundPaymentQuoteRetrieveParams = V2Namespace5.MoneyManagement.OutboundPaymentQuoteRetrieveParams;
73
- export { OutboundPaymentQuote };
74
- export type OutboundSetupIntentListParams = V2Namespace6.MoneyManagement.OutboundSetupIntentListParams;
75
- export type OutboundSetupIntentCreateParams = V2Namespace6.MoneyManagement.OutboundSetupIntentCreateParams;
76
- export type OutboundSetupIntentRetrieveParams = V2Namespace6.MoneyManagement.OutboundSetupIntentRetrieveParams;
77
- export type OutboundSetupIntentUpdateParams = V2Namespace6.MoneyManagement.OutboundSetupIntentUpdateParams;
78
- export type OutboundSetupIntentCancelParams = V2Namespace6.MoneyManagement.OutboundSetupIntentCancelParams;
79
- export { OutboundSetupIntent };
80
- export type OutboundTransferListParams = V2Namespace7.MoneyManagement.OutboundTransferListParams;
81
- export type OutboundTransferCreateParams = V2Namespace7.MoneyManagement.OutboundTransferCreateParams;
82
- export type OutboundTransferRetrieveParams = V2Namespace7.MoneyManagement.OutboundTransferRetrieveParams;
83
- export type OutboundTransferCancelParams = V2Namespace7.MoneyManagement.OutboundTransferCancelParams;
84
- export { OutboundTransfer };
85
- export type PayoutMethodListParams = V2Namespace8.MoneyManagement.PayoutMethodListParams;
86
- export type PayoutMethodRetrieveParams = V2Namespace8.MoneyManagement.PayoutMethodRetrieveParams;
87
- export type PayoutMethodArchiveParams = V2Namespace8.MoneyManagement.PayoutMethodArchiveParams;
88
- export type PayoutMethodUnarchiveParams = V2Namespace8.MoneyManagement.PayoutMethodUnarchiveParams;
89
- export { PayoutMethod };
90
- export type PayoutMethodsBankAccountSpecRetrieveParams = V2Namespace9.MoneyManagement.PayoutMethodsBankAccountSpecRetrieveParams;
91
- export { PayoutMethodsBankAccountSpec };
92
- export type ReceivedCreditListParams = V2Namespace10.MoneyManagement.ReceivedCreditListParams;
93
- export type ReceivedCreditRetrieveParams = V2Namespace10.MoneyManagement.ReceivedCreditRetrieveParams;
94
- export { ReceivedCredit };
95
- export type ReceivedDebitListParams = V2Namespace11.MoneyManagement.ReceivedDebitListParams;
96
- export type ReceivedDebitRetrieveParams = V2Namespace11.MoneyManagement.ReceivedDebitRetrieveParams;
97
- export { ReceivedDebit };
98
- export type TransactionListParams = V2Namespace12.MoneyManagement.TransactionListParams;
99
- export type TransactionRetrieveParams = V2Namespace12.MoneyManagement.TransactionRetrieveParams;
100
- export { Transaction };
101
- export type TransactionEntryListParams = V2Namespace13.MoneyManagement.TransactionEntryListParams;
102
- export type TransactionEntryRetrieveParams = V2Namespace13.MoneyManagement.TransactionEntryRetrieveParams;
103
- export { TransactionEntry };
104
- }
@@ -1,35 +0,0 @@
1
- // File generated from our OpenAPI spec
2
- import { AdjustmentResource, } from './Adjustments.js';
3
- import { FinancialAccountResource, } from './FinancialAccounts.js';
4
- import { FinancialAddressResource, } from './FinancialAddresses.js';
5
- import { InboundTransferResource, } from './InboundTransfers.js';
6
- import { OutboundPaymentResource, } from './OutboundPayments.js';
7
- import { OutboundPaymentQuoteResource, } from './OutboundPaymentQuotes.js';
8
- import { OutboundSetupIntentResource, } from './OutboundSetupIntents.js';
9
- import { OutboundTransferResource, } from './OutboundTransfers.js';
10
- import { PayoutMethodResource, } from './PayoutMethods.js';
11
- import { PayoutMethodsBankAccountSpecResource, } from './PayoutMethodsBankAccountSpec.js';
12
- import { ReceivedCreditResource, } from './ReceivedCredits.js';
13
- import { ReceivedDebitResource, } from './ReceivedDebits.js';
14
- import { TransactionResource, } from './Transactions.js';
15
- import { TransactionEntryResource, } from './TransactionEntries.js';
16
- export class MoneyManagement {
17
- constructor(stripe) {
18
- this.stripe = stripe;
19
- this.adjustments = new AdjustmentResource(stripe);
20
- this.financialAccounts = new FinancialAccountResource(stripe);
21
- this.financialAddresses = new FinancialAddressResource(stripe);
22
- this.inboundTransfers = new InboundTransferResource(stripe);
23
- this.outboundPayments = new OutboundPaymentResource(stripe);
24
- this.outboundPaymentQuotes = new OutboundPaymentQuoteResource(stripe);
25
- this.outboundSetupIntents = new OutboundSetupIntentResource(stripe);
26
- this.outboundTransfers = new OutboundTransferResource(stripe);
27
- this.payoutMethods = new PayoutMethodResource(stripe);
28
- this.payoutMethodsBankAccountSpecs = new PayoutMethodsBankAccountSpecResource(stripe);
29
- this.receivedCredits = new ReceivedCreditResource(stripe);
30
- this.receivedDebits = new ReceivedDebitResource(stripe);
31
- this.transactions = new TransactionResource(stripe);
32
- this.transactionEntries = new TransactionEntryResource(stripe);
33
- }
34
- }
35
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAGvC,OAAO,EAGL,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAGL,wBAAwB,GACzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAGL,wBAAwB,GACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAGL,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAGL,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAGL,4BAA4B,GAC7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,2BAA2B,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,wBAAwB,GACzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAGL,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAGL,oCAAoC,GACrC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAGL,sBAAsB,GACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,qBAAqB,GACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,wBAAwB,GACzB,MAAM,yBAAyB,CAAC;AAiBjC,MAAM,OAAO,eAAe;IAgB1B,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,WAAW,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,CAAC;QAClD,IAAI,CAAC,iBAAiB,GAAG,IAAI,wBAAwB,CAAC,MAAM,CAAC,CAAC;QAC9D,IAAI,CAAC,kBAAkB,GAAG,IAAI,wBAAwB,CAAC,MAAM,CAAC,CAAC;QAC/D,IAAI,CAAC,gBAAgB,GAAG,IAAI,uBAAuB,CAAC,MAAM,CAAC,CAAC;QAC5D,IAAI,CAAC,gBAAgB,GAAG,IAAI,uBAAuB,CAAC,MAAM,CAAC,CAAC;QAC5D,IAAI,CAAC,qBAAqB,GAAG,IAAI,4BAA4B,CAAC,MAAM,CAAC,CAAC;QACtE,IAAI,CAAC,oBAAoB,GAAG,IAAI,2BAA2B,CAAC,MAAM,CAAC,CAAC;QACpE,IAAI,CAAC,iBAAiB,GAAG,IAAI,wBAAwB,CAAC,MAAM,CAAC,CAAC;QAC9D,IAAI,CAAC,aAAa,GAAG,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC;QACtD,IAAI,CAAC,6BAA6B,GAAG,IAAI,oCAAoC,CAC3E,MAAM,CACP,CAAC;QACF,IAAI,CAAC,eAAe,GAAG,IAAI,sBAAsB,CAAC,MAAM,CAAC,CAAC;QAC1D,IAAI,CAAC,cAAc,GAAG,IAAI,qBAAqB,CAAC,MAAM,CAAC,CAAC;QACxD,IAAI,CAAC,YAAY,GAAG,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,kBAAkB,GAAG,IAAI,wBAAwB,CAAC,MAAM,CAAC,CAAC;IACjE,CAAC;CACF"}
@@ -1,96 +0,0 @@
1
- import { StripeResource } from '../../../StripeResource.js';
2
- import { RequestOptions, Response } from '../../../lib.js';
3
- export declare class BusinessProfileResource extends StripeResource {
4
- /**
5
- * Retrieve the Stripe profile associated with the requesting merchant and livemode.
6
- */
7
- me(params?: V2.Network.BusinessProfileMeParams, options?: RequestOptions): Promise<Response<BusinessProfile>>;
8
- /**
9
- * Retrieve a Stripe profile by its Network ID.
10
- */
11
- retrieve(id: string, params?: V2.Network.BusinessProfileRetrieveParams, options?: RequestOptions): Promise<Response<BusinessProfile>>;
12
- }
13
- export interface BusinessProfile {
14
- /**
15
- * The ID of the Stripe business profile; also known as the Network ID. This is the ID used to identify the business on the Stripe network.
16
- */
17
- id: string;
18
- /**
19
- * String representing the object's type. Objects of the same type share the same value of the object field.
20
- */
21
- object: 'v2.network.business_profile';
22
- /**
23
- * Branding data for the business.
24
- */
25
- branding?: V2.Network.BusinessProfile.Branding;
26
- /**
27
- * The description of the business.
28
- */
29
- description?: string;
30
- /**
31
- * The display name of the Stripe profile.
32
- */
33
- display_name: string;
34
- /**
35
- * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
36
- */
37
- livemode: boolean;
38
- /**
39
- * The URL of the business.
40
- */
41
- url?: string;
42
- /**
43
- * The username of the Stripe profile.
44
- */
45
- username: string;
46
- }
47
- export declare namespace V2 {
48
- namespace Network {
49
- namespace BusinessProfile {
50
- interface Branding {
51
- /**
52
- * URL of the icon for the business. The image will be square and at least 128px x 128px.
53
- */
54
- icon?: Branding.Icon;
55
- /**
56
- * URL of the logo for the business. The image will be at least 128px x 128px.
57
- */
58
- logo?: Branding.Logo;
59
- /**
60
- * A CSS hex color value representing the primary branding color for this business.
61
- */
62
- primary_color?: string;
63
- /**
64
- * A CSS hex color value representing the secondary branding color for this business.
65
- */
66
- secondary_color?: string;
67
- }
68
- namespace Branding {
69
- interface Icon {
70
- /**
71
- * The URL of the image in its original size.
72
- */
73
- original: string;
74
- }
75
- interface Logo {
76
- /**
77
- * The URL of the image in its original size.
78
- */
79
- original: string;
80
- }
81
- }
82
- }
83
- }
84
- }
85
- export declare namespace V2 {
86
- namespace Network {
87
- interface BusinessProfileRetrieveParams {
88
- }
89
- }
90
- }
91
- export declare namespace V2 {
92
- namespace Network {
93
- interface BusinessProfileMeParams {
94
- }
95
- }
96
- }
@@ -1,17 +0,0 @@
1
- // File generated from our OpenAPI spec
2
- import { StripeResource } from '../../../StripeResource.js';
3
- export class BusinessProfileResource extends StripeResource {
4
- /**
5
- * Retrieve the Stripe profile associated with the requesting merchant and livemode.
6
- */
7
- me(params, options) {
8
- return this._makeRequest('GET', '/v2/network/business_profiles/me', params, options);
9
- }
10
- /**
11
- * Retrieve a Stripe profile by its Network ID.
12
- */
13
- retrieve(id, params, options) {
14
- return this._makeRequest('GET', `/v2/network/business_profiles/${id}`, params, options);
15
- }
16
- }
17
- //# sourceMappingURL=BusinessProfiles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BusinessProfiles.js","sourceRoot":"","sources":["../../../../src/resources/V2/Network/BusinessProfiles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAG1D,MAAM,OAAO,uBAAwB,SAAQ,cAAc;IACzD;;OAEG;IACH,EAAE,CACA,MAA2C,EAC3C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,kCAAkC,EAClC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,iCAAiC,EAAE,EAAE,EACrC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
@@ -1,13 +0,0 @@
1
- import { Stripe } from '../../../stripe.core.js';
2
- import { V2 as V2Namespace0, BusinessProfile, BusinessProfileResource } from './BusinessProfiles.js';
3
- export { BusinessProfile } from './BusinessProfiles.js';
4
- export declare class Network {
5
- private readonly stripe;
6
- businessProfiles: BusinessProfileResource;
7
- constructor(stripe: Stripe);
8
- }
9
- export declare namespace Network {
10
- export type BusinessProfileMeParams = V2Namespace0.Network.BusinessProfileMeParams;
11
- export type BusinessProfileRetrieveParams = V2Namespace0.Network.BusinessProfileRetrieveParams;
12
- export { BusinessProfile };
13
- }
@@ -1,9 +0,0 @@
1
- // File generated from our OpenAPI spec
2
- import { BusinessProfileResource, } from './BusinessProfiles.js';
3
- export class Network {
4
- constructor(stripe) {
5
- this.stripe = stripe;
6
- this.businessProfiles = new BusinessProfileResource(stripe);
7
- }
8
- }
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/V2/Network/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAGvC,OAAO,EAGL,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAI/B,MAAM,OAAO,OAAO;IAGlB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,gBAAgB,GAAG,IAAI,uBAAuB,CAAC,MAAM,CAAC,CAAC;IAC9D,CAAC;CACF"}
@@ -1,147 +0,0 @@
1
- import { StripeResource } from '../../../StripeResource.js';
2
- import { RequestOptions, ApiListPromise, Response } from '../../../lib.js';
3
- export declare class AgreementResource extends StripeResource {
4
- /**
5
- * List Agreements for the profile associated with the authenticated merchant.
6
- */
7
- list(params?: V2.OrchestratedCommerce.AgreementListParams, options?: RequestOptions): ApiListPromise<Agreement>;
8
- /**
9
- * Create a new Agreement.
10
- */
11
- create(params: V2.OrchestratedCommerce.AgreementCreateParams, options?: RequestOptions): Promise<Response<Agreement>>;
12
- /**
13
- * Retrieve an Agreement by ID.
14
- */
15
- retrieve(id: string, params?: V2.OrchestratedCommerce.AgreementRetrieveParams, options?: RequestOptions): Promise<Response<Agreement>>;
16
- /**
17
- * Confirm an Agreement.
18
- */
19
- confirm(id: string, params?: V2.OrchestratedCommerce.AgreementConfirmParams, options?: RequestOptions): Promise<Response<Agreement>>;
20
- /**
21
- * Terminate an Agreement.
22
- */
23
- terminate(id: string, params?: V2.OrchestratedCommerce.AgreementTerminateParams, options?: RequestOptions): Promise<Response<Agreement>>;
24
- }
25
- export interface Agreement {
26
- /**
27
- * The unique identifier for the agreement.
28
- */
29
- id: string;
30
- /**
31
- * String representing the object's type. Objects of the same type share the same value of the object field.
32
- */
33
- object: 'v2.orchestrated_commerce.agreement';
34
- /**
35
- * The time at which the agreement was created.
36
- */
37
- created: string;
38
- /**
39
- * The party that initiated the agreement.
40
- */
41
- initiated_by: V2.OrchestratedCommerce.Agreement.InitiatedBy;
42
- /**
43
- * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
44
- */
45
- livemode: boolean;
46
- /**
47
- * Details about the orchestrator.
48
- */
49
- orchestrator_details: V2.OrchestratedCommerce.Agreement.OrchestratorDetails;
50
- /**
51
- * Details about the seller.
52
- */
53
- seller_details: V2.OrchestratedCommerce.Agreement.SellerDetails;
54
- /**
55
- * The current status of the agreement.
56
- */
57
- status: V2.OrchestratedCommerce.Agreement.Status;
58
- /**
59
- * Timestamps of key status transitions for the agreement.
60
- */
61
- status_transitions: V2.OrchestratedCommerce.Agreement.StatusTransitions;
62
- /**
63
- * The party that terminated the agreement, if applicable.
64
- */
65
- terminated_by?: V2.OrchestratedCommerce.Agreement.TerminatedBy;
66
- }
67
- export declare namespace V2 {
68
- namespace OrchestratedCommerce {
69
- namespace Agreement {
70
- type InitiatedBy = 'orchestrator' | 'seller';
71
- interface OrchestratorDetails {
72
- /**
73
- * The name of the orchestrator. This can be the name of the agent or the name of the business.
74
- */
75
- name: string;
76
- /**
77
- * The Network ID of the orchestrator.
78
- */
79
- network_business_profile: string;
80
- }
81
- interface SellerDetails {
82
- /**
83
- * The Network ID of the seller.
84
- */
85
- network_business_profile: string;
86
- }
87
- type Status = 'confirmed' | 'initiated' | 'partially_confirmed' | 'terminated';
88
- interface StatusTransitions {
89
- /**
90
- * The time at which the orchestrator confirmed the agreement.
91
- */
92
- orchestrator_confirmed_at?: string;
93
- /**
94
- * The time at which the seller confirmed the agreement.
95
- */
96
- seller_confirmed_at?: string;
97
- /**
98
- * The time at which the agreement was terminated.
99
- */
100
- terminated_at?: string;
101
- }
102
- type TerminatedBy = 'orchestrator' | 'seller';
103
- }
104
- }
105
- }
106
- export declare namespace V2 {
107
- namespace OrchestratedCommerce {
108
- interface AgreementCreateParams {
109
- /**
110
- * The Network ID of the orchestrator to create an agreement with.
111
- */
112
- orchestrator: string;
113
- }
114
- }
115
- }
116
- export declare namespace V2 {
117
- namespace OrchestratedCommerce {
118
- interface AgreementRetrieveParams {
119
- }
120
- }
121
- }
122
- export declare namespace V2 {
123
- namespace OrchestratedCommerce {
124
- interface AgreementListParams {
125
- /**
126
- * The limit for the number of results per page.
127
- */
128
- limit?: number;
129
- /**
130
- * Filter list to Orchestrated Commerce Agreements with a specific counterparty.
131
- */
132
- network_business_profile?: string;
133
- }
134
- }
135
- }
136
- export declare namespace V2 {
137
- namespace OrchestratedCommerce {
138
- interface AgreementConfirmParams {
139
- }
140
- }
141
- }
142
- export declare namespace V2 {
143
- namespace OrchestratedCommerce {
144
- interface AgreementTerminateParams {
145
- }
146
- }
147
- }