stripe 18.5.0-beta.2 → 18.5.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 (308) hide show
  1. package/CHANGELOG.md +33 -1327
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +5 -4
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +1 -107
  6. package/cjs/apiVersion.js +3 -2
  7. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  8. package/cjs/resources/PaymentIntents.js +0 -13
  9. package/cjs/resources/Quotes.js +0 -32
  10. package/cjs/resources/SubscriptionSchedules.js +0 -4
  11. package/cjs/resources.js +32 -126
  12. package/cjs/stripe.core.js +1 -1
  13. package/esm/Error.js +0 -93
  14. package/esm/apiVersion.js +2 -1
  15. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  16. package/esm/resources/PaymentIntents.js +0 -13
  17. package/esm/resources/Quotes.js +0 -32
  18. package/esm/resources/SubscriptionSchedules.js +0 -4
  19. package/esm/resources.js +5 -91
  20. package/esm/stripe.core.js +1 -1
  21. package/package.json +1 -1
  22. package/types/AccountLinksResource.d.ts +1 -5
  23. package/types/AccountSessions.d.ts +45 -45
  24. package/types/AccountSessionsResource.d.ts +51 -252
  25. package/types/Accounts.d.ts +3 -214
  26. package/types/AccountsResource.d.ts +0 -544
  27. package/types/Balance.d.ts +2 -7
  28. package/types/Billing/CreditBalanceSummary.d.ts +0 -5
  29. package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
  30. package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
  31. package/types/Billing/CreditGrants.d.ts +0 -5
  32. package/types/Billing/CreditGrantsResource.d.ts +1 -11
  33. package/types/Billing/Meters.d.ts +1 -1
  34. package/types/Billing/MetersResource.d.ts +1 -1
  35. package/types/BillingPortal/Configurations.d.ts +5 -0
  36. package/types/BillingPortal/ConfigurationsResource.d.ts +10 -0
  37. package/types/BillingPortal/Sessions.d.ts +0 -5
  38. package/types/BillingPortal/SessionsResource.d.ts +4 -12
  39. package/types/Cards.d.ts +0 -5
  40. package/types/CashBalances.d.ts +0 -5
  41. package/types/Charges.d.ts +76 -171
  42. package/types/ChargesResource.d.ts +0 -1406
  43. package/types/Checkout/Sessions.d.ts +9 -313
  44. package/types/Checkout/SessionsResource.d.ts +10 -414
  45. package/types/ConfirmationTokens.d.ts +0 -125
  46. package/types/Coupons.d.ts +0 -33
  47. package/types/CouponsResource.d.ts +0 -21
  48. package/types/CreditNoteLineItems.d.ts +0 -17
  49. package/types/CreditNotes.d.ts +0 -5
  50. package/types/CreditNotesResource.d.ts +3 -8
  51. package/types/CustomerBalanceTransactions.d.ts +0 -2
  52. package/types/CustomerCashBalanceTransactions.d.ts +0 -2
  53. package/types/CustomerSessions.d.ts +0 -5
  54. package/types/CustomerSessionsResource.d.ts +1 -6
  55. package/types/Customers.d.ts +0 -2
  56. package/types/CustomersResource.d.ts +0 -8
  57. package/types/Discounts.d.ts +0 -10
  58. package/types/Disputes.d.ts +7 -31
  59. package/types/Errors.d.ts +2 -81
  60. package/types/EventTypes.d.ts +0 -664
  61. package/types/Events.d.ts +0 -97
  62. package/types/FileLinksResource.d.ts +1 -1
  63. package/types/Files.d.ts +1 -0
  64. package/types/FilesResource.d.ts +3 -1
  65. package/types/FinancialConnections/Accounts.d.ts +1 -36
  66. package/types/FinancialConnections/AccountsResource.d.ts +3 -40
  67. package/types/FinancialConnections/Sessions.d.ts +1 -51
  68. package/types/FinancialConnections/SessionsResource.d.ts +1 -43
  69. package/types/Identity/VerificationSessions.d.ts +0 -5
  70. package/types/Identity/VerificationSessionsResource.d.ts +0 -7
  71. package/types/InvoiceItems.d.ts +0 -10
  72. package/types/InvoiceItemsResource.d.ts +6 -117
  73. package/types/InvoiceLineItems.d.ts +1 -45
  74. package/types/InvoicePayments.d.ts +0 -5
  75. package/types/InvoicePaymentsResource.d.ts +1 -7
  76. package/types/Invoices.d.ts +6 -172
  77. package/types/InvoicesResource.d.ts +61 -1513
  78. package/types/Issuing/CardholdersResource.d.ts +1 -2
  79. package/types/Issuing/CardsResource.d.ts +10 -0
  80. package/types/Issuing/Transactions.d.ts +0 -5
  81. package/types/Issuing/TransactionsResource.d.ts +0 -5
  82. package/types/LineItems.d.ts +0 -49
  83. package/types/Mandates.d.ts +0 -77
  84. package/types/PaymentIntents.d.ts +63 -762
  85. package/types/PaymentIntentsResource.d.ts +5567 -11125
  86. package/types/PaymentLinks.d.ts +0 -6
  87. package/types/PaymentLinksResource.d.ts +1 -13
  88. package/types/PaymentMethodConfigurations.d.ts +0 -180
  89. package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
  90. package/types/PaymentMethods.d.ts +0 -125
  91. package/types/PaymentMethodsResource.d.ts +2 -167
  92. package/types/Payouts.d.ts +1 -1
  93. package/types/Prices.d.ts +0 -22
  94. package/types/PricesResource.d.ts +0 -22
  95. package/types/PromotionCodes.d.ts +5 -7
  96. package/types/PromotionCodesResource.d.ts +0 -10
  97. package/types/Quotes.d.ts +1 -594
  98. package/types/QuotesResource.d.ts +281 -2626
  99. package/types/Refunds.d.ts +0 -14
  100. package/types/SetupAttempts.d.ts +4 -48
  101. package/types/SetupIntents.d.ts +5 -119
  102. package/types/SetupIntentsResource.d.ts +3 -730
  103. package/types/Sources.d.ts +0 -29
  104. package/types/SubscriptionItems.d.ts +0 -21
  105. package/types/SubscriptionItemsResource.d.ts +0 -109
  106. package/types/SubscriptionSchedules.d.ts +39 -197
  107. package/types/SubscriptionSchedulesResource.d.ts +83 -1199
  108. package/types/Subscriptions.d.ts +1 -135
  109. package/types/SubscriptionsResource.d.ts +97 -449
  110. package/types/TaxIds.d.ts +0 -10
  111. package/types/TaxIdsResource.d.ts +0 -10
  112. package/types/Terminal/Configurations.d.ts +19 -0
  113. package/types/Terminal/ConfigurationsResource.d.ts +44 -0
  114. package/types/Terminal/Readers.d.ts +0 -20
  115. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -126
  116. package/types/TestHelpers/Terminal/ReadersResource.d.ts +28 -1
  117. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  118. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  119. package/types/Transfers.d.ts +0 -5
  120. package/types/TransfersResource.d.ts +0 -5
  121. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  122. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  123. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  124. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  125. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  126. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  127. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  128. package/types/V2/EventTypes.d.ts +4 -964
  129. package/types/WebhookEndpointsResource.d.ts +2 -79
  130. package/types/index.d.ts +2 -147
  131. package/types/lib.d.ts +1 -11
  132. package/types/test/typescriptTest.ts +3 -3
  133. package/cjs/resources/AccountNotices.js +0 -21
  134. package/cjs/resources/BalanceSettings.js +0 -10
  135. package/cjs/resources/Billing/MeterUsage.js +0 -12
  136. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  137. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  138. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  139. package/cjs/resources/ExternalAccounts.js +0 -23
  140. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  141. package/cjs/resources/FxQuotes.js +0 -15
  142. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  143. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  144. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  145. package/cjs/resources/Margins.js +0 -22
  146. package/cjs/resources/Orders.js +0 -24
  147. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  148. package/cjs/resources/PaymentRecords.js +0 -29
  149. package/cjs/resources/Privacy/RedactionJobs.js +0 -42
  150. package/cjs/resources/Tax/Associations.js +0 -9
  151. package/cjs/resources/Tax/Forms.js +0 -20
  152. package/cjs/resources/Terminal/OnboardingLinks.js +0 -12
  153. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  154. package/cjs/resources/V2/Core/AccountLinks.js +0 -9
  155. package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
  156. package/cjs/resources/V2/Core/Accounts.js +0 -25
  157. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
  158. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
  159. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
  160. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -25
  161. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
  162. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
  163. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
  164. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
  165. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
  166. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
  167. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
  168. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
  169. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
  170. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
  171. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
  172. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
  173. package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -25
  174. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
  175. package/esm/resources/AccountNotices.js +0 -18
  176. package/esm/resources/BalanceSettings.js +0 -7
  177. package/esm/resources/Billing/MeterUsage.js +0 -9
  178. package/esm/resources/Capital/FinancingOffers.js +0 -18
  179. package/esm/resources/Capital/FinancingSummary.js +0 -9
  180. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  181. package/esm/resources/ExternalAccounts.js +0 -20
  182. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  183. package/esm/resources/FxQuotes.js +0 -12
  184. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  185. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  186. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  187. package/esm/resources/Margins.js +0 -19
  188. package/esm/resources/Orders.js +0 -21
  189. package/esm/resources/PaymentAttemptRecords.js +0 -14
  190. package/esm/resources/PaymentRecords.js +0 -26
  191. package/esm/resources/Privacy/RedactionJobs.js +0 -39
  192. package/esm/resources/Tax/Associations.js +0 -6
  193. package/esm/resources/Tax/Forms.js +0 -17
  194. package/esm/resources/Terminal/OnboardingLinks.js +0 -9
  195. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  196. package/esm/resources/V2/Core/AccountLinks.js +0 -6
  197. package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
  198. package/esm/resources/V2/Core/Accounts.js +0 -22
  199. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
  200. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
  201. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
  202. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -22
  203. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
  204. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
  205. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
  206. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
  207. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
  208. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
  209. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
  210. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
  211. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
  212. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
  213. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
  214. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
  215. package/esm/resources/V2/Payments/OffSessionPayments.js +0 -22
  216. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
  217. package/types/AccountNotices.d.ts +0 -113
  218. package/types/AccountNoticesResource.d.ts +0 -98
  219. package/types/BalanceSettings.d.ts +0 -91
  220. package/types/BalanceSettingsResource.d.ts +0 -110
  221. package/types/Billing/MeterUsage.d.ts +0 -32
  222. package/types/Billing/MeterUsageResource.d.ts +0 -685
  223. package/types/Billing/MeterUsageRows.d.ts +0 -49
  224. package/types/Capital/FinancingOffers.d.ts +0 -188
  225. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  226. package/types/Capital/FinancingSummary.d.ts +0 -106
  227. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  228. package/types/Capital/FinancingTransactions.d.ts +0 -135
  229. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  230. package/types/ExternalAccountsResource.d.ts +0 -304
  231. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  232. package/types/FinancialConnections/Institutions.d.ts +0 -98
  233. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  234. package/types/FxQuotes.d.ts +0 -155
  235. package/types/FxQuotesResource.d.ts +0 -130
  236. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  237. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  238. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
  239. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  240. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  241. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  242. package/types/Issuing/Settlements.d.ts +0 -113
  243. package/types/Margins.d.ts +0 -56
  244. package/types/MarginsResource.d.ts +0 -114
  245. package/types/Orders.d.ts +0 -1163
  246. package/types/OrdersResource.d.ts +0 -3139
  247. package/types/PaymentAttemptRecords.d.ts +0 -2166
  248. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  249. package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -116
  250. package/types/PaymentRecords.d.ts +0 -2159
  251. package/types/PaymentRecordsResource.d.ts +0 -455
  252. package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
  253. package/types/Privacy/RedactionJobs.d.ts +0 -111
  254. package/types/Privacy/RedactionJobsResource.d.ts +0 -230
  255. package/types/QuoteLines.d.ts +0 -634
  256. package/types/QuotePreviewInvoices.d.ts +0 -1734
  257. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -845
  258. package/types/Tax/Associations.d.ts +0 -82
  259. package/types/Tax/AssociationsResource.d.ts +0 -29
  260. package/types/Tax/Forms.d.ts +0 -220
  261. package/types/Tax/FormsResource.d.ts +0 -107
  262. package/types/Terminal/OnboardingLinks.d.ts +0 -57
  263. package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
  264. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  265. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
  266. package/types/V2/Core/AccountLinks.d.ts +0 -168
  267. package/types/V2/Core/AccountLinksResource.d.ts +0 -152
  268. package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3780
  269. package/types/V2/Core/Accounts.d.ts +0 -8813
  270. package/types/V2/Core/AccountsResource.d.ts +0 -10626
  271. package/types/V2/Core/Persons.d.ts +0 -1872
  272. package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
  273. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
  274. package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
  275. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
  276. package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
  277. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
  278. package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
  279. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
  280. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -580
  281. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -326
  282. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -314
  283. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -289
  284. package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
  285. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
  286. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -168
  287. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
  288. package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
  289. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
  290. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
  291. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
  292. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
  293. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
  294. package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
  295. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
  296. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -87
  297. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
  298. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -262
  299. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
  300. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
  301. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
  302. package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -155
  303. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
  304. package/types/V2/MoneyManagement/Transactions.d.ts +0 -170
  305. package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
  306. package/types/V2/Payments/OffSessionPayments.d.ts +0 -179
  307. package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -174
  308. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
@@ -1,83 +0,0 @@
1
- // File generated from our OpenAPI spec
2
-
3
- declare module 'stripe' {
4
- namespace Stripe {
5
- namespace V2 {
6
- namespace MoneyManagement {
7
- interface AdjustmentRetrieveParams {}
8
- }
9
-
10
- namespace MoneyManagement {
11
- interface AdjustmentListParams {
12
- /**
13
- * Filter for Adjustments linked to a Flow.
14
- */
15
- adjusted_flow?: string;
16
-
17
- /**
18
- * Filter for objects created at the specified timestamp.
19
- * Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
20
- */
21
- created?: string;
22
-
23
- /**
24
- * Filter for objects created after the specified timestamp.
25
- * Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
26
- */
27
- created_gt?: string;
28
-
29
- /**
30
- * Filter for objects created on or after the specified timestamp.
31
- * Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
32
- */
33
- created_gte?: string;
34
-
35
- /**
36
- * Filter for objects created before the specified timestamp.
37
- * Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
38
- */
39
- created_lt?: string;
40
-
41
- /**
42
- * Filter for objects created on or before the specified timestamp.
43
- * Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
44
- */
45
- created_lte?: string;
46
-
47
- /**
48
- * The page limit.
49
- */
50
- limit?: number;
51
- }
52
- }
53
-
54
- namespace MoneyManagement {
55
- class AdjustmentsResource {
56
- /**
57
- * Retrieves the details of an Adjustment by ID.
58
- */
59
- retrieve(
60
- id: string,
61
- params?: AdjustmentRetrieveParams,
62
- options?: RequestOptions
63
- ): Promise<Stripe.Response<Stripe.V2.MoneyManagement.Adjustment>>;
64
- retrieve(
65
- id: string,
66
- options?: RequestOptions
67
- ): Promise<Stripe.Response<Stripe.V2.MoneyManagement.Adjustment>>;
68
-
69
- /**
70
- * Returns a list of Adjustments that match the provided filters.
71
- */
72
- list(
73
- params?: AdjustmentListParams,
74
- options?: RequestOptions
75
- ): ApiListPromise<Stripe.V2.MoneyManagement.Adjustment>;
76
- list(
77
- options?: RequestOptions
78
- ): ApiListPromise<Stripe.V2.MoneyManagement.Adjustment>;
79
- }
80
- }
81
- }
82
- }
83
- }
@@ -1,580 +0,0 @@
1
- // File generated from our OpenAPI spec
2
-
3
- declare module 'stripe' {
4
- namespace Stripe {
5
- namespace V2 {
6
- namespace MoneyManagement {
7
- /**
8
- * The Financial Account is the container that allows for the configuration of money movement.
9
- */
10
- interface FinancialAccount {
11
- /**
12
- * Unique identifier for the object.
13
- */
14
- id: string;
15
-
16
- /**
17
- * String representing the object's type. Objects of the same type share the same value of the object field.
18
- */
19
- object: 'v2.money_management.financial_account';
20
-
21
- /**
22
- * Multi-currency balance of this FinancialAccount, split by availability state. Each balance is represented as a hash where the key is the three-letter ISO currency code, in lowercase, and the value is the amount for that currency.
23
- */
24
- balance: FinancialAccount.Balance;
25
-
26
- /**
27
- * Open Enum. Two-letter country code that represents the country where the LegalEntity associated with the FinancialAccount is based in.
28
- */
29
- country: FinancialAccount.Country;
30
-
31
- /**
32
- * Time at which the object was created.
33
- */
34
- created: string;
35
-
36
- /**
37
- * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
38
- */
39
- livemode: boolean;
40
-
41
- /**
42
- * Metadata associated with the FinancialAccount
43
- */
44
- metadata: Stripe.Metadata | null;
45
-
46
- /**
47
- * If this is a `other` FinancialAccount, this hash indicates what the actual type is. Upgrade your API version to see it reflected in `type`.
48
- */
49
- other: FinancialAccount.Other | null;
50
-
51
- /**
52
- * Closed Enum. An enum representing the status of the FinancialAccount. This indicates whether or not the FinancialAccount can be used for any money movement flows.
53
- */
54
- status: FinancialAccount.Status;
55
-
56
- status_details: FinancialAccount.StatusDetails | null;
57
-
58
- /**
59
- * If this is a `storage` FinancialAccount, this hash includes details specific to `storage` FinancialAccounts.
60
- */
61
- storage: FinancialAccount.Storage | null;
62
-
63
- /**
64
- * Type of the FinancialAccount. An additional hash is included on the FinancialAccount with a name matching this value.
65
- * It contains additional information specific to the FinancialAccount type.
66
- */
67
- type: FinancialAccount.Type;
68
- }
69
-
70
- namespace FinancialAccount {
71
- interface Balance {
72
- /**
73
- * Balance that can be used for money movement.
74
- */
75
- available: {
76
- [key: string]: Amount;
77
- };
78
-
79
- /**
80
- * Balance of inbound funds that will later transition to the `available` balance.
81
- */
82
- inbound_pending: {
83
- [key: string]: Amount;
84
- };
85
-
86
- /**
87
- * Balance of funds that are being used for a pending outbound money movement.
88
- */
89
- outbound_pending: {
90
- [key: string]: Amount;
91
- };
92
- }
93
-
94
- type Country =
95
- | 'ad'
96
- | 'ae'
97
- | 'af'
98
- | 'ag'
99
- | 'ai'
100
- | 'al'
101
- | 'am'
102
- | 'ao'
103
- | 'aq'
104
- | 'ar'
105
- | 'as'
106
- | 'at'
107
- | 'au'
108
- | 'aw'
109
- | 'ax'
110
- | 'az'
111
- | 'ba'
112
- | 'bb'
113
- | 'bd'
114
- | 'be'
115
- | 'bf'
116
- | 'bg'
117
- | 'bh'
118
- | 'bi'
119
- | 'bj'
120
- | 'bl'
121
- | 'bm'
122
- | 'bn'
123
- | 'bo'
124
- | 'bq'
125
- | 'br'
126
- | 'bs'
127
- | 'bt'
128
- | 'bv'
129
- | 'bw'
130
- | 'by'
131
- | 'bz'
132
- | 'ca'
133
- | 'cc'
134
- | 'cd'
135
- | 'cf'
136
- | 'cg'
137
- | 'ch'
138
- | 'ci'
139
- | 'ck'
140
- | 'cl'
141
- | 'cm'
142
- | 'cn'
143
- | 'co'
144
- | 'cr'
145
- | 'cu'
146
- | 'cv'
147
- | 'cw'
148
- | 'cx'
149
- | 'cy'
150
- | 'cz'
151
- | 'de'
152
- | 'dj'
153
- | 'dk'
154
- | 'dm'
155
- | 'do'
156
- | 'dz'
157
- | 'ec'
158
- | 'ee'
159
- | 'eg'
160
- | 'eh'
161
- | 'er'
162
- | 'es'
163
- | 'et'
164
- | 'fi'
165
- | 'fj'
166
- | 'fk'
167
- | 'fm'
168
- | 'fo'
169
- | 'fr'
170
- | 'ga'
171
- | 'gb'
172
- | 'gd'
173
- | 'ge'
174
- | 'gf'
175
- | 'gg'
176
- | 'gh'
177
- | 'gi'
178
- | 'gl'
179
- | 'gm'
180
- | 'gn'
181
- | 'gp'
182
- | 'gq'
183
- | 'gr'
184
- | 'gs'
185
- | 'gt'
186
- | 'gu'
187
- | 'gw'
188
- | 'gy'
189
- | 'hk'
190
- | 'hm'
191
- | 'hn'
192
- | 'hr'
193
- | 'ht'
194
- | 'hu'
195
- | 'id'
196
- | 'ie'
197
- | 'il'
198
- | 'im'
199
- | 'in'
200
- | 'io'
201
- | 'iq'
202
- | 'ir'
203
- | 'is'
204
- | 'it'
205
- | 'je'
206
- | 'jm'
207
- | 'jo'
208
- | 'jp'
209
- | 'ke'
210
- | 'kg'
211
- | 'kh'
212
- | 'ki'
213
- | 'km'
214
- | 'kn'
215
- | 'kp'
216
- | 'kr'
217
- | 'kw'
218
- | 'ky'
219
- | 'kz'
220
- | 'la'
221
- | 'lb'
222
- | 'lc'
223
- | 'li'
224
- | 'lk'
225
- | 'lr'
226
- | 'ls'
227
- | 'lt'
228
- | 'lu'
229
- | 'lv'
230
- | 'ly'
231
- | 'ma'
232
- | 'mc'
233
- | 'md'
234
- | 'me'
235
- | 'mf'
236
- | 'mg'
237
- | 'mh'
238
- | 'mk'
239
- | 'ml'
240
- | 'mm'
241
- | 'mn'
242
- | 'mo'
243
- | 'mp'
244
- | 'mq'
245
- | 'mr'
246
- | 'ms'
247
- | 'mt'
248
- | 'mu'
249
- | 'mv'
250
- | 'mw'
251
- | 'mx'
252
- | 'my'
253
- | 'mz'
254
- | 'na'
255
- | 'nc'
256
- | 'ne'
257
- | 'nf'
258
- | 'ng'
259
- | 'ni'
260
- | 'nl'
261
- | 'no'
262
- | 'np'
263
- | 'nr'
264
- | 'nu'
265
- | 'nz'
266
- | 'om'
267
- | 'pa'
268
- | 'pe'
269
- | 'pf'
270
- | 'pg'
271
- | 'ph'
272
- | 'pk'
273
- | 'pl'
274
- | 'pm'
275
- | 'pn'
276
- | 'pr'
277
- | 'ps'
278
- | 'pt'
279
- | 'pw'
280
- | 'py'
281
- | 'qa'
282
- | 'qz'
283
- | 're'
284
- | 'ro'
285
- | 'rs'
286
- | 'ru'
287
- | 'rw'
288
- | 'sa'
289
- | 'sb'
290
- | 'sc'
291
- | 'sd'
292
- | 'se'
293
- | 'sg'
294
- | 'sh'
295
- | 'si'
296
- | 'sj'
297
- | 'sk'
298
- | 'sl'
299
- | 'sm'
300
- | 'sn'
301
- | 'so'
302
- | 'sr'
303
- | 'ss'
304
- | 'st'
305
- | 'sv'
306
- | 'sx'
307
- | 'sy'
308
- | 'sz'
309
- | 'tc'
310
- | 'td'
311
- | 'tf'
312
- | 'tg'
313
- | 'th'
314
- | 'tj'
315
- | 'tk'
316
- | 'tl'
317
- | 'tm'
318
- | 'tn'
319
- | 'to'
320
- | 'tr'
321
- | 'tt'
322
- | 'tv'
323
- | 'tw'
324
- | 'tz'
325
- | 'ua'
326
- | 'ug'
327
- | 'um'
328
- | 'us'
329
- | 'uy'
330
- | 'uz'
331
- | 'va'
332
- | 'vc'
333
- | 've'
334
- | 'vg'
335
- | 'vi'
336
- | 'vn'
337
- | 'vu'
338
- | 'wf'
339
- | 'ws'
340
- | 'xx'
341
- | 'ye'
342
- | 'yt'
343
- | 'za'
344
- | 'zm'
345
- | 'zw';
346
-
347
- interface Other {
348
- /**
349
- * The type of the FinancialAccount, represented as a string. Upgrade your API version to see the type reflected in `financial_account.type`.
350
- */
351
- type: string;
352
- }
353
-
354
- type Status = 'closed' | 'open' | 'pending';
355
-
356
- interface StatusDetails {
357
- closed: StatusDetails.Closed | null;
358
- }
359
-
360
- namespace StatusDetails {
361
- interface Closed {
362
- forwarding_settings: Closed.ForwardingSettings | null;
363
-
364
- reason: Closed.Reason;
365
- }
366
-
367
- namespace Closed {
368
- interface ForwardingSettings {
369
- /**
370
- * The address to send forwarded payments to.
371
- */
372
- payment_method: string | null;
373
-
374
- /**
375
- * The address to send forwarded payouts to.
376
- */
377
- payout_method: string | null;
378
- }
379
-
380
- type Reason = 'account_closed' | 'closed_by_platform' | 'other';
381
- }
382
- }
383
-
384
- interface Storage {
385
- /**
386
- * The currencies that this FinancialAccount can hold.
387
- */
388
- holds_currencies: Array<Storage.HoldsCurrency>;
389
- }
390
-
391
- namespace Storage {
392
- type HoldsCurrency =
393
- | 'aed'
394
- | 'afn'
395
- | 'all'
396
- | 'amd'
397
- | 'ang'
398
- | 'aoa'
399
- | 'ars'
400
- | 'aud'
401
- | 'awg'
402
- | 'azn'
403
- | 'bam'
404
- | 'bbd'
405
- | 'bdt'
406
- | 'bgn'
407
- | 'bhd'
408
- | 'bif'
409
- | 'bmd'
410
- | 'bnd'
411
- | 'bob'
412
- | 'bov'
413
- | 'brl'
414
- | 'bsd'
415
- | 'btn'
416
- | 'bwp'
417
- | 'byn'
418
- | 'byr'
419
- | 'bzd'
420
- | 'cad'
421
- | 'cdf'
422
- | 'che'
423
- | 'chf'
424
- | 'chw'
425
- | 'clf'
426
- | 'clp'
427
- | 'cny'
428
- | 'cop'
429
- | 'cou'
430
- | 'crc'
431
- | 'cuc'
432
- | 'cup'
433
- | 'cve'
434
- | 'czk'
435
- | 'djf'
436
- | 'dkk'
437
- | 'dop'
438
- | 'dzd'
439
- | 'eek'
440
- | 'egp'
441
- | 'ern'
442
- | 'etb'
443
- | 'eur'
444
- | 'fjd'
445
- | 'fkp'
446
- | 'gbp'
447
- | 'gel'
448
- | 'ghc'
449
- | 'ghs'
450
- | 'gip'
451
- | 'gmd'
452
- | 'gnf'
453
- | 'gtq'
454
- | 'gyd'
455
- | 'hkd'
456
- | 'hnl'
457
- | 'hrk'
458
- | 'htg'
459
- | 'huf'
460
- | 'idr'
461
- | 'ils'
462
- | 'inr'
463
- | 'iqd'
464
- | 'irr'
465
- | 'isk'
466
- | 'jmd'
467
- | 'jod'
468
- | 'jpy'
469
- | 'kes'
470
- | 'kgs'
471
- | 'khr'
472
- | 'kmf'
473
- | 'kpw'
474
- | 'krw'
475
- | 'kwd'
476
- | 'kyd'
477
- | 'kzt'
478
- | 'lak'
479
- | 'lbp'
480
- | 'lkr'
481
- | 'lrd'
482
- | 'lsl'
483
- | 'ltl'
484
- | 'lvl'
485
- | 'lyd'
486
- | 'mad'
487
- | 'mdl'
488
- | 'mga'
489
- | 'mkd'
490
- | 'mmk'
491
- | 'mnt'
492
- | 'mop'
493
- | 'mro'
494
- | 'mru'
495
- | 'mur'
496
- | 'mvr'
497
- | 'mwk'
498
- | 'mxn'
499
- | 'mxv'
500
- | 'myr'
501
- | 'mzn'
502
- | 'nad'
503
- | 'ngn'
504
- | 'nio'
505
- | 'nok'
506
- | 'npr'
507
- | 'nzd'
508
- | 'omr'
509
- | 'pab'
510
- | 'pen'
511
- | 'pgk'
512
- | 'php'
513
- | 'pkr'
514
- | 'pln'
515
- | 'pyg'
516
- | 'qar'
517
- | 'ron'
518
- | 'rsd'
519
- | 'rub'
520
- | 'rwf'
521
- | 'sar'
522
- | 'sbd'
523
- | 'scr'
524
- | 'sdg'
525
- | 'sek'
526
- | 'sgd'
527
- | 'shp'
528
- | 'sle'
529
- | 'sll'
530
- | 'sos'
531
- | 'srd'
532
- | 'ssp'
533
- | 'std'
534
- | 'stn'
535
- | 'svc'
536
- | 'syp'
537
- | 'szl'
538
- | 'thb'
539
- | 'tjs'
540
- | 'tmt'
541
- | 'tnd'
542
- | 'top'
543
- | 'try'
544
- | 'ttd'
545
- | 'twd'
546
- | 'tzs'
547
- | 'uah'
548
- | 'ugx'
549
- | 'usd'
550
- | 'usdb'
551
- | 'usdc'
552
- | 'usn'
553
- | 'uyi'
554
- | 'uyu'
555
- | 'uzs'
556
- | 'vef'
557
- | 'ves'
558
- | 'vnd'
559
- | 'vuv'
560
- | 'wst'
561
- | 'xaf'
562
- | 'xcd'
563
- | 'xcg'
564
- | 'xof'
565
- | 'xpf'
566
- | 'yer'
567
- | 'zar'
568
- | 'zmk'
569
- | 'zmw'
570
- | 'zwd'
571
- | 'zwg'
572
- | 'zwl';
573
- }
574
-
575
- type Type = 'other' | 'storage';
576
- }
577
- }
578
- }
579
- }
580
- }