stripe 22.4.0-beta.1 → 22.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1064) hide show
  1. package/CHANGELOG.md +116 -1798
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +58 -42
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +61 -57
  6. package/cjs/Error.js +13 -128
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/RequestSender.d.ts +1 -1
  9. package/cjs/RequestSender.js +4 -9
  10. package/cjs/RequestSender.js.map +1 -1
  11. package/cjs/Types.d.ts +72 -15
  12. package/cjs/Types.js.map +1 -1
  13. package/cjs/Webhooks.d.ts +2 -2
  14. package/cjs/apiVersion.d.ts +2 -1
  15. package/cjs/apiVersion.js +3 -2
  16. package/cjs/apiVersion.js.map +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/AccountSessions.d.ts +32 -262
  26. package/cjs/resources/AccountSessions.js.map +1 -1
  27. package/cjs/resources/Accounts.d.ts +90 -883
  28. package/cjs/resources/Accounts.js +12 -16
  29. package/cjs/resources/Accounts.js.map +1 -1
  30. package/cjs/resources/ApplicationFees.d.ts +2 -2
  31. package/cjs/resources/ApplicationFees.js.map +1 -1
  32. package/cjs/resources/Apps/Secrets.d.ts +6 -6
  33. package/cjs/resources/Balance.d.ts +0 -67
  34. package/cjs/resources/BalanceSettings.d.ts +8 -8
  35. package/cjs/resources/BalanceTransactions.d.ts +3 -3
  36. package/cjs/resources/BankAccounts.d.ts +4 -4
  37. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
  38. package/cjs/resources/Billing/Alerts.d.ts +3 -3
  39. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +2 -1
  40. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  41. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +4 -4
  42. package/cjs/resources/Billing/CreditGrants.d.ts +3 -3
  43. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  44. package/cjs/resources/Billing/MeterEventAdjustments.d.ts +2 -1
  45. package/cjs/resources/Billing/MeterEventAdjustments.js.map +1 -1
  46. package/cjs/resources/Billing/Meters.d.ts +8 -8
  47. package/cjs/resources/Billing/index.d.ts +0 -3
  48. package/cjs/resources/Billing/index.js +0 -2
  49. package/cjs/resources/Billing/index.js.map +1 -1
  50. package/cjs/resources/BillingPortal/Configurations.d.ts +22 -22
  51. package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
  52. package/cjs/resources/BillingPortal/Sessions.d.ts +7 -6
  53. package/cjs/resources/BillingPortal/Sessions.js.map +1 -1
  54. package/cjs/resources/Capabilities.d.ts +8 -7
  55. package/cjs/resources/Cards.d.ts +3 -20
  56. package/cjs/resources/Charges.d.ts +99 -3106
  57. package/cjs/resources/Charges.js.map +1 -1
  58. package/cjs/resources/Checkout/Sessions.d.ts +192 -555
  59. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  60. package/cjs/resources/Climate/Orders.d.ts +3 -3
  61. package/cjs/resources/Climate/Orders.js.map +1 -1
  62. package/cjs/resources/Climate/Suppliers.d.ts +2 -2
  63. package/cjs/resources/ConfirmationTokens.d.ts +21 -87
  64. package/cjs/resources/Coupons.d.ts +3 -56
  65. package/cjs/resources/Coupons.js +0 -13
  66. package/cjs/resources/Coupons.js.map +1 -1
  67. package/cjs/resources/CreditNoteLineItems.d.ts +4 -18
  68. package/cjs/resources/CreditNotes.d.ts +17 -17
  69. package/cjs/resources/CreditNotes.js.map +1 -1
  70. package/cjs/resources/CustomerBalanceTransactions.d.ts +2 -2
  71. package/cjs/resources/CustomerCashBalanceTransactions.d.ts +4 -3
  72. package/cjs/resources/CustomerSessions.d.ts +25 -92
  73. package/cjs/resources/CustomerSessions.js.map +1 -1
  74. package/cjs/resources/Customers.d.ts +14 -33
  75. package/cjs/resources/Customers.js +0 -14
  76. package/cjs/resources/Customers.js.map +1 -1
  77. package/cjs/resources/Disputes.d.ts +16 -41
  78. package/cjs/resources/Disputes.js +1 -1
  79. package/cjs/resources/Disputes.js.map +1 -1
  80. package/cjs/resources/Events.d.ts +55 -535
  81. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  82. package/cjs/resources/ExternalAccounts.js +0 -44
  83. package/cjs/resources/ExternalAccounts.js.map +1 -1
  84. package/cjs/resources/Files.d.ts +3 -3
  85. package/cjs/resources/Files.js.map +1 -1
  86. package/cjs/resources/FinancialConnections/Accounts.d.ts +19 -84
  87. package/cjs/resources/FinancialConnections/Accounts.js +0 -8
  88. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  89. package/cjs/resources/FinancialConnections/Authorizations.d.ts +4 -48
  90. package/cjs/resources/FinancialConnections/Authorizations.js +0 -11
  91. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
  92. package/cjs/resources/FinancialConnections/Sessions.d.ts +48 -122
  93. package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
  94. package/cjs/resources/FinancialConnections/Transactions.d.ts +2 -2
  95. package/cjs/resources/FinancialConnections/index.d.ts +9 -21
  96. package/cjs/resources/FinancialConnections/index.js +0 -4
  97. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  98. package/cjs/resources/Forwarding/Requests.d.ts +3 -3
  99. package/cjs/resources/Forwarding/Requests.js.map +1 -1
  100. package/cjs/resources/FundingInstructions.d.ts +4 -4
  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 +0 -85
  106. package/cjs/resources/InvoiceItems.js.map +1 -1
  107. package/cjs/resources/InvoiceLineItems.d.ts +5 -43
  108. package/cjs/resources/InvoicePayments.d.ts +3 -3
  109. package/cjs/resources/Invoices.d.ts +96 -1465
  110. package/cjs/resources/Invoices.js +0 -41
  111. package/cjs/resources/Invoices.js.map +1 -1
  112. package/cjs/resources/Issuing/Authorizations.d.ts +19 -32
  113. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  114. package/cjs/resources/Issuing/Cardholders.d.ts +17 -31
  115. package/cjs/resources/Issuing/Cardholders.js.map +1 -1
  116. package/cjs/resources/Issuing/Cards.d.ts +38 -39
  117. package/cjs/resources/Issuing/Cards.js.map +1 -1
  118. package/cjs/resources/Issuing/Disputes.d.ts +22 -35
  119. package/cjs/resources/Issuing/Disputes.js.map +1 -1
  120. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +5 -5
  121. package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  122. package/cjs/resources/Issuing/PhysicalBundles.d.ts +8 -8
  123. package/cjs/resources/Issuing/Tokens.d.ts +11 -11
  124. package/cjs/resources/Issuing/Transactions.d.ts +5 -27
  125. package/cjs/resources/Issuing/index.d.ts +22 -47
  126. package/cjs/resources/Issuing/index.js +0 -6
  127. package/cjs/resources/Issuing/index.js.map +1 -1
  128. package/cjs/resources/LineItems.d.ts +4 -31
  129. package/cjs/resources/Mandates.d.ts +15 -46
  130. package/cjs/resources/Mandates.js +0 -8
  131. package/cjs/resources/Mandates.js.map +1 -1
  132. package/cjs/resources/PaymentAttemptRecords.d.ts +30 -112
  133. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
  134. package/cjs/resources/PaymentIntents.d.ts +6883 -17706
  135. package/cjs/resources/PaymentIntents.js +0 -27
  136. package/cjs/resources/PaymentIntents.js.map +1 -1
  137. package/cjs/resources/PaymentLinks.d.ts +112 -66
  138. package/cjs/resources/PaymentLinks.js.map +1 -1
  139. package/cjs/resources/PaymentMethodConfigurations.d.ts +237 -587
  140. package/cjs/resources/PaymentMethodDomains.d.ts +7 -7
  141. package/cjs/resources/PaymentMethods.d.ts +36 -197
  142. package/cjs/resources/PaymentMethods.js +1 -1
  143. package/cjs/resources/PaymentRecords.d.ts +52 -116
  144. package/cjs/resources/PaymentRecords.js +8 -0
  145. package/cjs/resources/PaymentRecords.js.map +1 -1
  146. package/cjs/resources/Payouts.d.ts +3 -3
  147. package/cjs/resources/Payouts.js.map +1 -1
  148. package/cjs/resources/Persons.d.ts +8 -8
  149. package/cjs/resources/Plans.d.ts +6 -22
  150. package/cjs/resources/Plans.js.map +1 -1
  151. package/cjs/resources/Prices.d.ts +6 -58
  152. package/cjs/resources/Prices.js.map +1 -1
  153. package/cjs/resources/Products.d.ts +0 -42
  154. package/cjs/resources/PromotionCodes.d.ts +2 -14
  155. package/cjs/resources/PromotionCodes.js +0 -27
  156. package/cjs/resources/PromotionCodes.js.map +1 -1
  157. package/cjs/resources/Quotes.d.ts +212 -2355
  158. package/cjs/resources/Quotes.js +13 -1181
  159. package/cjs/resources/Quotes.js.map +1 -1
  160. package/cjs/resources/Radar/PaymentEvaluations.d.ts +22 -22
  161. package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -1
  162. package/cjs/resources/Radar/ValueListItems.d.ts +0 -30
  163. package/cjs/resources/Radar/ValueLists.d.ts +2 -2
  164. package/cjs/resources/Radar/ValueLists.js.map +1 -1
  165. package/cjs/resources/Refunds.d.ts +18 -15
  166. package/cjs/resources/Refunds.js.map +1 -1
  167. package/cjs/resources/Reserve/Holds.d.ts +4 -56
  168. package/cjs/resources/Reserve/Holds.js +0 -19
  169. package/cjs/resources/Reserve/Holds.js.map +1 -1
  170. package/cjs/resources/Reserve/Plans.d.ts +4 -20
  171. package/cjs/resources/Reserve/Plans.js +0 -11
  172. package/cjs/resources/Reserve/Plans.js.map +1 -1
  173. package/cjs/resources/Reserve/Releases.d.ts +4 -44
  174. package/cjs/resources/Reserve/Releases.js +0 -19
  175. package/cjs/resources/Reserve/Releases.js.map +1 -1
  176. package/cjs/resources/Reserve/index.d.ts +6 -17
  177. package/cjs/resources/Reserve/index.js +0 -9
  178. package/cjs/resources/Reserve/index.js.map +1 -1
  179. package/cjs/resources/SetupAttempts.d.ts +7 -32
  180. package/cjs/resources/SetupIntents.d.ts +144 -456
  181. package/cjs/resources/SetupIntents.js.map +1 -1
  182. package/cjs/resources/ShippingRates.d.ts +5 -5
  183. package/cjs/resources/ShippingRates.js.map +1 -1
  184. package/cjs/resources/Sources.d.ts +3 -31
  185. package/cjs/resources/Sources.js.map +1 -1
  186. package/cjs/resources/SubscriptionItems.d.ts +4 -147
  187. package/cjs/resources/SubscriptionItems.js.map +1 -1
  188. package/cjs/resources/SubscriptionSchedules.d.ts +147 -1181
  189. package/cjs/resources/SubscriptionSchedules.js +0 -6
  190. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  191. package/cjs/resources/Subscriptions.d.ts +76 -641
  192. package/cjs/resources/Subscriptions.js +0 -145
  193. package/cjs/resources/Subscriptions.js.map +1 -1
  194. package/cjs/resources/Tax/Associations.d.ts +2 -1
  195. package/cjs/resources/Tax/Associations.js.map +1 -1
  196. package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -10
  197. package/cjs/resources/Tax/Calculations.d.ts +20 -24
  198. package/cjs/resources/Tax/Calculations.js.map +1 -1
  199. package/cjs/resources/Tax/Registrations.d.ts +169 -271
  200. package/cjs/resources/Tax/Settings.d.ts +4 -4
  201. package/cjs/resources/Tax/TransactionLineItems.d.ts +3 -3
  202. package/cjs/resources/Tax/Transactions.d.ts +12 -12
  203. package/cjs/resources/Tax/Transactions.js.map +1 -1
  204. package/cjs/resources/Tax/index.d.ts +13 -27
  205. package/cjs/resources/Tax/index.js +0 -4
  206. package/cjs/resources/Tax/index.js.map +1 -1
  207. package/cjs/resources/TaxCodes.d.ts +0 -15
  208. package/cjs/resources/TaxIds.d.ts +8 -8
  209. package/cjs/resources/TaxRates.d.ts +5 -5
  210. package/cjs/resources/TaxRates.js.map +1 -1
  211. package/cjs/resources/Terminal/Configurations.d.ts +4 -31
  212. package/cjs/resources/Terminal/Readers.d.ts +18 -34
  213. package/cjs/resources/Terminal/Readers.js.map +1 -1
  214. package/cjs/resources/Terminal/index.d.ts +0 -5
  215. package/cjs/resources/Terminal/index.js +0 -2
  216. package/cjs/resources/Terminal/index.js.map +1 -1
  217. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +12 -89
  218. package/cjs/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
  219. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
  220. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
  221. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  222. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
  223. package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
  224. package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  225. package/cjs/resources/TestHelpers/TestClocks.d.ts +2 -2
  226. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
  227. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  228. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
  229. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  230. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
  231. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  232. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -23
  233. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
  234. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  235. package/cjs/resources/TestHelpers/index.d.ts +0 -3
  236. package/cjs/resources/TestHelpers/index.js +4 -6
  237. package/cjs/resources/TestHelpers/index.js.map +1 -1
  238. package/cjs/resources/Tokens.d.ts +19 -24
  239. package/cjs/resources/Tokens.js.map +1 -1
  240. package/cjs/resources/Topups.d.ts +28 -0
  241. package/cjs/resources/Topups.js.map +1 -1
  242. package/cjs/resources/Transfers.d.ts +0 -8
  243. package/cjs/resources/Treasury/CreditReversals.d.ts +4 -4
  244. package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
  245. package/cjs/resources/Treasury/DebitReversals.d.ts +5 -5
  246. package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
  247. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +37 -41
  248. package/cjs/resources/Treasury/FinancialAccounts.d.ts +16 -49
  249. package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
  250. package/cjs/resources/Treasury/InboundTransfers.d.ts +6 -6
  251. package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
  252. package/cjs/resources/Treasury/OutboundPayments.d.ts +13 -21
  253. package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
  254. package/cjs/resources/Treasury/OutboundTransfers.d.ts +10 -54
  255. package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
  256. package/cjs/resources/Treasury/ReceivedCredits.d.ts +9 -31
  257. package/cjs/resources/Treasury/ReceivedDebits.d.ts +7 -33
  258. package/cjs/resources/Treasury/TransactionEntries.d.ts +5 -5
  259. package/cjs/resources/Treasury/Transactions.d.ts +6 -6
  260. package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +2 -1
  261. package/cjs/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
  262. package/cjs/resources/V2/Billing/index.d.ts +6 -45
  263. package/cjs/resources/V2/Billing/index.js +0 -8
  264. package/cjs/resources/V2/Billing/index.js.map +1 -1
  265. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +4 -4
  266. package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +5 -5
  267. package/cjs/resources/V2/Core/AccountLinks.d.ts +15 -14
  268. package/cjs/resources/V2/Core/AccountLinks.js.map +1 -1
  269. package/cjs/resources/V2/Core/AccountPersons.d.ts +4 -4
  270. package/cjs/resources/V2/Core/AccountTokens.d.ts +48 -17
  271. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  272. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +4 -4
  273. package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  274. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +7 -7
  275. package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
  276. package/cjs/resources/V2/Core/Accounts.d.ts +191 -1558
  277. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  278. package/cjs/resources/V2/Core/EventDestinations.d.ts +6 -6
  279. package/cjs/resources/V2/Core/Events.d.ts +10 -1157
  280. package/cjs/resources/V2/Core/index.d.ts +9 -19
  281. package/cjs/resources/V2/Core/index.js +0 -4
  282. package/cjs/resources/V2/Core/index.js.map +1 -1
  283. package/cjs/resources/V2/index.d.ts +0 -27
  284. package/cjs/resources/V2/index.js +0 -14
  285. package/cjs/resources/V2/index.js.map +1 -1
  286. package/cjs/resources/WebhookEndpoints.d.ts +4 -4
  287. package/cjs/resources/WebhookEndpoints.js.map +1 -1
  288. package/cjs/resources.d.ts +0 -10
  289. package/cjs/resources.js +10 -146
  290. package/cjs/resources.js.map +1 -1
  291. package/cjs/shared.d.ts +5 -0
  292. package/cjs/stripe.cjs.node.d.ts +150 -6480
  293. package/cjs/stripe.cjs.node.js.map +1 -1
  294. package/cjs/stripe.core.d.ts +40 -94
  295. package/cjs/stripe.core.js +37 -59
  296. package/cjs/stripe.core.js.map +1 -1
  297. package/cjs/utils.d.ts +0 -1
  298. package/cjs/utils.js +1 -17
  299. package/cjs/utils.js.map +1 -1
  300. package/esm/Error.d.ts +61 -57
  301. package/esm/Error.js +12 -112
  302. package/esm/Error.js.map +1 -1
  303. package/esm/RequestSender.d.ts +1 -1
  304. package/esm/RequestSender.js +5 -10
  305. package/esm/RequestSender.js.map +1 -1
  306. package/esm/Types.d.ts +72 -15
  307. package/esm/Types.js.map +1 -1
  308. package/esm/Webhooks.d.ts +2 -2
  309. package/esm/apiVersion.d.ts +2 -1
  310. package/esm/apiVersion.js +2 -1
  311. package/esm/apiVersion.js.map +1 -1
  312. package/esm/platform/NodePlatformFunctions.d.ts +3 -2
  313. package/esm/platform/NodePlatformFunctions.js +46 -24
  314. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  315. package/esm/platform/PlatformFunctions.d.ts +1 -1
  316. package/esm/platform/PlatformFunctions.js +1 -1
  317. package/esm/platform/PlatformFunctions.js.map +1 -1
  318. package/esm/resources/AccountLinks.d.ts +2 -1
  319. package/esm/resources/AccountLinks.js.map +1 -1
  320. package/esm/resources/AccountSessions.d.ts +32 -262
  321. package/esm/resources/AccountSessions.js.map +1 -1
  322. package/esm/resources/Accounts.d.ts +90 -883
  323. package/esm/resources/Accounts.js +12 -16
  324. package/esm/resources/Accounts.js.map +1 -1
  325. package/esm/resources/ApplicationFees.d.ts +2 -2
  326. package/esm/resources/ApplicationFees.js.map +1 -1
  327. package/esm/resources/Apps/Secrets.d.ts +6 -6
  328. package/esm/resources/Balance.d.ts +0 -67
  329. package/esm/resources/BalanceSettings.d.ts +8 -8
  330. package/esm/resources/BalanceTransactions.d.ts +3 -3
  331. package/esm/resources/BankAccounts.d.ts +4 -4
  332. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
  333. package/esm/resources/Billing/Alerts.d.ts +3 -3
  334. package/esm/resources/Billing/CreditBalanceSummary.d.ts +2 -1
  335. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  336. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +4 -4
  337. package/esm/resources/Billing/CreditGrants.d.ts +3 -3
  338. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  339. package/esm/resources/Billing/MeterEventAdjustments.d.ts +2 -1
  340. package/esm/resources/Billing/MeterEventAdjustments.js.map +1 -1
  341. package/esm/resources/Billing/Meters.d.ts +8 -8
  342. package/esm/resources/Billing/index.d.ts +0 -3
  343. package/esm/resources/Billing/index.js +0 -2
  344. package/esm/resources/Billing/index.js.map +1 -1
  345. package/esm/resources/BillingPortal/Configurations.d.ts +22 -22
  346. package/esm/resources/BillingPortal/Configurations.js.map +1 -1
  347. package/esm/resources/BillingPortal/Sessions.d.ts +7 -6
  348. package/esm/resources/BillingPortal/Sessions.js.map +1 -1
  349. package/esm/resources/Capabilities.d.ts +8 -7
  350. package/esm/resources/Cards.d.ts +3 -20
  351. package/esm/resources/Charges.d.ts +99 -3106
  352. package/esm/resources/Charges.js.map +1 -1
  353. package/esm/resources/Checkout/Sessions.d.ts +192 -555
  354. package/esm/resources/Checkout/Sessions.js.map +1 -1
  355. package/esm/resources/Climate/Orders.d.ts +3 -3
  356. package/esm/resources/Climate/Orders.js.map +1 -1
  357. package/esm/resources/Climate/Suppliers.d.ts +2 -2
  358. package/esm/resources/ConfirmationTokens.d.ts +21 -87
  359. package/esm/resources/Coupons.d.ts +3 -56
  360. package/esm/resources/Coupons.js +0 -13
  361. package/esm/resources/Coupons.js.map +1 -1
  362. package/esm/resources/CreditNoteLineItems.d.ts +4 -18
  363. package/esm/resources/CreditNotes.d.ts +17 -17
  364. package/esm/resources/CreditNotes.js.map +1 -1
  365. package/esm/resources/CustomerBalanceTransactions.d.ts +2 -2
  366. package/esm/resources/CustomerCashBalanceTransactions.d.ts +4 -3
  367. package/esm/resources/CustomerSessions.d.ts +25 -92
  368. package/esm/resources/CustomerSessions.js.map +1 -1
  369. package/esm/resources/Customers.d.ts +14 -33
  370. package/esm/resources/Customers.js +0 -14
  371. package/esm/resources/Customers.js.map +1 -1
  372. package/esm/resources/Disputes.d.ts +16 -41
  373. package/esm/resources/Disputes.js +1 -1
  374. package/esm/resources/Disputes.js.map +1 -1
  375. package/esm/resources/Events.d.ts +55 -535
  376. package/esm/resources/ExternalAccounts.d.ts +1 -212
  377. package/esm/resources/ExternalAccounts.js +1 -42
  378. package/esm/resources/ExternalAccounts.js.map +1 -1
  379. package/esm/resources/Files.d.ts +3 -3
  380. package/esm/resources/Files.js.map +1 -1
  381. package/esm/resources/FinancialConnections/Accounts.d.ts +19 -84
  382. package/esm/resources/FinancialConnections/Accounts.js +0 -8
  383. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  384. package/esm/resources/FinancialConnections/Authorizations.d.ts +4 -48
  385. package/esm/resources/FinancialConnections/Authorizations.js +1 -9
  386. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
  387. package/esm/resources/FinancialConnections/Sessions.d.ts +48 -122
  388. package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
  389. package/esm/resources/FinancialConnections/Transactions.d.ts +2 -2
  390. package/esm/resources/FinancialConnections/index.d.ts +9 -21
  391. package/esm/resources/FinancialConnections/index.js +0 -4
  392. package/esm/resources/FinancialConnections/index.js.map +1 -1
  393. package/esm/resources/Forwarding/Requests.d.ts +3 -3
  394. package/esm/resources/Forwarding/Requests.js.map +1 -1
  395. package/esm/resources/FundingInstructions.d.ts +4 -4
  396. package/esm/resources/Identity/VerificationReports.d.ts +17 -17
  397. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  398. package/esm/resources/Identity/VerificationSessions.d.ts +15 -15
  399. package/esm/resources/Identity/VerificationSessions.js.map +1 -1
  400. package/esm/resources/InvoiceItems.d.ts +0 -85
  401. package/esm/resources/InvoiceItems.js.map +1 -1
  402. package/esm/resources/InvoiceLineItems.d.ts +5 -43
  403. package/esm/resources/InvoicePayments.d.ts +3 -3
  404. package/esm/resources/Invoices.d.ts +96 -1465
  405. package/esm/resources/Invoices.js +0 -41
  406. package/esm/resources/Invoices.js.map +1 -1
  407. package/esm/resources/Issuing/Authorizations.d.ts +19 -32
  408. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  409. package/esm/resources/Issuing/Cardholders.d.ts +17 -31
  410. package/esm/resources/Issuing/Cardholders.js.map +1 -1
  411. package/esm/resources/Issuing/Cards.d.ts +38 -39
  412. package/esm/resources/Issuing/Cards.js.map +1 -1
  413. package/esm/resources/Issuing/Disputes.d.ts +22 -35
  414. package/esm/resources/Issuing/Disputes.js.map +1 -1
  415. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +5 -5
  416. package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  417. package/esm/resources/Issuing/PhysicalBundles.d.ts +8 -8
  418. package/esm/resources/Issuing/Tokens.d.ts +11 -11
  419. package/esm/resources/Issuing/Transactions.d.ts +5 -27
  420. package/esm/resources/Issuing/index.d.ts +22 -47
  421. package/esm/resources/Issuing/index.js +0 -6
  422. package/esm/resources/Issuing/index.js.map +1 -1
  423. package/esm/resources/LineItems.d.ts +4 -31
  424. package/esm/resources/Mandates.d.ts +15 -46
  425. package/esm/resources/Mandates.js +0 -8
  426. package/esm/resources/Mandates.js.map +1 -1
  427. package/esm/resources/PaymentAttemptRecords.d.ts +30 -112
  428. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -1
  429. package/esm/resources/PaymentIntents.d.ts +6883 -17706
  430. package/esm/resources/PaymentIntents.js +0 -27
  431. package/esm/resources/PaymentIntents.js.map +1 -1
  432. package/esm/resources/PaymentLinks.d.ts +112 -66
  433. package/esm/resources/PaymentLinks.js.map +1 -1
  434. package/esm/resources/PaymentMethodConfigurations.d.ts +237 -587
  435. package/esm/resources/PaymentMethodDomains.d.ts +7 -7
  436. package/esm/resources/PaymentMethods.d.ts +36 -197
  437. package/esm/resources/PaymentMethods.js +1 -1
  438. package/esm/resources/PaymentRecords.d.ts +52 -116
  439. package/esm/resources/PaymentRecords.js +8 -0
  440. package/esm/resources/PaymentRecords.js.map +1 -1
  441. package/esm/resources/Payouts.d.ts +3 -3
  442. package/esm/resources/Payouts.js.map +1 -1
  443. package/esm/resources/Persons.d.ts +8 -8
  444. package/esm/resources/Plans.d.ts +6 -22
  445. package/esm/resources/Plans.js.map +1 -1
  446. package/esm/resources/Prices.d.ts +6 -58
  447. package/esm/resources/Prices.js.map +1 -1
  448. package/esm/resources/Products.d.ts +0 -42
  449. package/esm/resources/PromotionCodes.d.ts +2 -14
  450. package/esm/resources/PromotionCodes.js +0 -27
  451. package/esm/resources/PromotionCodes.js.map +1 -1
  452. package/esm/resources/Quotes.d.ts +212 -2355
  453. package/esm/resources/Quotes.js +13 -1181
  454. package/esm/resources/Quotes.js.map +1 -1
  455. package/esm/resources/Radar/PaymentEvaluations.d.ts +22 -22
  456. package/esm/resources/Radar/PaymentEvaluations.js.map +1 -1
  457. package/esm/resources/Radar/ValueListItems.d.ts +0 -30
  458. package/esm/resources/Radar/ValueLists.d.ts +2 -2
  459. package/esm/resources/Radar/ValueLists.js.map +1 -1
  460. package/esm/resources/Refunds.d.ts +18 -15
  461. package/esm/resources/Refunds.js.map +1 -1
  462. package/esm/resources/Reserve/Holds.d.ts +4 -56
  463. package/esm/resources/Reserve/Holds.js +1 -17
  464. package/esm/resources/Reserve/Holds.js.map +1 -1
  465. package/esm/resources/Reserve/Plans.d.ts +4 -20
  466. package/esm/resources/Reserve/Plans.js +1 -9
  467. package/esm/resources/Reserve/Plans.js.map +1 -1
  468. package/esm/resources/Reserve/Releases.d.ts +4 -44
  469. package/esm/resources/Reserve/Releases.js +1 -17
  470. package/esm/resources/Reserve/Releases.js.map +1 -1
  471. package/esm/resources/Reserve/index.d.ts +6 -17
  472. package/esm/resources/Reserve/index.js +0 -9
  473. package/esm/resources/Reserve/index.js.map +1 -1
  474. package/esm/resources/SetupAttempts.d.ts +7 -32
  475. package/esm/resources/SetupIntents.d.ts +144 -456
  476. package/esm/resources/SetupIntents.js.map +1 -1
  477. package/esm/resources/ShippingRates.d.ts +5 -5
  478. package/esm/resources/ShippingRates.js.map +1 -1
  479. package/esm/resources/Sources.d.ts +3 -31
  480. package/esm/resources/Sources.js.map +1 -1
  481. package/esm/resources/SubscriptionItems.d.ts +4 -147
  482. package/esm/resources/SubscriptionItems.js.map +1 -1
  483. package/esm/resources/SubscriptionSchedules.d.ts +147 -1181
  484. package/esm/resources/SubscriptionSchedules.js +0 -6
  485. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  486. package/esm/resources/Subscriptions.d.ts +76 -641
  487. package/esm/resources/Subscriptions.js +0 -145
  488. package/esm/resources/Subscriptions.js.map +1 -1
  489. package/esm/resources/Tax/Associations.d.ts +2 -1
  490. package/esm/resources/Tax/Associations.js.map +1 -1
  491. package/esm/resources/Tax/CalculationLineItems.d.ts +6 -10
  492. package/esm/resources/Tax/Calculations.d.ts +20 -24
  493. package/esm/resources/Tax/Calculations.js.map +1 -1
  494. package/esm/resources/Tax/Registrations.d.ts +169 -271
  495. package/esm/resources/Tax/Settings.d.ts +4 -4
  496. package/esm/resources/Tax/TransactionLineItems.d.ts +3 -3
  497. package/esm/resources/Tax/Transactions.d.ts +12 -12
  498. package/esm/resources/Tax/Transactions.js.map +1 -1
  499. package/esm/resources/Tax/index.d.ts +13 -27
  500. package/esm/resources/Tax/index.js +0 -4
  501. package/esm/resources/Tax/index.js.map +1 -1
  502. package/esm/resources/TaxCodes.d.ts +0 -15
  503. package/esm/resources/TaxIds.d.ts +8 -8
  504. package/esm/resources/TaxRates.d.ts +5 -5
  505. package/esm/resources/TaxRates.js.map +1 -1
  506. package/esm/resources/Terminal/Configurations.d.ts +4 -31
  507. package/esm/resources/Terminal/Readers.d.ts +18 -34
  508. package/esm/resources/Terminal/Readers.js.map +1 -1
  509. package/esm/resources/Terminal/index.d.ts +0 -5
  510. package/esm/resources/Terminal/index.js +0 -2
  511. package/esm/resources/Terminal/index.js.map +1 -1
  512. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +12 -89
  513. package/esm/resources/TestHelpers/ConfirmationTokens.js.map +1 -1
  514. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +17 -17
  515. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.d.ts +3 -2
  516. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  517. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +2 -2
  518. package/esm/resources/TestHelpers/Terminal/Readers.d.ts +3 -2
  519. package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  520. package/esm/resources/TestHelpers/TestClocks.d.ts +2 -2
  521. package/esm/resources/TestHelpers/Treasury/InboundTransfers.d.ts +2 -1
  522. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  523. package/esm/resources/TestHelpers/Treasury/OutboundPayments.d.ts +3 -2
  524. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  525. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.d.ts +3 -2
  526. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  527. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +2 -23
  528. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.js.map +1 -1
  529. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  530. package/esm/resources/TestHelpers/index.d.ts +0 -3
  531. package/esm/resources/TestHelpers/index.js +0 -2
  532. package/esm/resources/TestHelpers/index.js.map +1 -1
  533. package/esm/resources/Tokens.d.ts +19 -24
  534. package/esm/resources/Tokens.js.map +1 -1
  535. package/esm/resources/Topups.d.ts +28 -0
  536. package/esm/resources/Topups.js.map +1 -1
  537. package/esm/resources/Transfers.d.ts +0 -8
  538. package/esm/resources/Treasury/CreditReversals.d.ts +4 -4
  539. package/esm/resources/Treasury/CreditReversals.js.map +1 -1
  540. package/esm/resources/Treasury/DebitReversals.d.ts +5 -5
  541. package/esm/resources/Treasury/DebitReversals.js.map +1 -1
  542. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +37 -41
  543. package/esm/resources/Treasury/FinancialAccounts.d.ts +16 -49
  544. package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
  545. package/esm/resources/Treasury/InboundTransfers.d.ts +6 -6
  546. package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
  547. package/esm/resources/Treasury/OutboundPayments.d.ts +13 -21
  548. package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
  549. package/esm/resources/Treasury/OutboundTransfers.d.ts +10 -54
  550. package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
  551. package/esm/resources/Treasury/ReceivedCredits.d.ts +9 -31
  552. package/esm/resources/Treasury/ReceivedDebits.d.ts +7 -33
  553. package/esm/resources/Treasury/TransactionEntries.d.ts +5 -5
  554. package/esm/resources/Treasury/Transactions.d.ts +6 -6
  555. package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +2 -1
  556. package/esm/resources/V2/Billing/MeterEventAdjustments.js.map +1 -1
  557. package/esm/resources/V2/Billing/index.d.ts +6 -45
  558. package/esm/resources/V2/Billing/index.js +0 -8
  559. package/esm/resources/V2/Billing/index.js.map +1 -1
  560. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +4 -4
  561. package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +5 -5
  562. package/esm/resources/V2/Core/AccountLinks.d.ts +15 -14
  563. package/esm/resources/V2/Core/AccountLinks.js.map +1 -1
  564. package/esm/resources/V2/Core/AccountPersons.d.ts +4 -4
  565. package/esm/resources/V2/Core/AccountTokens.d.ts +48 -17
  566. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  567. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +4 -4
  568. package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  569. package/esm/resources/V2/Core/Accounts/Persons.d.ts +7 -7
  570. package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
  571. package/esm/resources/V2/Core/Accounts.d.ts +191 -1558
  572. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  573. package/esm/resources/V2/Core/EventDestinations.d.ts +6 -6
  574. package/esm/resources/V2/Core/Events.d.ts +10 -1157
  575. package/esm/resources/V2/Core/index.d.ts +9 -19
  576. package/esm/resources/V2/Core/index.js +0 -4
  577. package/esm/resources/V2/Core/index.js.map +1 -1
  578. package/esm/resources/V2/index.d.ts +0 -27
  579. package/esm/resources/V2/index.js +0 -14
  580. package/esm/resources/V2/index.js.map +1 -1
  581. package/esm/resources/WebhookEndpoints.d.ts +4 -4
  582. package/esm/resources/WebhookEndpoints.js.map +1 -1
  583. package/esm/resources.d.ts +0 -10
  584. package/esm/resources.js +0 -131
  585. package/esm/resources.js.map +1 -1
  586. package/esm/shared.d.ts +5 -0
  587. package/esm/stripe.core.d.ts +40 -94
  588. package/esm/stripe.core.js +7 -29
  589. package/esm/stripe.core.js.map +1 -1
  590. package/esm/stripe.esm.node.d.ts +41 -95
  591. package/esm/stripe.esm.node.js +2 -25
  592. package/esm/stripe.esm.node.js.map +1 -1
  593. package/esm/utils.d.ts +0 -1
  594. package/esm/utils.js +0 -15
  595. package/esm/utils.js.map +1 -1
  596. package/package.json +1 -1
  597. package/cjs/StripeEventNotificationHandler.d.ts +0 -19
  598. package/cjs/StripeEventNotificationHandler.js +0 -150
  599. package/cjs/StripeEventNotificationHandler.js.map +0 -1
  600. package/cjs/resources/AccountNotices.d.ts +0 -140
  601. package/cjs/resources/AccountNotices.js +0 -29
  602. package/cjs/resources/AccountNotices.js.map +0 -1
  603. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  604. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  605. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  606. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  607. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  608. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  609. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  610. package/cjs/resources/Billing/Analytics/index.js +0 -13
  611. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  612. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -194
  613. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  614. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  615. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -101
  616. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  617. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  618. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -141
  619. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  620. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  621. package/cjs/resources/Capital/index.d.ts +0 -25
  622. package/cjs/resources/Capital/index.js +0 -17
  623. package/cjs/resources/Capital/index.js.map +0 -1
  624. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  625. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  626. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  627. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -99
  628. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  629. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  630. package/cjs/resources/FxQuotes.d.ts +0 -212
  631. package/cjs/resources/FxQuotes.js +0 -29
  632. package/cjs/resources/FxQuotes.js.map +0 -1
  633. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
  634. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
  635. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  636. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
  637. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  638. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  639. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  640. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  641. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  642. package/cjs/resources/Issuing/Settlements.d.ts +0 -83
  643. package/cjs/resources/Issuing/Settlements.js +0 -4
  644. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  645. package/cjs/resources/Margins.d.ts +0 -115
  646. package/cjs/resources/Margins.js +0 -35
  647. package/cjs/resources/Margins.js.map +0 -1
  648. package/cjs/resources/Orders.d.ts +0 -4693
  649. package/cjs/resources/Orders.js +0 -457
  650. package/cjs/resources/Orders.js.map +0 -1
  651. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -35
  652. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  653. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  654. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -227
  655. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  656. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  657. package/cjs/resources/Privacy/index.d.ts +0 -22
  658. package/cjs/resources/Privacy/index.js +0 -13
  659. package/cjs/resources/Privacy/index.js.map +0 -1
  660. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -125
  661. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
  662. package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
  663. package/cjs/resources/ProductCatalog/index.d.ts +0 -12
  664. package/cjs/resources/ProductCatalog/index.js +0 -13
  665. package/cjs/resources/ProductCatalog/index.js.map +0 -1
  666. package/cjs/resources/QuoteLines.d.ts +0 -507
  667. package/cjs/resources/QuoteLines.js +0 -4
  668. package/cjs/resources/QuoteLines.js.map +0 -1
  669. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1120
  670. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  671. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  672. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -738
  673. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  674. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  675. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1105
  676. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  677. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  678. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -306
  679. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  680. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  681. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  682. package/cjs/resources/SharedPayment/index.js +0 -15
  683. package/cjs/resources/SharedPayment/index.js.map +0 -1
  684. package/cjs/resources/Tax/Forms.d.ts +0 -228
  685. package/cjs/resources/Tax/Forms.js +0 -32
  686. package/cjs/resources/Tax/Forms.js.map +0 -1
  687. package/cjs/resources/Tax/Locations.d.ts +0 -108
  688. package/cjs/resources/Tax/Locations.js +0 -33
  689. package/cjs/resources/Tax/Locations.js.map +0 -1
  690. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -50
  691. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  692. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  693. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  694. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  695. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  696. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  697. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  698. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  699. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -71
  700. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  701. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  702. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  703. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  704. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  705. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -280
  706. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  707. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  708. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -947
  709. package/cjs/resources/V2/Billing/Cadences.js +0 -198
  710. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  711. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -236
  712. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  713. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  714. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  715. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  716. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  717. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -775
  718. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  719. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  720. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -162
  721. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  722. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  723. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -360
  724. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  725. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  726. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -279
  727. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  728. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  729. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -249
  730. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -63
  731. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  732. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  733. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  734. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  735. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -150
  736. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  737. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  738. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  739. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  740. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  741. package/cjs/resources/V2/Data/index.d.ts +0 -10
  742. package/cjs/resources/V2/Data/index.js +0 -13
  743. package/cjs/resources/V2/Data/index.js.map +0 -1
  744. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  745. package/cjs/resources/V2/EventMisc.js +0 -2
  746. package/cjs/resources/V2/EventMisc.js.map +0 -1
  747. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -162
  748. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  749. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  750. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -119
  751. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  752. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  753. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  754. package/cjs/resources/V2/Extend/index.js +0 -15
  755. package/cjs/resources/V2/Extend/index.js.map +0 -1
  756. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  757. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  758. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  759. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  760. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  761. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  762. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -210
  763. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
  764. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  765. package/cjs/resources/V2/Iam/index.d.ts +0 -13
  766. package/cjs/resources/V2/Iam/index.js +0 -13
  767. package/cjs/resources/V2/Iam/index.js.map +0 -1
  768. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -131
  769. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  770. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  771. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -240
  772. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
  773. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  774. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -211
  775. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  776. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  777. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -250
  778. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  779. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  780. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -208
  781. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  782. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  783. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -394
  784. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  785. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  786. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -296
  787. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  788. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  789. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -336
  790. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  791. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  792. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -239
  793. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
  794. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  795. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
  796. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  797. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  798. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -295
  799. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  800. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  801. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -157
  802. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  803. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  804. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -161
  805. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  806. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  807. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -192
  808. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
  809. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  810. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
  811. package/cjs/resources/V2/MoneyManagement/index.js +0 -39
  812. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  813. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -92
  814. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  815. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  816. package/cjs/resources/V2/Network/index.d.ts +0 -13
  817. package/cjs/resources/V2/Network/index.js +0 -13
  818. package/cjs/resources/V2/Network/index.js.map +0 -1
  819. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
  820. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  821. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  822. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  823. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  824. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  825. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  826. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  827. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  828. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
  829. package/cjs/resources/V2/TestHelpers/index.js +0 -13
  830. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  831. package/esm/StripeEventNotificationHandler.d.ts +0 -19
  832. package/esm/StripeEventNotificationHandler.js +0 -146
  833. package/esm/StripeEventNotificationHandler.js.map +0 -1
  834. package/esm/resources/AccountNotices.d.ts +0 -140
  835. package/esm/resources/AccountNotices.js +0 -25
  836. package/esm/resources/AccountNotices.js.map +0 -1
  837. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  838. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  839. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  840. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  841. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  842. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  843. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  844. package/esm/resources/Billing/Analytics/index.js +0 -9
  845. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  846. package/esm/resources/Capital/FinancingOffers.d.ts +0 -194
  847. package/esm/resources/Capital/FinancingOffers.js +0 -26
  848. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  849. package/esm/resources/Capital/FinancingSummary.d.ts +0 -101
  850. package/esm/resources/Capital/FinancingSummary.js +0 -11
  851. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  852. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -141
  853. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  854. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  855. package/esm/resources/Capital/index.d.ts +0 -25
  856. package/esm/resources/Capital/index.js +0 -13
  857. package/esm/resources/Capital/index.js.map +0 -1
  858. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  859. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  860. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  861. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -99
  862. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  863. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  864. package/esm/resources/FxQuotes.d.ts +0 -212
  865. package/esm/resources/FxQuotes.js +0 -25
  866. package/esm/resources/FxQuotes.js.map +0 -1
  867. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
  868. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
  869. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  870. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
  871. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  872. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  873. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  874. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  875. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  876. package/esm/resources/Issuing/Settlements.d.ts +0 -83
  877. package/esm/resources/Issuing/Settlements.js +0 -3
  878. package/esm/resources/Issuing/Settlements.js.map +0 -1
  879. package/esm/resources/Margins.d.ts +0 -115
  880. package/esm/resources/Margins.js +0 -31
  881. package/esm/resources/Margins.js.map +0 -1
  882. package/esm/resources/Orders.d.ts +0 -4693
  883. package/esm/resources/Orders.js +0 -453
  884. package/esm/resources/Orders.js.map +0 -1
  885. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -35
  886. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  887. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  888. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -227
  889. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  890. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  891. package/esm/resources/Privacy/index.d.ts +0 -22
  892. package/esm/resources/Privacy/index.js +0 -9
  893. package/esm/resources/Privacy/index.js.map +0 -1
  894. package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -125
  895. package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
  896. package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
  897. package/esm/resources/ProductCatalog/index.d.ts +0 -12
  898. package/esm/resources/ProductCatalog/index.js +0 -9
  899. package/esm/resources/ProductCatalog/index.js.map +0 -1
  900. package/esm/resources/QuoteLines.d.ts +0 -507
  901. package/esm/resources/QuoteLines.js +0 -3
  902. package/esm/resources/QuoteLines.js.map +0 -1
  903. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1120
  904. package/esm/resources/QuotePreviewInvoices.js +0 -3
  905. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  906. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -738
  907. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  908. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  909. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1105
  910. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  911. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  912. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -306
  913. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  914. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  915. package/esm/resources/SharedPayment/index.d.ts +0 -19
  916. package/esm/resources/SharedPayment/index.js +0 -11
  917. package/esm/resources/SharedPayment/index.js.map +0 -1
  918. package/esm/resources/Tax/Forms.d.ts +0 -228
  919. package/esm/resources/Tax/Forms.js +0 -28
  920. package/esm/resources/Tax/Forms.js.map +0 -1
  921. package/esm/resources/Tax/Locations.d.ts +0 -108
  922. package/esm/resources/Tax/Locations.js +0 -29
  923. package/esm/resources/Tax/Locations.js.map +0 -1
  924. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -50
  925. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  926. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  927. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  928. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  929. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  930. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  931. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  932. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  933. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -71
  934. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  935. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  936. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  937. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  938. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  939. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -280
  940. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  941. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  942. package/esm/resources/V2/Billing/Cadences.d.ts +0 -947
  943. package/esm/resources/V2/Billing/Cadences.js +0 -194
  944. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  945. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -236
  946. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  947. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  948. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  949. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  950. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  951. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -775
  952. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  953. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  954. package/esm/resources/V2/Billing/Profiles.d.ts +0 -162
  955. package/esm/resources/V2/Billing/Profiles.js +0 -31
  956. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  957. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -360
  958. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  959. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  960. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -279
  961. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  962. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  963. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -249
  964. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -59
  965. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  966. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  967. package/esm/resources/V2/Core/Vault/index.js +0 -11
  968. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  969. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -150
  970. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  971. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  972. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  973. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  974. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  975. package/esm/resources/V2/Data/index.d.ts +0 -10
  976. package/esm/resources/V2/Data/index.js +0 -9
  977. package/esm/resources/V2/Data/index.js.map +0 -1
  978. package/esm/resources/V2/EventMisc.d.ts +0 -0
  979. package/esm/resources/V2/EventMisc.js +0 -2
  980. package/esm/resources/V2/EventMisc.js.map +0 -1
  981. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -162
  982. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  983. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  984. package/esm/resources/V2/Extend/Workflows.d.ts +0 -119
  985. package/esm/resources/V2/Extend/Workflows.js +0 -26
  986. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  987. package/esm/resources/V2/Extend/index.d.ts +0 -20
  988. package/esm/resources/V2/Extend/index.js +0 -11
  989. package/esm/resources/V2/Extend/index.js.map +0 -1
  990. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  991. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  992. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  993. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  994. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  995. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  996. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -210
  997. package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
  998. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  999. package/esm/resources/V2/Iam/index.d.ts +0 -13
  1000. package/esm/resources/V2/Iam/index.js +0 -9
  1001. package/esm/resources/V2/Iam/index.js.map +0 -1
  1002. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -131
  1003. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  1004. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  1005. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -240
  1006. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
  1007. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  1008. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -211
  1009. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  1010. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  1011. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -250
  1012. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  1013. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  1014. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -208
  1015. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  1016. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  1017. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -394
  1018. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  1019. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1020. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -296
  1021. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  1022. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1023. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -336
  1024. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  1025. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1026. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -239
  1027. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
  1028. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1029. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
  1030. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  1031. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1032. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -295
  1033. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  1034. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1035. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -157
  1036. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  1037. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1038. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -161
  1039. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  1040. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1041. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -192
  1042. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
  1043. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1044. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
  1045. package/esm/resources/V2/MoneyManagement/index.js +0 -35
  1046. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  1047. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -92
  1048. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  1049. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1050. package/esm/resources/V2/Network/index.d.ts +0 -13
  1051. package/esm/resources/V2/Network/index.js +0 -9
  1052. package/esm/resources/V2/Network/index.js.map +0 -1
  1053. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
  1054. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  1055. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1056. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1057. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  1058. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1059. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  1060. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  1061. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1062. package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
  1063. package/esm/resources/V2/TestHelpers/index.js +0 -9
  1064. package/esm/resources/V2/TestHelpers/index.js.map +0 -1
@@ -13,7 +13,7 @@ import { SubscriptionSchedule } from './SubscriptionSchedules.js';
13
13
  import { Price } from './Prices.js';
14
14
  import { TaxId, DeletedTaxId } from './TaxIds.js';
15
15
  import * as TestHelpers from './TestHelpers/index.js';
16
- import { Emptyable, MetadataParam, Decimal, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
16
+ import { Emptyable, MetadataParam, OtherString, Decimal, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
17
17
  import { RequestOptions, Response, ApiListPromise, ApiList, ApiSearchResultPromise } from '../lib.js';
18
18
  export declare class SubscriptionResource extends StripeResource {
19
19
  /**
@@ -81,26 +81,10 @@ export declare class SubscriptionResource extends StripeResource {
81
81
  * Upgrade the billing_mode of an existing subscription.
82
82
  */
83
83
  migrate(id: string, params: SubscriptionMigrateParams, options?: RequestOptions): Promise<Response<Subscription>>;
84
- /**
85
- * Pauses a subscription by transitioning it to the paused status. A paused subscription does not generate invoices and will not advance to new billing periods. The subscription can be resumed later using the resume endpoint. Cannot pause subscriptions with attached schedules.
86
- */
87
- pause(id: string, params?: SubscriptionPauseParams, options?: RequestOptions): Promise<Response<Subscription>>;
88
84
  /**
89
85
  * Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. Resume is only available for subscriptions that use charge_automatically collection. If Stripe doesn't generate a resumption invoice, the subscription becomes active immediately. When a resumption invoice is generated, Stripe finalizes it immediately. If the invoice is paid or marked uncollectible, the subscription becomes active. If the invoice is manually voided, the subscription stays paused. If there is no payment attempt within 23 hours, Stripe voids the invoice and the subscription stays paused. Learn more about [resuming subscriptions](https://docs.stripe.com/docs/billing/subscriptions/pause#resume-subscriptions).
90
86
  */
91
87
  resume(id: string, params?: SubscriptionResumeParams, options?: RequestOptions): Promise<Response<Subscription>>;
92
- serializeBatchCancel(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
93
- apiVersion?: string;
94
- stripeContext?: string;
95
- }): string;
96
- serializeBatchUpdate(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
97
- apiVersion?: string;
98
- stripeContext?: string;
99
- }): string;
100
- serializeBatchMigrate(subscription: string, params?: Record<string, unknown>, options?: {
101
- apiVersion?: string;
102
- stripeContext?: string;
103
- }): string;
104
88
  }
105
89
  export interface Subscription {
106
90
  /**
@@ -209,10 +193,6 @@ export interface Subscription {
209
193
  * List of subscription items, each with an attached price.
210
194
  */
211
195
  items: ApiList<SubscriptionItem>;
212
- /**
213
- * Details of the most recent price migration that failed for the subscription.
214
- */
215
- last_price_migration_error?: Subscription.LastPriceMigrationError | null;
216
196
  /**
217
197
  * The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).
218
198
  */
@@ -257,10 +237,6 @@ export interface Subscription {
257
237
  * If specified, [pending updates](https://docs.stripe.com/billing/subscriptions/pending-updates) that will be applied to the subscription once the `latest_invoice` has been paid.
258
238
  */
259
239
  pending_update: Subscription.PendingUpdate | null;
260
- /**
261
- * Time period and invoice for a Subscription billed in advance.
262
- */
263
- prebilling?: Subscription.Prebilling | null;
264
240
  presentment_details?: Subscription.PresentmentDetails;
265
241
  /**
266
242
  * The schedule attached to the subscription
@@ -284,10 +260,6 @@ export interface Subscription {
284
260
  * If subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices.
285
261
  */
286
262
  status: Subscription.Status;
287
- /**
288
- * Describes changes to the subscription's status.
289
- */
290
- status_details?: Subscription.StatusDetails;
291
263
  /**
292
264
  * ID of the test clock this subscription belongs to.
293
265
  */
@@ -418,20 +390,6 @@ export declare namespace Subscription {
418
390
  footer: string | null;
419
391
  issuer: InvoiceSettings.Issuer;
420
392
  }
421
- interface LastPriceMigrationError {
422
- /**
423
- * The time at which the price migration encountered an error.
424
- */
425
- errored_at: number;
426
- /**
427
- * The involved price pairs in each failed transition.
428
- */
429
- failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
430
- /**
431
- * The type of error encountered by the price migration.
432
- */
433
- type: 'price_uniqueness_violation';
434
- }
435
393
  interface ManagedPayments {
436
394
  /**
437
395
  * Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
@@ -493,10 +451,6 @@ export declare namespace Subscription {
493
451
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
494
452
  */
495
453
  metadata: Metadata | null;
496
- /**
497
- * The number of iterations of prebilling to apply.
498
- */
499
- prebilling_iterations?: number | null;
500
454
  /**
501
455
  * List of subscription items, each with an attached plan, that will be set if the update is applied.
502
456
  */
@@ -510,37 +464,13 @@ export declare namespace Subscription {
510
464
  */
511
465
  trial_from_plan: boolean | null;
512
466
  }
513
- interface Prebilling {
514
- /**
515
- * ID of the prebilling invoice.
516
- */
517
- invoice: string | Invoice;
518
- /**
519
- * The end of the last period for which the invoice pre-bills.
520
- */
521
- period_end: number;
522
- /**
523
- * The start of the first period for which the invoice pre-bills.
524
- */
525
- period_start: number;
526
- /**
527
- * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
528
- */
529
- update_behavior?: Prebilling.UpdateBehavior;
530
- }
531
467
  interface PresentmentDetails {
532
468
  /**
533
469
  * Currency used for customer payments.
534
470
  */
535
471
  presentment_currency: string;
536
472
  }
537
- type Status = 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid';
538
- interface StatusDetails {
539
- /**
540
- * Indicates when and why the subscription transitioned to the paused status.
541
- */
542
- paused: StatusDetails.Paused;
543
- }
473
+ type Status = 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid' | OtherString;
544
474
  interface TransferData {
545
475
  /**
546
476
  * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
@@ -569,7 +499,7 @@ export declare namespace Subscription {
569
499
  type: Liability.Type;
570
500
  }
571
501
  namespace Liability {
572
- type Type = 'account' | 'self';
502
+ type Type = 'account' | 'self' | OtherString;
573
503
  }
574
504
  }
575
505
  namespace BillingMode {
@@ -579,7 +509,7 @@ export declare namespace Subscription {
579
509
  */
580
510
  proration_discounts?: Flexible.ProrationDiscounts;
581
511
  }
582
- type Type = 'classic' | 'flexible';
512
+ type Type = 'classic' | 'flexible' | OtherString;
583
513
  namespace Flexible {
584
514
  type ProrationDiscounts = 'included' | 'itemized';
585
515
  }
@@ -624,15 +554,15 @@ export declare namespace Subscription {
624
554
  */
625
555
  interval_count: number | null;
626
556
  }
627
- type Type = 'duration' | 'timestamp';
557
+ type Type = 'duration' | 'timestamp' | OtherString;
628
558
  namespace Duration {
629
559
  type Interval = 'day' | 'month' | 'week' | 'year';
630
560
  }
631
561
  }
632
562
  }
633
563
  namespace CancellationDetails {
634
- type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused';
635
- type Reason = 'canceled_by_retention_policy' | 'cancellation_requested' | 'payment_disputed' | 'payment_failed';
564
+ type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused' | OtherString;
565
+ type Reason = 'canceled_by_retention_policy' | 'cancellation_requested' | 'payment_disputed' | 'payment_failed' | OtherString;
636
566
  }
637
567
  namespace InvoiceSettings {
638
568
  interface CustomField {
@@ -656,19 +586,7 @@ export declare namespace Subscription {
656
586
  type: Issuer.Type;
657
587
  }
658
588
  namespace Issuer {
659
- type Type = 'account' | 'self';
660
- }
661
- }
662
- namespace LastPriceMigrationError {
663
- interface FailedTransition {
664
- /**
665
- * The original price to be migrated.
666
- */
667
- source_price: string;
668
- /**
669
- * The intended resulting price of the migration.
670
- */
671
- target_price: string;
589
+ type Type = 'account' | 'self' | OtherString;
672
590
  }
673
591
  }
674
592
  namespace PauseCollection {
@@ -684,10 +602,6 @@ export declare namespace Subscription {
684
602
  * This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
685
603
  */
686
604
  bancontact: PaymentMethodOptions.Bancontact | null;
687
- /**
688
- * This sub-hash contains details about the Blik payment method options to pass to invoices created by the subscription.
689
- */
690
- blik?: PaymentMethodOptions.Blik | null;
691
605
  /**
692
606
  * This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
693
607
  */
@@ -696,10 +610,6 @@ export declare namespace Subscription {
696
610
  * This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
697
611
  */
698
612
  customer_balance: PaymentMethodOptions.CustomerBalance | null;
699
- /**
700
- * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
701
- */
702
- id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
703
613
  /**
704
614
  * This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
705
615
  */
@@ -725,8 +635,8 @@ export declare namespace Subscription {
725
635
  */
726
636
  us_bank_account: PaymentMethodOptions.UsBankAccount | null;
727
637
  }
728
- type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
729
- type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
638
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
639
+ type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
730
640
  namespace PaymentMethodOptions {
731
641
  interface AcssDebit {
732
642
  mandate_options?: AcssDebit.MandateOptions;
@@ -741,9 +651,6 @@ export declare namespace Subscription {
741
651
  */
742
652
  preferred_language: Bancontact.PreferredLanguage;
743
653
  }
744
- interface Blik {
745
- mandate_options?: Blik.MandateOptions;
746
- }
747
654
  interface Card {
748
655
  mandate_options?: Card.MandateOptions;
749
656
  /**
@@ -762,8 +669,6 @@ export declare namespace Subscription {
762
669
  */
763
670
  funding_type: 'bank_transfer' | null;
764
671
  }
765
- interface IdBankTransfer {
766
- }
767
672
  interface Konbini {
768
673
  }
769
674
  interface Payto {
@@ -795,21 +700,13 @@ export declare namespace Subscription {
795
700
  */
796
701
  transaction_type: MandateOptions.TransactionType | null;
797
702
  }
798
- type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
703
+ type VerificationMethod = 'automatic' | 'instant' | 'microdeposits' | OtherString;
799
704
  namespace MandateOptions {
800
- type TransactionType = 'business' | 'personal';
705
+ type TransactionType = 'business' | 'personal' | OtherString;
801
706
  }
802
707
  }
803
708
  namespace Bancontact {
804
- type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
805
- }
806
- namespace Blik {
807
- interface MandateOptions {
808
- /**
809
- * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
810
- */
811
- expires_after: number | null;
812
- }
709
+ type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
813
710
  }
814
711
  namespace Card {
815
712
  interface MandateOptions {
@@ -827,9 +724,9 @@ export declare namespace Subscription {
827
724
  description: string | null;
828
725
  }
829
726
  type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa';
830
- type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
727
+ type RequestThreeDSecure = 'any' | 'automatic' | 'challenge' | OtherString;
831
728
  namespace MandateOptions {
832
- type AmountType = 'fixed' | 'maximum';
729
+ type AmountType = 'fixed' | 'maximum' | OtherString;
833
730
  }
834
731
  }
835
732
  namespace CustomerBalance {
@@ -868,8 +765,8 @@ export declare namespace Subscription {
868
765
  purpose: MandateOptions.Purpose | null;
869
766
  }
870
767
  namespace MandateOptions {
871
- type AmountType = 'fixed' | 'maximum';
872
- type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility';
768
+ type AmountType = 'fixed' | 'maximum' | OtherString;
769
+ type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility' | OtherString;
873
770
  }
874
771
  }
875
772
  namespace Pix {
@@ -892,8 +789,8 @@ export declare namespace Subscription {
892
789
  payment_schedule: MandateOptions.PaymentSchedule | null;
893
790
  }
894
791
  namespace MandateOptions {
895
- type AmountIncludesIof = 'always' | 'never';
896
- type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly';
792
+ type AmountIncludesIof = 'always' | 'never' | OtherString;
793
+ type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly' | OtherString;
897
794
  }
898
795
  }
899
796
  namespace Upi {
@@ -916,7 +813,7 @@ export declare namespace Subscription {
916
813
  end_date: number | null;
917
814
  }
918
815
  namespace MandateOptions {
919
- type AmountType = 'fixed' | 'maximum';
816
+ type AmountType = 'fixed' | 'maximum' | OtherString;
920
817
  }
921
818
  }
922
819
  namespace UsBankAccount {
@@ -931,22 +828,18 @@ export declare namespace Subscription {
931
828
  */
932
829
  prefetch: Array<FinancialConnections.Prefetch> | null;
933
830
  }
934
- type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
831
+ type VerificationMethod = 'automatic' | 'instant' | 'microdeposits' | OtherString;
935
832
  namespace FinancialConnections {
936
833
  interface Filters {
937
834
  /**
938
835
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
939
836
  */
940
837
  account_subcategories?: Array<Filters.AccountSubcategory>;
941
- /**
942
- * The institution to use to filter for possible accounts to link.
943
- */
944
- institution?: string;
945
838
  }
946
- type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
947
- type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
839
+ type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
840
+ type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
948
841
  namespace Filters {
949
- type AccountSubcategory = 'checking' | 'savings';
842
+ type AccountSubcategory = 'checking' | 'savings' | OtherString;
950
843
  }
951
844
  }
952
845
  }
@@ -955,50 +848,15 @@ export declare namespace Subscription {
955
848
  namespace PendingInvoiceItemInterval {
956
849
  type Interval = 'day' | 'month' | 'week' | 'year';
957
850
  }
958
- namespace Prebilling {
959
- type UpdateBehavior = 'prebill' | 'reset';
960
- }
961
- namespace StatusDetails {
962
- interface Paused {
963
- /**
964
- * Information on the `type=subscription` pause.
965
- */
966
- subscription: Paused.Subscription;
967
- /**
968
- * Unix timestamp in seconds of when the subscription status transitioned to `paused`.
969
- */
970
- transitioned_at: number;
971
- /**
972
- * The type of pause.
973
- */
974
- type: 'subscription';
975
- }
976
- namespace Paused {
977
- interface Subscription {
978
- /**
979
- * The reason that the subscription was paused.
980
- */
981
- type: Subscription.Type;
982
- }
983
- namespace Subscription {
984
- type Type = 'pause_requested' | 'system' | 'trial_end_without_payment_method';
985
- }
986
- }
987
- }
988
851
  namespace TrialSettings {
989
852
  interface EndBehavior {
990
- /**
991
- * Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
992
- */
993
- billing_cycle_anchor?: EndBehavior.BillingCycleAnchor | null;
994
853
  /**
995
854
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
996
855
  */
997
856
  missing_payment_method: EndBehavior.MissingPaymentMethod;
998
857
  }
999
858
  namespace EndBehavior {
1000
- type BillingCycleAnchor = 'now' | 'unchanged';
1001
- type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
859
+ type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
1002
860
  }
1003
861
  }
1004
862
  }
@@ -1123,10 +981,6 @@ export interface SubscriptionCreateParams {
1123
981
  * Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://docs.stripe.com/api/invoices/create) for the given subscription at the specified interval.
1124
982
  */
1125
983
  pending_invoice_item_interval?: Emptyable<SubscriptionCreateParams.PendingInvoiceItemInterval>;
1126
- /**
1127
- * If specified, the invoicing for the given billing cycle iterations will be processed now.
1128
- */
1129
- prebilling?: SubscriptionCreateParams.Prebilling;
1130
984
  /**
1131
985
  * Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
1132
986
  */
@@ -1253,7 +1107,7 @@ export declare namespace SubscriptionCreateParams {
1253
1107
  */
1254
1108
  reset_billing_cycle_anchor?: boolean;
1255
1109
  }
1256
- type CancelAt = 'max_billed_until' | 'max_period_end' | 'min_period_end';
1110
+ type CancelAt = 'max_billed_until' | 'max_period_end' | 'min_period_end' | OtherString;
1257
1111
  type CollectionMethod = 'charge_automatically' | 'send_invoice';
1258
1112
  interface Discount {
1259
1113
  /**
@@ -1264,10 +1118,6 @@ export declare namespace SubscriptionCreateParams {
1264
1118
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1265
1119
  */
1266
1120
  discount?: string;
1267
- /**
1268
- * Details to determine how long the discount should be applied for.
1269
- */
1270
- discount_end?: Discount.DiscountEnd;
1271
1121
  /**
1272
1122
  * ID of the promotion code to create a new discount for.
1273
1123
  */
@@ -1300,10 +1150,6 @@ export declare namespace SubscriptionCreateParams {
1300
1150
  * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.
1301
1151
  */
1302
1152
  billing_thresholds?: Emptyable<Item.BillingThresholds>;
1303
- /**
1304
- * The trial offer to apply to this subscription item.
1305
- */
1306
- current_trial?: Item.CurrentTrial;
1307
1153
  /**
1308
1154
  * The coupons to redeem into discounts for the subscription item.
1309
1155
  */
@@ -1332,10 +1178,6 @@ export declare namespace SubscriptionCreateParams {
1332
1178
  * A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
1333
1179
  */
1334
1180
  tax_rates?: Emptyable<Array<string>>;
1335
- /**
1336
- * Define options to configure the trial on the subscription item.
1337
- */
1338
- trial?: Item.Trial;
1339
1181
  }
1340
1182
  type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete';
1341
1183
  interface PaymentSettings {
@@ -1362,17 +1204,7 @@ export declare namespace SubscriptionCreateParams {
1362
1204
  */
1363
1205
  interval_count?: number;
1364
1206
  }
1365
- interface Prebilling {
1366
- /**
1367
- * This is used to determine the number of billing cycles to prebill.
1368
- */
1369
- iterations: number;
1370
- /**
1371
- * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
1372
- */
1373
- update_behavior?: Prebilling.UpdateBehavior;
1374
- }
1375
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
1207
+ type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
1376
1208
  interface TransferData {
1377
1209
  /**
1378
1210
  * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
@@ -1399,10 +1231,6 @@ export declare namespace SubscriptionCreateParams {
1399
1231
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1400
1232
  */
1401
1233
  discount?: string;
1402
- /**
1403
- * Details to determine how long the discount should be applied for.
1404
- */
1405
- discount_end?: Discount.DiscountEnd;
1406
1234
  /**
1407
1235
  * ID of the promotion code to create a new discount for.
1408
1236
  */
@@ -1440,38 +1268,6 @@ export declare namespace SubscriptionCreateParams {
1440
1268
  */
1441
1269
  unit_amount_decimal?: Decimal;
1442
1270
  }
1443
- namespace Discount {
1444
- interface DiscountEnd {
1445
- /**
1446
- * Time span for the redeemed discount.
1447
- */
1448
- duration?: DiscountEnd.Duration;
1449
- /**
1450
- * A precise Unix timestamp for the discount to end. Must be in the future.
1451
- */
1452
- timestamp?: number;
1453
- /**
1454
- * The type of calculation made to determine when the discount ends.
1455
- */
1456
- type: DiscountEnd.Type;
1457
- }
1458
- namespace DiscountEnd {
1459
- interface Duration {
1460
- /**
1461
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1462
- */
1463
- interval: Duration.Interval;
1464
- /**
1465
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1466
- */
1467
- interval_count: number;
1468
- }
1469
- type Type = 'duration' | 'timestamp';
1470
- namespace Duration {
1471
- type Interval = 'day' | 'month' | 'week' | 'year';
1472
- }
1473
- }
1474
- }
1475
1271
  namespace Period {
1476
1272
  interface End {
1477
1273
  /**
@@ -1494,10 +1290,10 @@ export declare namespace SubscriptionCreateParams {
1494
1290
  type: Start.Type;
1495
1291
  }
1496
1292
  namespace End {
1497
- type Type = 'min_item_period_end' | 'timestamp';
1293
+ type Type = 'min_item_period_end' | 'timestamp' | OtherString;
1498
1294
  }
1499
1295
  namespace Start {
1500
- type Type = 'max_item_period_start' | 'now' | 'timestamp';
1296
+ type Type = 'max_item_period_start' | 'now' | 'timestamp' | OtherString;
1501
1297
  }
1502
1298
  }
1503
1299
  namespace PriceData {
@@ -1516,7 +1312,7 @@ export declare namespace SubscriptionCreateParams {
1516
1312
  type: Liability.Type;
1517
1313
  }
1518
1314
  namespace Liability {
1519
- type Type = 'account' | 'self';
1315
+ type Type = 'account' | 'self' | OtherString;
1520
1316
  }
1521
1317
  }
1522
1318
  namespace BillingMode {
@@ -1526,7 +1322,7 @@ export declare namespace SubscriptionCreateParams {
1526
1322
  */
1527
1323
  proration_discounts?: Flexible.ProrationDiscounts;
1528
1324
  }
1529
- type Type = 'classic' | 'flexible';
1325
+ type Type = 'classic' | 'flexible' | OtherString;
1530
1326
  namespace Flexible {
1531
1327
  type ProrationDiscounts = 'included' | 'itemized';
1532
1328
  }
@@ -1567,39 +1363,7 @@ export declare namespace SubscriptionCreateParams {
1567
1363
  */
1568
1364
  interval_count?: number;
1569
1365
  }
1570
- type Type = 'duration' | 'timestamp';
1571
- namespace Duration {
1572
- type Interval = 'day' | 'month' | 'week' | 'year';
1573
- }
1574
- }
1575
- }
1576
- namespace Discount {
1577
- interface DiscountEnd {
1578
- /**
1579
- * Time span for the redeemed discount.
1580
- */
1581
- duration?: DiscountEnd.Duration;
1582
- /**
1583
- * A precise Unix timestamp for the discount to end. Must be in the future.
1584
- */
1585
- timestamp?: number;
1586
- /**
1587
- * The type of calculation made to determine when the discount ends.
1588
- */
1589
- type: DiscountEnd.Type;
1590
- }
1591
- namespace DiscountEnd {
1592
- interface Duration {
1593
- /**
1594
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1595
- */
1596
- interval: Duration.Interval;
1597
- /**
1598
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1599
- */
1600
- interval_count: number;
1601
- }
1602
- type Type = 'duration' | 'timestamp';
1366
+ type Type = 'duration' | 'timestamp' | OtherString;
1603
1367
  namespace Duration {
1604
1368
  type Interval = 'day' | 'month' | 'week' | 'year';
1605
1369
  }
@@ -1627,7 +1391,7 @@ export declare namespace SubscriptionCreateParams {
1627
1391
  type: Issuer.Type;
1628
1392
  }
1629
1393
  namespace Issuer {
1630
- type Type = 'account' | 'self';
1394
+ type Type = 'account' | 'self' | OtherString;
1631
1395
  }
1632
1396
  }
1633
1397
  namespace Item {
@@ -1637,16 +1401,6 @@ export declare namespace SubscriptionCreateParams {
1637
1401
  */
1638
1402
  usage_gte: number;
1639
1403
  }
1640
- interface CurrentTrial {
1641
- /**
1642
- * Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.
1643
- */
1644
- trial_end?: number;
1645
- /**
1646
- * The ID of the trial offer to apply to the subscription item.
1647
- */
1648
- trial_offer: string;
1649
- }
1650
1404
  interface Discount {
1651
1405
  /**
1652
1406
  * ID of the coupon to create a new discount for.
@@ -1656,10 +1410,6 @@ export declare namespace SubscriptionCreateParams {
1656
1410
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1657
1411
  */
1658
1412
  discount?: string;
1659
- /**
1660
- * Details to determine how long the discount should be applied for.
1661
- */
1662
- discount_end?: Discount.DiscountEnd;
1663
1413
  /**
1664
1414
  * ID of the promotion code to create a new discount for.
1665
1415
  */
@@ -1691,48 +1441,6 @@ export declare namespace SubscriptionCreateParams {
1691
1441
  */
1692
1442
  unit_amount_decimal?: Decimal;
1693
1443
  }
1694
- interface Trial {
1695
- /**
1696
- * List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
1697
- */
1698
- converts_to?: Array<string>;
1699
- /**
1700
- * Determines the type of trial for this item.
1701
- */
1702
- type: Trial.Type;
1703
- }
1704
- namespace Discount {
1705
- interface DiscountEnd {
1706
- /**
1707
- * Time span for the redeemed discount.
1708
- */
1709
- duration?: DiscountEnd.Duration;
1710
- /**
1711
- * A precise Unix timestamp for the discount to end. Must be in the future.
1712
- */
1713
- timestamp?: number;
1714
- /**
1715
- * The type of calculation made to determine when the discount ends.
1716
- */
1717
- type: DiscountEnd.Type;
1718
- }
1719
- namespace DiscountEnd {
1720
- interface Duration {
1721
- /**
1722
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1723
- */
1724
- interval: Duration.Interval;
1725
- /**
1726
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1727
- */
1728
- interval_count: number;
1729
- }
1730
- type Type = 'duration' | 'timestamp';
1731
- namespace Duration {
1732
- type Interval = 'day' | 'month' | 'week' | 'year';
1733
- }
1734
- }
1735
- }
1736
1444
  namespace PriceData {
1737
1445
  interface Recurring {
1738
1446
  /**
@@ -1749,9 +1457,6 @@ export declare namespace SubscriptionCreateParams {
1749
1457
  type Interval = 'day' | 'month' | 'week' | 'year';
1750
1458
  }
1751
1459
  }
1752
- namespace Trial {
1753
- type Type = 'free' | 'paid';
1754
- }
1755
1460
  }
1756
1461
  namespace PaymentSettings {
1757
1462
  interface PaymentMethodOptions {
@@ -1763,10 +1468,6 @@ export declare namespace SubscriptionCreateParams {
1763
1468
  * This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
1764
1469
  */
1765
1470
  bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
1766
- /**
1767
- * This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
1768
- */
1769
- blik?: Emptyable<PaymentMethodOptions.Blik>;
1770
1471
  /**
1771
1472
  * This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
1772
1473
  */
@@ -1775,10 +1476,6 @@ export declare namespace SubscriptionCreateParams {
1775
1476
  * This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
1776
1477
  */
1777
1478
  customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
1778
- /**
1779
- * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
1780
- */
1781
- id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
1782
1479
  /**
1783
1480
  * This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
1784
1481
  */
@@ -1804,8 +1501,8 @@ export declare namespace SubscriptionCreateParams {
1804
1501
  */
1805
1502
  us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
1806
1503
  }
1807
- type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
1808
- type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
1504
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
1505
+ type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
1809
1506
  namespace PaymentMethodOptions {
1810
1507
  interface AcssDebit {
1811
1508
  /**
@@ -1823,12 +1520,6 @@ export declare namespace SubscriptionCreateParams {
1823
1520
  */
1824
1521
  preferred_language?: Bancontact.PreferredLanguage;
1825
1522
  }
1826
- interface Blik {
1827
- /**
1828
- * Configuration options for setting up a mandate
1829
- */
1830
- mandate_options?: Blik.MandateOptions;
1831
- }
1832
1523
  interface Card {
1833
1524
  /**
1834
1525
  * Configuration options for setting up an eMandate for cards issued in India.
@@ -1853,8 +1544,6 @@ export declare namespace SubscriptionCreateParams {
1853
1544
  */
1854
1545
  funding_type?: string;
1855
1546
  }
1856
- interface IdBankTransfer {
1857
- }
1858
1547
  interface Konbini {
1859
1548
  }
1860
1549
  interface Payto {
@@ -1898,21 +1587,13 @@ export declare namespace SubscriptionCreateParams {
1898
1587
  */
1899
1588
  transaction_type?: MandateOptions.TransactionType;
1900
1589
  }
1901
- type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
1590
+ type VerificationMethod = 'automatic' | 'instant' | 'microdeposits' | OtherString;
1902
1591
  namespace MandateOptions {
1903
- type TransactionType = 'business' | 'personal';
1592
+ type TransactionType = 'business' | 'personal' | OtherString;
1904
1593
  }
1905
1594
  }
1906
1595
  namespace Bancontact {
1907
- type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
1908
- }
1909
- namespace Blik {
1910
- interface MandateOptions {
1911
- /**
1912
- * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
1913
- */
1914
- expires_after?: number;
1915
- }
1596
+ type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
1916
1597
  }
1917
1598
  namespace Card {
1918
1599
  interface MandateOptions {
@@ -1930,9 +1611,9 @@ export declare namespace SubscriptionCreateParams {
1930
1611
  description?: string;
1931
1612
  }
1932
1613
  type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa';
1933
- type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
1614
+ type RequestThreeDSecure = 'any' | 'automatic' | 'challenge' | OtherString;
1934
1615
  namespace MandateOptions {
1935
- type AmountType = 'fixed' | 'maximum';
1616
+ type AmountType = 'fixed' | 'maximum' | OtherString;
1936
1617
  }
1937
1618
  }
1938
1619
  namespace CustomerBalance {
@@ -1967,7 +1648,7 @@ export declare namespace SubscriptionCreateParams {
1967
1648
  purpose?: MandateOptions.Purpose;
1968
1649
  }
1969
1650
  namespace MandateOptions {
1970
- type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility';
1651
+ type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility' | OtherString;
1971
1652
  }
1972
1653
  }
1973
1654
  namespace Pix {
@@ -1990,8 +1671,8 @@ export declare namespace SubscriptionCreateParams {
1990
1671
  payment_schedule?: MandateOptions.PaymentSchedule;
1991
1672
  }
1992
1673
  namespace MandateOptions {
1993
- type AmountIncludesIof = 'always' | 'never';
1994
- type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly';
1674
+ type AmountIncludesIof = 'always' | 'never' | OtherString;
1675
+ type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly' | OtherString;
1995
1676
  }
1996
1677
  }
1997
1678
  namespace Upi {
@@ -2014,7 +1695,7 @@ export declare namespace SubscriptionCreateParams {
2014
1695
  end_date?: number;
2015
1696
  }
2016
1697
  namespace MandateOptions {
2017
- type AmountType = 'fixed' | 'maximum';
1698
+ type AmountType = 'fixed' | 'maximum' | OtherString;
2018
1699
  }
2019
1700
  }
2020
1701
  namespace UsBankAccount {
@@ -2032,22 +1713,18 @@ export declare namespace SubscriptionCreateParams {
2032
1713
  */
2033
1714
  prefetch?: Array<FinancialConnections.Prefetch>;
2034
1715
  }
2035
- type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
1716
+ type VerificationMethod = 'automatic' | 'instant' | 'microdeposits' | OtherString;
2036
1717
  namespace FinancialConnections {
2037
1718
  interface Filters {
2038
1719
  /**
2039
1720
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2040
1721
  */
2041
1722
  account_subcategories?: Array<Filters.AccountSubcategory>;
2042
- /**
2043
- * ID of the institution to use to filter for selectable accounts.
2044
- */
2045
- institution?: string;
2046
1723
  }
2047
1724
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
2048
- type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
1725
+ type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
2049
1726
  namespace Filters {
2050
- type AccountSubcategory = 'checking' | 'savings';
1727
+ type AccountSubcategory = 'checking' | 'savings' | OtherString;
2051
1728
  }
2052
1729
  }
2053
1730
  }
@@ -2056,23 +1733,15 @@ export declare namespace SubscriptionCreateParams {
2056
1733
  namespace PendingInvoiceItemInterval {
2057
1734
  type Interval = 'day' | 'month' | 'week' | 'year';
2058
1735
  }
2059
- namespace Prebilling {
2060
- type UpdateBehavior = 'prebill' | 'reset';
2061
- }
2062
1736
  namespace TrialSettings {
2063
1737
  interface EndBehavior {
2064
- /**
2065
- * Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
2066
- */
2067
- billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
2068
1738
  /**
2069
1739
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
2070
1740
  */
2071
1741
  missing_payment_method: EndBehavior.MissingPaymentMethod;
2072
1742
  }
2073
1743
  namespace EndBehavior {
2074
- type BillingCycleAnchor = 'now' | 'unchanged';
2075
- type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
1744
+ type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
2076
1745
  }
2077
1746
  }
2078
1747
  }
@@ -2112,7 +1781,7 @@ export interface SubscriptionUpdateParams {
2112
1781
  */
2113
1782
  cancel_at?: Emptyable<number | SubscriptionUpdateParams.CancelAt>;
2114
1783
  /**
2115
- * Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
1784
+ * Indicate whether this subscription should cancel at the end of the current period (`current_period_end`).
2116
1785
  */
2117
1786
  cancel_at_period_end?: boolean;
2118
1787
  /**
@@ -2187,10 +1856,6 @@ export interface SubscriptionUpdateParams {
2187
1856
  * Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://docs.stripe.com/api/invoices/create) for the given subscription at the specified interval.
2188
1857
  */
2189
1858
  pending_invoice_item_interval?: Emptyable<SubscriptionUpdateParams.PendingInvoiceItemInterval>;
2190
- /**
2191
- * If specified, the invoicing for the given billing cycle iterations will be processed now.
2192
- */
2193
- prebilling?: SubscriptionUpdateParams.Prebilling;
2194
1859
  /**
2195
1860
  * Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
2196
1861
  */
@@ -2286,7 +1951,7 @@ export declare namespace SubscriptionUpdateParams {
2286
1951
  */
2287
1952
  reset_billing_cycle_anchor?: boolean;
2288
1953
  }
2289
- type CancelAt = 'max_billed_until' | 'max_period_end' | 'min_period_end';
1954
+ type CancelAt = 'max_billed_until' | 'max_period_end' | 'min_period_end' | OtherString;
2290
1955
  interface CancellationDetails {
2291
1956
  /**
2292
1957
  * Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
@@ -2307,10 +1972,6 @@ export declare namespace SubscriptionUpdateParams {
2307
1972
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2308
1973
  */
2309
1974
  discount?: string;
2310
- /**
2311
- * Details to determine how long the discount should be applied for.
2312
- */
2313
- discount_end?: Discount.DiscountEnd;
2314
1975
  /**
2315
1976
  * ID of the promotion code to create a new discount for.
2316
1977
  */
@@ -2347,10 +2008,6 @@ export declare namespace SubscriptionUpdateParams {
2347
2008
  * Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
2348
2009
  */
2349
2010
  clear_usage?: boolean;
2350
- /**
2351
- * The trial offer to apply to this subscription item.
2352
- */
2353
- current_trial?: Item.CurrentTrial;
2354
2011
  /**
2355
2012
  * A flag that, if set to `true`, will delete the specified item.
2356
2013
  */
@@ -2423,17 +2080,7 @@ export declare namespace SubscriptionUpdateParams {
2423
2080
  */
2424
2081
  interval_count?: number;
2425
2082
  }
2426
- interface Prebilling {
2427
- /**
2428
- * This is used to determine the number of billing cycles to prebill.
2429
- */
2430
- iterations: number;
2431
- /**
2432
- * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
2433
- */
2434
- update_behavior?: Prebilling.UpdateBehavior;
2435
- }
2436
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
2083
+ type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
2437
2084
  interface TransferData {
2438
2085
  /**
2439
2086
  * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
@@ -2460,10 +2107,6 @@ export declare namespace SubscriptionUpdateParams {
2460
2107
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2461
2108
  */
2462
2109
  discount?: string;
2463
- /**
2464
- * Details to determine how long the discount should be applied for.
2465
- */
2466
- discount_end?: Discount.DiscountEnd;
2467
2110
  /**
2468
2111
  * ID of the promotion code to create a new discount for.
2469
2112
  */
@@ -2501,38 +2144,6 @@ export declare namespace SubscriptionUpdateParams {
2501
2144
  */
2502
2145
  unit_amount_decimal?: Decimal;
2503
2146
  }
2504
- namespace Discount {
2505
- interface DiscountEnd {
2506
- /**
2507
- * Time span for the redeemed discount.
2508
- */
2509
- duration?: DiscountEnd.Duration;
2510
- /**
2511
- * A precise Unix timestamp for the discount to end. Must be in the future.
2512
- */
2513
- timestamp?: number;
2514
- /**
2515
- * The type of calculation made to determine when the discount ends.
2516
- */
2517
- type: DiscountEnd.Type;
2518
- }
2519
- namespace DiscountEnd {
2520
- interface Duration {
2521
- /**
2522
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2523
- */
2524
- interval: Duration.Interval;
2525
- /**
2526
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2527
- */
2528
- interval_count: number;
2529
- }
2530
- type Type = 'duration' | 'timestamp';
2531
- namespace Duration {
2532
- type Interval = 'day' | 'month' | 'week' | 'year';
2533
- }
2534
- }
2535
- }
2536
2147
  namespace Period {
2537
2148
  interface End {
2538
2149
  /**
@@ -2555,10 +2166,10 @@ export declare namespace SubscriptionUpdateParams {
2555
2166
  type: Start.Type;
2556
2167
  }
2557
2168
  namespace End {
2558
- type Type = 'min_item_period_end' | 'timestamp';
2169
+ type Type = 'min_item_period_end' | 'timestamp' | OtherString;
2559
2170
  }
2560
2171
  namespace Start {
2561
- type Type = 'max_item_period_start' | 'now' | 'timestamp';
2172
+ type Type = 'max_item_period_start' | 'now' | 'timestamp' | OtherString;
2562
2173
  }
2563
2174
  }
2564
2175
  namespace PriceData {
@@ -2577,7 +2188,7 @@ export declare namespace SubscriptionUpdateParams {
2577
2188
  type: Liability.Type;
2578
2189
  }
2579
2190
  namespace Liability {
2580
- type Type = 'account' | 'self';
2191
+ type Type = 'account' | 'self' | OtherString;
2581
2192
  }
2582
2193
  }
2583
2194
  namespace BillingSchedule {
@@ -2616,46 +2227,14 @@ export declare namespace SubscriptionUpdateParams {
2616
2227
  */
2617
2228
  interval_count?: number;
2618
2229
  }
2619
- type Type = 'duration' | 'timestamp';
2230
+ type Type = 'duration' | 'timestamp' | OtherString;
2620
2231
  namespace Duration {
2621
2232
  type Interval = 'day' | 'month' | 'week' | 'year';
2622
2233
  }
2623
2234
  }
2624
2235
  }
2625
2236
  namespace CancellationDetails {
2626
- type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused';
2627
- }
2628
- namespace Discount {
2629
- interface DiscountEnd {
2630
- /**
2631
- * Time span for the redeemed discount.
2632
- */
2633
- duration?: DiscountEnd.Duration;
2634
- /**
2635
- * A precise Unix timestamp for the discount to end. Must be in the future.
2636
- */
2637
- timestamp?: number;
2638
- /**
2639
- * The type of calculation made to determine when the discount ends.
2640
- */
2641
- type: DiscountEnd.Type;
2642
- }
2643
- namespace DiscountEnd {
2644
- interface Duration {
2645
- /**
2646
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2647
- */
2648
- interval: Duration.Interval;
2649
- /**
2650
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2651
- */
2652
- interval_count: number;
2653
- }
2654
- type Type = 'duration' | 'timestamp';
2655
- namespace Duration {
2656
- type Interval = 'day' | 'month' | 'week' | 'year';
2657
- }
2658
- }
2237
+ type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused' | OtherString;
2659
2238
  }
2660
2239
  namespace InvoiceSettings {
2661
2240
  interface CustomField {
@@ -2679,7 +2258,7 @@ export declare namespace SubscriptionUpdateParams {
2679
2258
  type: Issuer.Type;
2680
2259
  }
2681
2260
  namespace Issuer {
2682
- type Type = 'account' | 'self';
2261
+ type Type = 'account' | 'self' | OtherString;
2683
2262
  }
2684
2263
  }
2685
2264
  namespace Item {
@@ -2689,16 +2268,6 @@ export declare namespace SubscriptionUpdateParams {
2689
2268
  */
2690
2269
  usage_gte: number;
2691
2270
  }
2692
- interface CurrentTrial {
2693
- /**
2694
- * Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.
2695
- */
2696
- trial_end?: number;
2697
- /**
2698
- * The ID of the trial offer to apply to the subscription item.
2699
- */
2700
- trial_offer: string;
2701
- }
2702
2271
  interface Discount {
2703
2272
  /**
2704
2273
  * ID of the coupon to create a new discount for.
@@ -2708,10 +2277,6 @@ export declare namespace SubscriptionUpdateParams {
2708
2277
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2709
2278
  */
2710
2279
  discount?: string;
2711
- /**
2712
- * Details to determine how long the discount should be applied for.
2713
- */
2714
- discount_end?: Discount.DiscountEnd;
2715
2280
  /**
2716
2281
  * ID of the promotion code to create a new discount for.
2717
2282
  */
@@ -2743,38 +2308,6 @@ export declare namespace SubscriptionUpdateParams {
2743
2308
  */
2744
2309
  unit_amount_decimal?: Decimal;
2745
2310
  }
2746
- namespace Discount {
2747
- interface DiscountEnd {
2748
- /**
2749
- * Time span for the redeemed discount.
2750
- */
2751
- duration?: DiscountEnd.Duration;
2752
- /**
2753
- * A precise Unix timestamp for the discount to end. Must be in the future.
2754
- */
2755
- timestamp?: number;
2756
- /**
2757
- * The type of calculation made to determine when the discount ends.
2758
- */
2759
- type: DiscountEnd.Type;
2760
- }
2761
- namespace DiscountEnd {
2762
- interface Duration {
2763
- /**
2764
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2765
- */
2766
- interval: Duration.Interval;
2767
- /**
2768
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2769
- */
2770
- interval_count: number;
2771
- }
2772
- type Type = 'duration' | 'timestamp';
2773
- namespace Duration {
2774
- type Interval = 'day' | 'month' | 'week' | 'year';
2775
- }
2776
- }
2777
- }
2778
2311
  namespace PriceData {
2779
2312
  interface Recurring {
2780
2313
  /**
@@ -2805,10 +2338,6 @@ export declare namespace SubscriptionUpdateParams {
2805
2338
  * This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
2806
2339
  */
2807
2340
  bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
2808
- /**
2809
- * This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
2810
- */
2811
- blik?: Emptyable<PaymentMethodOptions.Blik>;
2812
2341
  /**
2813
2342
  * This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
2814
2343
  */
@@ -2817,10 +2346,6 @@ export declare namespace SubscriptionUpdateParams {
2817
2346
  * This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
2818
2347
  */
2819
2348
  customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
2820
- /**
2821
- * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
2822
- */
2823
- id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
2824
2349
  /**
2825
2350
  * This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
2826
2351
  */
@@ -2846,8 +2371,8 @@ export declare namespace SubscriptionUpdateParams {
2846
2371
  */
2847
2372
  us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
2848
2373
  }
2849
- type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
2850
- type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
2374
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
2375
+ type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
2851
2376
  namespace PaymentMethodOptions {
2852
2377
  interface AcssDebit {
2853
2378
  /**
@@ -2865,12 +2390,6 @@ export declare namespace SubscriptionUpdateParams {
2865
2390
  */
2866
2391
  preferred_language?: Bancontact.PreferredLanguage;
2867
2392
  }
2868
- interface Blik {
2869
- /**
2870
- * Configuration options for setting up a mandate
2871
- */
2872
- mandate_options?: Blik.MandateOptions;
2873
- }
2874
2393
  interface Card {
2875
2394
  /**
2876
2395
  * Configuration options for setting up an eMandate for cards issued in India.
@@ -2895,8 +2414,6 @@ export declare namespace SubscriptionUpdateParams {
2895
2414
  */
2896
2415
  funding_type?: string;
2897
2416
  }
2898
- interface IdBankTransfer {
2899
- }
2900
2417
  interface Konbini {
2901
2418
  }
2902
2419
  interface Payto {
@@ -2940,21 +2457,13 @@ export declare namespace SubscriptionUpdateParams {
2940
2457
  */
2941
2458
  transaction_type?: MandateOptions.TransactionType;
2942
2459
  }
2943
- type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
2460
+ type VerificationMethod = 'automatic' | 'instant' | 'microdeposits' | OtherString;
2944
2461
  namespace MandateOptions {
2945
- type TransactionType = 'business' | 'personal';
2462
+ type TransactionType = 'business' | 'personal' | OtherString;
2946
2463
  }
2947
2464
  }
2948
2465
  namespace Bancontact {
2949
- type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
2950
- }
2951
- namespace Blik {
2952
- interface MandateOptions {
2953
- /**
2954
- * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
2955
- */
2956
- expires_after?: number;
2957
- }
2466
+ type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
2958
2467
  }
2959
2468
  namespace Card {
2960
2469
  interface MandateOptions {
@@ -2972,9 +2481,9 @@ export declare namespace SubscriptionUpdateParams {
2972
2481
  description?: string;
2973
2482
  }
2974
2483
  type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa';
2975
- type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
2484
+ type RequestThreeDSecure = 'any' | 'automatic' | 'challenge' | OtherString;
2976
2485
  namespace MandateOptions {
2977
- type AmountType = 'fixed' | 'maximum';
2486
+ type AmountType = 'fixed' | 'maximum' | OtherString;
2978
2487
  }
2979
2488
  }
2980
2489
  namespace CustomerBalance {
@@ -3009,7 +2518,7 @@ export declare namespace SubscriptionUpdateParams {
3009
2518
  purpose?: MandateOptions.Purpose;
3010
2519
  }
3011
2520
  namespace MandateOptions {
3012
- type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility';
2521
+ type Purpose = 'dependant_support' | 'government' | 'loan' | 'mortgage' | 'other' | 'pension' | 'personal' | 'retail' | 'salary' | 'tax' | 'utility' | OtherString;
3013
2522
  }
3014
2523
  }
3015
2524
  namespace Pix {
@@ -3032,8 +2541,8 @@ export declare namespace SubscriptionUpdateParams {
3032
2541
  payment_schedule?: MandateOptions.PaymentSchedule;
3033
2542
  }
3034
2543
  namespace MandateOptions {
3035
- type AmountIncludesIof = 'always' | 'never';
3036
- type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly';
2544
+ type AmountIncludesIof = 'always' | 'never' | OtherString;
2545
+ type PaymentSchedule = 'halfyearly' | 'monthly' | 'quarterly' | 'weekly' | 'yearly' | OtherString;
3037
2546
  }
3038
2547
  }
3039
2548
  namespace Upi {
@@ -3056,7 +2565,7 @@ export declare namespace SubscriptionUpdateParams {
3056
2565
  end_date?: number;
3057
2566
  }
3058
2567
  namespace MandateOptions {
3059
- type AmountType = 'fixed' | 'maximum';
2568
+ type AmountType = 'fixed' | 'maximum' | OtherString;
3060
2569
  }
3061
2570
  }
3062
2571
  namespace UsBankAccount {
@@ -3074,22 +2583,18 @@ export declare namespace SubscriptionUpdateParams {
3074
2583
  */
3075
2584
  prefetch?: Array<FinancialConnections.Prefetch>;
3076
2585
  }
3077
- type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
2586
+ type VerificationMethod = 'automatic' | 'instant' | 'microdeposits' | OtherString;
3078
2587
  namespace FinancialConnections {
3079
2588
  interface Filters {
3080
2589
  /**
3081
2590
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3082
2591
  */
3083
2592
  account_subcategories?: Array<Filters.AccountSubcategory>;
3084
- /**
3085
- * ID of the institution to use to filter for selectable accounts.
3086
- */
3087
- institution?: string;
3088
2593
  }
3089
2594
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
3090
- type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
2595
+ type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
3091
2596
  namespace Filters {
3092
- type AccountSubcategory = 'checking' | 'savings';
2597
+ type AccountSubcategory = 'checking' | 'savings' | OtherString;
3093
2598
  }
3094
2599
  }
3095
2600
  }
@@ -3098,23 +2603,15 @@ export declare namespace SubscriptionUpdateParams {
3098
2603
  namespace PendingInvoiceItemInterval {
3099
2604
  type Interval = 'day' | 'month' | 'week' | 'year';
3100
2605
  }
3101
- namespace Prebilling {
3102
- type UpdateBehavior = 'prebill' | 'reset';
3103
- }
3104
2606
  namespace TrialSettings {
3105
2607
  interface EndBehavior {
3106
- /**
3107
- * Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
3108
- */
3109
- billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
3110
2608
  /**
3111
2609
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
3112
2610
  */
3113
2611
  missing_payment_method: EndBehavior.MissingPaymentMethod;
3114
2612
  }
3115
2613
  namespace EndBehavior {
3116
- type BillingCycleAnchor = 'now' | 'unchanged';
3117
- type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
2614
+ type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
3118
2615
  }
3119
2616
  }
3120
2617
  }
@@ -3176,7 +2673,7 @@ export declare namespace SubscriptionListParams {
3176
2673
  enabled: boolean;
3177
2674
  }
3178
2675
  type CollectionMethod = 'charge_automatically' | 'send_invoice';
3179
- type Status = 'active' | 'all' | 'canceled' | 'ended' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid';
2676
+ type Status = 'active' | 'all' | 'canceled' | 'ended' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid' | OtherString;
3180
2677
  }
3181
2678
  export interface SubscriptionCancelParams {
3182
2679
  /**
@@ -3208,7 +2705,7 @@ export declare namespace SubscriptionCancelParams {
3208
2705
  feedback?: Emptyable<CancellationDetails.Feedback>;
3209
2706
  }
3210
2707
  namespace CancellationDetails {
3211
- type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused';
2708
+ type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused' | OtherString;
3212
2709
  }
3213
2710
  }
3214
2711
  export interface SubscriptionDeleteDiscountParams {
@@ -3246,57 +2743,6 @@ export declare namespace SubscriptionMigrateParams {
3246
2743
  }
3247
2744
  }
3248
2745
  }
3249
- export interface SubscriptionPauseParams {
3250
- /**
3251
- * Controls what to bill for when pausing the subscription.
3252
- */
3253
- bill_for?: SubscriptionPauseParams.BillFor;
3254
- /**
3255
- * Specifies which fields in the response should be expanded.
3256
- */
3257
- expand?: Array<string>;
3258
- /**
3259
- * Determines how to handle debits and credits when pausing. Defaults to `pending_invoice_item`.
3260
- */
3261
- invoicing_behavior?: SubscriptionPauseParams.InvoicingBehavior;
3262
- /**
3263
- * The type of pause to apply. Defaults to `subscription`.
3264
- */
3265
- type?: 'subscription';
3266
- }
3267
- export declare namespace SubscriptionPauseParams {
3268
- interface BillFor {
3269
- /**
3270
- * Controls when to bill for metered usage in the current period. Defaults to `{ type: "now" }`.
3271
- */
3272
- outstanding_usage_through?: BillFor.OutstandingUsageThrough;
3273
- /**
3274
- * Controls when to credit for unused time on licensed items. Defaults to `{ type: "now" }`.
3275
- */
3276
- unused_time_from?: BillFor.UnusedTimeFrom;
3277
- }
3278
- type InvoicingBehavior = 'invoice' | 'pending_invoice_item';
3279
- namespace BillFor {
3280
- interface OutstandingUsageThrough {
3281
- /**
3282
- * When to bill metered usage in the current period.
3283
- */
3284
- type: OutstandingUsageThrough.Type;
3285
- }
3286
- interface UnusedTimeFrom {
3287
- /**
3288
- * When to credit for unused time.
3289
- */
3290
- type: UnusedTimeFrom.Type;
3291
- }
3292
- namespace OutstandingUsageThrough {
3293
- type Type = 'none' | 'now';
3294
- }
3295
- namespace UnusedTimeFrom {
3296
- type Type = 'item_current_period_start' | 'none' | 'now';
3297
- }
3298
- }
3299
- }
3300
2746
  export interface SubscriptionResumeParams {
3301
2747
  /**
3302
2748
  * The billing cycle anchor that applies when the subscription is resumed. Either `now` or `unchanged`. The default is `now`. For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
@@ -3306,10 +2752,6 @@ export interface SubscriptionResumeParams {
3306
2752
  * Specifies which fields in the response should be expanded.
3307
2753
  */
3308
2754
  expand?: Array<string>;
3309
- /**
3310
- * Controls whether Stripe attempts payment on the resumption invoice in the resume request, and how payment on that invoice affects the subscription's status. The default is `resume_on_payment_attempt`.
3311
- */
3312
- payment_behavior?: SubscriptionResumeParams.PaymentBehavior;
3313
2755
  /**
3314
2756
  * Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor` being `unchanged`. When the `billing_cycle_anchor` is set to `now` (default value), no prorations are generated. If no value is passed, the default is `create_prorations`.
3315
2757
  */
@@ -3320,9 +2762,8 @@ export interface SubscriptionResumeParams {
3320
2762
  proration_date?: number;
3321
2763
  }
3322
2764
  export declare namespace SubscriptionResumeParams {
3323
- type BillingCycleAnchor = 'now' | 'unchanged';
3324
- type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success';
3325
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
2765
+ type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
2766
+ type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
3326
2767
  }
3327
2768
  export interface SubscriptionSearchParams {
3328
2769
  /**
@@ -3342,9 +2783,3 @@ export interface SubscriptionSearchParams {
3342
2783
  */
3343
2784
  page?: string;
3344
2785
  }
3345
- export interface SubscriptionSerializeBatchCancelParams {
3346
- }
3347
- export interface SubscriptionSerializeBatchMigrateParams {
3348
- }
3349
- export interface SubscriptionSerializeBatchUpdateParams {
3350
- }