stripe 22.4.0-alpha.3 → 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 (733) hide show
  1. package/CHANGELOG.md +36 -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/Types.d.ts +75 -11
  11. package/cjs/Types.js.map +1 -1
  12. package/cjs/platform/NodePlatformFunctions.d.ts +3 -2
  13. package/cjs/platform/NodePlatformFunctions.js +46 -24
  14. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  15. package/cjs/platform/PlatformFunctions.d.ts +1 -1
  16. package/cjs/platform/PlatformFunctions.js +1 -1
  17. package/cjs/platform/PlatformFunctions.js.map +1 -1
  18. package/cjs/resources/AccountLinks.d.ts +2 -1
  19. package/cjs/resources/AccountLinks.js.map +1 -1
  20. package/cjs/resources/AccountNotices.d.ts +2 -2
  21. package/cjs/resources/AccountNotices.js.map +1 -1
  22. package/cjs/resources/AccountSessions.d.ts +16 -33
  23. package/cjs/resources/AccountSignals.d.ts +7 -6
  24. package/cjs/resources/Accounts.d.ts +54 -38
  25. package/cjs/resources/Accounts.js +1 -1
  26. package/cjs/resources/Accounts.js.map +1 -1
  27. package/cjs/resources/ApplicationFees.d.ts +2 -2
  28. package/cjs/resources/ApplicationFees.js.map +1 -1
  29. package/cjs/resources/Apps/Secrets.d.ts +6 -6
  30. package/cjs/resources/BalanceSettings.d.ts +10 -10
  31. package/cjs/resources/BalanceTransactions.d.ts +3 -3
  32. package/cjs/resources/BalanceTransfers.d.ts +4 -4
  33. package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -2
  34. package/cjs/resources/Billing/Alerts.d.ts +13 -13
  35. package/cjs/resources/Billing/Alerts.js.map +1 -1
  36. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +4 -4
  37. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +6 -6
  38. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  39. package/cjs/resources/Billing/CreditGrants.d.ts +5 -5
  40. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  41. package/cjs/resources/Billing/MeterEventAdjustments.d.ts +2 -1
  42. package/cjs/resources/Billing/MeterEventAdjustments.js.map +1 -1
  43. package/cjs/resources/Billing/Meters.d.ts +8 -8
  44. package/cjs/resources/BillingPortal/Configurations.d.ts +22 -22
  45. package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
  46. package/cjs/resources/BillingPortal/Sessions.d.ts +7 -6
  47. package/cjs/resources/BillingPortal/Sessions.js.map +1 -1
  48. package/cjs/resources/Capabilities.d.ts +5 -4
  49. package/cjs/resources/Capital/FinancingOffers.d.ts +5 -5
  50. package/cjs/resources/Capital/FinancingOffers.js.map +1 -1
  51. package/cjs/resources/Capital/FinancingSummary.d.ts +2 -1
  52. package/cjs/resources/Capital/FinancingSummary.js.map +1 -1
  53. package/cjs/resources/Capital/FinancingTransactions.d.ts +3 -3
  54. package/cjs/resources/Cards.d.ts +4 -4
  55. package/cjs/resources/Charges.d.ts +89 -89
  56. package/cjs/resources/Charges.js.map +1 -1
  57. package/cjs/resources/Checkout/Sessions.d.ts +175 -175
  58. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  59. package/cjs/resources/Climate/Orders.d.ts +3 -3
  60. package/cjs/resources/Climate/Orders.js.map +1 -1
  61. package/cjs/resources/Climate/Suppliers.d.ts +2 -2
  62. package/cjs/resources/ConfirmationTokens.d.ts +21 -21
  63. package/cjs/resources/Coupons.d.ts +6 -6
  64. package/cjs/resources/Coupons.js.map +1 -1
  65. package/cjs/resources/CreditNoteLineItems.d.ts +3 -3
  66. package/cjs/resources/CreditNotes.d.ts +16 -16
  67. package/cjs/resources/CreditNotes.js.map +1 -1
  68. package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +2 -1
  69. package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +4 -3
  70. package/cjs/resources/Crypto/Customers.d.ts +8 -8
  71. package/cjs/resources/Crypto/OnrampSessions.d.ts +12 -12
  72. package/cjs/resources/Crypto/OnrampSessions.js.map +1 -1
  73. package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +2 -1
  74. package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -1
  75. package/cjs/resources/CustomerBalanceTransactions.d.ts +2 -2
  76. package/cjs/resources/CustomerCashBalanceTransactions.d.ts +4 -3
  77. package/cjs/resources/CustomerSessions.d.ts +29 -28
  78. package/cjs/resources/CustomerSessions.js.map +1 -1
  79. package/cjs/resources/Customers.d.ts +11 -11
  80. package/cjs/resources/Customers.js.map +1 -1
  81. package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +5 -4
  82. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +25 -25
  83. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -1
  84. package/cjs/resources/Disputes.d.ts +12 -12
  85. package/cjs/resources/Disputes.js.map +1 -1
  86. package/cjs/resources/Events.d.ts +69 -4
  87. package/cjs/resources/Files.d.ts +3 -3
  88. package/cjs/resources/Files.js.map +1 -1
  89. package/cjs/resources/FinancialConnections/Accounts.d.ts +22 -22
  90. package/cjs/resources/FinancialConnections/Authorizations.d.ts +5 -4
  91. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
  92. package/cjs/resources/FinancialConnections/Institutions.d.ts +2 -2
  93. package/cjs/resources/FinancialConnections/Sessions.d.ts +20 -13
  94. package/cjs/resources/FinancialConnections/Transactions.d.ts +2 -2
  95. package/cjs/resources/Forwarding/Requests.d.ts +3 -3
  96. package/cjs/resources/Forwarding/Requests.js.map +1 -1
  97. package/cjs/resources/FundingInstructions.d.ts +4 -4
  98. package/cjs/resources/FxQuotes.d.ts +6 -6
  99. package/cjs/resources/GiftCardOperations.d.ts +2 -1
  100. package/cjs/resources/GiftCardOperations.js.map +1 -1
  101. package/cjs/resources/Identity/VerificationReports.d.ts +17 -17
  102. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  103. package/cjs/resources/Identity/VerificationSessions.d.ts +15 -15
  104. package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
  105. package/cjs/resources/InvoiceItems.d.ts +7 -7
  106. package/cjs/resources/InvoiceItems.js.map +1 -1
  107. package/cjs/resources/InvoiceLineItems.d.ts +5 -5
  108. package/cjs/resources/InvoicePayments.d.ts +3 -3
  109. package/cjs/resources/Invoices.d.ts +148 -148
  110. package/cjs/resources/Invoices.js.map +1 -1
  111. package/cjs/resources/Issuing/Authorizations.d.ts +32 -32
  112. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  113. package/cjs/resources/Issuing/Cardholders.d.ts +17 -17
  114. package/cjs/resources/Issuing/Cardholders.js.map +1 -1
  115. package/cjs/resources/Issuing/Cards.d.ts +31 -27
  116. package/cjs/resources/Issuing/Cards.js.map +1 -1
  117. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +25 -25
  118. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -1
  119. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +3 -3
  120. package/cjs/resources/Issuing/Disputes.d.ts +24 -24
  121. package/cjs/resources/Issuing/Disputes.js.map +1 -1
  122. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +5 -5
  123. package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  124. package/cjs/resources/Issuing/PhysicalBundles.d.ts +8 -8
  125. package/cjs/resources/Issuing/Settlements.d.ts +2 -2
  126. package/cjs/resources/Issuing/Tokens.d.ts +15 -15
  127. package/cjs/resources/Issuing/Transactions.d.ts +11 -8
  128. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  129. package/cjs/resources/LineItems.d.ts +2 -2
  130. package/cjs/resources/Mandates.d.ts +16 -16
  131. package/cjs/resources/Orders.d.ts +115 -115
  132. package/cjs/resources/Orders.js.map +1 -1
  133. package/cjs/resources/PaymentAttemptRecords.d.ts +42 -42
  134. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  135. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
  136. package/cjs/resources/PaymentIntents.d.ts +571 -571
  137. package/cjs/resources/PaymentIntents.js.map +1 -1
  138. package/cjs/resources/PaymentLinks.d.ts +50 -50
  139. package/cjs/resources/PaymentLinks.js.map +1 -1
  140. package/cjs/resources/PaymentLocationCapabilities.d.ts +4 -3
  141. package/cjs/resources/PaymentLocationCapabilities.js.map +1 -1
  142. package/cjs/resources/PaymentLocations.d.ts +3 -3
  143. package/cjs/resources/PaymentLocations.js.map +1 -1
  144. package/cjs/resources/PaymentMethodConfigurations.d.ts +257 -257
  145. package/cjs/resources/PaymentMethodDomains.d.ts +7 -7
  146. package/cjs/resources/PaymentMethods.d.ts +37 -37
  147. package/cjs/resources/PaymentMethods.js +1 -1
  148. package/cjs/resources/PaymentMethods.js.map +1 -1
  149. package/cjs/resources/PaymentRecords.d.ts +156 -54
  150. package/cjs/resources/PaymentRecords.js +7 -0
  151. package/cjs/resources/PaymentRecords.js.map +1 -1
  152. package/cjs/resources/Payouts.d.ts +3 -3
  153. package/cjs/resources/Payouts.js.map +1 -1
  154. package/cjs/resources/Persons.d.ts +4 -4
  155. package/cjs/resources/Plans.d.ts +6 -6
  156. package/cjs/resources/Plans.js.map +1 -1
  157. package/cjs/resources/Prices.d.ts +6 -6
  158. package/cjs/resources/Prices.js.map +1 -1
  159. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +2 -1
  160. package/cjs/resources/Privacy/RedactionJobs.d.ts +6 -6
  161. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +3 -2
  162. package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -1
  163. package/cjs/resources/Products.d.ts +3 -3
  164. package/cjs/resources/Products.js.map +1 -1
  165. package/cjs/resources/Profiles.d.ts +42 -0
  166. package/cjs/resources/QuoteLines.d.ts +23 -23
  167. package/cjs/resources/QuotePreviewInvoices.d.ts +27 -27
  168. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +120 -21
  169. package/cjs/resources/Quotes.d.ts +120 -120
  170. package/cjs/resources/Quotes.js.map +1 -1
  171. package/cjs/resources/Radar/CustomerEvaluations.d.ts +4 -3
  172. package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -1
  173. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +17 -17
  174. package/cjs/resources/Radar/PaymentEvaluations.d.ts +22 -22
  175. package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -1
  176. package/cjs/resources/Radar/ValueListItems.d.ts +3 -3
  177. package/cjs/resources/Radar/ValueLists.d.ts +2 -2
  178. package/cjs/resources/Radar/ValueLists.js.map +1 -1
  179. package/cjs/resources/Refunds.d.ts +8 -4
  180. package/cjs/resources/Refunds.js.map +1 -1
  181. package/cjs/resources/Reserve/Holds.d.ts +5 -5
  182. package/cjs/resources/Reserve/Plans.d.ts +4 -4
  183. package/cjs/resources/Reserve/Releases.d.ts +4 -4
  184. package/cjs/resources/SetupAttempts.d.ts +7 -7
  185. package/cjs/resources/SetupIntents.d.ts +132 -132
  186. package/cjs/resources/SetupIntents.js.map +1 -1
  187. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +15 -15
  188. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +21 -5
  189. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -1
  190. package/cjs/resources/ShippingRates.d.ts +5 -5
  191. package/cjs/resources/ShippingRates.js.map +1 -1
  192. package/cjs/resources/Sources.d.ts +3 -3
  193. package/cjs/resources/Sources.js.map +1 -1
  194. package/cjs/resources/SubscriptionItems.d.ts +14 -14
  195. package/cjs/resources/SubscriptionItems.js.map +1 -1
  196. package/cjs/resources/SubscriptionSchedules.d.ts +510 -105
  197. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  198. package/cjs/resources/Subscriptions.d.ts +101 -101
  199. package/cjs/resources/Subscriptions.js.map +1 -1
  200. package/cjs/resources/Tax/Associations.d.ts +2 -1
  201. package/cjs/resources/Tax/Associations.js.map +1 -1
  202. package/cjs/resources/Tax/CalculationLineItems.d.ts +4 -4
  203. package/cjs/resources/Tax/Calculations.d.ts +14 -14
  204. package/cjs/resources/Tax/Calculations.js.map +1 -1
  205. package/cjs/resources/Tax/Forms.d.ts +6 -6
  206. package/cjs/resources/Tax/Registrations.d.ts +153 -153
  207. package/cjs/resources/Tax/Settings.d.ts +4 -4
  208. package/cjs/resources/Tax/TransactionLineItems.d.ts +3 -3
  209. package/cjs/resources/Tax/Transactions.d.ts +10 -10
  210. package/cjs/resources/Tax/Transactions.js.map +1 -1
  211. package/cjs/resources/TaxCodes.d.ts +2 -2
  212. package/cjs/resources/TaxIds.d.ts +4 -4
  213. package/cjs/resources/TaxRates.d.ts +2 -2
  214. package/cjs/resources/TaxRates.js.map +1 -1
  215. package/cjs/resources/Terminal/Configurations.d.ts +4 -4
  216. package/cjs/resources/Terminal/Readers.d.ts +16 -16
  217. package/cjs/resources/Terminal/Readers.js.map +1 -1
  218. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +12 -12
  219. package/cjs/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
  220. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
  221. package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +2 -1
  222. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -1
  223. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
  224. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  225. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
  226. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +2 -1
  227. package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -1
  228. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +2 -2
  229. package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
  230. package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  231. package/cjs/resources/TestHelpers/TestClocks.d.ts +2 -2
  232. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
  233. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  234. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
  235. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  236. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
  237. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  238. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -1
  239. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
  240. package/cjs/resources/Tokens.d.ts +18 -10
  241. package/cjs/resources/Tokens.js.map +1 -1
  242. package/cjs/resources/Treasury/CreditReversals.d.ts +4 -4
  243. package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
  244. package/cjs/resources/Treasury/DebitReversals.d.ts +5 -5
  245. package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
  246. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +38 -37
  247. package/cjs/resources/Treasury/FinancialAccounts.d.ts +19 -19
  248. package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
  249. package/cjs/resources/Treasury/InboundTransfers.d.ts +6 -6
  250. package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
  251. package/cjs/resources/Treasury/OutboundPayments.d.ts +13 -13
  252. package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
  253. package/cjs/resources/Treasury/OutboundTransfers.d.ts +10 -10
  254. package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
  255. package/cjs/resources/Treasury/ReceivedCredits.d.ts +9 -9
  256. package/cjs/resources/Treasury/ReceivedDebits.d.ts +7 -7
  257. package/cjs/resources/Treasury/TransactionEntries.d.ts +5 -5
  258. package/cjs/resources/Treasury/Transactions.d.ts +6 -6
  259. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +2 -1
  260. package/cjs/resources/V2/Billing/BillSettings.d.ts +4 -3
  261. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -1
  262. package/cjs/resources/V2/Billing/Cadences.d.ts +21 -21
  263. package/cjs/resources/V2/Billing/Cadences.js.map +1 -1
  264. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +12 -11
  265. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +34 -33
  266. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -1
  267. package/cjs/resources/V2/Billing/Contracts.d.ts +16 -16
  268. package/cjs/resources/V2/Billing/Contracts.js.map +1 -1
  269. package/cjs/resources/V2/Billing/IntentActions.d.ts +21 -21
  270. package/cjs/resources/V2/Billing/Intents.d.ts +23 -23
  271. package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +2 -1
  272. package/cjs/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
  273. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +8 -8
  274. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -1
  275. package/cjs/resources/V2/Billing/Profiles.d.ts +3 -3
  276. package/cjs/resources/V2/Billing/ServiceActions.d.ts +7 -7
  277. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +4 -4
  278. package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +5 -5
  279. package/cjs/resources/V2/Core/AccountLinks.d.ts +23 -22
  280. package/cjs/resources/V2/Core/AccountLinks.js.map +1 -1
  281. package/cjs/resources/V2/Core/AccountPersons.d.ts +4 -4
  282. package/cjs/resources/V2/Core/AccountTokens.d.ts +7 -7
  283. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  284. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +4 -4
  285. package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  286. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +7 -7
  287. package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
  288. package/cjs/resources/V2/Core/Accounts.d.ts +40 -40
  289. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  290. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +3 -2
  291. package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -1
  292. package/cjs/resources/V2/Core/EventDestinations.d.ts +6 -6
  293. package/cjs/resources/V2/Core/Events.d.ts +30 -30
  294. package/cjs/resources/V2/Core/FeeBatches.d.ts +4 -3
  295. package/cjs/resources/V2/Core/FeeBatches.js.map +1 -1
  296. package/cjs/resources/V2/Core/FeeEntries.d.ts +4 -3
  297. package/cjs/resources/V2/Core/FeeEntries.js.map +1 -1
  298. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +11 -11
  299. package/cjs/resources/V2/Core/Health/Alerts.d.ts +16 -16
  300. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +2 -1
  301. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
  302. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +2 -1
  303. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
  304. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +2 -1
  305. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -1
  306. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +3 -2
  307. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -1
  308. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +4 -3
  309. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -1
  310. package/cjs/resources/V2/Extend/Workflows.d.ts +4 -3
  311. package/cjs/resources/V2/Extend/Workflows.js.map +1 -1
  312. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +5 -4
  313. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -1
  314. package/cjs/resources/V2/Iam/ApiKeys.d.ts +4 -3
  315. package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -1
  316. package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +5 -4
  317. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -1
  318. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +5 -5
  319. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +7 -7
  320. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +5 -4
  321. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -1
  322. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +8 -7
  323. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -1
  324. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +16 -16
  325. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +4 -3
  326. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
  327. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +8 -8
  328. package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +10 -10
  329. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +4 -3
  330. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  331. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +10 -9
  332. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -1
  333. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +4 -3
  334. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -1
  335. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +3 -2
  336. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -1
  337. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +3 -2
  338. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
  339. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +10 -10
  340. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -1
  341. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +4 -4
  342. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +3 -3
  343. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +3 -3
  344. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +2 -1
  345. package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -1
  346. package/cjs/resources/V2/Signals/AccountSignals.d.ts +4 -4
  347. package/cjs/resources/V2/Signals/AccountSignals.js +1 -1
  348. package/cjs/resources/V2/Tax/ManualRules.d.ts +2 -2
  349. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +2 -1
  350. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -1
  351. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  352. package/cjs/resources/WebhookEndpoints.js.map +1 -1
  353. package/cjs/resources.d.ts +0 -1
  354. package/cjs/resources.js +2 -4
  355. package/cjs/resources.js.map +1 -1
  356. package/cjs/shared.d.ts +5 -0
  357. package/cjs/stripe.cjs.node.d.ts +168 -40
  358. package/cjs/stripe.cjs.node.js.map +1 -1
  359. package/cjs/stripe.core.d.ts +4 -8
  360. package/cjs/stripe.core.js +6 -7
  361. package/cjs/stripe.core.js.map +1 -1
  362. package/cjs/utils.d.ts +0 -1
  363. package/cjs/utils.js +1 -17
  364. package/cjs/utils.js.map +1 -1
  365. package/esm/Error.d.ts +66 -7
  366. package/esm/Error.js +13 -3
  367. package/esm/Error.js.map +1 -1
  368. package/esm/RequestSender.d.ts +1 -1
  369. package/esm/RequestSender.js +5 -10
  370. package/esm/RequestSender.js.map +1 -1
  371. package/esm/Types.d.ts +75 -11
  372. package/esm/Types.js.map +1 -1
  373. package/esm/platform/NodePlatformFunctions.d.ts +3 -2
  374. package/esm/platform/NodePlatformFunctions.js +46 -24
  375. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  376. package/esm/platform/PlatformFunctions.d.ts +1 -1
  377. package/esm/platform/PlatformFunctions.js +1 -1
  378. package/esm/platform/PlatformFunctions.js.map +1 -1
  379. package/esm/resources/AccountLinks.d.ts +2 -1
  380. package/esm/resources/AccountLinks.js.map +1 -1
  381. package/esm/resources/AccountNotices.d.ts +2 -2
  382. package/esm/resources/AccountNotices.js.map +1 -1
  383. package/esm/resources/AccountSessions.d.ts +16 -33
  384. package/esm/resources/AccountSignals.d.ts +7 -6
  385. package/esm/resources/Accounts.d.ts +54 -38
  386. package/esm/resources/Accounts.js +1 -1
  387. package/esm/resources/Accounts.js.map +1 -1
  388. package/esm/resources/ApplicationFees.d.ts +2 -2
  389. package/esm/resources/ApplicationFees.js.map +1 -1
  390. package/esm/resources/Apps/Secrets.d.ts +6 -6
  391. package/esm/resources/BalanceSettings.d.ts +10 -10
  392. package/esm/resources/BalanceTransactions.d.ts +3 -3
  393. package/esm/resources/BalanceTransfers.d.ts +4 -4
  394. package/esm/resources/Billing/AlertTriggereds.d.ts +2 -2
  395. package/esm/resources/Billing/Alerts.d.ts +13 -13
  396. package/esm/resources/Billing/Alerts.js.map +1 -1
  397. package/esm/resources/Billing/CreditBalanceSummary.d.ts +4 -4
  398. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +6 -6
  399. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  400. package/esm/resources/Billing/CreditGrants.d.ts +5 -5
  401. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  402. package/esm/resources/Billing/MeterEventAdjustments.d.ts +2 -1
  403. package/esm/resources/Billing/MeterEventAdjustments.js.map +1 -1
  404. package/esm/resources/Billing/Meters.d.ts +8 -8
  405. package/esm/resources/BillingPortal/Configurations.d.ts +22 -22
  406. package/esm/resources/BillingPortal/Configurations.js.map +1 -1
  407. package/esm/resources/BillingPortal/Sessions.d.ts +7 -6
  408. package/esm/resources/BillingPortal/Sessions.js.map +1 -1
  409. package/esm/resources/Capabilities.d.ts +5 -4
  410. package/esm/resources/Capital/FinancingOffers.d.ts +5 -5
  411. package/esm/resources/Capital/FinancingOffers.js.map +1 -1
  412. package/esm/resources/Capital/FinancingSummary.d.ts +2 -1
  413. package/esm/resources/Capital/FinancingSummary.js.map +1 -1
  414. package/esm/resources/Capital/FinancingTransactions.d.ts +3 -3
  415. package/esm/resources/Cards.d.ts +4 -4
  416. package/esm/resources/Charges.d.ts +89 -89
  417. package/esm/resources/Charges.js.map +1 -1
  418. package/esm/resources/Checkout/Sessions.d.ts +175 -175
  419. package/esm/resources/Checkout/Sessions.js.map +1 -1
  420. package/esm/resources/Climate/Orders.d.ts +3 -3
  421. package/esm/resources/Climate/Orders.js.map +1 -1
  422. package/esm/resources/Climate/Suppliers.d.ts +2 -2
  423. package/esm/resources/ConfirmationTokens.d.ts +21 -21
  424. package/esm/resources/Coupons.d.ts +6 -6
  425. package/esm/resources/Coupons.js.map +1 -1
  426. package/esm/resources/CreditNoteLineItems.d.ts +3 -3
  427. package/esm/resources/CreditNotes.d.ts +16 -16
  428. package/esm/resources/CreditNotes.js.map +1 -1
  429. package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +2 -1
  430. package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +4 -3
  431. package/esm/resources/Crypto/Customers.d.ts +8 -8
  432. package/esm/resources/Crypto/OnrampSessions.d.ts +12 -12
  433. package/esm/resources/Crypto/OnrampSessions.js.map +1 -1
  434. package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +2 -1
  435. package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -1
  436. package/esm/resources/CustomerBalanceTransactions.d.ts +2 -2
  437. package/esm/resources/CustomerCashBalanceTransactions.d.ts +4 -3
  438. package/esm/resources/CustomerSessions.d.ts +29 -28
  439. package/esm/resources/CustomerSessions.js.map +1 -1
  440. package/esm/resources/Customers.d.ts +11 -11
  441. package/esm/resources/Customers.js.map +1 -1
  442. package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +5 -4
  443. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +25 -25
  444. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -1
  445. package/esm/resources/Disputes.d.ts +12 -12
  446. package/esm/resources/Disputes.js.map +1 -1
  447. package/esm/resources/Events.d.ts +69 -4
  448. package/esm/resources/Files.d.ts +3 -3
  449. package/esm/resources/Files.js.map +1 -1
  450. package/esm/resources/FinancialConnections/Accounts.d.ts +22 -22
  451. package/esm/resources/FinancialConnections/Authorizations.d.ts +5 -4
  452. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
  453. package/esm/resources/FinancialConnections/Institutions.d.ts +2 -2
  454. package/esm/resources/FinancialConnections/Sessions.d.ts +20 -13
  455. package/esm/resources/FinancialConnections/Transactions.d.ts +2 -2
  456. package/esm/resources/Forwarding/Requests.d.ts +3 -3
  457. package/esm/resources/Forwarding/Requests.js.map +1 -1
  458. package/esm/resources/FundingInstructions.d.ts +4 -4
  459. package/esm/resources/FxQuotes.d.ts +6 -6
  460. package/esm/resources/GiftCardOperations.d.ts +2 -1
  461. package/esm/resources/GiftCardOperations.js.map +1 -1
  462. package/esm/resources/Identity/VerificationReports.d.ts +17 -17
  463. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  464. package/esm/resources/Identity/VerificationSessions.d.ts +15 -15
  465. package/esm/resources/Identity/VerificationSessions.js.map +1 -1
  466. package/esm/resources/InvoiceItems.d.ts +7 -7
  467. package/esm/resources/InvoiceItems.js.map +1 -1
  468. package/esm/resources/InvoiceLineItems.d.ts +5 -5
  469. package/esm/resources/InvoicePayments.d.ts +3 -3
  470. package/esm/resources/Invoices.d.ts +148 -148
  471. package/esm/resources/Invoices.js.map +1 -1
  472. package/esm/resources/Issuing/Authorizations.d.ts +32 -32
  473. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  474. package/esm/resources/Issuing/Cardholders.d.ts +17 -17
  475. package/esm/resources/Issuing/Cardholders.js.map +1 -1
  476. package/esm/resources/Issuing/Cards.d.ts +31 -27
  477. package/esm/resources/Issuing/Cards.js.map +1 -1
  478. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +25 -25
  479. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -1
  480. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +3 -3
  481. package/esm/resources/Issuing/Disputes.d.ts +24 -24
  482. package/esm/resources/Issuing/Disputes.js.map +1 -1
  483. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +5 -5
  484. package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  485. package/esm/resources/Issuing/PhysicalBundles.d.ts +8 -8
  486. package/esm/resources/Issuing/Settlements.d.ts +2 -2
  487. package/esm/resources/Issuing/Tokens.d.ts +15 -15
  488. package/esm/resources/Issuing/Transactions.d.ts +11 -8
  489. package/esm/resources/Issuing/Transactions.js.map +1 -1
  490. package/esm/resources/LineItems.d.ts +2 -2
  491. package/esm/resources/Mandates.d.ts +16 -16
  492. package/esm/resources/Orders.d.ts +115 -115
  493. package/esm/resources/Orders.js.map +1 -1
  494. package/esm/resources/PaymentAttemptRecords.d.ts +42 -42
  495. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  496. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
  497. package/esm/resources/PaymentIntents.d.ts +571 -571
  498. package/esm/resources/PaymentIntents.js.map +1 -1
  499. package/esm/resources/PaymentLinks.d.ts +50 -50
  500. package/esm/resources/PaymentLinks.js.map +1 -1
  501. package/esm/resources/PaymentLocationCapabilities.d.ts +4 -3
  502. package/esm/resources/PaymentLocationCapabilities.js.map +1 -1
  503. package/esm/resources/PaymentLocations.d.ts +3 -3
  504. package/esm/resources/PaymentLocations.js.map +1 -1
  505. package/esm/resources/PaymentMethodConfigurations.d.ts +257 -257
  506. package/esm/resources/PaymentMethodDomains.d.ts +7 -7
  507. package/esm/resources/PaymentMethods.d.ts +37 -37
  508. package/esm/resources/PaymentMethods.js +1 -1
  509. package/esm/resources/PaymentMethods.js.map +1 -1
  510. package/esm/resources/PaymentRecords.d.ts +156 -54
  511. package/esm/resources/PaymentRecords.js +7 -0
  512. package/esm/resources/PaymentRecords.js.map +1 -1
  513. package/esm/resources/Payouts.d.ts +3 -3
  514. package/esm/resources/Payouts.js.map +1 -1
  515. package/esm/resources/Persons.d.ts +4 -4
  516. package/esm/resources/Plans.d.ts +6 -6
  517. package/esm/resources/Plans.js.map +1 -1
  518. package/esm/resources/Prices.d.ts +6 -6
  519. package/esm/resources/Prices.js.map +1 -1
  520. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +2 -1
  521. package/esm/resources/Privacy/RedactionJobs.d.ts +6 -6
  522. package/esm/resources/ProductCatalog/TrialOffers.d.ts +3 -2
  523. package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -1
  524. package/esm/resources/Products.d.ts +3 -3
  525. package/esm/resources/Products.js.map +1 -1
  526. package/esm/resources/Profiles.d.ts +42 -0
  527. package/esm/resources/QuoteLines.d.ts +23 -23
  528. package/esm/resources/QuotePreviewInvoices.d.ts +27 -27
  529. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +120 -21
  530. package/esm/resources/Quotes.d.ts +120 -120
  531. package/esm/resources/Quotes.js.map +1 -1
  532. package/esm/resources/Radar/CustomerEvaluations.d.ts +4 -3
  533. package/esm/resources/Radar/CustomerEvaluations.js.map +1 -1
  534. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +17 -17
  535. package/esm/resources/Radar/PaymentEvaluations.d.ts +22 -22
  536. package/esm/resources/Radar/PaymentEvaluations.js.map +1 -1
  537. package/esm/resources/Radar/ValueListItems.d.ts +3 -3
  538. package/esm/resources/Radar/ValueLists.d.ts +2 -2
  539. package/esm/resources/Radar/ValueLists.js.map +1 -1
  540. package/esm/resources/Refunds.d.ts +8 -4
  541. package/esm/resources/Refunds.js.map +1 -1
  542. package/esm/resources/Reserve/Holds.d.ts +5 -5
  543. package/esm/resources/Reserve/Plans.d.ts +4 -4
  544. package/esm/resources/Reserve/Releases.d.ts +4 -4
  545. package/esm/resources/SetupAttempts.d.ts +7 -7
  546. package/esm/resources/SetupIntents.d.ts +132 -132
  547. package/esm/resources/SetupIntents.js.map +1 -1
  548. package/esm/resources/SharedPayment/GrantedTokens.d.ts +15 -15
  549. package/esm/resources/SharedPayment/IssuedTokens.d.ts +21 -5
  550. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -1
  551. package/esm/resources/ShippingRates.d.ts +5 -5
  552. package/esm/resources/ShippingRates.js.map +1 -1
  553. package/esm/resources/Sources.d.ts +3 -3
  554. package/esm/resources/Sources.js.map +1 -1
  555. package/esm/resources/SubscriptionItems.d.ts +14 -14
  556. package/esm/resources/SubscriptionItems.js.map +1 -1
  557. package/esm/resources/SubscriptionSchedules.d.ts +510 -105
  558. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  559. package/esm/resources/Subscriptions.d.ts +101 -101
  560. package/esm/resources/Subscriptions.js.map +1 -1
  561. package/esm/resources/Tax/Associations.d.ts +2 -1
  562. package/esm/resources/Tax/Associations.js.map +1 -1
  563. package/esm/resources/Tax/CalculationLineItems.d.ts +4 -4
  564. package/esm/resources/Tax/Calculations.d.ts +14 -14
  565. package/esm/resources/Tax/Calculations.js.map +1 -1
  566. package/esm/resources/Tax/Forms.d.ts +6 -6
  567. package/esm/resources/Tax/Registrations.d.ts +153 -153
  568. package/esm/resources/Tax/Settings.d.ts +4 -4
  569. package/esm/resources/Tax/TransactionLineItems.d.ts +3 -3
  570. package/esm/resources/Tax/Transactions.d.ts +10 -10
  571. package/esm/resources/Tax/Transactions.js.map +1 -1
  572. package/esm/resources/TaxCodes.d.ts +2 -2
  573. package/esm/resources/TaxIds.d.ts +4 -4
  574. package/esm/resources/TaxRates.d.ts +2 -2
  575. package/esm/resources/TaxRates.js.map +1 -1
  576. package/esm/resources/Terminal/Configurations.d.ts +4 -4
  577. package/esm/resources/Terminal/Readers.d.ts +16 -16
  578. package/esm/resources/Terminal/Readers.js.map +1 -1
  579. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +12 -12
  580. package/esm/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
  581. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
  582. package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +2 -1
  583. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -1
  584. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
  585. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  586. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
  587. package/esm/resources/TestHelpers/PaymentIntents.d.ts +2 -1
  588. package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -1
  589. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +2 -2
  590. package/esm/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
  591. package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  592. package/esm/resources/TestHelpers/TestClocks.d.ts +2 -2
  593. package/esm/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
  594. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  595. package/esm/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
  596. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  597. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
  598. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  599. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -1
  600. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
  601. package/esm/resources/Tokens.d.ts +18 -10
  602. package/esm/resources/Tokens.js.map +1 -1
  603. package/esm/resources/Treasury/CreditReversals.d.ts +4 -4
  604. package/esm/resources/Treasury/CreditReversals.js.map +1 -1
  605. package/esm/resources/Treasury/DebitReversals.d.ts +5 -5
  606. package/esm/resources/Treasury/DebitReversals.js.map +1 -1
  607. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +38 -37
  608. package/esm/resources/Treasury/FinancialAccounts.d.ts +19 -19
  609. package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
  610. package/esm/resources/Treasury/InboundTransfers.d.ts +6 -6
  611. package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
  612. package/esm/resources/Treasury/OutboundPayments.d.ts +13 -13
  613. package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
  614. package/esm/resources/Treasury/OutboundTransfers.d.ts +10 -10
  615. package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
  616. package/esm/resources/Treasury/ReceivedCredits.d.ts +9 -9
  617. package/esm/resources/Treasury/ReceivedDebits.d.ts +7 -7
  618. package/esm/resources/Treasury/TransactionEntries.d.ts +5 -5
  619. package/esm/resources/Treasury/Transactions.d.ts +6 -6
  620. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +2 -1
  621. package/esm/resources/V2/Billing/BillSettings.d.ts +4 -3
  622. package/esm/resources/V2/Billing/BillSettings.js.map +1 -1
  623. package/esm/resources/V2/Billing/Cadences.d.ts +21 -21
  624. package/esm/resources/V2/Billing/Cadences.js.map +1 -1
  625. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +12 -11
  626. package/esm/resources/V2/Billing/CollectionSettings.d.ts +34 -33
  627. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -1
  628. package/esm/resources/V2/Billing/Contracts.d.ts +16 -16
  629. package/esm/resources/V2/Billing/Contracts.js.map +1 -1
  630. package/esm/resources/V2/Billing/IntentActions.d.ts +21 -21
  631. package/esm/resources/V2/Billing/Intents.d.ts +23 -23
  632. package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +2 -1
  633. package/esm/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
  634. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +8 -8
  635. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -1
  636. package/esm/resources/V2/Billing/Profiles.d.ts +3 -3
  637. package/esm/resources/V2/Billing/ServiceActions.d.ts +7 -7
  638. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +4 -4
  639. package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +5 -5
  640. package/esm/resources/V2/Core/AccountLinks.d.ts +23 -22
  641. package/esm/resources/V2/Core/AccountLinks.js.map +1 -1
  642. package/esm/resources/V2/Core/AccountPersons.d.ts +4 -4
  643. package/esm/resources/V2/Core/AccountTokens.d.ts +7 -7
  644. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  645. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +4 -4
  646. package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  647. package/esm/resources/V2/Core/Accounts/Persons.d.ts +7 -7
  648. package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
  649. package/esm/resources/V2/Core/Accounts.d.ts +40 -40
  650. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  651. package/esm/resources/V2/Core/ApprovalRequests.d.ts +3 -2
  652. package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -1
  653. package/esm/resources/V2/Core/EventDestinations.d.ts +6 -6
  654. package/esm/resources/V2/Core/Events.d.ts +30 -30
  655. package/esm/resources/V2/Core/FeeBatches.d.ts +4 -3
  656. package/esm/resources/V2/Core/FeeBatches.js.map +1 -1
  657. package/esm/resources/V2/Core/FeeEntries.d.ts +4 -3
  658. package/esm/resources/V2/Core/FeeEntries.js.map +1 -1
  659. package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +11 -11
  660. package/esm/resources/V2/Core/Health/Alerts.d.ts +16 -16
  661. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +2 -1
  662. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
  663. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +2 -1
  664. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
  665. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +2 -1
  666. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -1
  667. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +3 -2
  668. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -1
  669. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +4 -3
  670. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -1
  671. package/esm/resources/V2/Extend/Workflows.d.ts +4 -3
  672. package/esm/resources/V2/Extend/Workflows.js.map +1 -1
  673. package/esm/resources/V2/Iam/ActivityLogs.d.ts +5 -4
  674. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -1
  675. package/esm/resources/V2/Iam/ApiKeys.d.ts +4 -3
  676. package/esm/resources/V2/Iam/ApiKeys.js.map +1 -1
  677. package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +5 -4
  678. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -1
  679. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +5 -5
  680. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +7 -7
  681. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +5 -4
  682. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -1
  683. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +8 -7
  684. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -1
  685. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +16 -16
  686. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +4 -3
  687. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
  688. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +8 -8
  689. package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +10 -10
  690. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +4 -3
  691. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  692. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +10 -9
  693. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -1
  694. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +4 -3
  695. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -1
  696. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +3 -2
  697. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -1
  698. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +3 -2
  699. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
  700. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +10 -10
  701. package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -1
  702. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +4 -4
  703. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +3 -3
  704. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +3 -3
  705. package/esm/resources/V2/Reporting/ReportRuns.d.ts +2 -1
  706. package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -1
  707. package/esm/resources/V2/Signals/AccountSignals.d.ts +4 -4
  708. package/esm/resources/V2/Signals/AccountSignals.js +1 -1
  709. package/esm/resources/V2/Tax/ManualRules.d.ts +2 -2
  710. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +2 -1
  711. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -1
  712. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  713. package/esm/resources/WebhookEndpoints.js.map +1 -1
  714. package/esm/resources.d.ts +0 -1
  715. package/esm/resources.js +0 -1
  716. package/esm/resources.js.map +1 -1
  717. package/esm/shared.d.ts +5 -0
  718. package/esm/stripe.core.d.ts +4 -8
  719. package/esm/stripe.core.js +6 -7
  720. package/esm/stripe.core.js.map +1 -1
  721. package/esm/stripe.esm.node.d.ts +4 -7
  722. package/esm/stripe.esm.node.js +1 -3
  723. package/esm/stripe.esm.node.js.map +1 -1
  724. package/esm/utils.d.ts +0 -1
  725. package/esm/utils.js +0 -15
  726. package/esm/utils.js.map +1 -1
  727. package/package.json +1 -1
  728. package/cjs/resources/FrMealVouchersOnboardings.d.ts +0 -173
  729. package/cjs/resources/FrMealVouchersOnboardings.js +0 -42
  730. package/cjs/resources/FrMealVouchersOnboardings.js.map +0 -1
  731. package/esm/resources/FrMealVouchersOnboardings.d.ts +0 -173
  732. package/esm/resources/FrMealVouchersOnboardings.js +0 -38
  733. package/esm/resources/FrMealVouchersOnboardings.js.map +0 -1
@@ -18,7 +18,7 @@ export declare class PlatformFunctions {
18
18
  * Returns platform info string for telemetry, or null if unavailable.
19
19
  */
20
20
  getPlatformInfo(): string | null;
21
- getSourceHash(): string | null;
21
+ getTelemetryId(): string | null;
22
22
  /**
23
23
  * Emits a warning. Node.js uses process.emitWarning; other runtimes
24
24
  * fall back to console.warn.
@@ -18,7 +18,7 @@ class PlatformFunctions {
18
18
  getPlatformInfo() {
19
19
  return null;
20
20
  }
21
- getSourceHash() {
21
+ getTelemetryId() {
22
22
  return null;
23
23
  }
24
24
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformFunctions.js","sourceRoot":"","sources":["../../src/platform/PlatformFunctions.ts"],"names":[],"mappings":";;;AAOA,kEAA0D;AAO1D,+EAAuE;AAGvE;;;GAGG;AACH,MAAa,iBAAiB;IAI5B;QACE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,IAAI,CAAC;IACd,CAAC;IAED,aAAa;QACX,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;OAGG;IACH,WAAW,CAAC,OAAe;QACzB,+BAA+B;QAC/B,OAAO,CAAC,IAAI,CAAC,WAAW,OAAO,EAAE,CAAC,CAAC;QACnC,8BAA8B;IAChC,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,iBAAiB;QACf,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,KAAK;QACH,OAAO,sCAAsC,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;YACnE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;YACnC,MAAM,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC;YAC1C,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QACxB,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,aAAa,CAAC,CAAS,EAAE,CAAS;QAChC,oDAAoD;QACpD,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM,EAAE;YACzB,OAAO,KAAK,CAAC;SACd;QACD,MAAM,GAAG,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,IAAI,MAAM,GAAG,CAAC,CAAC;QACf,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,EAAE,CAAC,EAAE;YAC5B,MAAM,IAAI,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;SAC7C;QACD,OAAO,MAAM,KAAK,CAAC,CAAC;IACtB,CAAC;IAED;;OAEG;IACH,aAAa;QACX,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACpD,CAAC;IAED;;;OAGG;IACH,aAAa,CACX,IAA0B;QAE1B,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACpD,CAAC;IAED;;;OAGG;IACH,oBAAoB,CAAC,KAAkB;QACrC,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;;OAMG;IACH,qBAAqB,CAAC,OAAsB;QAC1C,OAAO,IAAI,oCAAe,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,uBAAuB;QACrB,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,wBAAwB;QACtB,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,0BAA0B,CACxB,YAAmC;QAEnC,OAAO,IAAI,8CAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,CAAC;IAED,2BAA2B;QACzB,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;IAClE,CAAC;CACF;AArID,8CAqIC"}
1
+ {"version":3,"file":"PlatformFunctions.js","sourceRoot":"","sources":["../../src/platform/PlatformFunctions.ts"],"names":[],"mappings":";;;AAOA,kEAA0D;AAO1D,+EAAuE;AAGvE;;;GAGG;AACH,MAAa,iBAAiB;IAI5B;QACE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,IAAI,CAAC;IACd,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;OAGG;IACH,WAAW,CAAC,OAAe;QACzB,+BAA+B;QAC/B,OAAO,CAAC,IAAI,CAAC,WAAW,OAAO,EAAE,CAAC,CAAC;QACnC,8BAA8B;IAChC,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,iBAAiB;QACf,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,KAAK;QACH,OAAO,sCAAsC,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;YACnE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;YACnC,MAAM,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC;YAC1C,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QACxB,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,aAAa,CAAC,CAAS,EAAE,CAAS;QAChC,oDAAoD;QACpD,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM,EAAE;YACzB,OAAO,KAAK,CAAC;SACd;QACD,MAAM,GAAG,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,IAAI,MAAM,GAAG,CAAC,CAAC;QACf,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,EAAE,CAAC,EAAE;YAC5B,MAAM,IAAI,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;SAC7C;QACD,OAAO,MAAM,KAAK,CAAC,CAAC;IACtB,CAAC;IAED;;OAEG;IACH,aAAa;QACX,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACpD,CAAC;IAED;;;OAGG;IACH,aAAa,CACX,IAA0B;QAE1B,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACpD,CAAC;IAED;;;OAGG;IACH,oBAAoB,CAAC,KAAkB;QACrC,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;;OAMG;IACH,qBAAqB,CAAC,OAAsB;QAC1C,OAAO,IAAI,oCAAe,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,uBAAuB;QACrB,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,wBAAwB;QACtB,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,0BAA0B,CACxB,YAAmC;QAEnC,OAAO,IAAI,8CAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,CAAC;IAED,2BAA2B;QACzB,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;IAClE,CAAC;CACF;AArID,8CAqIC"}
@@ -1,4 +1,5 @@
1
1
  import { StripeResource } from '../StripeResource.js';
2
+ import { OtherString } from '../shared.js';
2
3
  import { RequestOptions, Response } from '../lib.js';
3
4
  export declare class AccountLinkResource extends StripeResource {
4
5
  /**
@@ -57,7 +58,7 @@ export interface AccountLinkCreateParams {
57
58
  return_url?: string;
58
59
  }
59
60
  export declare namespace AccountLinkCreateParams {
60
- type Type = 'account_onboarding' | 'account_update' | 'capital_financing_offer' | 'capital_financing_reporting';
61
+ type Type = 'account_onboarding' | 'account_update' | 'capital_financing_offer' | 'capital_financing_reporting' | OtherString;
61
62
  type Collect = 'currently_due' | 'eventually_due';
62
63
  interface CollectionOptions {
63
64
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"AccountLinks.js","sourceRoot":"","sources":["../../src/resources/AccountLinks.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AAGpD,MAAa,mBAAoB,SAAQ,kCAAc;IACrD;;OAEG;IACH,MAAM,CACJ,MAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mBAAmB,EACnB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAfD,kDAeC"}
1
+ {"version":3,"file":"AccountLinks.js","sourceRoot":"","sources":["../../src/resources/AccountLinks.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AAIpD,MAAa,mBAAoB,SAAQ,kCAAc;IACrD;;OAEG;IACH,MAAM,CACJ,MAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mBAAmB,EACnB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAfD,kDAeC"}
@@ -1,5 +1,5 @@
1
1
  import { StripeResource } from '../StripeResource.js';
2
- import { MetadataParam, PaginationParams, Metadata } from '../shared.js';
2
+ import { MetadataParam, PaginationParams, Metadata, OtherString } from '../shared.js';
3
3
  import { RequestOptions, ApiListPromise, Response } from '../lib.js';
4
4
  export declare class AccountNoticeResource extends StripeResource {
5
5
  /**
@@ -86,7 +86,7 @@ export declare namespace AccountNotice {
86
86
  */
87
87
  issuing_dispute: string | null;
88
88
  }
89
- type Reason = 'issuing.account_closed_for_inactivity' | 'issuing.account_closed_for_not_providing_business_model_clarification' | 'issuing.account_closed_for_not_providing_url_clarification' | 'issuing.account_closed_for_not_providing_use_case_clarification' | 'issuing.account_closed_for_terms_of_service_violation' | 'issuing.application_rejected_for_failure_to_verify' | 'issuing.credit_application_rejected' | 'issuing.credit_increase_application_rejected' | 'issuing.credit_limit_decreased' | 'issuing.credit_line_closed' | 'issuing.dispute_lost' | 'issuing.dispute_submitted' | 'issuing.dispute_won';
89
+ type Reason = 'issuing.account_closed_for_inactivity' | 'issuing.account_closed_for_not_providing_business_model_clarification' | 'issuing.account_closed_for_not_providing_url_clarification' | 'issuing.account_closed_for_not_providing_use_case_clarification' | 'issuing.account_closed_for_terms_of_service_violation' | 'issuing.application_rejected_for_failure_to_verify' | 'issuing.credit_application_rejected' | 'issuing.credit_increase_application_rejected' | 'issuing.credit_limit_decreased' | 'issuing.credit_line_closed' | 'issuing.dispute_lost' | 'issuing.dispute_submitted' | 'issuing.dispute_won' | OtherString;
90
90
  }
91
91
  export interface AccountNoticeRetrieveParams {
92
92
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"AccountNotices.js","sourceRoot":"","sources":["../../src/resources/AccountNotices.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AAIpD,MAAa,qBAAsB,SAAQ,kCAAc;IACvD;;OAEG;IACH,IAAI,CACF,MAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,qBAAqB,EAAE,MAAM,EAAE,OAAO,EAAE;YACtE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,uBAAuB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC/C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uBAAuB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC/C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA1CD,sDA0CC"}
1
+ {"version":3,"file":"AccountNotices.js","sourceRoot":"","sources":["../../src/resources/AccountNotices.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,4DAAoD;AASpD,MAAa,qBAAsB,SAAQ,kCAAc;IACvD;;OAEG;IACH,IAAI,CACF,MAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,qBAAqB,EAAE,MAAM,EAAE,OAAO,EAAE;YACtE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,uBAAuB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC/C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uBAAuB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC/C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA1CD,sDA0CC"}
@@ -457,6 +457,10 @@ export declare namespace AccountSession {
457
457
  * Whether sending refunds is enabled. This is `true` by default.
458
458
  */
459
459
  refund_management: boolean;
460
+ /**
461
+ * Whether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`.
462
+ */
463
+ smart_disputes_management: boolean;
460
464
  }
461
465
  }
462
466
  namespace Documents {
@@ -645,6 +649,10 @@ export declare namespace AccountSession {
645
649
  * Whether sending refunds is enabled. This is `true` by default.
646
650
  */
647
651
  refund_management: boolean;
652
+ /**
653
+ * Whether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`.
654
+ */
655
+ smart_disputes_management: boolean;
648
656
  }
649
657
  }
650
658
  namespace PaymentDisputes {
@@ -661,6 +669,10 @@ export declare namespace AccountSession {
661
669
  * Whether sending refunds is enabled. This is `true` by default.
662
670
  */
663
671
  refund_management: boolean;
672
+ /**
673
+ * Whether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`.
674
+ */
675
+ smart_disputes_management: boolean;
664
676
  }
665
677
  }
666
678
  namespace Payments {
@@ -681,6 +693,10 @@ export declare namespace AccountSession {
681
693
  * Whether sending refunds is enabled. This is `true` by default.
682
694
  */
683
695
  refund_management: boolean;
696
+ /**
697
+ * Whether to allow connected accounts to submit disputes using Smart Disputes. Defaults to the value of `dispute_management`.
698
+ */
699
+ smart_disputes_management: boolean;
684
700
  }
685
701
  }
686
702
  namespace PayoutDetails {
@@ -833,14 +849,6 @@ export declare namespace AccountSessionCreateParams {
833
849
  * Configuration for the [financial account transactions](https://docs.stripe.com/connect/supported-embedded-components/financial-account-transactions/) embedded component.
834
850
  */
835
851
  financial_account_transactions?: Components.FinancialAccountTransactions;
836
- /**
837
- * Configuration for the [financial accounts](https://docs.stripe.com/connect/supported-embedded-components/financial-accounts/) embedded component.
838
- */
839
- financial_accounts?: Components.FinancialAccounts;
840
- /**
841
- * Configuration for the [financial accounts transactions](https://docs.stripe.com/connect/supported-embedded-components/financial-accounts-transactions/) embedded component.
842
- */
843
- financial_accounts_transactions?: Components.FinancialAccountsTransactions;
844
852
  /**
845
853
  * Configuration for the [instant payouts promotion](https://docs.stripe.com/connect/supported-embedded-components/instant-payouts-promotion/) embedded component.
846
854
  */
@@ -897,10 +905,6 @@ export declare namespace AccountSessionCreateParams {
897
905
  * Configuration for the [recipients](https://docs.stripe.com/connect/supported-embedded-components/recipients/) embedded component.
898
906
  */
899
907
  recipients?: Components.Recipients;
900
- /**
901
- * Configuration for the [recipients list](https://docs.stripe.com/connect/supported-embedded-components/recipients-list/) embedded component.
902
- */
903
- recipients_list?: Components.RecipientsList;
904
908
  /**
905
909
  * Configuration for the [reporting chart](https://docs.stripe.com/connect/supported-embedded-components/reporting-chart/) embedded component.
906
910
  */
@@ -1097,12 +1101,6 @@ export declare namespace AccountSessionCreateParams {
1097
1101
  */
1098
1102
  features?: FinancialAccountTransactions.Features;
1099
1103
  }
1100
- interface FinancialAccounts {
1101
- features?: FinancialAccounts.Features;
1102
- }
1103
- interface FinancialAccountsTransactions {
1104
- features?: FinancialAccountsTransactions.Features;
1105
- }
1106
1104
  interface InstantPayoutsPromotion {
1107
1105
  /**
1108
1106
  * Whether the embedded component is enabled.
@@ -1240,9 +1238,6 @@ export declare namespace AccountSessionCreateParams {
1240
1238
  enabled: boolean;
1241
1239
  features?: Recipients.Features;
1242
1240
  }
1243
- interface RecipientsList {
1244
- features?: RecipientsList.Features;
1245
- }
1246
1241
  interface ReportingChart {
1247
1242
  /**
1248
1243
  * Whether the embedded component is enabled.
@@ -1444,14 +1439,6 @@ export declare namespace AccountSessionCreateParams {
1444
1439
  transfer_balance?: boolean;
1445
1440
  }
1446
1441
  }
1447
- namespace FinancialAccounts {
1448
- interface Features {
1449
- }
1450
- }
1451
- namespace FinancialAccountsTransactions {
1452
- interface Features {
1453
- }
1454
- }
1455
1442
  namespace FinancialAccountTransactions {
1456
1443
  interface Features {
1457
1444
  /**
@@ -1640,10 +1627,6 @@ export declare namespace AccountSessionCreateParams {
1640
1627
  send_money?: boolean;
1641
1628
  }
1642
1629
  }
1643
- namespace RecipientsList {
1644
- interface Features {
1645
- }
1646
- }
1647
1630
  namespace ReportingChart {
1648
1631
  interface Features {
1649
1632
  }
@@ -1,3 +1,4 @@
1
+ import { OtherString } from '../shared.js';
1
2
  export interface AccountSignals {
2
3
  /**
3
4
  * String representing the object's type. Objects of the same type share the same value.
@@ -80,10 +81,10 @@ export declare namespace AccountSignals {
80
81
  */
81
82
  indicator: Indicator.Indicator;
82
83
  }
83
- type RiskLevel = 'elevated' | 'highest' | 'low' | 'normal' | 'not_assessed' | 'unknown';
84
+ type RiskLevel = 'elevated' | 'highest' | 'low' | 'normal' | 'not_assessed' | 'unknown' | OtherString;
84
85
  namespace Indicator {
85
- type Impact = 'decrease' | 'neutral' | 'slight_increase' | 'strong_increase';
86
- type Indicator = 'account_balance' | 'aov' | 'charge_concentration' | 'dispute_window' | 'disputes' | 'duplicates' | 'exposure' | 'firmographic' | 'lifetime_metrics' | 'payment_processing' | 'payment_volume' | 'payouts' | 'refunds' | 'related_accounts' | 'tenure' | 'transfers';
86
+ type Impact = 'decrease' | 'neutral' | 'slight_increase' | 'strong_increase' | OtherString;
87
+ type Indicator = 'account_balance' | 'aov' | 'charge_concentration' | 'dispute_window' | 'disputes' | 'duplicates' | 'exposure' | 'firmographic' | 'lifetime_metrics' | 'payment_processing' | 'payment_volume' | 'payouts' | 'refunds' | 'related_accounts' | 'tenure' | 'transfers' | OtherString;
87
88
  }
88
89
  }
89
90
  namespace FraudIntent {
@@ -101,10 +102,10 @@ export declare namespace AccountSignals {
101
102
  */
102
103
  indicator: Indicator.Indicator;
103
104
  }
104
- type RiskLevel = 'elevated' | 'highest' | 'low' | 'normal' | 'not_assessed' | 'unknown';
105
+ type RiskLevel = 'elevated' | 'highest' | 'low' | 'normal' | 'not_assessed' | 'unknown' | OtherString;
105
106
  namespace Indicator {
106
- type Impact = 'decrease' | 'neutral' | 'slight_increase' | 'strong_increase';
107
- type Indicator = 'bank_account' | 'business_information_and_account_activity' | 'disputes' | 'failures' | 'geo_location' | 'other' | 'other_related_accounts' | 'other_transaction_activity' | 'owner_email' | 'web_presence';
107
+ type Impact = 'decrease' | 'neutral' | 'slight_increase' | 'strong_increase' | OtherString;
108
+ type Indicator = 'bank_account' | 'business_information_and_account_activity' | 'disputes' | 'failures' | 'geo_location' | 'other' | 'other_related_accounts' | 'other_transaction_activity' | 'owner_email' | 'web_presence' | OtherString;
108
109
  }
109
110
  }
110
111
  }
@@ -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
  /**
@@ -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.
@@ -840,7 +840,7 @@ export declare namespace Account {
840
840
  */
841
841
  user_agent?: string | null;
842
842
  }
843
- type Type = 'custom' | 'express' | 'none' | 'standard';
843
+ type Type = 'custom' | 'express' | 'none' | 'standard' | OtherString;
844
844
  namespace BusinessProfile {
845
845
  interface AnnualRevenue {
846
846
  /**
@@ -856,7 +856,7 @@ export declare namespace Account {
856
856
  */
857
857
  fiscal_year_end: string | null;
858
858
  }
859
- 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;
860
860
  interface MonthlyEstimatedRevenue {
861
861
  /**
862
862
  * A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
@@ -1038,7 +1038,7 @@ export declare namespace Account {
1038
1038
  */
1039
1039
  user_agent: string | null;
1040
1040
  }
1041
- type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
1041
+ type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution' | OtherString;
1042
1042
  interface RegistrationDate {
1043
1043
  /**
1044
1044
  * The day of registration, between 1 and 31.
@@ -1067,7 +1067,7 @@ export declare namespace Account {
1067
1067
  */
1068
1068
  user_agent: string | null;
1069
1069
  }
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';
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;
1071
1071
  interface Verification {
1072
1072
  document: Verification.Document;
1073
1073
  }
@@ -1125,7 +1125,7 @@ export declare namespace Account {
1125
1125
  */
1126
1126
  payments: Losses.Payments;
1127
1127
  }
1128
- type RequirementCollection = 'application' | 'stripe';
1128
+ type RequirementCollection = 'application' | 'stripe' | OtherString;
1129
1129
  interface StripeDashboard {
1130
1130
  /**
1131
1131
  * A value indicating the Stripe dashboard this account has access to independent of the Connect application.
@@ -1137,13 +1137,13 @@ export declare namespace Account {
1137
1137
  type Type = 'express' | 'full' | 'none';
1138
1138
  }
1139
1139
  namespace Fees {
1140
- 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;
1141
1141
  }
1142
1142
  namespace Losses {
1143
- type Payments = 'application' | 'stripe';
1143
+ type Payments = 'application' | 'stripe' | OtherString;
1144
1144
  }
1145
1145
  namespace StripeDashboard {
1146
- type Type = 'express' | 'full' | 'none';
1146
+ type Type = 'express' | 'full' | 'none' | OtherString;
1147
1147
  }
1148
1148
  }
1149
1149
  namespace FutureRequirements {
@@ -1219,7 +1219,7 @@ export declare namespace Account {
1219
1219
  */
1220
1220
  pause_requested: boolean;
1221
1221
  }
1222
- 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;
1223
1223
  }
1224
1224
  namespace Settings {
1225
1225
  interface BacsDebitPayments {
@@ -1423,7 +1423,7 @@ export declare namespace Account {
1423
1423
  weekly_payout_days?: Array<Schedule.WeeklyPayoutDay>;
1424
1424
  }
1425
1425
  namespace Schedule {
1426
- type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
1426
+ type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
1427
1427
  }
1428
1428
  }
1429
1429
  namespace PaypayPayments {
@@ -1635,7 +1635,7 @@ export declare namespace AccountCreateParams {
1635
1635
  */
1636
1636
  url?: string;
1637
1637
  }
1638
- type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit';
1638
+ type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit' | OtherString;
1639
1639
  interface Capabilities {
1640
1640
  /**
1641
1641
  * The acss_debit_payments capability.
@@ -2033,6 +2033,8 @@ export declare namespace AccountCreateParams {
2033
2033
  structure?: Emptyable<Company.Structure>;
2034
2034
  /**
2035
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).
2036
2038
  */
2037
2039
  tax_id?: string;
2038
2040
  /**
@@ -2349,7 +2351,7 @@ export declare namespace AccountCreateParams {
2349
2351
  */
2350
2352
  fiscal_year_end: string;
2351
2353
  }
2352
- 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;
2353
2355
  interface MonthlyEstimatedRevenue {
2354
2356
  /**
2355
2357
  * A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
@@ -2886,7 +2888,7 @@ export declare namespace AccountCreateParams {
2886
2888
  */
2887
2889
  user_agent?: string;
2888
2890
  }
2889
- type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
2891
+ type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution' | OtherString;
2890
2892
  interface RegistrationDate {
2891
2893
  /**
2892
2894
  * The day of registration, between 1 and 31.
@@ -2915,7 +2917,7 @@ export declare namespace AccountCreateParams {
2915
2917
  */
2916
2918
  user_agent?: string;
2917
2919
  }
2918
- 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;
2919
2921
  interface Verification {
2920
2922
  /**
2921
2923
  * A document verifying the business.
@@ -2968,7 +2970,7 @@ export declare namespace AccountCreateParams {
2968
2970
  */
2969
2971
  payments?: Losses.Payments;
2970
2972
  }
2971
- type RequirementCollection = 'application' | 'stripe';
2973
+ type RequirementCollection = 'application' | 'stripe' | OtherString;
2972
2974
  interface StripeDashboard {
2973
2975
  /**
2974
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`.
@@ -2976,16 +2978,16 @@ export declare namespace AccountCreateParams {
2976
2978
  type?: StripeDashboard.Type;
2977
2979
  }
2978
2980
  namespace Dashboard {
2979
- type Type = 'express' | 'full' | 'none';
2981
+ type Type = 'express' | 'full' | 'none' | OtherString;
2980
2982
  }
2981
2983
  namespace Fees {
2982
- type Payer = 'account' | 'application';
2984
+ type Payer = 'account' | 'application' | OtherString;
2983
2985
  }
2984
2986
  namespace Losses {
2985
- type Payments = 'application' | 'stripe';
2987
+ type Payments = 'application' | 'stripe' | OtherString;
2986
2988
  }
2987
2989
  namespace StripeDashboard {
2988
- type Type = 'express' | 'full' | 'none';
2990
+ type Type = 'express' | 'full' | 'none' | OtherString;
2989
2991
  }
2990
2992
  }
2991
2993
  namespace Documents {
@@ -3083,7 +3085,7 @@ export declare namespace AccountCreateParams {
3083
3085
  */
3084
3086
  year: number;
3085
3087
  }
3086
- type PoliticalExposure = 'existing' | 'none';
3088
+ type PoliticalExposure = 'existing' | 'none' | OtherString;
3087
3089
  interface Relationship {
3088
3090
  /**
3089
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.
@@ -3347,7 +3349,7 @@ export declare namespace AccountCreateParams {
3347
3349
  }
3348
3350
  }
3349
3351
  namespace Invoices {
3350
- type HostedPaymentMethodSave = 'always' | 'never' | 'offer';
3352
+ type HostedPaymentMethodSave = 'always' | 'never' | 'offer' | OtherString;
3351
3353
  }
3352
3354
  namespace Payouts {
3353
3355
  interface Schedule {
@@ -3379,7 +3381,7 @@ export declare namespace AccountCreateParams {
3379
3381
  namespace Schedule {
3380
3382
  type Interval = 'daily' | 'manual' | 'monthly' | 'weekly';
3381
3383
  type WeeklyAnchor = 'friday' | 'monday' | 'saturday' | 'sunday' | 'thursday' | 'tuesday' | 'wednesday';
3382
- type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
3384
+ type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
3383
3385
  }
3384
3386
  }
3385
3387
  namespace PaypayPayments {
@@ -3589,7 +3591,7 @@ export declare namespace AccountUpdateParams {
3589
3591
  */
3590
3592
  url?: string;
3591
3593
  }
3592
- type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit';
3594
+ type BusinessType = 'company' | 'government_entity' | 'individual' | 'non_profit' | OtherString;
3593
3595
  interface Capabilities {
3594
3596
  /**
3595
3597
  * The acss_debit_payments capability.
@@ -3984,6 +3986,8 @@ export declare namespace AccountUpdateParams {
3984
3986
  structure?: Emptyable<Company.Structure>;
3985
3987
  /**
3986
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).
3987
3991
  */
3988
3992
  tax_id?: string;
3989
3993
  /**
@@ -4298,7 +4302,7 @@ export declare namespace AccountUpdateParams {
4298
4302
  */
4299
4303
  fiscal_year_end: string;
4300
4304
  }
4301
- 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;
4302
4306
  interface MonthlyEstimatedRevenue {
4303
4307
  /**
4304
4308
  * A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
@@ -4835,7 +4839,7 @@ export declare namespace AccountUpdateParams {
4835
4839
  */
4836
4840
  user_agent?: string;
4837
4841
  }
4838
- type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
4842
+ type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution' | OtherString;
4839
4843
  interface RegistrationDate {
4840
4844
  /**
4841
4845
  * The day of registration, between 1 and 31.
@@ -4864,7 +4868,7 @@ export declare namespace AccountUpdateParams {
4864
4868
  */
4865
4869
  user_agent?: string;
4866
4870
  }
4867
- 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;
4868
4872
  interface Verification {
4869
4873
  /**
4870
4874
  * A document verifying the business.
@@ -4979,7 +4983,7 @@ export declare namespace AccountUpdateParams {
4979
4983
  */
4980
4984
  year: number;
4981
4985
  }
4982
- type PoliticalExposure = 'existing' | 'none';
4986
+ type PoliticalExposure = 'existing' | 'none' | OtherString;
4983
4987
  interface Relationship {
4984
4988
  /**
4985
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.
@@ -5247,7 +5251,7 @@ export declare namespace AccountUpdateParams {
5247
5251
  }
5248
5252
  }
5249
5253
  namespace Invoices {
5250
- type HostedPaymentMethodSave = 'always' | 'never' | 'offer';
5254
+ type HostedPaymentMethodSave = 'always' | 'never' | 'offer' | OtherString;
5251
5255
  }
5252
5256
  namespace Payouts {
5253
5257
  interface Schedule {
@@ -5279,7 +5283,7 @@ export declare namespace AccountUpdateParams {
5279
5283
  namespace Schedule {
5280
5284
  type Interval = 'daily' | 'manual' | 'monthly' | 'weekly';
5281
5285
  type WeeklyAnchor = 'friday' | 'monday' | 'saturday' | 'sunday' | 'thursday' | 'tuesday' | 'wednesday';
5282
- type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
5286
+ type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday' | OtherString;
5283
5287
  }
5284
5288
  }
5285
5289
  namespace PaypayPayments {
@@ -5504,10 +5508,14 @@ export interface AccountCreatePersonParams {
5504
5508
  gender?: string;
5505
5509
  /**
5506
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).
5507
5513
  */
5508
5514
  id_number?: string;
5509
5515
  /**
5510
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).
5511
5519
  */
5512
5520
  id_number_secondary?: string;
5513
5521
  /**
@@ -5564,6 +5572,8 @@ export interface AccountCreatePersonParams {
5564
5572
  self_reported_monthly_housing_payment?: AccountCreatePersonParams.SelfReportedMonthlyHousingPayment;
5565
5573
  /**
5566
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).
5567
5577
  */
5568
5578
  ssn_last_4?: string;
5569
5579
  /**
@@ -5610,7 +5620,7 @@ export declare namespace AccountCreatePersonParams {
5610
5620
  */
5611
5621
  visa?: Documents.Visa;
5612
5622
  }
5613
- type PoliticalExposure = 'existing' | 'none';
5623
+ type PoliticalExposure = 'existing' | 'none' | OtherString;
5614
5624
  interface Relationship {
5615
5625
  /**
5616
5626
  * Whether the person is the authorizer of the account's representative.
@@ -5747,10 +5757,10 @@ export declare namespace AccountCreatePersonParams {
5747
5757
  race_other?: string;
5748
5758
  }
5749
5759
  namespace EthnicityDetails {
5750
- 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;
5751
5761
  }
5752
5762
  namespace RaceDetails {
5753
- 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;
5754
5764
  }
5755
5765
  }
5756
5766
  namespace Verification {
@@ -6038,10 +6048,14 @@ export interface AccountUpdatePersonParams {
6038
6048
  gender?: string;
6039
6049
  /**
6040
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).
6041
6053
  */
6042
6054
  id_number?: string;
6043
6055
  /**
6044
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).
6045
6059
  */
6046
6060
  id_number_secondary?: string;
6047
6061
  /**
@@ -6098,6 +6112,8 @@ export interface AccountUpdatePersonParams {
6098
6112
  self_reported_monthly_housing_payment?: AccountUpdatePersonParams.SelfReportedMonthlyHousingPayment;
6099
6113
  /**
6100
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).
6101
6117
  */
6102
6118
  ssn_last_4?: string;
6103
6119
  /**
@@ -6144,7 +6160,7 @@ export declare namespace AccountUpdatePersonParams {
6144
6160
  */
6145
6161
  visa?: Documents.Visa;
6146
6162
  }
6147
- type PoliticalExposure = 'existing' | 'none';
6163
+ type PoliticalExposure = 'existing' | 'none' | OtherString;
6148
6164
  interface Relationship {
6149
6165
  /**
6150
6166
  * Whether the person is the authorizer of the account's representative.
@@ -6281,10 +6297,10 @@ export declare namespace AccountUpdatePersonParams {
6281
6297
  race_other?: string;
6282
6298
  }
6283
6299
  namespace EthnicityDetails {
6284
- 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;
6285
6301
  }
6286
6302
  namespace RaceDetails {
6287
- 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;
6288
6304
  }
6289
6305
  }
6290
6306
  namespace Verification {
@@ -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);