stripe 22.2.0 → 22.3.0-alpha.1

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 (1405) hide show
  1. package/CHANGELOG.md +2722 -74
  2. package/README.md +57 -65
  3. package/VERSION +1 -1
  4. package/cjs/Error.d.ts +53 -0
  5. package/cjs/Error.js +134 -1
  6. package/cjs/Error.js.map +1 -1
  7. package/cjs/RequestSender.d.ts +0 -1
  8. package/cjs/RequestSender.js +0 -8
  9. package/cjs/RequestSender.js.map +1 -1
  10. package/cjs/StripeEventNotificationHandler.d.ts +19 -0
  11. package/cjs/StripeEventNotificationHandler.js +470 -0
  12. package/cjs/StripeEventNotificationHandler.js.map +1 -0
  13. package/cjs/Types.d.ts +4 -2
  14. package/cjs/apiVersion.d.ts +1 -2
  15. package/cjs/apiVersion.js +2 -3
  16. package/cjs/apiVersion.js.map +1 -1
  17. package/cjs/resources/AccountLinks.d.ts +5 -1
  18. package/cjs/resources/AccountNotices.d.ts +140 -0
  19. package/cjs/resources/AccountNotices.js +29 -0
  20. package/cjs/resources/AccountNotices.js.map +1 -0
  21. package/cjs/resources/AccountSessions.d.ts +463 -0
  22. package/cjs/resources/AccountSessions.js.map +1 -1
  23. package/cjs/resources/AccountSignals.d.ts +110 -0
  24. package/cjs/resources/AccountSignals.js +4 -0
  25. package/cjs/resources/AccountSignals.js.map +1 -0
  26. package/cjs/resources/Accounts.d.ts +1010 -6
  27. package/cjs/resources/Accounts.js +47 -0
  28. package/cjs/resources/Accounts.js.map +1 -1
  29. package/cjs/resources/ApplicationFees.d.ts +28 -1
  30. package/cjs/resources/Balance.d.ts +134 -0
  31. package/cjs/resources/BalanceSettings.d.ts +18 -0
  32. package/cjs/resources/BalanceTransactions.d.ts +1 -1
  33. package/cjs/resources/BalanceTransfers.d.ts +160 -0
  34. package/cjs/resources/BalanceTransfers.js +15 -0
  35. package/cjs/resources/BalanceTransfers.js.map +1 -0
  36. package/cjs/resources/BankAccounts.d.ts +2 -2
  37. package/cjs/resources/Billing/AlertRecovereds.d.ts +40 -0
  38. package/cjs/resources/Billing/AlertRecovereds.js +4 -0
  39. package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
  40. package/cjs/resources/Billing/AlertTriggereds.d.ts +57 -1
  41. package/cjs/resources/Billing/Alerts.d.ts +408 -5
  42. package/cjs/resources/Billing/Alerts.js +321 -5
  43. package/cjs/resources/Billing/Alerts.js.map +1 -1
  44. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
  45. package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
  46. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  47. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  48. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
  49. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  50. package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
  51. package/cjs/resources/Billing/Analytics/index.js +13 -0
  52. package/cjs/resources/Billing/Analytics/index.js.map +1 -0
  53. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +126 -2
  54. package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
  55. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  56. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  57. package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
  58. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  59. package/cjs/resources/Billing/CreditGrants.d.ts +85 -3
  60. package/cjs/resources/Billing/CreditGrants.js +134 -5
  61. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  62. package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
  63. package/cjs/resources/Billing/Meters.d.ts +31 -0
  64. package/cjs/resources/Billing/index.d.ts +6 -0
  65. package/cjs/resources/Billing/index.js +2 -0
  66. package/cjs/resources/Billing/index.js.map +1 -1
  67. package/cjs/resources/Capabilities.d.ts +25 -2
  68. package/cjs/resources/Capital/FinancingOffers.d.ts +191 -0
  69. package/cjs/resources/Capital/FinancingOffers.js +30 -0
  70. package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
  71. package/cjs/resources/Capital/FinancingSummary.d.ts +98 -0
  72. package/cjs/resources/Capital/FinancingSummary.js +15 -0
  73. package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
  74. package/cjs/resources/Capital/FinancingTransactions.d.ts +143 -0
  75. package/cjs/resources/Capital/FinancingTransactions.js +24 -0
  76. package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
  77. package/cjs/resources/Capital/index.d.ts +25 -0
  78. package/cjs/resources/Capital/index.js +17 -0
  79. package/cjs/resources/Capital/index.js.map +1 -0
  80. package/cjs/resources/Cards.d.ts +15 -0
  81. package/cjs/resources/Charges.d.ts +3513 -70
  82. package/cjs/resources/Charges.js.map +1 -1
  83. package/cjs/resources/Checkout/Sessions.d.ts +792 -9
  84. package/cjs/resources/Checkout/Sessions.js +88 -0
  85. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  86. package/cjs/resources/Checkout/index.d.ts +1 -0
  87. package/cjs/resources/ConfirmationTokens.d.ts +130 -1
  88. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  89. package/cjs/resources/Coupons.d.ts +128 -2
  90. package/cjs/resources/Coupons.js +41 -0
  91. package/cjs/resources/Coupons.js.map +1 -1
  92. package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
  93. package/cjs/resources/CreditNotes.d.ts +7 -1
  94. package/cjs/resources/CreditNotes.js +13 -0
  95. package/cjs/resources/CreditNotes.js.map +1 -1
  96. package/cjs/resources/CustomerSessions.d.ts +74 -0
  97. package/cjs/resources/CustomerSessions.js +13 -0
  98. package/cjs/resources/CustomerSessions.js.map +1 -1
  99. package/cjs/resources/Customers.d.ts +85 -1
  100. package/cjs/resources/Customers.js +195 -0
  101. package/cjs/resources/Customers.js.map +1 -1
  102. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1405 -0
  103. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +39 -0
  104. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  105. package/cjs/resources/DelegatedCheckout/index.d.ts +16 -0
  106. package/cjs/resources/DelegatedCheckout/index.js +13 -0
  107. package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
  108. package/cjs/resources/Discounts.d.ts +19 -0
  109. package/cjs/resources/Disputes.d.ts +43 -0
  110. package/cjs/resources/Disputes.js +14 -0
  111. package/cjs/resources/Disputes.js.map +1 -1
  112. package/cjs/resources/Events.d.ts +573 -2
  113. package/cjs/resources/ExternalAccounts.d.ts +212 -1
  114. package/cjs/resources/ExternalAccounts.js +44 -0
  115. package/cjs/resources/ExternalAccounts.js.map +1 -1
  116. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  117. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
  118. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  119. package/cjs/resources/FinancialConnections/Accounts.d.ts +74 -4
  120. package/cjs/resources/FinancialConnections/Accounts.js +8 -0
  121. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  122. package/cjs/resources/FinancialConnections/Authorizations.d.ts +87 -0
  123. package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
  124. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
  125. package/cjs/resources/FinancialConnections/Institutions.d.ts +101 -0
  126. package/cjs/resources/FinancialConnections/Institutions.js +23 -0
  127. package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
  128. package/cjs/resources/FinancialConnections/Sessions.d.ts +155 -7
  129. package/cjs/resources/FinancialConnections/index.d.ts +21 -6
  130. package/cjs/resources/FinancialConnections/index.js +4 -0
  131. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  132. package/cjs/resources/FrMealVouchersOnboardings.d.ts +173 -0
  133. package/cjs/resources/FrMealVouchersOnboardings.js +42 -0
  134. package/cjs/resources/FrMealVouchersOnboardings.js.map +1 -0
  135. package/cjs/resources/FxQuotes.d.ts +212 -0
  136. package/cjs/resources/FxQuotes.js +29 -0
  137. package/cjs/resources/FxQuotes.js.map +1 -0
  138. package/cjs/resources/Identity/BlocklistEntries.d.ts +157 -0
  139. package/cjs/resources/Identity/BlocklistEntries.js +54 -0
  140. package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
  141. package/cjs/resources/Identity/VerificationReports.d.ts +33 -2
  142. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  143. package/cjs/resources/Identity/VerificationSessions.d.ts +11 -3
  144. package/cjs/resources/Identity/index.d.ts +18 -10
  145. package/cjs/resources/Identity/index.js +2 -0
  146. package/cjs/resources/Identity/index.js.map +1 -1
  147. package/cjs/resources/InvoiceItems.d.ts +203 -2
  148. package/cjs/resources/InvoiceItems.js +41 -0
  149. package/cjs/resources/InvoiceItems.js.map +1 -1
  150. package/cjs/resources/InvoiceLineItems.d.ts +174 -4
  151. package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
  152. package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
  153. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  154. package/cjs/resources/Invoices.d.ts +2063 -20
  155. package/cjs/resources/Invoices.js +221 -0
  156. package/cjs/resources/Invoices.js.map +1 -1
  157. package/cjs/resources/Issuing/Authorizations.d.ts +273 -0
  158. package/cjs/resources/Issuing/Cardholders.d.ts +5 -4
  159. package/cjs/resources/Issuing/Cards.d.ts +36 -0
  160. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
  161. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
  162. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  163. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
  164. package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
  165. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  166. package/cjs/resources/Issuing/Disputes.d.ts +190 -0
  167. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  168. package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
  169. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  170. package/cjs/resources/Issuing/Programs.d.ts +95 -0
  171. package/cjs/resources/Issuing/Programs.js +35 -0
  172. package/cjs/resources/Issuing/Programs.js.map +1 -0
  173. package/cjs/resources/Issuing/Settlements.d.ts +85 -0
  174. package/cjs/resources/Issuing/Settlements.js +4 -0
  175. package/cjs/resources/Issuing/Settlements.js.map +1 -0
  176. package/cjs/resources/Issuing/Transactions.d.ts +157 -0
  177. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  178. package/cjs/resources/Issuing/index.d.ts +55 -22
  179. package/cjs/resources/Issuing/index.js +8 -0
  180. package/cjs/resources/Issuing/index.js.map +1 -1
  181. package/cjs/resources/LineItems.d.ts +29 -2
  182. package/cjs/resources/Mandates.d.ts +33 -1
  183. package/cjs/resources/Mandates.js +8 -0
  184. package/cjs/resources/Mandates.js.map +1 -1
  185. package/cjs/resources/Margins.d.ts +115 -0
  186. package/cjs/resources/Margins.js +35 -0
  187. package/cjs/resources/Margins.js.map +1 -0
  188. package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  189. package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
  190. package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
  191. package/cjs/resources/Orchestration/index.d.ts +12 -0
  192. package/cjs/resources/Orchestration/index.js +13 -0
  193. package/cjs/resources/Orchestration/index.js.map +1 -0
  194. package/cjs/resources/Orders.d.ts +4761 -0
  195. package/cjs/resources/Orders.js +457 -0
  196. package/cjs/resources/Orders.js.map +1 -0
  197. package/cjs/resources/PaymentAttemptRecords.d.ts +453 -1
  198. package/cjs/resources/PaymentAttemptRecords.js +42 -0
  199. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  200. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
  201. package/cjs/resources/PaymentIntents.d.ts +16623 -3576
  202. package/cjs/resources/PaymentIntents.js +40 -0
  203. package/cjs/resources/PaymentIntents.js.map +1 -1
  204. package/cjs/resources/PaymentLinks.d.ts +74 -12
  205. package/cjs/resources/PaymentLocationCapabilities.d.ts +122 -0
  206. package/cjs/resources/PaymentLocationCapabilities.js +29 -0
  207. package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
  208. package/cjs/resources/PaymentLocations.d.ts +178 -0
  209. package/cjs/resources/PaymentLocations.js +41 -0
  210. package/cjs/resources/PaymentLocations.js.map +1 -0
  211. package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
  212. package/cjs/resources/PaymentMethodBalances.js +4 -0
  213. package/cjs/resources/PaymentMethodBalances.js.map +1 -0
  214. package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
  215. package/cjs/resources/PaymentMethods.d.ts +262 -3
  216. package/cjs/resources/PaymentMethods.js +20 -0
  217. package/cjs/resources/PaymentMethods.js.map +1 -1
  218. package/cjs/resources/PaymentRecords.d.ts +351 -21
  219. package/cjs/resources/PaymentRecords.js.map +1 -1
  220. package/cjs/resources/Persons.d.ts +24 -2
  221. package/cjs/resources/Plans.d.ts +16 -0
  222. package/cjs/resources/Prices.d.ts +76 -0
  223. package/cjs/resources/Prices.js +27 -0
  224. package/cjs/resources/Prices.js.map +1 -1
  225. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
  226. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
  227. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  228. package/cjs/resources/Privacy/RedactionJobs.d.ts +229 -0
  229. package/cjs/resources/Privacy/RedactionJobs.js +73 -0
  230. package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
  231. package/cjs/resources/Privacy/index.d.ts +22 -0
  232. package/cjs/resources/Privacy/index.js +13 -0
  233. package/cjs/resources/Privacy/index.js.map +1 -0
  234. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +127 -0
  235. package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
  236. package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
  237. package/cjs/resources/ProductCatalog/index.d.ts +12 -0
  238. package/cjs/resources/ProductCatalog/index.js +13 -0
  239. package/cjs/resources/ProductCatalog/index.js.map +1 -0
  240. package/cjs/resources/Products.d.ts +171 -0
  241. package/cjs/resources/Products.js +69 -0
  242. package/cjs/resources/Products.js.map +1 -1
  243. package/cjs/resources/Profiles.d.ts +26 -0
  244. package/cjs/resources/Profiles.js +4 -0
  245. package/cjs/resources/Profiles.js.map +1 -0
  246. package/cjs/resources/PromotionCodes.d.ts +12 -0
  247. package/cjs/resources/PromotionCodes.js +27 -0
  248. package/cjs/resources/PromotionCodes.js.map +1 -1
  249. package/cjs/resources/QuoteLines.d.ts +684 -0
  250. package/cjs/resources/QuoteLines.js +4 -0
  251. package/cjs/resources/QuoteLines.js.map +1 -0
  252. package/cjs/resources/QuotePreviewInvoices.d.ts +1173 -0
  253. package/cjs/resources/QuotePreviewInvoices.js +4 -0
  254. package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
  255. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +901 -0
  256. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
  257. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  258. package/cjs/resources/Quotes.d.ts +3548 -254
  259. package/cjs/resources/Quotes.js +1184 -16
  260. package/cjs/resources/Quotes.js.map +1 -1
  261. package/cjs/resources/Radar/AccountEvaluations.d.ts +270 -0
  262. package/cjs/resources/Radar/AccountEvaluations.js +27 -0
  263. package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
  264. package/cjs/resources/Radar/CustomerEvaluations.d.ts +214 -0
  265. package/cjs/resources/Radar/CustomerEvaluations.js +21 -0
  266. package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
  267. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
  268. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
  269. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  270. package/cjs/resources/Radar/PaymentEvaluations.d.ts +63 -1
  271. package/cjs/resources/Radar/ValueListItems.d.ts +8 -0
  272. package/cjs/resources/Radar/ValueListItems.js +13 -0
  273. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  274. package/cjs/resources/Radar/index.d.ts +34 -16
  275. package/cjs/resources/Radar/index.js +6 -0
  276. package/cjs/resources/Radar/index.js.map +1 -1
  277. package/cjs/resources/Refunds.d.ts +23 -0
  278. package/cjs/resources/Refunds.js +27 -0
  279. package/cjs/resources/Refunds.js.map +1 -1
  280. package/cjs/resources/Reserve/Holds.d.ts +53 -1
  281. package/cjs/resources/Reserve/Holds.js +19 -0
  282. package/cjs/resources/Reserve/Holds.js.map +1 -1
  283. package/cjs/resources/Reserve/Plans.d.ts +16 -0
  284. package/cjs/resources/Reserve/Plans.js +11 -0
  285. package/cjs/resources/Reserve/Plans.js.map +1 -1
  286. package/cjs/resources/Reserve/Releases.d.ts +41 -1
  287. package/cjs/resources/Reserve/Releases.js +19 -0
  288. package/cjs/resources/Reserve/Releases.js.map +1 -1
  289. package/cjs/resources/Reserve/index.d.ts +14 -3
  290. package/cjs/resources/Reserve/index.js +10 -2
  291. package/cjs/resources/Reserve/index.js.map +1 -1
  292. package/cjs/resources/RiskSignals.d.ts +10 -0
  293. package/cjs/resources/RiskSignals.js +4 -0
  294. package/cjs/resources/RiskSignals.js.map +1 -0
  295. package/cjs/resources/SetupAttempts.d.ts +26 -1
  296. package/cjs/resources/SetupIntents.d.ts +561 -11
  297. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1137 -0
  298. package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
  299. package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
  300. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +322 -0
  301. package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
  302. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
  303. package/cjs/resources/SharedPayment/index.d.ts +19 -0
  304. package/cjs/resources/SharedPayment/index.js +15 -0
  305. package/cjs/resources/SharedPayment/index.js.map +1 -0
  306. package/cjs/resources/Sources.d.ts +16 -1
  307. package/cjs/resources/SubscriptionItems.d.ts +265 -0
  308. package/cjs/resources/SubscriptionItems.js +41 -0
  309. package/cjs/resources/SubscriptionItems.js.map +1 -1
  310. package/cjs/resources/SubscriptionSchedules.d.ts +1949 -19
  311. package/cjs/resources/SubscriptionSchedules.js +61 -0
  312. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  313. package/cjs/resources/Subscriptions.d.ts +965 -12
  314. package/cjs/resources/Subscriptions.js +289 -0
  315. package/cjs/resources/Subscriptions.js.map +1 -1
  316. package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
  317. package/cjs/resources/Tax/Calculations.d.ts +7 -3
  318. package/cjs/resources/Tax/Forms.d.ts +230 -0
  319. package/cjs/resources/Tax/Forms.js +32 -0
  320. package/cjs/resources/Tax/Forms.js.map +1 -0
  321. package/cjs/resources/Tax/Locations.d.ts +108 -0
  322. package/cjs/resources/Tax/Locations.js +33 -0
  323. package/cjs/resources/Tax/Locations.js.map +1 -0
  324. package/cjs/resources/Tax/Registrations.d.ts +171 -2
  325. package/cjs/resources/Tax/Registrations.js +27 -0
  326. package/cjs/resources/Tax/Registrations.js.map +1 -1
  327. package/cjs/resources/Tax/Settings.d.ts +8 -0
  328. package/cjs/resources/Tax/Settings.js +13 -0
  329. package/cjs/resources/Tax/Settings.js.map +1 -1
  330. package/cjs/resources/Tax/Transactions.d.ts +10 -2
  331. package/cjs/resources/Tax/Transactions.js +13 -0
  332. package/cjs/resources/Tax/Transactions.js.map +1 -1
  333. package/cjs/resources/Tax/index.d.ts +27 -13
  334. package/cjs/resources/Tax/index.js +4 -0
  335. package/cjs/resources/Tax/index.js.map +1 -1
  336. package/cjs/resources/TaxCodes.d.ts +15 -0
  337. package/cjs/resources/TaxIds.d.ts +6 -0
  338. package/cjs/resources/TaxIds.js +13 -0
  339. package/cjs/resources/TaxIds.js.map +1 -1
  340. package/cjs/resources/TaxRates.d.ts +12 -0
  341. package/cjs/resources/TaxRates.js +27 -0
  342. package/cjs/resources/TaxRates.js.map +1 -1
  343. package/cjs/resources/Terminal/Configurations.d.ts +27 -0
  344. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +52 -0
  345. package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
  346. package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
  347. package/cjs/resources/Terminal/Readers.d.ts +17 -1
  348. package/cjs/resources/Terminal/index.d.ts +5 -0
  349. package/cjs/resources/Terminal/index.js +2 -0
  350. package/cjs/resources/Terminal/index.js.map +1 -1
  351. package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
  352. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
  353. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  354. package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
  355. package/cjs/resources/TestHelpers/Capital/index.js +13 -0
  356. package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
  357. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +88 -1
  358. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
  359. package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +104 -0
  360. package/cjs/resources/TestHelpers/Issuing/Disputes.js +33 -0
  361. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
  362. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
  363. package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
  364. package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
  365. package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
  366. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +36 -0
  367. package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
  368. package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
  369. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
  370. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
  371. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  372. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  373. package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
  374. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  375. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  376. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  377. package/cjs/resources/TestHelpers/index.d.ts +14 -6
  378. package/cjs/resources/TestHelpers/index.js +12 -6
  379. package/cjs/resources/TestHelpers/index.js.map +1 -1
  380. package/cjs/resources/Tokens.d.ts +56 -0
  381. package/cjs/resources/Transfers.d.ts +12 -0
  382. package/cjs/resources/Transfers.js.map +1 -1
  383. package/cjs/resources/TransitBalances.d.ts +25 -0
  384. package/cjs/resources/TransitBalances.js +4 -0
  385. package/cjs/resources/TransitBalances.js.map +1 -0
  386. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  387. package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
  388. package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
  389. package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
  390. package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
  391. package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
  392. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
  393. package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
  394. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  395. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  396. package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
  397. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  398. package/cjs/resources/V2/Billing/BillSettings.d.ts +284 -0
  399. package/cjs/resources/V2/Billing/BillSettings.js +41 -0
  400. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
  401. package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +88 -0
  402. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
  403. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  404. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  405. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
  406. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  407. package/cjs/resources/V2/Billing/Cadences.d.ts +1015 -0
  408. package/cjs/resources/V2/Billing/Cadences.js +264 -0
  409. package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
  410. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
  411. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
  412. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  413. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  414. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
  415. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  416. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  417. package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
  418. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
  419. package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  420. package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
  421. package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  422. package/cjs/resources/V2/Billing/IntentActions.d.ts +607 -0
  423. package/cjs/resources/V2/Billing/IntentActions.js +4 -0
  424. package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
  425. package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  426. package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
  427. package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
  428. package/cjs/resources/V2/Billing/Intents.d.ts +1257 -0
  429. package/cjs/resources/V2/Billing/Intents.js +87 -0
  430. package/cjs/resources/V2/Billing/Intents.js.map +1 -0
  431. package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
  432. package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
  433. package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  434. package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  435. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
  436. package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  437. package/cjs/resources/V2/Billing/LicenseFees.d.ts +364 -0
  438. package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
  439. package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
  440. package/cjs/resources/V2/Billing/LicensedItems.d.ts +174 -0
  441. package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
  442. package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
  443. package/cjs/resources/V2/Billing/MeteredItems.d.ts +222 -0
  444. package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
  445. package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
  446. package/cjs/resources/V2/Billing/OneTimeItems.d.ts +174 -0
  447. package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
  448. package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
  449. package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
  450. package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
  451. package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  452. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
  453. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
  454. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  455. package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  456. package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
  457. package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  458. package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  459. package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
  460. package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  461. package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  462. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
  463. package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  464. package/cjs/resources/V2/Billing/PricingPlans.d.ts +173 -0
  465. package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
  466. package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
  467. package/cjs/resources/V2/Billing/Profiles.d.ts +166 -0
  468. package/cjs/resources/V2/Billing/Profiles.js +35 -0
  469. package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
  470. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  471. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
  472. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  473. package/cjs/resources/V2/Billing/RateCardRates.d.ts +115 -0
  474. package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
  475. package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
  476. package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
  477. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
  478. package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  479. package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  480. package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
  481. package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
  482. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  483. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
  484. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  485. package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  486. package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
  487. package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  488. package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  489. package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
  490. package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  491. package/cjs/resources/V2/Billing/RateCards.d.ts +340 -0
  492. package/cjs/resources/V2/Billing/RateCards.js +76 -0
  493. package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
  494. package/cjs/resources/V2/Billing/ServiceActions.d.ts +514 -0
  495. package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
  496. package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
  497. package/cjs/resources/V2/Billing/index.d.ts +161 -6
  498. package/cjs/resources/V2/Billing/index.js +30 -0
  499. package/cjs/resources/V2/Billing/index.js.map +1 -1
  500. package/cjs/resources/V2/Core/AccountEvaluations.d.ts +160 -0
  501. package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
  502. package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
  503. package/cjs/resources/V2/Core/AccountLinks.d.ts +158 -6
  504. package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
  505. package/cjs/resources/V2/Core/AccountTokens.d.ts +220 -2
  506. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  507. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  508. package/cjs/resources/V2/Core/Accounts.d.ts +5551 -58
  509. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +334 -0
  510. package/cjs/resources/V2/Core/ApprovalRequests.js +46 -0
  511. package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
  512. package/cjs/resources/V2/Core/BatchJobs.d.ts +373 -0
  513. package/cjs/resources/V2/Core/BatchJobs.js +225 -0
  514. package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
  515. package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
  516. package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
  517. package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  518. package/cjs/resources/V2/Core/ConnectionSessions.d.ts +90 -0
  519. package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
  520. package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
  521. package/cjs/resources/V2/Core/Events.d.ts +7586 -232
  522. package/cjs/resources/V2/Core/FeeBatches.d.ts +172 -0
  523. package/cjs/resources/V2/Core/FeeBatches.js +23 -0
  524. package/cjs/resources/V2/Core/FeeBatches.js.map +1 -0
  525. package/cjs/resources/V2/Core/FeeEntries.d.ts +178 -0
  526. package/cjs/resources/V2/Core/FeeEntries.js +23 -0
  527. package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
  528. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
  529. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
  530. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  531. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
  532. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +62 -0
  533. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  534. package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
  535. package/cjs/resources/V2/Core/Vault/index.js +15 -0
  536. package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
  537. package/cjs/resources/V2/Core/index.d.ts +63 -14
  538. package/cjs/resources/V2/Core/index.js +16 -0
  539. package/cjs/resources/V2/Core/index.js.map +1 -1
  540. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
  541. package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
  542. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  543. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
  544. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
  545. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  546. package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
  547. package/cjs/resources/V2/Data/Analytics/index.js +13 -0
  548. package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
  549. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -0
  550. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
  551. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  552. package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
  553. package/cjs/resources/V2/Data/Reporting/index.js +13 -0
  554. package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
  555. package/cjs/resources/V2/Data/index.d.ts +13 -0
  556. package/cjs/resources/V2/Data/index.js +15 -0
  557. package/cjs/resources/V2/Data/index.js.map +1 -0
  558. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
  559. package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
  560. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  561. package/cjs/resources/V2/Extend/Workflows.d.ts +123 -0
  562. package/cjs/resources/V2/Extend/Workflows.js +30 -0
  563. package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
  564. package/cjs/resources/V2/Extend/index.d.ts +20 -0
  565. package/cjs/resources/V2/Extend/index.js +15 -0
  566. package/cjs/resources/V2/Extend/index.js.map +1 -0
  567. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  568. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
  569. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  570. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  571. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
  572. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  573. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +214 -0
  574. package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
  575. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
  576. package/cjs/resources/V2/Iam/ApiKeys.d.ts +280 -0
  577. package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
  578. package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
  579. package/cjs/resources/V2/Iam/index.d.ts +23 -0
  580. package/cjs/resources/V2/Iam/index.js +15 -0
  581. package/cjs/resources/V2/Iam/index.js.map +1 -0
  582. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
  583. package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
  584. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  585. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
  586. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
  587. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  588. package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +171 -0
  589. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
  590. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
  591. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +103 -0
  592. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +4 -0
  593. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
  594. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +44 -0
  595. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
  596. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
  597. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +417 -0
  598. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +50 -0
  599. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  600. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
  601. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
  602. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  603. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
  604. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
  605. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  606. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
  607. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
  608. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  609. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
  610. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
  611. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  612. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +321 -0
  613. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
  614. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  615. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
  616. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
  617. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  618. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
  619. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
  620. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  621. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
  622. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
  623. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  624. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +458 -0
  625. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
  626. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  627. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +251 -0
  628. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
  629. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  630. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +120 -0
  631. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
  632. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  633. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +249 -0
  634. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
  635. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  636. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +280 -0
  637. package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
  638. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  639. package/cjs/resources/V2/MoneyManagement/index.d.ts +128 -0
  640. package/cjs/resources/V2/MoneyManagement/index.js +45 -0
  641. package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
  642. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +96 -0
  643. package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
  644. package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
  645. package/cjs/resources/V2/Network/index.d.ts +13 -0
  646. package/cjs/resources/V2/Network/index.js +13 -0
  647. package/cjs/resources/V2/Network/index.js.map +1 -0
  648. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
  649. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
  650. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  651. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  652. package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
  653. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  654. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +827 -0
  655. package/cjs/resources/V2/Payments/OffSessionPayments.js +53 -0
  656. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  657. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
  658. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
  659. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  660. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  661. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
  662. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  663. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
  664. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
  665. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  666. package/cjs/resources/V2/Payments/index.d.ts +31 -0
  667. package/cjs/resources/V2/Payments/index.js +15 -0
  668. package/cjs/resources/V2/Payments/index.js.map +1 -0
  669. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +173 -0
  670. package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
  671. package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
  672. package/cjs/resources/V2/Reporting/Reports.d.ts +110 -0
  673. package/cjs/resources/V2/Reporting/Reports.js +17 -0
  674. package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
  675. package/cjs/resources/V2/Reporting/index.d.ts +18 -0
  676. package/cjs/resources/V2/Reporting/index.js +15 -0
  677. package/cjs/resources/V2/Reporting/index.js.map +1 -0
  678. package/cjs/resources/V2/Tax/ManualRules.d.ts +335 -0
  679. package/cjs/resources/V2/Tax/ManualRules.js +193 -0
  680. package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
  681. package/cjs/resources/V2/Tax/index.d.ts +16 -0
  682. package/cjs/resources/V2/Tax/index.js +13 -0
  683. package/cjs/resources/V2/Tax/index.js.map +1 -0
  684. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  685. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
  686. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  687. package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  688. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
  689. package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  690. package/cjs/resources/V2/TestHelpers/index.d.ts +10 -0
  691. package/cjs/resources/V2/TestHelpers/index.js +15 -0
  692. package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
  693. package/cjs/resources/V2/index.d.ts +36 -0
  694. package/cjs/resources/V2/index.js +20 -0
  695. package/cjs/resources/V2/index.js.map +1 -1
  696. package/cjs/resources/WebhookEndpoints.d.ts +2 -2
  697. package/cjs/resources.d.ts +16 -0
  698. package/cjs/resources.js +248 -14
  699. package/cjs/resources.js.map +1 -1
  700. package/cjs/stripe.core.d.ts +115 -50
  701. package/cjs/stripe.core.js +67 -31
  702. package/cjs/stripe.core.js.map +1 -1
  703. package/esm/Error.d.ts +53 -0
  704. package/esm/Error.js +117 -0
  705. package/esm/Error.js.map +1 -1
  706. package/esm/RequestSender.d.ts +0 -1
  707. package/esm/RequestSender.js +0 -8
  708. package/esm/RequestSender.js.map +1 -1
  709. package/esm/StripeEventNotificationHandler.d.ts +19 -0
  710. package/esm/StripeEventNotificationHandler.js +466 -0
  711. package/esm/StripeEventNotificationHandler.js.map +1 -0
  712. package/esm/Types.d.ts +4 -2
  713. package/esm/apiVersion.d.ts +1 -2
  714. package/esm/apiVersion.js +1 -2
  715. package/esm/apiVersion.js.map +1 -1
  716. package/esm/resources/AccountLinks.d.ts +5 -1
  717. package/esm/resources/AccountNotices.d.ts +140 -0
  718. package/esm/resources/AccountNotices.js +25 -0
  719. package/esm/resources/AccountNotices.js.map +1 -0
  720. package/esm/resources/AccountSessions.d.ts +463 -0
  721. package/esm/resources/AccountSessions.js.map +1 -1
  722. package/esm/resources/AccountSignals.d.ts +110 -0
  723. package/esm/resources/AccountSignals.js +3 -0
  724. package/esm/resources/AccountSignals.js.map +1 -0
  725. package/esm/resources/Accounts.d.ts +1010 -6
  726. package/esm/resources/Accounts.js +47 -0
  727. package/esm/resources/Accounts.js.map +1 -1
  728. package/esm/resources/ApplicationFees.d.ts +28 -1
  729. package/esm/resources/Balance.d.ts +134 -0
  730. package/esm/resources/BalanceSettings.d.ts +18 -0
  731. package/esm/resources/BalanceTransactions.d.ts +1 -1
  732. package/esm/resources/BalanceTransfers.d.ts +160 -0
  733. package/esm/resources/BalanceTransfers.js +11 -0
  734. package/esm/resources/BalanceTransfers.js.map +1 -0
  735. package/esm/resources/BankAccounts.d.ts +2 -2
  736. package/esm/resources/Billing/AlertRecovereds.d.ts +40 -0
  737. package/esm/resources/Billing/AlertRecovereds.js +3 -0
  738. package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
  739. package/esm/resources/Billing/AlertTriggereds.d.ts +57 -1
  740. package/esm/resources/Billing/Alerts.d.ts +408 -5
  741. package/esm/resources/Billing/Alerts.js +321 -5
  742. package/esm/resources/Billing/Alerts.js.map +1 -1
  743. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
  744. package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
  745. package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  746. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  747. package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
  748. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  749. package/esm/resources/Billing/Analytics/index.d.ts +15 -0
  750. package/esm/resources/Billing/Analytics/index.js +9 -0
  751. package/esm/resources/Billing/Analytics/index.js.map +1 -0
  752. package/esm/resources/Billing/CreditBalanceSummary.d.ts +126 -2
  753. package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
  754. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  755. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  756. package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
  757. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  758. package/esm/resources/Billing/CreditGrants.d.ts +85 -3
  759. package/esm/resources/Billing/CreditGrants.js +134 -5
  760. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  761. package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
  762. package/esm/resources/Billing/Meters.d.ts +31 -0
  763. package/esm/resources/Billing/index.d.ts +6 -0
  764. package/esm/resources/Billing/index.js +2 -0
  765. package/esm/resources/Billing/index.js.map +1 -1
  766. package/esm/resources/Capabilities.d.ts +25 -2
  767. package/esm/resources/Capital/FinancingOffers.d.ts +191 -0
  768. package/esm/resources/Capital/FinancingOffers.js +26 -0
  769. package/esm/resources/Capital/FinancingOffers.js.map +1 -0
  770. package/esm/resources/Capital/FinancingSummary.d.ts +98 -0
  771. package/esm/resources/Capital/FinancingSummary.js +11 -0
  772. package/esm/resources/Capital/FinancingSummary.js.map +1 -0
  773. package/esm/resources/Capital/FinancingTransactions.d.ts +143 -0
  774. package/esm/resources/Capital/FinancingTransactions.js +20 -0
  775. package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
  776. package/esm/resources/Capital/index.d.ts +25 -0
  777. package/esm/resources/Capital/index.js +13 -0
  778. package/esm/resources/Capital/index.js.map +1 -0
  779. package/esm/resources/Cards.d.ts +15 -0
  780. package/esm/resources/Charges.d.ts +3513 -70
  781. package/esm/resources/Charges.js.map +1 -1
  782. package/esm/resources/Checkout/Sessions.d.ts +792 -9
  783. package/esm/resources/Checkout/Sessions.js +88 -0
  784. package/esm/resources/Checkout/Sessions.js.map +1 -1
  785. package/esm/resources/Checkout/index.d.ts +1 -0
  786. package/esm/resources/ConfirmationTokens.d.ts +130 -1
  787. package/esm/resources/ConfirmationTokens.js.map +1 -1
  788. package/esm/resources/Coupons.d.ts +128 -2
  789. package/esm/resources/Coupons.js +41 -0
  790. package/esm/resources/Coupons.js.map +1 -1
  791. package/esm/resources/CreditNoteLineItems.d.ts +15 -1
  792. package/esm/resources/CreditNotes.d.ts +7 -1
  793. package/esm/resources/CreditNotes.js +13 -0
  794. package/esm/resources/CreditNotes.js.map +1 -1
  795. package/esm/resources/CustomerSessions.d.ts +74 -0
  796. package/esm/resources/CustomerSessions.js +13 -0
  797. package/esm/resources/CustomerSessions.js.map +1 -1
  798. package/esm/resources/Customers.d.ts +85 -1
  799. package/esm/resources/Customers.js +195 -0
  800. package/esm/resources/Customers.js.map +1 -1
  801. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1405 -0
  802. package/esm/resources/DelegatedCheckout/RequestedSessions.js +35 -0
  803. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  804. package/esm/resources/DelegatedCheckout/index.d.ts +16 -0
  805. package/esm/resources/DelegatedCheckout/index.js +9 -0
  806. package/esm/resources/DelegatedCheckout/index.js.map +1 -0
  807. package/esm/resources/Discounts.d.ts +19 -0
  808. package/esm/resources/Disputes.d.ts +43 -0
  809. package/esm/resources/Disputes.js +14 -0
  810. package/esm/resources/Disputes.js.map +1 -1
  811. package/esm/resources/Events.d.ts +573 -2
  812. package/esm/resources/ExternalAccounts.d.ts +212 -1
  813. package/esm/resources/ExternalAccounts.js +42 -1
  814. package/esm/resources/ExternalAccounts.js.map +1 -1
  815. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  816. package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
  817. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  818. package/esm/resources/FinancialConnections/Accounts.d.ts +74 -4
  819. package/esm/resources/FinancialConnections/Accounts.js +8 -0
  820. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  821. package/esm/resources/FinancialConnections/Authorizations.d.ts +87 -0
  822. package/esm/resources/FinancialConnections/Authorizations.js +11 -0
  823. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
  824. package/esm/resources/FinancialConnections/Institutions.d.ts +101 -0
  825. package/esm/resources/FinancialConnections/Institutions.js +19 -0
  826. package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
  827. package/esm/resources/FinancialConnections/Sessions.d.ts +155 -7
  828. package/esm/resources/FinancialConnections/index.d.ts +21 -6
  829. package/esm/resources/FinancialConnections/index.js +4 -0
  830. package/esm/resources/FinancialConnections/index.js.map +1 -1
  831. package/esm/resources/FrMealVouchersOnboardings.d.ts +173 -0
  832. package/esm/resources/FrMealVouchersOnboardings.js +38 -0
  833. package/esm/resources/FrMealVouchersOnboardings.js.map +1 -0
  834. package/esm/resources/FxQuotes.d.ts +212 -0
  835. package/esm/resources/FxQuotes.js +25 -0
  836. package/esm/resources/FxQuotes.js.map +1 -0
  837. package/esm/resources/Identity/BlocklistEntries.d.ts +157 -0
  838. package/esm/resources/Identity/BlocklistEntries.js +50 -0
  839. package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
  840. package/esm/resources/Identity/VerificationReports.d.ts +33 -2
  841. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  842. package/esm/resources/Identity/VerificationSessions.d.ts +11 -3
  843. package/esm/resources/Identity/index.d.ts +18 -10
  844. package/esm/resources/Identity/index.js +2 -0
  845. package/esm/resources/Identity/index.js.map +1 -1
  846. package/esm/resources/InvoiceItems.d.ts +203 -2
  847. package/esm/resources/InvoiceItems.js +41 -0
  848. package/esm/resources/InvoiceItems.js.map +1 -1
  849. package/esm/resources/InvoiceLineItems.d.ts +174 -4
  850. package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
  851. package/esm/resources/InvoiceRenderingTemplates.js +28 -0
  852. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  853. package/esm/resources/Invoices.d.ts +2063 -20
  854. package/esm/resources/Invoices.js +221 -0
  855. package/esm/resources/Invoices.js.map +1 -1
  856. package/esm/resources/Issuing/Authorizations.d.ts +273 -0
  857. package/esm/resources/Issuing/Cardholders.d.ts +5 -4
  858. package/esm/resources/Issuing/Cards.d.ts +36 -0
  859. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
  860. package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
  861. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  862. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
  863. package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
  864. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  865. package/esm/resources/Issuing/Disputes.d.ts +190 -0
  866. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  867. package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
  868. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  869. package/esm/resources/Issuing/Programs.d.ts +95 -0
  870. package/esm/resources/Issuing/Programs.js +31 -0
  871. package/esm/resources/Issuing/Programs.js.map +1 -0
  872. package/esm/resources/Issuing/Settlements.d.ts +85 -0
  873. package/esm/resources/Issuing/Settlements.js +3 -0
  874. package/esm/resources/Issuing/Settlements.js.map +1 -0
  875. package/esm/resources/Issuing/Transactions.d.ts +157 -0
  876. package/esm/resources/Issuing/Transactions.js.map +1 -1
  877. package/esm/resources/Issuing/index.d.ts +55 -22
  878. package/esm/resources/Issuing/index.js +8 -0
  879. package/esm/resources/Issuing/index.js.map +1 -1
  880. package/esm/resources/LineItems.d.ts +29 -2
  881. package/esm/resources/Mandates.d.ts +33 -1
  882. package/esm/resources/Mandates.js +8 -0
  883. package/esm/resources/Mandates.js.map +1 -1
  884. package/esm/resources/Margins.d.ts +115 -0
  885. package/esm/resources/Margins.js +31 -0
  886. package/esm/resources/Margins.js.map +1 -0
  887. package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  888. package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
  889. package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
  890. package/esm/resources/Orchestration/index.d.ts +12 -0
  891. package/esm/resources/Orchestration/index.js +9 -0
  892. package/esm/resources/Orchestration/index.js.map +1 -0
  893. package/esm/resources/Orders.d.ts +4761 -0
  894. package/esm/resources/Orders.js +453 -0
  895. package/esm/resources/Orders.js.map +1 -0
  896. package/esm/resources/PaymentAttemptRecords.d.ts +453 -1
  897. package/esm/resources/PaymentAttemptRecords.js +42 -0
  898. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  899. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
  900. package/esm/resources/PaymentIntents.d.ts +16623 -3576
  901. package/esm/resources/PaymentIntents.js +40 -0
  902. package/esm/resources/PaymentIntents.js.map +1 -1
  903. package/esm/resources/PaymentLinks.d.ts +74 -12
  904. package/esm/resources/PaymentLocationCapabilities.d.ts +122 -0
  905. package/esm/resources/PaymentLocationCapabilities.js +25 -0
  906. package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
  907. package/esm/resources/PaymentLocations.d.ts +178 -0
  908. package/esm/resources/PaymentLocations.js +37 -0
  909. package/esm/resources/PaymentLocations.js.map +1 -0
  910. package/esm/resources/PaymentMethodBalances.d.ts +46 -0
  911. package/esm/resources/PaymentMethodBalances.js +3 -0
  912. package/esm/resources/PaymentMethodBalances.js.map +1 -0
  913. package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
  914. package/esm/resources/PaymentMethods.d.ts +262 -3
  915. package/esm/resources/PaymentMethods.js +20 -0
  916. package/esm/resources/PaymentMethods.js.map +1 -1
  917. package/esm/resources/PaymentRecords.d.ts +351 -21
  918. package/esm/resources/PaymentRecords.js.map +1 -1
  919. package/esm/resources/Persons.d.ts +24 -2
  920. package/esm/resources/Plans.d.ts +16 -0
  921. package/esm/resources/Prices.d.ts +76 -0
  922. package/esm/resources/Prices.js +27 -0
  923. package/esm/resources/Prices.js.map +1 -1
  924. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
  925. package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
  926. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  927. package/esm/resources/Privacy/RedactionJobs.d.ts +229 -0
  928. package/esm/resources/Privacy/RedactionJobs.js +69 -0
  929. package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
  930. package/esm/resources/Privacy/index.d.ts +22 -0
  931. package/esm/resources/Privacy/index.js +9 -0
  932. package/esm/resources/Privacy/index.js.map +1 -0
  933. package/esm/resources/ProductCatalog/TrialOffers.d.ts +127 -0
  934. package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
  935. package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
  936. package/esm/resources/ProductCatalog/index.d.ts +12 -0
  937. package/esm/resources/ProductCatalog/index.js +9 -0
  938. package/esm/resources/ProductCatalog/index.js.map +1 -0
  939. package/esm/resources/Products.d.ts +171 -0
  940. package/esm/resources/Products.js +69 -0
  941. package/esm/resources/Products.js.map +1 -1
  942. package/esm/resources/Profiles.d.ts +26 -0
  943. package/esm/resources/Profiles.js +3 -0
  944. package/esm/resources/Profiles.js.map +1 -0
  945. package/esm/resources/PromotionCodes.d.ts +12 -0
  946. package/esm/resources/PromotionCodes.js +27 -0
  947. package/esm/resources/PromotionCodes.js.map +1 -1
  948. package/esm/resources/QuoteLines.d.ts +684 -0
  949. package/esm/resources/QuoteLines.js +3 -0
  950. package/esm/resources/QuoteLines.js.map +1 -0
  951. package/esm/resources/QuotePreviewInvoices.d.ts +1173 -0
  952. package/esm/resources/QuotePreviewInvoices.js +3 -0
  953. package/esm/resources/QuotePreviewInvoices.js.map +1 -0
  954. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +901 -0
  955. package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
  956. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  957. package/esm/resources/Quotes.d.ts +3548 -254
  958. package/esm/resources/Quotes.js +1184 -16
  959. package/esm/resources/Quotes.js.map +1 -1
  960. package/esm/resources/Radar/AccountEvaluations.d.ts +270 -0
  961. package/esm/resources/Radar/AccountEvaluations.js +23 -0
  962. package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
  963. package/esm/resources/Radar/CustomerEvaluations.d.ts +214 -0
  964. package/esm/resources/Radar/CustomerEvaluations.js +17 -0
  965. package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
  966. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
  967. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
  968. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  969. package/esm/resources/Radar/PaymentEvaluations.d.ts +63 -1
  970. package/esm/resources/Radar/ValueListItems.d.ts +8 -0
  971. package/esm/resources/Radar/ValueListItems.js +13 -0
  972. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  973. package/esm/resources/Radar/index.d.ts +34 -16
  974. package/esm/resources/Radar/index.js +6 -0
  975. package/esm/resources/Radar/index.js.map +1 -1
  976. package/esm/resources/Refunds.d.ts +23 -0
  977. package/esm/resources/Refunds.js +27 -0
  978. package/esm/resources/Refunds.js.map +1 -1
  979. package/esm/resources/Reserve/Holds.d.ts +53 -1
  980. package/esm/resources/Reserve/Holds.js +17 -1
  981. package/esm/resources/Reserve/Holds.js.map +1 -1
  982. package/esm/resources/Reserve/Plans.d.ts +16 -0
  983. package/esm/resources/Reserve/Plans.js +9 -1
  984. package/esm/resources/Reserve/Plans.js.map +1 -1
  985. package/esm/resources/Reserve/Releases.d.ts +41 -1
  986. package/esm/resources/Reserve/Releases.js +17 -1
  987. package/esm/resources/Reserve/Releases.js.map +1 -1
  988. package/esm/resources/Reserve/index.d.ts +14 -3
  989. package/esm/resources/Reserve/index.js +10 -2
  990. package/esm/resources/Reserve/index.js.map +1 -1
  991. package/esm/resources/RiskSignals.d.ts +10 -0
  992. package/esm/resources/RiskSignals.js +3 -0
  993. package/esm/resources/RiskSignals.js.map +1 -0
  994. package/esm/resources/SetupAttempts.d.ts +26 -1
  995. package/esm/resources/SetupIntents.d.ts +561 -11
  996. package/esm/resources/SharedPayment/GrantedTokens.d.ts +1137 -0
  997. package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
  998. package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
  999. package/esm/resources/SharedPayment/IssuedTokens.d.ts +322 -0
  1000. package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
  1001. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
  1002. package/esm/resources/SharedPayment/index.d.ts +19 -0
  1003. package/esm/resources/SharedPayment/index.js +11 -0
  1004. package/esm/resources/SharedPayment/index.js.map +1 -0
  1005. package/esm/resources/Sources.d.ts +16 -1
  1006. package/esm/resources/SubscriptionItems.d.ts +265 -0
  1007. package/esm/resources/SubscriptionItems.js +41 -0
  1008. package/esm/resources/SubscriptionItems.js.map +1 -1
  1009. package/esm/resources/SubscriptionSchedules.d.ts +1949 -19
  1010. package/esm/resources/SubscriptionSchedules.js +61 -0
  1011. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  1012. package/esm/resources/Subscriptions.d.ts +965 -12
  1013. package/esm/resources/Subscriptions.js +289 -0
  1014. package/esm/resources/Subscriptions.js.map +1 -1
  1015. package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
  1016. package/esm/resources/Tax/Calculations.d.ts +7 -3
  1017. package/esm/resources/Tax/Forms.d.ts +230 -0
  1018. package/esm/resources/Tax/Forms.js +28 -0
  1019. package/esm/resources/Tax/Forms.js.map +1 -0
  1020. package/esm/resources/Tax/Locations.d.ts +108 -0
  1021. package/esm/resources/Tax/Locations.js +29 -0
  1022. package/esm/resources/Tax/Locations.js.map +1 -0
  1023. package/esm/resources/Tax/Registrations.d.ts +171 -2
  1024. package/esm/resources/Tax/Registrations.js +27 -0
  1025. package/esm/resources/Tax/Registrations.js.map +1 -1
  1026. package/esm/resources/Tax/Settings.d.ts +8 -0
  1027. package/esm/resources/Tax/Settings.js +13 -0
  1028. package/esm/resources/Tax/Settings.js.map +1 -1
  1029. package/esm/resources/Tax/Transactions.d.ts +10 -2
  1030. package/esm/resources/Tax/Transactions.js +13 -0
  1031. package/esm/resources/Tax/Transactions.js.map +1 -1
  1032. package/esm/resources/Tax/index.d.ts +27 -13
  1033. package/esm/resources/Tax/index.js +4 -0
  1034. package/esm/resources/Tax/index.js.map +1 -1
  1035. package/esm/resources/TaxCodes.d.ts +15 -0
  1036. package/esm/resources/TaxIds.d.ts +6 -0
  1037. package/esm/resources/TaxIds.js +13 -0
  1038. package/esm/resources/TaxIds.js.map +1 -1
  1039. package/esm/resources/TaxRates.d.ts +12 -0
  1040. package/esm/resources/TaxRates.js +27 -0
  1041. package/esm/resources/TaxRates.js.map +1 -1
  1042. package/esm/resources/Terminal/Configurations.d.ts +27 -0
  1043. package/esm/resources/Terminal/ReaderCollectedData.d.ts +52 -0
  1044. package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
  1045. package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
  1046. package/esm/resources/Terminal/Readers.d.ts +17 -1
  1047. package/esm/resources/Terminal/index.d.ts +5 -0
  1048. package/esm/resources/Terminal/index.js +2 -0
  1049. package/esm/resources/Terminal/index.js.map +1 -1
  1050. package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
  1051. package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
  1052. package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  1053. package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
  1054. package/esm/resources/TestHelpers/Capital/index.js +9 -0
  1055. package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
  1056. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +88 -1
  1057. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
  1058. package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +104 -0
  1059. package/esm/resources/TestHelpers/Issuing/Disputes.js +29 -0
  1060. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
  1061. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
  1062. package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
  1063. package/esm/resources/TestHelpers/Issuing/index.js +2 -0
  1064. package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
  1065. package/esm/resources/TestHelpers/PaymentIntents.d.ts +36 -0
  1066. package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
  1067. package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
  1068. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
  1069. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
  1070. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  1071. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  1072. package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
  1073. package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  1074. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  1075. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  1076. package/esm/resources/TestHelpers/index.d.ts +14 -6
  1077. package/esm/resources/TestHelpers/index.js +6 -0
  1078. package/esm/resources/TestHelpers/index.js.map +1 -1
  1079. package/esm/resources/Tokens.d.ts +56 -0
  1080. package/esm/resources/Transfers.d.ts +12 -0
  1081. package/esm/resources/Transfers.js.map +1 -1
  1082. package/esm/resources/TransitBalances.d.ts +25 -0
  1083. package/esm/resources/TransitBalances.js +3 -0
  1084. package/esm/resources/TransitBalances.js.map +1 -0
  1085. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  1086. package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
  1087. package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
  1088. package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
  1089. package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
  1090. package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
  1091. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
  1092. package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
  1093. package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  1094. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  1095. package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
  1096. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  1097. package/esm/resources/V2/Billing/BillSettings.d.ts +284 -0
  1098. package/esm/resources/V2/Billing/BillSettings.js +37 -0
  1099. package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
  1100. package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +88 -0
  1101. package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
  1102. package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  1103. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  1104. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
  1105. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  1106. package/esm/resources/V2/Billing/Cadences.d.ts +1015 -0
  1107. package/esm/resources/V2/Billing/Cadences.js +260 -0
  1108. package/esm/resources/V2/Billing/Cadences.js.map +1 -0
  1109. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
  1110. package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
  1111. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  1112. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  1113. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
  1114. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  1115. package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  1116. package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
  1117. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
  1118. package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  1119. package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
  1120. package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  1121. package/esm/resources/V2/Billing/IntentActions.d.ts +607 -0
  1122. package/esm/resources/V2/Billing/IntentActions.js +3 -0
  1123. package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
  1124. package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  1125. package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
  1126. package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
  1127. package/esm/resources/V2/Billing/Intents.d.ts +1257 -0
  1128. package/esm/resources/V2/Billing/Intents.js +83 -0
  1129. package/esm/resources/V2/Billing/Intents.js.map +1 -0
  1130. package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
  1131. package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
  1132. package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  1133. package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  1134. package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
  1135. package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  1136. package/esm/resources/V2/Billing/LicenseFees.d.ts +364 -0
  1137. package/esm/resources/V2/Billing/LicenseFees.js +144 -0
  1138. package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
  1139. package/esm/resources/V2/Billing/LicensedItems.d.ts +174 -0
  1140. package/esm/resources/V2/Billing/LicensedItems.js +31 -0
  1141. package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
  1142. package/esm/resources/V2/Billing/MeteredItems.d.ts +222 -0
  1143. package/esm/resources/V2/Billing/MeteredItems.js +31 -0
  1144. package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
  1145. package/esm/resources/V2/Billing/OneTimeItems.d.ts +174 -0
  1146. package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
  1147. package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
  1148. package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
  1149. package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
  1150. package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  1151. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
  1152. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
  1153. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  1154. package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  1155. package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
  1156. package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  1157. package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  1158. package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
  1159. package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  1160. package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  1161. package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
  1162. package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  1163. package/esm/resources/V2/Billing/PricingPlans.d.ts +173 -0
  1164. package/esm/resources/V2/Billing/PricingPlans.js +39 -0
  1165. package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
  1166. package/esm/resources/V2/Billing/Profiles.d.ts +166 -0
  1167. package/esm/resources/V2/Billing/Profiles.js +31 -0
  1168. package/esm/resources/V2/Billing/Profiles.js.map +1 -0
  1169. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  1170. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
  1171. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  1172. package/esm/resources/V2/Billing/RateCardRates.d.ts +115 -0
  1173. package/esm/resources/V2/Billing/RateCardRates.js +3 -0
  1174. package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
  1175. package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
  1176. package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
  1177. package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  1178. package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  1179. package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
  1180. package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
  1181. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  1182. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
  1183. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  1184. package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  1185. package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
  1186. package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  1187. package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  1188. package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
  1189. package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  1190. package/esm/resources/V2/Billing/RateCards.d.ts +340 -0
  1191. package/esm/resources/V2/Billing/RateCards.js +72 -0
  1192. package/esm/resources/V2/Billing/RateCards.js.map +1 -0
  1193. package/esm/resources/V2/Billing/ServiceActions.d.ts +514 -0
  1194. package/esm/resources/V2/Billing/ServiceActions.js +158 -0
  1195. package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
  1196. package/esm/resources/V2/Billing/index.d.ts +161 -6
  1197. package/esm/resources/V2/Billing/index.js +30 -0
  1198. package/esm/resources/V2/Billing/index.js.map +1 -1
  1199. package/esm/resources/V2/Core/AccountEvaluations.d.ts +160 -0
  1200. package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
  1201. package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
  1202. package/esm/resources/V2/Core/AccountLinks.d.ts +158 -6
  1203. package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
  1204. package/esm/resources/V2/Core/AccountTokens.d.ts +220 -2
  1205. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  1206. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  1207. package/esm/resources/V2/Core/Accounts.d.ts +5551 -58
  1208. package/esm/resources/V2/Core/ApprovalRequests.d.ts +334 -0
  1209. package/esm/resources/V2/Core/ApprovalRequests.js +42 -0
  1210. package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
  1211. package/esm/resources/V2/Core/BatchJobs.d.ts +373 -0
  1212. package/esm/resources/V2/Core/BatchJobs.js +221 -0
  1213. package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
  1214. package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
  1215. package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
  1216. package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  1217. package/esm/resources/V2/Core/ConnectionSessions.d.ts +90 -0
  1218. package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
  1219. package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
  1220. package/esm/resources/V2/Core/Events.d.ts +7586 -232
  1221. package/esm/resources/V2/Core/FeeBatches.d.ts +172 -0
  1222. package/esm/resources/V2/Core/FeeBatches.js +19 -0
  1223. package/esm/resources/V2/Core/FeeBatches.js.map +1 -0
  1224. package/esm/resources/V2/Core/FeeEntries.d.ts +178 -0
  1225. package/esm/resources/V2/Core/FeeEntries.js +19 -0
  1226. package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
  1227. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
  1228. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
  1229. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  1230. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
  1231. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +58 -0
  1232. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  1233. package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
  1234. package/esm/resources/V2/Core/Vault/index.js +11 -0
  1235. package/esm/resources/V2/Core/Vault/index.js.map +1 -0
  1236. package/esm/resources/V2/Core/index.d.ts +63 -14
  1237. package/esm/resources/V2/Core/index.js +16 -0
  1238. package/esm/resources/V2/Core/index.js.map +1 -1
  1239. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
  1240. package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
  1241. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  1242. package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
  1243. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
  1244. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  1245. package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
  1246. package/esm/resources/V2/Data/Analytics/index.js +9 -0
  1247. package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
  1248. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -0
  1249. package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
  1250. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  1251. package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
  1252. package/esm/resources/V2/Data/Reporting/index.js +9 -0
  1253. package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
  1254. package/esm/resources/V2/Data/index.d.ts +13 -0
  1255. package/esm/resources/V2/Data/index.js +11 -0
  1256. package/esm/resources/V2/Data/index.js.map +1 -0
  1257. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
  1258. package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
  1259. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  1260. package/esm/resources/V2/Extend/Workflows.d.ts +123 -0
  1261. package/esm/resources/V2/Extend/Workflows.js +26 -0
  1262. package/esm/resources/V2/Extend/Workflows.js.map +1 -0
  1263. package/esm/resources/V2/Extend/index.d.ts +20 -0
  1264. package/esm/resources/V2/Extend/index.js +11 -0
  1265. package/esm/resources/V2/Extend/index.js.map +1 -0
  1266. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  1267. package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
  1268. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  1269. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  1270. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
  1271. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  1272. package/esm/resources/V2/Iam/ActivityLogs.d.ts +214 -0
  1273. package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
  1274. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
  1275. package/esm/resources/V2/Iam/ApiKeys.d.ts +280 -0
  1276. package/esm/resources/V2/Iam/ApiKeys.js +43 -0
  1277. package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
  1278. package/esm/resources/V2/Iam/index.d.ts +23 -0
  1279. package/esm/resources/V2/Iam/index.js +11 -0
  1280. package/esm/resources/V2/Iam/index.js.map +1 -0
  1281. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
  1282. package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
  1283. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  1284. package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
  1285. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
  1286. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  1287. package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +171 -0
  1288. package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
  1289. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
  1290. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +103 -0
  1291. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +3 -0
  1292. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
  1293. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +44 -0
  1294. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
  1295. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
  1296. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +417 -0
  1297. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +46 -0
  1298. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  1299. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
  1300. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
  1301. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  1302. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
  1303. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
  1304. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  1305. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
  1306. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
  1307. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  1308. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
  1309. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
  1310. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  1311. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +321 -0
  1312. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
  1313. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  1314. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
  1315. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
  1316. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  1317. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
  1318. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
  1319. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  1320. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
  1321. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
  1322. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  1323. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +458 -0
  1324. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
  1325. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  1326. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +251 -0
  1327. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
  1328. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  1329. package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +120 -0
  1330. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
  1331. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  1332. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +249 -0
  1333. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
  1334. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  1335. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +280 -0
  1336. package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
  1337. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  1338. package/esm/resources/V2/MoneyManagement/index.d.ts +128 -0
  1339. package/esm/resources/V2/MoneyManagement/index.js +41 -0
  1340. package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
  1341. package/esm/resources/V2/Network/BusinessProfiles.d.ts +96 -0
  1342. package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
  1343. package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
  1344. package/esm/resources/V2/Network/index.d.ts +13 -0
  1345. package/esm/resources/V2/Network/index.js +9 -0
  1346. package/esm/resources/V2/Network/index.js.map +1 -0
  1347. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
  1348. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
  1349. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  1350. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  1351. package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
  1352. package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  1353. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +827 -0
  1354. package/esm/resources/V2/Payments/OffSessionPayments.js +49 -0
  1355. package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  1356. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
  1357. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
  1358. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  1359. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  1360. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
  1361. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  1362. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
  1363. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
  1364. package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  1365. package/esm/resources/V2/Payments/index.d.ts +31 -0
  1366. package/esm/resources/V2/Payments/index.js +11 -0
  1367. package/esm/resources/V2/Payments/index.js.map +1 -0
  1368. package/esm/resources/V2/Reporting/ReportRuns.d.ts +173 -0
  1369. package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
  1370. package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
  1371. package/esm/resources/V2/Reporting/Reports.d.ts +110 -0
  1372. package/esm/resources/V2/Reporting/Reports.js +13 -0
  1373. package/esm/resources/V2/Reporting/Reports.js.map +1 -0
  1374. package/esm/resources/V2/Reporting/index.d.ts +18 -0
  1375. package/esm/resources/V2/Reporting/index.js +11 -0
  1376. package/esm/resources/V2/Reporting/index.js.map +1 -0
  1377. package/esm/resources/V2/Tax/ManualRules.d.ts +335 -0
  1378. package/esm/resources/V2/Tax/ManualRules.js +189 -0
  1379. package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
  1380. package/esm/resources/V2/Tax/index.d.ts +16 -0
  1381. package/esm/resources/V2/Tax/index.js +9 -0
  1382. package/esm/resources/V2/Tax/index.js.map +1 -0
  1383. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  1384. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
  1385. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  1386. package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  1387. package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
  1388. package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  1389. package/esm/resources/V2/TestHelpers/index.d.ts +10 -0
  1390. package/esm/resources/V2/TestHelpers/index.js +11 -0
  1391. package/esm/resources/V2/TestHelpers/index.js.map +1 -0
  1392. package/esm/resources/V2/index.d.ts +36 -0
  1393. package/esm/resources/V2/index.js +20 -0
  1394. package/esm/resources/V2/index.js.map +1 -1
  1395. package/esm/resources/WebhookEndpoints.d.ts +2 -2
  1396. package/esm/resources.d.ts +16 -0
  1397. package/esm/resources.js +225 -0
  1398. package/esm/resources.js.map +1 -1
  1399. package/esm/stripe.core.d.ts +115 -50
  1400. package/esm/stripe.core.js +37 -1
  1401. package/esm/stripe.core.js.map +1 -1
  1402. package/esm/stripe.esm.node.d.ts +115 -50
  1403. package/esm/stripe.esm.node.js +37 -1
  1404. package/esm/stripe.esm.node.js.map +1 -1
  1405. package/package.json +1 -1
@@ -77,14 +77,46 @@ export declare class SubscriptionResource extends StripeResource {
77
77
  * to an hour behind during outages. Search functionality is not available to merchants in India.
78
78
  */
79
79
  search(params: SubscriptionSearchParams, options?: RequestOptions): ApiSearchResultPromise<Subscription>;
80
+ /**
81
+ * 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.
82
+ */
83
+ attachCadence(id: string, params: SubscriptionAttachCadenceParams, options?: RequestOptions): Promise<Response<Subscription>>;
80
84
  /**
81
85
  * Upgrade the billing_mode of an existing subscription.
82
86
  */
83
87
  migrate(id: string, params: SubscriptionMigrateParams, options?: RequestOptions): Promise<Response<Subscription>>;
88
+ /**
89
+ * 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.
90
+ */
91
+ pause(id: string, params?: SubscriptionPauseParams, options?: RequestOptions): Promise<Response<Subscription>>;
84
92
  /**
85
93
  * 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
94
  */
87
95
  resume(id: string, params?: SubscriptionResumeParams, options?: RequestOptions): Promise<Response<Subscription>>;
96
+ serializeBatchCancel(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
97
+ apiVersion?: string;
98
+ stripeContext?: string;
99
+ }): string;
100
+ serializeBatchUpdate(subscriptionExposedId: string, params?: Record<string, unknown>, options?: {
101
+ apiVersion?: string;
102
+ stripeContext?: string;
103
+ }): string;
104
+ serializeBatchCreate(params?: Record<string, unknown>, options?: {
105
+ apiVersion?: string;
106
+ stripeContext?: string;
107
+ }): string;
108
+ serializeBatchMigrate(subscription: string, params?: Record<string, unknown>, options?: {
109
+ apiVersion?: string;
110
+ stripeContext?: string;
111
+ }): string;
112
+ serializeBatchPause(subscription: string, params?: Record<string, unknown>, options?: {
113
+ apiVersion?: string;
114
+ stripeContext?: string;
115
+ }): string;
116
+ serializeBatchResume(subscription: string, params?: Record<string, unknown>, options?: {
117
+ apiVersion?: string;
118
+ stripeContext?: string;
119
+ }): string;
88
120
  }
89
121
  export interface Subscription {
90
122
  /**
@@ -104,6 +136,10 @@ export interface Subscription {
104
136
  */
105
137
  application_fee_percent: number | null;
106
138
  automatic_tax: Subscription.AutomaticTax;
139
+ /**
140
+ * 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.
141
+ */
142
+ billing_cadence?: string;
107
143
  /**
108
144
  * 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
145
  */
@@ -193,6 +229,10 @@ export interface Subscription {
193
229
  * List of subscription items, each with an attached price.
194
230
  */
195
231
  items: ApiList<SubscriptionItem>;
232
+ /**
233
+ * Details of the most recent price migration that failed for the subscription.
234
+ */
235
+ last_price_migration_error?: Subscription.LastPriceMigrationError | null;
196
236
  /**
197
237
  * The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).
198
238
  */
@@ -237,6 +277,10 @@ export interface Subscription {
237
277
  * 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
278
  */
239
279
  pending_update: Subscription.PendingUpdate | null;
280
+ /**
281
+ * Time period and invoice for a Subscription billed in advance.
282
+ */
283
+ prebilling?: Subscription.Prebilling | null;
240
284
  presentment_details?: Subscription.PresentmentDetails;
241
285
  /**
242
286
  * The schedule attached to the subscription
@@ -260,6 +304,10 @@ export interface Subscription {
260
304
  * 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
305
  */
262
306
  status: Subscription.Status;
307
+ /**
308
+ * Describes changes to the subscription's status.
309
+ */
310
+ status_details?: Subscription.StatusDetails;
263
311
  /**
264
312
  * ID of the test clock this subscription belongs to.
265
313
  */
@@ -378,6 +426,20 @@ export declare namespace Subscription {
378
426
  account_tax_ids: Array<string | TaxId | DeletedTaxId> | null;
379
427
  issuer: InvoiceSettings.Issuer;
380
428
  }
429
+ interface LastPriceMigrationError {
430
+ /**
431
+ * The time at which the price migration encountered an error.
432
+ */
433
+ errored_at: number;
434
+ /**
435
+ * The involved price pairs in each failed transition.
436
+ */
437
+ failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
438
+ /**
439
+ * The type of error encountered by the price migration.
440
+ */
441
+ type: 'price_uniqueness_violation';
442
+ }
381
443
  interface ManagedPayments {
382
444
  /**
383
445
  * Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
@@ -439,6 +501,10 @@ export declare namespace Subscription {
439
501
  * 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.
440
502
  */
441
503
  metadata: Metadata | null;
504
+ /**
505
+ * The number of iterations of prebilling to apply.
506
+ */
507
+ prebilling_iterations?: number | null;
442
508
  /**
443
509
  * List of subscription items, each with an attached plan, that will be set if the update is applied.
444
510
  */
@@ -452,6 +518,24 @@ export declare namespace Subscription {
452
518
  */
453
519
  trial_from_plan: boolean | null;
454
520
  }
521
+ interface Prebilling {
522
+ /**
523
+ * ID of the prebilling invoice.
524
+ */
525
+ invoice: string | Invoice;
526
+ /**
527
+ * The end of the last period for which the invoice pre-bills.
528
+ */
529
+ period_end: number;
530
+ /**
531
+ * The start of the first period for which the invoice pre-bills.
532
+ */
533
+ period_start: number;
534
+ /**
535
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
536
+ */
537
+ update_behavior?: Prebilling.UpdateBehavior;
538
+ }
455
539
  interface PresentmentDetails {
456
540
  /**
457
541
  * Currency used for customer payments.
@@ -459,6 +543,12 @@ export declare namespace Subscription {
459
543
  presentment_currency: string;
460
544
  }
461
545
  type Status = 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid';
546
+ interface StatusDetails {
547
+ /**
548
+ * Indicates when and why the subscription transitioned to the paused status.
549
+ */
550
+ paused: StatusDetails.Paused;
551
+ }
462
552
  interface TransferData {
463
553
  /**
464
554
  * 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.
@@ -487,7 +577,7 @@ export declare namespace Subscription {
487
577
  type: Liability.Type;
488
578
  }
489
579
  namespace Liability {
490
- type Type = 'account' | 'self';
580
+ type Type = 'account' | 'application' | 'self';
491
581
  }
492
582
  }
493
583
  namespace BillingMode {
@@ -564,7 +654,19 @@ export declare namespace Subscription {
564
654
  type: Issuer.Type;
565
655
  }
566
656
  namespace Issuer {
567
- type Type = 'account' | 'self';
657
+ type Type = 'account' | 'application' | 'self';
658
+ }
659
+ }
660
+ namespace LastPriceMigrationError {
661
+ interface FailedTransition {
662
+ /**
663
+ * The original price to be migrated.
664
+ */
665
+ source_price: string;
666
+ /**
667
+ * The intended resulting price of the migration.
668
+ */
669
+ target_price: string;
568
670
  }
569
671
  }
570
672
  namespace PauseCollection {
@@ -580,14 +682,30 @@ export declare namespace Subscription {
580
682
  * This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
581
683
  */
582
684
  bancontact: PaymentMethodOptions.Bancontact | null;
685
+ /**
686
+ * This sub-hash contains details about the Bizum payment method options to pass to invoices created by the subscription.
687
+ */
688
+ bizum?: PaymentMethodOptions.Bizum | null;
689
+ /**
690
+ * This sub-hash contains details about the Blik payment method options to pass to invoices created by the subscription.
691
+ */
692
+ blik?: PaymentMethodOptions.Blik | null;
583
693
  /**
584
694
  * This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
585
695
  */
586
696
  card: PaymentMethodOptions.Card | null;
697
+ /**
698
+ * This sub-hash contains details about the Check Scan payment method options to pass to invoices created by the subscription.
699
+ */
700
+ check_scan?: PaymentMethodOptions.CheckScan | null;
587
701
  /**
588
702
  * This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
589
703
  */
590
704
  customer_balance: PaymentMethodOptions.CustomerBalance | null;
705
+ /**
706
+ * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
707
+ */
708
+ id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
591
709
  /**
592
710
  * This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
593
711
  */
@@ -612,8 +730,12 @@ export declare namespace Subscription {
612
730
  * This sub-hash contains details about the ACH direct debit payment method options to pass to invoices created by the subscription.
613
731
  */
614
732
  us_bank_account: PaymentMethodOptions.UsBankAccount | null;
733
+ /**
734
+ * This sub-hash contains details about the WeChat Pay payment method options to pass to invoices created by the subscription.
735
+ */
736
+ wechat_pay?: PaymentMethodOptions.WechatPay | null;
615
737
  }
616
- type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | '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' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
738
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | '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' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
617
739
  type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
618
740
  namespace PaymentMethodOptions {
619
741
  interface AcssDebit {
@@ -629,6 +751,12 @@ export declare namespace Subscription {
629
751
  */
630
752
  preferred_language: Bancontact.PreferredLanguage;
631
753
  }
754
+ interface Bizum {
755
+ mandate_options?: Bizum.MandateOptions;
756
+ }
757
+ interface Blik {
758
+ mandate_options?: Blik.MandateOptions;
759
+ }
632
760
  interface Card {
633
761
  mandate_options?: Card.MandateOptions;
634
762
  /**
@@ -640,6 +768,8 @@ export declare namespace Subscription {
640
768
  */
641
769
  request_three_d_secure: Card.RequestThreeDSecure | null;
642
770
  }
771
+ interface CheckScan {
772
+ }
643
773
  interface CustomerBalance {
644
774
  bank_transfer?: CustomerBalance.BankTransfer;
645
775
  /**
@@ -647,6 +777,8 @@ export declare namespace Subscription {
647
777
  */
648
778
  funding_type: 'bank_transfer' | null;
649
779
  }
780
+ interface IdBankTransfer {
781
+ }
650
782
  interface Konbini {
651
783
  }
652
784
  interface Payto {
@@ -671,6 +803,16 @@ export declare namespace Subscription {
671
803
  */
672
804
  verification_method?: UsBankAccount.VerificationMethod;
673
805
  }
806
+ interface WechatPay {
807
+ /**
808
+ * The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
809
+ */
810
+ app_id?: string;
811
+ /**
812
+ * The client type that the end customer will pay from.
813
+ */
814
+ client?: WechatPay.Client;
815
+ }
674
816
  namespace AcssDebit {
675
817
  interface MandateOptions {
676
818
  /**
@@ -686,6 +828,26 @@ export declare namespace Subscription {
686
828
  namespace Bancontact {
687
829
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
688
830
  }
831
+ namespace Bizum {
832
+ interface MandateOptions {
833
+ /**
834
+ * Amount to be charged for future payments. Required when `amount_type=fixed`.
835
+ */
836
+ amount?: number;
837
+ /**
838
+ * Indicates the mandate amount type.
839
+ */
840
+ amount_type?: 'fixed';
841
+ }
842
+ }
843
+ namespace Blik {
844
+ interface MandateOptions {
845
+ /**
846
+ * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
847
+ */
848
+ expires_after: number | null;
849
+ }
850
+ }
689
851
  namespace Card {
690
852
  interface MandateOptions {
691
853
  /**
@@ -813,27 +975,69 @@ export declare namespace Subscription {
813
975
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
814
976
  */
815
977
  account_subcategories?: Array<Filters.AccountSubcategory>;
978
+ /**
979
+ * The institution to use to filter for possible accounts to link.
980
+ */
981
+ institution?: string;
816
982
  }
817
983
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
818
- type Prefetch = 'balances' | 'ownership' | 'transactions';
984
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
819
985
  namespace Filters {
820
986
  type AccountSubcategory = 'checking' | 'savings';
821
987
  }
822
988
  }
823
989
  }
990
+ namespace WechatPay {
991
+ type Client = 'android' | 'ios' | 'mobile_web' | 'web';
992
+ }
824
993
  }
825
994
  }
826
995
  namespace PendingInvoiceItemInterval {
827
996
  type Interval = 'day' | 'month' | 'week' | 'year';
828
997
  }
998
+ namespace Prebilling {
999
+ type UpdateBehavior = 'prebill' | 'reset';
1000
+ }
1001
+ namespace StatusDetails {
1002
+ interface Paused {
1003
+ /**
1004
+ * Information on the `type=subscription` pause.
1005
+ */
1006
+ subscription: Paused.Subscription;
1007
+ /**
1008
+ * Unix timestamp in seconds of when the subscription status transitioned to `paused`.
1009
+ */
1010
+ transitioned_at: number;
1011
+ /**
1012
+ * The type of pause.
1013
+ */
1014
+ type: 'subscription';
1015
+ }
1016
+ namespace Paused {
1017
+ interface Subscription {
1018
+ /**
1019
+ * The reason that the subscription was paused.
1020
+ */
1021
+ type: Subscription.Type;
1022
+ }
1023
+ namespace Subscription {
1024
+ type Type = 'pause_requested' | 'system' | 'trial_end_without_payment_method';
1025
+ }
1026
+ }
1027
+ }
829
1028
  namespace TrialSettings {
830
1029
  interface EndBehavior {
1030
+ /**
1031
+ * Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
1032
+ */
1033
+ billing_cycle_anchor?: EndBehavior.BillingCycleAnchor | null;
831
1034
  /**
832
1035
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
833
1036
  */
834
1037
  missing_payment_method: EndBehavior.MissingPaymentMethod;
835
1038
  }
836
1039
  namespace EndBehavior {
1040
+ type BillingCycleAnchor = 'now' | 'unchanged';
837
1041
  type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
838
1042
  }
839
1043
  }
@@ -855,6 +1059,10 @@ export interface SubscriptionCreateParams {
855
1059
  * 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.
856
1060
  */
857
1061
  backdate_start_date?: number;
1062
+ /**
1063
+ * 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.
1064
+ */
1065
+ billing_cadence?: string;
858
1066
  /**
859
1067
  * 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.
860
1068
  */
@@ -959,6 +1167,10 @@ export interface SubscriptionCreateParams {
959
1167
  * 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.
960
1168
  */
961
1169
  pending_invoice_item_interval?: Emptyable<SubscriptionCreateParams.PendingInvoiceItemInterval>;
1170
+ /**
1171
+ * If specified, the invoicing for the given billing cycle iterations will be processed now.
1172
+ */
1173
+ prebilling?: SubscriptionCreateParams.Prebilling;
962
1174
  /**
963
1175
  * 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`.
964
1176
  */
@@ -1096,10 +1308,18 @@ export declare namespace SubscriptionCreateParams {
1096
1308
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1097
1309
  */
1098
1310
  discount?: string;
1311
+ /**
1312
+ * Details to determine how long the discount should be applied for.
1313
+ */
1314
+ discount_end?: Discount.DiscountEnd;
1099
1315
  /**
1100
1316
  * ID of the promotion code to create a new discount for.
1101
1317
  */
1102
1318
  promotion_code?: string;
1319
+ /**
1320
+ * Settings for discount application including service period anchoring.
1321
+ */
1322
+ settings?: Discount.Settings;
1103
1323
  }
1104
1324
  interface InvoiceSettings {
1105
1325
  /**
@@ -1116,6 +1336,10 @@ export declare namespace SubscriptionCreateParams {
1116
1336
  * 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.
1117
1337
  */
1118
1338
  billing_thresholds?: Emptyable<Item.BillingThresholds>;
1339
+ /**
1340
+ * The trial offer to apply to this subscription item.
1341
+ */
1342
+ current_trial?: Item.CurrentTrial;
1119
1343
  /**
1120
1344
  * The coupons to redeem into discounts for the subscription item.
1121
1345
  */
@@ -1144,6 +1368,10 @@ export declare namespace SubscriptionCreateParams {
1144
1368
  * 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.
1145
1369
  */
1146
1370
  tax_rates?: Emptyable<Array<string>>;
1371
+ /**
1372
+ * Define options to configure the trial on the subscription item.
1373
+ */
1374
+ trial?: Item.Trial;
1147
1375
  }
1148
1376
  type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete';
1149
1377
  interface PaymentSettings {
@@ -1170,6 +1398,16 @@ export declare namespace SubscriptionCreateParams {
1170
1398
  */
1171
1399
  interval_count?: number;
1172
1400
  }
1401
+ interface Prebilling {
1402
+ /**
1403
+ * This is used to determine the number of billing cycles to prebill.
1404
+ */
1405
+ iterations: number;
1406
+ /**
1407
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
1408
+ */
1409
+ update_behavior?: Prebilling.UpdateBehavior;
1410
+ }
1173
1411
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
1174
1412
  interface TransferData {
1175
1413
  /**
@@ -1197,6 +1435,10 @@ export declare namespace SubscriptionCreateParams {
1197
1435
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1198
1436
  */
1199
1437
  discount?: string;
1438
+ /**
1439
+ * Details to determine how long the discount should be applied for.
1440
+ */
1441
+ discount_end?: Discount.DiscountEnd;
1200
1442
  /**
1201
1443
  * ID of the promotion code to create a new discount for.
1202
1444
  */
@@ -1234,6 +1476,38 @@ export declare namespace SubscriptionCreateParams {
1234
1476
  */
1235
1477
  unit_amount_decimal?: Decimal;
1236
1478
  }
1479
+ namespace Discount {
1480
+ interface DiscountEnd {
1481
+ /**
1482
+ * Time span for the redeemed discount.
1483
+ */
1484
+ duration?: DiscountEnd.Duration;
1485
+ /**
1486
+ * A precise Unix timestamp for the discount to end. Must be in the future.
1487
+ */
1488
+ timestamp?: number;
1489
+ /**
1490
+ * The type of calculation made to determine when the discount ends.
1491
+ */
1492
+ type: DiscountEnd.Type;
1493
+ }
1494
+ namespace DiscountEnd {
1495
+ interface Duration {
1496
+ /**
1497
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1498
+ */
1499
+ interval: Duration.Interval;
1500
+ /**
1501
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1502
+ */
1503
+ interval_count: number;
1504
+ }
1505
+ type Type = 'duration' | 'timestamp';
1506
+ namespace Duration {
1507
+ type Interval = 'day' | 'month' | 'week' | 'year';
1508
+ }
1509
+ }
1510
+ }
1237
1511
  namespace Period {
1238
1512
  interface End {
1239
1513
  /**
@@ -1278,7 +1552,7 @@ export declare namespace SubscriptionCreateParams {
1278
1552
  type: Liability.Type;
1279
1553
  }
1280
1554
  namespace Liability {
1281
- type Type = 'account' | 'self';
1555
+ type Type = 'account' | 'application' | 'self';
1282
1556
  }
1283
1557
  }
1284
1558
  namespace BillingMode {
@@ -1335,6 +1609,86 @@ export declare namespace SubscriptionCreateParams {
1335
1609
  }
1336
1610
  }
1337
1611
  }
1612
+ namespace Discount {
1613
+ interface DiscountEnd {
1614
+ /**
1615
+ * Time span for the redeemed discount.
1616
+ */
1617
+ duration?: DiscountEnd.Duration;
1618
+ /**
1619
+ * A precise Unix timestamp for the discount to end. Must be in the future.
1620
+ */
1621
+ timestamp?: number;
1622
+ /**
1623
+ * The type of calculation made to determine when the discount ends.
1624
+ */
1625
+ type: DiscountEnd.Type;
1626
+ }
1627
+ interface Settings {
1628
+ /**
1629
+ * Configures service period cycle anchoring.
1630
+ */
1631
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
1632
+ /**
1633
+ * 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.
1634
+ */
1635
+ start_date?: Settings.StartDate;
1636
+ }
1637
+ namespace DiscountEnd {
1638
+ interface Duration {
1639
+ /**
1640
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1641
+ */
1642
+ interval: Duration.Interval;
1643
+ /**
1644
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1645
+ */
1646
+ interval_count: number;
1647
+ }
1648
+ type Type = 'duration' | 'timestamp';
1649
+ namespace Duration {
1650
+ type Interval = 'day' | 'month' | 'week' | 'year';
1651
+ }
1652
+ }
1653
+ namespace Settings {
1654
+ interface ServicePeriodAnchorConfig {
1655
+ /**
1656
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
1657
+ */
1658
+ custom?: ServicePeriodAnchorConfig.Custom;
1659
+ /**
1660
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
1661
+ */
1662
+ type?: ServicePeriodAnchorConfig.Type;
1663
+ }
1664
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now';
1665
+ namespace ServicePeriodAnchorConfig {
1666
+ interface Custom {
1667
+ /**
1668
+ * The day of the month the anchor should be. Ranges from 1 to 31.
1669
+ */
1670
+ day_of_month: number;
1671
+ /**
1672
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
1673
+ */
1674
+ hour?: number;
1675
+ /**
1676
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
1677
+ */
1678
+ minute?: number;
1679
+ /**
1680
+ * The month to start full cycle periods. Ranges from 1 to 12.
1681
+ */
1682
+ month?: number;
1683
+ /**
1684
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
1685
+ */
1686
+ second?: number;
1687
+ }
1688
+ type Type = 'custom' | 'subscription_service_cycle_anchor';
1689
+ }
1690
+ }
1691
+ }
1338
1692
  namespace InvoiceSettings {
1339
1693
  interface Issuer {
1340
1694
  /**
@@ -1347,7 +1701,7 @@ export declare namespace SubscriptionCreateParams {
1347
1701
  type: Issuer.Type;
1348
1702
  }
1349
1703
  namespace Issuer {
1350
- type Type = 'account' | 'self';
1704
+ type Type = 'account' | 'application' | 'self';
1351
1705
  }
1352
1706
  }
1353
1707
  namespace Item {
@@ -1357,6 +1711,16 @@ export declare namespace SubscriptionCreateParams {
1357
1711
  */
1358
1712
  usage_gte: number;
1359
1713
  }
1714
+ interface CurrentTrial {
1715
+ /**
1716
+ * 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`.
1717
+ */
1718
+ trial_end?: number;
1719
+ /**
1720
+ * The ID of the trial offer to apply to the subscription item.
1721
+ */
1722
+ trial_offer: string;
1723
+ }
1360
1724
  interface Discount {
1361
1725
  /**
1362
1726
  * ID of the coupon to create a new discount for.
@@ -1366,10 +1730,18 @@ export declare namespace SubscriptionCreateParams {
1366
1730
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1367
1731
  */
1368
1732
  discount?: string;
1733
+ /**
1734
+ * Details to determine how long the discount should be applied for.
1735
+ */
1736
+ discount_end?: Discount.DiscountEnd;
1369
1737
  /**
1370
1738
  * ID of the promotion code to create a new discount for.
1371
1739
  */
1372
1740
  promotion_code?: string;
1741
+ /**
1742
+ * Settings for discount application including service period anchoring.
1743
+ */
1744
+ settings?: Discount.Settings;
1373
1745
  }
1374
1746
  interface PriceData {
1375
1747
  /**
@@ -1397,6 +1769,96 @@ export declare namespace SubscriptionCreateParams {
1397
1769
  */
1398
1770
  unit_amount_decimal?: Decimal;
1399
1771
  }
1772
+ interface Trial {
1773
+ /**
1774
+ * 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.
1775
+ */
1776
+ converts_to?: Array<string>;
1777
+ /**
1778
+ * Determines the type of trial for this item.
1779
+ */
1780
+ type: Trial.Type;
1781
+ }
1782
+ namespace Discount {
1783
+ interface DiscountEnd {
1784
+ /**
1785
+ * Time span for the redeemed discount.
1786
+ */
1787
+ duration?: DiscountEnd.Duration;
1788
+ /**
1789
+ * A precise Unix timestamp for the discount to end. Must be in the future.
1790
+ */
1791
+ timestamp?: number;
1792
+ /**
1793
+ * The type of calculation made to determine when the discount ends.
1794
+ */
1795
+ type: DiscountEnd.Type;
1796
+ }
1797
+ interface Settings {
1798
+ /**
1799
+ * Configures service period cycle anchoring.
1800
+ */
1801
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
1802
+ /**
1803
+ * 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.
1804
+ */
1805
+ start_date?: Settings.StartDate;
1806
+ }
1807
+ namespace DiscountEnd {
1808
+ interface Duration {
1809
+ /**
1810
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1811
+ */
1812
+ interval: Duration.Interval;
1813
+ /**
1814
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1815
+ */
1816
+ interval_count: number;
1817
+ }
1818
+ type Type = 'duration' | 'timestamp';
1819
+ namespace Duration {
1820
+ type Interval = 'day' | 'month' | 'week' | 'year';
1821
+ }
1822
+ }
1823
+ namespace Settings {
1824
+ interface ServicePeriodAnchorConfig {
1825
+ /**
1826
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
1827
+ */
1828
+ custom?: ServicePeriodAnchorConfig.Custom;
1829
+ /**
1830
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
1831
+ */
1832
+ type?: ServicePeriodAnchorConfig.Type;
1833
+ }
1834
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now';
1835
+ namespace ServicePeriodAnchorConfig {
1836
+ interface Custom {
1837
+ /**
1838
+ * The day of the month the anchor should be. Ranges from 1 to 31.
1839
+ */
1840
+ day_of_month: number;
1841
+ /**
1842
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
1843
+ */
1844
+ hour?: number;
1845
+ /**
1846
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
1847
+ */
1848
+ minute?: number;
1849
+ /**
1850
+ * The month to start full cycle periods. Ranges from 1 to 12.
1851
+ */
1852
+ month?: number;
1853
+ /**
1854
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
1855
+ */
1856
+ second?: number;
1857
+ }
1858
+ type Type = 'custom' | 'subscription_service_cycle_anchor';
1859
+ }
1860
+ }
1861
+ }
1400
1862
  namespace PriceData {
1401
1863
  interface Recurring {
1402
1864
  /**
@@ -1413,6 +1875,9 @@ export declare namespace SubscriptionCreateParams {
1413
1875
  type Interval = 'day' | 'month' | 'week' | 'year';
1414
1876
  }
1415
1877
  }
1878
+ namespace Trial {
1879
+ type Type = 'free' | 'paid';
1880
+ }
1416
1881
  }
1417
1882
  namespace PaymentSettings {
1418
1883
  interface PaymentMethodOptions {
@@ -1424,14 +1889,30 @@ export declare namespace SubscriptionCreateParams {
1424
1889
  * This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
1425
1890
  */
1426
1891
  bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
1892
+ /**
1893
+ * This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
1894
+ */
1895
+ bizum?: Emptyable<PaymentMethodOptions.Bizum>;
1896
+ /**
1897
+ * This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
1898
+ */
1899
+ blik?: Emptyable<PaymentMethodOptions.Blik>;
1427
1900
  /**
1428
1901
  * This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
1429
1902
  */
1430
1903
  card?: Emptyable<PaymentMethodOptions.Card>;
1904
+ /**
1905
+ * This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
1906
+ */
1907
+ check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
1431
1908
  /**
1432
1909
  * This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
1433
1910
  */
1434
1911
  customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
1912
+ /**
1913
+ * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
1914
+ */
1915
+ id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
1435
1916
  /**
1436
1917
  * This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
1437
1918
  */
@@ -1456,8 +1937,12 @@ export declare namespace SubscriptionCreateParams {
1456
1937
  * This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
1457
1938
  */
1458
1939
  us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
1940
+ /**
1941
+ * This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
1942
+ */
1943
+ wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
1459
1944
  }
1460
- type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | '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' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
1945
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | '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' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
1461
1946
  type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
1462
1947
  namespace PaymentMethodOptions {
1463
1948
  interface AcssDebit {
@@ -1476,6 +1961,18 @@ export declare namespace SubscriptionCreateParams {
1476
1961
  */
1477
1962
  preferred_language?: Bancontact.PreferredLanguage;
1478
1963
  }
1964
+ interface Bizum {
1965
+ /**
1966
+ * Configuration options for setting up a mandate
1967
+ */
1968
+ mandate_options?: Bizum.MandateOptions;
1969
+ }
1970
+ interface Blik {
1971
+ /**
1972
+ * Configuration options for setting up a mandate
1973
+ */
1974
+ mandate_options?: Blik.MandateOptions;
1975
+ }
1479
1976
  interface Card {
1480
1977
  /**
1481
1978
  * Configuration options for setting up an eMandate for cards issued in India.
@@ -1490,6 +1987,8 @@ export declare namespace SubscriptionCreateParams {
1490
1987
  */
1491
1988
  request_three_d_secure?: Card.RequestThreeDSecure;
1492
1989
  }
1990
+ interface CheckScan {
1991
+ }
1493
1992
  interface CustomerBalance {
1494
1993
  /**
1495
1994
  * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
@@ -1500,6 +1999,8 @@ export declare namespace SubscriptionCreateParams {
1500
1999
  */
1501
2000
  funding_type?: string;
1502
2001
  }
2002
+ interface IdBankTransfer {
2003
+ }
1503
2004
  interface Konbini {
1504
2005
  }
1505
2006
  interface Payto {
@@ -1536,6 +2037,16 @@ export declare namespace SubscriptionCreateParams {
1536
2037
  */
1537
2038
  verification_method?: UsBankAccount.VerificationMethod;
1538
2039
  }
2040
+ interface WechatPay {
2041
+ /**
2042
+ * The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
2043
+ */
2044
+ app_id?: string;
2045
+ /**
2046
+ * The client type that the end customer will pay from.
2047
+ */
2048
+ client?: WechatPay.Client;
2049
+ }
1539
2050
  namespace AcssDebit {
1540
2051
  interface MandateOptions {
1541
2052
  /**
@@ -1551,6 +2062,26 @@ export declare namespace SubscriptionCreateParams {
1551
2062
  namespace Bancontact {
1552
2063
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
1553
2064
  }
2065
+ namespace Bizum {
2066
+ interface MandateOptions {
2067
+ /**
2068
+ * Amount to be charged for future payments. Required when `amount_type=fixed`.
2069
+ */
2070
+ amount: number;
2071
+ /**
2072
+ * Indicates the mandate amount type.
2073
+ */
2074
+ amount_type: 'fixed';
2075
+ }
2076
+ }
2077
+ namespace Blik {
2078
+ interface MandateOptions {
2079
+ /**
2080
+ * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
2081
+ */
2082
+ expires_after?: number;
2083
+ }
2084
+ }
1554
2085
  namespace Card {
1555
2086
  interface MandateOptions {
1556
2087
  /**
@@ -1676,27 +2207,42 @@ export declare namespace SubscriptionCreateParams {
1676
2207
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1677
2208
  */
1678
2209
  account_subcategories?: Array<Filters.AccountSubcategory>;
2210
+ /**
2211
+ * ID of the institution to use to filter for selectable accounts.
2212
+ */
2213
+ institution?: string;
1679
2214
  }
1680
2215
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
1681
- type Prefetch = 'balances' | 'ownership' | 'transactions';
2216
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
1682
2217
  namespace Filters {
1683
2218
  type AccountSubcategory = 'checking' | 'savings';
1684
2219
  }
1685
2220
  }
1686
2221
  }
2222
+ namespace WechatPay {
2223
+ type Client = 'android' | 'ios' | 'mobile_web' | 'web';
2224
+ }
1687
2225
  }
1688
2226
  }
1689
2227
  namespace PendingInvoiceItemInterval {
1690
2228
  type Interval = 'day' | 'month' | 'week' | 'year';
1691
2229
  }
2230
+ namespace Prebilling {
2231
+ type UpdateBehavior = 'prebill' | 'reset';
2232
+ }
1692
2233
  namespace TrialSettings {
1693
2234
  interface EndBehavior {
2235
+ /**
2236
+ * Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
2237
+ */
2238
+ billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
1694
2239
  /**
1695
2240
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
1696
2241
  */
1697
2242
  missing_payment_method: EndBehavior.MissingPaymentMethod;
1698
2243
  }
1699
2244
  namespace EndBehavior {
2245
+ type BillingCycleAnchor = 'now' | 'unchanged';
1700
2246
  type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
1701
2247
  }
1702
2248
  }
@@ -1720,6 +2266,10 @@ export interface SubscriptionUpdateParams {
1720
2266
  * Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.
1721
2267
  */
1722
2268
  automatic_tax?: SubscriptionUpdateParams.AutomaticTax;
2269
+ /**
2270
+ * 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.
2271
+ */
2272
+ billing_cadence?: string;
1723
2273
  /**
1724
2274
  * 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).
1725
2275
  */
@@ -1812,6 +2362,10 @@ export interface SubscriptionUpdateParams {
1812
2362
  * 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.
1813
2363
  */
1814
2364
  pending_invoice_item_interval?: Emptyable<SubscriptionUpdateParams.PendingInvoiceItemInterval>;
2365
+ /**
2366
+ * If specified, the invoicing for the given billing cycle iterations will be processed now.
2367
+ */
2368
+ prebilling?: SubscriptionUpdateParams.Prebilling;
1815
2369
  /**
1816
2370
  * 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`.
1817
2371
  */
@@ -1928,10 +2482,18 @@ export declare namespace SubscriptionUpdateParams {
1928
2482
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1929
2483
  */
1930
2484
  discount?: string;
2485
+ /**
2486
+ * Details to determine how long the discount should be applied for.
2487
+ */
2488
+ discount_end?: Discount.DiscountEnd;
1931
2489
  /**
1932
2490
  * ID of the promotion code to create a new discount for.
1933
2491
  */
1934
2492
  promotion_code?: string;
2493
+ /**
2494
+ * Settings for discount application including service period anchoring.
2495
+ */
2496
+ settings?: Discount.Settings;
1935
2497
  }
1936
2498
  interface InvoiceSettings {
1937
2499
  /**
@@ -1952,6 +2514,10 @@ export declare namespace SubscriptionUpdateParams {
1952
2514
  * 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.
1953
2515
  */
1954
2516
  clear_usage?: boolean;
2517
+ /**
2518
+ * The trial offer to apply to this subscription item.
2519
+ */
2520
+ current_trial?: Item.CurrentTrial;
1955
2521
  /**
1956
2522
  * A flag that, if set to `true`, will delete the specified item.
1957
2523
  */
@@ -2024,6 +2590,16 @@ export declare namespace SubscriptionUpdateParams {
2024
2590
  */
2025
2591
  interval_count?: number;
2026
2592
  }
2593
+ interface Prebilling {
2594
+ /**
2595
+ * This is used to determine the number of billing cycles to prebill.
2596
+ */
2597
+ iterations: number;
2598
+ /**
2599
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
2600
+ */
2601
+ update_behavior?: Prebilling.UpdateBehavior;
2602
+ }
2027
2603
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
2028
2604
  interface TransferData {
2029
2605
  /**
@@ -2051,6 +2627,10 @@ export declare namespace SubscriptionUpdateParams {
2051
2627
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2052
2628
  */
2053
2629
  discount?: string;
2630
+ /**
2631
+ * Details to determine how long the discount should be applied for.
2632
+ */
2633
+ discount_end?: Discount.DiscountEnd;
2054
2634
  /**
2055
2635
  * ID of the promotion code to create a new discount for.
2056
2636
  */
@@ -2088,6 +2668,38 @@ export declare namespace SubscriptionUpdateParams {
2088
2668
  */
2089
2669
  unit_amount_decimal?: Decimal;
2090
2670
  }
2671
+ namespace Discount {
2672
+ interface DiscountEnd {
2673
+ /**
2674
+ * Time span for the redeemed discount.
2675
+ */
2676
+ duration?: DiscountEnd.Duration;
2677
+ /**
2678
+ * A precise Unix timestamp for the discount to end. Must be in the future.
2679
+ */
2680
+ timestamp?: number;
2681
+ /**
2682
+ * The type of calculation made to determine when the discount ends.
2683
+ */
2684
+ type: DiscountEnd.Type;
2685
+ }
2686
+ namespace DiscountEnd {
2687
+ interface Duration {
2688
+ /**
2689
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2690
+ */
2691
+ interval: Duration.Interval;
2692
+ /**
2693
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2694
+ */
2695
+ interval_count: number;
2696
+ }
2697
+ type Type = 'duration' | 'timestamp';
2698
+ namespace Duration {
2699
+ type Interval = 'day' | 'month' | 'week' | 'year';
2700
+ }
2701
+ }
2702
+ }
2091
2703
  namespace Period {
2092
2704
  interface End {
2093
2705
  /**
@@ -2132,7 +2744,7 @@ export declare namespace SubscriptionUpdateParams {
2132
2744
  type: Liability.Type;
2133
2745
  }
2134
2746
  namespace Liability {
2135
- type Type = 'account' | 'self';
2747
+ type Type = 'account' | 'application' | 'self';
2136
2748
  }
2137
2749
  }
2138
2750
  namespace BillingSchedule {
@@ -2180,6 +2792,86 @@ export declare namespace SubscriptionUpdateParams {
2180
2792
  namespace CancellationDetails {
2181
2793
  type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused';
2182
2794
  }
2795
+ namespace Discount {
2796
+ interface DiscountEnd {
2797
+ /**
2798
+ * Time span for the redeemed discount.
2799
+ */
2800
+ duration?: DiscountEnd.Duration;
2801
+ /**
2802
+ * A precise Unix timestamp for the discount to end. Must be in the future.
2803
+ */
2804
+ timestamp?: number;
2805
+ /**
2806
+ * The type of calculation made to determine when the discount ends.
2807
+ */
2808
+ type: DiscountEnd.Type;
2809
+ }
2810
+ interface Settings {
2811
+ /**
2812
+ * Configures service period cycle anchoring.
2813
+ */
2814
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
2815
+ /**
2816
+ * 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.
2817
+ */
2818
+ start_date?: Settings.StartDate;
2819
+ }
2820
+ namespace DiscountEnd {
2821
+ interface Duration {
2822
+ /**
2823
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2824
+ */
2825
+ interval: Duration.Interval;
2826
+ /**
2827
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2828
+ */
2829
+ interval_count: number;
2830
+ }
2831
+ type Type = 'duration' | 'timestamp';
2832
+ namespace Duration {
2833
+ type Interval = 'day' | 'month' | 'week' | 'year';
2834
+ }
2835
+ }
2836
+ namespace Settings {
2837
+ interface ServicePeriodAnchorConfig {
2838
+ /**
2839
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
2840
+ */
2841
+ custom?: ServicePeriodAnchorConfig.Custom;
2842
+ /**
2843
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
2844
+ */
2845
+ type?: ServicePeriodAnchorConfig.Type;
2846
+ }
2847
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now';
2848
+ namespace ServicePeriodAnchorConfig {
2849
+ interface Custom {
2850
+ /**
2851
+ * The day of the month the anchor should be. Ranges from 1 to 31.
2852
+ */
2853
+ day_of_month: number;
2854
+ /**
2855
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
2856
+ */
2857
+ hour?: number;
2858
+ /**
2859
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
2860
+ */
2861
+ minute?: number;
2862
+ /**
2863
+ * The month to start full cycle periods. Ranges from 1 to 12.
2864
+ */
2865
+ month?: number;
2866
+ /**
2867
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
2868
+ */
2869
+ second?: number;
2870
+ }
2871
+ type Type = 'custom' | 'subscription_service_cycle_anchor';
2872
+ }
2873
+ }
2874
+ }
2183
2875
  namespace InvoiceSettings {
2184
2876
  interface Issuer {
2185
2877
  /**
@@ -2192,7 +2884,7 @@ export declare namespace SubscriptionUpdateParams {
2192
2884
  type: Issuer.Type;
2193
2885
  }
2194
2886
  namespace Issuer {
2195
- type Type = 'account' | 'self';
2887
+ type Type = 'account' | 'application' | 'self';
2196
2888
  }
2197
2889
  }
2198
2890
  namespace Item {
@@ -2202,6 +2894,16 @@ export declare namespace SubscriptionUpdateParams {
2202
2894
  */
2203
2895
  usage_gte: number;
2204
2896
  }
2897
+ interface CurrentTrial {
2898
+ /**
2899
+ * 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`.
2900
+ */
2901
+ trial_end?: number;
2902
+ /**
2903
+ * The ID of the trial offer to apply to the subscription item.
2904
+ */
2905
+ trial_offer: string;
2906
+ }
2205
2907
  interface Discount {
2206
2908
  /**
2207
2909
  * ID of the coupon to create a new discount for.
@@ -2211,10 +2913,18 @@ export declare namespace SubscriptionUpdateParams {
2211
2913
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2212
2914
  */
2213
2915
  discount?: string;
2916
+ /**
2917
+ * Details to determine how long the discount should be applied for.
2918
+ */
2919
+ discount_end?: Discount.DiscountEnd;
2214
2920
  /**
2215
2921
  * ID of the promotion code to create a new discount for.
2216
2922
  */
2217
2923
  promotion_code?: string;
2924
+ /**
2925
+ * Settings for discount application including service period anchoring.
2926
+ */
2927
+ settings?: Discount.Settings;
2218
2928
  }
2219
2929
  interface PriceData {
2220
2930
  /**
@@ -2242,6 +2952,86 @@ export declare namespace SubscriptionUpdateParams {
2242
2952
  */
2243
2953
  unit_amount_decimal?: Decimal;
2244
2954
  }
2955
+ namespace Discount {
2956
+ interface DiscountEnd {
2957
+ /**
2958
+ * Time span for the redeemed discount.
2959
+ */
2960
+ duration?: DiscountEnd.Duration;
2961
+ /**
2962
+ * A precise Unix timestamp for the discount to end. Must be in the future.
2963
+ */
2964
+ timestamp?: number;
2965
+ /**
2966
+ * The type of calculation made to determine when the discount ends.
2967
+ */
2968
+ type: DiscountEnd.Type;
2969
+ }
2970
+ interface Settings {
2971
+ /**
2972
+ * Configures service period cycle anchoring.
2973
+ */
2974
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
2975
+ /**
2976
+ * 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.
2977
+ */
2978
+ start_date?: Settings.StartDate;
2979
+ }
2980
+ namespace DiscountEnd {
2981
+ interface Duration {
2982
+ /**
2983
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2984
+ */
2985
+ interval: Duration.Interval;
2986
+ /**
2987
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2988
+ */
2989
+ interval_count: number;
2990
+ }
2991
+ type Type = 'duration' | 'timestamp';
2992
+ namespace Duration {
2993
+ type Interval = 'day' | 'month' | 'week' | 'year';
2994
+ }
2995
+ }
2996
+ namespace Settings {
2997
+ interface ServicePeriodAnchorConfig {
2998
+ /**
2999
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
3000
+ */
3001
+ custom?: ServicePeriodAnchorConfig.Custom;
3002
+ /**
3003
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
3004
+ */
3005
+ type?: ServicePeriodAnchorConfig.Type;
3006
+ }
3007
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now';
3008
+ namespace ServicePeriodAnchorConfig {
3009
+ interface Custom {
3010
+ /**
3011
+ * The day of the month the anchor should be. Ranges from 1 to 31.
3012
+ */
3013
+ day_of_month: number;
3014
+ /**
3015
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
3016
+ */
3017
+ hour?: number;
3018
+ /**
3019
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
3020
+ */
3021
+ minute?: number;
3022
+ /**
3023
+ * The month to start full cycle periods. Ranges from 1 to 12.
3024
+ */
3025
+ month?: number;
3026
+ /**
3027
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
3028
+ */
3029
+ second?: number;
3030
+ }
3031
+ type Type = 'custom' | 'subscription_service_cycle_anchor';
3032
+ }
3033
+ }
3034
+ }
2245
3035
  namespace PriceData {
2246
3036
  interface Recurring {
2247
3037
  /**
@@ -2272,14 +3062,30 @@ export declare namespace SubscriptionUpdateParams {
2272
3062
  * This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
2273
3063
  */
2274
3064
  bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
3065
+ /**
3066
+ * This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
3067
+ */
3068
+ bizum?: Emptyable<PaymentMethodOptions.Bizum>;
3069
+ /**
3070
+ * This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
3071
+ */
3072
+ blik?: Emptyable<PaymentMethodOptions.Blik>;
2275
3073
  /**
2276
3074
  * This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
2277
3075
  */
2278
3076
  card?: Emptyable<PaymentMethodOptions.Card>;
3077
+ /**
3078
+ * This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
3079
+ */
3080
+ check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
2279
3081
  /**
2280
3082
  * This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
2281
3083
  */
2282
3084
  customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
3085
+ /**
3086
+ * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
3087
+ */
3088
+ id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
2283
3089
  /**
2284
3090
  * This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
2285
3091
  */
@@ -2304,8 +3110,12 @@ export declare namespace SubscriptionUpdateParams {
2304
3110
  * This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
2305
3111
  */
2306
3112
  us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
3113
+ /**
3114
+ * This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
3115
+ */
3116
+ wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
2307
3117
  }
2308
- type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | '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' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
3118
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | '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' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
2309
3119
  type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
2310
3120
  namespace PaymentMethodOptions {
2311
3121
  interface AcssDebit {
@@ -2324,6 +3134,18 @@ export declare namespace SubscriptionUpdateParams {
2324
3134
  */
2325
3135
  preferred_language?: Bancontact.PreferredLanguage;
2326
3136
  }
3137
+ interface Bizum {
3138
+ /**
3139
+ * Configuration options for setting up a mandate
3140
+ */
3141
+ mandate_options?: Bizum.MandateOptions;
3142
+ }
3143
+ interface Blik {
3144
+ /**
3145
+ * Configuration options for setting up a mandate
3146
+ */
3147
+ mandate_options?: Blik.MandateOptions;
3148
+ }
2327
3149
  interface Card {
2328
3150
  /**
2329
3151
  * Configuration options for setting up an eMandate for cards issued in India.
@@ -2338,6 +3160,8 @@ export declare namespace SubscriptionUpdateParams {
2338
3160
  */
2339
3161
  request_three_d_secure?: Card.RequestThreeDSecure;
2340
3162
  }
3163
+ interface CheckScan {
3164
+ }
2341
3165
  interface CustomerBalance {
2342
3166
  /**
2343
3167
  * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
@@ -2348,6 +3172,8 @@ export declare namespace SubscriptionUpdateParams {
2348
3172
  */
2349
3173
  funding_type?: string;
2350
3174
  }
3175
+ interface IdBankTransfer {
3176
+ }
2351
3177
  interface Konbini {
2352
3178
  }
2353
3179
  interface Payto {
@@ -2384,6 +3210,16 @@ export declare namespace SubscriptionUpdateParams {
2384
3210
  */
2385
3211
  verification_method?: UsBankAccount.VerificationMethod;
2386
3212
  }
3213
+ interface WechatPay {
3214
+ /**
3215
+ * The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
3216
+ */
3217
+ app_id?: string;
3218
+ /**
3219
+ * The client type that the end customer will pay from.
3220
+ */
3221
+ client?: WechatPay.Client;
3222
+ }
2387
3223
  namespace AcssDebit {
2388
3224
  interface MandateOptions {
2389
3225
  /**
@@ -2399,6 +3235,26 @@ export declare namespace SubscriptionUpdateParams {
2399
3235
  namespace Bancontact {
2400
3236
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
2401
3237
  }
3238
+ namespace Bizum {
3239
+ interface MandateOptions {
3240
+ /**
3241
+ * Amount to be charged for future payments. Required when `amount_type=fixed`.
3242
+ */
3243
+ amount: number;
3244
+ /**
3245
+ * Indicates the mandate amount type.
3246
+ */
3247
+ amount_type: 'fixed';
3248
+ }
3249
+ }
3250
+ namespace Blik {
3251
+ interface MandateOptions {
3252
+ /**
3253
+ * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
3254
+ */
3255
+ expires_after?: number;
3256
+ }
3257
+ }
2402
3258
  namespace Card {
2403
3259
  interface MandateOptions {
2404
3260
  /**
@@ -2524,27 +3380,42 @@ export declare namespace SubscriptionUpdateParams {
2524
3380
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2525
3381
  */
2526
3382
  account_subcategories?: Array<Filters.AccountSubcategory>;
3383
+ /**
3384
+ * ID of the institution to use to filter for selectable accounts.
3385
+ */
3386
+ institution?: string;
2527
3387
  }
2528
3388
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
2529
- type Prefetch = 'balances' | 'ownership' | 'transactions';
3389
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
2530
3390
  namespace Filters {
2531
3391
  type AccountSubcategory = 'checking' | 'savings';
2532
3392
  }
2533
3393
  }
2534
3394
  }
3395
+ namespace WechatPay {
3396
+ type Client = 'android' | 'ios' | 'mobile_web' | 'web';
3397
+ }
2535
3398
  }
2536
3399
  }
2537
3400
  namespace PendingInvoiceItemInterval {
2538
3401
  type Interval = 'day' | 'month' | 'week' | 'year';
2539
3402
  }
3403
+ namespace Prebilling {
3404
+ type UpdateBehavior = 'prebill' | 'reset';
3405
+ }
2540
3406
  namespace TrialSettings {
2541
3407
  interface EndBehavior {
3408
+ /**
3409
+ * Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
3410
+ */
3411
+ billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
2542
3412
  /**
2543
3413
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
2544
3414
  */
2545
3415
  missing_payment_method: EndBehavior.MissingPaymentMethod;
2546
3416
  }
2547
3417
  namespace EndBehavior {
3418
+ type BillingCycleAnchor = 'now' | 'unchanged';
2548
3419
  type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
2549
3420
  }
2550
3421
  }
@@ -2554,6 +3425,10 @@ export interface SubscriptionListParams extends PaginationParams {
2554
3425
  * Filter subscriptions by their automatic tax settings.
2555
3426
  */
2556
3427
  automatic_tax?: SubscriptionListParams.AutomaticTax;
3428
+ /**
3429
+ * Filter for subscriptions that have the specified billing cadence.
3430
+ */
3431
+ billing_cadence?: string;
2557
3432
  /**
2558
3433
  * The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.
2559
3434
  */
@@ -2609,6 +3484,16 @@ export declare namespace SubscriptionListParams {
2609
3484
  type CollectionMethod = 'charge_automatically' | 'send_invoice';
2610
3485
  type Status = 'active' | 'all' | 'canceled' | 'ended' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid';
2611
3486
  }
3487
+ export interface SubscriptionAttachCadenceParams {
3488
+ /**
3489
+ * 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.
3490
+ */
3491
+ billing_cadence: string;
3492
+ /**
3493
+ * Specifies which fields in the response should be expanded.
3494
+ */
3495
+ expand?: Array<string>;
3496
+ }
2612
3497
  export interface SubscriptionCancelParams {
2613
3498
  /**
2614
3499
  * Details about why this subscription was cancelled
@@ -2677,6 +3562,57 @@ export declare namespace SubscriptionMigrateParams {
2677
3562
  }
2678
3563
  }
2679
3564
  }
3565
+ export interface SubscriptionPauseParams {
3566
+ /**
3567
+ * Controls what to bill for when pausing the subscription.
3568
+ */
3569
+ bill_for?: SubscriptionPauseParams.BillFor;
3570
+ /**
3571
+ * Specifies which fields in the response should be expanded.
3572
+ */
3573
+ expand?: Array<string>;
3574
+ /**
3575
+ * Determines how to handle debits and credits when pausing. The default is `pending_invoice_item`.
3576
+ */
3577
+ invoicing_behavior?: SubscriptionPauseParams.InvoicingBehavior;
3578
+ /**
3579
+ * The type of pause to apply. Defaults to `subscription`.
3580
+ */
3581
+ type?: 'subscription';
3582
+ }
3583
+ export declare namespace SubscriptionPauseParams {
3584
+ interface BillFor {
3585
+ /**
3586
+ * Controls when to bill for metered usage in the current period. Defaults to `{ type: "now" }`.
3587
+ */
3588
+ outstanding_usage_through?: BillFor.OutstandingUsageThrough;
3589
+ /**
3590
+ * Controls when to credit for unused time on licensed items. Defaults to `{ type: "now" }`.
3591
+ */
3592
+ unused_time_from?: BillFor.UnusedTimeFrom;
3593
+ }
3594
+ type InvoicingBehavior = 'invoice' | 'pending_invoice_item';
3595
+ namespace BillFor {
3596
+ interface OutstandingUsageThrough {
3597
+ /**
3598
+ * When to bill metered usage in the current period.
3599
+ */
3600
+ type: OutstandingUsageThrough.Type;
3601
+ }
3602
+ interface UnusedTimeFrom {
3603
+ /**
3604
+ * When to credit for unused time.
3605
+ */
3606
+ type: UnusedTimeFrom.Type;
3607
+ }
3608
+ namespace OutstandingUsageThrough {
3609
+ type Type = 'none' | 'now';
3610
+ }
3611
+ namespace UnusedTimeFrom {
3612
+ type Type = 'item_current_period_start' | 'none' | 'now';
3613
+ }
3614
+ }
3615
+ }
2680
3616
  export interface SubscriptionResumeParams {
2681
3617
  /**
2682
3618
  * The billing cycle anchor that applies when the subscription is resumed. Either `now` or `unchanged`. The default is `now`. For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
@@ -2686,6 +3622,10 @@ export interface SubscriptionResumeParams {
2686
3622
  * Specifies which fields in the response should be expanded.
2687
3623
  */
2688
3624
  expand?: Array<string>;
3625
+ /**
3626
+ * 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`.
3627
+ */
3628
+ payment_behavior?: SubscriptionResumeParams.PaymentBehavior;
2689
3629
  /**
2690
3630
  * 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`.
2691
3631
  */
@@ -2697,6 +3637,7 @@ export interface SubscriptionResumeParams {
2697
3637
  }
2698
3638
  export declare namespace SubscriptionResumeParams {
2699
3639
  type BillingCycleAnchor = 'now' | 'unchanged';
3640
+ type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success';
2700
3641
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
2701
3642
  }
2702
3643
  export interface SubscriptionSearchParams {
@@ -2717,3 +3658,15 @@ export interface SubscriptionSearchParams {
2717
3658
  */
2718
3659
  page?: string;
2719
3660
  }
3661
+ export interface SubscriptionSerializeBatchCancelParams {
3662
+ }
3663
+ export interface SubscriptionSerializeBatchCreateParams {
3664
+ }
3665
+ export interface SubscriptionSerializeBatchMigrateParams {
3666
+ }
3667
+ export interface SubscriptionSerializeBatchPauseParams {
3668
+ }
3669
+ export interface SubscriptionSerializeBatchResumeParams {
3670
+ }
3671
+ export interface SubscriptionSerializeBatchUpdateParams {
3672
+ }