stripe 22.5.0 → 22.6.0-alpha.2

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 (1674) hide show
  1. package/CHANGELOG.md +3251 -12
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +51 -60
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +61 -0
  6. package/cjs/Error.js +143 -1
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/RequestSender.d.ts +1 -1
  9. package/cjs/RequestSender.js +14 -5
  10. package/cjs/RequestSender.js.map +1 -1
  11. package/cjs/StripeEventNotificationHandler.d.ts +19 -0
  12. package/cjs/StripeEventNotificationHandler.js +505 -0
  13. package/cjs/StripeEventNotificationHandler.js.map +1 -0
  14. package/cjs/Types.d.ts +9 -2
  15. package/cjs/Types.js.map +1 -1
  16. package/cjs/apiVersion.d.ts +2 -2
  17. package/cjs/apiVersion.js +2 -2
  18. package/cjs/apiVersion.js.map +1 -1
  19. package/cjs/resources/AccountLinks.d.ts +8 -4
  20. package/cjs/resources/AccountNotices.d.ts +140 -0
  21. package/cjs/resources/AccountNotices.js +29 -0
  22. package/cjs/resources/AccountNotices.js.map +1 -0
  23. package/cjs/resources/AccountSessions.d.ts +564 -0
  24. package/cjs/resources/AccountSessions.js.map +1 -1
  25. package/cjs/resources/AccountSignals.d.ts +111 -0
  26. package/cjs/resources/AccountSignals.js +4 -0
  27. package/cjs/resources/AccountSignals.js.map +1 -0
  28. package/cjs/resources/Accounts.d.ts +1143 -85
  29. package/cjs/resources/Accounts.js +47 -0
  30. package/cjs/resources/Accounts.js.map +1 -1
  31. package/cjs/resources/ApplicationFees.d.ts +28 -1
  32. package/cjs/resources/Balance.d.ts +134 -0
  33. package/cjs/resources/BalanceSettings.d.ts +18 -0
  34. package/cjs/resources/BalanceTransactions.d.ts +2 -2
  35. package/cjs/resources/BalanceTransfers.d.ts +160 -0
  36. package/cjs/resources/BalanceTransfers.js +15 -0
  37. package/cjs/resources/BalanceTransfers.js.map +1 -0
  38. package/cjs/resources/BankAccounts.d.ts +4 -4
  39. package/cjs/resources/Billing/AlertNotifications.d.ts +75 -0
  40. package/cjs/resources/Billing/AlertNotifications.js +4 -0
  41. package/cjs/resources/Billing/AlertNotifications.js.map +1 -0
  42. package/cjs/resources/Billing/AlertRecovereds.d.ts +56 -0
  43. package/cjs/resources/Billing/AlertRecovereds.js +4 -0
  44. package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
  45. package/cjs/resources/Billing/AlertTriggereds.d.ts +55 -1
  46. package/cjs/resources/Billing/Alerts.d.ts +448 -5
  47. package/cjs/resources/Billing/Alerts.js +329 -5
  48. package/cjs/resources/Billing/Alerts.js.map +1 -1
  49. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +89 -0
  50. package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
  51. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  52. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  53. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
  54. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  55. package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
  56. package/cjs/resources/Billing/Analytics/index.js +13 -0
  57. package/cjs/resources/Billing/Analytics/index.js.map +1 -0
  58. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +136 -3
  59. package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
  60. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  61. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  62. package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
  63. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  64. package/cjs/resources/Billing/CreditGrants.d.ts +105 -3
  65. package/cjs/resources/Billing/CreditGrants.js +134 -5
  66. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  67. package/cjs/resources/Billing/FeedbackOptions.d.ts +32 -0
  68. package/cjs/resources/Billing/FeedbackOptions.js +4 -0
  69. package/cjs/resources/Billing/FeedbackOptions.js.map +1 -0
  70. package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
  71. package/cjs/resources/Billing/Meters.d.ts +31 -0
  72. package/cjs/resources/Billing/index.d.ts +13 -0
  73. package/cjs/resources/Billing/index.js +2 -0
  74. package/cjs/resources/Billing/index.js.map +1 -1
  75. package/cjs/resources/BillingPortal/Configurations.d.ts +14 -9
  76. package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
  77. package/cjs/resources/BillingPortal/Sessions.d.ts +17 -1
  78. package/cjs/resources/Capabilities.d.ts +25 -2
  79. package/cjs/resources/Capital/FinancingOffers.d.ts +194 -0
  80. package/cjs/resources/Capital/FinancingOffers.js +30 -0
  81. package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
  82. package/cjs/resources/Capital/FinancingSummary.d.ts +102 -0
  83. package/cjs/resources/Capital/FinancingSummary.js +15 -0
  84. package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
  85. package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
  86. package/cjs/resources/Capital/FinancingTransactions.js +24 -0
  87. package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
  88. package/cjs/resources/Capital/index.d.ts +25 -0
  89. package/cjs/resources/Capital/index.js +17 -0
  90. package/cjs/resources/Capital/index.js.map +1 -0
  91. package/cjs/resources/Cards.d.ts +29 -1
  92. package/cjs/resources/CashBalances.d.ts +2 -1
  93. package/cjs/resources/Charges.d.ts +3382 -85
  94. package/cjs/resources/Charges.js.map +1 -1
  95. package/cjs/resources/Checkout/Sessions.d.ts +1224 -43
  96. package/cjs/resources/Checkout/Sessions.js +115 -0
  97. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  98. package/cjs/resources/Checkout/index.d.ts +1 -0
  99. package/cjs/resources/Climate/Orders.d.ts +1 -1
  100. package/cjs/resources/Climate/Products.d.ts +1 -1
  101. package/cjs/resources/ConfirmationTokens.d.ts +153 -8
  102. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  103. package/cjs/resources/Coupons.d.ts +128 -2
  104. package/cjs/resources/Coupons.js +41 -0
  105. package/cjs/resources/Coupons.js.map +1 -1
  106. package/cjs/resources/CreditNoteLineItems.d.ts +17 -3
  107. package/cjs/resources/CreditNotes.d.ts +12 -6
  108. package/cjs/resources/CreditNotes.js +13 -0
  109. package/cjs/resources/CreditNotes.js.map +1 -1
  110. package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
  111. package/cjs/resources/Crypto/CustomerConsumerWallets.js +4 -0
  112. package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
  113. package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
  114. package/cjs/resources/Crypto/CustomerPaymentTokens.js +4 -0
  115. package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
  116. package/cjs/resources/Crypto/Customers.d.ts +111 -0
  117. package/cjs/resources/Crypto/Customers.js +31 -0
  118. package/cjs/resources/Crypto/Customers.js.map +1 -0
  119. package/cjs/resources/Crypto/DepositAddresses.d.ts +128 -0
  120. package/cjs/resources/Crypto/DepositAddresses.js +31 -0
  121. package/cjs/resources/Crypto/DepositAddresses.js.map +1 -0
  122. package/cjs/resources/Crypto/OnrampSessions.d.ts +425 -0
  123. package/cjs/resources/Crypto/OnrampSessions.js +47 -0
  124. package/cjs/resources/Crypto/OnrampSessions.js.map +1 -0
  125. package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
  126. package/cjs/resources/Crypto/OnrampTransactionLimits.js +15 -0
  127. package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
  128. package/cjs/resources/Crypto/index.d.ts +41 -0
  129. package/cjs/resources/Crypto/index.js +19 -0
  130. package/cjs/resources/Crypto/index.js.map +1 -0
  131. package/cjs/resources/CustomerSessions.d.ts +94 -0
  132. package/cjs/resources/CustomerSessions.js +13 -0
  133. package/cjs/resources/CustomerSessions.js.map +1 -1
  134. package/cjs/resources/Customers.d.ts +126 -12
  135. package/cjs/resources/Customers.js +195 -0
  136. package/cjs/resources/Customers.js.map +1 -1
  137. package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
  138. package/cjs/resources/DelegatedCheckout/OrderEvents.js +4 -0
  139. package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
  140. package/cjs/resources/DelegatedCheckout/Orders.d.ts +159 -0
  141. package/cjs/resources/DelegatedCheckout/Orders.js +15 -0
  142. package/cjs/resources/DelegatedCheckout/Orders.js.map +1 -0
  143. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1424 -0
  144. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
  145. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  146. package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
  147. package/cjs/resources/DelegatedCheckout/index.js +15 -0
  148. package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
  149. package/cjs/resources/Discounts.d.ts +19 -0
  150. package/cjs/resources/Disputes.d.ts +43 -0
  151. package/cjs/resources/Disputes.js +14 -0
  152. package/cjs/resources/Disputes.js.map +1 -1
  153. package/cjs/resources/Events.d.ts +640 -3
  154. package/cjs/resources/ExternalAccounts.d.ts +212 -1
  155. package/cjs/resources/ExternalAccounts.js +44 -0
  156. package/cjs/resources/ExternalAccounts.js.map +1 -1
  157. package/cjs/resources/Files.d.ts +1 -1
  158. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  159. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
  160. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  161. package/cjs/resources/FinancialConnections/Accounts.d.ts +105 -4
  162. package/cjs/resources/FinancialConnections/Accounts.js +8 -0
  163. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  164. package/cjs/resources/FinancialConnections/Authorizations.d.ts +46 -1
  165. package/cjs/resources/FinancialConnections/Authorizations.js +11 -0
  166. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
  167. package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
  168. package/cjs/resources/FinancialConnections/Institutions.js +23 -0
  169. package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
  170. package/cjs/resources/FinancialConnections/Sessions.d.ts +128 -9
  171. package/cjs/resources/FinancialConnections/Transactions.d.ts +76 -0
  172. package/cjs/resources/FinancialConnections/index.d.ts +21 -9
  173. package/cjs/resources/FinancialConnections/index.js +4 -0
  174. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  175. package/cjs/resources/FxQuotes.d.ts +212 -0
  176. package/cjs/resources/FxQuotes.js +29 -0
  177. package/cjs/resources/FxQuotes.js.map +1 -0
  178. package/cjs/resources/GiftCardOperations.d.ts +249 -0
  179. package/cjs/resources/GiftCardOperations.js +15 -0
  180. package/cjs/resources/GiftCardOperations.js.map +1 -0
  181. package/cjs/resources/GiftCards.d.ts +181 -0
  182. package/cjs/resources/GiftCards.js +51 -0
  183. package/cjs/resources/GiftCards.js.map +1 -0
  184. package/cjs/resources/Identity/BlocklistEntries.d.ts +155 -0
  185. package/cjs/resources/Identity/BlocklistEntries.js +54 -0
  186. package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
  187. package/cjs/resources/Identity/VerificationReports.d.ts +33 -2
  188. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  189. package/cjs/resources/Identity/VerificationSessions.d.ts +11 -3
  190. package/cjs/resources/Identity/index.d.ts +18 -10
  191. package/cjs/resources/Identity/index.js +2 -0
  192. package/cjs/resources/Identity/index.js.map +1 -1
  193. package/cjs/resources/InvoiceItems.d.ts +226 -8
  194. package/cjs/resources/InvoiceItems.js +41 -0
  195. package/cjs/resources/InvoiceItems.js.map +1 -1
  196. package/cjs/resources/InvoiceLineItems.d.ts +175 -5
  197. package/cjs/resources/InvoicePayments.d.ts +1 -1
  198. package/cjs/resources/InvoiceRenderingTemplates.d.ts +15 -3
  199. package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
  200. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  201. package/cjs/resources/Invoices.d.ts +2211 -61
  202. package/cjs/resources/Invoices.js +221 -0
  203. package/cjs/resources/Invoices.js.map +1 -1
  204. package/cjs/resources/Issuing/Authorizations.d.ts +730 -1
  205. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  206. package/cjs/resources/Issuing/Cardholders.d.ts +40 -22
  207. package/cjs/resources/Issuing/Cards.d.ts +97 -15
  208. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
  209. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +53 -0
  210. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  211. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
  212. package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
  213. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  214. package/cjs/resources/Issuing/Disputes.d.ts +246 -0
  215. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  216. package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
  217. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  218. package/cjs/resources/Issuing/Programs.d.ts +95 -0
  219. package/cjs/resources/Issuing/Programs.js +35 -0
  220. package/cjs/resources/Issuing/Programs.js.map +1 -0
  221. package/cjs/resources/Issuing/Settlements.d.ts +83 -0
  222. package/cjs/resources/Issuing/Settlements.js +4 -0
  223. package/cjs/resources/Issuing/Settlements.js.map +1 -0
  224. package/cjs/resources/Issuing/Tokens.d.ts +26 -0
  225. package/cjs/resources/Issuing/Transactions.d.ts +233 -0
  226. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  227. package/cjs/resources/Issuing/index.d.ts +56 -22
  228. package/cjs/resources/Issuing/index.js +8 -0
  229. package/cjs/resources/Issuing/index.js.map +1 -1
  230. package/cjs/resources/LineItems.d.ts +29 -2
  231. package/cjs/resources/Mandates.d.ts +49 -4
  232. package/cjs/resources/Mandates.js +8 -0
  233. package/cjs/resources/Mandates.js.map +1 -1
  234. package/cjs/resources/Margins.d.ts +115 -0
  235. package/cjs/resources/Margins.js +35 -0
  236. package/cjs/resources/Margins.js.map +1 -0
  237. package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  238. package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
  239. package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
  240. package/cjs/resources/Orchestration/index.d.ts +12 -0
  241. package/cjs/resources/Orchestration/index.js +13 -0
  242. package/cjs/resources/Orchestration/index.js.map +1 -0
  243. package/cjs/resources/Orders.d.ts +4773 -0
  244. package/cjs/resources/Orders.js +457 -0
  245. package/cjs/resources/Orders.js.map +1 -0
  246. package/cjs/resources/PaymentAttemptRecords.d.ts +696 -19
  247. package/cjs/resources/PaymentAttemptRecords.js +48 -0
  248. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  249. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +52 -0
  250. package/cjs/resources/PaymentIntents.d.ts +17309 -3551
  251. package/cjs/resources/PaymentIntents.js +46 -0
  252. package/cjs/resources/PaymentIntents.js.map +1 -1
  253. package/cjs/resources/PaymentLinks.d.ts +84 -22
  254. package/cjs/resources/PaymentLocationCapabilities.d.ts +123 -0
  255. package/cjs/resources/PaymentLocationCapabilities.js +29 -0
  256. package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
  257. package/cjs/resources/PaymentLocations.d.ts +178 -0
  258. package/cjs/resources/PaymentLocations.js +41 -0
  259. package/cjs/resources/PaymentLocations.js.map +1 -0
  260. package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
  261. package/cjs/resources/PaymentMethodBalances.js +4 -0
  262. package/cjs/resources/PaymentMethodBalances.js.map +1 -0
  263. package/cjs/resources/PaymentMethodConfigurations.d.ts +420 -0
  264. package/cjs/resources/PaymentMethods.d.ts +311 -14
  265. package/cjs/resources/PaymentMethods.js +20 -0
  266. package/cjs/resources/PaymentMethods.js.map +1 -1
  267. package/cjs/resources/PaymentPlans.d.ts +427 -0
  268. package/cjs/resources/PaymentPlans.js +35 -0
  269. package/cjs/resources/PaymentPlans.js.map +1 -0
  270. package/cjs/resources/PaymentRecords.d.ts +754 -37
  271. package/cjs/resources/PaymentRecords.js +18 -0
  272. package/cjs/resources/PaymentRecords.js.map +1 -1
  273. package/cjs/resources/Payouts.d.ts +3 -3
  274. package/cjs/resources/Persons.d.ts +25 -2
  275. package/cjs/resources/Plans.d.ts +21 -5
  276. package/cjs/resources/Prices.d.ts +91 -15
  277. package/cjs/resources/Prices.js +27 -0
  278. package/cjs/resources/Prices.js.map +1 -1
  279. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
  280. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
  281. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  282. package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
  283. package/cjs/resources/Privacy/RedactionJobs.js +73 -0
  284. package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
  285. package/cjs/resources/Privacy/index.d.ts +22 -0
  286. package/cjs/resources/Privacy/index.js +13 -0
  287. package/cjs/resources/Privacy/index.js.map +1 -0
  288. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +158 -0
  289. package/cjs/resources/ProductCatalog/TrialOffers.js +29 -0
  290. package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
  291. package/cjs/resources/ProductCatalog/index.d.ts +14 -0
  292. package/cjs/resources/ProductCatalog/index.js +13 -0
  293. package/cjs/resources/ProductCatalog/index.js.map +1 -0
  294. package/cjs/resources/Products.d.ts +205 -7
  295. package/cjs/resources/Products.js +69 -0
  296. package/cjs/resources/Products.js.map +1 -1
  297. package/cjs/resources/Profiles.d.ts +68 -0
  298. package/cjs/resources/Profiles.js +4 -0
  299. package/cjs/resources/Profiles.js.map +1 -0
  300. package/cjs/resources/PromotionCodes.d.ts +12 -0
  301. package/cjs/resources/PromotionCodes.js +27 -0
  302. package/cjs/resources/PromotionCodes.js.map +1 -1
  303. package/cjs/resources/QuoteLines.d.ts +684 -0
  304. package/cjs/resources/QuoteLines.js +4 -0
  305. package/cjs/resources/QuoteLines.js.map +1 -0
  306. package/cjs/resources/QuotePreviewInvoices.d.ts +1210 -0
  307. package/cjs/resources/QuotePreviewInvoices.js +4 -0
  308. package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
  309. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +1087 -0
  310. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
  311. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  312. package/cjs/resources/Quotes.d.ts +3558 -264
  313. package/cjs/resources/Quotes.js +1184 -16
  314. package/cjs/resources/Quotes.js.map +1 -1
  315. package/cjs/resources/Radar/AccountEvaluations.d.ts +309 -0
  316. package/cjs/resources/Radar/AccountEvaluations.js +27 -0
  317. package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
  318. package/cjs/resources/Radar/CustomerEvaluations.d.ts +245 -0
  319. package/cjs/resources/Radar/CustomerEvaluations.js +27 -0
  320. package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
  321. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
  322. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
  323. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  324. package/cjs/resources/Radar/PaymentEvaluations.d.ts +116 -2
  325. package/cjs/resources/Radar/ValueListItems.d.ts +39 -1
  326. package/cjs/resources/Radar/ValueListItems.js +13 -0
  327. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  328. package/cjs/resources/Radar/ValueLists.d.ts +2 -2
  329. package/cjs/resources/Radar/index.d.ts +36 -16
  330. package/cjs/resources/Radar/index.js +6 -0
  331. package/cjs/resources/Radar/index.js.map +1 -1
  332. package/cjs/resources/Refunds.d.ts +41 -2
  333. package/cjs/resources/Refunds.js +27 -0
  334. package/cjs/resources/Refunds.js.map +1 -1
  335. package/cjs/resources/Reporting/ReportRuns.d.ts +3 -3
  336. package/cjs/resources/Reserve/Holds.d.ts +53 -1
  337. package/cjs/resources/Reserve/Holds.js +19 -0
  338. package/cjs/resources/Reserve/Holds.js.map +1 -1
  339. package/cjs/resources/Reserve/Plans.d.ts +16 -0
  340. package/cjs/resources/Reserve/Plans.js +11 -0
  341. package/cjs/resources/Reserve/Plans.js.map +1 -1
  342. package/cjs/resources/Reserve/Releases.d.ts +41 -1
  343. package/cjs/resources/Reserve/Releases.js +19 -0
  344. package/cjs/resources/Reserve/Releases.js.map +1 -1
  345. package/cjs/resources/Reserve/index.d.ts +17 -6
  346. package/cjs/resources/Reserve/index.js +9 -0
  347. package/cjs/resources/Reserve/index.js.map +1 -1
  348. package/cjs/resources/Reviews.d.ts +2 -2
  349. package/cjs/resources/RiskSignals.d.ts +10 -0
  350. package/cjs/resources/RiskSignals.js +4 -0
  351. package/cjs/resources/RiskSignals.js.map +1 -0
  352. package/cjs/resources/SetupAttempts.d.ts +42 -8
  353. package/cjs/resources/SetupAttempts.js.map +1 -1
  354. package/cjs/resources/SetupIntents.d.ts +667 -51
  355. package/cjs/resources/SetupIntents.js.map +1 -1
  356. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +425 -0
  357. package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
  358. package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
  359. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +344 -0
  360. package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
  361. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
  362. package/cjs/resources/SharedPayment/index.d.ts +19 -0
  363. package/cjs/resources/SharedPayment/index.js +15 -0
  364. package/cjs/resources/SharedPayment/index.js.map +1 -0
  365. package/cjs/resources/ShippingRates.d.ts +6 -6
  366. package/cjs/resources/SourceTransactions.d.ts +2 -1
  367. package/cjs/resources/Sources.d.ts +43 -15
  368. package/cjs/resources/SubscriptionItems.d.ts +273 -8
  369. package/cjs/resources/SubscriptionItems.js +41 -0
  370. package/cjs/resources/SubscriptionItems.js.map +1 -1
  371. package/cjs/resources/SubscriptionSchedules.d.ts +2463 -90
  372. package/cjs/resources/SubscriptionSchedules.js +61 -0
  373. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  374. package/cjs/resources/Subscriptions.d.ts +1011 -43
  375. package/cjs/resources/Subscriptions.js +290 -1
  376. package/cjs/resources/Subscriptions.js.map +1 -1
  377. package/cjs/resources/Tax/CalculationLineItems.d.ts +14 -3
  378. package/cjs/resources/Tax/Calculations.d.ts +49 -7
  379. package/cjs/resources/Tax/Forms.d.ts +228 -0
  380. package/cjs/resources/Tax/Forms.js +32 -0
  381. package/cjs/resources/Tax/Forms.js.map +1 -0
  382. package/cjs/resources/Tax/Locations.d.ts +112 -0
  383. package/cjs/resources/Tax/Locations.js +33 -0
  384. package/cjs/resources/Tax/Locations.js.map +1 -0
  385. package/cjs/resources/Tax/Registrations.d.ts +441 -2
  386. package/cjs/resources/Tax/Registrations.js +27 -0
  387. package/cjs/resources/Tax/Registrations.js.map +1 -1
  388. package/cjs/resources/Tax/Settings.d.ts +10 -2
  389. package/cjs/resources/Tax/Settings.js +13 -0
  390. package/cjs/resources/Tax/Settings.js.map +1 -1
  391. package/cjs/resources/Tax/Transactions.d.ts +11 -3
  392. package/cjs/resources/Tax/Transactions.js +13 -0
  393. package/cjs/resources/Tax/Transactions.js.map +1 -1
  394. package/cjs/resources/Tax/index.d.ts +31 -13
  395. package/cjs/resources/Tax/index.js +4 -0
  396. package/cjs/resources/Tax/index.js.map +1 -1
  397. package/cjs/resources/TaxCodes.d.ts +16 -1
  398. package/cjs/resources/TaxFunds.d.ts +174 -0
  399. package/cjs/resources/TaxFunds.js +23 -0
  400. package/cjs/resources/TaxFunds.js.map +1 -0
  401. package/cjs/resources/TaxIds.d.ts +9 -3
  402. package/cjs/resources/TaxIds.js +13 -0
  403. package/cjs/resources/TaxIds.js.map +1 -1
  404. package/cjs/resources/TaxRates.d.ts +13 -1
  405. package/cjs/resources/TaxRates.js +27 -0
  406. package/cjs/resources/TaxRates.js.map +1 -1
  407. package/cjs/resources/Terminal/Configurations.d.ts +27 -0
  408. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
  409. package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
  410. package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
  411. package/cjs/resources/Terminal/Readers.d.ts +211 -6
  412. package/cjs/resources/Terminal/Readers.js +24 -0
  413. package/cjs/resources/Terminal/Readers.js.map +1 -1
  414. package/cjs/resources/Terminal/index.d.ts +9 -0
  415. package/cjs/resources/Terminal/index.js +2 -0
  416. package/cjs/resources/Terminal/index.js.map +1 -1
  417. package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +82 -0
  418. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
  419. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  420. package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
  421. package/cjs/resources/TestHelpers/Capital/index.js +13 -0
  422. package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
  423. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +104 -5
  424. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +115 -13
  425. package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
  426. package/cjs/resources/TestHelpers/Issuing/Disputes.js +39 -0
  427. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
  428. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +121 -11
  429. package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
  430. package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
  431. package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
  432. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +38 -0
  433. package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
  434. package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
  435. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
  436. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
  437. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  438. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  439. package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
  440. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  441. package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +15 -1
  442. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  443. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  444. package/cjs/resources/TestHelpers/index.d.ts +14 -6
  445. package/cjs/resources/TestHelpers/index.js +12 -6
  446. package/cjs/resources/TestHelpers/index.js.map +1 -1
  447. package/cjs/resources/Tokens.d.ts +84 -2
  448. package/cjs/resources/Topups.d.ts +4 -4
  449. package/cjs/resources/Topups.js.map +1 -1
  450. package/cjs/resources/Transfers.d.ts +14 -2
  451. package/cjs/resources/Transfers.js.map +1 -1
  452. package/cjs/resources/TransitBalances.d.ts +25 -0
  453. package/cjs/resources/TransitBalances.js +4 -0
  454. package/cjs/resources/TransitBalances.js.map +1 -0
  455. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  456. package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
  457. package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
  458. package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
  459. package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
  460. package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
  461. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
  462. package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
  463. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  464. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  465. package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
  466. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  467. package/cjs/resources/V2/Billing/BillSettings.d.ts +281 -0
  468. package/cjs/resources/V2/Billing/BillSettings.js +41 -0
  469. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
  470. package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +84 -0
  471. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
  472. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  473. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  474. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
  475. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  476. package/cjs/resources/V2/Billing/Cadences.d.ts +1011 -0
  477. package/cjs/resources/V2/Billing/Cadences.js +264 -0
  478. package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
  479. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +237 -0
  480. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
  481. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  482. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  483. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
  484. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  485. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +776 -0
  486. package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
  487. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
  488. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +47 -0
  489. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +4 -0
  490. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
  491. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
  492. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +29 -0
  493. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
  494. package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
  495. package/cjs/resources/V2/Billing/Contracts/PricingLines.js +15 -0
  496. package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
  497. package/cjs/resources/V2/Billing/Contracts.d.ts +1512 -0
  498. package/cjs/resources/V2/Billing/Contracts.js +331 -0
  499. package/cjs/resources/V2/Billing/Contracts.js.map +1 -0
  500. package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  501. package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
  502. package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  503. package/cjs/resources/V2/Billing/IntentActions.d.ts +603 -0
  504. package/cjs/resources/V2/Billing/IntentActions.js +4 -0
  505. package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
  506. package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  507. package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
  508. package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
  509. package/cjs/resources/V2/Billing/Intents.d.ts +1261 -0
  510. package/cjs/resources/V2/Billing/Intents.js +87 -0
  511. package/cjs/resources/V2/Billing/Intents.js.map +1 -0
  512. package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
  513. package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
  514. package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  515. package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  516. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
  517. package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  518. package/cjs/resources/V2/Billing/LicenseFees.d.ts +360 -0
  519. package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
  520. package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
  521. package/cjs/resources/V2/Billing/LicensedItems.d.ts +170 -0
  522. package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
  523. package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
  524. package/cjs/resources/V2/Billing/MeteredItems.d.ts +218 -0
  525. package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
  526. package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
  527. package/cjs/resources/V2/Billing/OneTimeItems.d.ts +170 -0
  528. package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
  529. package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
  530. package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
  531. package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
  532. package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  533. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +620 -0
  534. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
  535. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  536. package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  537. package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
  538. package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  539. package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  540. package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
  541. package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  542. package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  543. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
  544. package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  545. package/cjs/resources/V2/Billing/PricingPlans.d.ts +169 -0
  546. package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
  547. package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
  548. package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
  549. package/cjs/resources/V2/Billing/Profiles.js +35 -0
  550. package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
  551. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  552. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
  553. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  554. package/cjs/resources/V2/Billing/RateCardRates.d.ts +111 -0
  555. package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
  556. package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
  557. package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +215 -0
  558. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
  559. package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  560. package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  561. package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
  562. package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
  563. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  564. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
  565. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  566. package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  567. package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
  568. package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  569. package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  570. package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
  571. package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  572. package/cjs/resources/V2/Billing/RateCards.d.ts +336 -0
  573. package/cjs/resources/V2/Billing/RateCards.js +76 -0
  574. package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
  575. package/cjs/resources/V2/Billing/ServiceActions.d.ts +510 -0
  576. package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
  577. package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
  578. package/cjs/resources/V2/Billing/index.d.ts +175 -6
  579. package/cjs/resources/V2/Billing/index.js +32 -0
  580. package/cjs/resources/V2/Billing/index.js.map +1 -1
  581. package/cjs/resources/V2/Core/AccountEvaluations.d.ts +159 -0
  582. package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
  583. package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
  584. package/cjs/resources/V2/Core/AccountLinks.d.ts +158 -6
  585. package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
  586. package/cjs/resources/V2/Core/AccountTokens.d.ts +220 -2
  587. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  588. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  589. package/cjs/resources/V2/Core/Accounts.d.ts +16131 -1984
  590. package/cjs/resources/V2/Core/Accounts.js +10379 -53
  591. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  592. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +331 -0
  593. package/cjs/resources/V2/Core/ApprovalRequests.js +46 -0
  594. package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
  595. package/cjs/resources/V2/Core/BatchJobs.d.ts +360 -0
  596. package/cjs/resources/V2/Core/BatchJobs.js +225 -0
  597. package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
  598. package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
  599. package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
  600. package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  601. package/cjs/resources/V2/Core/ConnectionSessions.d.ts +86 -0
  602. package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
  603. package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
  604. package/cjs/resources/V2/Core/Events.d.ts +8083 -223
  605. package/cjs/resources/V2/Core/FeeBatches.d.ts +234 -0
  606. package/cjs/resources/V2/Core/FeeBatches.js +23 -0
  607. package/cjs/resources/V2/Core/FeeBatches.js.map +1 -0
  608. package/cjs/resources/V2/Core/FeeEntries.d.ts +200 -0
  609. package/cjs/resources/V2/Core/FeeEntries.js +23 -0
  610. package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
  611. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +423 -0
  612. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +4 -0
  613. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
  614. package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
  615. package/cjs/resources/V2/Core/Health/Alerts/History.js +101 -0
  616. package/cjs/resources/V2/Core/Health/Alerts/History.js.map +1 -0
  617. package/cjs/resources/V2/Core/Health/Alerts.d.ts +537 -0
  618. package/cjs/resources/V2/Core/Health/Alerts.js +182 -0
  619. package/cjs/resources/V2/Core/Health/Alerts.js.map +1 -0
  620. package/cjs/resources/V2/Core/Health/index.d.ts +16 -0
  621. package/cjs/resources/V2/Core/Health/index.js +13 -0
  622. package/cjs/resources/V2/Core/Health/index.js.map +1 -0
  623. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +280 -0
  624. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
  625. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  626. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +252 -0
  627. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +65 -0
  628. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  629. package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
  630. package/cjs/resources/V2/Core/Vault/index.js +15 -0
  631. package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
  632. package/cjs/resources/V2/Core/index.d.ts +66 -14
  633. package/cjs/resources/V2/Core/index.js +18 -0
  634. package/cjs/resources/V2/Core/index.js.map +1 -1
  635. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -0
  636. package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
  637. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  638. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
  639. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
  640. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  641. package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
  642. package/cjs/resources/V2/Data/Analytics/index.js +13 -0
  643. package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
  644. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +172 -0
  645. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
  646. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  647. package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
  648. package/cjs/resources/V2/Data/Reporting/index.js +13 -0
  649. package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
  650. package/cjs/resources/V2/Data/index.d.ts +13 -0
  651. package/cjs/resources/V2/Data/index.js +15 -0
  652. package/cjs/resources/V2/Data/index.js.map +1 -0
  653. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
  654. package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
  655. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  656. package/cjs/resources/V2/Extend/Workflows.d.ts +120 -0
  657. package/cjs/resources/V2/Extend/Workflows.js +30 -0
  658. package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
  659. package/cjs/resources/V2/Extend/index.d.ts +20 -0
  660. package/cjs/resources/V2/Extend/index.js +15 -0
  661. package/cjs/resources/V2/Extend/index.js.map +1 -0
  662. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  663. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
  664. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  665. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  666. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
  667. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  668. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +218 -0
  669. package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
  670. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
  671. package/cjs/resources/V2/Iam/ApiKeys.d.ts +305 -0
  672. package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
  673. package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
  674. package/cjs/resources/V2/Iam/index.d.ts +23 -0
  675. package/cjs/resources/V2/Iam/index.js +15 -0
  676. package/cjs/resources/V2/Iam/index.js.map +1 -0
  677. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +135 -0
  678. package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
  679. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  680. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
  681. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
  682. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  683. package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +169 -0
  684. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
  685. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
  686. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
  687. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +4 -0
  688. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
  689. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
  690. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
  691. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
  692. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +438 -0
  693. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +50 -0
  694. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  695. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
  696. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +4 -0
  697. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
  698. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -0
  699. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
  700. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  701. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +251 -0
  702. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
  703. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  704. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +329 -0
  705. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
  706. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  707. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +638 -0
  708. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
  709. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  710. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +318 -0
  711. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
  712. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  713. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +394 -0
  714. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
  715. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  716. package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +648 -0
  717. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +57 -0
  718. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
  719. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +277 -0
  720. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
  721. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  722. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
  723. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
  724. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  725. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +481 -0
  726. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
  727. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  728. package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +166 -0
  729. package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js +29 -0
  730. package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
  731. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +308 -0
  732. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
  733. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  734. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +116 -0
  735. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
  736. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  737. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +34 -0
  738. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +15 -0
  739. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -0
  740. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +8 -0
  741. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +13 -0
  742. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +1 -0
  743. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +266 -0
  744. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
  745. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  746. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +321 -0
  747. package/cjs/resources/V2/MoneyManagement/Transactions.js +29 -0
  748. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  749. package/cjs/resources/V2/MoneyManagement/index.d.ts +153 -0
  750. package/cjs/resources/V2/MoneyManagement/index.js +51 -0
  751. package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
  752. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
  753. package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
  754. package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
  755. package/cjs/resources/V2/Network/index.d.ts +13 -0
  756. package/cjs/resources/V2/Network/index.js +13 -0
  757. package/cjs/resources/V2/Network/index.js.map +1 -0
  758. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
  759. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
  760. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  761. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  762. package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
  763. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  764. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +835 -0
  765. package/cjs/resources/V2/Payments/OffSessionPayments.js +53 -0
  766. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  767. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
  768. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
  769. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  770. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  771. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
  772. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  773. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +209 -0
  774. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
  775. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  776. package/cjs/resources/V2/Payments/index.d.ts +31 -0
  777. package/cjs/resources/V2/Payments/index.js +15 -0
  778. package/cjs/resources/V2/Payments/index.js.map +1 -0
  779. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +191 -0
  780. package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
  781. package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
  782. package/cjs/resources/V2/Reporting/Reports.d.ts +106 -0
  783. package/cjs/resources/V2/Reporting/Reports.js +17 -0
  784. package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
  785. package/cjs/resources/V2/Reporting/index.d.ts +18 -0
  786. package/cjs/resources/V2/Reporting/index.js +15 -0
  787. package/cjs/resources/V2/Reporting/index.js.map +1 -0
  788. package/cjs/resources/V2/Risk/Inquiries.d.ts +143 -0
  789. package/cjs/resources/V2/Risk/Inquiries.js +29 -0
  790. package/cjs/resources/V2/Risk/Inquiries.js.map +1 -0
  791. package/cjs/resources/V2/Risk/index.d.ts +14 -0
  792. package/cjs/resources/V2/Risk/index.js +13 -0
  793. package/cjs/resources/V2/Risk/index.js.map +1 -0
  794. package/cjs/resources/V2/Signals/AccountActivity.d.ts +424 -0
  795. package/cjs/resources/V2/Signals/AccountActivity.js +27 -0
  796. package/cjs/resources/V2/Signals/AccountActivity.js.map +1 -0
  797. package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +396 -0
  798. package/cjs/resources/V2/Signals/AccountEvaluations.js +59 -0
  799. package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
  800. package/cjs/resources/V2/Signals/AccountSignals.d.ts +281 -0
  801. package/cjs/resources/V2/Signals/AccountSignals.js +110 -0
  802. package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
  803. package/cjs/resources/V2/Signals/index.d.ts +26 -0
  804. package/cjs/resources/V2/Signals/index.js +17 -0
  805. package/cjs/resources/V2/Signals/index.js.map +1 -0
  806. package/cjs/resources/V2/Tax/ManualRules.d.ts +331 -0
  807. package/cjs/resources/V2/Tax/ManualRules.js +193 -0
  808. package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
  809. package/cjs/resources/V2/Tax/Operations.d.ts +43 -0
  810. package/cjs/resources/V2/Tax/Operations.js +15 -0
  811. package/cjs/resources/V2/Tax/Operations.js.map +1 -0
  812. package/cjs/resources/V2/Tax/OperationsResolveAddressResults.d.ts +68 -0
  813. package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js +4 -0
  814. package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js.map +1 -0
  815. package/cjs/resources/V2/Tax/index.d.ts +21 -0
  816. package/cjs/resources/V2/Tax/index.js +15 -0
  817. package/cjs/resources/V2/Tax/index.js.map +1 -0
  818. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +45 -0
  819. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
  820. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  821. package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  822. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
  823. package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  824. package/cjs/resources/V2/TestHelpers/index.d.ts +10 -0
  825. package/cjs/resources/V2/TestHelpers/index.js +15 -0
  826. package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
  827. package/cjs/resources/V2/index.d.ts +42 -0
  828. package/cjs/resources/V2/index.js +24 -0
  829. package/cjs/resources/V2/index.js.map +1 -1
  830. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  831. package/cjs/resources.d.ts +20 -0
  832. package/cjs/resources.js +296 -18
  833. package/cjs/resources.js.map +1 -1
  834. package/cjs/stripe.cjs.node.d.ts +17320 -2862
  835. package/cjs/stripe.cjs.node.js.map +1 -1
  836. package/cjs/stripe.core.d.ts +163 -54
  837. package/cjs/stripe.core.js +74 -31
  838. package/cjs/stripe.core.js.map +1 -1
  839. package/esm/Error.d.ts +61 -0
  840. package/esm/Error.js +125 -0
  841. package/esm/Error.js.map +1 -1
  842. package/esm/RequestSender.d.ts +1 -1
  843. package/esm/RequestSender.js +14 -5
  844. package/esm/RequestSender.js.map +1 -1
  845. package/esm/StripeEventNotificationHandler.d.ts +19 -0
  846. package/esm/StripeEventNotificationHandler.js +501 -0
  847. package/esm/StripeEventNotificationHandler.js.map +1 -0
  848. package/esm/Types.d.ts +9 -2
  849. package/esm/Types.js.map +1 -1
  850. package/esm/apiVersion.d.ts +2 -2
  851. package/esm/apiVersion.js +2 -2
  852. package/esm/apiVersion.js.map +1 -1
  853. package/esm/resources/AccountLinks.d.ts +8 -4
  854. package/esm/resources/AccountNotices.d.ts +140 -0
  855. package/esm/resources/AccountNotices.js +25 -0
  856. package/esm/resources/AccountNotices.js.map +1 -0
  857. package/esm/resources/AccountSessions.d.ts +564 -0
  858. package/esm/resources/AccountSessions.js.map +1 -1
  859. package/esm/resources/AccountSignals.d.ts +111 -0
  860. package/esm/resources/AccountSignals.js +3 -0
  861. package/esm/resources/AccountSignals.js.map +1 -0
  862. package/esm/resources/Accounts.d.ts +1143 -85
  863. package/esm/resources/Accounts.js +47 -0
  864. package/esm/resources/Accounts.js.map +1 -1
  865. package/esm/resources/ApplicationFees.d.ts +28 -1
  866. package/esm/resources/Balance.d.ts +134 -0
  867. package/esm/resources/BalanceSettings.d.ts +18 -0
  868. package/esm/resources/BalanceTransactions.d.ts +2 -2
  869. package/esm/resources/BalanceTransfers.d.ts +160 -0
  870. package/esm/resources/BalanceTransfers.js +11 -0
  871. package/esm/resources/BalanceTransfers.js.map +1 -0
  872. package/esm/resources/BankAccounts.d.ts +4 -4
  873. package/esm/resources/Billing/AlertNotifications.d.ts +75 -0
  874. package/esm/resources/Billing/AlertNotifications.js +3 -0
  875. package/esm/resources/Billing/AlertNotifications.js.map +1 -0
  876. package/esm/resources/Billing/AlertRecovereds.d.ts +56 -0
  877. package/esm/resources/Billing/AlertRecovereds.js +3 -0
  878. package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
  879. package/esm/resources/Billing/AlertTriggereds.d.ts +55 -1
  880. package/esm/resources/Billing/Alerts.d.ts +448 -5
  881. package/esm/resources/Billing/Alerts.js +329 -5
  882. package/esm/resources/Billing/Alerts.js.map +1 -1
  883. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +89 -0
  884. package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
  885. package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  886. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  887. package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
  888. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  889. package/esm/resources/Billing/Analytics/index.d.ts +15 -0
  890. package/esm/resources/Billing/Analytics/index.js +9 -0
  891. package/esm/resources/Billing/Analytics/index.js.map +1 -0
  892. package/esm/resources/Billing/CreditBalanceSummary.d.ts +136 -3
  893. package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
  894. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  895. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  896. package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
  897. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  898. package/esm/resources/Billing/CreditGrants.d.ts +105 -3
  899. package/esm/resources/Billing/CreditGrants.js +134 -5
  900. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  901. package/esm/resources/Billing/FeedbackOptions.d.ts +32 -0
  902. package/esm/resources/Billing/FeedbackOptions.js +3 -0
  903. package/esm/resources/Billing/FeedbackOptions.js.map +1 -0
  904. package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
  905. package/esm/resources/Billing/Meters.d.ts +31 -0
  906. package/esm/resources/Billing/index.d.ts +13 -0
  907. package/esm/resources/Billing/index.js +2 -0
  908. package/esm/resources/Billing/index.js.map +1 -1
  909. package/esm/resources/BillingPortal/Configurations.d.ts +14 -9
  910. package/esm/resources/BillingPortal/Configurations.js.map +1 -1
  911. package/esm/resources/BillingPortal/Sessions.d.ts +17 -1
  912. package/esm/resources/Capabilities.d.ts +25 -2
  913. package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
  914. package/esm/resources/Capital/FinancingOffers.js +26 -0
  915. package/esm/resources/Capital/FinancingOffers.js.map +1 -0
  916. package/esm/resources/Capital/FinancingSummary.d.ts +102 -0
  917. package/esm/resources/Capital/FinancingSummary.js +11 -0
  918. package/esm/resources/Capital/FinancingSummary.js.map +1 -0
  919. package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
  920. package/esm/resources/Capital/FinancingTransactions.js +20 -0
  921. package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
  922. package/esm/resources/Capital/index.d.ts +25 -0
  923. package/esm/resources/Capital/index.js +13 -0
  924. package/esm/resources/Capital/index.js.map +1 -0
  925. package/esm/resources/Cards.d.ts +29 -1
  926. package/esm/resources/CashBalances.d.ts +2 -1
  927. package/esm/resources/Charges.d.ts +3382 -85
  928. package/esm/resources/Charges.js.map +1 -1
  929. package/esm/resources/Checkout/Sessions.d.ts +1224 -43
  930. package/esm/resources/Checkout/Sessions.js +115 -0
  931. package/esm/resources/Checkout/Sessions.js.map +1 -1
  932. package/esm/resources/Checkout/index.d.ts +1 -0
  933. package/esm/resources/Climate/Orders.d.ts +1 -1
  934. package/esm/resources/Climate/Products.d.ts +1 -1
  935. package/esm/resources/ConfirmationTokens.d.ts +153 -8
  936. package/esm/resources/ConfirmationTokens.js.map +1 -1
  937. package/esm/resources/Coupons.d.ts +128 -2
  938. package/esm/resources/Coupons.js +41 -0
  939. package/esm/resources/Coupons.js.map +1 -1
  940. package/esm/resources/CreditNoteLineItems.d.ts +17 -3
  941. package/esm/resources/CreditNotes.d.ts +12 -6
  942. package/esm/resources/CreditNotes.js +13 -0
  943. package/esm/resources/CreditNotes.js.map +1 -1
  944. package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
  945. package/esm/resources/Crypto/CustomerConsumerWallets.js +3 -0
  946. package/esm/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
  947. package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
  948. package/esm/resources/Crypto/CustomerPaymentTokens.js +3 -0
  949. package/esm/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
  950. package/esm/resources/Crypto/Customers.d.ts +111 -0
  951. package/esm/resources/Crypto/Customers.js +27 -0
  952. package/esm/resources/Crypto/Customers.js.map +1 -0
  953. package/esm/resources/Crypto/DepositAddresses.d.ts +128 -0
  954. package/esm/resources/Crypto/DepositAddresses.js +27 -0
  955. package/esm/resources/Crypto/DepositAddresses.js.map +1 -0
  956. package/esm/resources/Crypto/OnrampSessions.d.ts +425 -0
  957. package/esm/resources/Crypto/OnrampSessions.js +43 -0
  958. package/esm/resources/Crypto/OnrampSessions.js.map +1 -0
  959. package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
  960. package/esm/resources/Crypto/OnrampTransactionLimits.js +11 -0
  961. package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
  962. package/esm/resources/Crypto/index.d.ts +41 -0
  963. package/esm/resources/Crypto/index.js +15 -0
  964. package/esm/resources/Crypto/index.js.map +1 -0
  965. package/esm/resources/CustomerSessions.d.ts +94 -0
  966. package/esm/resources/CustomerSessions.js +13 -0
  967. package/esm/resources/CustomerSessions.js.map +1 -1
  968. package/esm/resources/Customers.d.ts +126 -12
  969. package/esm/resources/Customers.js +195 -0
  970. package/esm/resources/Customers.js.map +1 -1
  971. package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
  972. package/esm/resources/DelegatedCheckout/OrderEvents.js +3 -0
  973. package/esm/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
  974. package/esm/resources/DelegatedCheckout/Orders.d.ts +159 -0
  975. package/esm/resources/DelegatedCheckout/Orders.js +11 -0
  976. package/esm/resources/DelegatedCheckout/Orders.js.map +1 -0
  977. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1424 -0
  978. package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
  979. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  980. package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
  981. package/esm/resources/DelegatedCheckout/index.js +11 -0
  982. package/esm/resources/DelegatedCheckout/index.js.map +1 -0
  983. package/esm/resources/Discounts.d.ts +19 -0
  984. package/esm/resources/Disputes.d.ts +43 -0
  985. package/esm/resources/Disputes.js +14 -0
  986. package/esm/resources/Disputes.js.map +1 -1
  987. package/esm/resources/Events.d.ts +640 -3
  988. package/esm/resources/ExternalAccounts.d.ts +212 -1
  989. package/esm/resources/ExternalAccounts.js +42 -1
  990. package/esm/resources/ExternalAccounts.js.map +1 -1
  991. package/esm/resources/Files.d.ts +1 -1
  992. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  993. package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
  994. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  995. package/esm/resources/FinancialConnections/Accounts.d.ts +105 -4
  996. package/esm/resources/FinancialConnections/Accounts.js +8 -0
  997. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  998. package/esm/resources/FinancialConnections/Authorizations.d.ts +46 -1
  999. package/esm/resources/FinancialConnections/Authorizations.js +9 -1
  1000. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
  1001. package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
  1002. package/esm/resources/FinancialConnections/Institutions.js +19 -0
  1003. package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
  1004. package/esm/resources/FinancialConnections/Sessions.d.ts +128 -9
  1005. package/esm/resources/FinancialConnections/Transactions.d.ts +76 -0
  1006. package/esm/resources/FinancialConnections/index.d.ts +21 -9
  1007. package/esm/resources/FinancialConnections/index.js +4 -0
  1008. package/esm/resources/FinancialConnections/index.js.map +1 -1
  1009. package/esm/resources/FxQuotes.d.ts +212 -0
  1010. package/esm/resources/FxQuotes.js +25 -0
  1011. package/esm/resources/FxQuotes.js.map +1 -0
  1012. package/esm/resources/GiftCardOperations.d.ts +249 -0
  1013. package/esm/resources/GiftCardOperations.js +11 -0
  1014. package/esm/resources/GiftCardOperations.js.map +1 -0
  1015. package/esm/resources/GiftCards.d.ts +181 -0
  1016. package/esm/resources/GiftCards.js +47 -0
  1017. package/esm/resources/GiftCards.js.map +1 -0
  1018. package/esm/resources/Identity/BlocklistEntries.d.ts +155 -0
  1019. package/esm/resources/Identity/BlocklistEntries.js +50 -0
  1020. package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
  1021. package/esm/resources/Identity/VerificationReports.d.ts +33 -2
  1022. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  1023. package/esm/resources/Identity/VerificationSessions.d.ts +11 -3
  1024. package/esm/resources/Identity/index.d.ts +18 -10
  1025. package/esm/resources/Identity/index.js +2 -0
  1026. package/esm/resources/Identity/index.js.map +1 -1
  1027. package/esm/resources/InvoiceItems.d.ts +226 -8
  1028. package/esm/resources/InvoiceItems.js +41 -0
  1029. package/esm/resources/InvoiceItems.js.map +1 -1
  1030. package/esm/resources/InvoiceLineItems.d.ts +175 -5
  1031. package/esm/resources/InvoicePayments.d.ts +1 -1
  1032. package/esm/resources/InvoiceRenderingTemplates.d.ts +15 -3
  1033. package/esm/resources/InvoiceRenderingTemplates.js +28 -0
  1034. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  1035. package/esm/resources/Invoices.d.ts +2211 -61
  1036. package/esm/resources/Invoices.js +221 -0
  1037. package/esm/resources/Invoices.js.map +1 -1
  1038. package/esm/resources/Issuing/Authorizations.d.ts +730 -1
  1039. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  1040. package/esm/resources/Issuing/Cardholders.d.ts +40 -22
  1041. package/esm/resources/Issuing/Cards.d.ts +97 -15
  1042. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
  1043. package/esm/resources/Issuing/CreditUnderwritingRecords.js +49 -0
  1044. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  1045. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
  1046. package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
  1047. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  1048. package/esm/resources/Issuing/Disputes.d.ts +246 -0
  1049. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  1050. package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
  1051. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  1052. package/esm/resources/Issuing/Programs.d.ts +95 -0
  1053. package/esm/resources/Issuing/Programs.js +31 -0
  1054. package/esm/resources/Issuing/Programs.js.map +1 -0
  1055. package/esm/resources/Issuing/Settlements.d.ts +83 -0
  1056. package/esm/resources/Issuing/Settlements.js +3 -0
  1057. package/esm/resources/Issuing/Settlements.js.map +1 -0
  1058. package/esm/resources/Issuing/Tokens.d.ts +26 -0
  1059. package/esm/resources/Issuing/Transactions.d.ts +233 -0
  1060. package/esm/resources/Issuing/Transactions.js.map +1 -1
  1061. package/esm/resources/Issuing/index.d.ts +56 -22
  1062. package/esm/resources/Issuing/index.js +8 -0
  1063. package/esm/resources/Issuing/index.js.map +1 -1
  1064. package/esm/resources/LineItems.d.ts +29 -2
  1065. package/esm/resources/Mandates.d.ts +49 -4
  1066. package/esm/resources/Mandates.js +8 -0
  1067. package/esm/resources/Mandates.js.map +1 -1
  1068. package/esm/resources/Margins.d.ts +115 -0
  1069. package/esm/resources/Margins.js +31 -0
  1070. package/esm/resources/Margins.js.map +1 -0
  1071. package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  1072. package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
  1073. package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
  1074. package/esm/resources/Orchestration/index.d.ts +12 -0
  1075. package/esm/resources/Orchestration/index.js +9 -0
  1076. package/esm/resources/Orchestration/index.js.map +1 -0
  1077. package/esm/resources/Orders.d.ts +4773 -0
  1078. package/esm/resources/Orders.js +453 -0
  1079. package/esm/resources/Orders.js.map +1 -0
  1080. package/esm/resources/PaymentAttemptRecords.d.ts +696 -19
  1081. package/esm/resources/PaymentAttemptRecords.js +48 -0
  1082. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  1083. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +52 -0
  1084. package/esm/resources/PaymentIntents.d.ts +17309 -3551
  1085. package/esm/resources/PaymentIntents.js +46 -0
  1086. package/esm/resources/PaymentIntents.js.map +1 -1
  1087. package/esm/resources/PaymentLinks.d.ts +84 -22
  1088. package/esm/resources/PaymentLocationCapabilities.d.ts +123 -0
  1089. package/esm/resources/PaymentLocationCapabilities.js +25 -0
  1090. package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
  1091. package/esm/resources/PaymentLocations.d.ts +178 -0
  1092. package/esm/resources/PaymentLocations.js +37 -0
  1093. package/esm/resources/PaymentLocations.js.map +1 -0
  1094. package/esm/resources/PaymentMethodBalances.d.ts +46 -0
  1095. package/esm/resources/PaymentMethodBalances.js +3 -0
  1096. package/esm/resources/PaymentMethodBalances.js.map +1 -0
  1097. package/esm/resources/PaymentMethodConfigurations.d.ts +420 -0
  1098. package/esm/resources/PaymentMethods.d.ts +311 -14
  1099. package/esm/resources/PaymentMethods.js +20 -0
  1100. package/esm/resources/PaymentMethods.js.map +1 -1
  1101. package/esm/resources/PaymentPlans.d.ts +427 -0
  1102. package/esm/resources/PaymentPlans.js +31 -0
  1103. package/esm/resources/PaymentPlans.js.map +1 -0
  1104. package/esm/resources/PaymentRecords.d.ts +754 -37
  1105. package/esm/resources/PaymentRecords.js +18 -0
  1106. package/esm/resources/PaymentRecords.js.map +1 -1
  1107. package/esm/resources/Payouts.d.ts +3 -3
  1108. package/esm/resources/Persons.d.ts +25 -2
  1109. package/esm/resources/Plans.d.ts +21 -5
  1110. package/esm/resources/Prices.d.ts +91 -15
  1111. package/esm/resources/Prices.js +27 -0
  1112. package/esm/resources/Prices.js.map +1 -1
  1113. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
  1114. package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
  1115. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  1116. package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
  1117. package/esm/resources/Privacy/RedactionJobs.js +69 -0
  1118. package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
  1119. package/esm/resources/Privacy/index.d.ts +22 -0
  1120. package/esm/resources/Privacy/index.js +9 -0
  1121. package/esm/resources/Privacy/index.js.map +1 -0
  1122. package/esm/resources/ProductCatalog/TrialOffers.d.ts +158 -0
  1123. package/esm/resources/ProductCatalog/TrialOffers.js +25 -0
  1124. package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
  1125. package/esm/resources/ProductCatalog/index.d.ts +14 -0
  1126. package/esm/resources/ProductCatalog/index.js +9 -0
  1127. package/esm/resources/ProductCatalog/index.js.map +1 -0
  1128. package/esm/resources/Products.d.ts +205 -7
  1129. package/esm/resources/Products.js +69 -0
  1130. package/esm/resources/Products.js.map +1 -1
  1131. package/esm/resources/Profiles.d.ts +68 -0
  1132. package/esm/resources/Profiles.js +3 -0
  1133. package/esm/resources/Profiles.js.map +1 -0
  1134. package/esm/resources/PromotionCodes.d.ts +12 -0
  1135. package/esm/resources/PromotionCodes.js +27 -0
  1136. package/esm/resources/PromotionCodes.js.map +1 -1
  1137. package/esm/resources/QuoteLines.d.ts +684 -0
  1138. package/esm/resources/QuoteLines.js +3 -0
  1139. package/esm/resources/QuoteLines.js.map +1 -0
  1140. package/esm/resources/QuotePreviewInvoices.d.ts +1210 -0
  1141. package/esm/resources/QuotePreviewInvoices.js +3 -0
  1142. package/esm/resources/QuotePreviewInvoices.js.map +1 -0
  1143. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +1087 -0
  1144. package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
  1145. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  1146. package/esm/resources/Quotes.d.ts +3558 -264
  1147. package/esm/resources/Quotes.js +1184 -16
  1148. package/esm/resources/Quotes.js.map +1 -1
  1149. package/esm/resources/Radar/AccountEvaluations.d.ts +309 -0
  1150. package/esm/resources/Radar/AccountEvaluations.js +23 -0
  1151. package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
  1152. package/esm/resources/Radar/CustomerEvaluations.d.ts +245 -0
  1153. package/esm/resources/Radar/CustomerEvaluations.js +23 -0
  1154. package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
  1155. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
  1156. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
  1157. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  1158. package/esm/resources/Radar/PaymentEvaluations.d.ts +116 -2
  1159. package/esm/resources/Radar/ValueListItems.d.ts +39 -1
  1160. package/esm/resources/Radar/ValueListItems.js +13 -0
  1161. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  1162. package/esm/resources/Radar/ValueLists.d.ts +2 -2
  1163. package/esm/resources/Radar/index.d.ts +36 -16
  1164. package/esm/resources/Radar/index.js +6 -0
  1165. package/esm/resources/Radar/index.js.map +1 -1
  1166. package/esm/resources/Refunds.d.ts +41 -2
  1167. package/esm/resources/Refunds.js +27 -0
  1168. package/esm/resources/Refunds.js.map +1 -1
  1169. package/esm/resources/Reporting/ReportRuns.d.ts +3 -3
  1170. package/esm/resources/Reserve/Holds.d.ts +53 -1
  1171. package/esm/resources/Reserve/Holds.js +17 -1
  1172. package/esm/resources/Reserve/Holds.js.map +1 -1
  1173. package/esm/resources/Reserve/Plans.d.ts +16 -0
  1174. package/esm/resources/Reserve/Plans.js +9 -1
  1175. package/esm/resources/Reserve/Plans.js.map +1 -1
  1176. package/esm/resources/Reserve/Releases.d.ts +41 -1
  1177. package/esm/resources/Reserve/Releases.js +17 -1
  1178. package/esm/resources/Reserve/Releases.js.map +1 -1
  1179. package/esm/resources/Reserve/index.d.ts +17 -6
  1180. package/esm/resources/Reserve/index.js +9 -0
  1181. package/esm/resources/Reserve/index.js.map +1 -1
  1182. package/esm/resources/Reviews.d.ts +2 -2
  1183. package/esm/resources/RiskSignals.d.ts +10 -0
  1184. package/esm/resources/RiskSignals.js +3 -0
  1185. package/esm/resources/RiskSignals.js.map +1 -0
  1186. package/esm/resources/SetupAttempts.d.ts +42 -8
  1187. package/esm/resources/SetupAttempts.js.map +1 -1
  1188. package/esm/resources/SetupIntents.d.ts +667 -51
  1189. package/esm/resources/SetupIntents.js.map +1 -1
  1190. package/esm/resources/SharedPayment/GrantedTokens.d.ts +425 -0
  1191. package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
  1192. package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
  1193. package/esm/resources/SharedPayment/IssuedTokens.d.ts +344 -0
  1194. package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
  1195. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
  1196. package/esm/resources/SharedPayment/index.d.ts +19 -0
  1197. package/esm/resources/SharedPayment/index.js +11 -0
  1198. package/esm/resources/SharedPayment/index.js.map +1 -0
  1199. package/esm/resources/ShippingRates.d.ts +6 -6
  1200. package/esm/resources/SourceTransactions.d.ts +2 -1
  1201. package/esm/resources/Sources.d.ts +43 -15
  1202. package/esm/resources/SubscriptionItems.d.ts +273 -8
  1203. package/esm/resources/SubscriptionItems.js +41 -0
  1204. package/esm/resources/SubscriptionItems.js.map +1 -1
  1205. package/esm/resources/SubscriptionSchedules.d.ts +2463 -90
  1206. package/esm/resources/SubscriptionSchedules.js +61 -0
  1207. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  1208. package/esm/resources/Subscriptions.d.ts +1011 -43
  1209. package/esm/resources/Subscriptions.js +290 -1
  1210. package/esm/resources/Subscriptions.js.map +1 -1
  1211. package/esm/resources/Tax/CalculationLineItems.d.ts +14 -3
  1212. package/esm/resources/Tax/Calculations.d.ts +49 -7
  1213. package/esm/resources/Tax/Forms.d.ts +228 -0
  1214. package/esm/resources/Tax/Forms.js +28 -0
  1215. package/esm/resources/Tax/Forms.js.map +1 -0
  1216. package/esm/resources/Tax/Locations.d.ts +112 -0
  1217. package/esm/resources/Tax/Locations.js +29 -0
  1218. package/esm/resources/Tax/Locations.js.map +1 -0
  1219. package/esm/resources/Tax/Registrations.d.ts +441 -2
  1220. package/esm/resources/Tax/Registrations.js +27 -0
  1221. package/esm/resources/Tax/Registrations.js.map +1 -1
  1222. package/esm/resources/Tax/Settings.d.ts +10 -2
  1223. package/esm/resources/Tax/Settings.js +13 -0
  1224. package/esm/resources/Tax/Settings.js.map +1 -1
  1225. package/esm/resources/Tax/Transactions.d.ts +11 -3
  1226. package/esm/resources/Tax/Transactions.js +13 -0
  1227. package/esm/resources/Tax/Transactions.js.map +1 -1
  1228. package/esm/resources/Tax/index.d.ts +31 -13
  1229. package/esm/resources/Tax/index.js +4 -0
  1230. package/esm/resources/Tax/index.js.map +1 -1
  1231. package/esm/resources/TaxCodes.d.ts +16 -1
  1232. package/esm/resources/TaxFunds.d.ts +174 -0
  1233. package/esm/resources/TaxFunds.js +19 -0
  1234. package/esm/resources/TaxFunds.js.map +1 -0
  1235. package/esm/resources/TaxIds.d.ts +9 -3
  1236. package/esm/resources/TaxIds.js +13 -0
  1237. package/esm/resources/TaxIds.js.map +1 -1
  1238. package/esm/resources/TaxRates.d.ts +13 -1
  1239. package/esm/resources/TaxRates.js +27 -0
  1240. package/esm/resources/TaxRates.js.map +1 -1
  1241. package/esm/resources/Terminal/Configurations.d.ts +27 -0
  1242. package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
  1243. package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
  1244. package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
  1245. package/esm/resources/Terminal/Readers.d.ts +211 -6
  1246. package/esm/resources/Terminal/Readers.js +24 -0
  1247. package/esm/resources/Terminal/Readers.js.map +1 -1
  1248. package/esm/resources/Terminal/index.d.ts +9 -0
  1249. package/esm/resources/Terminal/index.js +2 -0
  1250. package/esm/resources/Terminal/index.js.map +1 -1
  1251. package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +82 -0
  1252. package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
  1253. package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  1254. package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
  1255. package/esm/resources/TestHelpers/Capital/index.js +9 -0
  1256. package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
  1257. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +104 -5
  1258. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +115 -13
  1259. package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
  1260. package/esm/resources/TestHelpers/Issuing/Disputes.js +35 -0
  1261. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
  1262. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +121 -11
  1263. package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
  1264. package/esm/resources/TestHelpers/Issuing/index.js +2 -0
  1265. package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
  1266. package/esm/resources/TestHelpers/PaymentIntents.d.ts +38 -0
  1267. package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
  1268. package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
  1269. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
  1270. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
  1271. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  1272. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  1273. package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
  1274. package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  1275. package/esm/resources/TestHelpers/Terminal/Readers.d.ts +15 -1
  1276. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  1277. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  1278. package/esm/resources/TestHelpers/index.d.ts +14 -6
  1279. package/esm/resources/TestHelpers/index.js +6 -0
  1280. package/esm/resources/TestHelpers/index.js.map +1 -1
  1281. package/esm/resources/Tokens.d.ts +84 -2
  1282. package/esm/resources/Topups.d.ts +4 -4
  1283. package/esm/resources/Topups.js.map +1 -1
  1284. package/esm/resources/Transfers.d.ts +14 -2
  1285. package/esm/resources/Transfers.js.map +1 -1
  1286. package/esm/resources/TransitBalances.d.ts +25 -0
  1287. package/esm/resources/TransitBalances.js +3 -0
  1288. package/esm/resources/TransitBalances.js.map +1 -0
  1289. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  1290. package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
  1291. package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
  1292. package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
  1293. package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
  1294. package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
  1295. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
  1296. package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
  1297. package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  1298. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  1299. package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
  1300. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  1301. package/esm/resources/V2/Billing/BillSettings.d.ts +281 -0
  1302. package/esm/resources/V2/Billing/BillSettings.js +37 -0
  1303. package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
  1304. package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +84 -0
  1305. package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
  1306. package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  1307. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  1308. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
  1309. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  1310. package/esm/resources/V2/Billing/Cadences.d.ts +1011 -0
  1311. package/esm/resources/V2/Billing/Cadences.js +260 -0
  1312. package/esm/resources/V2/Billing/Cadences.js.map +1 -0
  1313. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +237 -0
  1314. package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
  1315. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  1316. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  1317. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
  1318. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  1319. package/esm/resources/V2/Billing/CollectionSettings.d.ts +776 -0
  1320. package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
  1321. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
  1322. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +47 -0
  1323. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +3 -0
  1324. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
  1325. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
  1326. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +25 -0
  1327. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
  1328. package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
  1329. package/esm/resources/V2/Billing/Contracts/PricingLines.js +11 -0
  1330. package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
  1331. package/esm/resources/V2/Billing/Contracts.d.ts +1512 -0
  1332. package/esm/resources/V2/Billing/Contracts.js +327 -0
  1333. package/esm/resources/V2/Billing/Contracts.js.map +1 -0
  1334. package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  1335. package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
  1336. package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  1337. package/esm/resources/V2/Billing/IntentActions.d.ts +603 -0
  1338. package/esm/resources/V2/Billing/IntentActions.js +3 -0
  1339. package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
  1340. package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  1341. package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
  1342. package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
  1343. package/esm/resources/V2/Billing/Intents.d.ts +1261 -0
  1344. package/esm/resources/V2/Billing/Intents.js +83 -0
  1345. package/esm/resources/V2/Billing/Intents.js.map +1 -0
  1346. package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
  1347. package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
  1348. package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  1349. package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  1350. package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
  1351. package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  1352. package/esm/resources/V2/Billing/LicenseFees.d.ts +360 -0
  1353. package/esm/resources/V2/Billing/LicenseFees.js +144 -0
  1354. package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
  1355. package/esm/resources/V2/Billing/LicensedItems.d.ts +170 -0
  1356. package/esm/resources/V2/Billing/LicensedItems.js +31 -0
  1357. package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
  1358. package/esm/resources/V2/Billing/MeteredItems.d.ts +218 -0
  1359. package/esm/resources/V2/Billing/MeteredItems.js +31 -0
  1360. package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
  1361. package/esm/resources/V2/Billing/OneTimeItems.d.ts +170 -0
  1362. package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
  1363. package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
  1364. package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
  1365. package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
  1366. package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  1367. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +620 -0
  1368. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
  1369. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  1370. package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  1371. package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
  1372. package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  1373. package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  1374. package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
  1375. package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  1376. package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  1377. package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
  1378. package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  1379. package/esm/resources/V2/Billing/PricingPlans.d.ts +169 -0
  1380. package/esm/resources/V2/Billing/PricingPlans.js +39 -0
  1381. package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
  1382. package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
  1383. package/esm/resources/V2/Billing/Profiles.js +31 -0
  1384. package/esm/resources/V2/Billing/Profiles.js.map +1 -0
  1385. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  1386. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
  1387. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  1388. package/esm/resources/V2/Billing/RateCardRates.d.ts +111 -0
  1389. package/esm/resources/V2/Billing/RateCardRates.js +3 -0
  1390. package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
  1391. package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +215 -0
  1392. package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
  1393. package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  1394. package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  1395. package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
  1396. package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
  1397. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  1398. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
  1399. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  1400. package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  1401. package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
  1402. package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  1403. package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  1404. package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
  1405. package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  1406. package/esm/resources/V2/Billing/RateCards.d.ts +336 -0
  1407. package/esm/resources/V2/Billing/RateCards.js +72 -0
  1408. package/esm/resources/V2/Billing/RateCards.js.map +1 -0
  1409. package/esm/resources/V2/Billing/ServiceActions.d.ts +510 -0
  1410. package/esm/resources/V2/Billing/ServiceActions.js +158 -0
  1411. package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
  1412. package/esm/resources/V2/Billing/index.d.ts +175 -6
  1413. package/esm/resources/V2/Billing/index.js +32 -0
  1414. package/esm/resources/V2/Billing/index.js.map +1 -1
  1415. package/esm/resources/V2/Core/AccountEvaluations.d.ts +159 -0
  1416. package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
  1417. package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
  1418. package/esm/resources/V2/Core/AccountLinks.d.ts +158 -6
  1419. package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
  1420. package/esm/resources/V2/Core/AccountTokens.d.ts +220 -2
  1421. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  1422. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  1423. package/esm/resources/V2/Core/Accounts.d.ts +16131 -1984
  1424. package/esm/resources/V2/Core/Accounts.js +10379 -53
  1425. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  1426. package/esm/resources/V2/Core/ApprovalRequests.d.ts +331 -0
  1427. package/esm/resources/V2/Core/ApprovalRequests.js +42 -0
  1428. package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
  1429. package/esm/resources/V2/Core/BatchJobs.d.ts +360 -0
  1430. package/esm/resources/V2/Core/BatchJobs.js +221 -0
  1431. package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
  1432. package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
  1433. package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
  1434. package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  1435. package/esm/resources/V2/Core/ConnectionSessions.d.ts +86 -0
  1436. package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
  1437. package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
  1438. package/esm/resources/V2/Core/Events.d.ts +8083 -223
  1439. package/esm/resources/V2/Core/FeeBatches.d.ts +234 -0
  1440. package/esm/resources/V2/Core/FeeBatches.js +19 -0
  1441. package/esm/resources/V2/Core/FeeBatches.js.map +1 -0
  1442. package/esm/resources/V2/Core/FeeEntries.d.ts +200 -0
  1443. package/esm/resources/V2/Core/FeeEntries.js +19 -0
  1444. package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
  1445. package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +423 -0
  1446. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +3 -0
  1447. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
  1448. package/esm/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
  1449. package/esm/resources/V2/Core/Health/Alerts/History.js +97 -0
  1450. package/esm/resources/V2/Core/Health/Alerts/History.js.map +1 -0
  1451. package/esm/resources/V2/Core/Health/Alerts.d.ts +537 -0
  1452. package/esm/resources/V2/Core/Health/Alerts.js +178 -0
  1453. package/esm/resources/V2/Core/Health/Alerts.js.map +1 -0
  1454. package/esm/resources/V2/Core/Health/index.d.ts +16 -0
  1455. package/esm/resources/V2/Core/Health/index.js +9 -0
  1456. package/esm/resources/V2/Core/Health/index.js.map +1 -0
  1457. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +280 -0
  1458. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
  1459. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  1460. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +252 -0
  1461. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +61 -0
  1462. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  1463. package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
  1464. package/esm/resources/V2/Core/Vault/index.js +11 -0
  1465. package/esm/resources/V2/Core/Vault/index.js.map +1 -0
  1466. package/esm/resources/V2/Core/index.d.ts +66 -14
  1467. package/esm/resources/V2/Core/index.js +18 -0
  1468. package/esm/resources/V2/Core/index.js.map +1 -1
  1469. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -0
  1470. package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
  1471. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  1472. package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
  1473. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
  1474. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  1475. package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
  1476. package/esm/resources/V2/Data/Analytics/index.js +9 -0
  1477. package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
  1478. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +172 -0
  1479. package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
  1480. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  1481. package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
  1482. package/esm/resources/V2/Data/Reporting/index.js +9 -0
  1483. package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
  1484. package/esm/resources/V2/Data/index.d.ts +13 -0
  1485. package/esm/resources/V2/Data/index.js +11 -0
  1486. package/esm/resources/V2/Data/index.js.map +1 -0
  1487. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
  1488. package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
  1489. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  1490. package/esm/resources/V2/Extend/Workflows.d.ts +120 -0
  1491. package/esm/resources/V2/Extend/Workflows.js +26 -0
  1492. package/esm/resources/V2/Extend/Workflows.js.map +1 -0
  1493. package/esm/resources/V2/Extend/index.d.ts +20 -0
  1494. package/esm/resources/V2/Extend/index.js +11 -0
  1495. package/esm/resources/V2/Extend/index.js.map +1 -0
  1496. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  1497. package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
  1498. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  1499. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  1500. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
  1501. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  1502. package/esm/resources/V2/Iam/ActivityLogs.d.ts +218 -0
  1503. package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
  1504. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
  1505. package/esm/resources/V2/Iam/ApiKeys.d.ts +305 -0
  1506. package/esm/resources/V2/Iam/ApiKeys.js +43 -0
  1507. package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
  1508. package/esm/resources/V2/Iam/index.d.ts +23 -0
  1509. package/esm/resources/V2/Iam/index.js +11 -0
  1510. package/esm/resources/V2/Iam/index.js.map +1 -0
  1511. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +135 -0
  1512. package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
  1513. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  1514. package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
  1515. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
  1516. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  1517. package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +169 -0
  1518. package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
  1519. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
  1520. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
  1521. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +3 -0
  1522. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
  1523. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
  1524. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
  1525. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
  1526. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +438 -0
  1527. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +46 -0
  1528. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  1529. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
  1530. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +3 -0
  1531. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
  1532. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -0
  1533. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
  1534. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  1535. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +251 -0
  1536. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
  1537. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  1538. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +329 -0
  1539. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
  1540. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  1541. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +638 -0
  1542. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
  1543. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  1544. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +318 -0
  1545. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
  1546. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  1547. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +394 -0
  1548. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
  1549. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  1550. package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +648 -0
  1551. package/esm/resources/V2/MoneyManagement/PayoutIntents.js +53 -0
  1552. package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
  1553. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +277 -0
  1554. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
  1555. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  1556. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
  1557. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
  1558. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  1559. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +481 -0
  1560. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
  1561. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  1562. package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +166 -0
  1563. package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js +25 -0
  1564. package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
  1565. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +308 -0
  1566. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
  1567. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  1568. package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +116 -0
  1569. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
  1570. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  1571. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +34 -0
  1572. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +11 -0
  1573. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -0
  1574. package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +8 -0
  1575. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +9 -0
  1576. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +1 -0
  1577. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +266 -0
  1578. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
  1579. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  1580. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +321 -0
  1581. package/esm/resources/V2/MoneyManagement/Transactions.js +25 -0
  1582. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  1583. package/esm/resources/V2/MoneyManagement/index.d.ts +153 -0
  1584. package/esm/resources/V2/MoneyManagement/index.js +47 -0
  1585. package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
  1586. package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
  1587. package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
  1588. package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
  1589. package/esm/resources/V2/Network/index.d.ts +13 -0
  1590. package/esm/resources/V2/Network/index.js +9 -0
  1591. package/esm/resources/V2/Network/index.js.map +1 -0
  1592. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
  1593. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
  1594. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  1595. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  1596. package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
  1597. package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  1598. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +835 -0
  1599. package/esm/resources/V2/Payments/OffSessionPayments.js +49 -0
  1600. package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  1601. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
  1602. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
  1603. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  1604. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  1605. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
  1606. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  1607. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +209 -0
  1608. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
  1609. package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  1610. package/esm/resources/V2/Payments/index.d.ts +31 -0
  1611. package/esm/resources/V2/Payments/index.js +11 -0
  1612. package/esm/resources/V2/Payments/index.js.map +1 -0
  1613. package/esm/resources/V2/Reporting/ReportRuns.d.ts +191 -0
  1614. package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
  1615. package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
  1616. package/esm/resources/V2/Reporting/Reports.d.ts +106 -0
  1617. package/esm/resources/V2/Reporting/Reports.js +13 -0
  1618. package/esm/resources/V2/Reporting/Reports.js.map +1 -0
  1619. package/esm/resources/V2/Reporting/index.d.ts +18 -0
  1620. package/esm/resources/V2/Reporting/index.js +11 -0
  1621. package/esm/resources/V2/Reporting/index.js.map +1 -0
  1622. package/esm/resources/V2/Risk/Inquiries.d.ts +143 -0
  1623. package/esm/resources/V2/Risk/Inquiries.js +25 -0
  1624. package/esm/resources/V2/Risk/Inquiries.js.map +1 -0
  1625. package/esm/resources/V2/Risk/index.d.ts +14 -0
  1626. package/esm/resources/V2/Risk/index.js +9 -0
  1627. package/esm/resources/V2/Risk/index.js.map +1 -0
  1628. package/esm/resources/V2/Signals/AccountActivity.d.ts +424 -0
  1629. package/esm/resources/V2/Signals/AccountActivity.js +23 -0
  1630. package/esm/resources/V2/Signals/AccountActivity.js.map +1 -0
  1631. package/esm/resources/V2/Signals/AccountEvaluations.d.ts +396 -0
  1632. package/esm/resources/V2/Signals/AccountEvaluations.js +55 -0
  1633. package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
  1634. package/esm/resources/V2/Signals/AccountSignals.d.ts +281 -0
  1635. package/esm/resources/V2/Signals/AccountSignals.js +106 -0
  1636. package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
  1637. package/esm/resources/V2/Signals/index.d.ts +26 -0
  1638. package/esm/resources/V2/Signals/index.js +13 -0
  1639. package/esm/resources/V2/Signals/index.js.map +1 -0
  1640. package/esm/resources/V2/Tax/ManualRules.d.ts +331 -0
  1641. package/esm/resources/V2/Tax/ManualRules.js +189 -0
  1642. package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
  1643. package/esm/resources/V2/Tax/Operations.d.ts +43 -0
  1644. package/esm/resources/V2/Tax/Operations.js +11 -0
  1645. package/esm/resources/V2/Tax/Operations.js.map +1 -0
  1646. package/esm/resources/V2/Tax/OperationsResolveAddressResults.d.ts +68 -0
  1647. package/esm/resources/V2/Tax/OperationsResolveAddressResults.js +3 -0
  1648. package/esm/resources/V2/Tax/OperationsResolveAddressResults.js.map +1 -0
  1649. package/esm/resources/V2/Tax/index.d.ts +21 -0
  1650. package/esm/resources/V2/Tax/index.js +11 -0
  1651. package/esm/resources/V2/Tax/index.js.map +1 -0
  1652. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +45 -0
  1653. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
  1654. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  1655. package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  1656. package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
  1657. package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  1658. package/esm/resources/V2/TestHelpers/index.d.ts +10 -0
  1659. package/esm/resources/V2/TestHelpers/index.js +11 -0
  1660. package/esm/resources/V2/TestHelpers/index.js.map +1 -0
  1661. package/esm/resources/V2/index.d.ts +42 -0
  1662. package/esm/resources/V2/index.js +24 -0
  1663. package/esm/resources/V2/index.js.map +1 -1
  1664. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  1665. package/esm/resources.d.ts +20 -0
  1666. package/esm/resources.js +266 -0
  1667. package/esm/resources.js.map +1 -1
  1668. package/esm/stripe.core.d.ts +163 -54
  1669. package/esm/stripe.core.js +45 -2
  1670. package/esm/stripe.core.js.map +1 -1
  1671. package/esm/stripe.esm.node.d.ts +163 -54
  1672. package/esm/stripe.esm.node.js +45 -2
  1673. package/esm/stripe.esm.node.js.map +1 -1
  1674. package/package.json +1 -1
@@ -13,6 +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 * as Billing from './Billing/index.js';
16
17
  import { Emptyable, MetadataParam, OtherString, Decimal, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
17
18
  import { RequestOptions, Response, ApiListPromise, ApiList, ApiSearchResultPromise } from '../lib.js';
18
19
  export declare class SubscriptionResource extends StripeResource {
@@ -33,7 +34,7 @@ export declare class SubscriptionResource extends StripeResource {
33
34
  * When changing prices or quantities, we optionally prorate the price we charge next month to make up for any price changes.
34
35
  * To preview how the proration is calculated, use the [create preview](https://docs.stripe.com/docs/api/invoices/create_preview) endpoint.
35
36
  *
36
- * By default, we prorate subscription changes. For example, if a customer signs up on May 1 for a 100 price, they'll be billed 100 immediately. If on May 15 they switch to a 200 price, then on June 1 they'll be billed 250 (200 for a renewal of her subscription, plus a 50 prorating adjustment for half of the previous month's 100 difference). Similarly, a downgrade generates a credit that is applied to the next invoice. We also prorate when you make quantity changes.
37
+ * By default, we prorate subscription changes. For example, if a customer signs up on May 1 for a 100 price, they'll be billed 100 immediately. If on May 15 they switch to a 200 price, then on June 1 they'll be billed 250 (200 for a renewal of her subscription, plus a 50 prorating adjustment for half of the previous month's 100 difference). Similarly, a downgrade generates a credit that is applied to the next invoice. We also prorate when you make quantity changes. You can also [use scripts to prorate your billing. To learn more, see <a href="/billing/subscriptions/prorations">Prorations](https://docs.stripe.com/billing/scripts/stripe-authored/proration).
37
38
  *
38
39
  * Switching prices does not normally change the billing date or generate an immediate charge unless:
39
40
  *
@@ -77,14 +78,46 @@ export declare class SubscriptionResource extends StripeResource {
77
78
  * to an hour behind during outages. Search functionality is not available to merchants in India.
78
79
  */
79
80
  search(params: SubscriptionSearchParams, options?: RequestOptions): ApiSearchResultPromise<Subscription>;
81
+ /**
82
+ * Attach a Billing Cadence to an existing subscription. When attached, the subscription is billed by the Billing Cadence, potentially sharing invoices with the other subscriptions linked to the Billing Cadence.
83
+ */
84
+ attachCadence(id: string, params: SubscriptionAttachCadenceParams, options?: RequestOptions): Promise<Response<Subscription>>;
80
85
  /**
81
86
  * Upgrade the billing_mode of an existing subscription.
82
87
  */
83
88
  migrate(id: string, params: SubscriptionMigrateParams, options?: RequestOptions): Promise<Response<Subscription>>;
89
+ /**
90
+ * 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.
91
+ */
92
+ pause(id: string, params?: SubscriptionPauseParams, options?: RequestOptions): Promise<Response<Subscription>>;
84
93
  /**
85
94
  * 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).
86
95
  */
87
96
  resume(id: string, params?: SubscriptionResumeParams, options?: RequestOptions): Promise<Response<Subscription>>;
97
+ serializeBatchCancel(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
98
+ apiVersion?: string;
99
+ stripeContext?: string;
100
+ }): string;
101
+ serializeBatchUpdate(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
102
+ apiVersion?: string;
103
+ stripeContext?: string;
104
+ }): string;
105
+ serializeBatchCreate(params?: Record<string, unknown>, options?: {
106
+ apiVersion?: string;
107
+ stripeContext?: string;
108
+ }): string;
109
+ serializeBatchMigrate(subscription: string, params?: Record<string, unknown>, options?: {
110
+ apiVersion?: string;
111
+ stripeContext?: string;
112
+ }): string;
113
+ serializeBatchPause(subscription: string, params?: Record<string, unknown>, options?: {
114
+ apiVersion?: string;
115
+ stripeContext?: string;
116
+ }): string;
117
+ serializeBatchResume(subscription: string, params?: Record<string, unknown>, options?: {
118
+ apiVersion?: string;
119
+ stripeContext?: string;
120
+ }): string;
88
121
  }
89
122
  export interface Subscription {
90
123
  /**
@@ -104,6 +137,10 @@ export interface Subscription {
104
137
  */
105
138
  application_fee_percent: number | null;
106
139
  automatic_tax: Subscription.AutomaticTax;
140
+ /**
141
+ * The Billing Cadence which controls the timing of recurring invoice generation for this subscription.If unset, the subscription will bill according to its own configured schedule and create its own invoices.If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
142
+ */
143
+ billing_cadence?: string;
107
144
  /**
108
145
  * The reference point that aligns future [billing cycle](https://docs.stripe.com/subscriptions/billing-cycle) dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals. The timestamp is in UTC format.
109
146
  */
@@ -193,6 +230,10 @@ export interface Subscription {
193
230
  * List of subscription items, each with an attached price.
194
231
  */
195
232
  items: ApiList<SubscriptionItem>;
233
+ /**
234
+ * Details of the most recent price migration that failed for the subscription.
235
+ */
236
+ last_price_migration_error?: Subscription.LastPriceMigrationError | null;
196
237
  /**
197
238
  * The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).
198
239
  */
@@ -237,6 +278,10 @@ export interface Subscription {
237
278
  * 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.
238
279
  */
239
280
  pending_update: Subscription.PendingUpdate | null;
281
+ /**
282
+ * Time period and invoice for a Subscription billed in advance.
283
+ */
284
+ prebilling?: Subscription.Prebilling | null;
240
285
  presentment_details?: Subscription.PresentmentDetails;
241
286
  /**
242
287
  * The schedule attached to the subscription
@@ -260,6 +305,10 @@ export interface Subscription {
260
305
  * 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.
261
306
  */
262
307
  status: Subscription.Status;
308
+ /**
309
+ * Describes changes to the subscription's status.
310
+ */
311
+ status_details?: Subscription.StatusDetails;
263
312
  /**
264
313
  * ID of the test clock this subscription belongs to.
265
314
  */
@@ -365,12 +414,16 @@ export declare namespace Subscription {
365
414
  * The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.
366
415
  */
367
416
  feedback: CancellationDetails.Feedback | null;
417
+ /**
418
+ * Customized feedback options that provide deeper insight into why the subscription was canceled, if the subscription was canceled explicitly by the user.
419
+ */
420
+ feedback_option: string | Billing.FeedbackOption | null;
368
421
  /**
369
422
  * Why this subscription was canceled.
370
423
  */
371
424
  reason: CancellationDetails.Reason | null;
372
425
  }
373
- type CollectionMethod = 'charge_automatically' | 'send_invoice';
426
+ type CollectionMethod = 'charge_automatically' | 'send_invoice' | OtherString;
374
427
  interface InvoiceSettings {
375
428
  /**
376
429
  * The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.
@@ -390,6 +443,20 @@ export declare namespace Subscription {
390
443
  footer: string | null;
391
444
  issuer: InvoiceSettings.Issuer;
392
445
  }
446
+ interface LastPriceMigrationError {
447
+ /**
448
+ * The time at which the price migration encountered an error.
449
+ */
450
+ errored_at: number;
451
+ /**
452
+ * The involved price pairs in each failed transition.
453
+ */
454
+ failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
455
+ /**
456
+ * The type of error encountered by the price migration.
457
+ */
458
+ type: 'price_uniqueness_violation';
459
+ }
393
460
  interface ManagedPayments {
394
461
  /**
395
462
  * Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
@@ -435,6 +502,10 @@ export declare namespace Subscription {
435
502
  * If the update is applied, determines the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. The timestamp is in UTC format.
436
503
  */
437
504
  billing_cycle_anchor: number | null;
505
+ /**
506
+ * Indicates whether this subscription should cancel at the end of the current period if the update is applied.
507
+ */
508
+ cancel_at_period_end: boolean | null;
438
509
  /**
439
510
  * The pending subscription-level discount that will be applied when the pending update is applied.
440
511
  */
@@ -451,6 +522,10 @@ export declare namespace Subscription {
451
522
  * 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.
452
523
  */
453
524
  metadata: Metadata | null;
525
+ /**
526
+ * The number of iterations of prebilling to apply.
527
+ */
528
+ prebilling_iterations?: number | null;
454
529
  /**
455
530
  * List of subscription items, each with an attached plan, that will be set if the update is applied.
456
531
  */
@@ -464,6 +539,24 @@ export declare namespace Subscription {
464
539
  */
465
540
  trial_from_plan: boolean | null;
466
541
  }
542
+ interface Prebilling {
543
+ /**
544
+ * ID of the prebilling invoice.
545
+ */
546
+ invoice: string | Invoice;
547
+ /**
548
+ * The end of the last period for which the invoice pre-bills.
549
+ */
550
+ period_end: number;
551
+ /**
552
+ * The start of the first period for which the invoice pre-bills.
553
+ */
554
+ period_start: number;
555
+ /**
556
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
557
+ */
558
+ update_behavior?: Prebilling.UpdateBehavior;
559
+ }
467
560
  interface PresentmentDetails {
468
561
  /**
469
562
  * Currency used for customer payments.
@@ -471,6 +564,12 @@ export declare namespace Subscription {
471
564
  presentment_currency: string;
472
565
  }
473
566
  type Status = 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid' | OtherString;
567
+ interface StatusDetails {
568
+ /**
569
+ * Indicates when and why the subscription transitioned to the paused status.
570
+ */
571
+ paused: StatusDetails.Paused;
572
+ }
474
573
  interface TransferData {
475
574
  /**
476
575
  * 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.
@@ -499,7 +598,7 @@ export declare namespace Subscription {
499
598
  type: Liability.Type;
500
599
  }
501
600
  namespace Liability {
502
- type Type = 'account' | 'self' | OtherString;
601
+ type Type = 'account' | 'application' | 'self' | OtherString;
503
602
  }
504
603
  }
505
604
  namespace BillingMode {
@@ -511,7 +610,7 @@ export declare namespace Subscription {
511
610
  }
512
611
  type Type = 'classic' | 'flexible' | OtherString;
513
612
  namespace Flexible {
514
- type ProrationDiscounts = 'included' | 'itemized';
613
+ type ProrationDiscounts = 'included' | 'itemized' | OtherString;
515
614
  }
516
615
  }
517
616
  namespace BillingSchedule {
@@ -556,7 +655,7 @@ export declare namespace Subscription {
556
655
  }
557
656
  type Type = 'duration' | 'timestamp' | OtherString;
558
657
  namespace Duration {
559
- type Interval = 'day' | 'month' | 'week' | 'year';
658
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
560
659
  }
561
660
  }
562
661
  }
@@ -586,11 +685,23 @@ export declare namespace Subscription {
586
685
  type: Issuer.Type;
587
686
  }
588
687
  namespace Issuer {
589
- type Type = 'account' | 'self' | OtherString;
688
+ type Type = 'account' | 'application' | 'self' | OtherString;
689
+ }
690
+ }
691
+ namespace LastPriceMigrationError {
692
+ interface FailedTransition {
693
+ /**
694
+ * The original price to be migrated.
695
+ */
696
+ source_price: string;
697
+ /**
698
+ * The intended resulting price of the migration.
699
+ */
700
+ target_price: string;
590
701
  }
591
702
  }
592
703
  namespace PauseCollection {
593
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
704
+ type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
594
705
  }
595
706
  namespace PaymentSettings {
596
707
  interface PaymentMethodOptions {
@@ -602,14 +713,34 @@ export declare namespace Subscription {
602
713
  * This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
603
714
  */
604
715
  bancontact: PaymentMethodOptions.Bancontact | null;
716
+ /**
717
+ * This sub-hash contains details about the Billie payment method options to pass to invoices created by the subscription.
718
+ */
719
+ billie?: PaymentMethodOptions.Billie | null;
720
+ /**
721
+ * This sub-hash contains details about the Bizum payment method options to pass to invoices created by the subscription.
722
+ */
723
+ bizum?: PaymentMethodOptions.Bizum | null;
724
+ /**
725
+ * This sub-hash contains details about the Blik payment method options to pass to invoices created by the subscription.
726
+ */
727
+ blik?: PaymentMethodOptions.Blik | null;
605
728
  /**
606
729
  * This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
607
730
  */
608
731
  card: PaymentMethodOptions.Card | null;
732
+ /**
733
+ * This sub-hash contains details about the Check Scan payment method options to pass to invoices created by the subscription.
734
+ */
735
+ check_scan?: PaymentMethodOptions.CheckScan | null;
609
736
  /**
610
737
  * This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
611
738
  */
612
739
  customer_balance: PaymentMethodOptions.CustomerBalance | null;
740
+ /**
741
+ * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
742
+ */
743
+ id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
613
744
  /**
614
745
  * This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
615
746
  */
@@ -634,8 +765,12 @@ export declare namespace Subscription {
634
765
  * This sub-hash contains details about the ACH direct debit payment method options to pass to invoices created by the subscription.
635
766
  */
636
767
  us_bank_account: PaymentMethodOptions.UsBankAccount | null;
768
+ /**
769
+ * This sub-hash contains details about the WeChat Pay payment method options to pass to invoices created by the subscription.
770
+ */
771
+ wechat_pay?: PaymentMethodOptions.WechatPay | null;
637
772
  }
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;
773
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'check_scan' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sequra' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | OtherString;
639
774
  type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
640
775
  namespace PaymentMethodOptions {
641
776
  interface AcssDebit {
@@ -651,6 +786,14 @@ export declare namespace Subscription {
651
786
  */
652
787
  preferred_language: Bancontact.PreferredLanguage;
653
788
  }
789
+ interface Billie {
790
+ }
791
+ interface Bizum {
792
+ mandate_options?: Bizum.MandateOptions;
793
+ }
794
+ interface Blik {
795
+ mandate_options?: Blik.MandateOptions;
796
+ }
654
797
  interface Card {
655
798
  mandate_options?: Card.MandateOptions;
656
799
  /**
@@ -662,6 +805,8 @@ export declare namespace Subscription {
662
805
  */
663
806
  request_three_d_secure: Card.RequestThreeDSecure | null;
664
807
  }
808
+ interface CheckScan {
809
+ }
665
810
  interface CustomerBalance {
666
811
  bank_transfer?: CustomerBalance.BankTransfer;
667
812
  /**
@@ -669,6 +814,8 @@ export declare namespace Subscription {
669
814
  */
670
815
  funding_type: 'bank_transfer' | null;
671
816
  }
817
+ interface IdBankTransfer {
818
+ }
672
819
  interface Konbini {
673
820
  }
674
821
  interface Payto {
@@ -693,6 +840,16 @@ export declare namespace Subscription {
693
840
  */
694
841
  verification_method?: UsBankAccount.VerificationMethod;
695
842
  }
843
+ interface WechatPay {
844
+ /**
845
+ * The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
846
+ */
847
+ app_id?: string;
848
+ /**
849
+ * The client type that the end customer will pay from.
850
+ */
851
+ client?: WechatPay.Client;
852
+ }
696
853
  namespace AcssDebit {
697
854
  interface MandateOptions {
698
855
  /**
@@ -708,6 +865,26 @@ export declare namespace Subscription {
708
865
  namespace Bancontact {
709
866
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
710
867
  }
868
+ namespace Bizum {
869
+ interface MandateOptions {
870
+ /**
871
+ * Amount to be charged for future payments. Required when `amount_type=fixed`.
872
+ */
873
+ amount?: number;
874
+ /**
875
+ * Indicates the mandate amount type.
876
+ */
877
+ amount_type?: 'fixed';
878
+ }
879
+ }
880
+ namespace Blik {
881
+ interface MandateOptions {
882
+ /**
883
+ * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
884
+ */
885
+ expires_after: number | null;
886
+ }
887
+ }
711
888
  namespace Card {
712
889
  interface MandateOptions {
713
890
  /**
@@ -723,7 +900,7 @@ export declare namespace Subscription {
723
900
  */
724
901
  description: string | null;
725
902
  }
726
- type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa';
903
+ type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa' | OtherString;
727
904
  type RequestThreeDSecure = 'any' | 'automatic' | 'challenge' | OtherString;
728
905
  namespace MandateOptions {
729
906
  type AmountType = 'fixed' | 'maximum' | OtherString;
@@ -745,7 +922,7 @@ export declare namespace Subscription {
745
922
  country: EuBankTransfer.Country;
746
923
  }
747
924
  namespace EuBankTransfer {
748
- type Country = 'BE' | 'DE' | 'ES' | 'FR' | 'IE' | 'NL';
925
+ type Country = 'BE' | 'DE' | 'ES' | 'FR' | 'IE' | 'NL' | OtherString;
749
926
  }
750
927
  }
751
928
  }
@@ -835,27 +1012,69 @@ export declare namespace Subscription {
835
1012
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
836
1013
  */
837
1014
  account_subcategories?: Array<Filters.AccountSubcategory>;
1015
+ /**
1016
+ * The institution to use to filter for possible accounts to link.
1017
+ */
1018
+ institution?: string;
838
1019
  }
839
1020
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
840
- type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
1021
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
841
1022
  namespace Filters {
842
1023
  type AccountSubcategory = 'checking' | 'savings' | OtherString;
843
1024
  }
844
1025
  }
845
1026
  }
1027
+ namespace WechatPay {
1028
+ type Client = 'android' | 'ios' | 'mobile_web' | 'web' | OtherString;
1029
+ }
846
1030
  }
847
1031
  }
848
1032
  namespace PendingInvoiceItemInterval {
849
- type Interval = 'day' | 'month' | 'week' | 'year';
1033
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1034
+ }
1035
+ namespace Prebilling {
1036
+ type UpdateBehavior = 'prebill' | 'reset' | OtherString;
1037
+ }
1038
+ namespace StatusDetails {
1039
+ interface Paused {
1040
+ /**
1041
+ * Information on the `type=subscription` pause.
1042
+ */
1043
+ subscription: Paused.Subscription;
1044
+ /**
1045
+ * Unix timestamp in seconds of when the subscription status transitioned to `paused`.
1046
+ */
1047
+ transitioned_at: number;
1048
+ /**
1049
+ * The type of pause.
1050
+ */
1051
+ type: 'subscription';
1052
+ }
1053
+ namespace Paused {
1054
+ interface Subscription {
1055
+ /**
1056
+ * The reason that the subscription was paused.
1057
+ */
1058
+ type: Subscription.Type;
1059
+ }
1060
+ namespace Subscription {
1061
+ type Type = 'pause_requested' | 'system' | 'trial_end_without_payment_method' | OtherString;
1062
+ }
1063
+ }
850
1064
  }
851
1065
  namespace TrialSettings {
852
1066
  interface EndBehavior {
1067
+ /**
1068
+ * Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
1069
+ */
1070
+ billing_cycle_anchor?: EndBehavior.BillingCycleAnchor | null;
853
1071
  /**
854
1072
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
855
1073
  */
856
1074
  missing_payment_method: EndBehavior.MissingPaymentMethod;
857
1075
  }
858
1076
  namespace EndBehavior {
1077
+ type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
859
1078
  type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
860
1079
  }
861
1080
  }
@@ -877,6 +1096,10 @@ export interface SubscriptionCreateParams {
877
1096
  * A past timestamp to backdate the subscription's start date to. If set, the first invoice will contain line items for the timespan between the start date and the current time. Can be combined with trials and the billing cycle anchor.
878
1097
  */
879
1098
  backdate_start_date?: number;
1099
+ /**
1100
+ * The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
1101
+ */
1102
+ billing_cadence?: string;
880
1103
  /**
881
1104
  * A future timestamp in UTC format to anchor the subscription's [billing cycle](https://docs.stripe.com/subscriptions/billing-cycle). The anchor is the reference point that aligns future billing cycle dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals.
882
1105
  */
@@ -981,6 +1204,10 @@ export interface SubscriptionCreateParams {
981
1204
  * 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.
982
1205
  */
983
1206
  pending_invoice_item_interval?: Emptyable<SubscriptionCreateParams.PendingInvoiceItemInterval>;
1207
+ /**
1208
+ * If specified, the invoicing for the given billing cycle iterations will be processed now.
1209
+ */
1210
+ prebilling?: SubscriptionCreateParams.Prebilling;
984
1211
  /**
985
1212
  * 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`.
986
1213
  */
@@ -1108,7 +1335,7 @@ export declare namespace SubscriptionCreateParams {
1108
1335
  reset_billing_cycle_anchor?: boolean;
1109
1336
  }
1110
1337
  type CancelAt = 'max_billed_until' | 'max_period_end' | 'min_period_end' | OtherString;
1111
- type CollectionMethod = 'charge_automatically' | 'send_invoice';
1338
+ type CollectionMethod = 'charge_automatically' | 'send_invoice' | OtherString;
1112
1339
  interface Discount {
1113
1340
  /**
1114
1341
  * ID of the coupon to create a new discount for.
@@ -1118,10 +1345,18 @@ export declare namespace SubscriptionCreateParams {
1118
1345
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1119
1346
  */
1120
1347
  discount?: string;
1348
+ /**
1349
+ * Details to determine how long the discount should be applied for.
1350
+ */
1351
+ discount_end?: Discount.DiscountEnd;
1121
1352
  /**
1122
1353
  * ID of the promotion code to create a new discount for.
1123
1354
  */
1124
1355
  promotion_code?: string;
1356
+ /**
1357
+ * Settings for discount application including service period anchoring.
1358
+ */
1359
+ settings?: Discount.Settings;
1125
1360
  }
1126
1361
  interface InvoiceSettings {
1127
1362
  /**
@@ -1150,6 +1385,10 @@ export declare namespace SubscriptionCreateParams {
1150
1385
  * 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.
1151
1386
  */
1152
1387
  billing_thresholds?: Emptyable<Item.BillingThresholds>;
1388
+ /**
1389
+ * The trial offer to apply to this subscription item.
1390
+ */
1391
+ current_trial?: Item.CurrentTrial;
1153
1392
  /**
1154
1393
  * The coupons to redeem into discounts for the subscription item.
1155
1394
  */
@@ -1178,8 +1417,12 @@ export declare namespace SubscriptionCreateParams {
1178
1417
  * 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.
1179
1418
  */
1180
1419
  tax_rates?: Emptyable<Array<string>>;
1420
+ /**
1421
+ * Define options to configure the trial on the subscription item.
1422
+ */
1423
+ trial?: Item.Trial;
1181
1424
  }
1182
- type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete';
1425
+ type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete' | OtherString;
1183
1426
  interface PaymentSettings {
1184
1427
  /**
1185
1428
  * Payment-method-specific configuration to provide to invoices created by the subscription.
@@ -1204,6 +1447,16 @@ export declare namespace SubscriptionCreateParams {
1204
1447
  */
1205
1448
  interval_count?: number;
1206
1449
  }
1450
+ interface Prebilling {
1451
+ /**
1452
+ * This is used to determine the number of billing cycles to prebill.
1453
+ */
1454
+ iterations: number;
1455
+ /**
1456
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
1457
+ */
1458
+ update_behavior?: Prebilling.UpdateBehavior;
1459
+ }
1207
1460
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
1208
1461
  interface TransferData {
1209
1462
  /**
@@ -1231,6 +1484,10 @@ export declare namespace SubscriptionCreateParams {
1231
1484
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1232
1485
  */
1233
1486
  discount?: string;
1487
+ /**
1488
+ * Details to determine how long the discount should be applied for.
1489
+ */
1490
+ discount_end?: Discount.DiscountEnd;
1234
1491
  /**
1235
1492
  * ID of the promotion code to create a new discount for.
1236
1493
  */
@@ -1268,6 +1525,38 @@ export declare namespace SubscriptionCreateParams {
1268
1525
  */
1269
1526
  unit_amount_decimal?: Decimal;
1270
1527
  }
1528
+ namespace Discount {
1529
+ interface DiscountEnd {
1530
+ /**
1531
+ * Time span for the redeemed discount.
1532
+ */
1533
+ duration?: DiscountEnd.Duration;
1534
+ /**
1535
+ * A precise Unix timestamp for the discount to end. Must be in the future.
1536
+ */
1537
+ timestamp?: number;
1538
+ /**
1539
+ * The type of calculation made to determine when the discount ends.
1540
+ */
1541
+ type: DiscountEnd.Type;
1542
+ }
1543
+ namespace DiscountEnd {
1544
+ interface Duration {
1545
+ /**
1546
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1547
+ */
1548
+ interval: Duration.Interval;
1549
+ /**
1550
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1551
+ */
1552
+ interval_count: number;
1553
+ }
1554
+ type Type = 'duration' | 'timestamp' | OtherString;
1555
+ namespace Duration {
1556
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1557
+ }
1558
+ }
1559
+ }
1271
1560
  namespace Period {
1272
1561
  interface End {
1273
1562
  /**
@@ -1297,7 +1586,7 @@ export declare namespace SubscriptionCreateParams {
1297
1586
  }
1298
1587
  }
1299
1588
  namespace PriceData {
1300
- type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
1589
+ type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
1301
1590
  }
1302
1591
  }
1303
1592
  namespace AutomaticTax {
@@ -1312,7 +1601,7 @@ export declare namespace SubscriptionCreateParams {
1312
1601
  type: Liability.Type;
1313
1602
  }
1314
1603
  namespace Liability {
1315
- type Type = 'account' | 'self' | OtherString;
1604
+ type Type = 'account' | 'application' | 'self' | OtherString;
1316
1605
  }
1317
1606
  }
1318
1607
  namespace BillingMode {
@@ -1324,7 +1613,7 @@ export declare namespace SubscriptionCreateParams {
1324
1613
  }
1325
1614
  type Type = 'classic' | 'flexible' | OtherString;
1326
1615
  namespace Flexible {
1327
- type ProrationDiscounts = 'included' | 'itemized';
1616
+ type ProrationDiscounts = 'included' | 'itemized' | OtherString;
1328
1617
  }
1329
1618
  }
1330
1619
  namespace BillingSchedule {
@@ -1365,7 +1654,87 @@ export declare namespace SubscriptionCreateParams {
1365
1654
  }
1366
1655
  type Type = 'duration' | 'timestamp' | OtherString;
1367
1656
  namespace Duration {
1368
- type Interval = 'day' | 'month' | 'week' | 'year';
1657
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1658
+ }
1659
+ }
1660
+ }
1661
+ namespace Discount {
1662
+ interface DiscountEnd {
1663
+ /**
1664
+ * Time span for the redeemed discount.
1665
+ */
1666
+ duration?: DiscountEnd.Duration;
1667
+ /**
1668
+ * A precise Unix timestamp for the discount to end. Must be in the future.
1669
+ */
1670
+ timestamp?: number;
1671
+ /**
1672
+ * The type of calculation made to determine when the discount ends.
1673
+ */
1674
+ type: DiscountEnd.Type;
1675
+ }
1676
+ interface Settings {
1677
+ /**
1678
+ * Configures service period cycle anchoring.
1679
+ */
1680
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
1681
+ /**
1682
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
1683
+ */
1684
+ start_date?: Settings.StartDate;
1685
+ }
1686
+ namespace DiscountEnd {
1687
+ interface Duration {
1688
+ /**
1689
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1690
+ */
1691
+ interval: Duration.Interval;
1692
+ /**
1693
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1694
+ */
1695
+ interval_count: number;
1696
+ }
1697
+ type Type = 'duration' | 'timestamp' | OtherString;
1698
+ namespace Duration {
1699
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1700
+ }
1701
+ }
1702
+ namespace Settings {
1703
+ interface ServicePeriodAnchorConfig {
1704
+ /**
1705
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
1706
+ */
1707
+ custom?: ServicePeriodAnchorConfig.Custom;
1708
+ /**
1709
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
1710
+ */
1711
+ type?: ServicePeriodAnchorConfig.Type;
1712
+ }
1713
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
1714
+ namespace ServicePeriodAnchorConfig {
1715
+ interface Custom {
1716
+ /**
1717
+ * The day of the month the anchor should be. Ranges from 1 to 31.
1718
+ */
1719
+ day_of_month: number;
1720
+ /**
1721
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
1722
+ */
1723
+ hour?: number;
1724
+ /**
1725
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
1726
+ */
1727
+ minute?: number;
1728
+ /**
1729
+ * The month to start full cycle periods. Ranges from 1 to 12.
1730
+ */
1731
+ month?: number;
1732
+ /**
1733
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
1734
+ */
1735
+ second?: number;
1736
+ }
1737
+ type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
1369
1738
  }
1370
1739
  }
1371
1740
  }
@@ -1391,7 +1760,7 @@ export declare namespace SubscriptionCreateParams {
1391
1760
  type: Issuer.Type;
1392
1761
  }
1393
1762
  namespace Issuer {
1394
- type Type = 'account' | 'self' | OtherString;
1763
+ type Type = 'account' | 'application' | 'self' | OtherString;
1395
1764
  }
1396
1765
  }
1397
1766
  namespace Item {
@@ -1401,6 +1770,16 @@ export declare namespace SubscriptionCreateParams {
1401
1770
  */
1402
1771
  usage_gte: number;
1403
1772
  }
1773
+ interface CurrentTrial {
1774
+ /**
1775
+ * 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`.
1776
+ */
1777
+ trial_end?: number;
1778
+ /**
1779
+ * The ID of the trial offer to apply to the subscription item.
1780
+ */
1781
+ trial_offer: string;
1782
+ }
1404
1783
  interface Discount {
1405
1784
  /**
1406
1785
  * ID of the coupon to create a new discount for.
@@ -1410,10 +1789,18 @@ export declare namespace SubscriptionCreateParams {
1410
1789
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1411
1790
  */
1412
1791
  discount?: string;
1792
+ /**
1793
+ * Details to determine how long the discount should be applied for.
1794
+ */
1795
+ discount_end?: Discount.DiscountEnd;
1413
1796
  /**
1414
1797
  * ID of the promotion code to create a new discount for.
1415
1798
  */
1416
1799
  promotion_code?: string;
1800
+ /**
1801
+ * Settings for discount application including service period anchoring.
1802
+ */
1803
+ settings?: Discount.Settings;
1417
1804
  }
1418
1805
  interface PriceData {
1419
1806
  /**
@@ -1441,6 +1828,96 @@ export declare namespace SubscriptionCreateParams {
1441
1828
  */
1442
1829
  unit_amount_decimal?: Decimal;
1443
1830
  }
1831
+ interface Trial {
1832
+ /**
1833
+ * 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.
1834
+ */
1835
+ converts_to?: Array<string>;
1836
+ /**
1837
+ * Determines the type of trial for this item.
1838
+ */
1839
+ type: Trial.Type;
1840
+ }
1841
+ namespace Discount {
1842
+ interface DiscountEnd {
1843
+ /**
1844
+ * Time span for the redeemed discount.
1845
+ */
1846
+ duration?: DiscountEnd.Duration;
1847
+ /**
1848
+ * A precise Unix timestamp for the discount to end. Must be in the future.
1849
+ */
1850
+ timestamp?: number;
1851
+ /**
1852
+ * The type of calculation made to determine when the discount ends.
1853
+ */
1854
+ type: DiscountEnd.Type;
1855
+ }
1856
+ interface Settings {
1857
+ /**
1858
+ * Configures service period cycle anchoring.
1859
+ */
1860
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
1861
+ /**
1862
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
1863
+ */
1864
+ start_date?: Settings.StartDate;
1865
+ }
1866
+ namespace DiscountEnd {
1867
+ interface Duration {
1868
+ /**
1869
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1870
+ */
1871
+ interval: Duration.Interval;
1872
+ /**
1873
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1874
+ */
1875
+ interval_count: number;
1876
+ }
1877
+ type Type = 'duration' | 'timestamp' | OtherString;
1878
+ namespace Duration {
1879
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1880
+ }
1881
+ }
1882
+ namespace Settings {
1883
+ interface ServicePeriodAnchorConfig {
1884
+ /**
1885
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
1886
+ */
1887
+ custom?: ServicePeriodAnchorConfig.Custom;
1888
+ /**
1889
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
1890
+ */
1891
+ type?: ServicePeriodAnchorConfig.Type;
1892
+ }
1893
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
1894
+ namespace ServicePeriodAnchorConfig {
1895
+ interface Custom {
1896
+ /**
1897
+ * The day of the month the anchor should be. Ranges from 1 to 31.
1898
+ */
1899
+ day_of_month: number;
1900
+ /**
1901
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
1902
+ */
1903
+ hour?: number;
1904
+ /**
1905
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
1906
+ */
1907
+ minute?: number;
1908
+ /**
1909
+ * The month to start full cycle periods. Ranges from 1 to 12.
1910
+ */
1911
+ month?: number;
1912
+ /**
1913
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
1914
+ */
1915
+ second?: number;
1916
+ }
1917
+ type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
1918
+ }
1919
+ }
1920
+ }
1444
1921
  namespace PriceData {
1445
1922
  interface Recurring {
1446
1923
  /**
@@ -1452,11 +1929,14 @@ export declare namespace SubscriptionCreateParams {
1452
1929
  */
1453
1930
  interval_count?: number;
1454
1931
  }
1455
- type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
1932
+ type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
1456
1933
  namespace Recurring {
1457
- type Interval = 'day' | 'month' | 'week' | 'year';
1934
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1458
1935
  }
1459
1936
  }
1937
+ namespace Trial {
1938
+ type Type = 'free' | 'paid' | OtherString;
1939
+ }
1460
1940
  }
1461
1941
  namespace PaymentSettings {
1462
1942
  interface PaymentMethodOptions {
@@ -1468,14 +1948,30 @@ export declare namespace SubscriptionCreateParams {
1468
1948
  * This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
1469
1949
  */
1470
1950
  bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
1951
+ /**
1952
+ * This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
1953
+ */
1954
+ bizum?: Emptyable<PaymentMethodOptions.Bizum>;
1955
+ /**
1956
+ * This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
1957
+ */
1958
+ blik?: Emptyable<PaymentMethodOptions.Blik>;
1471
1959
  /**
1472
1960
  * This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
1473
1961
  */
1474
1962
  card?: Emptyable<PaymentMethodOptions.Card>;
1963
+ /**
1964
+ * This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
1965
+ */
1966
+ check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
1475
1967
  /**
1476
1968
  * This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
1477
1969
  */
1478
1970
  customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
1971
+ /**
1972
+ * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
1973
+ */
1974
+ id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
1479
1975
  /**
1480
1976
  * This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
1481
1977
  */
@@ -1500,8 +1996,12 @@ export declare namespace SubscriptionCreateParams {
1500
1996
  * This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
1501
1997
  */
1502
1998
  us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
1999
+ /**
2000
+ * This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
2001
+ */
2002
+ wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
1503
2003
  }
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;
2004
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'check_scan' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sequra' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | OtherString;
1505
2005
  type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
1506
2006
  namespace PaymentMethodOptions {
1507
2007
  interface AcssDebit {
@@ -1520,6 +2020,18 @@ export declare namespace SubscriptionCreateParams {
1520
2020
  */
1521
2021
  preferred_language?: Bancontact.PreferredLanguage;
1522
2022
  }
2023
+ interface Bizum {
2024
+ /**
2025
+ * Configuration options for setting up a mandate
2026
+ */
2027
+ mandate_options?: Bizum.MandateOptions;
2028
+ }
2029
+ interface Blik {
2030
+ /**
2031
+ * Configuration options for setting up a mandate
2032
+ */
2033
+ mandate_options?: Blik.MandateOptions;
2034
+ }
1523
2035
  interface Card {
1524
2036
  /**
1525
2037
  * Configuration options for setting up an eMandate for cards issued in India.
@@ -1534,6 +2046,8 @@ export declare namespace SubscriptionCreateParams {
1534
2046
  */
1535
2047
  request_three_d_secure?: Card.RequestThreeDSecure;
1536
2048
  }
2049
+ interface CheckScan {
2050
+ }
1537
2051
  interface CustomerBalance {
1538
2052
  /**
1539
2053
  * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
@@ -1544,6 +2058,8 @@ export declare namespace SubscriptionCreateParams {
1544
2058
  */
1545
2059
  funding_type?: string;
1546
2060
  }
2061
+ interface IdBankTransfer {
2062
+ }
1547
2063
  interface Konbini {
1548
2064
  }
1549
2065
  interface Payto {
@@ -1580,6 +2096,16 @@ export declare namespace SubscriptionCreateParams {
1580
2096
  */
1581
2097
  verification_method?: UsBankAccount.VerificationMethod;
1582
2098
  }
2099
+ interface WechatPay {
2100
+ /**
2101
+ * The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
2102
+ */
2103
+ app_id?: string;
2104
+ /**
2105
+ * The client type that the end customer will pay from.
2106
+ */
2107
+ client?: WechatPay.Client;
2108
+ }
1583
2109
  namespace AcssDebit {
1584
2110
  interface MandateOptions {
1585
2111
  /**
@@ -1595,6 +2121,26 @@ export declare namespace SubscriptionCreateParams {
1595
2121
  namespace Bancontact {
1596
2122
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
1597
2123
  }
2124
+ namespace Bizum {
2125
+ interface MandateOptions {
2126
+ /**
2127
+ * Amount to be charged for future payments. Required when `amount_type=fixed`.
2128
+ */
2129
+ amount: number;
2130
+ /**
2131
+ * Indicates the mandate amount type.
2132
+ */
2133
+ amount_type: 'fixed';
2134
+ }
2135
+ }
2136
+ namespace Blik {
2137
+ interface MandateOptions {
2138
+ /**
2139
+ * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
2140
+ */
2141
+ expires_after?: number;
2142
+ }
2143
+ }
1598
2144
  namespace Card {
1599
2145
  interface MandateOptions {
1600
2146
  /**
@@ -1610,7 +2156,7 @@ export declare namespace SubscriptionCreateParams {
1610
2156
  */
1611
2157
  description?: string;
1612
2158
  }
1613
- type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa';
2159
+ type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa' | OtherString;
1614
2160
  type RequestThreeDSecure = 'any' | 'automatic' | 'challenge' | OtherString;
1615
2161
  namespace MandateOptions {
1616
2162
  type AmountType = 'fixed' | 'maximum' | OtherString;
@@ -1720,27 +2266,42 @@ export declare namespace SubscriptionCreateParams {
1720
2266
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1721
2267
  */
1722
2268
  account_subcategories?: Array<Filters.AccountSubcategory>;
2269
+ /**
2270
+ * ID of the institution to use to filter for selectable accounts.
2271
+ */
2272
+ institution?: string;
1723
2273
  }
1724
- type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
1725
- type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
2274
+ type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
2275
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
1726
2276
  namespace Filters {
1727
2277
  type AccountSubcategory = 'checking' | 'savings' | OtherString;
1728
2278
  }
1729
2279
  }
1730
2280
  }
2281
+ namespace WechatPay {
2282
+ type Client = 'android' | 'ios' | 'mobile_web' | 'web' | OtherString;
2283
+ }
1731
2284
  }
1732
2285
  }
1733
2286
  namespace PendingInvoiceItemInterval {
1734
- type Interval = 'day' | 'month' | 'week' | 'year';
2287
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2288
+ }
2289
+ namespace Prebilling {
2290
+ type UpdateBehavior = 'prebill' | 'reset' | OtherString;
1735
2291
  }
1736
2292
  namespace TrialSettings {
1737
2293
  interface EndBehavior {
2294
+ /**
2295
+ * Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
2296
+ */
2297
+ billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
1738
2298
  /**
1739
2299
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
1740
2300
  */
1741
2301
  missing_payment_method: EndBehavior.MissingPaymentMethod;
1742
2302
  }
1743
2303
  namespace EndBehavior {
2304
+ type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
1744
2305
  type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
1745
2306
  }
1746
2307
  }
@@ -1764,6 +2325,10 @@ export interface SubscriptionUpdateParams {
1764
2325
  * Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.
1765
2326
  */
1766
2327
  automatic_tax?: SubscriptionUpdateParams.AutomaticTax;
2328
+ /**
2329
+ * The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
2330
+ */
2331
+ billing_cadence?: string;
1767
2332
  /**
1768
2333
  * Either `now` or `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time (in UTC). For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
1769
2334
  */
@@ -1856,6 +2421,10 @@ export interface SubscriptionUpdateParams {
1856
2421
  * 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.
1857
2422
  */
1858
2423
  pending_invoice_item_interval?: Emptyable<SubscriptionUpdateParams.PendingInvoiceItemInterval>;
2424
+ /**
2425
+ * If specified, the invoicing for the given billing cycle iterations will be processed now.
2426
+ */
2427
+ prebilling?: SubscriptionUpdateParams.Prebilling;
1859
2428
  /**
1860
2429
  * 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`.
1861
2430
  */
@@ -1926,7 +2495,7 @@ export declare namespace SubscriptionUpdateParams {
1926
2495
  */
1927
2496
  liability?: AutomaticTax.Liability;
1928
2497
  }
1929
- type BillingCycleAnchor = 'now' | 'unchanged';
2498
+ type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
1930
2499
  interface BillingSchedule {
1931
2500
  /**
1932
2501
  * Configure billing schedule differently for individual subscription items.
@@ -1962,7 +2531,7 @@ export declare namespace SubscriptionUpdateParams {
1962
2531
  */
1963
2532
  feedback?: Emptyable<CancellationDetails.Feedback>;
1964
2533
  }
1965
- type CollectionMethod = 'charge_automatically' | 'send_invoice';
2534
+ type CollectionMethod = 'charge_automatically' | 'send_invoice' | OtherString;
1966
2535
  interface Discount {
1967
2536
  /**
1968
2537
  * ID of the coupon to create a new discount for.
@@ -1972,10 +2541,18 @@ export declare namespace SubscriptionUpdateParams {
1972
2541
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1973
2542
  */
1974
2543
  discount?: string;
2544
+ /**
2545
+ * Details to determine how long the discount should be applied for.
2546
+ */
2547
+ discount_end?: Discount.DiscountEnd;
1975
2548
  /**
1976
2549
  * ID of the promotion code to create a new discount for.
1977
2550
  */
1978
2551
  promotion_code?: string;
2552
+ /**
2553
+ * Settings for discount application including service period anchoring.
2554
+ */
2555
+ settings?: Discount.Settings;
1979
2556
  }
1980
2557
  interface InvoiceSettings {
1981
2558
  /**
@@ -2008,6 +2585,10 @@ export declare namespace SubscriptionUpdateParams {
2008
2585
  * 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.
2009
2586
  */
2010
2587
  clear_usage?: boolean;
2588
+ /**
2589
+ * The trial offer to apply to this subscription item.
2590
+ */
2591
+ current_trial?: Item.CurrentTrial;
2011
2592
  /**
2012
2593
  * A flag that, if set to `true`, will delete the specified item.
2013
2594
  */
@@ -2055,7 +2636,7 @@ export declare namespace SubscriptionUpdateParams {
2055
2636
  */
2056
2637
  resumes_at?: number;
2057
2638
  }
2058
- type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete';
2639
+ type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete' | OtherString;
2059
2640
  interface PaymentSettings {
2060
2641
  /**
2061
2642
  * Payment-method-specific configuration to provide to invoices created by the subscription.
@@ -2080,6 +2661,16 @@ export declare namespace SubscriptionUpdateParams {
2080
2661
  */
2081
2662
  interval_count?: number;
2082
2663
  }
2664
+ interface Prebilling {
2665
+ /**
2666
+ * This is used to determine the number of billing cycles to prebill.
2667
+ */
2668
+ iterations: number;
2669
+ /**
2670
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
2671
+ */
2672
+ update_behavior?: Prebilling.UpdateBehavior;
2673
+ }
2083
2674
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
2084
2675
  interface TransferData {
2085
2676
  /**
@@ -2107,6 +2698,10 @@ export declare namespace SubscriptionUpdateParams {
2107
2698
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2108
2699
  */
2109
2700
  discount?: string;
2701
+ /**
2702
+ * Details to determine how long the discount should be applied for.
2703
+ */
2704
+ discount_end?: Discount.DiscountEnd;
2110
2705
  /**
2111
2706
  * ID of the promotion code to create a new discount for.
2112
2707
  */
@@ -2144,6 +2739,38 @@ export declare namespace SubscriptionUpdateParams {
2144
2739
  */
2145
2740
  unit_amount_decimal?: Decimal;
2146
2741
  }
2742
+ namespace Discount {
2743
+ interface DiscountEnd {
2744
+ /**
2745
+ * Time span for the redeemed discount.
2746
+ */
2747
+ duration?: DiscountEnd.Duration;
2748
+ /**
2749
+ * A precise Unix timestamp for the discount to end. Must be in the future.
2750
+ */
2751
+ timestamp?: number;
2752
+ /**
2753
+ * The type of calculation made to determine when the discount ends.
2754
+ */
2755
+ type: DiscountEnd.Type;
2756
+ }
2757
+ namespace DiscountEnd {
2758
+ interface Duration {
2759
+ /**
2760
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2761
+ */
2762
+ interval: Duration.Interval;
2763
+ /**
2764
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2765
+ */
2766
+ interval_count: number;
2767
+ }
2768
+ type Type = 'duration' | 'timestamp' | OtherString;
2769
+ namespace Duration {
2770
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2771
+ }
2772
+ }
2773
+ }
2147
2774
  namespace Period {
2148
2775
  interface End {
2149
2776
  /**
@@ -2173,7 +2800,7 @@ export declare namespace SubscriptionUpdateParams {
2173
2800
  }
2174
2801
  }
2175
2802
  namespace PriceData {
2176
- type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
2803
+ type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
2177
2804
  }
2178
2805
  }
2179
2806
  namespace AutomaticTax {
@@ -2188,7 +2815,7 @@ export declare namespace SubscriptionUpdateParams {
2188
2815
  type: Liability.Type;
2189
2816
  }
2190
2817
  namespace Liability {
2191
- type Type = 'account' | 'self' | OtherString;
2818
+ type Type = 'account' | 'application' | 'self' | OtherString;
2192
2819
  }
2193
2820
  }
2194
2821
  namespace BillingSchedule {
@@ -2229,13 +2856,93 @@ export declare namespace SubscriptionUpdateParams {
2229
2856
  }
2230
2857
  type Type = 'duration' | 'timestamp' | OtherString;
2231
2858
  namespace Duration {
2232
- type Interval = 'day' | 'month' | 'week' | 'year';
2859
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2233
2860
  }
2234
2861
  }
2235
2862
  }
2236
2863
  namespace CancellationDetails {
2237
2864
  type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused' | OtherString;
2238
2865
  }
2866
+ namespace Discount {
2867
+ interface DiscountEnd {
2868
+ /**
2869
+ * Time span for the redeemed discount.
2870
+ */
2871
+ duration?: DiscountEnd.Duration;
2872
+ /**
2873
+ * A precise Unix timestamp for the discount to end. Must be in the future.
2874
+ */
2875
+ timestamp?: number;
2876
+ /**
2877
+ * The type of calculation made to determine when the discount ends.
2878
+ */
2879
+ type: DiscountEnd.Type;
2880
+ }
2881
+ interface Settings {
2882
+ /**
2883
+ * Configures service period cycle anchoring.
2884
+ */
2885
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
2886
+ /**
2887
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
2888
+ */
2889
+ start_date?: Settings.StartDate;
2890
+ }
2891
+ namespace DiscountEnd {
2892
+ interface Duration {
2893
+ /**
2894
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2895
+ */
2896
+ interval: Duration.Interval;
2897
+ /**
2898
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2899
+ */
2900
+ interval_count: number;
2901
+ }
2902
+ type Type = 'duration' | 'timestamp' | OtherString;
2903
+ namespace Duration {
2904
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2905
+ }
2906
+ }
2907
+ namespace Settings {
2908
+ interface ServicePeriodAnchorConfig {
2909
+ /**
2910
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
2911
+ */
2912
+ custom?: ServicePeriodAnchorConfig.Custom;
2913
+ /**
2914
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
2915
+ */
2916
+ type?: ServicePeriodAnchorConfig.Type;
2917
+ }
2918
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
2919
+ namespace ServicePeriodAnchorConfig {
2920
+ interface Custom {
2921
+ /**
2922
+ * The day of the month the anchor should be. Ranges from 1 to 31.
2923
+ */
2924
+ day_of_month: number;
2925
+ /**
2926
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
2927
+ */
2928
+ hour?: number;
2929
+ /**
2930
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
2931
+ */
2932
+ minute?: number;
2933
+ /**
2934
+ * The month to start full cycle periods. Ranges from 1 to 12.
2935
+ */
2936
+ month?: number;
2937
+ /**
2938
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
2939
+ */
2940
+ second?: number;
2941
+ }
2942
+ type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
2943
+ }
2944
+ }
2945
+ }
2239
2946
  namespace InvoiceSettings {
2240
2947
  interface CustomField {
2241
2948
  /**
@@ -2258,7 +2965,7 @@ export declare namespace SubscriptionUpdateParams {
2258
2965
  type: Issuer.Type;
2259
2966
  }
2260
2967
  namespace Issuer {
2261
- type Type = 'account' | 'self' | OtherString;
2968
+ type Type = 'account' | 'application' | 'self' | OtherString;
2262
2969
  }
2263
2970
  }
2264
2971
  namespace Item {
@@ -2268,6 +2975,16 @@ export declare namespace SubscriptionUpdateParams {
2268
2975
  */
2269
2976
  usage_gte: number;
2270
2977
  }
2978
+ interface CurrentTrial {
2979
+ /**
2980
+ * 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`.
2981
+ */
2982
+ trial_end?: number;
2983
+ /**
2984
+ * The ID of the trial offer to apply to the subscription item.
2985
+ */
2986
+ trial_offer: string;
2987
+ }
2271
2988
  interface Discount {
2272
2989
  /**
2273
2990
  * ID of the coupon to create a new discount for.
@@ -2277,10 +2994,18 @@ export declare namespace SubscriptionUpdateParams {
2277
2994
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2278
2995
  */
2279
2996
  discount?: string;
2997
+ /**
2998
+ * Details to determine how long the discount should be applied for.
2999
+ */
3000
+ discount_end?: Discount.DiscountEnd;
2280
3001
  /**
2281
3002
  * ID of the promotion code to create a new discount for.
2282
3003
  */
2283
3004
  promotion_code?: string;
3005
+ /**
3006
+ * Settings for discount application including service period anchoring.
3007
+ */
3008
+ settings?: Discount.Settings;
2284
3009
  }
2285
3010
  interface PriceData {
2286
3011
  /**
@@ -2308,6 +3033,86 @@ export declare namespace SubscriptionUpdateParams {
2308
3033
  */
2309
3034
  unit_amount_decimal?: Decimal;
2310
3035
  }
3036
+ namespace Discount {
3037
+ interface DiscountEnd {
3038
+ /**
3039
+ * Time span for the redeemed discount.
3040
+ */
3041
+ duration?: DiscountEnd.Duration;
3042
+ /**
3043
+ * A precise Unix timestamp for the discount to end. Must be in the future.
3044
+ */
3045
+ timestamp?: number;
3046
+ /**
3047
+ * The type of calculation made to determine when the discount ends.
3048
+ */
3049
+ type: DiscountEnd.Type;
3050
+ }
3051
+ interface Settings {
3052
+ /**
3053
+ * Configures service period cycle anchoring.
3054
+ */
3055
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3056
+ /**
3057
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
3058
+ */
3059
+ start_date?: Settings.StartDate;
3060
+ }
3061
+ namespace DiscountEnd {
3062
+ interface Duration {
3063
+ /**
3064
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3065
+ */
3066
+ interval: Duration.Interval;
3067
+ /**
3068
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3069
+ */
3070
+ interval_count: number;
3071
+ }
3072
+ type Type = 'duration' | 'timestamp' | OtherString;
3073
+ namespace Duration {
3074
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3075
+ }
3076
+ }
3077
+ namespace Settings {
3078
+ interface ServicePeriodAnchorConfig {
3079
+ /**
3080
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
3081
+ */
3082
+ custom?: ServicePeriodAnchorConfig.Custom;
3083
+ /**
3084
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
3085
+ */
3086
+ type?: ServicePeriodAnchorConfig.Type;
3087
+ }
3088
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
3089
+ namespace ServicePeriodAnchorConfig {
3090
+ interface Custom {
3091
+ /**
3092
+ * The day of the month the anchor should be. Ranges from 1 to 31.
3093
+ */
3094
+ day_of_month: number;
3095
+ /**
3096
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
3097
+ */
3098
+ hour?: number;
3099
+ /**
3100
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
3101
+ */
3102
+ minute?: number;
3103
+ /**
3104
+ * The month to start full cycle periods. Ranges from 1 to 12.
3105
+ */
3106
+ month?: number;
3107
+ /**
3108
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
3109
+ */
3110
+ second?: number;
3111
+ }
3112
+ type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
3113
+ }
3114
+ }
3115
+ }
2311
3116
  namespace PriceData {
2312
3117
  interface Recurring {
2313
3118
  /**
@@ -2319,14 +3124,14 @@ export declare namespace SubscriptionUpdateParams {
2319
3124
  */
2320
3125
  interval_count?: number;
2321
3126
  }
2322
- type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
3127
+ type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified' | OtherString;
2323
3128
  namespace Recurring {
2324
- type Interval = 'day' | 'month' | 'week' | 'year';
3129
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2325
3130
  }
2326
3131
  }
2327
3132
  }
2328
3133
  namespace PauseCollection {
2329
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
3134
+ type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
2330
3135
  }
2331
3136
  namespace PaymentSettings {
2332
3137
  interface PaymentMethodOptions {
@@ -2338,14 +3143,30 @@ export declare namespace SubscriptionUpdateParams {
2338
3143
  * This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
2339
3144
  */
2340
3145
  bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
3146
+ /**
3147
+ * This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
3148
+ */
3149
+ bizum?: Emptyable<PaymentMethodOptions.Bizum>;
3150
+ /**
3151
+ * This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
3152
+ */
3153
+ blik?: Emptyable<PaymentMethodOptions.Blik>;
2341
3154
  /**
2342
3155
  * This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
2343
3156
  */
2344
3157
  card?: Emptyable<PaymentMethodOptions.Card>;
3158
+ /**
3159
+ * This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
3160
+ */
3161
+ check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
2345
3162
  /**
2346
3163
  * This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
2347
3164
  */
2348
3165
  customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
3166
+ /**
3167
+ * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
3168
+ */
3169
+ id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
2349
3170
  /**
2350
3171
  * This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
2351
3172
  */
@@ -2370,8 +3191,12 @@ export declare namespace SubscriptionUpdateParams {
2370
3191
  * This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
2371
3192
  */
2372
3193
  us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
3194
+ /**
3195
+ * This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
3196
+ */
3197
+ wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
2373
3198
  }
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;
3199
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'check_scan' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sequra' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | OtherString;
2375
3200
  type SaveDefaultPaymentMethod = 'off' | 'on_subscription' | OtherString;
2376
3201
  namespace PaymentMethodOptions {
2377
3202
  interface AcssDebit {
@@ -2390,6 +3215,18 @@ export declare namespace SubscriptionUpdateParams {
2390
3215
  */
2391
3216
  preferred_language?: Bancontact.PreferredLanguage;
2392
3217
  }
3218
+ interface Bizum {
3219
+ /**
3220
+ * Configuration options for setting up a mandate
3221
+ */
3222
+ mandate_options?: Bizum.MandateOptions;
3223
+ }
3224
+ interface Blik {
3225
+ /**
3226
+ * Configuration options for setting up a mandate
3227
+ */
3228
+ mandate_options?: Blik.MandateOptions;
3229
+ }
2393
3230
  interface Card {
2394
3231
  /**
2395
3232
  * Configuration options for setting up an eMandate for cards issued in India.
@@ -2404,6 +3241,8 @@ export declare namespace SubscriptionUpdateParams {
2404
3241
  */
2405
3242
  request_three_d_secure?: Card.RequestThreeDSecure;
2406
3243
  }
3244
+ interface CheckScan {
3245
+ }
2407
3246
  interface CustomerBalance {
2408
3247
  /**
2409
3248
  * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
@@ -2414,6 +3253,8 @@ export declare namespace SubscriptionUpdateParams {
2414
3253
  */
2415
3254
  funding_type?: string;
2416
3255
  }
3256
+ interface IdBankTransfer {
3257
+ }
2417
3258
  interface Konbini {
2418
3259
  }
2419
3260
  interface Payto {
@@ -2450,6 +3291,16 @@ export declare namespace SubscriptionUpdateParams {
2450
3291
  */
2451
3292
  verification_method?: UsBankAccount.VerificationMethod;
2452
3293
  }
3294
+ interface WechatPay {
3295
+ /**
3296
+ * The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
3297
+ */
3298
+ app_id?: string;
3299
+ /**
3300
+ * The client type that the end customer will pay from.
3301
+ */
3302
+ client?: WechatPay.Client;
3303
+ }
2453
3304
  namespace AcssDebit {
2454
3305
  interface MandateOptions {
2455
3306
  /**
@@ -2465,6 +3316,26 @@ export declare namespace SubscriptionUpdateParams {
2465
3316
  namespace Bancontact {
2466
3317
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
2467
3318
  }
3319
+ namespace Bizum {
3320
+ interface MandateOptions {
3321
+ /**
3322
+ * Amount to be charged for future payments. Required when `amount_type=fixed`.
3323
+ */
3324
+ amount: number;
3325
+ /**
3326
+ * Indicates the mandate amount type.
3327
+ */
3328
+ amount_type: 'fixed';
3329
+ }
3330
+ }
3331
+ namespace Blik {
3332
+ interface MandateOptions {
3333
+ /**
3334
+ * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
3335
+ */
3336
+ expires_after?: number;
3337
+ }
3338
+ }
2468
3339
  namespace Card {
2469
3340
  interface MandateOptions {
2470
3341
  /**
@@ -2480,7 +3351,7 @@ export declare namespace SubscriptionUpdateParams {
2480
3351
  */
2481
3352
  description?: string;
2482
3353
  }
2483
- type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa';
3354
+ type Network = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'girocard' | 'interac' | 'jcb' | 'link' | 'mastercard' | 'unionpay' | 'unknown' | 'visa' | OtherString;
2484
3355
  type RequestThreeDSecure = 'any' | 'automatic' | 'challenge' | OtherString;
2485
3356
  namespace MandateOptions {
2486
3357
  type AmountType = 'fixed' | 'maximum' | OtherString;
@@ -2590,27 +3461,42 @@ export declare namespace SubscriptionUpdateParams {
2590
3461
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2591
3462
  */
2592
3463
  account_subcategories?: Array<Filters.AccountSubcategory>;
3464
+ /**
3465
+ * ID of the institution to use to filter for selectable accounts.
3466
+ */
3467
+ institution?: string;
2593
3468
  }
2594
- type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
2595
- type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
3469
+ type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
3470
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
2596
3471
  namespace Filters {
2597
3472
  type AccountSubcategory = 'checking' | 'savings' | OtherString;
2598
3473
  }
2599
3474
  }
2600
3475
  }
3476
+ namespace WechatPay {
3477
+ type Client = 'android' | 'ios' | 'mobile_web' | 'web' | OtherString;
3478
+ }
2601
3479
  }
2602
3480
  }
2603
3481
  namespace PendingInvoiceItemInterval {
2604
- type Interval = 'day' | 'month' | 'week' | 'year';
3482
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3483
+ }
3484
+ namespace Prebilling {
3485
+ type UpdateBehavior = 'prebill' | 'reset' | OtherString;
2605
3486
  }
2606
3487
  namespace TrialSettings {
2607
3488
  interface EndBehavior {
3489
+ /**
3490
+ * Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
3491
+ */
3492
+ billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
2608
3493
  /**
2609
3494
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
2610
3495
  */
2611
3496
  missing_payment_method: EndBehavior.MissingPaymentMethod;
2612
3497
  }
2613
3498
  namespace EndBehavior {
3499
+ type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
2614
3500
  type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause' | OtherString;
2615
3501
  }
2616
3502
  }
@@ -2620,6 +3506,10 @@ export interface SubscriptionListParams extends PaginationParams {
2620
3506
  * Filter subscriptions by their automatic tax settings.
2621
3507
  */
2622
3508
  automatic_tax?: SubscriptionListParams.AutomaticTax;
3509
+ /**
3510
+ * Filter for subscriptions that have the specified billing cadence.
3511
+ */
3512
+ billing_cadence?: string;
2623
3513
  /**
2624
3514
  * The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.
2625
3515
  */
@@ -2672,9 +3562,19 @@ export declare namespace SubscriptionListParams {
2672
3562
  */
2673
3563
  enabled: boolean;
2674
3564
  }
2675
- type CollectionMethod = 'charge_automatically' | 'send_invoice';
3565
+ type CollectionMethod = 'charge_automatically' | 'send_invoice' | OtherString;
2676
3566
  type Status = 'active' | 'all' | 'canceled' | 'ended' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid' | OtherString;
2677
3567
  }
3568
+ export interface SubscriptionAttachCadenceParams {
3569
+ /**
3570
+ * The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
3571
+ */
3572
+ billing_cadence: string;
3573
+ /**
3574
+ * Specifies which fields in the response should be expanded.
3575
+ */
3576
+ expand?: Array<string>;
3577
+ }
2678
3578
  export interface SubscriptionCancelParams {
2679
3579
  /**
2680
3580
  * Details about why this subscription was cancelled
@@ -2739,7 +3639,58 @@ export declare namespace SubscriptionMigrateParams {
2739
3639
  proration_discounts?: Flexible.ProrationDiscounts;
2740
3640
  }
2741
3641
  namespace Flexible {
2742
- type ProrationDiscounts = 'included' | 'itemized';
3642
+ type ProrationDiscounts = 'included' | 'itemized' | OtherString;
3643
+ }
3644
+ }
3645
+ }
3646
+ export interface SubscriptionPauseParams {
3647
+ /**
3648
+ * Controls what to bill for when pausing the subscription.
3649
+ */
3650
+ bill_for?: SubscriptionPauseParams.BillFor;
3651
+ /**
3652
+ * Specifies which fields in the response should be expanded.
3653
+ */
3654
+ expand?: Array<string>;
3655
+ /**
3656
+ * Determines how to handle debits and credits when pausing. Defaults to `pending_invoice_item`.
3657
+ */
3658
+ invoicing_behavior?: SubscriptionPauseParams.InvoicingBehavior;
3659
+ /**
3660
+ * The type of pause to apply. Defaults to `subscription`.
3661
+ */
3662
+ type?: 'subscription';
3663
+ }
3664
+ export declare namespace SubscriptionPauseParams {
3665
+ interface BillFor {
3666
+ /**
3667
+ * Controls when to bill for metered usage in the current period. Defaults to `{ type: "now" }`.
3668
+ */
3669
+ outstanding_usage_through?: BillFor.OutstandingUsageThrough;
3670
+ /**
3671
+ * Controls when to credit for unused time on licensed items. Defaults to `{ type: "now" }`.
3672
+ */
3673
+ unused_time_from?: BillFor.UnusedTimeFrom;
3674
+ }
3675
+ type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
3676
+ namespace BillFor {
3677
+ interface OutstandingUsageThrough {
3678
+ /**
3679
+ * When to bill metered usage in the current period.
3680
+ */
3681
+ type: OutstandingUsageThrough.Type;
3682
+ }
3683
+ interface UnusedTimeFrom {
3684
+ /**
3685
+ * When to credit for unused time.
3686
+ */
3687
+ type: UnusedTimeFrom.Type;
3688
+ }
3689
+ namespace OutstandingUsageThrough {
3690
+ type Type = 'none' | 'now' | OtherString;
3691
+ }
3692
+ namespace UnusedTimeFrom {
3693
+ type Type = 'item_current_period_start' | 'none' | 'now' | OtherString;
2743
3694
  }
2744
3695
  }
2745
3696
  }
@@ -2752,6 +3703,10 @@ export interface SubscriptionResumeParams {
2752
3703
  * Specifies which fields in the response should be expanded.
2753
3704
  */
2754
3705
  expand?: Array<string>;
3706
+ /**
3707
+ * 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`.
3708
+ */
3709
+ payment_behavior?: SubscriptionResumeParams.PaymentBehavior;
2755
3710
  /**
2756
3711
  * 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`.
2757
3712
  */
@@ -2763,6 +3718,7 @@ export interface SubscriptionResumeParams {
2763
3718
  }
2764
3719
  export declare namespace SubscriptionResumeParams {
2765
3720
  type BillingCycleAnchor = 'now' | 'unchanged' | OtherString;
3721
+ type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success' | OtherString;
2766
3722
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
2767
3723
  }
2768
3724
  export interface SubscriptionSearchParams {
@@ -2783,3 +3739,15 @@ export interface SubscriptionSearchParams {
2783
3739
  */
2784
3740
  page?: string;
2785
3741
  }
3742
+ export interface SubscriptionSerializeBatchCancelParams {
3743
+ }
3744
+ export interface SubscriptionSerializeBatchCreateParams {
3745
+ }
3746
+ export interface SubscriptionSerializeBatchMigrateParams {
3747
+ }
3748
+ export interface SubscriptionSerializeBatchPauseParams {
3749
+ }
3750
+ export interface SubscriptionSerializeBatchResumeParams {
3751
+ }
3752
+ export interface SubscriptionSerializeBatchUpdateParams {
3753
+ }