stripe 22.3.0 → 22.4.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1564) hide show
  1. package/CHANGELOG.md +2984 -12
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +44 -60
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +53 -0
  6. package/cjs/Error.js +134 -1
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/StripeEventNotificationHandler.d.ts +19 -0
  9. package/cjs/StripeEventNotificationHandler.js +476 -0
  10. package/cjs/StripeEventNotificationHandler.js.map +1 -0
  11. package/cjs/Types.d.ts +4 -2
  12. package/cjs/apiVersion.d.ts +1 -2
  13. package/cjs/apiVersion.js +2 -3
  14. package/cjs/apiVersion.js.map +1 -1
  15. package/cjs/resources/AccountLinks.d.ts +5 -1
  16. package/cjs/resources/AccountNotices.d.ts +140 -0
  17. package/cjs/resources/AccountNotices.js +29 -0
  18. package/cjs/resources/AccountNotices.js.map +1 -0
  19. package/cjs/resources/AccountSessions.d.ts +597 -0
  20. package/cjs/resources/AccountSessions.js.map +1 -1
  21. package/cjs/resources/AccountSignals.d.ts +110 -0
  22. package/cjs/resources/AccountSignals.js +4 -0
  23. package/cjs/resources/AccountSignals.js.map +1 -0
  24. package/cjs/resources/Accounts.d.ts +1020 -6
  25. package/cjs/resources/Accounts.js +47 -0
  26. package/cjs/resources/Accounts.js.map +1 -1
  27. package/cjs/resources/ApplicationFees.d.ts +28 -1
  28. package/cjs/resources/Balance.d.ts +134 -0
  29. package/cjs/resources/BalanceSettings.d.ts +18 -0
  30. package/cjs/resources/BalanceTransactions.d.ts +1 -1
  31. package/cjs/resources/BalanceTransfers.d.ts +160 -0
  32. package/cjs/resources/BalanceTransfers.js +15 -0
  33. package/cjs/resources/BalanceTransfers.js.map +1 -0
  34. package/cjs/resources/BankAccounts.d.ts +2 -2
  35. package/cjs/resources/Billing/AlertRecovereds.d.ts +40 -0
  36. package/cjs/resources/Billing/AlertRecovereds.js +4 -0
  37. package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
  38. package/cjs/resources/Billing/AlertTriggereds.d.ts +55 -1
  39. package/cjs/resources/Billing/Alerts.d.ts +408 -5
  40. package/cjs/resources/Billing/Alerts.js +321 -5
  41. package/cjs/resources/Billing/Alerts.js.map +1 -1
  42. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
  43. package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
  44. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  45. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  46. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
  47. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  48. package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
  49. package/cjs/resources/Billing/Analytics/index.js +13 -0
  50. package/cjs/resources/Billing/Analytics/index.js.map +1 -0
  51. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +126 -2
  52. package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
  53. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  54. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  55. package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
  56. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  57. package/cjs/resources/Billing/CreditGrants.d.ts +85 -3
  58. package/cjs/resources/Billing/CreditGrants.js +134 -5
  59. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  60. package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
  61. package/cjs/resources/Billing/Meters.d.ts +31 -0
  62. package/cjs/resources/Billing/index.d.ts +6 -0
  63. package/cjs/resources/Billing/index.js +2 -0
  64. package/cjs/resources/Billing/index.js.map +1 -1
  65. package/cjs/resources/Capabilities.d.ts +25 -2
  66. package/cjs/resources/Capital/FinancingOffers.d.ts +194 -0
  67. package/cjs/resources/Capital/FinancingOffers.js +30 -0
  68. package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
  69. package/cjs/resources/Capital/FinancingSummary.d.ts +101 -0
  70. package/cjs/resources/Capital/FinancingSummary.js +15 -0
  71. package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
  72. package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
  73. package/cjs/resources/Capital/FinancingTransactions.js +24 -0
  74. package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
  75. package/cjs/resources/Capital/index.d.ts +25 -0
  76. package/cjs/resources/Capital/index.js +17 -0
  77. package/cjs/resources/Capital/index.js.map +1 -0
  78. package/cjs/resources/Cards.d.ts +28 -0
  79. package/cjs/resources/Charges.d.ts +3352 -70
  80. package/cjs/resources/Charges.js.map +1 -1
  81. package/cjs/resources/Checkout/Sessions.d.ts +1174 -22
  82. package/cjs/resources/Checkout/Sessions.js +115 -0
  83. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  84. package/cjs/resources/Checkout/index.d.ts +1 -0
  85. package/cjs/resources/ConfirmationTokens.d.ts +139 -1
  86. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  87. package/cjs/resources/Coupons.d.ts +128 -2
  88. package/cjs/resources/Coupons.js +41 -0
  89. package/cjs/resources/Coupons.js.map +1 -1
  90. package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
  91. package/cjs/resources/CreditNotes.d.ts +7 -1
  92. package/cjs/resources/CreditNotes.js +13 -0
  93. package/cjs/resources/CreditNotes.js.map +1 -1
  94. package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +29 -0
  95. package/cjs/resources/Crypto/CustomerConsumerWallets.js +4 -0
  96. package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
  97. package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +79 -0
  98. package/cjs/resources/Crypto/CustomerPaymentTokens.js +4 -0
  99. package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
  100. package/cjs/resources/Crypto/Customers.d.ts +111 -0
  101. package/cjs/resources/Crypto/Customers.js +31 -0
  102. package/cjs/resources/Crypto/Customers.js.map +1 -0
  103. package/cjs/resources/Crypto/OnrampSessions.d.ts +413 -0
  104. package/cjs/resources/Crypto/OnrampSessions.js +47 -0
  105. package/cjs/resources/Crypto/OnrampSessions.js.map +1 -0
  106. package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +60 -0
  107. package/cjs/resources/Crypto/OnrampTransactionLimits.js +15 -0
  108. package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
  109. package/cjs/resources/Crypto/index.d.ts +34 -0
  110. package/cjs/resources/Crypto/index.js +17 -0
  111. package/cjs/resources/Crypto/index.js.map +1 -0
  112. package/cjs/resources/CustomerSessions.d.ts +74 -0
  113. package/cjs/resources/CustomerSessions.js +13 -0
  114. package/cjs/resources/CustomerSessions.js.map +1 -1
  115. package/cjs/resources/Customers.d.ts +98 -1
  116. package/cjs/resources/Customers.js +195 -0
  117. package/cjs/resources/Customers.js.map +1 -1
  118. package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +128 -0
  119. package/cjs/resources/DelegatedCheckout/OrderEvents.js +4 -0
  120. package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
  121. package/cjs/resources/DelegatedCheckout/Orders.d.ts +159 -0
  122. package/cjs/resources/DelegatedCheckout/Orders.js +15 -0
  123. package/cjs/resources/DelegatedCheckout/Orders.js.map +1 -0
  124. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1416 -0
  125. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
  126. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  127. package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
  128. package/cjs/resources/DelegatedCheckout/index.js +15 -0
  129. package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
  130. package/cjs/resources/Discounts.d.ts +19 -0
  131. package/cjs/resources/Disputes.d.ts +43 -0
  132. package/cjs/resources/Disputes.js +14 -0
  133. package/cjs/resources/Disputes.js.map +1 -1
  134. package/cjs/resources/Events.d.ts +573 -2
  135. package/cjs/resources/ExternalAccounts.d.ts +212 -1
  136. package/cjs/resources/ExternalAccounts.js +44 -0
  137. package/cjs/resources/ExternalAccounts.js.map +1 -1
  138. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  139. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
  140. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  141. package/cjs/resources/FinancialConnections/Accounts.d.ts +69 -4
  142. package/cjs/resources/FinancialConnections/Accounts.js +8 -0
  143. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  144. package/cjs/resources/FinancialConnections/Authorizations.d.ts +99 -0
  145. package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
  146. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
  147. package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
  148. package/cjs/resources/FinancialConnections/Institutions.js +23 -0
  149. package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
  150. package/cjs/resources/FinancialConnections/Sessions.d.ts +156 -7
  151. package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
  152. package/cjs/resources/FinancialConnections/index.d.ts +21 -6
  153. package/cjs/resources/FinancialConnections/index.js +4 -0
  154. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  155. package/cjs/resources/FrMealVouchersOnboardings.d.ts +173 -0
  156. package/cjs/resources/FrMealVouchersOnboardings.js +42 -0
  157. package/cjs/resources/FrMealVouchersOnboardings.js.map +1 -0
  158. package/cjs/resources/FxQuotes.d.ts +212 -0
  159. package/cjs/resources/FxQuotes.js +29 -0
  160. package/cjs/resources/FxQuotes.js.map +1 -0
  161. package/cjs/resources/GiftCardOperations.d.ts +248 -0
  162. package/cjs/resources/GiftCardOperations.js +15 -0
  163. package/cjs/resources/GiftCardOperations.js.map +1 -0
  164. package/cjs/resources/GiftCards.d.ts +187 -0
  165. package/cjs/resources/GiftCards.js +51 -0
  166. package/cjs/resources/GiftCards.js.map +1 -0
  167. package/cjs/resources/Identity/BlocklistEntries.d.ts +155 -0
  168. package/cjs/resources/Identity/BlocklistEntries.js +54 -0
  169. package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
  170. package/cjs/resources/Identity/VerificationReports.d.ts +33 -2
  171. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  172. package/cjs/resources/Identity/VerificationSessions.d.ts +11 -3
  173. package/cjs/resources/Identity/index.d.ts +18 -10
  174. package/cjs/resources/Identity/index.js +2 -0
  175. package/cjs/resources/Identity/index.js.map +1 -1
  176. package/cjs/resources/InvoiceItems.d.ts +203 -2
  177. package/cjs/resources/InvoiceItems.js +41 -0
  178. package/cjs/resources/InvoiceItems.js.map +1 -1
  179. package/cjs/resources/InvoiceLineItems.d.ts +174 -4
  180. package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
  181. package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
  182. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  183. package/cjs/resources/Invoices.d.ts +2120 -22
  184. package/cjs/resources/Invoices.js +221 -0
  185. package/cjs/resources/Invoices.js.map +1 -1
  186. package/cjs/resources/Issuing/Authorizations.d.ts +435 -1
  187. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  188. package/cjs/resources/Issuing/Cardholders.d.ts +18 -4
  189. package/cjs/resources/Issuing/Cards.d.ts +53 -0
  190. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
  191. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +53 -0
  192. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  193. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
  194. package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
  195. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  196. package/cjs/resources/Issuing/Disputes.d.ts +246 -0
  197. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  198. package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
  199. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  200. package/cjs/resources/Issuing/Programs.d.ts +95 -0
  201. package/cjs/resources/Issuing/Programs.js +35 -0
  202. package/cjs/resources/Issuing/Programs.js.map +1 -0
  203. package/cjs/resources/Issuing/Settlements.d.ts +83 -0
  204. package/cjs/resources/Issuing/Settlements.js +4 -0
  205. package/cjs/resources/Issuing/Settlements.js.map +1 -0
  206. package/cjs/resources/Issuing/Tokens.d.ts +26 -0
  207. package/cjs/resources/Issuing/Transactions.d.ts +178 -0
  208. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  209. package/cjs/resources/Issuing/index.d.ts +56 -22
  210. package/cjs/resources/Issuing/index.js +8 -0
  211. package/cjs/resources/Issuing/index.js.map +1 -1
  212. package/cjs/resources/LineItems.d.ts +29 -2
  213. package/cjs/resources/Mandates.d.ts +47 -1
  214. package/cjs/resources/Mandates.js +8 -0
  215. package/cjs/resources/Mandates.js.map +1 -1
  216. package/cjs/resources/Margins.d.ts +115 -0
  217. package/cjs/resources/Margins.js +35 -0
  218. package/cjs/resources/Margins.js.map +1 -0
  219. package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  220. package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
  221. package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
  222. package/cjs/resources/Orchestration/index.d.ts +12 -0
  223. package/cjs/resources/Orchestration/index.js +13 -0
  224. package/cjs/resources/Orchestration/index.js.map +1 -0
  225. package/cjs/resources/Orders.d.ts +4773 -0
  226. package/cjs/resources/Orders.js +457 -0
  227. package/cjs/resources/Orders.js.map +1 -0
  228. package/cjs/resources/PaymentAttemptRecords.d.ts +664 -2
  229. package/cjs/resources/PaymentAttemptRecords.js +48 -0
  230. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  231. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
  232. package/cjs/resources/PaymentIntents.d.ts +16756 -3555
  233. package/cjs/resources/PaymentIntents.js +46 -0
  234. package/cjs/resources/PaymentIntents.js.map +1 -1
  235. package/cjs/resources/PaymentLinks.d.ts +74 -12
  236. package/cjs/resources/PaymentLocationCapabilities.d.ts +122 -0
  237. package/cjs/resources/PaymentLocationCapabilities.js +29 -0
  238. package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
  239. package/cjs/resources/PaymentLocations.d.ts +178 -0
  240. package/cjs/resources/PaymentLocations.js +41 -0
  241. package/cjs/resources/PaymentLocations.js.map +1 -0
  242. package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
  243. package/cjs/resources/PaymentMethodBalances.js +4 -0
  244. package/cjs/resources/PaymentMethodBalances.js.map +1 -0
  245. package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
  246. package/cjs/resources/PaymentMethods.d.ts +290 -3
  247. package/cjs/resources/PaymentMethods.js +20 -0
  248. package/cjs/resources/PaymentMethods.js.map +1 -1
  249. package/cjs/resources/PaymentRecords.d.ts +623 -19
  250. package/cjs/resources/PaymentRecords.js +11 -0
  251. package/cjs/resources/PaymentRecords.js.map +1 -1
  252. package/cjs/resources/Persons.d.ts +25 -2
  253. package/cjs/resources/Plans.d.ts +16 -0
  254. package/cjs/resources/Prices.d.ts +76 -0
  255. package/cjs/resources/Prices.js +27 -0
  256. package/cjs/resources/Prices.js.map +1 -1
  257. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +35 -0
  258. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
  259. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  260. package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
  261. package/cjs/resources/Privacy/RedactionJobs.js +73 -0
  262. package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
  263. package/cjs/resources/Privacy/index.d.ts +22 -0
  264. package/cjs/resources/Privacy/index.js +13 -0
  265. package/cjs/resources/Privacy/index.js.map +1 -0
  266. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +125 -0
  267. package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
  268. package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
  269. package/cjs/resources/ProductCatalog/index.d.ts +12 -0
  270. package/cjs/resources/ProductCatalog/index.js +13 -0
  271. package/cjs/resources/ProductCatalog/index.js.map +1 -0
  272. package/cjs/resources/Products.d.ts +198 -0
  273. package/cjs/resources/Products.js +69 -0
  274. package/cjs/resources/Products.js.map +1 -1
  275. package/cjs/resources/Profiles.d.ts +26 -0
  276. package/cjs/resources/Profiles.js +4 -0
  277. package/cjs/resources/Profiles.js.map +1 -0
  278. package/cjs/resources/PromotionCodes.d.ts +12 -0
  279. package/cjs/resources/PromotionCodes.js +27 -0
  280. package/cjs/resources/PromotionCodes.js.map +1 -1
  281. package/cjs/resources/QuoteLines.d.ts +684 -0
  282. package/cjs/resources/QuoteLines.js +4 -0
  283. package/cjs/resources/QuoteLines.js.map +1 -0
  284. package/cjs/resources/QuotePreviewInvoices.d.ts +1173 -0
  285. package/cjs/resources/QuotePreviewInvoices.js +4 -0
  286. package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
  287. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +902 -0
  288. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
  289. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  290. package/cjs/resources/Quotes.d.ts +3548 -254
  291. package/cjs/resources/Quotes.js +1184 -16
  292. package/cjs/resources/Quotes.js.map +1 -1
  293. package/cjs/resources/Radar/AccountEvaluations.d.ts +308 -0
  294. package/cjs/resources/Radar/AccountEvaluations.js +27 -0
  295. package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
  296. package/cjs/resources/Radar/CustomerEvaluations.d.ts +244 -0
  297. package/cjs/resources/Radar/CustomerEvaluations.js +27 -0
  298. package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
  299. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
  300. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
  301. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  302. package/cjs/resources/Radar/PaymentEvaluations.d.ts +63 -1
  303. package/cjs/resources/Radar/ValueListItems.d.ts +38 -0
  304. package/cjs/resources/Radar/ValueListItems.js +13 -0
  305. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  306. package/cjs/resources/Radar/index.d.ts +36 -16
  307. package/cjs/resources/Radar/index.js +6 -0
  308. package/cjs/resources/Radar/index.js.map +1 -1
  309. package/cjs/resources/Refunds.d.ts +35 -0
  310. package/cjs/resources/Refunds.js +27 -0
  311. package/cjs/resources/Refunds.js.map +1 -1
  312. package/cjs/resources/Reserve/Holds.d.ts +53 -1
  313. package/cjs/resources/Reserve/Holds.js +19 -0
  314. package/cjs/resources/Reserve/Holds.js.map +1 -1
  315. package/cjs/resources/Reserve/Plans.d.ts +16 -0
  316. package/cjs/resources/Reserve/Plans.js +11 -0
  317. package/cjs/resources/Reserve/Plans.js.map +1 -1
  318. package/cjs/resources/Reserve/Releases.d.ts +41 -1
  319. package/cjs/resources/Reserve/Releases.js +19 -0
  320. package/cjs/resources/Reserve/Releases.js.map +1 -1
  321. package/cjs/resources/Reserve/index.d.ts +17 -6
  322. package/cjs/resources/Reserve/index.js +9 -0
  323. package/cjs/resources/Reserve/index.js.map +1 -1
  324. package/cjs/resources/RiskSignals.d.ts +10 -0
  325. package/cjs/resources/RiskSignals.js +4 -0
  326. package/cjs/resources/RiskSignals.js.map +1 -0
  327. package/cjs/resources/SetupAttempts.d.ts +26 -1
  328. package/cjs/resources/SetupIntents.d.ts +603 -11
  329. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1146 -0
  330. package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
  331. package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
  332. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +320 -0
  333. package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
  334. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
  335. package/cjs/resources/SharedPayment/index.d.ts +19 -0
  336. package/cjs/resources/SharedPayment/index.js +15 -0
  337. package/cjs/resources/SharedPayment/index.js.map +1 -0
  338. package/cjs/resources/Sources.d.ts +29 -1
  339. package/cjs/resources/SubscriptionItems.d.ts +265 -0
  340. package/cjs/resources/SubscriptionItems.js +41 -0
  341. package/cjs/resources/SubscriptionItems.js.map +1 -1
  342. package/cjs/resources/SubscriptionSchedules.d.ts +1949 -19
  343. package/cjs/resources/SubscriptionSchedules.js +61 -0
  344. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  345. package/cjs/resources/Subscriptions.d.ts +965 -12
  346. package/cjs/resources/Subscriptions.js +289 -0
  347. package/cjs/resources/Subscriptions.js.map +1 -1
  348. package/cjs/resources/Tax/CalculationLineItems.d.ts +14 -3
  349. package/cjs/resources/Tax/Calculations.d.ts +45 -3
  350. package/cjs/resources/Tax/Forms.d.ts +228 -0
  351. package/cjs/resources/Tax/Forms.js +32 -0
  352. package/cjs/resources/Tax/Forms.js.map +1 -0
  353. package/cjs/resources/Tax/Locations.d.ts +108 -0
  354. package/cjs/resources/Tax/Locations.js +33 -0
  355. package/cjs/resources/Tax/Locations.js.map +1 -0
  356. package/cjs/resources/Tax/Registrations.d.ts +171 -2
  357. package/cjs/resources/Tax/Registrations.js +27 -0
  358. package/cjs/resources/Tax/Registrations.js.map +1 -1
  359. package/cjs/resources/Tax/Settings.d.ts +8 -0
  360. package/cjs/resources/Tax/Settings.js +13 -0
  361. package/cjs/resources/Tax/Settings.js.map +1 -1
  362. package/cjs/resources/Tax/Transactions.d.ts +10 -2
  363. package/cjs/resources/Tax/Transactions.js +13 -0
  364. package/cjs/resources/Tax/Transactions.js.map +1 -1
  365. package/cjs/resources/Tax/index.d.ts +31 -13
  366. package/cjs/resources/Tax/index.js +4 -0
  367. package/cjs/resources/Tax/index.js.map +1 -1
  368. package/cjs/resources/TaxCodes.d.ts +15 -0
  369. package/cjs/resources/TaxFunds.d.ts +174 -0
  370. package/cjs/resources/TaxFunds.js +23 -0
  371. package/cjs/resources/TaxFunds.js.map +1 -0
  372. package/cjs/resources/TaxIds.d.ts +6 -0
  373. package/cjs/resources/TaxIds.js +13 -0
  374. package/cjs/resources/TaxIds.js.map +1 -1
  375. package/cjs/resources/TaxRates.d.ts +12 -0
  376. package/cjs/resources/TaxRates.js +27 -0
  377. package/cjs/resources/TaxRates.js.map +1 -1
  378. package/cjs/resources/Terminal/Configurations.d.ts +27 -0
  379. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
  380. package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
  381. package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
  382. package/cjs/resources/Terminal/Readers.d.ts +17 -1
  383. package/cjs/resources/Terminal/index.d.ts +5 -0
  384. package/cjs/resources/Terminal/index.js +2 -0
  385. package/cjs/resources/Terminal/index.js.map +1 -1
  386. package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
  387. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
  388. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  389. package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
  390. package/cjs/resources/TestHelpers/Capital/index.js +13 -0
  391. package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
  392. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +94 -1
  393. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +18 -0
  394. package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +126 -0
  395. package/cjs/resources/TestHelpers/Issuing/Disputes.js +39 -0
  396. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
  397. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +26 -0
  398. package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
  399. package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
  400. package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
  401. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +37 -0
  402. package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
  403. package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
  404. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
  405. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
  406. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  407. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  408. package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
  409. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  410. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  411. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  412. package/cjs/resources/TestHelpers/index.d.ts +14 -6
  413. package/cjs/resources/TestHelpers/index.js +12 -6
  414. package/cjs/resources/TestHelpers/index.js.map +1 -1
  415. package/cjs/resources/Tokens.d.ts +76 -0
  416. package/cjs/resources/Transfers.d.ts +12 -0
  417. package/cjs/resources/Transfers.js.map +1 -1
  418. package/cjs/resources/TransitBalances.d.ts +25 -0
  419. package/cjs/resources/TransitBalances.js +4 -0
  420. package/cjs/resources/TransitBalances.js.map +1 -0
  421. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  422. package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
  423. package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
  424. package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
  425. package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
  426. package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
  427. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +71 -0
  428. package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
  429. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  430. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  431. package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
  432. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  433. package/cjs/resources/V2/Billing/BillSettings.d.ts +280 -0
  434. package/cjs/resources/V2/Billing/BillSettings.js +41 -0
  435. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
  436. package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +84 -0
  437. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
  438. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  439. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  440. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
  441. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  442. package/cjs/resources/V2/Billing/Cadences.d.ts +1011 -0
  443. package/cjs/resources/V2/Billing/Cadences.js +264 -0
  444. package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
  445. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +236 -0
  446. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
  447. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  448. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  449. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
  450. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  451. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +775 -0
  452. package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
  453. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
  454. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +47 -0
  455. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +4 -0
  456. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
  457. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
  458. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +29 -0
  459. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
  460. package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
  461. package/cjs/resources/V2/Billing/Contracts/PricingLines.js +15 -0
  462. package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
  463. package/cjs/resources/V2/Billing/Contracts.d.ts +1775 -0
  464. package/cjs/resources/V2/Billing/Contracts.js +607 -0
  465. package/cjs/resources/V2/Billing/Contracts.js.map +1 -0
  466. package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  467. package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
  468. package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  469. package/cjs/resources/V2/Billing/IntentActions.d.ts +603 -0
  470. package/cjs/resources/V2/Billing/IntentActions.js +4 -0
  471. package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
  472. package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  473. package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
  474. package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
  475. package/cjs/resources/V2/Billing/Intents.d.ts +1253 -0
  476. package/cjs/resources/V2/Billing/Intents.js +87 -0
  477. package/cjs/resources/V2/Billing/Intents.js.map +1 -0
  478. package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
  479. package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
  480. package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  481. package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  482. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
  483. package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  484. package/cjs/resources/V2/Billing/LicenseFees.d.ts +360 -0
  485. package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
  486. package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
  487. package/cjs/resources/V2/Billing/LicensedItems.d.ts +170 -0
  488. package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
  489. package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
  490. package/cjs/resources/V2/Billing/MeteredItems.d.ts +218 -0
  491. package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
  492. package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
  493. package/cjs/resources/V2/Billing/OneTimeItems.d.ts +170 -0
  494. package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
  495. package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
  496. package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
  497. package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
  498. package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  499. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +620 -0
  500. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
  501. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  502. package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  503. package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
  504. package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  505. package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  506. package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
  507. package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  508. package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  509. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
  510. package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  511. package/cjs/resources/V2/Billing/PricingPlans.d.ts +169 -0
  512. package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
  513. package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
  514. package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
  515. package/cjs/resources/V2/Billing/Profiles.js +35 -0
  516. package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
  517. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  518. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
  519. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  520. package/cjs/resources/V2/Billing/RateCardRates.d.ts +111 -0
  521. package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
  522. package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
  523. package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +215 -0
  524. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
  525. package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  526. package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  527. package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
  528. package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
  529. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  530. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
  531. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  532. package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  533. package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
  534. package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  535. package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  536. package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
  537. package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  538. package/cjs/resources/V2/Billing/RateCards.d.ts +336 -0
  539. package/cjs/resources/V2/Billing/RateCards.js +76 -0
  540. package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
  541. package/cjs/resources/V2/Billing/ServiceActions.d.ts +510 -0
  542. package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
  543. package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
  544. package/cjs/resources/V2/Billing/index.d.ts +175 -6
  545. package/cjs/resources/V2/Billing/index.js +32 -0
  546. package/cjs/resources/V2/Billing/index.js.map +1 -1
  547. package/cjs/resources/V2/Core/AccountEvaluations.d.ts +156 -0
  548. package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
  549. package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
  550. package/cjs/resources/V2/Core/AccountLinks.d.ts +158 -6
  551. package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
  552. package/cjs/resources/V2/Core/AccountTokens.d.ts +220 -2
  553. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  554. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  555. package/cjs/resources/V2/Core/Accounts.d.ts +15174 -1219
  556. package/cjs/resources/V2/Core/Accounts.js +10284 -53
  557. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  558. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +330 -0
  559. package/cjs/resources/V2/Core/ApprovalRequests.js +46 -0
  560. package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
  561. package/cjs/resources/V2/Core/BatchJobs.d.ts +360 -0
  562. package/cjs/resources/V2/Core/BatchJobs.js +225 -0
  563. package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
  564. package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
  565. package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
  566. package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  567. package/cjs/resources/V2/Core/ConnectionSessions.d.ts +86 -0
  568. package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
  569. package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
  570. package/cjs/resources/V2/Core/Events.d.ts +7671 -232
  571. package/cjs/resources/V2/Core/FeeBatches.d.ts +233 -0
  572. package/cjs/resources/V2/Core/FeeBatches.js +23 -0
  573. package/cjs/resources/V2/Core/FeeBatches.js.map +1 -0
  574. package/cjs/resources/V2/Core/FeeEntries.d.ts +199 -0
  575. package/cjs/resources/V2/Core/FeeEntries.js +23 -0
  576. package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
  577. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +416 -0
  578. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +4 -0
  579. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
  580. package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
  581. package/cjs/resources/V2/Core/Health/Alerts/History.js +101 -0
  582. package/cjs/resources/V2/Core/Health/Alerts/History.js.map +1 -0
  583. package/cjs/resources/V2/Core/Health/Alerts.d.ts +530 -0
  584. package/cjs/resources/V2/Core/Health/Alerts.js +182 -0
  585. package/cjs/resources/V2/Core/Health/Alerts.js.map +1 -0
  586. package/cjs/resources/V2/Core/Health/index.d.ts +16 -0
  587. package/cjs/resources/V2/Core/Health/index.js +13 -0
  588. package/cjs/resources/V2/Core/Health/index.js.map +1 -0
  589. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +279 -0
  590. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
  591. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  592. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +251 -0
  593. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +65 -0
  594. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  595. package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
  596. package/cjs/resources/V2/Core/Vault/index.js +15 -0
  597. package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
  598. package/cjs/resources/V2/Core/index.d.ts +66 -14
  599. package/cjs/resources/V2/Core/index.js +18 -0
  600. package/cjs/resources/V2/Core/index.js.map +1 -1
  601. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
  602. package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
  603. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  604. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
  605. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
  606. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  607. package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
  608. package/cjs/resources/V2/Data/Analytics/index.js +13 -0
  609. package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
  610. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +171 -0
  611. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
  612. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  613. package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
  614. package/cjs/resources/V2/Data/Reporting/index.js +13 -0
  615. package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
  616. package/cjs/resources/V2/Data/index.d.ts +13 -0
  617. package/cjs/resources/V2/Data/index.js +15 -0
  618. package/cjs/resources/V2/Data/index.js.map +1 -0
  619. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +162 -0
  620. package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
  621. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  622. package/cjs/resources/V2/Extend/Workflows.d.ts +119 -0
  623. package/cjs/resources/V2/Extend/Workflows.js +30 -0
  624. package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
  625. package/cjs/resources/V2/Extend/index.d.ts +20 -0
  626. package/cjs/resources/V2/Extend/index.js +15 -0
  627. package/cjs/resources/V2/Extend/index.js.map +1 -0
  628. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  629. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
  630. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  631. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  632. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
  633. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  634. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +210 -0
  635. package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
  636. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
  637. package/cjs/resources/V2/Iam/ApiKeys.d.ts +304 -0
  638. package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
  639. package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
  640. package/cjs/resources/V2/Iam/index.d.ts +23 -0
  641. package/cjs/resources/V2/Iam/index.js +15 -0
  642. package/cjs/resources/V2/Iam/index.js.map +1 -0
  643. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +135 -0
  644. package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
  645. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  646. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
  647. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
  648. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  649. package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +167 -0
  650. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
  651. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
  652. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
  653. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +4 -0
  654. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
  655. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +44 -0
  656. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
  657. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
  658. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +449 -0
  659. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +50 -0
  660. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  661. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
  662. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +4 -0
  663. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
  664. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -0
  665. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
  666. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  667. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +250 -0
  668. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
  669. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  670. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +218 -0
  671. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
  672. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  673. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +638 -0
  674. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
  675. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  676. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +317 -0
  677. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
  678. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  679. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +394 -0
  680. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
  681. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  682. package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +525 -0
  683. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +44 -0
  684. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
  685. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +266 -0
  686. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
  687. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  688. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
  689. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
  690. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  691. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +458 -0
  692. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
  693. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  694. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +263 -0
  695. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
  696. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  697. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +116 -0
  698. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
  699. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  700. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +30 -0
  701. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +15 -0
  702. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -0
  703. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +8 -0
  704. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +13 -0
  705. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +1 -0
  706. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +265 -0
  707. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
  708. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  709. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +296 -0
  710. package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
  711. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  712. package/cjs/resources/V2/MoneyManagement/index.d.ts +143 -0
  713. package/cjs/resources/V2/MoneyManagement/index.js +49 -0
  714. package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
  715. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
  716. package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
  717. package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
  718. package/cjs/resources/V2/Network/index.d.ts +13 -0
  719. package/cjs/resources/V2/Network/index.js +13 -0
  720. package/cjs/resources/V2/Network/index.js.map +1 -0
  721. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
  722. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
  723. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  724. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  725. package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
  726. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  727. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +823 -0
  728. package/cjs/resources/V2/Payments/OffSessionPayments.js +53 -0
  729. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  730. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
  731. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
  732. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  733. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  734. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
  735. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  736. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +209 -0
  737. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
  738. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  739. package/cjs/resources/V2/Payments/index.d.ts +31 -0
  740. package/cjs/resources/V2/Payments/index.js +15 -0
  741. package/cjs/resources/V2/Payments/index.js.map +1 -0
  742. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +190 -0
  743. package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
  744. package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
  745. package/cjs/resources/V2/Reporting/Reports.d.ts +106 -0
  746. package/cjs/resources/V2/Reporting/Reports.js +17 -0
  747. package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
  748. package/cjs/resources/V2/Reporting/index.d.ts +18 -0
  749. package/cjs/resources/V2/Reporting/index.js +15 -0
  750. package/cjs/resources/V2/Reporting/index.js.map +1 -0
  751. package/cjs/resources/V2/Signals/AccountSignals.d.ts +172 -0
  752. package/cjs/resources/V2/Signals/AccountSignals.js +58 -0
  753. package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
  754. package/cjs/resources/V2/Signals/index.d.ts +13 -0
  755. package/cjs/resources/V2/Signals/index.js +13 -0
  756. package/cjs/resources/V2/Signals/index.js.map +1 -0
  757. package/cjs/resources/V2/Tax/ManualRules.d.ts +331 -0
  758. package/cjs/resources/V2/Tax/ManualRules.js +193 -0
  759. package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
  760. package/cjs/resources/V2/Tax/index.d.ts +16 -0
  761. package/cjs/resources/V2/Tax/index.js +13 -0
  762. package/cjs/resources/V2/Tax/index.js.map +1 -0
  763. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  764. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
  765. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  766. package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  767. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
  768. package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  769. package/cjs/resources/V2/TestHelpers/index.d.ts +10 -0
  770. package/cjs/resources/V2/TestHelpers/index.js +15 -0
  771. package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
  772. package/cjs/resources/V2/index.d.ts +39 -0
  773. package/cjs/resources/V2/index.js +22 -0
  774. package/cjs/resources/V2/index.js.map +1 -1
  775. package/cjs/resources/WebhookEndpoints.d.ts +2 -2
  776. package/cjs/resources.d.ts +20 -0
  777. package/cjs/resources.js +282 -18
  778. package/cjs/resources.js.map +1 -1
  779. package/cjs/stripe.cjs.node.d.ts +14156 -490
  780. package/cjs/stripe.cjs.node.js.map +1 -1
  781. package/cjs/stripe.core.d.ts +161 -54
  782. package/cjs/stripe.core.js +74 -31
  783. package/cjs/stripe.core.js.map +1 -1
  784. package/esm/Error.d.ts +53 -0
  785. package/esm/Error.js +117 -0
  786. package/esm/Error.js.map +1 -1
  787. package/esm/StripeEventNotificationHandler.d.ts +19 -0
  788. package/esm/StripeEventNotificationHandler.js +472 -0
  789. package/esm/StripeEventNotificationHandler.js.map +1 -0
  790. package/esm/Types.d.ts +4 -2
  791. package/esm/apiVersion.d.ts +1 -2
  792. package/esm/apiVersion.js +1 -2
  793. package/esm/apiVersion.js.map +1 -1
  794. package/esm/resources/AccountLinks.d.ts +5 -1
  795. package/esm/resources/AccountNotices.d.ts +140 -0
  796. package/esm/resources/AccountNotices.js +25 -0
  797. package/esm/resources/AccountNotices.js.map +1 -0
  798. package/esm/resources/AccountSessions.d.ts +597 -0
  799. package/esm/resources/AccountSessions.js.map +1 -1
  800. package/esm/resources/AccountSignals.d.ts +110 -0
  801. package/esm/resources/AccountSignals.js +3 -0
  802. package/esm/resources/AccountSignals.js.map +1 -0
  803. package/esm/resources/Accounts.d.ts +1020 -6
  804. package/esm/resources/Accounts.js +47 -0
  805. package/esm/resources/Accounts.js.map +1 -1
  806. package/esm/resources/ApplicationFees.d.ts +28 -1
  807. package/esm/resources/Balance.d.ts +134 -0
  808. package/esm/resources/BalanceSettings.d.ts +18 -0
  809. package/esm/resources/BalanceTransactions.d.ts +1 -1
  810. package/esm/resources/BalanceTransfers.d.ts +160 -0
  811. package/esm/resources/BalanceTransfers.js +11 -0
  812. package/esm/resources/BalanceTransfers.js.map +1 -0
  813. package/esm/resources/BankAccounts.d.ts +2 -2
  814. package/esm/resources/Billing/AlertRecovereds.d.ts +40 -0
  815. package/esm/resources/Billing/AlertRecovereds.js +3 -0
  816. package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
  817. package/esm/resources/Billing/AlertTriggereds.d.ts +55 -1
  818. package/esm/resources/Billing/Alerts.d.ts +408 -5
  819. package/esm/resources/Billing/Alerts.js +321 -5
  820. package/esm/resources/Billing/Alerts.js.map +1 -1
  821. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
  822. package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
  823. package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  824. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  825. package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
  826. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  827. package/esm/resources/Billing/Analytics/index.d.ts +15 -0
  828. package/esm/resources/Billing/Analytics/index.js +9 -0
  829. package/esm/resources/Billing/Analytics/index.js.map +1 -0
  830. package/esm/resources/Billing/CreditBalanceSummary.d.ts +126 -2
  831. package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
  832. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  833. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  834. package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
  835. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  836. package/esm/resources/Billing/CreditGrants.d.ts +85 -3
  837. package/esm/resources/Billing/CreditGrants.js +134 -5
  838. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  839. package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
  840. package/esm/resources/Billing/Meters.d.ts +31 -0
  841. package/esm/resources/Billing/index.d.ts +6 -0
  842. package/esm/resources/Billing/index.js +2 -0
  843. package/esm/resources/Billing/index.js.map +1 -1
  844. package/esm/resources/Capabilities.d.ts +25 -2
  845. package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
  846. package/esm/resources/Capital/FinancingOffers.js +26 -0
  847. package/esm/resources/Capital/FinancingOffers.js.map +1 -0
  848. package/esm/resources/Capital/FinancingSummary.d.ts +101 -0
  849. package/esm/resources/Capital/FinancingSummary.js +11 -0
  850. package/esm/resources/Capital/FinancingSummary.js.map +1 -0
  851. package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
  852. package/esm/resources/Capital/FinancingTransactions.js +20 -0
  853. package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
  854. package/esm/resources/Capital/index.d.ts +25 -0
  855. package/esm/resources/Capital/index.js +13 -0
  856. package/esm/resources/Capital/index.js.map +1 -0
  857. package/esm/resources/Cards.d.ts +28 -0
  858. package/esm/resources/Charges.d.ts +3352 -70
  859. package/esm/resources/Charges.js.map +1 -1
  860. package/esm/resources/Checkout/Sessions.d.ts +1174 -22
  861. package/esm/resources/Checkout/Sessions.js +115 -0
  862. package/esm/resources/Checkout/Sessions.js.map +1 -1
  863. package/esm/resources/Checkout/index.d.ts +1 -0
  864. package/esm/resources/ConfirmationTokens.d.ts +139 -1
  865. package/esm/resources/ConfirmationTokens.js.map +1 -1
  866. package/esm/resources/Coupons.d.ts +128 -2
  867. package/esm/resources/Coupons.js +41 -0
  868. package/esm/resources/Coupons.js.map +1 -1
  869. package/esm/resources/CreditNoteLineItems.d.ts +15 -1
  870. package/esm/resources/CreditNotes.d.ts +7 -1
  871. package/esm/resources/CreditNotes.js +13 -0
  872. package/esm/resources/CreditNotes.js.map +1 -1
  873. package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +29 -0
  874. package/esm/resources/Crypto/CustomerConsumerWallets.js +3 -0
  875. package/esm/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
  876. package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +79 -0
  877. package/esm/resources/Crypto/CustomerPaymentTokens.js +3 -0
  878. package/esm/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
  879. package/esm/resources/Crypto/Customers.d.ts +111 -0
  880. package/esm/resources/Crypto/Customers.js +27 -0
  881. package/esm/resources/Crypto/Customers.js.map +1 -0
  882. package/esm/resources/Crypto/OnrampSessions.d.ts +413 -0
  883. package/esm/resources/Crypto/OnrampSessions.js +43 -0
  884. package/esm/resources/Crypto/OnrampSessions.js.map +1 -0
  885. package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +60 -0
  886. package/esm/resources/Crypto/OnrampTransactionLimits.js +11 -0
  887. package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
  888. package/esm/resources/Crypto/index.d.ts +34 -0
  889. package/esm/resources/Crypto/index.js +13 -0
  890. package/esm/resources/Crypto/index.js.map +1 -0
  891. package/esm/resources/CustomerSessions.d.ts +74 -0
  892. package/esm/resources/CustomerSessions.js +13 -0
  893. package/esm/resources/CustomerSessions.js.map +1 -1
  894. package/esm/resources/Customers.d.ts +98 -1
  895. package/esm/resources/Customers.js +195 -0
  896. package/esm/resources/Customers.js.map +1 -1
  897. package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +128 -0
  898. package/esm/resources/DelegatedCheckout/OrderEvents.js +3 -0
  899. package/esm/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
  900. package/esm/resources/DelegatedCheckout/Orders.d.ts +159 -0
  901. package/esm/resources/DelegatedCheckout/Orders.js +11 -0
  902. package/esm/resources/DelegatedCheckout/Orders.js.map +1 -0
  903. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1416 -0
  904. package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
  905. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  906. package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
  907. package/esm/resources/DelegatedCheckout/index.js +11 -0
  908. package/esm/resources/DelegatedCheckout/index.js.map +1 -0
  909. package/esm/resources/Discounts.d.ts +19 -0
  910. package/esm/resources/Disputes.d.ts +43 -0
  911. package/esm/resources/Disputes.js +14 -0
  912. package/esm/resources/Disputes.js.map +1 -1
  913. package/esm/resources/Events.d.ts +573 -2
  914. package/esm/resources/ExternalAccounts.d.ts +212 -1
  915. package/esm/resources/ExternalAccounts.js +42 -1
  916. package/esm/resources/ExternalAccounts.js.map +1 -1
  917. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  918. package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
  919. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  920. package/esm/resources/FinancialConnections/Accounts.d.ts +69 -4
  921. package/esm/resources/FinancialConnections/Accounts.js +8 -0
  922. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  923. package/esm/resources/FinancialConnections/Authorizations.d.ts +99 -0
  924. package/esm/resources/FinancialConnections/Authorizations.js +11 -0
  925. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
  926. package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
  927. package/esm/resources/FinancialConnections/Institutions.js +19 -0
  928. package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
  929. package/esm/resources/FinancialConnections/Sessions.d.ts +156 -7
  930. package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
  931. package/esm/resources/FinancialConnections/index.d.ts +21 -6
  932. package/esm/resources/FinancialConnections/index.js +4 -0
  933. package/esm/resources/FinancialConnections/index.js.map +1 -1
  934. package/esm/resources/FrMealVouchersOnboardings.d.ts +173 -0
  935. package/esm/resources/FrMealVouchersOnboardings.js +38 -0
  936. package/esm/resources/FrMealVouchersOnboardings.js.map +1 -0
  937. package/esm/resources/FxQuotes.d.ts +212 -0
  938. package/esm/resources/FxQuotes.js +25 -0
  939. package/esm/resources/FxQuotes.js.map +1 -0
  940. package/esm/resources/GiftCardOperations.d.ts +248 -0
  941. package/esm/resources/GiftCardOperations.js +11 -0
  942. package/esm/resources/GiftCardOperations.js.map +1 -0
  943. package/esm/resources/GiftCards.d.ts +187 -0
  944. package/esm/resources/GiftCards.js +47 -0
  945. package/esm/resources/GiftCards.js.map +1 -0
  946. package/esm/resources/Identity/BlocklistEntries.d.ts +155 -0
  947. package/esm/resources/Identity/BlocklistEntries.js +50 -0
  948. package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
  949. package/esm/resources/Identity/VerificationReports.d.ts +33 -2
  950. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  951. package/esm/resources/Identity/VerificationSessions.d.ts +11 -3
  952. package/esm/resources/Identity/index.d.ts +18 -10
  953. package/esm/resources/Identity/index.js +2 -0
  954. package/esm/resources/Identity/index.js.map +1 -1
  955. package/esm/resources/InvoiceItems.d.ts +203 -2
  956. package/esm/resources/InvoiceItems.js +41 -0
  957. package/esm/resources/InvoiceItems.js.map +1 -1
  958. package/esm/resources/InvoiceLineItems.d.ts +174 -4
  959. package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
  960. package/esm/resources/InvoiceRenderingTemplates.js +28 -0
  961. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  962. package/esm/resources/Invoices.d.ts +2120 -22
  963. package/esm/resources/Invoices.js +221 -0
  964. package/esm/resources/Invoices.js.map +1 -1
  965. package/esm/resources/Issuing/Authorizations.d.ts +435 -1
  966. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  967. package/esm/resources/Issuing/Cardholders.d.ts +18 -4
  968. package/esm/resources/Issuing/Cards.d.ts +53 -0
  969. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
  970. package/esm/resources/Issuing/CreditUnderwritingRecords.js +49 -0
  971. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  972. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
  973. package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
  974. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  975. package/esm/resources/Issuing/Disputes.d.ts +246 -0
  976. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  977. package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
  978. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  979. package/esm/resources/Issuing/Programs.d.ts +95 -0
  980. package/esm/resources/Issuing/Programs.js +31 -0
  981. package/esm/resources/Issuing/Programs.js.map +1 -0
  982. package/esm/resources/Issuing/Settlements.d.ts +83 -0
  983. package/esm/resources/Issuing/Settlements.js +3 -0
  984. package/esm/resources/Issuing/Settlements.js.map +1 -0
  985. package/esm/resources/Issuing/Tokens.d.ts +26 -0
  986. package/esm/resources/Issuing/Transactions.d.ts +178 -0
  987. package/esm/resources/Issuing/Transactions.js.map +1 -1
  988. package/esm/resources/Issuing/index.d.ts +56 -22
  989. package/esm/resources/Issuing/index.js +8 -0
  990. package/esm/resources/Issuing/index.js.map +1 -1
  991. package/esm/resources/LineItems.d.ts +29 -2
  992. package/esm/resources/Mandates.d.ts +47 -1
  993. package/esm/resources/Mandates.js +8 -0
  994. package/esm/resources/Mandates.js.map +1 -1
  995. package/esm/resources/Margins.d.ts +115 -0
  996. package/esm/resources/Margins.js +31 -0
  997. package/esm/resources/Margins.js.map +1 -0
  998. package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  999. package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
  1000. package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
  1001. package/esm/resources/Orchestration/index.d.ts +12 -0
  1002. package/esm/resources/Orchestration/index.js +9 -0
  1003. package/esm/resources/Orchestration/index.js.map +1 -0
  1004. package/esm/resources/Orders.d.ts +4773 -0
  1005. package/esm/resources/Orders.js +453 -0
  1006. package/esm/resources/Orders.js.map +1 -0
  1007. package/esm/resources/PaymentAttemptRecords.d.ts +664 -2
  1008. package/esm/resources/PaymentAttemptRecords.js +48 -0
  1009. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  1010. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
  1011. package/esm/resources/PaymentIntents.d.ts +16756 -3555
  1012. package/esm/resources/PaymentIntents.js +46 -0
  1013. package/esm/resources/PaymentIntents.js.map +1 -1
  1014. package/esm/resources/PaymentLinks.d.ts +74 -12
  1015. package/esm/resources/PaymentLocationCapabilities.d.ts +122 -0
  1016. package/esm/resources/PaymentLocationCapabilities.js +25 -0
  1017. package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
  1018. package/esm/resources/PaymentLocations.d.ts +178 -0
  1019. package/esm/resources/PaymentLocations.js +37 -0
  1020. package/esm/resources/PaymentLocations.js.map +1 -0
  1021. package/esm/resources/PaymentMethodBalances.d.ts +46 -0
  1022. package/esm/resources/PaymentMethodBalances.js +3 -0
  1023. package/esm/resources/PaymentMethodBalances.js.map +1 -0
  1024. package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
  1025. package/esm/resources/PaymentMethods.d.ts +290 -3
  1026. package/esm/resources/PaymentMethods.js +20 -0
  1027. package/esm/resources/PaymentMethods.js.map +1 -1
  1028. package/esm/resources/PaymentRecords.d.ts +623 -19
  1029. package/esm/resources/PaymentRecords.js +11 -0
  1030. package/esm/resources/PaymentRecords.js.map +1 -1
  1031. package/esm/resources/Persons.d.ts +25 -2
  1032. package/esm/resources/Plans.d.ts +16 -0
  1033. package/esm/resources/Prices.d.ts +76 -0
  1034. package/esm/resources/Prices.js +27 -0
  1035. package/esm/resources/Prices.js.map +1 -1
  1036. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +35 -0
  1037. package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
  1038. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  1039. package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
  1040. package/esm/resources/Privacy/RedactionJobs.js +69 -0
  1041. package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
  1042. package/esm/resources/Privacy/index.d.ts +22 -0
  1043. package/esm/resources/Privacy/index.js +9 -0
  1044. package/esm/resources/Privacy/index.js.map +1 -0
  1045. package/esm/resources/ProductCatalog/TrialOffers.d.ts +125 -0
  1046. package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
  1047. package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
  1048. package/esm/resources/ProductCatalog/index.d.ts +12 -0
  1049. package/esm/resources/ProductCatalog/index.js +9 -0
  1050. package/esm/resources/ProductCatalog/index.js.map +1 -0
  1051. package/esm/resources/Products.d.ts +198 -0
  1052. package/esm/resources/Products.js +69 -0
  1053. package/esm/resources/Products.js.map +1 -1
  1054. package/esm/resources/Profiles.d.ts +26 -0
  1055. package/esm/resources/Profiles.js +3 -0
  1056. package/esm/resources/Profiles.js.map +1 -0
  1057. package/esm/resources/PromotionCodes.d.ts +12 -0
  1058. package/esm/resources/PromotionCodes.js +27 -0
  1059. package/esm/resources/PromotionCodes.js.map +1 -1
  1060. package/esm/resources/QuoteLines.d.ts +684 -0
  1061. package/esm/resources/QuoteLines.js +3 -0
  1062. package/esm/resources/QuoteLines.js.map +1 -0
  1063. package/esm/resources/QuotePreviewInvoices.d.ts +1173 -0
  1064. package/esm/resources/QuotePreviewInvoices.js +3 -0
  1065. package/esm/resources/QuotePreviewInvoices.js.map +1 -0
  1066. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +902 -0
  1067. package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
  1068. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  1069. package/esm/resources/Quotes.d.ts +3548 -254
  1070. package/esm/resources/Quotes.js +1184 -16
  1071. package/esm/resources/Quotes.js.map +1 -1
  1072. package/esm/resources/Radar/AccountEvaluations.d.ts +308 -0
  1073. package/esm/resources/Radar/AccountEvaluations.js +23 -0
  1074. package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
  1075. package/esm/resources/Radar/CustomerEvaluations.d.ts +244 -0
  1076. package/esm/resources/Radar/CustomerEvaluations.js +23 -0
  1077. package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
  1078. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
  1079. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
  1080. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  1081. package/esm/resources/Radar/PaymentEvaluations.d.ts +63 -1
  1082. package/esm/resources/Radar/ValueListItems.d.ts +38 -0
  1083. package/esm/resources/Radar/ValueListItems.js +13 -0
  1084. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  1085. package/esm/resources/Radar/index.d.ts +36 -16
  1086. package/esm/resources/Radar/index.js +6 -0
  1087. package/esm/resources/Radar/index.js.map +1 -1
  1088. package/esm/resources/Refunds.d.ts +35 -0
  1089. package/esm/resources/Refunds.js +27 -0
  1090. package/esm/resources/Refunds.js.map +1 -1
  1091. package/esm/resources/Reserve/Holds.d.ts +53 -1
  1092. package/esm/resources/Reserve/Holds.js +17 -1
  1093. package/esm/resources/Reserve/Holds.js.map +1 -1
  1094. package/esm/resources/Reserve/Plans.d.ts +16 -0
  1095. package/esm/resources/Reserve/Plans.js +9 -1
  1096. package/esm/resources/Reserve/Plans.js.map +1 -1
  1097. package/esm/resources/Reserve/Releases.d.ts +41 -1
  1098. package/esm/resources/Reserve/Releases.js +17 -1
  1099. package/esm/resources/Reserve/Releases.js.map +1 -1
  1100. package/esm/resources/Reserve/index.d.ts +17 -6
  1101. package/esm/resources/Reserve/index.js +9 -0
  1102. package/esm/resources/Reserve/index.js.map +1 -1
  1103. package/esm/resources/RiskSignals.d.ts +10 -0
  1104. package/esm/resources/RiskSignals.js +3 -0
  1105. package/esm/resources/RiskSignals.js.map +1 -0
  1106. package/esm/resources/SetupAttempts.d.ts +26 -1
  1107. package/esm/resources/SetupIntents.d.ts +603 -11
  1108. package/esm/resources/SharedPayment/GrantedTokens.d.ts +1146 -0
  1109. package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
  1110. package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
  1111. package/esm/resources/SharedPayment/IssuedTokens.d.ts +320 -0
  1112. package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
  1113. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
  1114. package/esm/resources/SharedPayment/index.d.ts +19 -0
  1115. package/esm/resources/SharedPayment/index.js +11 -0
  1116. package/esm/resources/SharedPayment/index.js.map +1 -0
  1117. package/esm/resources/Sources.d.ts +29 -1
  1118. package/esm/resources/SubscriptionItems.d.ts +265 -0
  1119. package/esm/resources/SubscriptionItems.js +41 -0
  1120. package/esm/resources/SubscriptionItems.js.map +1 -1
  1121. package/esm/resources/SubscriptionSchedules.d.ts +1949 -19
  1122. package/esm/resources/SubscriptionSchedules.js +61 -0
  1123. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  1124. package/esm/resources/Subscriptions.d.ts +965 -12
  1125. package/esm/resources/Subscriptions.js +289 -0
  1126. package/esm/resources/Subscriptions.js.map +1 -1
  1127. package/esm/resources/Tax/CalculationLineItems.d.ts +14 -3
  1128. package/esm/resources/Tax/Calculations.d.ts +45 -3
  1129. package/esm/resources/Tax/Forms.d.ts +228 -0
  1130. package/esm/resources/Tax/Forms.js +28 -0
  1131. package/esm/resources/Tax/Forms.js.map +1 -0
  1132. package/esm/resources/Tax/Locations.d.ts +108 -0
  1133. package/esm/resources/Tax/Locations.js +29 -0
  1134. package/esm/resources/Tax/Locations.js.map +1 -0
  1135. package/esm/resources/Tax/Registrations.d.ts +171 -2
  1136. package/esm/resources/Tax/Registrations.js +27 -0
  1137. package/esm/resources/Tax/Registrations.js.map +1 -1
  1138. package/esm/resources/Tax/Settings.d.ts +8 -0
  1139. package/esm/resources/Tax/Settings.js +13 -0
  1140. package/esm/resources/Tax/Settings.js.map +1 -1
  1141. package/esm/resources/Tax/Transactions.d.ts +10 -2
  1142. package/esm/resources/Tax/Transactions.js +13 -0
  1143. package/esm/resources/Tax/Transactions.js.map +1 -1
  1144. package/esm/resources/Tax/index.d.ts +31 -13
  1145. package/esm/resources/Tax/index.js +4 -0
  1146. package/esm/resources/Tax/index.js.map +1 -1
  1147. package/esm/resources/TaxCodes.d.ts +15 -0
  1148. package/esm/resources/TaxFunds.d.ts +174 -0
  1149. package/esm/resources/TaxFunds.js +19 -0
  1150. package/esm/resources/TaxFunds.js.map +1 -0
  1151. package/esm/resources/TaxIds.d.ts +6 -0
  1152. package/esm/resources/TaxIds.js +13 -0
  1153. package/esm/resources/TaxIds.js.map +1 -1
  1154. package/esm/resources/TaxRates.d.ts +12 -0
  1155. package/esm/resources/TaxRates.js +27 -0
  1156. package/esm/resources/TaxRates.js.map +1 -1
  1157. package/esm/resources/Terminal/Configurations.d.ts +27 -0
  1158. package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
  1159. package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
  1160. package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
  1161. package/esm/resources/Terminal/Readers.d.ts +17 -1
  1162. package/esm/resources/Terminal/index.d.ts +5 -0
  1163. package/esm/resources/Terminal/index.js +2 -0
  1164. package/esm/resources/Terminal/index.js.map +1 -1
  1165. package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
  1166. package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
  1167. package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  1168. package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
  1169. package/esm/resources/TestHelpers/Capital/index.js +9 -0
  1170. package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
  1171. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +94 -1
  1172. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +18 -0
  1173. package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +126 -0
  1174. package/esm/resources/TestHelpers/Issuing/Disputes.js +35 -0
  1175. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
  1176. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +26 -0
  1177. package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
  1178. package/esm/resources/TestHelpers/Issuing/index.js +2 -0
  1179. package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
  1180. package/esm/resources/TestHelpers/PaymentIntents.d.ts +37 -0
  1181. package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
  1182. package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
  1183. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
  1184. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
  1185. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  1186. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  1187. package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
  1188. package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  1189. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  1190. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  1191. package/esm/resources/TestHelpers/index.d.ts +14 -6
  1192. package/esm/resources/TestHelpers/index.js +6 -0
  1193. package/esm/resources/TestHelpers/index.js.map +1 -1
  1194. package/esm/resources/Tokens.d.ts +76 -0
  1195. package/esm/resources/Transfers.d.ts +12 -0
  1196. package/esm/resources/Transfers.js.map +1 -1
  1197. package/esm/resources/TransitBalances.d.ts +25 -0
  1198. package/esm/resources/TransitBalances.js +3 -0
  1199. package/esm/resources/TransitBalances.js.map +1 -0
  1200. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  1201. package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
  1202. package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
  1203. package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
  1204. package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
  1205. package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
  1206. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +71 -0
  1207. package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
  1208. package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  1209. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  1210. package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
  1211. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  1212. package/esm/resources/V2/Billing/BillSettings.d.ts +280 -0
  1213. package/esm/resources/V2/Billing/BillSettings.js +37 -0
  1214. package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
  1215. package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +84 -0
  1216. package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
  1217. package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  1218. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  1219. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
  1220. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  1221. package/esm/resources/V2/Billing/Cadences.d.ts +1011 -0
  1222. package/esm/resources/V2/Billing/Cadences.js +260 -0
  1223. package/esm/resources/V2/Billing/Cadences.js.map +1 -0
  1224. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +236 -0
  1225. package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
  1226. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  1227. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  1228. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
  1229. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  1230. package/esm/resources/V2/Billing/CollectionSettings.d.ts +775 -0
  1231. package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
  1232. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
  1233. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +47 -0
  1234. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +3 -0
  1235. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
  1236. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
  1237. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +25 -0
  1238. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
  1239. package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
  1240. package/esm/resources/V2/Billing/Contracts/PricingLines.js +11 -0
  1241. package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
  1242. package/esm/resources/V2/Billing/Contracts.d.ts +1775 -0
  1243. package/esm/resources/V2/Billing/Contracts.js +603 -0
  1244. package/esm/resources/V2/Billing/Contracts.js.map +1 -0
  1245. package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  1246. package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
  1247. package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  1248. package/esm/resources/V2/Billing/IntentActions.d.ts +603 -0
  1249. package/esm/resources/V2/Billing/IntentActions.js +3 -0
  1250. package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
  1251. package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  1252. package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
  1253. package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
  1254. package/esm/resources/V2/Billing/Intents.d.ts +1253 -0
  1255. package/esm/resources/V2/Billing/Intents.js +83 -0
  1256. package/esm/resources/V2/Billing/Intents.js.map +1 -0
  1257. package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
  1258. package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
  1259. package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  1260. package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  1261. package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
  1262. package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  1263. package/esm/resources/V2/Billing/LicenseFees.d.ts +360 -0
  1264. package/esm/resources/V2/Billing/LicenseFees.js +144 -0
  1265. package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
  1266. package/esm/resources/V2/Billing/LicensedItems.d.ts +170 -0
  1267. package/esm/resources/V2/Billing/LicensedItems.js +31 -0
  1268. package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
  1269. package/esm/resources/V2/Billing/MeteredItems.d.ts +218 -0
  1270. package/esm/resources/V2/Billing/MeteredItems.js +31 -0
  1271. package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
  1272. package/esm/resources/V2/Billing/OneTimeItems.d.ts +170 -0
  1273. package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
  1274. package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
  1275. package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
  1276. package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
  1277. package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  1278. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +620 -0
  1279. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
  1280. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  1281. package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  1282. package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
  1283. package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  1284. package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  1285. package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
  1286. package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  1287. package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  1288. package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
  1289. package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  1290. package/esm/resources/V2/Billing/PricingPlans.d.ts +169 -0
  1291. package/esm/resources/V2/Billing/PricingPlans.js +39 -0
  1292. package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
  1293. package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
  1294. package/esm/resources/V2/Billing/Profiles.js +31 -0
  1295. package/esm/resources/V2/Billing/Profiles.js.map +1 -0
  1296. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  1297. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
  1298. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  1299. package/esm/resources/V2/Billing/RateCardRates.d.ts +111 -0
  1300. package/esm/resources/V2/Billing/RateCardRates.js +3 -0
  1301. package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
  1302. package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +215 -0
  1303. package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
  1304. package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  1305. package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  1306. package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
  1307. package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
  1308. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  1309. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
  1310. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  1311. package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  1312. package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
  1313. package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  1314. package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  1315. package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
  1316. package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  1317. package/esm/resources/V2/Billing/RateCards.d.ts +336 -0
  1318. package/esm/resources/V2/Billing/RateCards.js +72 -0
  1319. package/esm/resources/V2/Billing/RateCards.js.map +1 -0
  1320. package/esm/resources/V2/Billing/ServiceActions.d.ts +510 -0
  1321. package/esm/resources/V2/Billing/ServiceActions.js +158 -0
  1322. package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
  1323. package/esm/resources/V2/Billing/index.d.ts +175 -6
  1324. package/esm/resources/V2/Billing/index.js +32 -0
  1325. package/esm/resources/V2/Billing/index.js.map +1 -1
  1326. package/esm/resources/V2/Core/AccountEvaluations.d.ts +156 -0
  1327. package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
  1328. package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
  1329. package/esm/resources/V2/Core/AccountLinks.d.ts +158 -6
  1330. package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
  1331. package/esm/resources/V2/Core/AccountTokens.d.ts +220 -2
  1332. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  1333. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  1334. package/esm/resources/V2/Core/Accounts.d.ts +15174 -1219
  1335. package/esm/resources/V2/Core/Accounts.js +10284 -53
  1336. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  1337. package/esm/resources/V2/Core/ApprovalRequests.d.ts +330 -0
  1338. package/esm/resources/V2/Core/ApprovalRequests.js +42 -0
  1339. package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
  1340. package/esm/resources/V2/Core/BatchJobs.d.ts +360 -0
  1341. package/esm/resources/V2/Core/BatchJobs.js +221 -0
  1342. package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
  1343. package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
  1344. package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
  1345. package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  1346. package/esm/resources/V2/Core/ConnectionSessions.d.ts +86 -0
  1347. package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
  1348. package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
  1349. package/esm/resources/V2/Core/Events.d.ts +7671 -232
  1350. package/esm/resources/V2/Core/FeeBatches.d.ts +233 -0
  1351. package/esm/resources/V2/Core/FeeBatches.js +19 -0
  1352. package/esm/resources/V2/Core/FeeBatches.js.map +1 -0
  1353. package/esm/resources/V2/Core/FeeEntries.d.ts +199 -0
  1354. package/esm/resources/V2/Core/FeeEntries.js +19 -0
  1355. package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
  1356. package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +416 -0
  1357. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +3 -0
  1358. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
  1359. package/esm/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
  1360. package/esm/resources/V2/Core/Health/Alerts/History.js +97 -0
  1361. package/esm/resources/V2/Core/Health/Alerts/History.js.map +1 -0
  1362. package/esm/resources/V2/Core/Health/Alerts.d.ts +530 -0
  1363. package/esm/resources/V2/Core/Health/Alerts.js +178 -0
  1364. package/esm/resources/V2/Core/Health/Alerts.js.map +1 -0
  1365. package/esm/resources/V2/Core/Health/index.d.ts +16 -0
  1366. package/esm/resources/V2/Core/Health/index.js +9 -0
  1367. package/esm/resources/V2/Core/Health/index.js.map +1 -0
  1368. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +279 -0
  1369. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
  1370. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  1371. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +251 -0
  1372. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +61 -0
  1373. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  1374. package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
  1375. package/esm/resources/V2/Core/Vault/index.js +11 -0
  1376. package/esm/resources/V2/Core/Vault/index.js.map +1 -0
  1377. package/esm/resources/V2/Core/index.d.ts +66 -14
  1378. package/esm/resources/V2/Core/index.js +18 -0
  1379. package/esm/resources/V2/Core/index.js.map +1 -1
  1380. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
  1381. package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
  1382. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  1383. package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
  1384. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
  1385. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  1386. package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
  1387. package/esm/resources/V2/Data/Analytics/index.js +9 -0
  1388. package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
  1389. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +171 -0
  1390. package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
  1391. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  1392. package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
  1393. package/esm/resources/V2/Data/Reporting/index.js +9 -0
  1394. package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
  1395. package/esm/resources/V2/Data/index.d.ts +13 -0
  1396. package/esm/resources/V2/Data/index.js +11 -0
  1397. package/esm/resources/V2/Data/index.js.map +1 -0
  1398. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +162 -0
  1399. package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
  1400. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  1401. package/esm/resources/V2/Extend/Workflows.d.ts +119 -0
  1402. package/esm/resources/V2/Extend/Workflows.js +26 -0
  1403. package/esm/resources/V2/Extend/Workflows.js.map +1 -0
  1404. package/esm/resources/V2/Extend/index.d.ts +20 -0
  1405. package/esm/resources/V2/Extend/index.js +11 -0
  1406. package/esm/resources/V2/Extend/index.js.map +1 -0
  1407. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  1408. package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
  1409. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  1410. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  1411. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
  1412. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  1413. package/esm/resources/V2/Iam/ActivityLogs.d.ts +210 -0
  1414. package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
  1415. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
  1416. package/esm/resources/V2/Iam/ApiKeys.d.ts +304 -0
  1417. package/esm/resources/V2/Iam/ApiKeys.js +43 -0
  1418. package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
  1419. package/esm/resources/V2/Iam/index.d.ts +23 -0
  1420. package/esm/resources/V2/Iam/index.js +11 -0
  1421. package/esm/resources/V2/Iam/index.js.map +1 -0
  1422. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +135 -0
  1423. package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
  1424. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  1425. package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
  1426. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
  1427. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  1428. package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +167 -0
  1429. package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
  1430. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
  1431. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
  1432. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +3 -0
  1433. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
  1434. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +44 -0
  1435. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
  1436. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
  1437. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +449 -0
  1438. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +46 -0
  1439. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  1440. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
  1441. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +3 -0
  1442. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
  1443. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -0
  1444. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
  1445. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  1446. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +250 -0
  1447. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
  1448. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  1449. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +218 -0
  1450. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
  1451. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  1452. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +638 -0
  1453. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
  1454. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  1455. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +317 -0
  1456. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
  1457. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  1458. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +394 -0
  1459. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
  1460. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  1461. package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +525 -0
  1462. package/esm/resources/V2/MoneyManagement/PayoutIntents.js +40 -0
  1463. package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
  1464. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +266 -0
  1465. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
  1466. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  1467. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
  1468. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
  1469. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  1470. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +458 -0
  1471. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
  1472. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  1473. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +263 -0
  1474. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
  1475. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  1476. package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +116 -0
  1477. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
  1478. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  1479. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +30 -0
  1480. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +11 -0
  1481. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -0
  1482. package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +8 -0
  1483. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +9 -0
  1484. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +1 -0
  1485. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +265 -0
  1486. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
  1487. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  1488. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +296 -0
  1489. package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
  1490. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  1491. package/esm/resources/V2/MoneyManagement/index.d.ts +143 -0
  1492. package/esm/resources/V2/MoneyManagement/index.js +45 -0
  1493. package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
  1494. package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
  1495. package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
  1496. package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
  1497. package/esm/resources/V2/Network/index.d.ts +13 -0
  1498. package/esm/resources/V2/Network/index.js +9 -0
  1499. package/esm/resources/V2/Network/index.js.map +1 -0
  1500. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
  1501. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
  1502. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  1503. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  1504. package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
  1505. package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  1506. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +823 -0
  1507. package/esm/resources/V2/Payments/OffSessionPayments.js +49 -0
  1508. package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  1509. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
  1510. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
  1511. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  1512. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  1513. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
  1514. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  1515. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +209 -0
  1516. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
  1517. package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  1518. package/esm/resources/V2/Payments/index.d.ts +31 -0
  1519. package/esm/resources/V2/Payments/index.js +11 -0
  1520. package/esm/resources/V2/Payments/index.js.map +1 -0
  1521. package/esm/resources/V2/Reporting/ReportRuns.d.ts +190 -0
  1522. package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
  1523. package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
  1524. package/esm/resources/V2/Reporting/Reports.d.ts +106 -0
  1525. package/esm/resources/V2/Reporting/Reports.js +13 -0
  1526. package/esm/resources/V2/Reporting/Reports.js.map +1 -0
  1527. package/esm/resources/V2/Reporting/index.d.ts +18 -0
  1528. package/esm/resources/V2/Reporting/index.js +11 -0
  1529. package/esm/resources/V2/Reporting/index.js.map +1 -0
  1530. package/esm/resources/V2/Signals/AccountSignals.d.ts +172 -0
  1531. package/esm/resources/V2/Signals/AccountSignals.js +54 -0
  1532. package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
  1533. package/esm/resources/V2/Signals/index.d.ts +13 -0
  1534. package/esm/resources/V2/Signals/index.js +9 -0
  1535. package/esm/resources/V2/Signals/index.js.map +1 -0
  1536. package/esm/resources/V2/Tax/ManualRules.d.ts +331 -0
  1537. package/esm/resources/V2/Tax/ManualRules.js +189 -0
  1538. package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
  1539. package/esm/resources/V2/Tax/index.d.ts +16 -0
  1540. package/esm/resources/V2/Tax/index.js +9 -0
  1541. package/esm/resources/V2/Tax/index.js.map +1 -0
  1542. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  1543. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
  1544. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  1545. package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  1546. package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
  1547. package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  1548. package/esm/resources/V2/TestHelpers/index.d.ts +10 -0
  1549. package/esm/resources/V2/TestHelpers/index.js +11 -0
  1550. package/esm/resources/V2/TestHelpers/index.js.map +1 -0
  1551. package/esm/resources/V2/index.d.ts +39 -0
  1552. package/esm/resources/V2/index.js +22 -0
  1553. package/esm/resources/V2/index.js.map +1 -1
  1554. package/esm/resources/WebhookEndpoints.d.ts +2 -2
  1555. package/esm/resources.d.ts +20 -0
  1556. package/esm/resources.js +252 -0
  1557. package/esm/resources.js.map +1 -1
  1558. package/esm/stripe.core.d.ts +161 -54
  1559. package/esm/stripe.core.js +45 -2
  1560. package/esm/stripe.core.js.map +1 -1
  1561. package/esm/stripe.esm.node.d.ts +161 -54
  1562. package/esm/stripe.esm.node.js +45 -2
  1563. package/esm/stripe.esm.node.js.map +1 -1
  1564. 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
  */
@@ -390,6 +438,20 @@ export declare namespace Subscription {
390
438
  footer: string | null;
391
439
  issuer: InvoiceSettings.Issuer;
392
440
  }
441
+ interface LastPriceMigrationError {
442
+ /**
443
+ * The time at which the price migration encountered an error.
444
+ */
445
+ errored_at: number;
446
+ /**
447
+ * The involved price pairs in each failed transition.
448
+ */
449
+ failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
450
+ /**
451
+ * The type of error encountered by the price migration.
452
+ */
453
+ type: 'price_uniqueness_violation';
454
+ }
393
455
  interface ManagedPayments {
394
456
  /**
395
457
  * Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
@@ -451,6 +513,10 @@ export declare namespace Subscription {
451
513
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
452
514
  */
453
515
  metadata: Metadata | null;
516
+ /**
517
+ * The number of iterations of prebilling to apply.
518
+ */
519
+ prebilling_iterations?: number | null;
454
520
  /**
455
521
  * List of subscription items, each with an attached plan, that will be set if the update is applied.
456
522
  */
@@ -464,6 +530,24 @@ export declare namespace Subscription {
464
530
  */
465
531
  trial_from_plan: boolean | null;
466
532
  }
533
+ interface Prebilling {
534
+ /**
535
+ * ID of the prebilling invoice.
536
+ */
537
+ invoice: string | Invoice;
538
+ /**
539
+ * The end of the last period for which the invoice pre-bills.
540
+ */
541
+ period_end: number;
542
+ /**
543
+ * The start of the first period for which the invoice pre-bills.
544
+ */
545
+ period_start: number;
546
+ /**
547
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
548
+ */
549
+ update_behavior?: Prebilling.UpdateBehavior;
550
+ }
467
551
  interface PresentmentDetails {
468
552
  /**
469
553
  * Currency used for customer payments.
@@ -471,6 +555,12 @@ export declare namespace Subscription {
471
555
  presentment_currency: string;
472
556
  }
473
557
  type Status = 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid';
558
+ interface StatusDetails {
559
+ /**
560
+ * Indicates when and why the subscription transitioned to the paused status.
561
+ */
562
+ paused: StatusDetails.Paused;
563
+ }
474
564
  interface TransferData {
475
565
  /**
476
566
  * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
@@ -499,7 +589,7 @@ export declare namespace Subscription {
499
589
  type: Liability.Type;
500
590
  }
501
591
  namespace Liability {
502
- type Type = 'account' | 'self';
592
+ type Type = 'account' | 'application' | 'self';
503
593
  }
504
594
  }
505
595
  namespace BillingMode {
@@ -586,7 +676,19 @@ export declare namespace Subscription {
586
676
  type: Issuer.Type;
587
677
  }
588
678
  namespace Issuer {
589
- type Type = 'account' | 'self';
679
+ type Type = 'account' | 'application' | 'self';
680
+ }
681
+ }
682
+ namespace LastPriceMigrationError {
683
+ interface FailedTransition {
684
+ /**
685
+ * The original price to be migrated.
686
+ */
687
+ source_price: string;
688
+ /**
689
+ * The intended resulting price of the migration.
690
+ */
691
+ target_price: string;
590
692
  }
591
693
  }
592
694
  namespace PauseCollection {
@@ -602,14 +704,30 @@ export declare namespace Subscription {
602
704
  * This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
603
705
  */
604
706
  bancontact: PaymentMethodOptions.Bancontact | null;
707
+ /**
708
+ * This sub-hash contains details about the Bizum payment method options to pass to invoices created by the subscription.
709
+ */
710
+ bizum?: PaymentMethodOptions.Bizum | null;
711
+ /**
712
+ * This sub-hash contains details about the Blik payment method options to pass to invoices created by the subscription.
713
+ */
714
+ blik?: PaymentMethodOptions.Blik | null;
605
715
  /**
606
716
  * This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
607
717
  */
608
718
  card: PaymentMethodOptions.Card | null;
719
+ /**
720
+ * This sub-hash contains details about the Check Scan payment method options to pass to invoices created by the subscription.
721
+ */
722
+ check_scan?: PaymentMethodOptions.CheckScan | null;
609
723
  /**
610
724
  * This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
611
725
  */
612
726
  customer_balance: PaymentMethodOptions.CustomerBalance | null;
727
+ /**
728
+ * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
729
+ */
730
+ id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
613
731
  /**
614
732
  * This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
615
733
  */
@@ -634,8 +752,12 @@ export declare namespace Subscription {
634
752
  * This sub-hash contains details about the ACH direct debit payment method options to pass to invoices created by the subscription.
635
753
  */
636
754
  us_bank_account: PaymentMethodOptions.UsBankAccount | null;
755
+ /**
756
+ * This sub-hash contains details about the WeChat Pay payment method options to pass to invoices created by the subscription.
757
+ */
758
+ wechat_pay?: PaymentMethodOptions.WechatPay | null;
637
759
  }
638
- 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' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
760
+ 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' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
639
761
  type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
640
762
  namespace PaymentMethodOptions {
641
763
  interface AcssDebit {
@@ -651,6 +773,12 @@ export declare namespace Subscription {
651
773
  */
652
774
  preferred_language: Bancontact.PreferredLanguage;
653
775
  }
776
+ interface Bizum {
777
+ mandate_options?: Bizum.MandateOptions;
778
+ }
779
+ interface Blik {
780
+ mandate_options?: Blik.MandateOptions;
781
+ }
654
782
  interface Card {
655
783
  mandate_options?: Card.MandateOptions;
656
784
  /**
@@ -662,6 +790,8 @@ export declare namespace Subscription {
662
790
  */
663
791
  request_three_d_secure: Card.RequestThreeDSecure | null;
664
792
  }
793
+ interface CheckScan {
794
+ }
665
795
  interface CustomerBalance {
666
796
  bank_transfer?: CustomerBalance.BankTransfer;
667
797
  /**
@@ -669,6 +799,8 @@ export declare namespace Subscription {
669
799
  */
670
800
  funding_type: 'bank_transfer' | null;
671
801
  }
802
+ interface IdBankTransfer {
803
+ }
672
804
  interface Konbini {
673
805
  }
674
806
  interface Payto {
@@ -693,6 +825,16 @@ export declare namespace Subscription {
693
825
  */
694
826
  verification_method?: UsBankAccount.VerificationMethod;
695
827
  }
828
+ interface WechatPay {
829
+ /**
830
+ * The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
831
+ */
832
+ app_id?: string;
833
+ /**
834
+ * The client type that the end customer will pay from.
835
+ */
836
+ client?: WechatPay.Client;
837
+ }
696
838
  namespace AcssDebit {
697
839
  interface MandateOptions {
698
840
  /**
@@ -708,6 +850,26 @@ export declare namespace Subscription {
708
850
  namespace Bancontact {
709
851
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
710
852
  }
853
+ namespace Bizum {
854
+ interface MandateOptions {
855
+ /**
856
+ * Amount to be charged for future payments. Required when `amount_type=fixed`.
857
+ */
858
+ amount?: number;
859
+ /**
860
+ * Indicates the mandate amount type.
861
+ */
862
+ amount_type?: 'fixed';
863
+ }
864
+ }
865
+ namespace Blik {
866
+ interface MandateOptions {
867
+ /**
868
+ * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
869
+ */
870
+ expires_after: number | null;
871
+ }
872
+ }
711
873
  namespace Card {
712
874
  interface MandateOptions {
713
875
  /**
@@ -835,27 +997,69 @@ export declare namespace Subscription {
835
997
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
836
998
  */
837
999
  account_subcategories?: Array<Filters.AccountSubcategory>;
1000
+ /**
1001
+ * The institution to use to filter for possible accounts to link.
1002
+ */
1003
+ institution?: string;
838
1004
  }
839
1005
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
840
- type Prefetch = 'balances' | 'ownership' | 'transactions';
1006
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
841
1007
  namespace Filters {
842
1008
  type AccountSubcategory = 'checking' | 'savings';
843
1009
  }
844
1010
  }
845
1011
  }
1012
+ namespace WechatPay {
1013
+ type Client = 'android' | 'ios' | 'mobile_web' | 'web';
1014
+ }
846
1015
  }
847
1016
  }
848
1017
  namespace PendingInvoiceItemInterval {
849
1018
  type Interval = 'day' | 'month' | 'week' | 'year';
850
1019
  }
1020
+ namespace Prebilling {
1021
+ type UpdateBehavior = 'prebill' | 'reset';
1022
+ }
1023
+ namespace StatusDetails {
1024
+ interface Paused {
1025
+ /**
1026
+ * Information on the `type=subscription` pause.
1027
+ */
1028
+ subscription: Paused.Subscription;
1029
+ /**
1030
+ * Unix timestamp in seconds of when the subscription status transitioned to `paused`.
1031
+ */
1032
+ transitioned_at: number;
1033
+ /**
1034
+ * The type of pause.
1035
+ */
1036
+ type: 'subscription';
1037
+ }
1038
+ namespace Paused {
1039
+ interface Subscription {
1040
+ /**
1041
+ * The reason that the subscription was paused.
1042
+ */
1043
+ type: Subscription.Type;
1044
+ }
1045
+ namespace Subscription {
1046
+ type Type = 'pause_requested' | 'system' | 'trial_end_without_payment_method';
1047
+ }
1048
+ }
1049
+ }
851
1050
  namespace TrialSettings {
852
1051
  interface EndBehavior {
1052
+ /**
1053
+ * Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
1054
+ */
1055
+ billing_cycle_anchor?: EndBehavior.BillingCycleAnchor | null;
853
1056
  /**
854
1057
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
855
1058
  */
856
1059
  missing_payment_method: EndBehavior.MissingPaymentMethod;
857
1060
  }
858
1061
  namespace EndBehavior {
1062
+ type BillingCycleAnchor = 'now' | 'unchanged';
859
1063
  type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
860
1064
  }
861
1065
  }
@@ -877,6 +1081,10 @@ export interface SubscriptionCreateParams {
877
1081
  * A past timestamp to backdate the subscription's start date to. If set, the first invoice will contain line items for the timespan between the start date and the current time. Can be combined with trials and the billing cycle anchor.
878
1082
  */
879
1083
  backdate_start_date?: number;
1084
+ /**
1085
+ * 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.
1086
+ */
1087
+ billing_cadence?: string;
880
1088
  /**
881
1089
  * A future timestamp in UTC format to anchor the subscription's [billing cycle](https://docs.stripe.com/subscriptions/billing-cycle). The anchor is the reference point that aligns future billing cycle dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals.
882
1090
  */
@@ -981,6 +1189,10 @@ export interface SubscriptionCreateParams {
981
1189
  * Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://docs.stripe.com/api/invoices/create) for the given subscription at the specified interval.
982
1190
  */
983
1191
  pending_invoice_item_interval?: Emptyable<SubscriptionCreateParams.PendingInvoiceItemInterval>;
1192
+ /**
1193
+ * If specified, the invoicing for the given billing cycle iterations will be processed now.
1194
+ */
1195
+ prebilling?: SubscriptionCreateParams.Prebilling;
984
1196
  /**
985
1197
  * Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
986
1198
  */
@@ -1118,10 +1330,18 @@ export declare namespace SubscriptionCreateParams {
1118
1330
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1119
1331
  */
1120
1332
  discount?: string;
1333
+ /**
1334
+ * Details to determine how long the discount should be applied for.
1335
+ */
1336
+ discount_end?: Discount.DiscountEnd;
1121
1337
  /**
1122
1338
  * ID of the promotion code to create a new discount for.
1123
1339
  */
1124
1340
  promotion_code?: string;
1341
+ /**
1342
+ * Settings for discount application including service period anchoring.
1343
+ */
1344
+ settings?: Discount.Settings;
1125
1345
  }
1126
1346
  interface InvoiceSettings {
1127
1347
  /**
@@ -1150,6 +1370,10 @@ export declare namespace SubscriptionCreateParams {
1150
1370
  * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.
1151
1371
  */
1152
1372
  billing_thresholds?: Emptyable<Item.BillingThresholds>;
1373
+ /**
1374
+ * The trial offer to apply to this subscription item.
1375
+ */
1376
+ current_trial?: Item.CurrentTrial;
1153
1377
  /**
1154
1378
  * The coupons to redeem into discounts for the subscription item.
1155
1379
  */
@@ -1178,6 +1402,10 @@ export declare namespace SubscriptionCreateParams {
1178
1402
  * A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
1179
1403
  */
1180
1404
  tax_rates?: Emptyable<Array<string>>;
1405
+ /**
1406
+ * Define options to configure the trial on the subscription item.
1407
+ */
1408
+ trial?: Item.Trial;
1181
1409
  }
1182
1410
  type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete';
1183
1411
  interface PaymentSettings {
@@ -1204,6 +1432,16 @@ export declare namespace SubscriptionCreateParams {
1204
1432
  */
1205
1433
  interval_count?: number;
1206
1434
  }
1435
+ interface Prebilling {
1436
+ /**
1437
+ * This is used to determine the number of billing cycles to prebill.
1438
+ */
1439
+ iterations: number;
1440
+ /**
1441
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
1442
+ */
1443
+ update_behavior?: Prebilling.UpdateBehavior;
1444
+ }
1207
1445
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
1208
1446
  interface TransferData {
1209
1447
  /**
@@ -1231,6 +1469,10 @@ export declare namespace SubscriptionCreateParams {
1231
1469
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1232
1470
  */
1233
1471
  discount?: string;
1472
+ /**
1473
+ * Details to determine how long the discount should be applied for.
1474
+ */
1475
+ discount_end?: Discount.DiscountEnd;
1234
1476
  /**
1235
1477
  * ID of the promotion code to create a new discount for.
1236
1478
  */
@@ -1268,6 +1510,38 @@ export declare namespace SubscriptionCreateParams {
1268
1510
  */
1269
1511
  unit_amount_decimal?: Decimal;
1270
1512
  }
1513
+ namespace Discount {
1514
+ interface DiscountEnd {
1515
+ /**
1516
+ * Time span for the redeemed discount.
1517
+ */
1518
+ duration?: DiscountEnd.Duration;
1519
+ /**
1520
+ * A precise Unix timestamp for the discount to end. Must be in the future.
1521
+ */
1522
+ timestamp?: number;
1523
+ /**
1524
+ * The type of calculation made to determine when the discount ends.
1525
+ */
1526
+ type: DiscountEnd.Type;
1527
+ }
1528
+ namespace DiscountEnd {
1529
+ interface Duration {
1530
+ /**
1531
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1532
+ */
1533
+ interval: Duration.Interval;
1534
+ /**
1535
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1536
+ */
1537
+ interval_count: number;
1538
+ }
1539
+ type Type = 'duration' | 'timestamp';
1540
+ namespace Duration {
1541
+ type Interval = 'day' | 'month' | 'week' | 'year';
1542
+ }
1543
+ }
1544
+ }
1271
1545
  namespace Period {
1272
1546
  interface End {
1273
1547
  /**
@@ -1312,7 +1586,7 @@ export declare namespace SubscriptionCreateParams {
1312
1586
  type: Liability.Type;
1313
1587
  }
1314
1588
  namespace Liability {
1315
- type Type = 'account' | 'self';
1589
+ type Type = 'account' | 'application' | 'self';
1316
1590
  }
1317
1591
  }
1318
1592
  namespace BillingMode {
@@ -1369,6 +1643,86 @@ export declare namespace SubscriptionCreateParams {
1369
1643
  }
1370
1644
  }
1371
1645
  }
1646
+ namespace Discount {
1647
+ interface DiscountEnd {
1648
+ /**
1649
+ * Time span for the redeemed discount.
1650
+ */
1651
+ duration?: DiscountEnd.Duration;
1652
+ /**
1653
+ * A precise Unix timestamp for the discount to end. Must be in the future.
1654
+ */
1655
+ timestamp?: number;
1656
+ /**
1657
+ * The type of calculation made to determine when the discount ends.
1658
+ */
1659
+ type: DiscountEnd.Type;
1660
+ }
1661
+ interface Settings {
1662
+ /**
1663
+ * Configures service period cycle anchoring.
1664
+ */
1665
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
1666
+ /**
1667
+ * 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.
1668
+ */
1669
+ start_date?: Settings.StartDate;
1670
+ }
1671
+ namespace DiscountEnd {
1672
+ interface Duration {
1673
+ /**
1674
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1675
+ */
1676
+ interval: Duration.Interval;
1677
+ /**
1678
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1679
+ */
1680
+ interval_count: number;
1681
+ }
1682
+ type Type = 'duration' | 'timestamp';
1683
+ namespace Duration {
1684
+ type Interval = 'day' | 'month' | 'week' | 'year';
1685
+ }
1686
+ }
1687
+ namespace Settings {
1688
+ interface ServicePeriodAnchorConfig {
1689
+ /**
1690
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
1691
+ */
1692
+ custom?: ServicePeriodAnchorConfig.Custom;
1693
+ /**
1694
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
1695
+ */
1696
+ type?: ServicePeriodAnchorConfig.Type;
1697
+ }
1698
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now';
1699
+ namespace ServicePeriodAnchorConfig {
1700
+ interface Custom {
1701
+ /**
1702
+ * The day of the month the anchor should be. Ranges from 1 to 31.
1703
+ */
1704
+ day_of_month: number;
1705
+ /**
1706
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
1707
+ */
1708
+ hour?: number;
1709
+ /**
1710
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
1711
+ */
1712
+ minute?: number;
1713
+ /**
1714
+ * The month to start full cycle periods. Ranges from 1 to 12.
1715
+ */
1716
+ month?: number;
1717
+ /**
1718
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
1719
+ */
1720
+ second?: number;
1721
+ }
1722
+ type Type = 'custom' | 'subscription_service_cycle_anchor';
1723
+ }
1724
+ }
1725
+ }
1372
1726
  namespace InvoiceSettings {
1373
1727
  interface CustomField {
1374
1728
  /**
@@ -1391,7 +1745,7 @@ export declare namespace SubscriptionCreateParams {
1391
1745
  type: Issuer.Type;
1392
1746
  }
1393
1747
  namespace Issuer {
1394
- type Type = 'account' | 'self';
1748
+ type Type = 'account' | 'application' | 'self';
1395
1749
  }
1396
1750
  }
1397
1751
  namespace Item {
@@ -1401,6 +1755,16 @@ export declare namespace SubscriptionCreateParams {
1401
1755
  */
1402
1756
  usage_gte: number;
1403
1757
  }
1758
+ interface CurrentTrial {
1759
+ /**
1760
+ * 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`.
1761
+ */
1762
+ trial_end?: number;
1763
+ /**
1764
+ * The ID of the trial offer to apply to the subscription item.
1765
+ */
1766
+ trial_offer: string;
1767
+ }
1404
1768
  interface Discount {
1405
1769
  /**
1406
1770
  * ID of the coupon to create a new discount for.
@@ -1410,10 +1774,18 @@ export declare namespace SubscriptionCreateParams {
1410
1774
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1411
1775
  */
1412
1776
  discount?: string;
1777
+ /**
1778
+ * Details to determine how long the discount should be applied for.
1779
+ */
1780
+ discount_end?: Discount.DiscountEnd;
1413
1781
  /**
1414
1782
  * ID of the promotion code to create a new discount for.
1415
1783
  */
1416
1784
  promotion_code?: string;
1785
+ /**
1786
+ * Settings for discount application including service period anchoring.
1787
+ */
1788
+ settings?: Discount.Settings;
1417
1789
  }
1418
1790
  interface PriceData {
1419
1791
  /**
@@ -1441,6 +1813,96 @@ export declare namespace SubscriptionCreateParams {
1441
1813
  */
1442
1814
  unit_amount_decimal?: Decimal;
1443
1815
  }
1816
+ interface Trial {
1817
+ /**
1818
+ * 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.
1819
+ */
1820
+ converts_to?: Array<string>;
1821
+ /**
1822
+ * Determines the type of trial for this item.
1823
+ */
1824
+ type: Trial.Type;
1825
+ }
1826
+ namespace Discount {
1827
+ interface DiscountEnd {
1828
+ /**
1829
+ * Time span for the redeemed discount.
1830
+ */
1831
+ duration?: DiscountEnd.Duration;
1832
+ /**
1833
+ * A precise Unix timestamp for the discount to end. Must be in the future.
1834
+ */
1835
+ timestamp?: number;
1836
+ /**
1837
+ * The type of calculation made to determine when the discount ends.
1838
+ */
1839
+ type: DiscountEnd.Type;
1840
+ }
1841
+ interface Settings {
1842
+ /**
1843
+ * Configures service period cycle anchoring.
1844
+ */
1845
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
1846
+ /**
1847
+ * 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.
1848
+ */
1849
+ start_date?: Settings.StartDate;
1850
+ }
1851
+ namespace DiscountEnd {
1852
+ interface Duration {
1853
+ /**
1854
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1855
+ */
1856
+ interval: Duration.Interval;
1857
+ /**
1858
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1859
+ */
1860
+ interval_count: number;
1861
+ }
1862
+ type Type = 'duration' | 'timestamp';
1863
+ namespace Duration {
1864
+ type Interval = 'day' | 'month' | 'week' | 'year';
1865
+ }
1866
+ }
1867
+ namespace Settings {
1868
+ interface ServicePeriodAnchorConfig {
1869
+ /**
1870
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
1871
+ */
1872
+ custom?: ServicePeriodAnchorConfig.Custom;
1873
+ /**
1874
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
1875
+ */
1876
+ type?: ServicePeriodAnchorConfig.Type;
1877
+ }
1878
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now';
1879
+ namespace ServicePeriodAnchorConfig {
1880
+ interface Custom {
1881
+ /**
1882
+ * The day of the month the anchor should be. Ranges from 1 to 31.
1883
+ */
1884
+ day_of_month: number;
1885
+ /**
1886
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
1887
+ */
1888
+ hour?: number;
1889
+ /**
1890
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
1891
+ */
1892
+ minute?: number;
1893
+ /**
1894
+ * The month to start full cycle periods. Ranges from 1 to 12.
1895
+ */
1896
+ month?: number;
1897
+ /**
1898
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
1899
+ */
1900
+ second?: number;
1901
+ }
1902
+ type Type = 'custom' | 'subscription_service_cycle_anchor';
1903
+ }
1904
+ }
1905
+ }
1444
1906
  namespace PriceData {
1445
1907
  interface Recurring {
1446
1908
  /**
@@ -1457,6 +1919,9 @@ export declare namespace SubscriptionCreateParams {
1457
1919
  type Interval = 'day' | 'month' | 'week' | 'year';
1458
1920
  }
1459
1921
  }
1922
+ namespace Trial {
1923
+ type Type = 'free' | 'paid';
1924
+ }
1460
1925
  }
1461
1926
  namespace PaymentSettings {
1462
1927
  interface PaymentMethodOptions {
@@ -1468,14 +1933,30 @@ export declare namespace SubscriptionCreateParams {
1468
1933
  * This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
1469
1934
  */
1470
1935
  bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
1936
+ /**
1937
+ * This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
1938
+ */
1939
+ bizum?: Emptyable<PaymentMethodOptions.Bizum>;
1940
+ /**
1941
+ * This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
1942
+ */
1943
+ blik?: Emptyable<PaymentMethodOptions.Blik>;
1471
1944
  /**
1472
1945
  * This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
1473
1946
  */
1474
1947
  card?: Emptyable<PaymentMethodOptions.Card>;
1948
+ /**
1949
+ * This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
1950
+ */
1951
+ check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
1475
1952
  /**
1476
1953
  * This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
1477
1954
  */
1478
1955
  customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
1956
+ /**
1957
+ * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
1958
+ */
1959
+ id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
1479
1960
  /**
1480
1961
  * This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
1481
1962
  */
@@ -1500,8 +1981,12 @@ export declare namespace SubscriptionCreateParams {
1500
1981
  * This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
1501
1982
  */
1502
1983
  us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
1984
+ /**
1985
+ * This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
1986
+ */
1987
+ wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
1503
1988
  }
1504
- 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' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
1989
+ 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' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
1505
1990
  type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
1506
1991
  namespace PaymentMethodOptions {
1507
1992
  interface AcssDebit {
@@ -1520,6 +2005,18 @@ export declare namespace SubscriptionCreateParams {
1520
2005
  */
1521
2006
  preferred_language?: Bancontact.PreferredLanguage;
1522
2007
  }
2008
+ interface Bizum {
2009
+ /**
2010
+ * Configuration options for setting up a mandate
2011
+ */
2012
+ mandate_options?: Bizum.MandateOptions;
2013
+ }
2014
+ interface Blik {
2015
+ /**
2016
+ * Configuration options for setting up a mandate
2017
+ */
2018
+ mandate_options?: Blik.MandateOptions;
2019
+ }
1523
2020
  interface Card {
1524
2021
  /**
1525
2022
  * Configuration options for setting up an eMandate for cards issued in India.
@@ -1534,6 +2031,8 @@ export declare namespace SubscriptionCreateParams {
1534
2031
  */
1535
2032
  request_three_d_secure?: Card.RequestThreeDSecure;
1536
2033
  }
2034
+ interface CheckScan {
2035
+ }
1537
2036
  interface CustomerBalance {
1538
2037
  /**
1539
2038
  * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
@@ -1544,6 +2043,8 @@ export declare namespace SubscriptionCreateParams {
1544
2043
  */
1545
2044
  funding_type?: string;
1546
2045
  }
2046
+ interface IdBankTransfer {
2047
+ }
1547
2048
  interface Konbini {
1548
2049
  }
1549
2050
  interface Payto {
@@ -1580,6 +2081,16 @@ export declare namespace SubscriptionCreateParams {
1580
2081
  */
1581
2082
  verification_method?: UsBankAccount.VerificationMethod;
1582
2083
  }
2084
+ interface WechatPay {
2085
+ /**
2086
+ * The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
2087
+ */
2088
+ app_id?: string;
2089
+ /**
2090
+ * The client type that the end customer will pay from.
2091
+ */
2092
+ client?: WechatPay.Client;
2093
+ }
1583
2094
  namespace AcssDebit {
1584
2095
  interface MandateOptions {
1585
2096
  /**
@@ -1595,6 +2106,26 @@ export declare namespace SubscriptionCreateParams {
1595
2106
  namespace Bancontact {
1596
2107
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
1597
2108
  }
2109
+ namespace Bizum {
2110
+ interface MandateOptions {
2111
+ /**
2112
+ * Amount to be charged for future payments. Required when `amount_type=fixed`.
2113
+ */
2114
+ amount: number;
2115
+ /**
2116
+ * Indicates the mandate amount type.
2117
+ */
2118
+ amount_type: 'fixed';
2119
+ }
2120
+ }
2121
+ namespace Blik {
2122
+ interface MandateOptions {
2123
+ /**
2124
+ * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
2125
+ */
2126
+ expires_after?: number;
2127
+ }
2128
+ }
1598
2129
  namespace Card {
1599
2130
  interface MandateOptions {
1600
2131
  /**
@@ -1720,27 +2251,42 @@ export declare namespace SubscriptionCreateParams {
1720
2251
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1721
2252
  */
1722
2253
  account_subcategories?: Array<Filters.AccountSubcategory>;
2254
+ /**
2255
+ * ID of the institution to use to filter for selectable accounts.
2256
+ */
2257
+ institution?: string;
1723
2258
  }
1724
2259
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
1725
- type Prefetch = 'balances' | 'ownership' | 'transactions';
2260
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
1726
2261
  namespace Filters {
1727
2262
  type AccountSubcategory = 'checking' | 'savings';
1728
2263
  }
1729
2264
  }
1730
2265
  }
2266
+ namespace WechatPay {
2267
+ type Client = 'android' | 'ios' | 'mobile_web' | 'web';
2268
+ }
1731
2269
  }
1732
2270
  }
1733
2271
  namespace PendingInvoiceItemInterval {
1734
2272
  type Interval = 'day' | 'month' | 'week' | 'year';
1735
2273
  }
2274
+ namespace Prebilling {
2275
+ type UpdateBehavior = 'prebill' | 'reset';
2276
+ }
1736
2277
  namespace TrialSettings {
1737
2278
  interface EndBehavior {
2279
+ /**
2280
+ * Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
2281
+ */
2282
+ billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
1738
2283
  /**
1739
2284
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
1740
2285
  */
1741
2286
  missing_payment_method: EndBehavior.MissingPaymentMethod;
1742
2287
  }
1743
2288
  namespace EndBehavior {
2289
+ type BillingCycleAnchor = 'now' | 'unchanged';
1744
2290
  type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
1745
2291
  }
1746
2292
  }
@@ -1764,6 +2310,10 @@ export interface SubscriptionUpdateParams {
1764
2310
  * Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.
1765
2311
  */
1766
2312
  automatic_tax?: SubscriptionUpdateParams.AutomaticTax;
2313
+ /**
2314
+ * 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.
2315
+ */
2316
+ billing_cadence?: string;
1767
2317
  /**
1768
2318
  * Either `now` or `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time (in UTC). For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
1769
2319
  */
@@ -1856,6 +2406,10 @@ export interface SubscriptionUpdateParams {
1856
2406
  * Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://docs.stripe.com/api/invoices/create) for the given subscription at the specified interval.
1857
2407
  */
1858
2408
  pending_invoice_item_interval?: Emptyable<SubscriptionUpdateParams.PendingInvoiceItemInterval>;
2409
+ /**
2410
+ * If specified, the invoicing for the given billing cycle iterations will be processed now.
2411
+ */
2412
+ prebilling?: SubscriptionUpdateParams.Prebilling;
1859
2413
  /**
1860
2414
  * Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
1861
2415
  */
@@ -1972,10 +2526,18 @@ export declare namespace SubscriptionUpdateParams {
1972
2526
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1973
2527
  */
1974
2528
  discount?: string;
2529
+ /**
2530
+ * Details to determine how long the discount should be applied for.
2531
+ */
2532
+ discount_end?: Discount.DiscountEnd;
1975
2533
  /**
1976
2534
  * ID of the promotion code to create a new discount for.
1977
2535
  */
1978
2536
  promotion_code?: string;
2537
+ /**
2538
+ * Settings for discount application including service period anchoring.
2539
+ */
2540
+ settings?: Discount.Settings;
1979
2541
  }
1980
2542
  interface InvoiceSettings {
1981
2543
  /**
@@ -2008,6 +2570,10 @@ export declare namespace SubscriptionUpdateParams {
2008
2570
  * Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
2009
2571
  */
2010
2572
  clear_usage?: boolean;
2573
+ /**
2574
+ * The trial offer to apply to this subscription item.
2575
+ */
2576
+ current_trial?: Item.CurrentTrial;
2011
2577
  /**
2012
2578
  * A flag that, if set to `true`, will delete the specified item.
2013
2579
  */
@@ -2080,6 +2646,16 @@ export declare namespace SubscriptionUpdateParams {
2080
2646
  */
2081
2647
  interval_count?: number;
2082
2648
  }
2649
+ interface Prebilling {
2650
+ /**
2651
+ * This is used to determine the number of billing cycles to prebill.
2652
+ */
2653
+ iterations: number;
2654
+ /**
2655
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
2656
+ */
2657
+ update_behavior?: Prebilling.UpdateBehavior;
2658
+ }
2083
2659
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
2084
2660
  interface TransferData {
2085
2661
  /**
@@ -2107,6 +2683,10 @@ export declare namespace SubscriptionUpdateParams {
2107
2683
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2108
2684
  */
2109
2685
  discount?: string;
2686
+ /**
2687
+ * Details to determine how long the discount should be applied for.
2688
+ */
2689
+ discount_end?: Discount.DiscountEnd;
2110
2690
  /**
2111
2691
  * ID of the promotion code to create a new discount for.
2112
2692
  */
@@ -2144,6 +2724,38 @@ export declare namespace SubscriptionUpdateParams {
2144
2724
  */
2145
2725
  unit_amount_decimal?: Decimal;
2146
2726
  }
2727
+ namespace Discount {
2728
+ interface DiscountEnd {
2729
+ /**
2730
+ * Time span for the redeemed discount.
2731
+ */
2732
+ duration?: DiscountEnd.Duration;
2733
+ /**
2734
+ * A precise Unix timestamp for the discount to end. Must be in the future.
2735
+ */
2736
+ timestamp?: number;
2737
+ /**
2738
+ * The type of calculation made to determine when the discount ends.
2739
+ */
2740
+ type: DiscountEnd.Type;
2741
+ }
2742
+ namespace DiscountEnd {
2743
+ interface Duration {
2744
+ /**
2745
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2746
+ */
2747
+ interval: Duration.Interval;
2748
+ /**
2749
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2750
+ */
2751
+ interval_count: number;
2752
+ }
2753
+ type Type = 'duration' | 'timestamp';
2754
+ namespace Duration {
2755
+ type Interval = 'day' | 'month' | 'week' | 'year';
2756
+ }
2757
+ }
2758
+ }
2147
2759
  namespace Period {
2148
2760
  interface End {
2149
2761
  /**
@@ -2188,7 +2800,7 @@ export declare namespace SubscriptionUpdateParams {
2188
2800
  type: Liability.Type;
2189
2801
  }
2190
2802
  namespace Liability {
2191
- type Type = 'account' | 'self';
2803
+ type Type = 'account' | 'application' | 'self';
2192
2804
  }
2193
2805
  }
2194
2806
  namespace BillingSchedule {
@@ -2236,6 +2848,86 @@ export declare namespace SubscriptionUpdateParams {
2236
2848
  namespace CancellationDetails {
2237
2849
  type Feedback = 'customer_service' | 'low_quality' | 'missing_features' | 'other' | 'switched_service' | 'too_complex' | 'too_expensive' | 'unused';
2238
2850
  }
2851
+ namespace Discount {
2852
+ interface DiscountEnd {
2853
+ /**
2854
+ * Time span for the redeemed discount.
2855
+ */
2856
+ duration?: DiscountEnd.Duration;
2857
+ /**
2858
+ * A precise Unix timestamp for the discount to end. Must be in the future.
2859
+ */
2860
+ timestamp?: number;
2861
+ /**
2862
+ * The type of calculation made to determine when the discount ends.
2863
+ */
2864
+ type: DiscountEnd.Type;
2865
+ }
2866
+ interface Settings {
2867
+ /**
2868
+ * Configures service period cycle anchoring.
2869
+ */
2870
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
2871
+ /**
2872
+ * 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.
2873
+ */
2874
+ start_date?: Settings.StartDate;
2875
+ }
2876
+ namespace DiscountEnd {
2877
+ interface Duration {
2878
+ /**
2879
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2880
+ */
2881
+ interval: Duration.Interval;
2882
+ /**
2883
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2884
+ */
2885
+ interval_count: number;
2886
+ }
2887
+ type Type = 'duration' | 'timestamp';
2888
+ namespace Duration {
2889
+ type Interval = 'day' | 'month' | 'week' | 'year';
2890
+ }
2891
+ }
2892
+ namespace Settings {
2893
+ interface ServicePeriodAnchorConfig {
2894
+ /**
2895
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
2896
+ */
2897
+ custom?: ServicePeriodAnchorConfig.Custom;
2898
+ /**
2899
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
2900
+ */
2901
+ type?: ServicePeriodAnchorConfig.Type;
2902
+ }
2903
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now';
2904
+ namespace ServicePeriodAnchorConfig {
2905
+ interface Custom {
2906
+ /**
2907
+ * The day of the month the anchor should be. Ranges from 1 to 31.
2908
+ */
2909
+ day_of_month: number;
2910
+ /**
2911
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
2912
+ */
2913
+ hour?: number;
2914
+ /**
2915
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
2916
+ */
2917
+ minute?: number;
2918
+ /**
2919
+ * The month to start full cycle periods. Ranges from 1 to 12.
2920
+ */
2921
+ month?: number;
2922
+ /**
2923
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
2924
+ */
2925
+ second?: number;
2926
+ }
2927
+ type Type = 'custom' | 'subscription_service_cycle_anchor';
2928
+ }
2929
+ }
2930
+ }
2239
2931
  namespace InvoiceSettings {
2240
2932
  interface CustomField {
2241
2933
  /**
@@ -2258,7 +2950,7 @@ export declare namespace SubscriptionUpdateParams {
2258
2950
  type: Issuer.Type;
2259
2951
  }
2260
2952
  namespace Issuer {
2261
- type Type = 'account' | 'self';
2953
+ type Type = 'account' | 'application' | 'self';
2262
2954
  }
2263
2955
  }
2264
2956
  namespace Item {
@@ -2268,6 +2960,16 @@ export declare namespace SubscriptionUpdateParams {
2268
2960
  */
2269
2961
  usage_gte: number;
2270
2962
  }
2963
+ interface CurrentTrial {
2964
+ /**
2965
+ * 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`.
2966
+ */
2967
+ trial_end?: number;
2968
+ /**
2969
+ * The ID of the trial offer to apply to the subscription item.
2970
+ */
2971
+ trial_offer: string;
2972
+ }
2271
2973
  interface Discount {
2272
2974
  /**
2273
2975
  * ID of the coupon to create a new discount for.
@@ -2277,10 +2979,18 @@ export declare namespace SubscriptionUpdateParams {
2277
2979
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2278
2980
  */
2279
2981
  discount?: string;
2982
+ /**
2983
+ * Details to determine how long the discount should be applied for.
2984
+ */
2985
+ discount_end?: Discount.DiscountEnd;
2280
2986
  /**
2281
2987
  * ID of the promotion code to create a new discount for.
2282
2988
  */
2283
2989
  promotion_code?: string;
2990
+ /**
2991
+ * Settings for discount application including service period anchoring.
2992
+ */
2993
+ settings?: Discount.Settings;
2284
2994
  }
2285
2995
  interface PriceData {
2286
2996
  /**
@@ -2308,6 +3018,86 @@ export declare namespace SubscriptionUpdateParams {
2308
3018
  */
2309
3019
  unit_amount_decimal?: Decimal;
2310
3020
  }
3021
+ namespace Discount {
3022
+ interface DiscountEnd {
3023
+ /**
3024
+ * Time span for the redeemed discount.
3025
+ */
3026
+ duration?: DiscountEnd.Duration;
3027
+ /**
3028
+ * A precise Unix timestamp for the discount to end. Must be in the future.
3029
+ */
3030
+ timestamp?: number;
3031
+ /**
3032
+ * The type of calculation made to determine when the discount ends.
3033
+ */
3034
+ type: DiscountEnd.Type;
3035
+ }
3036
+ interface Settings {
3037
+ /**
3038
+ * Configures service period cycle anchoring.
3039
+ */
3040
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3041
+ /**
3042
+ * 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.
3043
+ */
3044
+ start_date?: Settings.StartDate;
3045
+ }
3046
+ namespace DiscountEnd {
3047
+ interface Duration {
3048
+ /**
3049
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3050
+ */
3051
+ interval: Duration.Interval;
3052
+ /**
3053
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3054
+ */
3055
+ interval_count: number;
3056
+ }
3057
+ type Type = 'duration' | 'timestamp';
3058
+ namespace Duration {
3059
+ type Interval = 'day' | 'month' | 'week' | 'year';
3060
+ }
3061
+ }
3062
+ namespace Settings {
3063
+ interface ServicePeriodAnchorConfig {
3064
+ /**
3065
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
3066
+ */
3067
+ custom?: ServicePeriodAnchorConfig.Custom;
3068
+ /**
3069
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
3070
+ */
3071
+ type?: ServicePeriodAnchorConfig.Type;
3072
+ }
3073
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now';
3074
+ namespace ServicePeriodAnchorConfig {
3075
+ interface Custom {
3076
+ /**
3077
+ * The day of the month the anchor should be. Ranges from 1 to 31.
3078
+ */
3079
+ day_of_month: number;
3080
+ /**
3081
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
3082
+ */
3083
+ hour?: number;
3084
+ /**
3085
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
3086
+ */
3087
+ minute?: number;
3088
+ /**
3089
+ * The month to start full cycle periods. Ranges from 1 to 12.
3090
+ */
3091
+ month?: number;
3092
+ /**
3093
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
3094
+ */
3095
+ second?: number;
3096
+ }
3097
+ type Type = 'custom' | 'subscription_service_cycle_anchor';
3098
+ }
3099
+ }
3100
+ }
2311
3101
  namespace PriceData {
2312
3102
  interface Recurring {
2313
3103
  /**
@@ -2338,14 +3128,30 @@ export declare namespace SubscriptionUpdateParams {
2338
3128
  * This sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
2339
3129
  */
2340
3130
  bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
3131
+ /**
3132
+ * This sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
3133
+ */
3134
+ bizum?: Emptyable<PaymentMethodOptions.Bizum>;
3135
+ /**
3136
+ * This sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
3137
+ */
3138
+ blik?: Emptyable<PaymentMethodOptions.Blik>;
2341
3139
  /**
2342
3140
  * This sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
2343
3141
  */
2344
3142
  card?: Emptyable<PaymentMethodOptions.Card>;
3143
+ /**
3144
+ * This sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
3145
+ */
3146
+ check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
2345
3147
  /**
2346
3148
  * This sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
2347
3149
  */
2348
3150
  customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
3151
+ /**
3152
+ * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
3153
+ */
3154
+ id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
2349
3155
  /**
2350
3156
  * This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
2351
3157
  */
@@ -2370,8 +3176,12 @@ export declare namespace SubscriptionUpdateParams {
2370
3176
  * This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
2371
3177
  */
2372
3178
  us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
3179
+ /**
3180
+ * This sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
3181
+ */
3182
+ wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
2373
3183
  }
2374
- 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' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
3184
+ 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' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
2375
3185
  type SaveDefaultPaymentMethod = 'off' | 'on_subscription';
2376
3186
  namespace PaymentMethodOptions {
2377
3187
  interface AcssDebit {
@@ -2390,6 +3200,18 @@ export declare namespace SubscriptionUpdateParams {
2390
3200
  */
2391
3201
  preferred_language?: Bancontact.PreferredLanguage;
2392
3202
  }
3203
+ interface Bizum {
3204
+ /**
3205
+ * Configuration options for setting up a mandate
3206
+ */
3207
+ mandate_options?: Bizum.MandateOptions;
3208
+ }
3209
+ interface Blik {
3210
+ /**
3211
+ * Configuration options for setting up a mandate
3212
+ */
3213
+ mandate_options?: Blik.MandateOptions;
3214
+ }
2393
3215
  interface Card {
2394
3216
  /**
2395
3217
  * Configuration options for setting up an eMandate for cards issued in India.
@@ -2404,6 +3226,8 @@ export declare namespace SubscriptionUpdateParams {
2404
3226
  */
2405
3227
  request_three_d_secure?: Card.RequestThreeDSecure;
2406
3228
  }
3229
+ interface CheckScan {
3230
+ }
2407
3231
  interface CustomerBalance {
2408
3232
  /**
2409
3233
  * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
@@ -2414,6 +3238,8 @@ export declare namespace SubscriptionUpdateParams {
2414
3238
  */
2415
3239
  funding_type?: string;
2416
3240
  }
3241
+ interface IdBankTransfer {
3242
+ }
2417
3243
  interface Konbini {
2418
3244
  }
2419
3245
  interface Payto {
@@ -2450,6 +3276,16 @@ export declare namespace SubscriptionUpdateParams {
2450
3276
  */
2451
3277
  verification_method?: UsBankAccount.VerificationMethod;
2452
3278
  }
3279
+ interface WechatPay {
3280
+ /**
3281
+ * The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
3282
+ */
3283
+ app_id?: string;
3284
+ /**
3285
+ * The client type that the end customer will pay from.
3286
+ */
3287
+ client?: WechatPay.Client;
3288
+ }
2453
3289
  namespace AcssDebit {
2454
3290
  interface MandateOptions {
2455
3291
  /**
@@ -2465,6 +3301,26 @@ export declare namespace SubscriptionUpdateParams {
2465
3301
  namespace Bancontact {
2466
3302
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
2467
3303
  }
3304
+ namespace Bizum {
3305
+ interface MandateOptions {
3306
+ /**
3307
+ * Amount to be charged for future payments. Required when `amount_type=fixed`.
3308
+ */
3309
+ amount: number;
3310
+ /**
3311
+ * Indicates the mandate amount type.
3312
+ */
3313
+ amount_type: 'fixed';
3314
+ }
3315
+ }
3316
+ namespace Blik {
3317
+ interface MandateOptions {
3318
+ /**
3319
+ * Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
3320
+ */
3321
+ expires_after?: number;
3322
+ }
3323
+ }
2468
3324
  namespace Card {
2469
3325
  interface MandateOptions {
2470
3326
  /**
@@ -2590,27 +3446,42 @@ export declare namespace SubscriptionUpdateParams {
2590
3446
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2591
3447
  */
2592
3448
  account_subcategories?: Array<Filters.AccountSubcategory>;
3449
+ /**
3450
+ * ID of the institution to use to filter for selectable accounts.
3451
+ */
3452
+ institution?: string;
2593
3453
  }
2594
3454
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
2595
- type Prefetch = 'balances' | 'ownership' | 'transactions';
3455
+ type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
2596
3456
  namespace Filters {
2597
3457
  type AccountSubcategory = 'checking' | 'savings';
2598
3458
  }
2599
3459
  }
2600
3460
  }
3461
+ namespace WechatPay {
3462
+ type Client = 'android' | 'ios' | 'mobile_web' | 'web';
3463
+ }
2601
3464
  }
2602
3465
  }
2603
3466
  namespace PendingInvoiceItemInterval {
2604
3467
  type Interval = 'day' | 'month' | 'week' | 'year';
2605
3468
  }
3469
+ namespace Prebilling {
3470
+ type UpdateBehavior = 'prebill' | 'reset';
3471
+ }
2606
3472
  namespace TrialSettings {
2607
3473
  interface EndBehavior {
3474
+ /**
3475
+ * Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
3476
+ */
3477
+ billing_cycle_anchor?: EndBehavior.BillingCycleAnchor;
2608
3478
  /**
2609
3479
  * Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
2610
3480
  */
2611
3481
  missing_payment_method: EndBehavior.MissingPaymentMethod;
2612
3482
  }
2613
3483
  namespace EndBehavior {
3484
+ type BillingCycleAnchor = 'now' | 'unchanged';
2614
3485
  type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause';
2615
3486
  }
2616
3487
  }
@@ -2620,6 +3491,10 @@ export interface SubscriptionListParams extends PaginationParams {
2620
3491
  * Filter subscriptions by their automatic tax settings.
2621
3492
  */
2622
3493
  automatic_tax?: SubscriptionListParams.AutomaticTax;
3494
+ /**
3495
+ * Filter for subscriptions that have the specified billing cadence.
3496
+ */
3497
+ billing_cadence?: string;
2623
3498
  /**
2624
3499
  * The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.
2625
3500
  */
@@ -2675,6 +3550,16 @@ export declare namespace SubscriptionListParams {
2675
3550
  type CollectionMethod = 'charge_automatically' | 'send_invoice';
2676
3551
  type Status = 'active' | 'all' | 'canceled' | 'ended' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid';
2677
3552
  }
3553
+ export interface SubscriptionAttachCadenceParams {
3554
+ /**
3555
+ * 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.
3556
+ */
3557
+ billing_cadence: string;
3558
+ /**
3559
+ * Specifies which fields in the response should be expanded.
3560
+ */
3561
+ expand?: Array<string>;
3562
+ }
2678
3563
  export interface SubscriptionCancelParams {
2679
3564
  /**
2680
3565
  * Details about why this subscription was cancelled
@@ -2743,6 +3628,57 @@ export declare namespace SubscriptionMigrateParams {
2743
3628
  }
2744
3629
  }
2745
3630
  }
3631
+ export interface SubscriptionPauseParams {
3632
+ /**
3633
+ * Controls what to bill for when pausing the subscription.
3634
+ */
3635
+ bill_for?: SubscriptionPauseParams.BillFor;
3636
+ /**
3637
+ * Specifies which fields in the response should be expanded.
3638
+ */
3639
+ expand?: Array<string>;
3640
+ /**
3641
+ * Determines how to handle debits and credits when pausing. Defaults to `pending_invoice_item`.
3642
+ */
3643
+ invoicing_behavior?: SubscriptionPauseParams.InvoicingBehavior;
3644
+ /**
3645
+ * The type of pause to apply. Defaults to `subscription`.
3646
+ */
3647
+ type?: 'subscription';
3648
+ }
3649
+ export declare namespace SubscriptionPauseParams {
3650
+ interface BillFor {
3651
+ /**
3652
+ * Controls when to bill for metered usage in the current period. Defaults to `{ type: "now" }`.
3653
+ */
3654
+ outstanding_usage_through?: BillFor.OutstandingUsageThrough;
3655
+ /**
3656
+ * Controls when to credit for unused time on licensed items. Defaults to `{ type: "now" }`.
3657
+ */
3658
+ unused_time_from?: BillFor.UnusedTimeFrom;
3659
+ }
3660
+ type InvoicingBehavior = 'invoice' | 'pending_invoice_item';
3661
+ namespace BillFor {
3662
+ interface OutstandingUsageThrough {
3663
+ /**
3664
+ * When to bill metered usage in the current period.
3665
+ */
3666
+ type: OutstandingUsageThrough.Type;
3667
+ }
3668
+ interface UnusedTimeFrom {
3669
+ /**
3670
+ * When to credit for unused time.
3671
+ */
3672
+ type: UnusedTimeFrom.Type;
3673
+ }
3674
+ namespace OutstandingUsageThrough {
3675
+ type Type = 'none' | 'now';
3676
+ }
3677
+ namespace UnusedTimeFrom {
3678
+ type Type = 'item_current_period_start' | 'none' | 'now';
3679
+ }
3680
+ }
3681
+ }
2746
3682
  export interface SubscriptionResumeParams {
2747
3683
  /**
2748
3684
  * 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).
@@ -2752,6 +3688,10 @@ export interface SubscriptionResumeParams {
2752
3688
  * Specifies which fields in the response should be expanded.
2753
3689
  */
2754
3690
  expand?: Array<string>;
3691
+ /**
3692
+ * 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`.
3693
+ */
3694
+ payment_behavior?: SubscriptionResumeParams.PaymentBehavior;
2755
3695
  /**
2756
3696
  * Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor` being `unchanged`. When the `billing_cycle_anchor` is set to `now` (default value), no prorations are generated. If no value is passed, the default is `create_prorations`.
2757
3697
  */
@@ -2763,6 +3703,7 @@ export interface SubscriptionResumeParams {
2763
3703
  }
2764
3704
  export declare namespace SubscriptionResumeParams {
2765
3705
  type BillingCycleAnchor = 'now' | 'unchanged';
3706
+ type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success';
2766
3707
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
2767
3708
  }
2768
3709
  export interface SubscriptionSearchParams {
@@ -2783,3 +3724,15 @@ export interface SubscriptionSearchParams {
2783
3724
  */
2784
3725
  page?: string;
2785
3726
  }
3727
+ export interface SubscriptionSerializeBatchCancelParams {
3728
+ }
3729
+ export interface SubscriptionSerializeBatchCreateParams {
3730
+ }
3731
+ export interface SubscriptionSerializeBatchMigrateParams {
3732
+ }
3733
+ export interface SubscriptionSerializeBatchPauseParams {
3734
+ }
3735
+ export interface SubscriptionSerializeBatchResumeParams {
3736
+ }
3737
+ export interface SubscriptionSerializeBatchUpdateParams {
3738
+ }