stripe 22.3.0 → 22.4.0-alpha.1

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