stripe 22.4.0-alpha.2 → 22.4.0-alpha.4

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 (761) hide show
  1. package/CHANGELOG.md +85 -0
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/Error.d.ts +66 -7
  5. package/cjs/Error.js +13 -3
  6. package/cjs/Error.js.map +1 -1
  7. package/cjs/RequestSender.d.ts +1 -1
  8. package/cjs/RequestSender.js +4 -9
  9. package/cjs/RequestSender.js.map +1 -1
  10. package/cjs/StripeEventNotificationHandler.js +5 -0
  11. package/cjs/StripeEventNotificationHandler.js.map +1 -1
  12. package/cjs/Types.d.ts +75 -11
  13. package/cjs/Types.js.map +1 -1
  14. package/cjs/Webhooks.d.ts +2 -2
  15. package/cjs/apiVersion.d.ts +1 -1
  16. package/cjs/apiVersion.js +1 -1
  17. package/cjs/platform/NodePlatformFunctions.d.ts +3 -2
  18. package/cjs/platform/NodePlatformFunctions.js +46 -24
  19. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  20. package/cjs/platform/PlatformFunctions.d.ts +1 -1
  21. package/cjs/platform/PlatformFunctions.js +1 -1
  22. package/cjs/platform/PlatformFunctions.js.map +1 -1
  23. package/cjs/resources/AccountLinks.d.ts +2 -1
  24. package/cjs/resources/AccountLinks.js.map +1 -1
  25. package/cjs/resources/AccountNotices.d.ts +2 -2
  26. package/cjs/resources/AccountNotices.js.map +1 -1
  27. package/cjs/resources/AccountSessions.d.ts +16 -33
  28. package/cjs/resources/AccountSignals.d.ts +7 -6
  29. package/cjs/resources/Accounts.d.ts +59 -41
  30. package/cjs/resources/Accounts.js +2 -2
  31. package/cjs/resources/Accounts.js.map +1 -1
  32. package/cjs/resources/ApplicationFees.d.ts +2 -2
  33. package/cjs/resources/ApplicationFees.js.map +1 -1
  34. package/cjs/resources/Apps/Secrets.d.ts +6 -6
  35. package/cjs/resources/BalanceSettings.d.ts +10 -10
  36. package/cjs/resources/BalanceTransactions.d.ts +3 -3
  37. package/cjs/resources/BalanceTransfers.d.ts +4 -4
  38. package/cjs/resources/BankAccounts.d.ts +2 -2
  39. package/cjs/resources/Billing/AlertRecovereds.d.ts +16 -0
  40. package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -2
  41. package/cjs/resources/Billing/Alerts.d.ts +13 -13
  42. package/cjs/resources/Billing/Alerts.js.map +1 -1
  43. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +4 -4
  44. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +6 -6
  45. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  46. package/cjs/resources/Billing/CreditGrants.d.ts +5 -5
  47. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  48. package/cjs/resources/Billing/MeterEventAdjustments.d.ts +2 -1
  49. package/cjs/resources/Billing/MeterEventAdjustments.js.map +1 -1
  50. package/cjs/resources/Billing/Meters.d.ts +8 -8
  51. package/cjs/resources/BillingPortal/Configurations.d.ts +22 -22
  52. package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
  53. package/cjs/resources/BillingPortal/Sessions.d.ts +7 -6
  54. package/cjs/resources/BillingPortal/Sessions.js.map +1 -1
  55. package/cjs/resources/Capabilities.d.ts +7 -6
  56. package/cjs/resources/Capital/FinancingOffers.d.ts +5 -5
  57. package/cjs/resources/Capital/FinancingOffers.js.map +1 -1
  58. package/cjs/resources/Capital/FinancingSummary.d.ts +2 -1
  59. package/cjs/resources/Capital/FinancingSummary.js.map +1 -1
  60. package/cjs/resources/Capital/FinancingTransactions.d.ts +6 -6
  61. package/cjs/resources/Cards.d.ts +4 -4
  62. package/cjs/resources/Charges.d.ts +91 -91
  63. package/cjs/resources/Charges.js.map +1 -1
  64. package/cjs/resources/Checkout/Sessions.d.ts +203 -178
  65. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  66. package/cjs/resources/Climate/Orders.d.ts +3 -3
  67. package/cjs/resources/Climate/Orders.js.map +1 -1
  68. package/cjs/resources/Climate/Suppliers.d.ts +2 -2
  69. package/cjs/resources/ConfirmationTokens.d.ts +23 -23
  70. package/cjs/resources/Coupons.d.ts +6 -6
  71. package/cjs/resources/Coupons.js.map +1 -1
  72. package/cjs/resources/CreditNoteLineItems.d.ts +3 -3
  73. package/cjs/resources/CreditNotes.d.ts +16 -16
  74. package/cjs/resources/CreditNotes.js.map +1 -1
  75. package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +2 -1
  76. package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +4 -3
  77. package/cjs/resources/Crypto/Customers.d.ts +8 -8
  78. package/cjs/resources/Crypto/OnrampSessions.d.ts +12 -12
  79. package/cjs/resources/Crypto/OnrampSessions.js.map +1 -1
  80. package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +2 -1
  81. package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -1
  82. package/cjs/resources/CustomerBalanceTransactions.d.ts +2 -2
  83. package/cjs/resources/CustomerCashBalanceTransactions.d.ts +4 -3
  84. package/cjs/resources/CustomerSessions.d.ts +29 -28
  85. package/cjs/resources/CustomerSessions.js.map +1 -1
  86. package/cjs/resources/Customers.d.ts +11 -11
  87. package/cjs/resources/Customers.js.map +1 -1
  88. package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +5 -4
  89. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +25 -25
  90. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -1
  91. package/cjs/resources/Disputes.d.ts +17 -13
  92. package/cjs/resources/Disputes.js +1 -1
  93. package/cjs/resources/Disputes.js.map +1 -1
  94. package/cjs/resources/Events.d.ts +69 -4
  95. package/cjs/resources/Files.d.ts +3 -3
  96. package/cjs/resources/Files.js.map +1 -1
  97. package/cjs/resources/FinancialConnections/Accounts.d.ts +22 -22
  98. package/cjs/resources/FinancialConnections/Authorizations.d.ts +5 -4
  99. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
  100. package/cjs/resources/FinancialConnections/Institutions.d.ts +2 -2
  101. package/cjs/resources/FinancialConnections/Sessions.d.ts +25 -13
  102. package/cjs/resources/FinancialConnections/Transactions.d.ts +2 -2
  103. package/cjs/resources/Forwarding/Requests.d.ts +3 -3
  104. package/cjs/resources/Forwarding/Requests.js.map +1 -1
  105. package/cjs/resources/FundingInstructions.d.ts +4 -4
  106. package/cjs/resources/FxQuotes.d.ts +6 -6
  107. package/cjs/resources/GiftCardOperations.d.ts +2 -1
  108. package/cjs/resources/GiftCardOperations.js.map +1 -1
  109. package/cjs/resources/Identity/VerificationReports.d.ts +17 -17
  110. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  111. package/cjs/resources/Identity/VerificationSessions.d.ts +15 -15
  112. package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
  113. package/cjs/resources/InvoiceItems.d.ts +7 -7
  114. package/cjs/resources/InvoiceItems.js.map +1 -1
  115. package/cjs/resources/InvoiceLineItems.d.ts +5 -5
  116. package/cjs/resources/InvoicePayments.d.ts +3 -3
  117. package/cjs/resources/Invoices.d.ts +155 -149
  118. package/cjs/resources/Invoices.js.map +1 -1
  119. package/cjs/resources/Issuing/Authorizations.d.ts +78 -31
  120. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  121. package/cjs/resources/Issuing/Cardholders.d.ts +17 -17
  122. package/cjs/resources/Issuing/Cardholders.js.map +1 -1
  123. package/cjs/resources/Issuing/Cards.d.ts +31 -27
  124. package/cjs/resources/Issuing/Cards.js.map +1 -1
  125. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +25 -25
  126. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -1
  127. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +3 -3
  128. package/cjs/resources/Issuing/Disputes.d.ts +24 -24
  129. package/cjs/resources/Issuing/Disputes.js.map +1 -1
  130. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +5 -5
  131. package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  132. package/cjs/resources/Issuing/PhysicalBundles.d.ts +8 -8
  133. package/cjs/resources/Issuing/Settlements.d.ts +2 -2
  134. package/cjs/resources/Issuing/Tokens.d.ts +15 -15
  135. package/cjs/resources/Issuing/Transactions.d.ts +61 -6
  136. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  137. package/cjs/resources/LineItems.d.ts +2 -2
  138. package/cjs/resources/Mandates.d.ts +16 -16
  139. package/cjs/resources/Orders.d.ts +115 -115
  140. package/cjs/resources/Orders.js.map +1 -1
  141. package/cjs/resources/PaymentAttemptRecords.d.ts +45 -45
  142. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  143. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
  144. package/cjs/resources/PaymentIntents.d.ts +645 -567
  145. package/cjs/resources/PaymentIntents.js.map +1 -1
  146. package/cjs/resources/PaymentLinks.d.ts +50 -50
  147. package/cjs/resources/PaymentLinks.js.map +1 -1
  148. package/cjs/resources/PaymentLocationCapabilities.d.ts +4 -3
  149. package/cjs/resources/PaymentLocationCapabilities.js.map +1 -1
  150. package/cjs/resources/PaymentLocations.d.ts +3 -3
  151. package/cjs/resources/PaymentLocations.js.map +1 -1
  152. package/cjs/resources/PaymentMethodConfigurations.d.ts +257 -257
  153. package/cjs/resources/PaymentMethodDomains.d.ts +7 -7
  154. package/cjs/resources/PaymentMethods.d.ts +39 -39
  155. package/cjs/resources/PaymentMethods.js +1 -1
  156. package/cjs/resources/PaymentMethods.js.map +1 -1
  157. package/cjs/resources/PaymentRecords.d.ts +159 -57
  158. package/cjs/resources/PaymentRecords.js +7 -0
  159. package/cjs/resources/PaymentRecords.js.map +1 -1
  160. package/cjs/resources/Payouts.d.ts +3 -3
  161. package/cjs/resources/Payouts.js.map +1 -1
  162. package/cjs/resources/Persons.d.ts +6 -6
  163. package/cjs/resources/Plans.d.ts +6 -6
  164. package/cjs/resources/Plans.js.map +1 -1
  165. package/cjs/resources/Prices.d.ts +6 -6
  166. package/cjs/resources/Prices.js.map +1 -1
  167. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +2 -1
  168. package/cjs/resources/Privacy/RedactionJobs.d.ts +6 -6
  169. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +3 -2
  170. package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -1
  171. package/cjs/resources/Products.d.ts +3 -3
  172. package/cjs/resources/Products.js.map +1 -1
  173. package/cjs/resources/Profiles.d.ts +42 -0
  174. package/cjs/resources/PromotionCodes.d.ts +2 -2
  175. package/cjs/resources/QuoteLines.d.ts +23 -23
  176. package/cjs/resources/QuotePreviewInvoices.d.ts +33 -27
  177. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +164 -21
  178. package/cjs/resources/Quotes.d.ts +142 -120
  179. package/cjs/resources/Quotes.js.map +1 -1
  180. package/cjs/resources/Radar/CustomerEvaluations.d.ts +4 -3
  181. package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -1
  182. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +17 -17
  183. package/cjs/resources/Radar/PaymentEvaluations.d.ts +22 -22
  184. package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -1
  185. package/cjs/resources/Radar/ValueListItems.d.ts +3 -3
  186. package/cjs/resources/Radar/ValueLists.d.ts +2 -2
  187. package/cjs/resources/Radar/ValueLists.js.map +1 -1
  188. package/cjs/resources/Refunds.d.ts +8 -4
  189. package/cjs/resources/Refunds.js.map +1 -1
  190. package/cjs/resources/Reserve/Holds.d.ts +5 -5
  191. package/cjs/resources/Reserve/Plans.d.ts +4 -4
  192. package/cjs/resources/Reserve/Releases.d.ts +4 -4
  193. package/cjs/resources/SetupAttempts.d.ts +16 -7
  194. package/cjs/resources/SetupAttempts.js.map +1 -1
  195. package/cjs/resources/SetupIntents.d.ts +138 -132
  196. package/cjs/resources/SetupIntents.js.map +1 -1
  197. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +17 -17
  198. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +21 -5
  199. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -1
  200. package/cjs/resources/ShippingRates.d.ts +5 -5
  201. package/cjs/resources/ShippingRates.js.map +1 -1
  202. package/cjs/resources/Sources.d.ts +3 -3
  203. package/cjs/resources/Sources.js.map +1 -1
  204. package/cjs/resources/SubscriptionItems.d.ts +14 -14
  205. package/cjs/resources/SubscriptionItems.js.map +1 -1
  206. package/cjs/resources/SubscriptionSchedules.d.ts +559 -110
  207. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  208. package/cjs/resources/Subscriptions.d.ts +101 -101
  209. package/cjs/resources/Subscriptions.js.map +1 -1
  210. package/cjs/resources/Tax/Associations.d.ts +2 -1
  211. package/cjs/resources/Tax/Associations.js.map +1 -1
  212. package/cjs/resources/Tax/CalculationLineItems.d.ts +5 -5
  213. package/cjs/resources/Tax/Calculations.d.ts +16 -16
  214. package/cjs/resources/Tax/Calculations.js.map +1 -1
  215. package/cjs/resources/Tax/Forms.d.ts +6 -6
  216. package/cjs/resources/Tax/Registrations.d.ts +169 -155
  217. package/cjs/resources/Tax/Settings.d.ts +4 -4
  218. package/cjs/resources/Tax/TransactionLineItems.d.ts +3 -3
  219. package/cjs/resources/Tax/Transactions.d.ts +11 -11
  220. package/cjs/resources/Tax/Transactions.js.map +1 -1
  221. package/cjs/resources/TaxCodes.d.ts +2 -2
  222. package/cjs/resources/TaxIds.d.ts +4 -4
  223. package/cjs/resources/TaxRates.d.ts +2 -2
  224. package/cjs/resources/TaxRates.js.map +1 -1
  225. package/cjs/resources/Terminal/Configurations.d.ts +4 -4
  226. package/cjs/resources/Terminal/Readers.d.ts +218 -17
  227. package/cjs/resources/Terminal/Readers.js +24 -0
  228. package/cjs/resources/Terminal/Readers.js.map +1 -1
  229. package/cjs/resources/Terminal/index.d.ts +4 -0
  230. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +12 -12
  231. package/cjs/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
  232. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
  233. package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +2 -1
  234. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -1
  235. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
  236. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  237. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
  238. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +2 -1
  239. package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -1
  240. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +2 -2
  241. package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
  242. package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  243. package/cjs/resources/TestHelpers/TestClocks.d.ts +2 -2
  244. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
  245. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  246. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
  247. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  248. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
  249. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  250. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -1
  251. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
  252. package/cjs/resources/Tokens.d.ts +18 -10
  253. package/cjs/resources/Tokens.js.map +1 -1
  254. package/cjs/resources/Treasury/CreditReversals.d.ts +4 -4
  255. package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
  256. package/cjs/resources/Treasury/DebitReversals.d.ts +5 -5
  257. package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
  258. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +38 -37
  259. package/cjs/resources/Treasury/FinancialAccounts.d.ts +19 -19
  260. package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
  261. package/cjs/resources/Treasury/InboundTransfers.d.ts +6 -6
  262. package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
  263. package/cjs/resources/Treasury/OutboundPayments.d.ts +13 -13
  264. package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
  265. package/cjs/resources/Treasury/OutboundTransfers.d.ts +10 -10
  266. package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
  267. package/cjs/resources/Treasury/ReceivedCredits.d.ts +9 -9
  268. package/cjs/resources/Treasury/ReceivedDebits.d.ts +7 -7
  269. package/cjs/resources/Treasury/TransactionEntries.d.ts +5 -5
  270. package/cjs/resources/Treasury/Transactions.d.ts +6 -6
  271. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +2 -1
  272. package/cjs/resources/V2/Billing/BillSettings.d.ts +4 -3
  273. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -1
  274. package/cjs/resources/V2/Billing/Cadences.d.ts +21 -21
  275. package/cjs/resources/V2/Billing/Cadences.js.map +1 -1
  276. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +12 -11
  277. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +34 -33
  278. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -1
  279. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +2 -2
  280. package/cjs/resources/V2/Billing/Contracts.d.ts +146 -437
  281. package/cjs/resources/V2/Billing/Contracts.js +8 -284
  282. package/cjs/resources/V2/Billing/Contracts.js.map +1 -1
  283. package/cjs/resources/V2/Billing/IntentActions.d.ts +21 -21
  284. package/cjs/resources/V2/Billing/Intents.d.ts +23 -23
  285. package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +2 -1
  286. package/cjs/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
  287. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +8 -8
  288. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -1
  289. package/cjs/resources/V2/Billing/Profiles.d.ts +3 -3
  290. package/cjs/resources/V2/Billing/ServiceActions.d.ts +7 -7
  291. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +4 -4
  292. package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +5 -5
  293. package/cjs/resources/V2/Core/AccountLinks.d.ts +23 -22
  294. package/cjs/resources/V2/Core/AccountLinks.js.map +1 -1
  295. package/cjs/resources/V2/Core/AccountPersons.d.ts +4 -4
  296. package/cjs/resources/V2/Core/AccountTokens.d.ts +7 -7
  297. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  298. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +4 -4
  299. package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  300. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +7 -7
  301. package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
  302. package/cjs/resources/V2/Core/Accounts.d.ts +61 -40
  303. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  304. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +3 -2
  305. package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -1
  306. package/cjs/resources/V2/Core/EventDestinations.d.ts +6 -6
  307. package/cjs/resources/V2/Core/Events.d.ts +103 -33
  308. package/cjs/resources/V2/Core/FeeBatches.d.ts +4 -3
  309. package/cjs/resources/V2/Core/FeeBatches.js.map +1 -1
  310. package/cjs/resources/V2/Core/FeeEntries.d.ts +4 -3
  311. package/cjs/resources/V2/Core/FeeEntries.js.map +1 -1
  312. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +11 -11
  313. package/cjs/resources/V2/Core/Health/Alerts.d.ts +16 -16
  314. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +2 -1
  315. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
  316. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +2 -1
  317. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
  318. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +4 -3
  319. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -1
  320. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +3 -2
  321. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -1
  322. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +4 -3
  323. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -1
  324. package/cjs/resources/V2/Extend/Workflows.d.ts +4 -3
  325. package/cjs/resources/V2/Extend/Workflows.js.map +1 -1
  326. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +5 -4
  327. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -1
  328. package/cjs/resources/V2/Iam/ApiKeys.d.ts +4 -3
  329. package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -1
  330. package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +5 -4
  331. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -1
  332. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +5 -5
  333. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +7 -7
  334. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +5 -4
  335. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -1
  336. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +8 -7
  337. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -1
  338. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +16 -16
  339. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +4 -3
  340. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
  341. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +8 -8
  342. package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +10 -10
  343. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +14 -3
  344. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  345. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +32 -9
  346. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -1
  347. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +4 -3
  348. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -1
  349. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +3 -2
  350. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -1
  351. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +3 -2
  352. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
  353. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +10 -10
  354. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -1
  355. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +4 -4
  356. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +3 -3
  357. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +3 -3
  358. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +2 -1
  359. package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -1
  360. package/cjs/resources/V2/Signals/AccountSignals.d.ts +4 -4
  361. package/cjs/resources/V2/Signals/AccountSignals.js +1 -1
  362. package/cjs/resources/V2/Tax/ManualRules.d.ts +2 -2
  363. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +2 -1
  364. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -1
  365. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  366. package/cjs/resources/WebhookEndpoints.js.map +1 -1
  367. package/cjs/resources.d.ts +0 -1
  368. package/cjs/resources.js +2 -4
  369. package/cjs/resources.js.map +1 -1
  370. package/cjs/shared.d.ts +5 -0
  371. package/cjs/stripe.cjs.node.d.ts +255 -93
  372. package/cjs/stripe.cjs.node.js.map +1 -1
  373. package/cjs/stripe.core.d.ts +16 -8
  374. package/cjs/stripe.core.js +6 -7
  375. package/cjs/stripe.core.js.map +1 -1
  376. package/cjs/utils.d.ts +0 -1
  377. package/cjs/utils.js +1 -17
  378. package/cjs/utils.js.map +1 -1
  379. package/esm/Error.d.ts +66 -7
  380. package/esm/Error.js +13 -3
  381. package/esm/Error.js.map +1 -1
  382. package/esm/RequestSender.d.ts +1 -1
  383. package/esm/RequestSender.js +5 -10
  384. package/esm/RequestSender.js.map +1 -1
  385. package/esm/StripeEventNotificationHandler.js +5 -0
  386. package/esm/StripeEventNotificationHandler.js.map +1 -1
  387. package/esm/Types.d.ts +75 -11
  388. package/esm/Types.js.map +1 -1
  389. package/esm/Webhooks.d.ts +2 -2
  390. package/esm/apiVersion.d.ts +1 -1
  391. package/esm/apiVersion.js +1 -1
  392. package/esm/platform/NodePlatformFunctions.d.ts +3 -2
  393. package/esm/platform/NodePlatformFunctions.js +46 -24
  394. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  395. package/esm/platform/PlatformFunctions.d.ts +1 -1
  396. package/esm/platform/PlatformFunctions.js +1 -1
  397. package/esm/platform/PlatformFunctions.js.map +1 -1
  398. package/esm/resources/AccountLinks.d.ts +2 -1
  399. package/esm/resources/AccountLinks.js.map +1 -1
  400. package/esm/resources/AccountNotices.d.ts +2 -2
  401. package/esm/resources/AccountNotices.js.map +1 -1
  402. package/esm/resources/AccountSessions.d.ts +16 -33
  403. package/esm/resources/AccountSignals.d.ts +7 -6
  404. package/esm/resources/Accounts.d.ts +59 -41
  405. package/esm/resources/Accounts.js +2 -2
  406. package/esm/resources/Accounts.js.map +1 -1
  407. package/esm/resources/ApplicationFees.d.ts +2 -2
  408. package/esm/resources/ApplicationFees.js.map +1 -1
  409. package/esm/resources/Apps/Secrets.d.ts +6 -6
  410. package/esm/resources/BalanceSettings.d.ts +10 -10
  411. package/esm/resources/BalanceTransactions.d.ts +3 -3
  412. package/esm/resources/BalanceTransfers.d.ts +4 -4
  413. package/esm/resources/BankAccounts.d.ts +2 -2
  414. package/esm/resources/Billing/AlertRecovereds.d.ts +16 -0
  415. package/esm/resources/Billing/AlertTriggereds.d.ts +2 -2
  416. package/esm/resources/Billing/Alerts.d.ts +13 -13
  417. package/esm/resources/Billing/Alerts.js.map +1 -1
  418. package/esm/resources/Billing/CreditBalanceSummary.d.ts +4 -4
  419. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +6 -6
  420. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  421. package/esm/resources/Billing/CreditGrants.d.ts +5 -5
  422. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  423. package/esm/resources/Billing/MeterEventAdjustments.d.ts +2 -1
  424. package/esm/resources/Billing/MeterEventAdjustments.js.map +1 -1
  425. package/esm/resources/Billing/Meters.d.ts +8 -8
  426. package/esm/resources/BillingPortal/Configurations.d.ts +22 -22
  427. package/esm/resources/BillingPortal/Configurations.js.map +1 -1
  428. package/esm/resources/BillingPortal/Sessions.d.ts +7 -6
  429. package/esm/resources/BillingPortal/Sessions.js.map +1 -1
  430. package/esm/resources/Capabilities.d.ts +7 -6
  431. package/esm/resources/Capital/FinancingOffers.d.ts +5 -5
  432. package/esm/resources/Capital/FinancingOffers.js.map +1 -1
  433. package/esm/resources/Capital/FinancingSummary.d.ts +2 -1
  434. package/esm/resources/Capital/FinancingSummary.js.map +1 -1
  435. package/esm/resources/Capital/FinancingTransactions.d.ts +6 -6
  436. package/esm/resources/Cards.d.ts +4 -4
  437. package/esm/resources/Charges.d.ts +91 -91
  438. package/esm/resources/Charges.js.map +1 -1
  439. package/esm/resources/Checkout/Sessions.d.ts +203 -178
  440. package/esm/resources/Checkout/Sessions.js.map +1 -1
  441. package/esm/resources/Climate/Orders.d.ts +3 -3
  442. package/esm/resources/Climate/Orders.js.map +1 -1
  443. package/esm/resources/Climate/Suppliers.d.ts +2 -2
  444. package/esm/resources/ConfirmationTokens.d.ts +23 -23
  445. package/esm/resources/Coupons.d.ts +6 -6
  446. package/esm/resources/Coupons.js.map +1 -1
  447. package/esm/resources/CreditNoteLineItems.d.ts +3 -3
  448. package/esm/resources/CreditNotes.d.ts +16 -16
  449. package/esm/resources/CreditNotes.js.map +1 -1
  450. package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +2 -1
  451. package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +4 -3
  452. package/esm/resources/Crypto/Customers.d.ts +8 -8
  453. package/esm/resources/Crypto/OnrampSessions.d.ts +12 -12
  454. package/esm/resources/Crypto/OnrampSessions.js.map +1 -1
  455. package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +2 -1
  456. package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -1
  457. package/esm/resources/CustomerBalanceTransactions.d.ts +2 -2
  458. package/esm/resources/CustomerCashBalanceTransactions.d.ts +4 -3
  459. package/esm/resources/CustomerSessions.d.ts +29 -28
  460. package/esm/resources/CustomerSessions.js.map +1 -1
  461. package/esm/resources/Customers.d.ts +11 -11
  462. package/esm/resources/Customers.js.map +1 -1
  463. package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +5 -4
  464. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +25 -25
  465. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -1
  466. package/esm/resources/Disputes.d.ts +17 -13
  467. package/esm/resources/Disputes.js +1 -1
  468. package/esm/resources/Disputes.js.map +1 -1
  469. package/esm/resources/Events.d.ts +69 -4
  470. package/esm/resources/Files.d.ts +3 -3
  471. package/esm/resources/Files.js.map +1 -1
  472. package/esm/resources/FinancialConnections/Accounts.d.ts +22 -22
  473. package/esm/resources/FinancialConnections/Authorizations.d.ts +5 -4
  474. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
  475. package/esm/resources/FinancialConnections/Institutions.d.ts +2 -2
  476. package/esm/resources/FinancialConnections/Sessions.d.ts +25 -13
  477. package/esm/resources/FinancialConnections/Transactions.d.ts +2 -2
  478. package/esm/resources/Forwarding/Requests.d.ts +3 -3
  479. package/esm/resources/Forwarding/Requests.js.map +1 -1
  480. package/esm/resources/FundingInstructions.d.ts +4 -4
  481. package/esm/resources/FxQuotes.d.ts +6 -6
  482. package/esm/resources/GiftCardOperations.d.ts +2 -1
  483. package/esm/resources/GiftCardOperations.js.map +1 -1
  484. package/esm/resources/Identity/VerificationReports.d.ts +17 -17
  485. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  486. package/esm/resources/Identity/VerificationSessions.d.ts +15 -15
  487. package/esm/resources/Identity/VerificationSessions.js.map +1 -1
  488. package/esm/resources/InvoiceItems.d.ts +7 -7
  489. package/esm/resources/InvoiceItems.js.map +1 -1
  490. package/esm/resources/InvoiceLineItems.d.ts +5 -5
  491. package/esm/resources/InvoicePayments.d.ts +3 -3
  492. package/esm/resources/Invoices.d.ts +155 -149
  493. package/esm/resources/Invoices.js.map +1 -1
  494. package/esm/resources/Issuing/Authorizations.d.ts +78 -31
  495. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  496. package/esm/resources/Issuing/Cardholders.d.ts +17 -17
  497. package/esm/resources/Issuing/Cardholders.js.map +1 -1
  498. package/esm/resources/Issuing/Cards.d.ts +31 -27
  499. package/esm/resources/Issuing/Cards.js.map +1 -1
  500. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +25 -25
  501. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -1
  502. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +3 -3
  503. package/esm/resources/Issuing/Disputes.d.ts +24 -24
  504. package/esm/resources/Issuing/Disputes.js.map +1 -1
  505. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +5 -5
  506. package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  507. package/esm/resources/Issuing/PhysicalBundles.d.ts +8 -8
  508. package/esm/resources/Issuing/Settlements.d.ts +2 -2
  509. package/esm/resources/Issuing/Tokens.d.ts +15 -15
  510. package/esm/resources/Issuing/Transactions.d.ts +61 -6
  511. package/esm/resources/Issuing/Transactions.js.map +1 -1
  512. package/esm/resources/LineItems.d.ts +2 -2
  513. package/esm/resources/Mandates.d.ts +16 -16
  514. package/esm/resources/Orders.d.ts +115 -115
  515. package/esm/resources/Orders.js.map +1 -1
  516. package/esm/resources/PaymentAttemptRecords.d.ts +45 -45
  517. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  518. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
  519. package/esm/resources/PaymentIntents.d.ts +645 -567
  520. package/esm/resources/PaymentIntents.js.map +1 -1
  521. package/esm/resources/PaymentLinks.d.ts +50 -50
  522. package/esm/resources/PaymentLinks.js.map +1 -1
  523. package/esm/resources/PaymentLocationCapabilities.d.ts +4 -3
  524. package/esm/resources/PaymentLocationCapabilities.js.map +1 -1
  525. package/esm/resources/PaymentLocations.d.ts +3 -3
  526. package/esm/resources/PaymentLocations.js.map +1 -1
  527. package/esm/resources/PaymentMethodConfigurations.d.ts +257 -257
  528. package/esm/resources/PaymentMethodDomains.d.ts +7 -7
  529. package/esm/resources/PaymentMethods.d.ts +39 -39
  530. package/esm/resources/PaymentMethods.js +1 -1
  531. package/esm/resources/PaymentMethods.js.map +1 -1
  532. package/esm/resources/PaymentRecords.d.ts +159 -57
  533. package/esm/resources/PaymentRecords.js +7 -0
  534. package/esm/resources/PaymentRecords.js.map +1 -1
  535. package/esm/resources/Payouts.d.ts +3 -3
  536. package/esm/resources/Payouts.js.map +1 -1
  537. package/esm/resources/Persons.d.ts +6 -6
  538. package/esm/resources/Plans.d.ts +6 -6
  539. package/esm/resources/Plans.js.map +1 -1
  540. package/esm/resources/Prices.d.ts +6 -6
  541. package/esm/resources/Prices.js.map +1 -1
  542. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +2 -1
  543. package/esm/resources/Privacy/RedactionJobs.d.ts +6 -6
  544. package/esm/resources/ProductCatalog/TrialOffers.d.ts +3 -2
  545. package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -1
  546. package/esm/resources/Products.d.ts +3 -3
  547. package/esm/resources/Products.js.map +1 -1
  548. package/esm/resources/Profiles.d.ts +42 -0
  549. package/esm/resources/PromotionCodes.d.ts +2 -2
  550. package/esm/resources/QuoteLines.d.ts +23 -23
  551. package/esm/resources/QuotePreviewInvoices.d.ts +33 -27
  552. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +164 -21
  553. package/esm/resources/Quotes.d.ts +142 -120
  554. package/esm/resources/Quotes.js.map +1 -1
  555. package/esm/resources/Radar/CustomerEvaluations.d.ts +4 -3
  556. package/esm/resources/Radar/CustomerEvaluations.js.map +1 -1
  557. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +17 -17
  558. package/esm/resources/Radar/PaymentEvaluations.d.ts +22 -22
  559. package/esm/resources/Radar/PaymentEvaluations.js.map +1 -1
  560. package/esm/resources/Radar/ValueListItems.d.ts +3 -3
  561. package/esm/resources/Radar/ValueLists.d.ts +2 -2
  562. package/esm/resources/Radar/ValueLists.js.map +1 -1
  563. package/esm/resources/Refunds.d.ts +8 -4
  564. package/esm/resources/Refunds.js.map +1 -1
  565. package/esm/resources/Reserve/Holds.d.ts +5 -5
  566. package/esm/resources/Reserve/Plans.d.ts +4 -4
  567. package/esm/resources/Reserve/Releases.d.ts +4 -4
  568. package/esm/resources/SetupAttempts.d.ts +16 -7
  569. package/esm/resources/SetupAttempts.js.map +1 -1
  570. package/esm/resources/SetupIntents.d.ts +138 -132
  571. package/esm/resources/SetupIntents.js.map +1 -1
  572. package/esm/resources/SharedPayment/GrantedTokens.d.ts +17 -17
  573. package/esm/resources/SharedPayment/IssuedTokens.d.ts +21 -5
  574. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -1
  575. package/esm/resources/ShippingRates.d.ts +5 -5
  576. package/esm/resources/ShippingRates.js.map +1 -1
  577. package/esm/resources/Sources.d.ts +3 -3
  578. package/esm/resources/Sources.js.map +1 -1
  579. package/esm/resources/SubscriptionItems.d.ts +14 -14
  580. package/esm/resources/SubscriptionItems.js.map +1 -1
  581. package/esm/resources/SubscriptionSchedules.d.ts +559 -110
  582. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  583. package/esm/resources/Subscriptions.d.ts +101 -101
  584. package/esm/resources/Subscriptions.js.map +1 -1
  585. package/esm/resources/Tax/Associations.d.ts +2 -1
  586. package/esm/resources/Tax/Associations.js.map +1 -1
  587. package/esm/resources/Tax/CalculationLineItems.d.ts +5 -5
  588. package/esm/resources/Tax/Calculations.d.ts +16 -16
  589. package/esm/resources/Tax/Calculations.js.map +1 -1
  590. package/esm/resources/Tax/Forms.d.ts +6 -6
  591. package/esm/resources/Tax/Registrations.d.ts +169 -155
  592. package/esm/resources/Tax/Settings.d.ts +4 -4
  593. package/esm/resources/Tax/TransactionLineItems.d.ts +3 -3
  594. package/esm/resources/Tax/Transactions.d.ts +11 -11
  595. package/esm/resources/Tax/Transactions.js.map +1 -1
  596. package/esm/resources/TaxCodes.d.ts +2 -2
  597. package/esm/resources/TaxIds.d.ts +4 -4
  598. package/esm/resources/TaxRates.d.ts +2 -2
  599. package/esm/resources/TaxRates.js.map +1 -1
  600. package/esm/resources/Terminal/Configurations.d.ts +4 -4
  601. package/esm/resources/Terminal/Readers.d.ts +218 -17
  602. package/esm/resources/Terminal/Readers.js +24 -0
  603. package/esm/resources/Terminal/Readers.js.map +1 -1
  604. package/esm/resources/Terminal/index.d.ts +4 -0
  605. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +12 -12
  606. package/esm/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
  607. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
  608. package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +2 -1
  609. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -1
  610. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
  611. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  612. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
  613. package/esm/resources/TestHelpers/PaymentIntents.d.ts +2 -1
  614. package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -1
  615. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +2 -2
  616. package/esm/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
  617. package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  618. package/esm/resources/TestHelpers/TestClocks.d.ts +2 -2
  619. package/esm/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
  620. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  621. package/esm/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
  622. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  623. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
  624. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  625. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -1
  626. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
  627. package/esm/resources/Tokens.d.ts +18 -10
  628. package/esm/resources/Tokens.js.map +1 -1
  629. package/esm/resources/Treasury/CreditReversals.d.ts +4 -4
  630. package/esm/resources/Treasury/CreditReversals.js.map +1 -1
  631. package/esm/resources/Treasury/DebitReversals.d.ts +5 -5
  632. package/esm/resources/Treasury/DebitReversals.js.map +1 -1
  633. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +38 -37
  634. package/esm/resources/Treasury/FinancialAccounts.d.ts +19 -19
  635. package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
  636. package/esm/resources/Treasury/InboundTransfers.d.ts +6 -6
  637. package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
  638. package/esm/resources/Treasury/OutboundPayments.d.ts +13 -13
  639. package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
  640. package/esm/resources/Treasury/OutboundTransfers.d.ts +10 -10
  641. package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
  642. package/esm/resources/Treasury/ReceivedCredits.d.ts +9 -9
  643. package/esm/resources/Treasury/ReceivedDebits.d.ts +7 -7
  644. package/esm/resources/Treasury/TransactionEntries.d.ts +5 -5
  645. package/esm/resources/Treasury/Transactions.d.ts +6 -6
  646. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +2 -1
  647. package/esm/resources/V2/Billing/BillSettings.d.ts +4 -3
  648. package/esm/resources/V2/Billing/BillSettings.js.map +1 -1
  649. package/esm/resources/V2/Billing/Cadences.d.ts +21 -21
  650. package/esm/resources/V2/Billing/Cadences.js.map +1 -1
  651. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +12 -11
  652. package/esm/resources/V2/Billing/CollectionSettings.d.ts +34 -33
  653. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -1
  654. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +2 -2
  655. package/esm/resources/V2/Billing/Contracts.d.ts +146 -437
  656. package/esm/resources/V2/Billing/Contracts.js +8 -284
  657. package/esm/resources/V2/Billing/Contracts.js.map +1 -1
  658. package/esm/resources/V2/Billing/IntentActions.d.ts +21 -21
  659. package/esm/resources/V2/Billing/Intents.d.ts +23 -23
  660. package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +2 -1
  661. package/esm/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
  662. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +8 -8
  663. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -1
  664. package/esm/resources/V2/Billing/Profiles.d.ts +3 -3
  665. package/esm/resources/V2/Billing/ServiceActions.d.ts +7 -7
  666. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +4 -4
  667. package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +5 -5
  668. package/esm/resources/V2/Core/AccountLinks.d.ts +23 -22
  669. package/esm/resources/V2/Core/AccountLinks.js.map +1 -1
  670. package/esm/resources/V2/Core/AccountPersons.d.ts +4 -4
  671. package/esm/resources/V2/Core/AccountTokens.d.ts +7 -7
  672. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  673. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +4 -4
  674. package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  675. package/esm/resources/V2/Core/Accounts/Persons.d.ts +7 -7
  676. package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
  677. package/esm/resources/V2/Core/Accounts.d.ts +61 -40
  678. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  679. package/esm/resources/V2/Core/ApprovalRequests.d.ts +3 -2
  680. package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -1
  681. package/esm/resources/V2/Core/EventDestinations.d.ts +6 -6
  682. package/esm/resources/V2/Core/Events.d.ts +103 -33
  683. package/esm/resources/V2/Core/FeeBatches.d.ts +4 -3
  684. package/esm/resources/V2/Core/FeeBatches.js.map +1 -1
  685. package/esm/resources/V2/Core/FeeEntries.d.ts +4 -3
  686. package/esm/resources/V2/Core/FeeEntries.js.map +1 -1
  687. package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +11 -11
  688. package/esm/resources/V2/Core/Health/Alerts.d.ts +16 -16
  689. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +2 -1
  690. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
  691. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +2 -1
  692. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
  693. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +4 -3
  694. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -1
  695. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +3 -2
  696. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -1
  697. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +4 -3
  698. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -1
  699. package/esm/resources/V2/Extend/Workflows.d.ts +4 -3
  700. package/esm/resources/V2/Extend/Workflows.js.map +1 -1
  701. package/esm/resources/V2/Iam/ActivityLogs.d.ts +5 -4
  702. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -1
  703. package/esm/resources/V2/Iam/ApiKeys.d.ts +4 -3
  704. package/esm/resources/V2/Iam/ApiKeys.js.map +1 -1
  705. package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +5 -4
  706. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -1
  707. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +5 -5
  708. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +7 -7
  709. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +5 -4
  710. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -1
  711. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +8 -7
  712. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -1
  713. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +16 -16
  714. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +4 -3
  715. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
  716. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +8 -8
  717. package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +10 -10
  718. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +14 -3
  719. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  720. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +32 -9
  721. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -1
  722. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +4 -3
  723. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -1
  724. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +3 -2
  725. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -1
  726. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +3 -2
  727. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
  728. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +10 -10
  729. package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -1
  730. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +4 -4
  731. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +3 -3
  732. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +3 -3
  733. package/esm/resources/V2/Reporting/ReportRuns.d.ts +2 -1
  734. package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -1
  735. package/esm/resources/V2/Signals/AccountSignals.d.ts +4 -4
  736. package/esm/resources/V2/Signals/AccountSignals.js +1 -1
  737. package/esm/resources/V2/Tax/ManualRules.d.ts +2 -2
  738. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +2 -1
  739. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -1
  740. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  741. package/esm/resources/WebhookEndpoints.js.map +1 -1
  742. package/esm/resources.d.ts +0 -1
  743. package/esm/resources.js +0 -1
  744. package/esm/resources.js.map +1 -1
  745. package/esm/shared.d.ts +5 -0
  746. package/esm/stripe.core.d.ts +16 -8
  747. package/esm/stripe.core.js +6 -7
  748. package/esm/stripe.core.js.map +1 -1
  749. package/esm/stripe.esm.node.d.ts +16 -7
  750. package/esm/stripe.esm.node.js +1 -3
  751. package/esm/stripe.esm.node.js.map +1 -1
  752. package/esm/utils.d.ts +0 -1
  753. package/esm/utils.js +0 -15
  754. package/esm/utils.js.map +1 -1
  755. package/package.json +1 -1
  756. package/cjs/resources/FrMealVouchersOnboardings.d.ts +0 -173
  757. package/cjs/resources/FrMealVouchersOnboardings.js +0 -42
  758. package/cjs/resources/FrMealVouchersOnboardings.js.map +0 -1
  759. package/esm/resources/FrMealVouchersOnboardings.d.ts +0 -173
  760. package/esm/resources/FrMealVouchersOnboardings.js +0 -38
  761. package/esm/resources/FrMealVouchersOnboardings.js.map +0 -1
@@ -7,7 +7,7 @@ import { AccountSignals } from './AccountSignals.js';
7
7
  import { RiskSignals } from './RiskSignals.js';
8
8
  import { File } from './Files.js';
9
9
  import { TaxId } from './TaxIds.js';
10
- import { Emptyable, MetadataParam, AddressParam, JapanAddressParam, PaginationParams, RangeQueryParam, Metadata, Address } from '../shared.js';
10
+ import { Emptyable, MetadataParam, AddressParam, OtherString, JapanAddressParam, PaginationParams, RangeQueryParam, Metadata, Address } from '../shared.js';
11
11
  import { RequestOptions, Response, ApiListPromise, ApiList } from '../lib.js';
12
12
  export declare class AccountResource extends StripeResource {
13
13
  /**
@@ -52,7 +52,7 @@ export declare class AccountResource extends StripeResource {
52
52
  * With [Connect](https://docs.stripe.com/docs/connect), you can create Stripe accounts for your users.
53
53
  * To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
54
54
  *
55
- * If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/docs/connect/best-practices#onboarding) when
55
+ * If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/connect/marketplace/tasks/create#prefill-account-information) when
56
56
  * creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding.
57
57
  * You can prefill any information on the account.
58
58
  */
@@ -121,7 +121,7 @@ export declare class AccountResource extends StripeResource {
121
121
  */
122
122
  createLoginLink(id: string, params?: AccountCreateLoginLinkParams, options?: RequestOptions): Promise<Response<LoginLink>>;
123
123
  /**
124
- * Deletes an existing person's relationship to the account's legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file.
124
+ * Deletes an existing person's relationship to the account's legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the representative. If your integration is using the executive parameter, you cannot delete the only verified executive on file.
125
125
  */
126
126
  deletePerson(accountId: string, id: string, params?: AccountDeletePersonParams, options?: RequestOptions): Promise<Response<DeletedPerson>>;
127
127
  /**
@@ -300,7 +300,7 @@ export declare namespace Account {
300
300
  */
301
301
  url: string | null;
302
302
  }
303
- type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit';
303
+ type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit' | OtherString;
304
304
  interface Capabilities {
305
305
  /**
306
306
  * The status of the Canadian pre-authorized debits payments capability of the account, or whether the account can directly process Canadian pre-authorized debits charges.
@@ -629,6 +629,7 @@ export declare namespace Account {
629
629
  * The Kanji variation of the company's primary address (Japan only).
630
630
  */
631
631
  address_kanji?: Company.AddressKanji | null;
632
+ administrative_address?: Address;
632
633
  /**
633
634
  * Whether the company's directors have been provided. This Boolean will be `true` if you've manually indicated that all directors are provided via [the `directors_provided` parameter](https://docs.stripe.com/api/accounts/update#update_account-company-directors_provided).
634
635
  */
@@ -677,6 +678,7 @@ export declare namespace Account {
677
678
  * The company's phone number (used for verification).
678
679
  */
679
680
  phone?: string | null;
681
+ principal_place_of_business?: Address;
680
682
  registration_date?: Company.RegistrationDate;
681
683
  /**
682
684
  * This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
@@ -740,7 +742,7 @@ export declare namespace Account {
740
742
  */
741
743
  disabled_reason: FutureRequirements.DisabledReason | null;
742
744
  /**
743
- * Details about validation and verification failures for `due` requirements that must be resolved.
745
+ * Fields that are `currently_due` and need to be collected again because validation or verification failed.
744
746
  */
745
747
  errors: Array<FutureRequirements.Error> | null;
746
748
  /**
@@ -780,7 +782,7 @@ export declare namespace Account {
780
782
  */
781
783
  disabled_reason: Requirements.DisabledReason | null;
782
784
  /**
783
- * Details about validation and verification failures for `due` requirements that must be resolved.
785
+ * Fields that are `currently_due` and need to be collected again because validation or verification failed.
784
786
  */
785
787
  errors: Array<Requirements.Error> | null;
786
788
  /**
@@ -838,7 +840,7 @@ export declare namespace Account {
838
840
  */
839
841
  user_agent?: string | null;
840
842
  }
841
- type Type = 'custom' | 'express' | 'none' | 'standard';
843
+ type Type = 'custom' | 'express' | 'none' | 'standard' | OtherString;
842
844
  namespace BusinessProfile {
843
845
  interface AnnualRevenue {
844
846
  /**
@@ -854,7 +856,7 @@ export declare namespace Account {
854
856
  */
855
857
  fiscal_year_end: string | null;
856
858
  }
857
- type MinorityOwnedBusinessDesignation = 'lgbtqi_owned_business' | 'minority_owned_business' | 'none_of_these_apply' | 'prefer_not_to_answer' | 'women_owned_business';
859
+ type MinorityOwnedBusinessDesignation = 'lgbtqi_owned_business' | 'minority_owned_business' | 'none_of_these_apply' | 'prefer_not_to_answer' | 'women_owned_business' | OtherString;
858
860
  interface MonthlyEstimatedRevenue {
859
861
  /**
860
862
  * A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
@@ -1036,7 +1038,7 @@ export declare namespace Account {
1036
1038
  */
1037
1039
  user_agent: string | null;
1038
1040
  }
1039
- type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
1041
+ type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution' | OtherString;
1040
1042
  interface RegistrationDate {
1041
1043
  /**
1042
1044
  * The day of registration, between 1 and 31.
@@ -1065,7 +1067,7 @@ export declare namespace Account {
1065
1067
  */
1066
1068
  user_agent: string | null;
1067
1069
  }
1068
- type Structure = 'free_zone_establishment' | 'free_zone_llc' | 'government_instrumentality' | 'governmental_unit' | 'incorporated_non_profit' | 'incorporated_partnership' | 'limited_liability_partnership' | 'llc' | 'multi_member_llc' | 'private_company' | 'private_corporation' | 'private_partnership' | 'public_company' | 'public_corporation' | 'public_partnership' | 'registered_charity' | 'single_member_llc' | 'sole_establishment' | 'sole_proprietorship' | 'tax_exempt_government_instrumentality' | 'unincorporated_association' | 'unincorporated_non_profit' | 'unincorporated_partnership';
1070
+ type Structure = 'free_zone_establishment' | 'free_zone_llc' | 'government_instrumentality' | 'governmental_unit' | 'incorporated_non_profit' | 'incorporated_partnership' | 'limited_liability_partnership' | 'llc' | 'multi_member_llc' | 'private_company' | 'private_corporation' | 'private_partnership' | 'public_company' | 'public_corporation' | 'public_partnership' | 'registered_charity' | 'single_member_llc' | 'sole_establishment' | 'sole_proprietorship' | 'tax_exempt_government_instrumentality' | 'unincorporated_association' | 'unincorporated_non_profit' | 'unincorporated_partnership' | OtherString;
1069
1071
  interface Verification {
1070
1072
  document: Verification.Document;
1071
1073
  }
@@ -1123,7 +1125,7 @@ export declare namespace Account {
1123
1125
  */
1124
1126
  payments: Losses.Payments;
1125
1127
  }
1126
- type RequirementCollection = 'application' | 'stripe';
1128
+ type RequirementCollection = 'application' | 'stripe' | OtherString;
1127
1129
  interface StripeDashboard {
1128
1130
  /**
1129
1131
  * A value indicating the Stripe dashboard this account has access to independent of the Connect application.
@@ -1135,13 +1137,13 @@ export declare namespace Account {
1135
1137
  type Type = 'express' | 'full' | 'none';
1136
1138
  }
1137
1139
  namespace Fees {
1138
- type Payer = 'account' | 'application' | 'application_custom' | 'application_express' | 'application_unified_accounts_beta';
1140
+ type Payer = 'account' | 'application' | 'application_custom' | 'application_express' | 'application_unified_accounts_beta' | OtherString;
1139
1141
  }
1140
1142
  namespace Losses {
1141
- type Payments = 'application' | 'stripe';
1143
+ type Payments = 'application' | 'stripe' | OtherString;
1142
1144
  }
1143
1145
  namespace StripeDashboard {
1144
- type Type = 'express' | 'full' | 'none';
1146
+ type Type = 'express' | 'full' | 'none' | OtherString;
1145
1147
  }
1146
1148
  }
1147
1149
  namespace FutureRequirements {
@@ -1217,7 +1219,7 @@ export declare namespace Account {
1217
1219
  */
1218
1220
  pause_requested: boolean;
1219
1221
  }
1220
- type RejectedReason = 'credit' | 'fraud' | 'fraud_no_intent_to_fulfill' | 'fraud_other' | 'fraud_payment_method_casher' | 'fraud_payment_method_tester' | 'other' | 'terms_of_service';
1222
+ type RejectedReason = 'credit' | 'fraud' | 'fraud_no_intent_to_fulfill' | 'fraud_other' | 'fraud_payment_method_casher' | 'fraud_payment_method_tester' | 'other' | 'terms_of_service' | OtherString;
1221
1223
  }
1222
1224
  namespace Settings {
1223
1225
  interface BacsDebitPayments {
@@ -1421,7 +1423,7 @@ export declare namespace Account {
1421
1423
  weekly_payout_days?: Array<Schedule.WeeklyPayoutDay>;
1422
1424
  }
1423
1425
  namespace Schedule {
1424
- type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
1426
+ type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
1425
1427
  }
1426
1428
  }
1427
1429
  namespace PaypayPayments {
@@ -1633,7 +1635,7 @@ export declare namespace AccountCreateParams {
1633
1635
  */
1634
1636
  url?: string;
1635
1637
  }
1636
- type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit';
1638
+ type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit' | OtherString;
1637
1639
  interface Capabilities {
1638
1640
  /**
1639
1641
  * The acss_debit_payments capability.
@@ -2031,6 +2033,8 @@ export declare namespace AccountCreateParams {
2031
2033
  structure?: Emptyable<Company.Structure>;
2032
2034
  /**
2033
2035
  * The business ID number of the company, as appropriate for the company's country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
2036
+ *
2037
+ * Changing this value requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
2034
2038
  */
2035
2039
  tax_id?: string;
2036
2040
  /**
@@ -2347,7 +2351,7 @@ export declare namespace AccountCreateParams {
2347
2351
  */
2348
2352
  fiscal_year_end: string;
2349
2353
  }
2350
- type MinorityOwnedBusinessDesignation = 'lgbtqi_owned_business' | 'minority_owned_business' | 'none_of_these_apply' | 'prefer_not_to_answer' | 'women_owned_business';
2354
+ type MinorityOwnedBusinessDesignation = 'lgbtqi_owned_business' | 'minority_owned_business' | 'none_of_these_apply' | 'prefer_not_to_answer' | 'women_owned_business' | OtherString;
2351
2355
  interface MonthlyEstimatedRevenue {
2352
2356
  /**
2353
2357
  * A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
@@ -2884,7 +2888,7 @@ export declare namespace AccountCreateParams {
2884
2888
  */
2885
2889
  user_agent?: string;
2886
2890
  }
2887
- type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
2891
+ type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution' | OtherString;
2888
2892
  interface RegistrationDate {
2889
2893
  /**
2890
2894
  * The day of registration, between 1 and 31.
@@ -2913,7 +2917,7 @@ export declare namespace AccountCreateParams {
2913
2917
  */
2914
2918
  user_agent?: string;
2915
2919
  }
2916
- type Structure = 'free_zone_establishment' | 'free_zone_llc' | 'government_instrumentality' | 'governmental_unit' | 'incorporated_non_profit' | 'incorporated_partnership' | 'limited_liability_partnership' | 'llc' | 'multi_member_llc' | 'private_company' | 'private_corporation' | 'private_partnership' | 'public_company' | 'public_corporation' | 'public_partnership' | 'registered_charity' | 'single_member_llc' | 'sole_establishment' | 'sole_proprietorship' | 'tax_exempt_government_instrumentality' | 'unincorporated_association' | 'unincorporated_non_profit' | 'unincorporated_partnership';
2920
+ type Structure = 'free_zone_establishment' | 'free_zone_llc' | 'government_instrumentality' | 'governmental_unit' | 'incorporated_non_profit' | 'incorporated_partnership' | 'limited_liability_partnership' | 'llc' | 'multi_member_llc' | 'private_company' | 'private_corporation' | 'private_partnership' | 'public_company' | 'public_corporation' | 'public_partnership' | 'registered_charity' | 'single_member_llc' | 'sole_establishment' | 'sole_proprietorship' | 'tax_exempt_government_instrumentality' | 'unincorporated_association' | 'unincorporated_non_profit' | 'unincorporated_partnership' | OtherString;
2917
2921
  interface Verification {
2918
2922
  /**
2919
2923
  * A document verifying the business.
@@ -2966,7 +2970,7 @@ export declare namespace AccountCreateParams {
2966
2970
  */
2967
2971
  payments?: Losses.Payments;
2968
2972
  }
2969
- type RequirementCollection = 'application' | 'stripe';
2973
+ type RequirementCollection = 'application' | 'stripe' | OtherString;
2970
2974
  interface StripeDashboard {
2971
2975
  /**
2972
2976
  * Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
@@ -2974,16 +2978,16 @@ export declare namespace AccountCreateParams {
2974
2978
  type?: StripeDashboard.Type;
2975
2979
  }
2976
2980
  namespace Dashboard {
2977
- type Type = 'express' | 'full' | 'none';
2981
+ type Type = 'express' | 'full' | 'none' | OtherString;
2978
2982
  }
2979
2983
  namespace Fees {
2980
- type Payer = 'account' | 'application';
2984
+ type Payer = 'account' | 'application' | OtherString;
2981
2985
  }
2982
2986
  namespace Losses {
2983
- type Payments = 'application' | 'stripe';
2987
+ type Payments = 'application' | 'stripe' | OtherString;
2984
2988
  }
2985
2989
  namespace StripeDashboard {
2986
- type Type = 'express' | 'full' | 'none';
2990
+ type Type = 'express' | 'full' | 'none' | OtherString;
2987
2991
  }
2988
2992
  }
2989
2993
  namespace Documents {
@@ -3081,7 +3085,7 @@ export declare namespace AccountCreateParams {
3081
3085
  */
3082
3086
  year: number;
3083
3087
  }
3084
- type PoliticalExposure = 'existing' | 'none';
3088
+ type PoliticalExposure = 'existing' | 'none' | OtherString;
3085
3089
  interface Relationship {
3086
3090
  /**
3087
3091
  * Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
@@ -3345,7 +3349,7 @@ export declare namespace AccountCreateParams {
3345
3349
  }
3346
3350
  }
3347
3351
  namespace Invoices {
3348
- type HostedPaymentMethodSave = 'always' | 'never' | 'offer';
3352
+ type HostedPaymentMethodSave = 'always' | 'never' | 'offer' | OtherString;
3349
3353
  }
3350
3354
  namespace Payouts {
3351
3355
  interface Schedule {
@@ -3377,7 +3381,7 @@ export declare namespace AccountCreateParams {
3377
3381
  namespace Schedule {
3378
3382
  type Interval = 'daily' | 'manual' | 'monthly' | 'weekly';
3379
3383
  type WeeklyAnchor = 'friday' | 'monday' | 'saturday' | 'sunday' | 'thursday' | 'tuesday' | 'wednesday';
3380
- type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
3384
+ type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
3381
3385
  }
3382
3386
  }
3383
3387
  namespace PaypayPayments {
@@ -3587,7 +3591,7 @@ export declare namespace AccountUpdateParams {
3587
3591
  */
3588
3592
  url?: string;
3589
3593
  }
3590
- type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit';
3594
+ type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit' | OtherString;
3591
3595
  interface Capabilities {
3592
3596
  /**
3593
3597
  * The acss_debit_payments capability.
@@ -3982,6 +3986,8 @@ export declare namespace AccountUpdateParams {
3982
3986
  structure?: Emptyable<Company.Structure>;
3983
3987
  /**
3984
3988
  * The business ID number of the company, as appropriate for the company's country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
3989
+ *
3990
+ * Changing this value requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
3985
3991
  */
3986
3992
  tax_id?: string;
3987
3993
  /**
@@ -4296,7 +4302,7 @@ export declare namespace AccountUpdateParams {
4296
4302
  */
4297
4303
  fiscal_year_end: string;
4298
4304
  }
4299
- type MinorityOwnedBusinessDesignation = 'lgbtqi_owned_business' | 'minority_owned_business' | 'none_of_these_apply' | 'prefer_not_to_answer' | 'women_owned_business';
4305
+ type MinorityOwnedBusinessDesignation = 'lgbtqi_owned_business' | 'minority_owned_business' | 'none_of_these_apply' | 'prefer_not_to_answer' | 'women_owned_business' | OtherString;
4300
4306
  interface MonthlyEstimatedRevenue {
4301
4307
  /**
4302
4308
  * A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
@@ -4833,7 +4839,7 @@ export declare namespace AccountUpdateParams {
4833
4839
  */
4834
4840
  user_agent?: string;
4835
4841
  }
4836
- type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
4842
+ type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution' | OtherString;
4837
4843
  interface RegistrationDate {
4838
4844
  /**
4839
4845
  * The day of registration, between 1 and 31.
@@ -4862,7 +4868,7 @@ export declare namespace AccountUpdateParams {
4862
4868
  */
4863
4869
  user_agent?: string;
4864
4870
  }
4865
- type Structure = 'free_zone_establishment' | 'free_zone_llc' | 'government_instrumentality' | 'governmental_unit' | 'incorporated_non_profit' | 'incorporated_partnership' | 'limited_liability_partnership' | 'llc' | 'multi_member_llc' | 'private_company' | 'private_corporation' | 'private_partnership' | 'public_company' | 'public_corporation' | 'public_partnership' | 'registered_charity' | 'single_member_llc' | 'sole_establishment' | 'sole_proprietorship' | 'tax_exempt_government_instrumentality' | 'unincorporated_association' | 'unincorporated_non_profit' | 'unincorporated_partnership';
4871
+ type Structure = 'free_zone_establishment' | 'free_zone_llc' | 'government_instrumentality' | 'governmental_unit' | 'incorporated_non_profit' | 'incorporated_partnership' | 'limited_liability_partnership' | 'llc' | 'multi_member_llc' | 'private_company' | 'private_corporation' | 'private_partnership' | 'public_company' | 'public_corporation' | 'public_partnership' | 'registered_charity' | 'single_member_llc' | 'sole_establishment' | 'sole_proprietorship' | 'tax_exempt_government_instrumentality' | 'unincorporated_association' | 'unincorporated_non_profit' | 'unincorporated_partnership' | OtherString;
4866
4872
  interface Verification {
4867
4873
  /**
4868
4874
  * A document verifying the business.
@@ -4977,7 +4983,7 @@ export declare namespace AccountUpdateParams {
4977
4983
  */
4978
4984
  year: number;
4979
4985
  }
4980
- type PoliticalExposure = 'existing' | 'none';
4986
+ type PoliticalExposure = 'existing' | 'none' | OtherString;
4981
4987
  interface Relationship {
4982
4988
  /**
4983
4989
  * Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
@@ -5245,7 +5251,7 @@ export declare namespace AccountUpdateParams {
5245
5251
  }
5246
5252
  }
5247
5253
  namespace Invoices {
5248
- type HostedPaymentMethodSave = 'always' | 'never' | 'offer';
5254
+ type HostedPaymentMethodSave = 'always' | 'never' | 'offer' | OtherString;
5249
5255
  }
5250
5256
  namespace Payouts {
5251
5257
  interface Schedule {
@@ -5277,7 +5283,7 @@ export declare namespace AccountUpdateParams {
5277
5283
  namespace Schedule {
5278
5284
  type Interval = 'daily' | 'manual' | 'monthly' | 'weekly';
5279
5285
  type WeeklyAnchor = 'friday' | 'monday' | 'saturday' | 'sunday' | 'thursday' | 'tuesday' | 'wednesday';
5280
- type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
5286
+ type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
5281
5287
  }
5282
5288
  }
5283
5289
  namespace PaypayPayments {
@@ -5502,10 +5508,14 @@ export interface AccountCreatePersonParams {
5502
5508
  gender?: string;
5503
5509
  /**
5504
5510
  * The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).
5511
+ *
5512
+ * Changing this value for the account's representative requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
5505
5513
  */
5506
5514
  id_number?: string;
5507
5515
  /**
5508
5516
  * The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).
5517
+ *
5518
+ * Changing this value for the account's representative requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
5509
5519
  */
5510
5520
  id_number_secondary?: string;
5511
5521
  /**
@@ -5562,6 +5572,8 @@ export interface AccountCreatePersonParams {
5562
5572
  self_reported_monthly_housing_payment?: AccountCreatePersonParams.SelfReportedMonthlyHousingPayment;
5563
5573
  /**
5564
5574
  * The last four digits of the person's Social Security number (U.S. only).
5575
+ *
5576
+ * Changing this value for the account's representative requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
5565
5577
  */
5566
5578
  ssn_last_4?: string;
5567
5579
  /**
@@ -5608,7 +5620,7 @@ export declare namespace AccountCreatePersonParams {
5608
5620
  */
5609
5621
  visa?: Documents.Visa;
5610
5622
  }
5611
- type PoliticalExposure = 'existing' | 'none';
5623
+ type PoliticalExposure = 'existing' | 'none' | OtherString;
5612
5624
  interface Relationship {
5613
5625
  /**
5614
5626
  * Whether the person is the authorizer of the account's representative.
@@ -5745,10 +5757,10 @@ export declare namespace AccountCreatePersonParams {
5745
5757
  race_other?: string;
5746
5758
  }
5747
5759
  namespace EthnicityDetails {
5748
- type Ethnicity = 'cuban' | 'hispanic_or_latino' | 'mexican' | 'not_hispanic_or_latino' | 'other_hispanic_or_latino' | 'prefer_not_to_answer' | 'puerto_rican';
5760
+ type Ethnicity = 'cuban' | 'hispanic_or_latino' | 'mexican' | 'not_hispanic_or_latino' | 'other_hispanic_or_latino' | 'prefer_not_to_answer' | 'puerto_rican' | OtherString;
5749
5761
  }
5750
5762
  namespace RaceDetails {
5751
- type Race = 'african_american' | 'american_indian_or_alaska_native' | 'asian' | 'asian_indian' | 'black_or_african_american' | 'chinese' | 'ethiopian' | 'filipino' | 'guamanian_or_chamorro' | 'haitian' | 'jamaican' | 'japanese' | 'korean' | 'native_hawaiian' | 'native_hawaiian_or_other_pacific_islander' | 'nigerian' | 'other_asian' | 'other_black_or_african_american' | 'other_pacific_islander' | 'prefer_not_to_answer' | 'samoan' | 'somali' | 'vietnamese' | 'white';
5763
+ type Race = 'african_american' | 'american_indian_or_alaska_native' | 'asian' | 'asian_indian' | 'black_or_african_american' | 'chinese' | 'ethiopian' | 'filipino' | 'guamanian_or_chamorro' | 'haitian' | 'jamaican' | 'japanese' | 'korean' | 'native_hawaiian' | 'native_hawaiian_or_other_pacific_islander' | 'nigerian' | 'other_asian' | 'other_black_or_african_american' | 'other_pacific_islander' | 'prefer_not_to_answer' | 'samoan' | 'somali' | 'vietnamese' | 'white' | OtherString;
5752
5764
  }
5753
5765
  }
5754
5766
  namespace Verification {
@@ -6036,10 +6048,14 @@ export interface AccountUpdatePersonParams {
6036
6048
  gender?: string;
6037
6049
  /**
6038
6050
  * The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).
6051
+ *
6052
+ * Changing this value for the account's representative requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
6039
6053
  */
6040
6054
  id_number?: string;
6041
6055
  /**
6042
6056
  * The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).
6057
+ *
6058
+ * Changing this value for the account's representative requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
6043
6059
  */
6044
6060
  id_number_secondary?: string;
6045
6061
  /**
@@ -6096,6 +6112,8 @@ export interface AccountUpdatePersonParams {
6096
6112
  self_reported_monthly_housing_payment?: AccountUpdatePersonParams.SelfReportedMonthlyHousingPayment;
6097
6113
  /**
6098
6114
  * The last four digits of the person's Social Security number (U.S. only).
6115
+ *
6116
+ * Changing this value for the account's representative requires that the account re-accept the [terms of service](https://docs.stripe.com/api/accounts/object#account_object-tos_acceptance).
6099
6117
  */
6100
6118
  ssn_last_4?: string;
6101
6119
  /**
@@ -6142,7 +6160,7 @@ export declare namespace AccountUpdatePersonParams {
6142
6160
  */
6143
6161
  visa?: Documents.Visa;
6144
6162
  }
6145
- type PoliticalExposure = 'existing' | 'none';
6163
+ type PoliticalExposure = 'existing' | 'none' | OtherString;
6146
6164
  interface Relationship {
6147
6165
  /**
6148
6166
  * Whether the person is the authorizer of the account's representative.
@@ -6279,10 +6297,10 @@ export declare namespace AccountUpdatePersonParams {
6279
6297
  race_other?: string;
6280
6298
  }
6281
6299
  namespace EthnicityDetails {
6282
- type Ethnicity = 'cuban' | 'hispanic_or_latino' | 'mexican' | 'not_hispanic_or_latino' | 'other_hispanic_or_latino' | 'prefer_not_to_answer' | 'puerto_rican';
6300
+ type Ethnicity = 'cuban' | 'hispanic_or_latino' | 'mexican' | 'not_hispanic_or_latino' | 'other_hispanic_or_latino' | 'prefer_not_to_answer' | 'puerto_rican' | OtherString;
6283
6301
  }
6284
6302
  namespace RaceDetails {
6285
- type Race = 'african_american' | 'american_indian_or_alaska_native' | 'asian' | 'asian_indian' | 'black_or_african_american' | 'chinese' | 'ethiopian' | 'filipino' | 'guamanian_or_chamorro' | 'haitian' | 'jamaican' | 'japanese' | 'korean' | 'native_hawaiian' | 'native_hawaiian_or_other_pacific_islander' | 'nigerian' | 'other_asian' | 'other_black_or_african_american' | 'other_pacific_islander' | 'prefer_not_to_answer' | 'samoan' | 'somali' | 'vietnamese' | 'white';
6303
+ type Race = 'african_american' | 'american_indian_or_alaska_native' | 'asian' | 'asian_indian' | 'black_or_african_american' | 'chinese' | 'ethiopian' | 'filipino' | 'guamanian_or_chamorro' | 'haitian' | 'jamaican' | 'japanese' | 'korean' | 'native_hawaiian' | 'native_hawaiian_or_other_pacific_islander' | 'nigerian' | 'other_asian' | 'other_black_or_african_american' | 'other_pacific_islander' | 'prefer_not_to_answer' | 'samoan' | 'somali' | 'vietnamese' | 'white' | OtherString;
6286
6304
  }
6287
6305
  }
6288
6306
  namespace Verification {
@@ -63,7 +63,7 @@ class AccountResource extends StripeResource_js_1.StripeResource {
63
63
  * With [Connect](https://docs.stripe.com/docs/connect), you can create Stripe accounts for your users.
64
64
  * To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
65
65
  *
66
- * If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/docs/connect/best-practices#onboarding) when
66
+ * If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/connect/marketplace/tasks/create#prefill-account-information) when
67
67
  * creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding.
68
68
  * You can prefill any information on the account.
69
69
  */
@@ -187,7 +187,7 @@ class AccountResource extends StripeResource_js_1.StripeResource {
187
187
  return this._makeRequest('POST', `/v1/accounts/${encodeURIComponent(id)}/login_links`, params, options);
188
188
  }
189
189
  /**
190
- * Deletes an existing person's relationship to the account's legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file.
190
+ * Deletes an existing person's relationship to the account's legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the representative. If your integration is using the executive parameter, you cannot delete the only verified executive on file.
191
191
  */
192
192
  deletePerson(accountId, id, params, options) {
193
193
  return this._makeRequest('DELETE', `/v1/accounts/${encodeURIComponent(accountId)}/persons/${encodeURIComponent(id)}`, params, options);
@@ -1 +1 @@
1
- {"version":3,"file":"Accounts.js","sourceRoot":"","sources":["../../src/resources/Accounts.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AAqBpD,MAAa,eAAgB,SAAQ,kCAAc;IACjD;;;;;;;;OAQG;IACH,GAAG,CACD,EAAU,EACV,MAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,QAAQ,EACR,gBAAgB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACxC,MAAM,EACN,OAAO,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D;;OAEG;IACH,eAAe,CACb,EAAU,EACV,MAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,gBAAgB,kBAAkB,CAAC,EAAE,CAAC,UAAU,EAChD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA5bD,0CA4bC"}
1
+ {"version":3,"file":"Accounts.js","sourceRoot":"","sources":["../../src/resources/Accounts.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AAsBpD,MAAa,eAAgB,SAAQ,kCAAc;IACjD;;;;;;;;OAQG;IACH,GAAG,CACD,EAAU,EACV,MAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,QAAQ,EACR,gBAAgB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACxC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAiB,EACjB,MAA8B,EAC9B,OAAwB;QAExB,IAAI,OAAO,EAAE,KAAK,QAAQ,EAAE;YAC1B,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,gBAAgB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACxC,MAAM,EACN,OAAO,CACD,CAAC;SACV;aAAM;YACL,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAQ,CAAC;SACxE;IACH,CAAC;IACD;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,EAAU,EACV,MAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,gBAAgB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACxC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,eAAe,CACb,MAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,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BAAgB,kBAAkB,CAChC,SAAS,CACV,YAAY,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACrC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,WAAW,CACT,EAAU,EACV,MAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,gBAAgB,kBAAkB,CAAC,EAAE,CAAC,UAAU,EAChD,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,YAAY,CACV,EAAU,EACV,MAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,gBAAgB,kBAAkB,CAAC,EAAE,CAAC,UAAU,EAChD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,eAAe,CACb,EAAU,EACV,MAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,gBAAgB,kBAAkB,CAAC,EAAE,CAAC,UAAU,EAChD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA5bD,0CA4bC"}
@@ -4,7 +4,7 @@ import { Account } from './Accounts.js';
4
4
  import { Application } from './Applications.js';
5
5
  import { BalanceTransaction } from './BalanceTransactions.js';
6
6
  import { Charge } from './Charges.js';
7
- import { PaginationParams, RangeQueryParam, MetadataParam, Emptyable } from '../shared.js';
7
+ import { PaginationParams, RangeQueryParam, MetadataParam, Emptyable, OtherString } from '../shared.js';
8
8
  import { RequestOptions, ApiListPromise, Response, ApiList } from '../lib.js';
9
9
  export declare class ApplicationFeeResource extends StripeResource {
10
10
  /**
@@ -147,7 +147,7 @@ export declare namespace ApplicationFee {
147
147
  }
148
148
  type SettlementType = 'gross_settled' | 'net_settled';
149
149
  namespace FeeSource {
150
- type Type = 'charge' | 'payout' | 'transfer';
150
+ type Type = 'charge' | 'payout' | 'transfer' | OtherString;
151
151
  }
152
152
  }
153
153
  export interface ApplicationFeeRetrieveParams {
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationFees.js","sourceRoot":"","sources":["../../src/resources/ApplicationFees.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AAcpD,MAAa,sBAAuB,SAAQ,kCAAc;IACxD;;OAEG;IACH,IAAI,CACF,MAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,OAAO,EAAE;YACvE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAChD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,cAAc,CACZ,KAAa,EACb,EAAU,EACV,MAA2C,EAC3C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,kBAAkB,CACxC,KAAK,CACN,YAAY,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACrC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;OAIG;IACH,YAAY,CACV,KAAa,EACb,EAAU,EACV,MAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CACxC,KAAK,CACN,YAAY,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACrC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,WAAW,CACT,EAAU,EACV,MAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,UAAU,EACxD,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;;;;;;;;;OAUG;IACH,YAAY,CACV,EAAU,EACV,MAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,UAAU,EACxD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA1GD,wDA0GC"}
1
+ {"version":3,"file":"ApplicationFees.js","sourceRoot":"","sources":["../../src/resources/ApplicationFees.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AAepD,MAAa,sBAAuB,SAAQ,kCAAc;IACxD;;OAEG;IACH,IAAI,CACF,MAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,OAAO,EAAE;YACvE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAChD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,cAAc,CACZ,KAAa,EACb,EAAU,EACV,MAA2C,EAC3C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,kBAAkB,CACxC,KAAK,CACN,YAAY,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACrC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;OAIG;IACH,YAAY,CACV,KAAa,EACb,EAAU,EACV,MAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CACxC,KAAK,CACN,YAAY,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACrC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,WAAW,CACT,EAAU,EACV,MAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,UAAU,EACxD,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;;;;;;;;;OAUG;IACH,YAAY,CACV,EAAU,EACV,MAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,UAAU,EACxD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA1GD,wDA0GC"}
@@ -1,5 +1,5 @@
1
1
  import { StripeResource } from '../../StripeResource.js';
2
- import { PaginationParams } from '../../shared.js';
2
+ import { OtherString, PaginationParams } from '../../shared.js';
3
3
  import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
4
4
  export declare class SecretResource extends StripeResource {
5
5
  /**
@@ -66,7 +66,7 @@ export declare namespace Secret {
66
66
  user?: string;
67
67
  }
68
68
  namespace Scope {
69
- type Type = 'account' | 'user';
69
+ type Type = 'account' | 'user' | OtherString;
70
70
  }
71
71
  }
72
72
  export declare namespace Apps {
@@ -104,7 +104,7 @@ export declare namespace Apps {
104
104
  user?: string;
105
105
  }
106
106
  namespace Scope {
107
- type Type = 'account' | 'user';
107
+ type Type = 'account' | 'user' | OtherString;
108
108
  }
109
109
  }
110
110
  }
@@ -131,7 +131,7 @@ export declare namespace Apps {
131
131
  user?: string;
132
132
  }
133
133
  namespace Scope {
134
- type Type = 'account' | 'user';
134
+ type Type = 'account' | 'user' | OtherString;
135
135
  }
136
136
  }
137
137
  }
@@ -162,7 +162,7 @@ export declare namespace Apps {
162
162
  user?: string;
163
163
  }
164
164
  namespace Scope {
165
- type Type = 'account' | 'user';
165
+ type Type = 'account' | 'user' | OtherString;
166
166
  }
167
167
  }
168
168
  }
@@ -193,7 +193,7 @@ export declare namespace Apps {
193
193
  user?: string;
194
194
  }
195
195
  namespace Scope {
196
- type Type = 'account' | 'user';
196
+ type Type = 'account' | 'user' | OtherString;
197
197
  }
198
198
  }
199
199
  }
@@ -1,5 +1,5 @@
1
1
  import { StripeResource } from '../StripeResource.js';
2
- import { Emptyable } from '../shared.js';
2
+ import { Emptyable, OtherString } from '../shared.js';
3
3
  import { RequestOptions, Response } from '../lib.js';
4
4
  export declare class BalanceSettingResource extends StripeResource {
5
5
  /**
@@ -69,7 +69,7 @@ export declare namespace BalanceSettings {
69
69
  */
70
70
  status: Payouts.Status;
71
71
  }
72
- type SettlementCurrencies = 'disabled' | 'enabled' | 'restricted_by_application';
72
+ type SettlementCurrencies = 'disabled' | 'enabled' | 'restricted_by_application' | OtherString;
73
73
  interface SettlementTiming {
74
74
  /**
75
75
  * The number of days charge funds are held before becoming available.
@@ -113,13 +113,13 @@ export declare namespace BalanceSettings {
113
113
  */
114
114
  weekly_payout_days?: Array<Schedule.WeeklyPayoutDay>;
115
115
  }
116
- type Status = 'disabled' | 'enabled';
116
+ type Status = 'disabled' | 'enabled' | OtherString;
117
117
  namespace AutomaticTransferRulesByCurrency {
118
- type Type = 'transfer_all' | 'transfer_up_to_amount';
118
+ type Type = 'transfer_all' | 'transfer_up_to_amount' | OtherString;
119
119
  }
120
120
  namespace Schedule {
121
- type Interval = 'daily' | 'manual' | 'monthly' | 'weekly';
122
- type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
121
+ type Interval = 'daily' | 'manual' | 'monthly' | 'weekly' | OtherString;
122
+ type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
123
123
  }
124
124
  }
125
125
  namespace SettlementTiming {
@@ -200,7 +200,7 @@ export declare namespace BalanceSettingsUpdateParams {
200
200
  */
201
201
  statement_descriptor?: string;
202
202
  }
203
- type SettlementCurrencies = 'disabled' | 'enabled';
203
+ type SettlementCurrencies = 'disabled' | 'enabled' | OtherString;
204
204
  interface SettlementTiming {
205
205
  /**
206
206
  * Change `delay_days` for this account, which determines the number of days charge funds are held before becoming available. The maximum value is 31. Passing an empty string to `delay_days_override` will return `delay_days` to the default, which is the lowest available value for the account. [Learn more about controlling delay days](https://docs.stripe.com/connect/manage-payout-schedule).
@@ -241,11 +241,11 @@ export declare namespace BalanceSettingsUpdateParams {
241
241
  weekly_payout_days?: Array<Schedule.WeeklyPayoutDay>;
242
242
  }
243
243
  namespace AutomaticTransferRulesByCurrency {
244
- type Type = 'transfer_all' | 'transfer_up_to_amount';
244
+ type Type = 'transfer_all' | 'transfer_up_to_amount' | OtherString;
245
245
  }
246
246
  namespace Schedule {
247
- type Interval = 'daily' | 'manual' | 'monthly' | 'weekly';
248
- type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
247
+ type Interval = 'daily' | 'manual' | 'monthly' | 'weekly' | OtherString;
248
+ type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
249
249
  }
250
250
  }
251
251
  namespace SettlementTiming {
@@ -1,6 +1,6 @@
1
1
  import { StripeResource } from '../StripeResource.js';
2
2
  import { BalanceTransactionSource } from './BalanceTransactionSources.js';
3
- import { PaginationParams, RangeQueryParam } from '../shared.js';
3
+ import { PaginationParams, RangeQueryParam, OtherString } from '../shared.js';
4
4
  import { RequestOptions, ApiListPromise, Response } from '../lib.js';
5
5
  export declare class BalanceTransactionResource extends StripeResource {
6
6
  /**
@@ -50,7 +50,7 @@ export interface BalanceTransaction {
50
50
  */
51
51
  description: string | null;
52
52
  /**
53
- * If applicable, this transaction uses an exchange rate. If money converts from currency A to currency B, then the `amount` in currency A, multipled by the `exchange_rate`, equals the `amount` in currency B. For example, if you charge a customer 10.00 EUR, the PaymentIntent's `amount` is `1000` and `currency` is `eur`. If this converts to 12.34 USD in your Stripe account, the BalanceTransaction's `amount` is `1234`, its `currency` is `usd`, and the `exchange_rate` is `1.234`.
53
+ * If applicable, this transaction uses an exchange rate. If money converts from currency A to currency B, then the `amount` in currency A, multiplied by the `exchange_rate`, equals the `amount` in currency B. For example, if you charge a customer 10.00 EUR, the PaymentIntent's `amount` is `1000` and `currency` is `eur`. If this converts to 12.34 USD in your Stripe account, the BalanceTransaction's `amount` is `1234`, its `currency` is `usd`, and the `exchange_rate` is `1.234`.
54
54
  */
55
55
  exchange_rate: number | null;
56
56
  /**
@@ -83,7 +83,7 @@ export interface BalanceTransaction {
83
83
  type: BalanceTransaction.Type;
84
84
  }
85
85
  export declare namespace BalanceTransaction {
86
- type BalanceType = 'fee_credits' | 'issuing' | 'payments' | 'refund_and_dispute_prefunding' | 'risk_reserved' | 'transit';
86
+ type BalanceType = 'fee_credits' | 'issuing' | 'payments' | 'refund_and_dispute_prefunding' | 'risk_reserved' | 'transit' | OtherString;
87
87
  interface FeeDetail {
88
88
  /**
89
89
  * Amount of the fee, in cents.