stripe 23.1.0 → 23.2.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1910) hide show
  1. package/CHANGELOG.md +2269 -4845
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +69 -60
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +29 -0
  6. package/cjs/Error.js +54 -1
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/RequestSender.js +25 -4
  9. package/cjs/RequestSender.js.map +1 -1
  10. package/cjs/StripeEventNotificationHandler.js +226 -3
  11. package/cjs/StripeEventNotificationHandler.js.map +1 -1
  12. package/cjs/Types.d.ts +21 -2
  13. package/cjs/Types.js.map +1 -1
  14. package/cjs/WorkloadIdentity.d.ts +99 -0
  15. package/cjs/WorkloadIdentity.js +292 -0
  16. package/cjs/WorkloadIdentity.js.map +1 -0
  17. package/cjs/apiVersion.d.ts +2 -2
  18. package/cjs/apiVersion.js +2 -2
  19. package/cjs/apiVersion.js.map +1 -1
  20. package/cjs/net/WorkloadIdentityTokenTransport.d.ts +27 -0
  21. package/cjs/net/WorkloadIdentityTokenTransport.js +53 -0
  22. package/cjs/net/WorkloadIdentityTokenTransport.js.map +1 -0
  23. package/cjs/resources/AccountLinks.d.ts +5 -1
  24. package/cjs/resources/AccountNotices.d.ts +140 -0
  25. package/cjs/resources/AccountNotices.js +29 -0
  26. package/cjs/resources/AccountNotices.js.map +1 -0
  27. package/cjs/resources/AccountSessions.d.ts +729 -8
  28. package/cjs/resources/AccountSessions.js.map +1 -1
  29. package/cjs/resources/AccountSignals.d.ts +111 -0
  30. package/cjs/resources/AccountSignals.js +4 -0
  31. package/cjs/resources/AccountSignals.js.map +1 -0
  32. package/cjs/resources/Accounts.d.ts +871 -3
  33. package/cjs/resources/Accounts.js +47 -0
  34. package/cjs/resources/Accounts.js.map +1 -1
  35. package/cjs/resources/ApplicationFees.d.ts +28 -1
  36. package/cjs/resources/Apps/Installs.d.ts +1 -1
  37. package/cjs/resources/Apps/Installs.js +1 -1
  38. package/cjs/resources/Balance.d.ts +205 -0
  39. package/cjs/resources/BalanceSettings.d.ts +26 -0
  40. package/cjs/resources/BalanceTransactions.d.ts +1 -1
  41. package/cjs/resources/BalanceTransfers.d.ts +160 -0
  42. package/cjs/resources/BalanceTransfers.js +15 -0
  43. package/cjs/resources/BalanceTransfers.js.map +1 -0
  44. package/cjs/resources/BankAccounts.d.ts +16 -2
  45. package/cjs/resources/Billing/AlertNotifications.d.ts +79 -0
  46. package/cjs/resources/Billing/AlertNotifications.js +4 -0
  47. package/cjs/resources/Billing/AlertNotifications.js.map +1 -0
  48. package/cjs/resources/Billing/AlertRecovereds.d.ts +56 -0
  49. package/cjs/resources/Billing/AlertRecovereds.js +4 -0
  50. package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
  51. package/cjs/resources/Billing/AlertTriggereds.d.ts +59 -1
  52. package/cjs/resources/Billing/Alerts.d.ts +462 -5
  53. package/cjs/resources/Billing/Alerts.js +329 -5
  54. package/cjs/resources/Billing/Alerts.js.map +1 -1
  55. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +89 -0
  56. package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
  57. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  58. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  59. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
  60. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  61. package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
  62. package/cjs/resources/Billing/Analytics/index.js +13 -0
  63. package/cjs/resources/Billing/Analytics/index.js.map +1 -0
  64. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +136 -3
  65. package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
  66. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  67. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  68. package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
  69. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  70. package/cjs/resources/Billing/CreditGrants.d.ts +105 -3
  71. package/cjs/resources/Billing/CreditGrants.js +134 -5
  72. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  73. package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
  74. package/cjs/resources/Billing/Meters.d.ts +31 -0
  75. package/cjs/resources/Billing/index.d.ts +10 -0
  76. package/cjs/resources/Billing/index.js +2 -0
  77. package/cjs/resources/Billing/index.js.map +1 -1
  78. package/cjs/resources/Capabilities.d.ts +39 -2
  79. package/cjs/resources/Capital/FinancingOffers.d.ts +217 -0
  80. package/cjs/resources/Capital/FinancingOffers.js +30 -0
  81. package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
  82. package/cjs/resources/Capital/FinancingSummary.d.ts +123 -0
  83. package/cjs/resources/Capital/FinancingSummary.js +15 -0
  84. package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
  85. package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
  86. package/cjs/resources/Capital/FinancingTransactions.js +24 -0
  87. package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
  88. package/cjs/resources/Capital/index.d.ts +25 -0
  89. package/cjs/resources/Capital/index.js +17 -0
  90. package/cjs/resources/Capital/index.js.map +1 -0
  91. package/cjs/resources/Cards.d.ts +28 -0
  92. package/cjs/resources/Charges.d.ts +3783 -94
  93. package/cjs/resources/Charges.js.map +1 -1
  94. package/cjs/resources/Checkout/Sessions.d.ts +2287 -79
  95. package/cjs/resources/Checkout/Sessions.js +668 -12
  96. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  97. package/cjs/resources/Checkout/index.d.ts +1 -0
  98. package/cjs/resources/ConfirmationTokens.d.ts +201 -1
  99. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  100. package/cjs/resources/Coupons.d.ts +128 -2
  101. package/cjs/resources/Coupons.js +41 -0
  102. package/cjs/resources/Coupons.js.map +1 -1
  103. package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
  104. package/cjs/resources/CreditNotes.d.ts +7 -1
  105. package/cjs/resources/CreditNotes.js +13 -0
  106. package/cjs/resources/CreditNotes.js.map +1 -1
  107. package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
  108. package/cjs/resources/Crypto/CustomerConsumerWallets.js +4 -0
  109. package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
  110. package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
  111. package/cjs/resources/Crypto/CustomerPaymentTokens.js +4 -0
  112. package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
  113. package/cjs/resources/Crypto/Customers.d.ts +111 -0
  114. package/cjs/resources/Crypto/Customers.js +31 -0
  115. package/cjs/resources/Crypto/Customers.js.map +1 -0
  116. package/cjs/resources/Crypto/DepositAddresses.d.ts +128 -0
  117. package/cjs/resources/Crypto/DepositAddresses.js +31 -0
  118. package/cjs/resources/Crypto/DepositAddresses.js.map +1 -0
  119. package/cjs/resources/Crypto/OnrampSessions.d.ts +425 -0
  120. package/cjs/resources/Crypto/OnrampSessions.js +47 -0
  121. package/cjs/resources/Crypto/OnrampSessions.js.map +1 -0
  122. package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
  123. package/cjs/resources/Crypto/OnrampTransactionLimits.js +15 -0
  124. package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
  125. package/cjs/resources/Crypto/index.d.ts +41 -0
  126. package/cjs/resources/Crypto/index.js +19 -0
  127. package/cjs/resources/Crypto/index.js.map +1 -0
  128. package/cjs/resources/CustomerCashBalanceTransactions.d.ts +15 -0
  129. package/cjs/resources/CustomerSessions.d.ts +82 -0
  130. package/cjs/resources/CustomerSessions.js +13 -0
  131. package/cjs/resources/CustomerSessions.js.map +1 -1
  132. package/cjs/resources/CustomerTaxExemptions.d.ts +107 -0
  133. package/cjs/resources/CustomerTaxExemptions.js +4 -0
  134. package/cjs/resources/CustomerTaxExemptions.js.map +1 -0
  135. package/cjs/resources/Customers.d.ts +334 -1
  136. package/cjs/resources/Customers.js +221 -0
  137. package/cjs/resources/Customers.js.map +1 -1
  138. package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
  139. package/cjs/resources/DelegatedCheckout/OrderEvents.js +4 -0
  140. package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
  141. package/cjs/resources/DelegatedCheckout/Orders.d.ts +159 -0
  142. package/cjs/resources/DelegatedCheckout/Orders.js +15 -0
  143. package/cjs/resources/DelegatedCheckout/Orders.js.map +1 -0
  144. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1427 -0
  145. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
  146. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  147. package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
  148. package/cjs/resources/DelegatedCheckout/index.js +15 -0
  149. package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
  150. package/cjs/resources/Discounts.d.ts +19 -0
  151. package/cjs/resources/Disputes.d.ts +29 -1
  152. package/cjs/resources/Disputes.js +14 -0
  153. package/cjs/resources/Disputes.js.map +1 -1
  154. package/cjs/resources/Events.d.ts +640 -3
  155. package/cjs/resources/ExternalAccounts.d.ts +212 -1
  156. package/cjs/resources/ExternalAccounts.js +44 -0
  157. package/cjs/resources/ExternalAccounts.js.map +1 -1
  158. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  159. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
  160. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  161. package/cjs/resources/FinancialConnections/Accounts.d.ts +105 -4
  162. package/cjs/resources/FinancialConnections/Accounts.js +8 -0
  163. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  164. package/cjs/resources/FinancialConnections/Authorizations.d.ts +46 -1
  165. package/cjs/resources/FinancialConnections/Authorizations.js +11 -0
  166. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
  167. package/cjs/resources/FinancialConnections/Consents.d.ts +113 -0
  168. package/cjs/resources/FinancialConnections/Consents.js +21 -0
  169. package/cjs/resources/FinancialConnections/Consents.js.map +1 -0
  170. package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
  171. package/cjs/resources/FinancialConnections/Institutions.js +23 -0
  172. package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
  173. package/cjs/resources/FinancialConnections/Sessions.d.ts +134 -9
  174. package/cjs/resources/FinancialConnections/Transactions.d.ts +70 -0
  175. package/cjs/resources/FinancialConnections/index.d.ts +27 -9
  176. package/cjs/resources/FinancialConnections/index.js +6 -0
  177. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  178. package/cjs/resources/FxQuotes.d.ts +216 -0
  179. package/cjs/resources/FxQuotes.js +29 -0
  180. package/cjs/resources/FxQuotes.js.map +1 -0
  181. package/cjs/resources/GiftCardOperations.d.ts +249 -0
  182. package/cjs/resources/GiftCardOperations.js +15 -0
  183. package/cjs/resources/GiftCardOperations.js.map +1 -0
  184. package/cjs/resources/GiftCards.d.ts +188 -0
  185. package/cjs/resources/GiftCards.js +51 -0
  186. package/cjs/resources/GiftCards.js.map +1 -0
  187. package/cjs/resources/Identity/BlocklistEntries.d.ts +155 -0
  188. package/cjs/resources/Identity/BlocklistEntries.js +54 -0
  189. package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
  190. package/cjs/resources/Identity/VerificationReports.d.ts +203 -2
  191. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  192. package/cjs/resources/Identity/VerificationSessions.d.ts +45 -1
  193. package/cjs/resources/Identity/index.d.ts +18 -10
  194. package/cjs/resources/Identity/index.js +2 -0
  195. package/cjs/resources/Identity/index.js.map +1 -1
  196. package/cjs/resources/InvoiceItems.d.ts +215 -2
  197. package/cjs/resources/InvoiceItems.js +41 -0
  198. package/cjs/resources/InvoiceItems.js.map +1 -1
  199. package/cjs/resources/InvoiceLineItems.d.ts +174 -4
  200. package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
  201. package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
  202. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  203. package/cjs/resources/Invoices.d.ts +2167 -73
  204. package/cjs/resources/Invoices.js +221 -0
  205. package/cjs/resources/Invoices.js.map +1 -1
  206. package/cjs/resources/Issuing/Authorizations.d.ts +821 -1
  207. package/cjs/resources/Issuing/Authorizations.js +177 -0
  208. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  209. package/cjs/resources/Issuing/Cardholders.d.ts +22 -4
  210. package/cjs/resources/Issuing/Cards.d.ts +141 -2
  211. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
  212. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +53 -0
  213. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  214. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
  215. package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
  216. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  217. package/cjs/resources/Issuing/Disputes.d.ts +246 -0
  218. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  219. package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
  220. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  221. package/cjs/resources/Issuing/Programs.d.ts +95 -0
  222. package/cjs/resources/Issuing/Programs.js +35 -0
  223. package/cjs/resources/Issuing/Programs.js.map +1 -0
  224. package/cjs/resources/Issuing/Settlements.d.ts +83 -0
  225. package/cjs/resources/Issuing/Settlements.js +4 -0
  226. package/cjs/resources/Issuing/Settlements.js.map +1 -0
  227. package/cjs/resources/Issuing/Tokens.d.ts +26 -0
  228. package/cjs/resources/Issuing/Transactions.d.ts +259 -0
  229. package/cjs/resources/Issuing/Transactions.js +48 -0
  230. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  231. package/cjs/resources/Issuing/index.d.ts +56 -22
  232. package/cjs/resources/Issuing/index.js +8 -0
  233. package/cjs/resources/Issuing/index.js.map +1 -1
  234. package/cjs/resources/LineItems.d.ts +29 -2
  235. package/cjs/resources/Mandates.d.ts +36 -2
  236. package/cjs/resources/Mandates.js +8 -0
  237. package/cjs/resources/Mandates.js.map +1 -1
  238. package/cjs/resources/Margins.d.ts +115 -0
  239. package/cjs/resources/Margins.js +35 -0
  240. package/cjs/resources/Margins.js.map +1 -0
  241. package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  242. package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
  243. package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
  244. package/cjs/resources/Orchestration/index.d.ts +12 -0
  245. package/cjs/resources/Orchestration/index.js +13 -0
  246. package/cjs/resources/Orchestration/index.js.map +1 -0
  247. package/cjs/resources/Orders.d.ts +4776 -0
  248. package/cjs/resources/Orders.js +457 -0
  249. package/cjs/resources/Orders.js.map +1 -0
  250. package/cjs/resources/PaymentAttemptRecords.d.ts +908 -2
  251. package/cjs/resources/PaymentAttemptRecords.js +48 -0
  252. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  253. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +104 -0
  254. package/cjs/resources/PaymentIntents.d.ts +19847 -4859
  255. package/cjs/resources/PaymentIntents.js +46 -0
  256. package/cjs/resources/PaymentIntents.js.map +1 -1
  257. package/cjs/resources/PaymentLinks.d.ts +73 -12
  258. package/cjs/resources/PaymentLocationCapabilities.d.ts +124 -0
  259. package/cjs/resources/PaymentLocationCapabilities.js +29 -0
  260. package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
  261. package/cjs/resources/PaymentLocations.d.ts +178 -0
  262. package/cjs/resources/PaymentLocations.js +41 -0
  263. package/cjs/resources/PaymentLocations.js.map +1 -0
  264. package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
  265. package/cjs/resources/PaymentMethodBalances.js +4 -0
  266. package/cjs/resources/PaymentMethodBalances.js.map +1 -0
  267. package/cjs/resources/PaymentMethodConfigurations.d.ts +420 -0
  268. package/cjs/resources/PaymentMethods.d.ts +423 -3
  269. package/cjs/resources/PaymentMethods.js +20 -0
  270. package/cjs/resources/PaymentMethods.js.map +1 -1
  271. package/cjs/resources/PaymentPlans.d.ts +427 -0
  272. package/cjs/resources/PaymentPlans.js +35 -0
  273. package/cjs/resources/PaymentPlans.js.map +1 -0
  274. package/cjs/resources/PaymentRecords.d.ts +906 -20
  275. package/cjs/resources/PaymentRecords.js +18 -0
  276. package/cjs/resources/PaymentRecords.js.map +1 -1
  277. package/cjs/resources/Payouts.d.ts +30 -0
  278. package/cjs/resources/Persons.d.ts +39 -2
  279. package/cjs/resources/Prices.d.ts +60 -0
  280. package/cjs/resources/Prices.js +27 -0
  281. package/cjs/resources/Prices.js.map +1 -1
  282. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
  283. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
  284. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  285. package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
  286. package/cjs/resources/Privacy/RedactionJobs.js +73 -0
  287. package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
  288. package/cjs/resources/Privacy/index.d.ts +22 -0
  289. package/cjs/resources/Privacy/index.js +13 -0
  290. package/cjs/resources/Privacy/index.js.map +1 -0
  291. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +2 -2
  292. package/cjs/resources/Products.d.ts +156 -0
  293. package/cjs/resources/Products.js +69 -0
  294. package/cjs/resources/Products.js.map +1 -1
  295. package/cjs/resources/Profiles.d.ts +68 -0
  296. package/cjs/resources/Profiles.js +4 -0
  297. package/cjs/resources/Profiles.js.map +1 -0
  298. package/cjs/resources/PromotionCodes.d.ts +12 -0
  299. package/cjs/resources/PromotionCodes.js +27 -0
  300. package/cjs/resources/PromotionCodes.js.map +1 -1
  301. package/cjs/resources/QuoteLines.d.ts +684 -0
  302. package/cjs/resources/QuoteLines.js +4 -0
  303. package/cjs/resources/QuoteLines.js.map +1 -0
  304. package/cjs/resources/QuotePreviewInvoices.d.ts +1291 -0
  305. package/cjs/resources/QuotePreviewInvoices.js +4 -0
  306. package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
  307. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +1134 -0
  308. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
  309. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  310. package/cjs/resources/Quotes.d.ts +3548 -254
  311. package/cjs/resources/Quotes.js +1184 -16
  312. package/cjs/resources/Quotes.js.map +1 -1
  313. package/cjs/resources/Radar/AccountEvaluations.d.ts +309 -0
  314. package/cjs/resources/Radar/AccountEvaluations.js +27 -0
  315. package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
  316. package/cjs/resources/Radar/BillingEvaluations.d.ts +374 -0
  317. package/cjs/resources/Radar/BillingEvaluations.js +15 -0
  318. package/cjs/resources/Radar/BillingEvaluations.js.map +1 -0
  319. package/cjs/resources/Radar/CustomerEvaluations.d.ts +245 -0
  320. package/cjs/resources/Radar/CustomerEvaluations.js +27 -0
  321. package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
  322. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
  323. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
  324. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  325. package/cjs/resources/Radar/PaymentEvaluations.d.ts +234 -5
  326. package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -1
  327. package/cjs/resources/Radar/Rules.d.ts +18 -0
  328. package/cjs/resources/Radar/Rules.js +4 -0
  329. package/cjs/resources/Radar/Rules.js.map +1 -0
  330. package/cjs/resources/Radar/ValueListItems.d.ts +39 -1
  331. package/cjs/resources/Radar/ValueListItems.js +13 -0
  332. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  333. package/cjs/resources/Radar/index.d.ts +44 -16
  334. package/cjs/resources/Radar/index.js +8 -0
  335. package/cjs/resources/Radar/index.js.map +1 -1
  336. package/cjs/resources/Refunds.d.ts +113 -0
  337. package/cjs/resources/Refunds.js +27 -0
  338. package/cjs/resources/Refunds.js.map +1 -1
  339. package/cjs/resources/Reporting/ReportRuns.d.ts +4 -0
  340. package/cjs/resources/Reserve/Holds.d.ts +53 -1
  341. package/cjs/resources/Reserve/Holds.js +19 -0
  342. package/cjs/resources/Reserve/Holds.js.map +1 -1
  343. package/cjs/resources/Reserve/Plans.d.ts +41 -1
  344. package/cjs/resources/Reserve/Plans.js +19 -0
  345. package/cjs/resources/Reserve/Plans.js.map +1 -1
  346. package/cjs/resources/Reserve/Releases.d.ts +41 -1
  347. package/cjs/resources/Reserve/Releases.js +19 -0
  348. package/cjs/resources/Reserve/Releases.js.map +1 -1
  349. package/cjs/resources/Reserve/index.d.ts +18 -6
  350. package/cjs/resources/Reserve/index.js +9 -0
  351. package/cjs/resources/Reserve/index.js.map +1 -1
  352. package/cjs/resources/Risk/Forms.d.ts +380 -0
  353. package/cjs/resources/Risk/Forms.js +38 -0
  354. package/cjs/resources/Risk/Forms.js.map +1 -0
  355. package/cjs/resources/Risk/index.d.ts +13 -0
  356. package/cjs/resources/Risk/index.js +13 -0
  357. package/cjs/resources/Risk/index.js.map +1 -0
  358. package/cjs/resources/RiskSignals.d.ts +10 -0
  359. package/cjs/resources/RiskSignals.js +4 -0
  360. package/cjs/resources/RiskSignals.js.map +1 -0
  361. package/cjs/resources/SetupAttempts.d.ts +39 -1
  362. package/cjs/resources/SetupAttempts.js.map +1 -1
  363. package/cjs/resources/SetupIntents.d.ts +877 -16
  364. package/cjs/resources/SetupIntents.js.map +1 -1
  365. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +442 -0
  366. package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
  367. package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
  368. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +378 -0
  369. package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
  370. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
  371. package/cjs/resources/SharedPayment/index.d.ts +19 -0
  372. package/cjs/resources/SharedPayment/index.js +15 -0
  373. package/cjs/resources/SharedPayment/index.js.map +1 -0
  374. package/cjs/resources/Sources.d.ts +29 -1
  375. package/cjs/resources/SubscriptionItems.d.ts +236 -0
  376. package/cjs/resources/SubscriptionItems.js +41 -0
  377. package/cjs/resources/SubscriptionItems.js.map +1 -1
  378. package/cjs/resources/SubscriptionSchedules.d.ts +2007 -31
  379. package/cjs/resources/SubscriptionSchedules.js +61 -0
  380. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  381. package/cjs/resources/Subscriptions.d.ts +910 -14
  382. package/cjs/resources/Subscriptions.js +186 -0
  383. package/cjs/resources/Subscriptions.js.map +1 -1
  384. package/cjs/resources/Tax/CalculationLineItems.d.ts +12 -1
  385. package/cjs/resources/Tax/Calculations.d.ts +43 -1
  386. package/cjs/resources/Tax/Certificates.d.ts +107 -0
  387. package/cjs/resources/Tax/Certificates.js +35 -0
  388. package/cjs/resources/Tax/Certificates.js.map +1 -0
  389. package/cjs/resources/Tax/FormCorrections.d.ts +29 -0
  390. package/cjs/resources/Tax/FormCorrections.js +4 -0
  391. package/cjs/resources/Tax/FormCorrections.js.map +1 -0
  392. package/cjs/resources/Tax/Forms.d.ts +973 -0
  393. package/cjs/resources/Tax/Forms.js +38 -0
  394. package/cjs/resources/Tax/Forms.js.map +1 -0
  395. package/cjs/resources/Tax/Registrations.d.ts +60 -4
  396. package/cjs/resources/Tax/Registrations.js +27 -0
  397. package/cjs/resources/Tax/Registrations.js.map +1 -1
  398. package/cjs/resources/Tax/Settings.d.ts +8 -0
  399. package/cjs/resources/Tax/Settings.js +13 -0
  400. package/cjs/resources/Tax/Settings.js.map +1 -1
  401. package/cjs/resources/Tax/Transactions.d.ts +12 -0
  402. package/cjs/resources/Tax/Transactions.js +13 -0
  403. package/cjs/resources/Tax/Transactions.js.map +1 -1
  404. package/cjs/resources/Tax/index.d.ts +41 -17
  405. package/cjs/resources/Tax/index.js +4 -0
  406. package/cjs/resources/Tax/index.js.map +1 -1
  407. package/cjs/resources/TaxFunds.d.ts +174 -0
  408. package/cjs/resources/TaxFunds.js +23 -0
  409. package/cjs/resources/TaxFunds.js.map +1 -0
  410. package/cjs/resources/TaxIds.d.ts +6 -0
  411. package/cjs/resources/TaxIds.js +13 -0
  412. package/cjs/resources/TaxIds.js.map +1 -1
  413. package/cjs/resources/TaxRates.d.ts +12 -0
  414. package/cjs/resources/TaxRates.js +27 -0
  415. package/cjs/resources/TaxRates.js.map +1 -1
  416. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
  417. package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
  418. package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
  419. package/cjs/resources/Terminal/Readers.d.ts +235 -2
  420. package/cjs/resources/Terminal/Readers.js +24 -0
  421. package/cjs/resources/Terminal/Readers.js.map +1 -1
  422. package/cjs/resources/Terminal/index.d.ts +9 -0
  423. package/cjs/resources/Terminal/index.js +2 -0
  424. package/cjs/resources/Terminal/index.js.map +1 -1
  425. package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +82 -0
  426. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
  427. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  428. package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
  429. package/cjs/resources/TestHelpers/Capital/index.js +13 -0
  430. package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
  431. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +165 -1
  432. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +95 -0
  433. package/cjs/resources/TestHelpers/Issuing/Authorizations.js +245 -0
  434. package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  435. package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
  436. package/cjs/resources/TestHelpers/Issuing/Disputes.js +39 -0
  437. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
  438. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +48 -0
  439. package/cjs/resources/TestHelpers/Issuing/Transactions.js +48 -0
  440. package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  441. package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
  442. package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
  443. package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
  444. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +38 -0
  445. package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
  446. package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
  447. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +92 -0
  448. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
  449. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  450. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  451. package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
  452. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  453. package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +18 -1
  454. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  455. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  456. package/cjs/resources/TestHelpers/index.d.ts +14 -6
  457. package/cjs/resources/TestHelpers/index.js +12 -6
  458. package/cjs/resources/TestHelpers/index.js.map +1 -1
  459. package/cjs/resources/Tokens.d.ts +76 -0
  460. package/cjs/resources/Transfers.d.ts +12 -0
  461. package/cjs/resources/Transfers.js.map +1 -1
  462. package/cjs/resources/TransitBalances.d.ts +25 -0
  463. package/cjs/resources/TransitBalances.js +4 -0
  464. package/cjs/resources/TransitBalances.js.map +1 -0
  465. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  466. package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
  467. package/cjs/resources/Treasury/InboundTransfers.d.ts +60 -0
  468. package/cjs/resources/Treasury/OutboundPayments.d.ts +48 -0
  469. package/cjs/resources/Treasury/OutboundTransfers.d.ts +66 -0
  470. package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
  471. package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
  472. package/cjs/resources/Treasury/TransactionEntries.js +76 -0
  473. package/cjs/resources/Treasury/TransactionEntries.js.map +1 -1
  474. package/cjs/resources/Treasury/Transactions.js +82 -0
  475. package/cjs/resources/Treasury/Transactions.js.map +1 -1
  476. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
  477. package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
  478. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  479. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  480. package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
  481. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  482. package/cjs/resources/V2/Billing/BillSettings.d.ts +281 -0
  483. package/cjs/resources/V2/Billing/BillSettings.js +41 -0
  484. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
  485. package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +87 -0
  486. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
  487. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  488. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  489. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
  490. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  491. package/cjs/resources/V2/Billing/Cadences.d.ts +1022 -0
  492. package/cjs/resources/V2/Billing/Cadences.js +264 -0
  493. package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
  494. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
  495. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
  496. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  497. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  498. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
  499. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  500. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  501. package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
  502. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
  503. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +50 -0
  504. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +4 -0
  505. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
  506. package/cjs/resources/V2/Billing/ContractTermQuantityChanges.d.ts +35 -0
  507. package/cjs/resources/V2/Billing/ContractTermQuantityChanges.js +4 -0
  508. package/cjs/resources/V2/Billing/ContractTermQuantityChanges.js.map +1 -0
  509. package/cjs/resources/V2/Billing/ContractTerms.d.ts +216 -0
  510. package/cjs/resources/V2/Billing/ContractTerms.js +4 -0
  511. package/cjs/resources/V2/Billing/ContractTerms.js.map +1 -0
  512. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
  513. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +29 -0
  514. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
  515. package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
  516. package/cjs/resources/V2/Billing/Contracts/PricingLines.js +15 -0
  517. package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
  518. package/cjs/resources/V2/Billing/Contracts/Terms/QuantityChanges.d.ts +23 -0
  519. package/cjs/resources/V2/Billing/Contracts/Terms/QuantityChanges.js +29 -0
  520. package/cjs/resources/V2/Billing/Contracts/Terms/QuantityChanges.js.map +1 -0
  521. package/cjs/resources/V2/Billing/Contracts/Terms.d.ts +46 -0
  522. package/cjs/resources/V2/Billing/Contracts/Terms.js +82 -0
  523. package/cjs/resources/V2/Billing/Contracts/Terms.js.map +1 -0
  524. package/cjs/resources/V2/Billing/Contracts.d.ts +2762 -0
  525. package/cjs/resources/V2/Billing/Contracts.js +657 -0
  526. package/cjs/resources/V2/Billing/Contracts.js.map +1 -0
  527. package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  528. package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
  529. package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  530. package/cjs/resources/V2/Billing/IntentActions.d.ts +609 -0
  531. package/cjs/resources/V2/Billing/IntentActions.js +4 -0
  532. package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
  533. package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  534. package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
  535. package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
  536. package/cjs/resources/V2/Billing/Intents.d.ts +1267 -0
  537. package/cjs/resources/V2/Billing/Intents.js +87 -0
  538. package/cjs/resources/V2/Billing/Intents.js.map +1 -0
  539. package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
  540. package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
  541. package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  542. package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  543. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
  544. package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  545. package/cjs/resources/V2/Billing/LicenseFees.d.ts +360 -0
  546. package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
  547. package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
  548. package/cjs/resources/V2/Billing/LicensedItems.d.ts +170 -0
  549. package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
  550. package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
  551. package/cjs/resources/V2/Billing/MeteredItems.d.ts +218 -0
  552. package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
  553. package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
  554. package/cjs/resources/V2/Billing/OneTimeItems.d.ts +170 -0
  555. package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
  556. package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
  557. package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
  558. package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
  559. package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  560. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +636 -0
  561. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
  562. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  563. package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  564. package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
  565. package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  566. package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  567. package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
  568. package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  569. package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  570. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
  571. package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  572. package/cjs/resources/V2/Billing/PricingPlans.d.ts +169 -0
  573. package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
  574. package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
  575. package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
  576. package/cjs/resources/V2/Billing/Profiles.js +35 -0
  577. package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
  578. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  579. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
  580. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  581. package/cjs/resources/V2/Billing/RateCardRates.d.ts +111 -0
  582. package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
  583. package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
  584. package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +218 -0
  585. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
  586. package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  587. package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  588. package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
  589. package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
  590. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  591. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
  592. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  593. package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  594. package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
  595. package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  596. package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  597. package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
  598. package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  599. package/cjs/resources/V2/Billing/RateCards.d.ts +336 -0
  600. package/cjs/resources/V2/Billing/RateCards.js +76 -0
  601. package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
  602. package/cjs/resources/V2/Billing/ServiceActions.d.ts +536 -0
  603. package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
  604. package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
  605. package/cjs/resources/V2/Billing/index.d.ts +181 -6
  606. package/cjs/resources/V2/Billing/index.js +32 -0
  607. package/cjs/resources/V2/Billing/index.js.map +1 -1
  608. package/cjs/resources/V2/Core/AccountEvaluations.d.ts +167 -0
  609. package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
  610. package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
  611. package/cjs/resources/V2/Core/AccountLinks.d.ts +138 -2
  612. package/cjs/resources/V2/Core/AccountPersons.d.ts +5 -2
  613. package/cjs/resources/V2/Core/AccountSessions.d.ts +1649 -0
  614. package/cjs/resources/V2/Core/AccountSessions.js +16 -0
  615. package/cjs/resources/V2/Core/AccountSessions.js.map +1 -0
  616. package/cjs/resources/V2/Core/AccountTokens.d.ts +242 -4
  617. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +5 -2
  618. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +10 -4
  619. package/cjs/resources/V2/Core/Accounts.d.ts +22332 -1163
  620. package/cjs/resources/V2/Core/Accounts.js +23373 -30
  621. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  622. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +410 -0
  623. package/cjs/resources/V2/Core/ApprovalRequests.js +39 -0
  624. package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
  625. package/cjs/resources/V2/Core/BatchJobs.d.ts +392 -0
  626. package/cjs/resources/V2/Core/BatchJobs.js +252 -0
  627. package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
  628. package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
  629. package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
  630. package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  631. package/cjs/resources/V2/Core/ConnectionSessions.d.ts +86 -0
  632. package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
  633. package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
  634. package/cjs/resources/V2/Core/Events.d.ts +6062 -593
  635. package/cjs/resources/V2/Core/FeeBatches.d.ts +228 -0
  636. package/cjs/resources/V2/Core/FeeBatches.js +23 -0
  637. package/cjs/resources/V2/Core/FeeBatches.js.map +1 -0
  638. package/cjs/resources/V2/Core/FeeEntries.d.ts +196 -0
  639. package/cjs/resources/V2/Core/FeeEntries.js +23 -0
  640. package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
  641. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +426 -0
  642. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +4 -0
  643. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
  644. package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
  645. package/cjs/resources/V2/Core/Health/Alerts/History.js +101 -0
  646. package/cjs/resources/V2/Core/Health/Alerts/History.js.map +1 -0
  647. package/cjs/resources/V2/Core/Health/Alerts.d.ts +540 -0
  648. package/cjs/resources/V2/Core/Health/Alerts.js +182 -0
  649. package/cjs/resources/V2/Core/Health/Alerts.js.map +1 -0
  650. package/cjs/resources/V2/Core/Health/index.d.ts +16 -0
  651. package/cjs/resources/V2/Core/Health/index.js +13 -0
  652. package/cjs/resources/V2/Core/Health/index.js.map +1 -0
  653. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
  654. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
  655. package/cjs/resources/V2/Core/Vault/NetworkTokens.d.ts +199 -0
  656. package/cjs/resources/V2/Core/Vault/NetworkTokens.js +42 -0
  657. package/cjs/resources/V2/Core/Vault/NetworkTokens.js.map +1 -0
  658. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
  659. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
  660. package/cjs/resources/V2/Core/Vault/index.d.ts +17 -9
  661. package/cjs/resources/V2/Core/Vault/index.js +2 -0
  662. package/cjs/resources/V2/Core/Vault/index.js.map +1 -1
  663. package/cjs/resources/V2/Core/index.d.ts +69 -14
  664. package/cjs/resources/V2/Core/index.js +20 -2
  665. package/cjs/resources/V2/Core/index.js.map +1 -1
  666. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -0
  667. package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
  668. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  669. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
  670. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
  671. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  672. package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
  673. package/cjs/resources/V2/Data/Analytics/index.js +13 -0
  674. package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
  675. package/cjs/resources/V2/Data/Operations.d.ts +37 -0
  676. package/cjs/resources/V2/Data/Operations.js +40 -0
  677. package/cjs/resources/V2/Data/Operations.js.map +1 -0
  678. package/cjs/resources/V2/Data/QueryRuns.d.ts +299 -0
  679. package/cjs/resources/V2/Data/QueryRuns.js +51 -0
  680. package/cjs/resources/V2/Data/QueryRuns.js.map +1 -0
  681. package/cjs/resources/V2/Data/ReportRuns.d.ts +303 -0
  682. package/cjs/resources/V2/Data/ReportRuns.js +53 -0
  683. package/cjs/resources/V2/Data/ReportRuns.js.map +1 -0
  684. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +176 -0
  685. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
  686. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  687. package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
  688. package/cjs/resources/V2/Data/Reporting/index.js +13 -0
  689. package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
  690. package/cjs/resources/V2/Data/Reports.d.ts +140 -0
  691. package/cjs/resources/V2/Data/Reports.js +25 -0
  692. package/cjs/resources/V2/Data/Reports.js.map +1 -0
  693. package/cjs/resources/V2/Data/Schemas.d.ts +161 -0
  694. package/cjs/resources/V2/Data/Schemas.js +23 -0
  695. package/cjs/resources/V2/Data/Schemas.js.map +1 -0
  696. package/cjs/resources/V2/Data/SearchResultLists.d.ts +348 -0
  697. package/cjs/resources/V2/Data/SearchResultLists.js +4 -0
  698. package/cjs/resources/V2/Data/SearchResultLists.js.map +1 -0
  699. package/cjs/resources/V2/Data/index.d.ts +42 -0
  700. package/cjs/resources/V2/Data/index.js +25 -0
  701. package/cjs/resources/V2/Data/index.js.map +1 -0
  702. package/cjs/resources/V2/Extend/ObjectDefinitionVersions.d.ts +222 -0
  703. package/cjs/resources/V2/Extend/ObjectDefinitionVersions.js +4 -0
  704. package/cjs/resources/V2/Extend/ObjectDefinitionVersions.js.map +1 -0
  705. package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.d.ts +33 -0
  706. package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.js +23 -0
  707. package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.js.map +1 -0
  708. package/cjs/resources/V2/Extend/ObjectDefinitions.d.ts +63 -0
  709. package/cjs/resources/V2/Extend/ObjectDefinitions.js +29 -0
  710. package/cjs/resources/V2/Extend/ObjectDefinitions.js.map +1 -0
  711. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
  712. package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
  713. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  714. package/cjs/resources/V2/Extend/Workflows.d.ts +120 -0
  715. package/cjs/resources/V2/Extend/Workflows.js +30 -0
  716. package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
  717. package/cjs/resources/V2/Extend/index.d.ts +29 -0
  718. package/cjs/resources/V2/Extend/index.js +17 -0
  719. package/cjs/resources/V2/Extend/index.js.map +1 -0
  720. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +457 -0
  721. package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
  722. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
  723. package/cjs/resources/V2/Iam/ApiKeys.d.ts +306 -0
  724. package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
  725. package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
  726. package/cjs/resources/V2/Iam/index.d.ts +23 -0
  727. package/cjs/resources/V2/Iam/index.js +15 -0
  728. package/cjs/resources/V2/Iam/index.js.map +1 -0
  729. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +44 -2
  730. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
  731. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
  732. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  733. package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +173 -0
  734. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
  735. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
  736. package/cjs/resources/V2/MoneyManagement/EarnedCreditSimulations.d.ts +18 -0
  737. package/cjs/resources/V2/MoneyManagement/EarnedCreditSimulations.js +4 -0
  738. package/cjs/resources/V2/MoneyManagement/EarnedCreditSimulations.js.map +1 -0
  739. package/cjs/resources/V2/MoneyManagement/EarnedCredits.d.ts +134 -0
  740. package/cjs/resources/V2/MoneyManagement/EarnedCredits.js +23 -0
  741. package/cjs/resources/V2/MoneyManagement/EarnedCredits.js.map +1 -0
  742. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
  743. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +4 -0
  744. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
  745. package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.d.ts +62 -0
  746. package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js +4 -0
  747. package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js.map +1 -0
  748. package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExports.d.ts +50 -0
  749. package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExports.js +4 -0
  750. package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExports.js.map +1 -0
  751. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
  752. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
  753. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
  754. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.d.ts +51 -0
  755. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js +22 -0
  756. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js.map +1 -0
  757. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +437 -4
  758. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +132 -2
  759. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
  760. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
  761. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +4 -0
  762. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
  763. package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  764. package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +4 -0
  765. package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  766. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +144 -6
  767. package/cjs/resources/V2/MoneyManagement/FundingIntents.d.ts +504 -0
  768. package/cjs/resources/V2/MoneyManagement/FundingIntents.js +53 -0
  769. package/cjs/resources/V2/MoneyManagement/FundingIntents.js.map +1 -0
  770. package/cjs/resources/V2/MoneyManagement/FundingSessions.d.ts +111 -0
  771. package/cjs/resources/V2/MoneyManagement/FundingSessions.js +15 -0
  772. package/cjs/resources/V2/MoneyManagement/FundingSessions.js.map +1 -0
  773. package/cjs/resources/V2/MoneyManagement/InboundFundings.d.ts +178 -0
  774. package/cjs/resources/V2/MoneyManagement/InboundFundings.js +23 -0
  775. package/cjs/resources/V2/MoneyManagement/InboundFundings.js.map +1 -0
  776. package/cjs/resources/V2/MoneyManagement/InboundTransferMandates.d.ts +265 -0
  777. package/cjs/resources/V2/MoneyManagement/InboundTransferMandates.js +39 -0
  778. package/cjs/resources/V2/MoneyManagement/InboundTransferMandates.js.map +1 -0
  779. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +88 -2
  780. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +374 -0
  781. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +23 -0
  782. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  783. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +246 -6
  784. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
  785. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +143 -2
  786. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +434 -0
  787. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +40 -0
  788. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  789. package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +18 -6
  790. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +125 -1
  791. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
  792. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  793. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +344 -6
  794. package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +171 -0
  795. package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js +29 -0
  796. package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
  797. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +373 -0
  798. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
  799. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  800. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
  801. package/cjs/resources/V2/MoneyManagement/RewardProgramEnrollments.d.ts +140 -0
  802. package/cjs/resources/V2/MoneyManagement/RewardProgramEnrollments.js +46 -0
  803. package/cjs/resources/V2/MoneyManagement/RewardProgramEnrollments.js.map +1 -0
  804. package/cjs/resources/V2/MoneyManagement/RewardProgramRules.d.ts +85 -0
  805. package/cjs/resources/V2/MoneyManagement/RewardProgramRules.js +4 -0
  806. package/cjs/resources/V2/MoneyManagement/RewardProgramRules.js.map +1 -0
  807. package/cjs/resources/V2/MoneyManagement/RewardPrograms/Rules.d.ts +205 -0
  808. package/cjs/resources/V2/MoneyManagement/RewardPrograms/Rules.js +177 -0
  809. package/cjs/resources/V2/MoneyManagement/RewardPrograms/Rules.js.map +1 -0
  810. package/cjs/resources/V2/MoneyManagement/RewardPrograms.d.ts +135 -0
  811. package/cjs/resources/V2/MoneyManagement/RewardPrograms.js +57 -0
  812. package/cjs/resources/V2/MoneyManagement/RewardPrograms.js.map +1 -0
  813. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +43 -1
  814. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +13 -0
  815. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
  816. package/cjs/resources/V2/MoneyManagement/TestHelpers.d.ts +37 -0
  817. package/cjs/resources/V2/MoneyManagement/TestHelpers.js +21 -0
  818. package/cjs/resources/V2/MoneyManagement/TestHelpers.js.map +1 -0
  819. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +140 -4
  820. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +140 -4
  821. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
  822. package/cjs/resources/V2/MoneyManagement/index.d.ts +175 -57
  823. package/cjs/resources/V2/MoneyManagement/index.js +28 -2
  824. package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
  825. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
  826. package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
  827. package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
  828. package/cjs/resources/V2/Network/index.d.ts +13 -0
  829. package/cjs/resources/V2/Network/index.js +13 -0
  830. package/cjs/resources/V2/Network/index.js.map +1 -0
  831. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
  832. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
  833. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  834. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  835. package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
  836. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  837. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +736 -0
  838. package/cjs/resources/V2/Payments/OffSessionPayments.js +47 -0
  839. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  840. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
  841. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
  842. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  843. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  844. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
  845. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  846. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +212 -0
  847. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
  848. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  849. package/cjs/resources/V2/Payments/index.d.ts +30 -0
  850. package/cjs/resources/V2/Payments/index.js +15 -0
  851. package/cjs/resources/V2/Payments/index.js.map +1 -0
  852. package/cjs/resources/V2/Provisioning/Catalog/Providers.d.ts +33 -0
  853. package/cjs/resources/V2/Provisioning/Catalog/Providers.js +17 -0
  854. package/cjs/resources/V2/Provisioning/Catalog/Providers.js.map +1 -0
  855. package/cjs/resources/V2/Provisioning/Catalog/Services.d.ts +37 -0
  856. package/cjs/resources/V2/Provisioning/Catalog/Services.js +17 -0
  857. package/cjs/resources/V2/Provisioning/Catalog/Services.js.map +1 -0
  858. package/cjs/resources/V2/Provisioning/Catalog/index.d.ts +10 -0
  859. package/cjs/resources/V2/Provisioning/Catalog/index.js +15 -0
  860. package/cjs/resources/V2/Provisioning/Catalog/index.js.map +1 -0
  861. package/cjs/resources/V2/Provisioning/Eligibility.d.ts +33 -0
  862. package/cjs/resources/V2/Provisioning/Eligibility.js +16 -0
  863. package/cjs/resources/V2/Provisioning/Eligibility.js.map +1 -0
  864. package/cjs/resources/V2/Provisioning/PaymentMethodRequests.d.ts +79 -0
  865. package/cjs/resources/V2/Provisioning/PaymentMethodRequests.js +25 -0
  866. package/cjs/resources/V2/Provisioning/PaymentMethodRequests.js.map +1 -0
  867. package/cjs/resources/V2/Provisioning/PaymentProfile.d.ts +139 -0
  868. package/cjs/resources/V2/Provisioning/PaymentProfile.js +74 -0
  869. package/cjs/resources/V2/Provisioning/PaymentProfile.js.map +1 -0
  870. package/cjs/resources/V2/Provisioning/Projects.d.ts +79 -0
  871. package/cjs/resources/V2/Provisioning/Projects.js +15 -0
  872. package/cjs/resources/V2/Provisioning/Projects.js.map +1 -0
  873. package/cjs/resources/V2/Provisioning/ProviderConnectionRequests.d.ts +145 -0
  874. package/cjs/resources/V2/Provisioning/ProviderConnectionRequests.js +27 -0
  875. package/cjs/resources/V2/Provisioning/ProviderConnectionRequests.js.map +1 -0
  876. package/cjs/resources/V2/Provisioning/ProviderConnections.d.ts +115 -0
  877. package/cjs/resources/V2/Provisioning/ProviderConnections.js +23 -0
  878. package/cjs/resources/V2/Provisioning/ProviderConnections.js.map +1 -0
  879. package/cjs/resources/V2/Provisioning/ProviderServiceDetails.d.ts +243 -0
  880. package/cjs/resources/V2/Provisioning/ProviderServiceDetails.js +4 -0
  881. package/cjs/resources/V2/Provisioning/ProviderServiceDetails.js.map +1 -0
  882. package/cjs/resources/V2/Provisioning/Providers.d.ts +67 -0
  883. package/cjs/resources/V2/Provisioning/Providers.js +4 -0
  884. package/cjs/resources/V2/Provisioning/Providers.js.map +1 -0
  885. package/cjs/resources/V2/Provisioning/ResourceAccessConfigurations.d.ts +28 -0
  886. package/cjs/resources/V2/Provisioning/ResourceAccessConfigurations.js +4 -0
  887. package/cjs/resources/V2/Provisioning/ResourceAccessConfigurations.js.map +1 -0
  888. package/cjs/resources/V2/Provisioning/Resources.d.ts +287 -0
  889. package/cjs/resources/V2/Provisioning/Resources.js +66 -0
  890. package/cjs/resources/V2/Provisioning/Resources.js.map +1 -0
  891. package/cjs/resources/V2/Provisioning/index.d.ts +66 -0
  892. package/cjs/resources/V2/Provisioning/index.js +27 -0
  893. package/cjs/resources/V2/Provisioning/index.js.map +1 -0
  894. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +195 -0
  895. package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
  896. package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
  897. package/cjs/resources/V2/Reporting/Reports.d.ts +106 -0
  898. package/cjs/resources/V2/Reporting/Reports.js +17 -0
  899. package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
  900. package/cjs/resources/V2/Reporting/index.d.ts +18 -0
  901. package/cjs/resources/V2/Reporting/index.js +15 -0
  902. package/cjs/resources/V2/Reporting/index.js.map +1 -0
  903. package/cjs/resources/V2/Risk/Forms.d.ts +253 -0
  904. package/cjs/resources/V2/Risk/Forms.js +21 -0
  905. package/cjs/resources/V2/Risk/Forms.js.map +1 -0
  906. package/cjs/resources/V2/Risk/index.d.ts +13 -0
  907. package/cjs/resources/V2/Risk/index.js +13 -0
  908. package/cjs/resources/V2/Risk/index.js.map +1 -0
  909. package/cjs/resources/V2/Signals/AccountActivities.d.ts +747 -0
  910. package/cjs/resources/V2/Signals/AccountActivities.js +27 -0
  911. package/cjs/resources/V2/Signals/AccountActivities.js.map +1 -0
  912. package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +516 -0
  913. package/cjs/resources/V2/Signals/AccountEvaluations.js +67 -0
  914. package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
  915. package/cjs/resources/V2/Signals/AccountSignals.d.ts +361 -0
  916. package/cjs/resources/V2/Signals/AccountSignals.js +118 -0
  917. package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
  918. package/cjs/resources/V2/Signals/PaymentRetryEvaluations.d.ts +116 -0
  919. package/cjs/resources/V2/Signals/PaymentRetryEvaluations.js +38 -0
  920. package/cjs/resources/V2/Signals/PaymentRetryEvaluations.js.map +1 -0
  921. package/cjs/resources/V2/Signals/PaymentRetrySignals.d.ts +63 -0
  922. package/cjs/resources/V2/Signals/PaymentRetrySignals.js +15 -0
  923. package/cjs/resources/V2/Signals/PaymentRetrySignals.js.map +1 -0
  924. package/cjs/resources/V2/Signals/index.d.ts +39 -0
  925. package/cjs/resources/V2/Signals/index.js +21 -0
  926. package/cjs/resources/V2/Signals/index.js.map +1 -0
  927. package/cjs/resources/V2/Tax/IntegrationConfigurations.d.ts +116 -0
  928. package/cjs/resources/V2/Tax/IntegrationConfigurations.js +21 -0
  929. package/cjs/resources/V2/Tax/IntegrationConfigurations.js.map +1 -0
  930. package/cjs/resources/V2/Tax/ManualRules.d.ts +331 -0
  931. package/cjs/resources/V2/Tax/ManualRules.js +193 -0
  932. package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
  933. package/cjs/resources/V2/Tax/Operations.d.ts +43 -0
  934. package/cjs/resources/V2/Tax/Operations.js +15 -0
  935. package/cjs/resources/V2/Tax/Operations.js.map +1 -0
  936. package/cjs/resources/V2/Tax/OperationsResolveAddressResults.d.ts +70 -0
  937. package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js +4 -0
  938. package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js.map +1 -0
  939. package/cjs/resources/V2/Tax/index.d.ts +27 -0
  940. package/cjs/resources/V2/Tax/index.js +17 -0
  941. package/cjs/resources/V2/Tax/index.js.map +1 -0
  942. package/cjs/resources/V2/index.d.ts +33 -0
  943. package/cjs/resources/V2/index.js +26 -4
  944. package/cjs/resources/V2/index.js.map +1 -1
  945. package/cjs/resources/WebhookEndpoints.d.ts +2 -2
  946. package/cjs/resources.d.ts +20 -0
  947. package/cjs/resources.js +313 -21
  948. package/cjs/resources.js.map +1 -1
  949. package/cjs/stripe.cjs.node.d.ts +20042 -2747
  950. package/cjs/stripe.cjs.node.js.map +1 -1
  951. package/cjs/stripe.core.d.ts +170 -56
  952. package/cjs/stripe.core.js +156 -45
  953. package/cjs/stripe.core.js.map +1 -1
  954. package/esm/Error.d.ts +29 -0
  955. package/esm/Error.js +47 -0
  956. package/esm/Error.js.map +1 -1
  957. package/esm/RequestSender.js +26 -5
  958. package/esm/RequestSender.js.map +1 -1
  959. package/esm/StripeEventNotificationHandler.js +226 -3
  960. package/esm/StripeEventNotificationHandler.js.map +1 -1
  961. package/esm/Types.d.ts +21 -2
  962. package/esm/Types.js.map +1 -1
  963. package/esm/WorkloadIdentity.d.ts +99 -0
  964. package/esm/WorkloadIdentity.js +282 -0
  965. package/esm/WorkloadIdentity.js.map +1 -0
  966. package/esm/apiVersion.d.ts +2 -2
  967. package/esm/apiVersion.js +2 -2
  968. package/esm/apiVersion.js.map +1 -1
  969. package/esm/net/WorkloadIdentityTokenTransport.d.ts +27 -0
  970. package/esm/net/WorkloadIdentityTokenTransport.js +49 -0
  971. package/esm/net/WorkloadIdentityTokenTransport.js.map +1 -0
  972. package/esm/resources/AccountLinks.d.ts +5 -1
  973. package/esm/resources/AccountNotices.d.ts +140 -0
  974. package/esm/resources/AccountNotices.js +25 -0
  975. package/esm/resources/AccountNotices.js.map +1 -0
  976. package/esm/resources/AccountSessions.d.ts +729 -8
  977. package/esm/resources/AccountSessions.js.map +1 -1
  978. package/esm/resources/AccountSignals.d.ts +111 -0
  979. package/esm/resources/AccountSignals.js +3 -0
  980. package/esm/resources/AccountSignals.js.map +1 -0
  981. package/esm/resources/Accounts.d.ts +871 -3
  982. package/esm/resources/Accounts.js +47 -0
  983. package/esm/resources/Accounts.js.map +1 -1
  984. package/esm/resources/ApplicationFees.d.ts +28 -1
  985. package/esm/resources/Apps/Installs.d.ts +1 -1
  986. package/esm/resources/Apps/Installs.js +1 -1
  987. package/esm/resources/Balance.d.ts +205 -0
  988. package/esm/resources/BalanceSettings.d.ts +26 -0
  989. package/esm/resources/BalanceTransactions.d.ts +1 -1
  990. package/esm/resources/BalanceTransfers.d.ts +160 -0
  991. package/esm/resources/BalanceTransfers.js +11 -0
  992. package/esm/resources/BalanceTransfers.js.map +1 -0
  993. package/esm/resources/BankAccounts.d.ts +16 -2
  994. package/esm/resources/Billing/AlertNotifications.d.ts +79 -0
  995. package/esm/resources/Billing/AlertNotifications.js +3 -0
  996. package/esm/resources/Billing/AlertNotifications.js.map +1 -0
  997. package/esm/resources/Billing/AlertRecovereds.d.ts +56 -0
  998. package/esm/resources/Billing/AlertRecovereds.js +3 -0
  999. package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
  1000. package/esm/resources/Billing/AlertTriggereds.d.ts +59 -1
  1001. package/esm/resources/Billing/Alerts.d.ts +462 -5
  1002. package/esm/resources/Billing/Alerts.js +329 -5
  1003. package/esm/resources/Billing/Alerts.js.map +1 -1
  1004. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +89 -0
  1005. package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
  1006. package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  1007. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  1008. package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
  1009. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  1010. package/esm/resources/Billing/Analytics/index.d.ts +15 -0
  1011. package/esm/resources/Billing/Analytics/index.js +9 -0
  1012. package/esm/resources/Billing/Analytics/index.js.map +1 -0
  1013. package/esm/resources/Billing/CreditBalanceSummary.d.ts +136 -3
  1014. package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
  1015. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  1016. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  1017. package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
  1018. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  1019. package/esm/resources/Billing/CreditGrants.d.ts +105 -3
  1020. package/esm/resources/Billing/CreditGrants.js +134 -5
  1021. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  1022. package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
  1023. package/esm/resources/Billing/Meters.d.ts +31 -0
  1024. package/esm/resources/Billing/index.d.ts +10 -0
  1025. package/esm/resources/Billing/index.js +2 -0
  1026. package/esm/resources/Billing/index.js.map +1 -1
  1027. package/esm/resources/Capabilities.d.ts +39 -2
  1028. package/esm/resources/Capital/FinancingOffers.d.ts +217 -0
  1029. package/esm/resources/Capital/FinancingOffers.js +26 -0
  1030. package/esm/resources/Capital/FinancingOffers.js.map +1 -0
  1031. package/esm/resources/Capital/FinancingSummary.d.ts +123 -0
  1032. package/esm/resources/Capital/FinancingSummary.js +11 -0
  1033. package/esm/resources/Capital/FinancingSummary.js.map +1 -0
  1034. package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
  1035. package/esm/resources/Capital/FinancingTransactions.js +20 -0
  1036. package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
  1037. package/esm/resources/Capital/index.d.ts +25 -0
  1038. package/esm/resources/Capital/index.js +13 -0
  1039. package/esm/resources/Capital/index.js.map +1 -0
  1040. package/esm/resources/Cards.d.ts +28 -0
  1041. package/esm/resources/Charges.d.ts +3783 -94
  1042. package/esm/resources/Charges.js.map +1 -1
  1043. package/esm/resources/Checkout/Sessions.d.ts +2287 -79
  1044. package/esm/resources/Checkout/Sessions.js +668 -12
  1045. package/esm/resources/Checkout/Sessions.js.map +1 -1
  1046. package/esm/resources/Checkout/index.d.ts +1 -0
  1047. package/esm/resources/ConfirmationTokens.d.ts +201 -1
  1048. package/esm/resources/ConfirmationTokens.js.map +1 -1
  1049. package/esm/resources/Coupons.d.ts +128 -2
  1050. package/esm/resources/Coupons.js +41 -0
  1051. package/esm/resources/Coupons.js.map +1 -1
  1052. package/esm/resources/CreditNoteLineItems.d.ts +15 -1
  1053. package/esm/resources/CreditNotes.d.ts +7 -1
  1054. package/esm/resources/CreditNotes.js +13 -0
  1055. package/esm/resources/CreditNotes.js.map +1 -1
  1056. package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
  1057. package/esm/resources/Crypto/CustomerConsumerWallets.js +3 -0
  1058. package/esm/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
  1059. package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
  1060. package/esm/resources/Crypto/CustomerPaymentTokens.js +3 -0
  1061. package/esm/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
  1062. package/esm/resources/Crypto/Customers.d.ts +111 -0
  1063. package/esm/resources/Crypto/Customers.js +27 -0
  1064. package/esm/resources/Crypto/Customers.js.map +1 -0
  1065. package/esm/resources/Crypto/DepositAddresses.d.ts +128 -0
  1066. package/esm/resources/Crypto/DepositAddresses.js +27 -0
  1067. package/esm/resources/Crypto/DepositAddresses.js.map +1 -0
  1068. package/esm/resources/Crypto/OnrampSessions.d.ts +425 -0
  1069. package/esm/resources/Crypto/OnrampSessions.js +43 -0
  1070. package/esm/resources/Crypto/OnrampSessions.js.map +1 -0
  1071. package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
  1072. package/esm/resources/Crypto/OnrampTransactionLimits.js +11 -0
  1073. package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
  1074. package/esm/resources/Crypto/index.d.ts +41 -0
  1075. package/esm/resources/Crypto/index.js +15 -0
  1076. package/esm/resources/Crypto/index.js.map +1 -0
  1077. package/esm/resources/CustomerCashBalanceTransactions.d.ts +15 -0
  1078. package/esm/resources/CustomerSessions.d.ts +82 -0
  1079. package/esm/resources/CustomerSessions.js +13 -0
  1080. package/esm/resources/CustomerSessions.js.map +1 -1
  1081. package/esm/resources/CustomerTaxExemptions.d.ts +107 -0
  1082. package/esm/resources/CustomerTaxExemptions.js +3 -0
  1083. package/esm/resources/CustomerTaxExemptions.js.map +1 -0
  1084. package/esm/resources/Customers.d.ts +334 -1
  1085. package/esm/resources/Customers.js +221 -0
  1086. package/esm/resources/Customers.js.map +1 -1
  1087. package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
  1088. package/esm/resources/DelegatedCheckout/OrderEvents.js +3 -0
  1089. package/esm/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
  1090. package/esm/resources/DelegatedCheckout/Orders.d.ts +159 -0
  1091. package/esm/resources/DelegatedCheckout/Orders.js +11 -0
  1092. package/esm/resources/DelegatedCheckout/Orders.js.map +1 -0
  1093. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1427 -0
  1094. package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
  1095. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  1096. package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
  1097. package/esm/resources/DelegatedCheckout/index.js +11 -0
  1098. package/esm/resources/DelegatedCheckout/index.js.map +1 -0
  1099. package/esm/resources/Discounts.d.ts +19 -0
  1100. package/esm/resources/Disputes.d.ts +29 -1
  1101. package/esm/resources/Disputes.js +14 -0
  1102. package/esm/resources/Disputes.js.map +1 -1
  1103. package/esm/resources/Events.d.ts +640 -3
  1104. package/esm/resources/ExternalAccounts.d.ts +212 -1
  1105. package/esm/resources/ExternalAccounts.js +42 -1
  1106. package/esm/resources/ExternalAccounts.js.map +1 -1
  1107. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  1108. package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
  1109. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  1110. package/esm/resources/FinancialConnections/Accounts.d.ts +105 -4
  1111. package/esm/resources/FinancialConnections/Accounts.js +8 -0
  1112. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  1113. package/esm/resources/FinancialConnections/Authorizations.d.ts +46 -1
  1114. package/esm/resources/FinancialConnections/Authorizations.js +9 -1
  1115. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
  1116. package/esm/resources/FinancialConnections/Consents.d.ts +113 -0
  1117. package/esm/resources/FinancialConnections/Consents.js +17 -0
  1118. package/esm/resources/FinancialConnections/Consents.js.map +1 -0
  1119. package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
  1120. package/esm/resources/FinancialConnections/Institutions.js +19 -0
  1121. package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
  1122. package/esm/resources/FinancialConnections/Sessions.d.ts +134 -9
  1123. package/esm/resources/FinancialConnections/Transactions.d.ts +70 -0
  1124. package/esm/resources/FinancialConnections/index.d.ts +27 -9
  1125. package/esm/resources/FinancialConnections/index.js +6 -0
  1126. package/esm/resources/FinancialConnections/index.js.map +1 -1
  1127. package/esm/resources/FxQuotes.d.ts +216 -0
  1128. package/esm/resources/FxQuotes.js +25 -0
  1129. package/esm/resources/FxQuotes.js.map +1 -0
  1130. package/esm/resources/GiftCardOperations.d.ts +249 -0
  1131. package/esm/resources/GiftCardOperations.js +11 -0
  1132. package/esm/resources/GiftCardOperations.js.map +1 -0
  1133. package/esm/resources/GiftCards.d.ts +188 -0
  1134. package/esm/resources/GiftCards.js +47 -0
  1135. package/esm/resources/GiftCards.js.map +1 -0
  1136. package/esm/resources/Identity/BlocklistEntries.d.ts +155 -0
  1137. package/esm/resources/Identity/BlocklistEntries.js +50 -0
  1138. package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
  1139. package/esm/resources/Identity/VerificationReports.d.ts +203 -2
  1140. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  1141. package/esm/resources/Identity/VerificationSessions.d.ts +45 -1
  1142. package/esm/resources/Identity/index.d.ts +18 -10
  1143. package/esm/resources/Identity/index.js +2 -0
  1144. package/esm/resources/Identity/index.js.map +1 -1
  1145. package/esm/resources/InvoiceItems.d.ts +215 -2
  1146. package/esm/resources/InvoiceItems.js +41 -0
  1147. package/esm/resources/InvoiceItems.js.map +1 -1
  1148. package/esm/resources/InvoiceLineItems.d.ts +174 -4
  1149. package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
  1150. package/esm/resources/InvoiceRenderingTemplates.js +28 -0
  1151. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  1152. package/esm/resources/Invoices.d.ts +2167 -73
  1153. package/esm/resources/Invoices.js +221 -0
  1154. package/esm/resources/Invoices.js.map +1 -1
  1155. package/esm/resources/Issuing/Authorizations.d.ts +821 -1
  1156. package/esm/resources/Issuing/Authorizations.js +177 -0
  1157. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  1158. package/esm/resources/Issuing/Cardholders.d.ts +22 -4
  1159. package/esm/resources/Issuing/Cards.d.ts +141 -2
  1160. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
  1161. package/esm/resources/Issuing/CreditUnderwritingRecords.js +49 -0
  1162. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  1163. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
  1164. package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
  1165. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  1166. package/esm/resources/Issuing/Disputes.d.ts +246 -0
  1167. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  1168. package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
  1169. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  1170. package/esm/resources/Issuing/Programs.d.ts +95 -0
  1171. package/esm/resources/Issuing/Programs.js +31 -0
  1172. package/esm/resources/Issuing/Programs.js.map +1 -0
  1173. package/esm/resources/Issuing/Settlements.d.ts +83 -0
  1174. package/esm/resources/Issuing/Settlements.js +3 -0
  1175. package/esm/resources/Issuing/Settlements.js.map +1 -0
  1176. package/esm/resources/Issuing/Tokens.d.ts +26 -0
  1177. package/esm/resources/Issuing/Transactions.d.ts +259 -0
  1178. package/esm/resources/Issuing/Transactions.js +48 -0
  1179. package/esm/resources/Issuing/Transactions.js.map +1 -1
  1180. package/esm/resources/Issuing/index.d.ts +56 -22
  1181. package/esm/resources/Issuing/index.js +8 -0
  1182. package/esm/resources/Issuing/index.js.map +1 -1
  1183. package/esm/resources/LineItems.d.ts +29 -2
  1184. package/esm/resources/Mandates.d.ts +36 -2
  1185. package/esm/resources/Mandates.js +8 -0
  1186. package/esm/resources/Mandates.js.map +1 -1
  1187. package/esm/resources/Margins.d.ts +115 -0
  1188. package/esm/resources/Margins.js +31 -0
  1189. package/esm/resources/Margins.js.map +1 -0
  1190. package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  1191. package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
  1192. package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
  1193. package/esm/resources/Orchestration/index.d.ts +12 -0
  1194. package/esm/resources/Orchestration/index.js +9 -0
  1195. package/esm/resources/Orchestration/index.js.map +1 -0
  1196. package/esm/resources/Orders.d.ts +4776 -0
  1197. package/esm/resources/Orders.js +453 -0
  1198. package/esm/resources/Orders.js.map +1 -0
  1199. package/esm/resources/PaymentAttemptRecords.d.ts +908 -2
  1200. package/esm/resources/PaymentAttemptRecords.js +48 -0
  1201. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  1202. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +104 -0
  1203. package/esm/resources/PaymentIntents.d.ts +19847 -4859
  1204. package/esm/resources/PaymentIntents.js +46 -0
  1205. package/esm/resources/PaymentIntents.js.map +1 -1
  1206. package/esm/resources/PaymentLinks.d.ts +73 -12
  1207. package/esm/resources/PaymentLocationCapabilities.d.ts +124 -0
  1208. package/esm/resources/PaymentLocationCapabilities.js +25 -0
  1209. package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
  1210. package/esm/resources/PaymentLocations.d.ts +178 -0
  1211. package/esm/resources/PaymentLocations.js +37 -0
  1212. package/esm/resources/PaymentLocations.js.map +1 -0
  1213. package/esm/resources/PaymentMethodBalances.d.ts +46 -0
  1214. package/esm/resources/PaymentMethodBalances.js +3 -0
  1215. package/esm/resources/PaymentMethodBalances.js.map +1 -0
  1216. package/esm/resources/PaymentMethodConfigurations.d.ts +420 -0
  1217. package/esm/resources/PaymentMethods.d.ts +423 -3
  1218. package/esm/resources/PaymentMethods.js +20 -0
  1219. package/esm/resources/PaymentMethods.js.map +1 -1
  1220. package/esm/resources/PaymentPlans.d.ts +427 -0
  1221. package/esm/resources/PaymentPlans.js +31 -0
  1222. package/esm/resources/PaymentPlans.js.map +1 -0
  1223. package/esm/resources/PaymentRecords.d.ts +906 -20
  1224. package/esm/resources/PaymentRecords.js +18 -0
  1225. package/esm/resources/PaymentRecords.js.map +1 -1
  1226. package/esm/resources/Payouts.d.ts +30 -0
  1227. package/esm/resources/Persons.d.ts +39 -2
  1228. package/esm/resources/Prices.d.ts +60 -0
  1229. package/esm/resources/Prices.js +27 -0
  1230. package/esm/resources/Prices.js.map +1 -1
  1231. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
  1232. package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
  1233. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  1234. package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
  1235. package/esm/resources/Privacy/RedactionJobs.js +69 -0
  1236. package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
  1237. package/esm/resources/Privacy/index.d.ts +22 -0
  1238. package/esm/resources/Privacy/index.js +9 -0
  1239. package/esm/resources/Privacy/index.js.map +1 -0
  1240. package/esm/resources/ProductCatalog/TrialOffers.d.ts +2 -2
  1241. package/esm/resources/Products.d.ts +156 -0
  1242. package/esm/resources/Products.js +69 -0
  1243. package/esm/resources/Products.js.map +1 -1
  1244. package/esm/resources/Profiles.d.ts +68 -0
  1245. package/esm/resources/Profiles.js +3 -0
  1246. package/esm/resources/Profiles.js.map +1 -0
  1247. package/esm/resources/PromotionCodes.d.ts +12 -0
  1248. package/esm/resources/PromotionCodes.js +27 -0
  1249. package/esm/resources/PromotionCodes.js.map +1 -1
  1250. package/esm/resources/QuoteLines.d.ts +684 -0
  1251. package/esm/resources/QuoteLines.js +3 -0
  1252. package/esm/resources/QuoteLines.js.map +1 -0
  1253. package/esm/resources/QuotePreviewInvoices.d.ts +1291 -0
  1254. package/esm/resources/QuotePreviewInvoices.js +3 -0
  1255. package/esm/resources/QuotePreviewInvoices.js.map +1 -0
  1256. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +1134 -0
  1257. package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
  1258. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  1259. package/esm/resources/Quotes.d.ts +3548 -254
  1260. package/esm/resources/Quotes.js +1184 -16
  1261. package/esm/resources/Quotes.js.map +1 -1
  1262. package/esm/resources/Radar/AccountEvaluations.d.ts +309 -0
  1263. package/esm/resources/Radar/AccountEvaluations.js +23 -0
  1264. package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
  1265. package/esm/resources/Radar/BillingEvaluations.d.ts +374 -0
  1266. package/esm/resources/Radar/BillingEvaluations.js +11 -0
  1267. package/esm/resources/Radar/BillingEvaluations.js.map +1 -0
  1268. package/esm/resources/Radar/CustomerEvaluations.d.ts +245 -0
  1269. package/esm/resources/Radar/CustomerEvaluations.js +23 -0
  1270. package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
  1271. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
  1272. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
  1273. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  1274. package/esm/resources/Radar/PaymentEvaluations.d.ts +234 -5
  1275. package/esm/resources/Radar/PaymentEvaluations.js.map +1 -1
  1276. package/esm/resources/Radar/Rules.d.ts +18 -0
  1277. package/esm/resources/Radar/Rules.js +3 -0
  1278. package/esm/resources/Radar/Rules.js.map +1 -0
  1279. package/esm/resources/Radar/ValueListItems.d.ts +39 -1
  1280. package/esm/resources/Radar/ValueListItems.js +13 -0
  1281. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  1282. package/esm/resources/Radar/index.d.ts +44 -16
  1283. package/esm/resources/Radar/index.js +8 -0
  1284. package/esm/resources/Radar/index.js.map +1 -1
  1285. package/esm/resources/Refunds.d.ts +113 -0
  1286. package/esm/resources/Refunds.js +27 -0
  1287. package/esm/resources/Refunds.js.map +1 -1
  1288. package/esm/resources/Reporting/ReportRuns.d.ts +4 -0
  1289. package/esm/resources/Reserve/Holds.d.ts +53 -1
  1290. package/esm/resources/Reserve/Holds.js +17 -1
  1291. package/esm/resources/Reserve/Holds.js.map +1 -1
  1292. package/esm/resources/Reserve/Plans.d.ts +41 -1
  1293. package/esm/resources/Reserve/Plans.js +17 -1
  1294. package/esm/resources/Reserve/Plans.js.map +1 -1
  1295. package/esm/resources/Reserve/Releases.d.ts +41 -1
  1296. package/esm/resources/Reserve/Releases.js +17 -1
  1297. package/esm/resources/Reserve/Releases.js.map +1 -1
  1298. package/esm/resources/Reserve/index.d.ts +18 -6
  1299. package/esm/resources/Reserve/index.js +9 -0
  1300. package/esm/resources/Reserve/index.js.map +1 -1
  1301. package/esm/resources/Risk/Forms.d.ts +380 -0
  1302. package/esm/resources/Risk/Forms.js +34 -0
  1303. package/esm/resources/Risk/Forms.js.map +1 -0
  1304. package/esm/resources/Risk/index.d.ts +13 -0
  1305. package/esm/resources/Risk/index.js +9 -0
  1306. package/esm/resources/Risk/index.js.map +1 -0
  1307. package/esm/resources/RiskSignals.d.ts +10 -0
  1308. package/esm/resources/RiskSignals.js +3 -0
  1309. package/esm/resources/RiskSignals.js.map +1 -0
  1310. package/esm/resources/SetupAttempts.d.ts +39 -1
  1311. package/esm/resources/SetupAttempts.js.map +1 -1
  1312. package/esm/resources/SetupIntents.d.ts +877 -16
  1313. package/esm/resources/SetupIntents.js.map +1 -1
  1314. package/esm/resources/SharedPayment/GrantedTokens.d.ts +442 -0
  1315. package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
  1316. package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
  1317. package/esm/resources/SharedPayment/IssuedTokens.d.ts +378 -0
  1318. package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
  1319. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
  1320. package/esm/resources/SharedPayment/index.d.ts +19 -0
  1321. package/esm/resources/SharedPayment/index.js +11 -0
  1322. package/esm/resources/SharedPayment/index.js.map +1 -0
  1323. package/esm/resources/Sources.d.ts +29 -1
  1324. package/esm/resources/SubscriptionItems.d.ts +236 -0
  1325. package/esm/resources/SubscriptionItems.js +41 -0
  1326. package/esm/resources/SubscriptionItems.js.map +1 -1
  1327. package/esm/resources/SubscriptionSchedules.d.ts +2007 -31
  1328. package/esm/resources/SubscriptionSchedules.js +61 -0
  1329. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  1330. package/esm/resources/Subscriptions.d.ts +910 -14
  1331. package/esm/resources/Subscriptions.js +186 -0
  1332. package/esm/resources/Subscriptions.js.map +1 -1
  1333. package/esm/resources/Tax/CalculationLineItems.d.ts +12 -1
  1334. package/esm/resources/Tax/Calculations.d.ts +43 -1
  1335. package/esm/resources/Tax/Certificates.d.ts +107 -0
  1336. package/esm/resources/Tax/Certificates.js +31 -0
  1337. package/esm/resources/Tax/Certificates.js.map +1 -0
  1338. package/esm/resources/Tax/FormCorrections.d.ts +29 -0
  1339. package/esm/resources/Tax/FormCorrections.js +3 -0
  1340. package/esm/resources/Tax/FormCorrections.js.map +1 -0
  1341. package/esm/resources/Tax/Forms.d.ts +973 -0
  1342. package/esm/resources/Tax/Forms.js +34 -0
  1343. package/esm/resources/Tax/Forms.js.map +1 -0
  1344. package/esm/resources/Tax/Registrations.d.ts +60 -4
  1345. package/esm/resources/Tax/Registrations.js +27 -0
  1346. package/esm/resources/Tax/Registrations.js.map +1 -1
  1347. package/esm/resources/Tax/Settings.d.ts +8 -0
  1348. package/esm/resources/Tax/Settings.js +13 -0
  1349. package/esm/resources/Tax/Settings.js.map +1 -1
  1350. package/esm/resources/Tax/Transactions.d.ts +12 -0
  1351. package/esm/resources/Tax/Transactions.js +13 -0
  1352. package/esm/resources/Tax/Transactions.js.map +1 -1
  1353. package/esm/resources/Tax/index.d.ts +41 -17
  1354. package/esm/resources/Tax/index.js +4 -0
  1355. package/esm/resources/Tax/index.js.map +1 -1
  1356. package/esm/resources/TaxFunds.d.ts +174 -0
  1357. package/esm/resources/TaxFunds.js +19 -0
  1358. package/esm/resources/TaxFunds.js.map +1 -0
  1359. package/esm/resources/TaxIds.d.ts +6 -0
  1360. package/esm/resources/TaxIds.js +13 -0
  1361. package/esm/resources/TaxIds.js.map +1 -1
  1362. package/esm/resources/TaxRates.d.ts +12 -0
  1363. package/esm/resources/TaxRates.js +27 -0
  1364. package/esm/resources/TaxRates.js.map +1 -1
  1365. package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
  1366. package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
  1367. package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
  1368. package/esm/resources/Terminal/Readers.d.ts +235 -2
  1369. package/esm/resources/Terminal/Readers.js +24 -0
  1370. package/esm/resources/Terminal/Readers.js.map +1 -1
  1371. package/esm/resources/Terminal/index.d.ts +9 -0
  1372. package/esm/resources/Terminal/index.js +2 -0
  1373. package/esm/resources/Terminal/index.js.map +1 -1
  1374. package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +82 -0
  1375. package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
  1376. package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  1377. package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
  1378. package/esm/resources/TestHelpers/Capital/index.js +9 -0
  1379. package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
  1380. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +165 -1
  1381. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +95 -0
  1382. package/esm/resources/TestHelpers/Issuing/Authorizations.js +245 -0
  1383. package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  1384. package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
  1385. package/esm/resources/TestHelpers/Issuing/Disputes.js +35 -0
  1386. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
  1387. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +48 -0
  1388. package/esm/resources/TestHelpers/Issuing/Transactions.js +48 -0
  1389. package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  1390. package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
  1391. package/esm/resources/TestHelpers/Issuing/index.js +2 -0
  1392. package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
  1393. package/esm/resources/TestHelpers/PaymentIntents.d.ts +38 -0
  1394. package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
  1395. package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
  1396. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +92 -0
  1397. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
  1398. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  1399. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  1400. package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
  1401. package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  1402. package/esm/resources/TestHelpers/Terminal/Readers.d.ts +18 -1
  1403. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  1404. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  1405. package/esm/resources/TestHelpers/index.d.ts +14 -6
  1406. package/esm/resources/TestHelpers/index.js +6 -0
  1407. package/esm/resources/TestHelpers/index.js.map +1 -1
  1408. package/esm/resources/Tokens.d.ts +76 -0
  1409. package/esm/resources/Transfers.d.ts +12 -0
  1410. package/esm/resources/Transfers.js.map +1 -1
  1411. package/esm/resources/TransitBalances.d.ts +25 -0
  1412. package/esm/resources/TransitBalances.js +3 -0
  1413. package/esm/resources/TransitBalances.js.map +1 -0
  1414. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  1415. package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
  1416. package/esm/resources/Treasury/InboundTransfers.d.ts +60 -0
  1417. package/esm/resources/Treasury/OutboundPayments.d.ts +48 -0
  1418. package/esm/resources/Treasury/OutboundTransfers.d.ts +66 -0
  1419. package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
  1420. package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
  1421. package/esm/resources/Treasury/TransactionEntries.js +76 -0
  1422. package/esm/resources/Treasury/TransactionEntries.js.map +1 -1
  1423. package/esm/resources/Treasury/Transactions.js +82 -0
  1424. package/esm/resources/Treasury/Transactions.js.map +1 -1
  1425. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
  1426. package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
  1427. package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  1428. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  1429. package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
  1430. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  1431. package/esm/resources/V2/Billing/BillSettings.d.ts +281 -0
  1432. package/esm/resources/V2/Billing/BillSettings.js +37 -0
  1433. package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
  1434. package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +87 -0
  1435. package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
  1436. package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  1437. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  1438. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
  1439. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  1440. package/esm/resources/V2/Billing/Cadences.d.ts +1022 -0
  1441. package/esm/resources/V2/Billing/Cadences.js +260 -0
  1442. package/esm/resources/V2/Billing/Cadences.js.map +1 -0
  1443. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
  1444. package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
  1445. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  1446. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  1447. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
  1448. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  1449. package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  1450. package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
  1451. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
  1452. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +50 -0
  1453. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +3 -0
  1454. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
  1455. package/esm/resources/V2/Billing/ContractTermQuantityChanges.d.ts +35 -0
  1456. package/esm/resources/V2/Billing/ContractTermQuantityChanges.js +3 -0
  1457. package/esm/resources/V2/Billing/ContractTermQuantityChanges.js.map +1 -0
  1458. package/esm/resources/V2/Billing/ContractTerms.d.ts +216 -0
  1459. package/esm/resources/V2/Billing/ContractTerms.js +3 -0
  1460. package/esm/resources/V2/Billing/ContractTerms.js.map +1 -0
  1461. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
  1462. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +25 -0
  1463. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
  1464. package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
  1465. package/esm/resources/V2/Billing/Contracts/PricingLines.js +11 -0
  1466. package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
  1467. package/esm/resources/V2/Billing/Contracts/Terms/QuantityChanges.d.ts +23 -0
  1468. package/esm/resources/V2/Billing/Contracts/Terms/QuantityChanges.js +25 -0
  1469. package/esm/resources/V2/Billing/Contracts/Terms/QuantityChanges.js.map +1 -0
  1470. package/esm/resources/V2/Billing/Contracts/Terms.d.ts +46 -0
  1471. package/esm/resources/V2/Billing/Contracts/Terms.js +78 -0
  1472. package/esm/resources/V2/Billing/Contracts/Terms.js.map +1 -0
  1473. package/esm/resources/V2/Billing/Contracts.d.ts +2762 -0
  1474. package/esm/resources/V2/Billing/Contracts.js +653 -0
  1475. package/esm/resources/V2/Billing/Contracts.js.map +1 -0
  1476. package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  1477. package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
  1478. package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  1479. package/esm/resources/V2/Billing/IntentActions.d.ts +609 -0
  1480. package/esm/resources/V2/Billing/IntentActions.js +3 -0
  1481. package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
  1482. package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  1483. package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
  1484. package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
  1485. package/esm/resources/V2/Billing/Intents.d.ts +1267 -0
  1486. package/esm/resources/V2/Billing/Intents.js +83 -0
  1487. package/esm/resources/V2/Billing/Intents.js.map +1 -0
  1488. package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
  1489. package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
  1490. package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  1491. package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  1492. package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
  1493. package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  1494. package/esm/resources/V2/Billing/LicenseFees.d.ts +360 -0
  1495. package/esm/resources/V2/Billing/LicenseFees.js +144 -0
  1496. package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
  1497. package/esm/resources/V2/Billing/LicensedItems.d.ts +170 -0
  1498. package/esm/resources/V2/Billing/LicensedItems.js +31 -0
  1499. package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
  1500. package/esm/resources/V2/Billing/MeteredItems.d.ts +218 -0
  1501. package/esm/resources/V2/Billing/MeteredItems.js +31 -0
  1502. package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
  1503. package/esm/resources/V2/Billing/OneTimeItems.d.ts +170 -0
  1504. package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
  1505. package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
  1506. package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
  1507. package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
  1508. package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  1509. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +636 -0
  1510. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
  1511. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  1512. package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  1513. package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
  1514. package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  1515. package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  1516. package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
  1517. package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  1518. package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  1519. package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
  1520. package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  1521. package/esm/resources/V2/Billing/PricingPlans.d.ts +169 -0
  1522. package/esm/resources/V2/Billing/PricingPlans.js +39 -0
  1523. package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
  1524. package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
  1525. package/esm/resources/V2/Billing/Profiles.js +31 -0
  1526. package/esm/resources/V2/Billing/Profiles.js.map +1 -0
  1527. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  1528. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
  1529. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  1530. package/esm/resources/V2/Billing/RateCardRates.d.ts +111 -0
  1531. package/esm/resources/V2/Billing/RateCardRates.js +3 -0
  1532. package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
  1533. package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +218 -0
  1534. package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
  1535. package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  1536. package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  1537. package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
  1538. package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
  1539. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  1540. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
  1541. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  1542. package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  1543. package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
  1544. package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  1545. package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  1546. package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
  1547. package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  1548. package/esm/resources/V2/Billing/RateCards.d.ts +336 -0
  1549. package/esm/resources/V2/Billing/RateCards.js +72 -0
  1550. package/esm/resources/V2/Billing/RateCards.js.map +1 -0
  1551. package/esm/resources/V2/Billing/ServiceActions.d.ts +536 -0
  1552. package/esm/resources/V2/Billing/ServiceActions.js +158 -0
  1553. package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
  1554. package/esm/resources/V2/Billing/index.d.ts +181 -6
  1555. package/esm/resources/V2/Billing/index.js +32 -0
  1556. package/esm/resources/V2/Billing/index.js.map +1 -1
  1557. package/esm/resources/V2/Core/AccountEvaluations.d.ts +167 -0
  1558. package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
  1559. package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
  1560. package/esm/resources/V2/Core/AccountLinks.d.ts +138 -2
  1561. package/esm/resources/V2/Core/AccountPersons.d.ts +5 -2
  1562. package/esm/resources/V2/Core/AccountSessions.d.ts +1649 -0
  1563. package/esm/resources/V2/Core/AccountSessions.js +12 -0
  1564. package/esm/resources/V2/Core/AccountSessions.js.map +1 -0
  1565. package/esm/resources/V2/Core/AccountTokens.d.ts +242 -4
  1566. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +5 -2
  1567. package/esm/resources/V2/Core/Accounts/Persons.d.ts +10 -4
  1568. package/esm/resources/V2/Core/Accounts.d.ts +22332 -1163
  1569. package/esm/resources/V2/Core/Accounts.js +23373 -30
  1570. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  1571. package/esm/resources/V2/Core/ApprovalRequests.d.ts +410 -0
  1572. package/esm/resources/V2/Core/ApprovalRequests.js +35 -0
  1573. package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
  1574. package/esm/resources/V2/Core/BatchJobs.d.ts +392 -0
  1575. package/esm/resources/V2/Core/BatchJobs.js +248 -0
  1576. package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
  1577. package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
  1578. package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
  1579. package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  1580. package/esm/resources/V2/Core/ConnectionSessions.d.ts +86 -0
  1581. package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
  1582. package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
  1583. package/esm/resources/V2/Core/Events.d.ts +6062 -593
  1584. package/esm/resources/V2/Core/FeeBatches.d.ts +228 -0
  1585. package/esm/resources/V2/Core/FeeBatches.js +19 -0
  1586. package/esm/resources/V2/Core/FeeBatches.js.map +1 -0
  1587. package/esm/resources/V2/Core/FeeEntries.d.ts +196 -0
  1588. package/esm/resources/V2/Core/FeeEntries.js +19 -0
  1589. package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
  1590. package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +426 -0
  1591. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +3 -0
  1592. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
  1593. package/esm/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
  1594. package/esm/resources/V2/Core/Health/Alerts/History.js +97 -0
  1595. package/esm/resources/V2/Core/Health/Alerts/History.js.map +1 -0
  1596. package/esm/resources/V2/Core/Health/Alerts.d.ts +540 -0
  1597. package/esm/resources/V2/Core/Health/Alerts.js +178 -0
  1598. package/esm/resources/V2/Core/Health/Alerts.js.map +1 -0
  1599. package/esm/resources/V2/Core/Health/index.d.ts +16 -0
  1600. package/esm/resources/V2/Core/Health/index.js +9 -0
  1601. package/esm/resources/V2/Core/Health/index.js.map +1 -0
  1602. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
  1603. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
  1604. package/esm/resources/V2/Core/Vault/NetworkTokens.d.ts +199 -0
  1605. package/esm/resources/V2/Core/Vault/NetworkTokens.js +38 -0
  1606. package/esm/resources/V2/Core/Vault/NetworkTokens.js.map +1 -0
  1607. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
  1608. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
  1609. package/esm/resources/V2/Core/Vault/index.d.ts +17 -9
  1610. package/esm/resources/V2/Core/Vault/index.js +2 -0
  1611. package/esm/resources/V2/Core/Vault/index.js.map +1 -1
  1612. package/esm/resources/V2/Core/index.d.ts +69 -14
  1613. package/esm/resources/V2/Core/index.js +18 -0
  1614. package/esm/resources/V2/Core/index.js.map +1 -1
  1615. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -0
  1616. package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
  1617. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  1618. package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
  1619. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
  1620. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  1621. package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
  1622. package/esm/resources/V2/Data/Analytics/index.js +9 -0
  1623. package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
  1624. package/esm/resources/V2/Data/Operations.d.ts +37 -0
  1625. package/esm/resources/V2/Data/Operations.js +36 -0
  1626. package/esm/resources/V2/Data/Operations.js.map +1 -0
  1627. package/esm/resources/V2/Data/QueryRuns.d.ts +299 -0
  1628. package/esm/resources/V2/Data/QueryRuns.js +47 -0
  1629. package/esm/resources/V2/Data/QueryRuns.js.map +1 -0
  1630. package/esm/resources/V2/Data/ReportRuns.d.ts +303 -0
  1631. package/esm/resources/V2/Data/ReportRuns.js +49 -0
  1632. package/esm/resources/V2/Data/ReportRuns.js.map +1 -0
  1633. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +176 -0
  1634. package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
  1635. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  1636. package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
  1637. package/esm/resources/V2/Data/Reporting/index.js +9 -0
  1638. package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
  1639. package/esm/resources/V2/Data/Reports.d.ts +140 -0
  1640. package/esm/resources/V2/Data/Reports.js +21 -0
  1641. package/esm/resources/V2/Data/Reports.js.map +1 -0
  1642. package/esm/resources/V2/Data/Schemas.d.ts +161 -0
  1643. package/esm/resources/V2/Data/Schemas.js +19 -0
  1644. package/esm/resources/V2/Data/Schemas.js.map +1 -0
  1645. package/esm/resources/V2/Data/SearchResultLists.d.ts +348 -0
  1646. package/esm/resources/V2/Data/SearchResultLists.js +3 -0
  1647. package/esm/resources/V2/Data/SearchResultLists.js.map +1 -0
  1648. package/esm/resources/V2/Data/index.d.ts +42 -0
  1649. package/esm/resources/V2/Data/index.js +21 -0
  1650. package/esm/resources/V2/Data/index.js.map +1 -0
  1651. package/esm/resources/V2/Extend/ObjectDefinitionVersions.d.ts +222 -0
  1652. package/esm/resources/V2/Extend/ObjectDefinitionVersions.js +3 -0
  1653. package/esm/resources/V2/Extend/ObjectDefinitionVersions.js.map +1 -0
  1654. package/esm/resources/V2/Extend/ObjectDefinitions/Versions.d.ts +33 -0
  1655. package/esm/resources/V2/Extend/ObjectDefinitions/Versions.js +19 -0
  1656. package/esm/resources/V2/Extend/ObjectDefinitions/Versions.js.map +1 -0
  1657. package/esm/resources/V2/Extend/ObjectDefinitions.d.ts +63 -0
  1658. package/esm/resources/V2/Extend/ObjectDefinitions.js +25 -0
  1659. package/esm/resources/V2/Extend/ObjectDefinitions.js.map +1 -0
  1660. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
  1661. package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
  1662. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  1663. package/esm/resources/V2/Extend/Workflows.d.ts +120 -0
  1664. package/esm/resources/V2/Extend/Workflows.js +26 -0
  1665. package/esm/resources/V2/Extend/Workflows.js.map +1 -0
  1666. package/esm/resources/V2/Extend/index.d.ts +29 -0
  1667. package/esm/resources/V2/Extend/index.js +13 -0
  1668. package/esm/resources/V2/Extend/index.js.map +1 -0
  1669. package/esm/resources/V2/Iam/ActivityLogs.d.ts +457 -0
  1670. package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
  1671. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
  1672. package/esm/resources/V2/Iam/ApiKeys.d.ts +306 -0
  1673. package/esm/resources/V2/Iam/ApiKeys.js +43 -0
  1674. package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
  1675. package/esm/resources/V2/Iam/index.d.ts +23 -0
  1676. package/esm/resources/V2/Iam/index.js +11 -0
  1677. package/esm/resources/V2/Iam/index.js.map +1 -0
  1678. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +44 -2
  1679. package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
  1680. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
  1681. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  1682. package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +173 -0
  1683. package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
  1684. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
  1685. package/esm/resources/V2/MoneyManagement/EarnedCreditSimulations.d.ts +18 -0
  1686. package/esm/resources/V2/MoneyManagement/EarnedCreditSimulations.js +3 -0
  1687. package/esm/resources/V2/MoneyManagement/EarnedCreditSimulations.js.map +1 -0
  1688. package/esm/resources/V2/MoneyManagement/EarnedCredits.d.ts +134 -0
  1689. package/esm/resources/V2/MoneyManagement/EarnedCredits.js +19 -0
  1690. package/esm/resources/V2/MoneyManagement/EarnedCredits.js.map +1 -0
  1691. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
  1692. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +3 -0
  1693. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
  1694. package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.d.ts +62 -0
  1695. package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js +3 -0
  1696. package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js.map +1 -0
  1697. package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExports.d.ts +50 -0
  1698. package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExports.js +3 -0
  1699. package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExports.js.map +1 -0
  1700. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
  1701. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
  1702. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
  1703. package/esm/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.d.ts +51 -0
  1704. package/esm/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js +18 -0
  1705. package/esm/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js.map +1 -0
  1706. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +437 -4
  1707. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +132 -2
  1708. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
  1709. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
  1710. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +3 -0
  1711. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
  1712. package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  1713. package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +3 -0
  1714. package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  1715. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +144 -6
  1716. package/esm/resources/V2/MoneyManagement/FundingIntents.d.ts +504 -0
  1717. package/esm/resources/V2/MoneyManagement/FundingIntents.js +49 -0
  1718. package/esm/resources/V2/MoneyManagement/FundingIntents.js.map +1 -0
  1719. package/esm/resources/V2/MoneyManagement/FundingSessions.d.ts +111 -0
  1720. package/esm/resources/V2/MoneyManagement/FundingSessions.js +11 -0
  1721. package/esm/resources/V2/MoneyManagement/FundingSessions.js.map +1 -0
  1722. package/esm/resources/V2/MoneyManagement/InboundFundings.d.ts +178 -0
  1723. package/esm/resources/V2/MoneyManagement/InboundFundings.js +19 -0
  1724. package/esm/resources/V2/MoneyManagement/InboundFundings.js.map +1 -0
  1725. package/esm/resources/V2/MoneyManagement/InboundTransferMandates.d.ts +265 -0
  1726. package/esm/resources/V2/MoneyManagement/InboundTransferMandates.js +35 -0
  1727. package/esm/resources/V2/MoneyManagement/InboundTransferMandates.js.map +1 -0
  1728. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +88 -2
  1729. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +374 -0
  1730. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +19 -0
  1731. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  1732. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +246 -6
  1733. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
  1734. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +143 -2
  1735. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +434 -0
  1736. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +36 -0
  1737. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  1738. package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +18 -6
  1739. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +125 -1
  1740. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
  1741. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
  1742. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +344 -6
  1743. package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +171 -0
  1744. package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js +25 -0
  1745. package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
  1746. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +373 -0
  1747. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
  1748. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  1749. package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
  1750. package/esm/resources/V2/MoneyManagement/RewardProgramEnrollments.d.ts +140 -0
  1751. package/esm/resources/V2/MoneyManagement/RewardProgramEnrollments.js +42 -0
  1752. package/esm/resources/V2/MoneyManagement/RewardProgramEnrollments.js.map +1 -0
  1753. package/esm/resources/V2/MoneyManagement/RewardProgramRules.d.ts +85 -0
  1754. package/esm/resources/V2/MoneyManagement/RewardProgramRules.js +3 -0
  1755. package/esm/resources/V2/MoneyManagement/RewardProgramRules.js.map +1 -0
  1756. package/esm/resources/V2/MoneyManagement/RewardPrograms/Rules.d.ts +205 -0
  1757. package/esm/resources/V2/MoneyManagement/RewardPrograms/Rules.js +173 -0
  1758. package/esm/resources/V2/MoneyManagement/RewardPrograms/Rules.js.map +1 -0
  1759. package/esm/resources/V2/MoneyManagement/RewardPrograms.d.ts +135 -0
  1760. package/esm/resources/V2/MoneyManagement/RewardPrograms.js +53 -0
  1761. package/esm/resources/V2/MoneyManagement/RewardPrograms.js.map +1 -0
  1762. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +43 -1
  1763. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +13 -0
  1764. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
  1765. package/esm/resources/V2/MoneyManagement/TestHelpers.d.ts +37 -0
  1766. package/esm/resources/V2/MoneyManagement/TestHelpers.js +17 -0
  1767. package/esm/resources/V2/MoneyManagement/TestHelpers.js.map +1 -0
  1768. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +140 -4
  1769. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +140 -4
  1770. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
  1771. package/esm/resources/V2/MoneyManagement/index.d.ts +175 -57
  1772. package/esm/resources/V2/MoneyManagement/index.js +28 -2
  1773. package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
  1774. package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
  1775. package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
  1776. package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
  1777. package/esm/resources/V2/Network/index.d.ts +13 -0
  1778. package/esm/resources/V2/Network/index.js +9 -0
  1779. package/esm/resources/V2/Network/index.js.map +1 -0
  1780. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
  1781. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
  1782. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  1783. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  1784. package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
  1785. package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  1786. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +736 -0
  1787. package/esm/resources/V2/Payments/OffSessionPayments.js +43 -0
  1788. package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  1789. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
  1790. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
  1791. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  1792. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  1793. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
  1794. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  1795. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +212 -0
  1796. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
  1797. package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  1798. package/esm/resources/V2/Payments/index.d.ts +30 -0
  1799. package/esm/resources/V2/Payments/index.js +11 -0
  1800. package/esm/resources/V2/Payments/index.js.map +1 -0
  1801. package/esm/resources/V2/Provisioning/Catalog/Providers.d.ts +33 -0
  1802. package/esm/resources/V2/Provisioning/Catalog/Providers.js +13 -0
  1803. package/esm/resources/V2/Provisioning/Catalog/Providers.js.map +1 -0
  1804. package/esm/resources/V2/Provisioning/Catalog/Services.d.ts +37 -0
  1805. package/esm/resources/V2/Provisioning/Catalog/Services.js +13 -0
  1806. package/esm/resources/V2/Provisioning/Catalog/Services.js.map +1 -0
  1807. package/esm/resources/V2/Provisioning/Catalog/index.d.ts +10 -0
  1808. package/esm/resources/V2/Provisioning/Catalog/index.js +11 -0
  1809. package/esm/resources/V2/Provisioning/Catalog/index.js.map +1 -0
  1810. package/esm/resources/V2/Provisioning/Eligibility.d.ts +33 -0
  1811. package/esm/resources/V2/Provisioning/Eligibility.js +12 -0
  1812. package/esm/resources/V2/Provisioning/Eligibility.js.map +1 -0
  1813. package/esm/resources/V2/Provisioning/PaymentMethodRequests.d.ts +79 -0
  1814. package/esm/resources/V2/Provisioning/PaymentMethodRequests.js +21 -0
  1815. package/esm/resources/V2/Provisioning/PaymentMethodRequests.js.map +1 -0
  1816. package/esm/resources/V2/Provisioning/PaymentProfile.d.ts +139 -0
  1817. package/esm/resources/V2/Provisioning/PaymentProfile.js +70 -0
  1818. package/esm/resources/V2/Provisioning/PaymentProfile.js.map +1 -0
  1819. package/esm/resources/V2/Provisioning/Projects.d.ts +79 -0
  1820. package/esm/resources/V2/Provisioning/Projects.js +11 -0
  1821. package/esm/resources/V2/Provisioning/Projects.js.map +1 -0
  1822. package/esm/resources/V2/Provisioning/ProviderConnectionRequests.d.ts +145 -0
  1823. package/esm/resources/V2/Provisioning/ProviderConnectionRequests.js +23 -0
  1824. package/esm/resources/V2/Provisioning/ProviderConnectionRequests.js.map +1 -0
  1825. package/esm/resources/V2/Provisioning/ProviderConnections.d.ts +115 -0
  1826. package/esm/resources/V2/Provisioning/ProviderConnections.js +19 -0
  1827. package/esm/resources/V2/Provisioning/ProviderConnections.js.map +1 -0
  1828. package/esm/resources/V2/Provisioning/ProviderServiceDetails.d.ts +243 -0
  1829. package/esm/resources/V2/Provisioning/ProviderServiceDetails.js +3 -0
  1830. package/esm/resources/V2/Provisioning/ProviderServiceDetails.js.map +1 -0
  1831. package/esm/resources/V2/Provisioning/Providers.d.ts +67 -0
  1832. package/esm/resources/V2/Provisioning/Providers.js +3 -0
  1833. package/esm/resources/V2/Provisioning/Providers.js.map +1 -0
  1834. package/esm/resources/V2/Provisioning/ResourceAccessConfigurations.d.ts +28 -0
  1835. package/esm/resources/V2/Provisioning/ResourceAccessConfigurations.js +3 -0
  1836. package/esm/resources/V2/Provisioning/ResourceAccessConfigurations.js.map +1 -0
  1837. package/esm/resources/V2/Provisioning/Resources.d.ts +287 -0
  1838. package/esm/resources/V2/Provisioning/Resources.js +62 -0
  1839. package/esm/resources/V2/Provisioning/Resources.js.map +1 -0
  1840. package/esm/resources/V2/Provisioning/index.d.ts +66 -0
  1841. package/esm/resources/V2/Provisioning/index.js +23 -0
  1842. package/esm/resources/V2/Provisioning/index.js.map +1 -0
  1843. package/esm/resources/V2/Reporting/ReportRuns.d.ts +195 -0
  1844. package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
  1845. package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
  1846. package/esm/resources/V2/Reporting/Reports.d.ts +106 -0
  1847. package/esm/resources/V2/Reporting/Reports.js +13 -0
  1848. package/esm/resources/V2/Reporting/Reports.js.map +1 -0
  1849. package/esm/resources/V2/Reporting/index.d.ts +18 -0
  1850. package/esm/resources/V2/Reporting/index.js +11 -0
  1851. package/esm/resources/V2/Reporting/index.js.map +1 -0
  1852. package/esm/resources/V2/Risk/Forms.d.ts +253 -0
  1853. package/esm/resources/V2/Risk/Forms.js +17 -0
  1854. package/esm/resources/V2/Risk/Forms.js.map +1 -0
  1855. package/esm/resources/V2/Risk/index.d.ts +13 -0
  1856. package/esm/resources/V2/Risk/index.js +9 -0
  1857. package/esm/resources/V2/Risk/index.js.map +1 -0
  1858. package/esm/resources/V2/Signals/AccountActivities.d.ts +747 -0
  1859. package/esm/resources/V2/Signals/AccountActivities.js +23 -0
  1860. package/esm/resources/V2/Signals/AccountActivities.js.map +1 -0
  1861. package/esm/resources/V2/Signals/AccountEvaluations.d.ts +516 -0
  1862. package/esm/resources/V2/Signals/AccountEvaluations.js +63 -0
  1863. package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
  1864. package/esm/resources/V2/Signals/AccountSignals.d.ts +361 -0
  1865. package/esm/resources/V2/Signals/AccountSignals.js +114 -0
  1866. package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
  1867. package/esm/resources/V2/Signals/PaymentRetryEvaluations.d.ts +116 -0
  1868. package/esm/resources/V2/Signals/PaymentRetryEvaluations.js +34 -0
  1869. package/esm/resources/V2/Signals/PaymentRetryEvaluations.js.map +1 -0
  1870. package/esm/resources/V2/Signals/PaymentRetrySignals.d.ts +63 -0
  1871. package/esm/resources/V2/Signals/PaymentRetrySignals.js +11 -0
  1872. package/esm/resources/V2/Signals/PaymentRetrySignals.js.map +1 -0
  1873. package/esm/resources/V2/Signals/index.d.ts +39 -0
  1874. package/esm/resources/V2/Signals/index.js +17 -0
  1875. package/esm/resources/V2/Signals/index.js.map +1 -0
  1876. package/esm/resources/V2/Tax/IntegrationConfigurations.d.ts +116 -0
  1877. package/esm/resources/V2/Tax/IntegrationConfigurations.js +17 -0
  1878. package/esm/resources/V2/Tax/IntegrationConfigurations.js.map +1 -0
  1879. package/esm/resources/V2/Tax/ManualRules.d.ts +331 -0
  1880. package/esm/resources/V2/Tax/ManualRules.js +189 -0
  1881. package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
  1882. package/esm/resources/V2/Tax/Operations.d.ts +43 -0
  1883. package/esm/resources/V2/Tax/Operations.js +11 -0
  1884. package/esm/resources/V2/Tax/Operations.js.map +1 -0
  1885. package/esm/resources/V2/Tax/OperationsResolveAddressResults.d.ts +70 -0
  1886. package/esm/resources/V2/Tax/OperationsResolveAddressResults.js +3 -0
  1887. package/esm/resources/V2/Tax/OperationsResolveAddressResults.js.map +1 -0
  1888. package/esm/resources/V2/Tax/index.d.ts +27 -0
  1889. package/esm/resources/V2/Tax/index.js +13 -0
  1890. package/esm/resources/V2/Tax/index.js.map +1 -0
  1891. package/esm/resources/V2/index.d.ts +33 -0
  1892. package/esm/resources/V2/index.js +22 -0
  1893. package/esm/resources/V2/index.js.map +1 -1
  1894. package/esm/resources/WebhookEndpoints.d.ts +2 -2
  1895. package/esm/resources.d.ts +20 -0
  1896. package/esm/resources.js +283 -3
  1897. package/esm/resources.js.map +1 -1
  1898. package/esm/stripe.core.d.ts +170 -56
  1899. package/esm/stripe.core.js +122 -11
  1900. package/esm/stripe.core.js.map +1 -1
  1901. package/esm/stripe.esm.node.d.ts +172 -58
  1902. package/esm/stripe.esm.node.js +123 -9
  1903. package/esm/stripe.esm.node.js.map +1 -1
  1904. package/package.json +1 -1
  1905. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
  1906. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +0 -13
  1907. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
  1908. package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
  1909. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +0 -9
  1910. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
@@ -2,12 +2,13 @@ import { StripeResource } from '../StripeResource.js';
2
2
  import { Discount as _Discount } from './Discounts.js';
3
3
  import { Application, DeletedApplication } from './Applications.js';
4
4
  import { Customer, DeletedCustomer } from './Customers.js';
5
+ import { Invoice } from './Invoices.js';
5
6
  import { Subscription } from './Subscriptions.js';
7
+ import { Price, DeletedPrice } from './Prices.js';
6
8
  import { PaymentMethod } from './PaymentMethods.js';
7
9
  import { Account } from './Accounts.js';
8
10
  import { TaxId, DeletedTaxId } from './TaxIds.js';
9
11
  import { TaxRate } from './TaxRates.js';
10
- import { Price, DeletedPrice } from './Prices.js';
11
12
  import { Coupon } from './Coupons.js';
12
13
  import { PromotionCode } from './PromotionCodes.js';
13
14
  import { Plan, DeletedPlan } from './Plans.js';
@@ -31,6 +32,10 @@ export declare class SubscriptionScheduleResource extends StripeResource {
31
32
  * Updates an existing subscription schedule.
32
33
  */
33
34
  update(id: string, params?: SubscriptionScheduleUpdateParams, options?: RequestOptions): Promise<Response<SubscriptionSchedule>>;
35
+ /**
36
+ * Amends an existing subscription schedule.
37
+ */
38
+ amend(id: string, params?: SubscriptionScheduleAmendParams, options?: RequestOptions): Promise<Response<SubscriptionSchedule>>;
34
39
  /**
35
40
  * Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is not_started or active.
36
41
  */
@@ -39,6 +44,22 @@ export declare class SubscriptionScheduleResource extends StripeResource {
39
44
  * Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is not_started or active. If the subscription schedule is currently associated with a subscription, releasing it will remove its subscription property and set the subscription's ID to the released_subscription property.
40
45
  */
41
46
  release(id: string, params?: SubscriptionScheduleReleaseParams, options?: RequestOptions): Promise<Response<SubscriptionSchedule>>;
47
+ serializeBatchCreate(params?: Record<string, unknown>, options?: {
48
+ apiVersion?: string;
49
+ stripeContext?: string;
50
+ }): string;
51
+ serializeBatchUpdate(schedule: string, params?: Record<string, unknown>, options?: {
52
+ apiVersion?: string;
53
+ stripeContext?: string;
54
+ }): string;
55
+ serializeBatchCancel(schedule: string, params?: Record<string, unknown>, options?: {
56
+ apiVersion?: string;
57
+ stripeContext?: string;
58
+ }): string;
59
+ serializeBatchRelease(schedule: string, params?: Record<string, unknown>, options?: {
60
+ apiVersion?: string;
61
+ stripeContext?: string;
62
+ }): string;
42
63
  }
43
64
  export interface SubscriptionSchedule {
44
65
  /**
@@ -53,10 +74,18 @@ export interface SubscriptionSchedule {
53
74
  * ID of the Connect Application that created the schedule.
54
75
  */
55
76
  application: string | Application | DeletedApplication | null;
77
+ /**
78
+ * Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
79
+ */
80
+ billing_behavior?: SubscriptionSchedule.BillingBehavior;
56
81
  /**
57
82
  * The billing mode of the subscription.
58
83
  */
59
84
  billing_mode: SubscriptionSchedule.BillingMode;
85
+ /**
86
+ * Billing schedules for this subscription schedule.
87
+ */
88
+ billing_schedules?: Array<SubscriptionSchedule.BillingSchedule>;
60
89
  /**
61
90
  * Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
62
91
  */
@@ -86,6 +115,14 @@ export interface SubscriptionSchedule {
86
115
  * Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.
87
116
  */
88
117
  end_behavior: SubscriptionSchedule.EndBehavior;
118
+ /**
119
+ * Details of the most recent price migration that failed for the subscription schedule.
120
+ */
121
+ last_price_migration_error?: SubscriptionSchedule.LastPriceMigrationError | null;
122
+ /**
123
+ * The most recent invoice this subscription schedule has generated.
124
+ */
125
+ latest_invoice?: string | Invoice | null;
89
126
  /**
90
127
  * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
91
128
  */
@@ -102,6 +139,10 @@ export interface SubscriptionSchedule {
102
139
  * Configuration for the subscription schedule's phases.
103
140
  */
104
141
  phases: Array<SubscriptionSchedule.Phase>;
142
+ /**
143
+ * Time period and invoice for a Subscription billed in advance.
144
+ */
145
+ prebilling?: SubscriptionSchedule.Prebilling | null;
105
146
  /**
106
147
  * Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
107
148
  */
@@ -124,6 +165,7 @@ export interface SubscriptionSchedule {
124
165
  test_clock: string | TestHelpers.TestClock | null;
125
166
  }
126
167
  export declare namespace SubscriptionSchedule {
168
+ type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front' | OtherString;
127
169
  interface BillingMode {
128
170
  /**
129
171
  * Configure behavior for flexible billing mode
@@ -138,6 +180,20 @@ export declare namespace SubscriptionSchedule {
138
180
  */
139
181
  updated_at?: number;
140
182
  }
183
+ interface BillingSchedule {
184
+ /**
185
+ * Specifies which subscription items the billing schedule applies to.
186
+ */
187
+ applies_to: Array<BillingSchedule.AppliesTo> | null;
188
+ /**
189
+ * Specifies the end of billing period.
190
+ */
191
+ bill_until: BillingSchedule.BillUntil;
192
+ /**
193
+ * Unique identifier for the billing schedule.
194
+ */
195
+ key: string;
196
+ }
141
197
  interface CurrentPhase {
142
198
  /**
143
199
  * The end of this phase of the subscription schedule.
@@ -179,12 +235,30 @@ export declare namespace SubscriptionSchedule {
179
235
  * The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details.
180
236
  */
181
237
  on_behalf_of: string | Account | null;
238
+ /**
239
+ * Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
240
+ */
241
+ phase_effective_at?: DefaultSettings.PhaseEffectiveAt;
182
242
  /**
183
243
  * The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices.
184
244
  */
185
245
  transfer_data: DefaultSettings.TransferData | null;
186
246
  }
187
247
  type EndBehavior = 'cancel' | 'none' | 'release' | 'renew' | OtherString;
248
+ interface LastPriceMigrationError {
249
+ /**
250
+ * The time at which the price migration encountered an error.
251
+ */
252
+ errored_at: number;
253
+ /**
254
+ * The involved price pairs in each failed transition.
255
+ */
256
+ failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
257
+ /**
258
+ * The type of error encountered by the price migration.
259
+ */
260
+ type: 'price_uniqueness_violation';
261
+ }
188
262
  interface PauseSchedule {
189
263
  /**
190
264
  * A unique identifier for this pause schedule.
@@ -238,6 +312,10 @@ export declare namespace SubscriptionSchedule {
238
312
  * The stackable discounts that will be applied to the subscription on this phase. Subscription item discounts are applied before subscription discounts.
239
313
  */
240
314
  discounts: Array<Phase.Discount>;
315
+ /**
316
+ * Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
317
+ */
318
+ effective_at?: Phase.EffectiveAt | null;
241
319
  /**
242
320
  * The end of this phase of the subscription schedule.
243
321
  */
@@ -258,6 +336,10 @@ export declare namespace SubscriptionSchedule {
258
336
  * The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details.
259
337
  */
260
338
  on_behalf_of: string | Account | null;
339
+ /**
340
+ * If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://docs.stripe.com/billing/subscriptions/pause-payment).
341
+ */
342
+ pause_collection?: Phase.PauseCollection | null;
261
343
  /**
262
344
  * When transitioning phases, controls how prorations are handled (if any). Possible values are `create_prorations`, `none`, and `always_invoice`.
263
345
  */
@@ -274,10 +356,36 @@ export declare namespace SubscriptionSchedule {
274
356
  * If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
275
357
  */
276
358
  trial?: boolean;
359
+ /**
360
+ * Specify behavior of the trial when crossing schedule phase boundaries
361
+ */
362
+ trial_continuation?: Phase.TrialContinuation | null;
277
363
  /**
278
364
  * When the trial ends within the phase.
279
365
  */
280
366
  trial_end: number | null;
367
+ /**
368
+ * Settings related to any trials on the subscription during this phase.
369
+ */
370
+ trial_settings?: Phase.TrialSettings | null;
371
+ }
372
+ interface Prebilling {
373
+ /**
374
+ * ID of the prebilling invoice.
375
+ */
376
+ invoice: string | Invoice;
377
+ /**
378
+ * The end of the last period for which the invoice pre-bills.
379
+ */
380
+ period_end: number;
381
+ /**
382
+ * The start of the first period for which the invoice pre-bills.
383
+ */
384
+ period_start: number;
385
+ /**
386
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
387
+ */
388
+ update_behavior?: Prebilling.UpdateBehavior;
281
389
  }
282
390
  type Status = 'active' | 'canceled' | 'completed' | 'not_started' | 'released' | OtherString;
283
391
  namespace BillingMode {
@@ -292,6 +400,52 @@ export declare namespace SubscriptionSchedule {
292
400
  type ProrationDiscounts = 'included' | 'itemized' | OtherString;
293
401
  }
294
402
  }
403
+ namespace BillingSchedule {
404
+ interface AppliesTo {
405
+ /**
406
+ * The billing schedule will apply to the subscription item with the given price ID.
407
+ */
408
+ price: string | Price | null;
409
+ /**
410
+ * Controls which subscription items the billing schedule applies to.
411
+ */
412
+ type: 'price';
413
+ }
414
+ interface BillUntil {
415
+ /**
416
+ * The timestamp the billing schedule will apply until.
417
+ */
418
+ computed_timestamp: number;
419
+ /**
420
+ * Specifies the billing period.
421
+ */
422
+ duration: BillUntil.Duration | null;
423
+ /**
424
+ * If specified, the billing schedule will apply until the specified timestamp.
425
+ */
426
+ timestamp: number | null;
427
+ /**
428
+ * Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
429
+ */
430
+ type: BillUntil.Type;
431
+ }
432
+ namespace BillUntil {
433
+ interface Duration {
434
+ /**
435
+ * Specifies billing duration. Either `day`, `week`, `month` or `year`.
436
+ */
437
+ interval: Duration.Interval;
438
+ /**
439
+ * The multiplier applied to the interval.
440
+ */
441
+ interval_count: number | null;
442
+ }
443
+ type Type = 'duration' | 'timestamp' | OtherString;
444
+ namespace Duration {
445
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
446
+ }
447
+ }
448
+ }
295
449
  namespace DefaultSettings {
296
450
  interface AutomaticTax {
297
451
  /**
@@ -302,6 +456,10 @@ export declare namespace SubscriptionSchedule {
302
456
  * Whether Stripe automatically computes tax on invoices created during this phase.
303
457
  */
304
458
  enabled: boolean;
459
+ /**
460
+ * How `automatic_tax` was set (`explicit`, `managed_payments`, or `tax_integration_configuration`) and why it may have been disabled.
461
+ */
462
+ enablement_details?: AutomaticTax.EnablementDetails | null;
305
463
  /**
306
464
  * The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
307
465
  */
@@ -342,6 +500,7 @@ export declare namespace SubscriptionSchedule {
342
500
  footer: string | null;
343
501
  issuer: InvoiceSettings.Issuer;
344
502
  }
503
+ type PhaseEffectiveAt = 'billing_period_start' | 'phase_start' | OtherString;
345
504
  interface TransferData {
346
505
  /**
347
506
  * 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.
@@ -353,6 +512,16 @@ export declare namespace SubscriptionSchedule {
353
512
  destination: string | Account;
354
513
  }
355
514
  namespace AutomaticTax {
515
+ interface EnablementDetails {
516
+ /**
517
+ * Present when `source=tax_integration_configuration`, `automatic_tax[enabled]=false`, and a conflicting parameter is recorded.
518
+ */
519
+ integration_configuration_disabled_reason: EnablementDetails.IntegrationConfigurationDisabledReason | null;
520
+ /**
521
+ * How `automatic_tax` was set: `explicit`, `managed_payments`, or `tax_integration_configuration`.
522
+ */
523
+ source: EnablementDetails.Source;
524
+ }
356
525
  interface Liability {
357
526
  /**
358
527
  * The connected account being referenced when `type` is `account`.
@@ -363,8 +532,17 @@ export declare namespace SubscriptionSchedule {
363
532
  */
364
533
  type: Liability.Type;
365
534
  }
535
+ namespace EnablementDetails {
536
+ interface IntegrationConfigurationDisabledReason {
537
+ /**
538
+ * The parameter that prevented `automatic_tax` from being enabled (for example `default_tax_rates`).
539
+ */
540
+ conflicting_field: string;
541
+ }
542
+ type Source = 'explicit' | 'managed_payments' | 'tax_integration_configuration';
543
+ }
366
544
  namespace Liability {
367
- type Type = 'account' | 'self' | OtherString;
545
+ type Type = 'account' | 'application' | 'self' | OtherString;
368
546
  }
369
547
  }
370
548
  namespace InvoiceSettings {
@@ -389,10 +567,22 @@ export declare namespace SubscriptionSchedule {
389
567
  type: Issuer.Type;
390
568
  }
391
569
  namespace Issuer {
392
- type Type = 'account' | 'self' | OtherString;
570
+ type Type = 'account' | 'application' | 'self' | OtherString;
393
571
  }
394
572
  }
395
573
  }
574
+ namespace LastPriceMigrationError {
575
+ interface FailedTransition {
576
+ /**
577
+ * The original price to be migrated.
578
+ */
579
+ source_price: string;
580
+ /**
581
+ * The intended resulting price of the migration.
582
+ */
583
+ target_price: string;
584
+ }
585
+ }
396
586
  namespace PauseSchedule {
397
587
  interface Pause {
398
588
  /**
@@ -553,6 +743,10 @@ export declare namespace SubscriptionSchedule {
553
743
  * Whether Stripe automatically computes tax on invoices created during this phase.
554
744
  */
555
745
  enabled: boolean;
746
+ /**
747
+ * How `automatic_tax` was set (`explicit`, `managed_payments`, or `tax_integration_configuration`) and why it may have been disabled.
748
+ */
749
+ enablement_details?: AutomaticTax.EnablementDetails | null;
556
750
  /**
557
751
  * The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
558
752
  */
@@ -579,11 +773,17 @@ export declare namespace SubscriptionSchedule {
579
773
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
580
774
  */
581
775
  discount: string | _Discount | null;
776
+ /**
777
+ * Details to determine how long the discount should be applied for.
778
+ */
779
+ discount_end?: Discount.DiscountEnd | null;
582
780
  /**
583
781
  * ID of the promotion code to create a new discount for.
584
782
  */
585
783
  promotion_code: string | PromotionCode | null;
784
+ settings?: Discount.Settings;
586
785
  }
786
+ type EffectiveAt = 'billing_period_start' | 'phase_start' | OtherString;
587
787
  interface InvoiceSettings {
588
788
  /**
589
789
  * The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule.
@@ -639,6 +839,20 @@ export declare namespace SubscriptionSchedule {
639
839
  * The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`.
640
840
  */
641
841
  tax_rates?: Array<TaxRate> | null;
842
+ /**
843
+ * Options that configure the trial on the subscription item.
844
+ */
845
+ trial?: Item.Trial | null;
846
+ /**
847
+ * The ID of the trial offer to apply to the configuration item.
848
+ */
849
+ trial_offer?: string | null;
850
+ }
851
+ interface PauseCollection {
852
+ /**
853
+ * The payment collection behavior for this subscription while paused.
854
+ */
855
+ behavior: PauseCollection.Behavior;
642
856
  }
643
857
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
644
858
  interface TransferData {
@@ -651,6 +865,13 @@ export declare namespace SubscriptionSchedule {
651
865
  */
652
866
  destination: string | Account;
653
867
  }
868
+ type TrialContinuation = 'continue' | 'none' | OtherString;
869
+ interface TrialSettings {
870
+ /**
871
+ * Defines how the subscription should behave when a trial ends.
872
+ */
873
+ end_behavior: TrialSettings.EndBehavior | null;
874
+ }
654
875
  namespace AddInvoiceItem {
655
876
  interface Discount {
656
877
  /**
@@ -661,6 +882,10 @@ export declare namespace SubscriptionSchedule {
661
882
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
662
883
  */
663
884
  discount: string | _Discount | null;
885
+ /**
886
+ * Details to determine how long the discount should be applied for.
887
+ */
888
+ discount_end?: Discount.DiscountEnd | null;
664
889
  /**
665
890
  * ID of the promotion code to create a new discount for.
666
891
  */
@@ -670,6 +895,18 @@ export declare namespace SubscriptionSchedule {
670
895
  end: Period.End;
671
896
  start: Period.Start;
672
897
  }
898
+ namespace Discount {
899
+ interface DiscountEnd {
900
+ /**
901
+ * The discount end timestamp.
902
+ */
903
+ timestamp: number | null;
904
+ /**
905
+ * The discount end type.
906
+ */
907
+ type: 'timestamp';
908
+ }
909
+ }
673
910
  namespace Period {
674
911
  interface End {
675
912
  /**
@@ -700,6 +937,16 @@ export declare namespace SubscriptionSchedule {
700
937
  }
701
938
  }
702
939
  namespace AutomaticTax {
940
+ interface EnablementDetails {
941
+ /**
942
+ * Present when `source=tax_integration_configuration`, `automatic_tax[enabled]=false`, and a conflicting parameter is recorded.
943
+ */
944
+ integration_configuration_disabled_reason: EnablementDetails.IntegrationConfigurationDisabledReason | null;
945
+ /**
946
+ * How `automatic_tax` was set: `explicit`, `managed_payments`, or `tax_integration_configuration`.
947
+ */
948
+ source: EnablementDetails.Source;
949
+ }
703
950
  interface Liability {
704
951
  /**
705
952
  * The connected account being referenced when `type` is `account`.
@@ -710,8 +957,71 @@ export declare namespace SubscriptionSchedule {
710
957
  */
711
958
  type: Liability.Type;
712
959
  }
960
+ namespace EnablementDetails {
961
+ interface IntegrationConfigurationDisabledReason {
962
+ /**
963
+ * The parameter that prevented `automatic_tax` from being enabled (for example `default_tax_rates`).
964
+ */
965
+ conflicting_field: string;
966
+ }
967
+ type Source = 'explicit' | 'managed_payments' | 'tax_integration_configuration';
968
+ }
713
969
  namespace Liability {
714
- type Type = 'account' | 'self' | OtherString;
970
+ type Type = 'account' | 'application' | 'self' | OtherString;
971
+ }
972
+ }
973
+ namespace Discount {
974
+ interface DiscountEnd {
975
+ /**
976
+ * The discount end timestamp.
977
+ */
978
+ timestamp: number | null;
979
+ /**
980
+ * The discount end type.
981
+ */
982
+ type: 'timestamp';
983
+ }
984
+ interface Settings {
985
+ service_period_anchor_config: Settings.ServicePeriodAnchorConfig;
986
+ /**
987
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration.
988
+ */
989
+ start_date: Settings.StartDate;
990
+ }
991
+ namespace Settings {
992
+ interface ServicePeriodAnchorConfig {
993
+ custom?: ServicePeriodAnchorConfig.Custom;
994
+ /**
995
+ * The type of service period anchor config.
996
+ */
997
+ type: ServicePeriodAnchorConfig.Type;
998
+ }
999
+ type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
1000
+ namespace ServicePeriodAnchorConfig {
1001
+ interface Custom {
1002
+ /**
1003
+ * The day of the month the anchor should be. Ranges from 1 to 31.
1004
+ */
1005
+ day_of_month: number;
1006
+ /**
1007
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
1008
+ */
1009
+ hour: number | null;
1010
+ /**
1011
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
1012
+ */
1013
+ minute: number | null;
1014
+ /**
1015
+ * The month to start full cycle periods. Ranges from 1 to 12.
1016
+ */
1017
+ month: number | null;
1018
+ /**
1019
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
1020
+ */
1021
+ second: number | null;
1022
+ }
1023
+ type Type = 'custom' | 'inherit' | OtherString;
1024
+ }
715
1025
  }
716
1026
  }
717
1027
  namespace InvoiceSettings {
@@ -736,7 +1046,7 @@ export declare namespace SubscriptionSchedule {
736
1046
  type: Issuer.Type;
737
1047
  }
738
1048
  namespace Issuer {
739
- type Type = 'account' | 'self' | OtherString;
1049
+ type Type = 'account' | 'application' | 'self' | OtherString;
740
1050
  }
741
1051
  }
742
1052
  namespace Item {
@@ -755,19 +1065,116 @@ export declare namespace SubscriptionSchedule {
755
1065
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
756
1066
  */
757
1067
  discount: string | _Discount | null;
1068
+ /**
1069
+ * Details to determine how long the discount should be applied for.
1070
+ */
1071
+ discount_end?: Discount.DiscountEnd | null;
758
1072
  /**
759
1073
  * ID of the promotion code to create a new discount for.
760
1074
  */
761
1075
  promotion_code: string | PromotionCode | null;
1076
+ settings?: Discount.Settings;
1077
+ }
1078
+ interface Trial {
1079
+ /**
1080
+ * List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.
1081
+ */
1082
+ converts_to?: Array<string> | null;
1083
+ /**
1084
+ * Determines the type of trial for this item.
1085
+ */
1086
+ type: Trial.Type;
1087
+ }
1088
+ namespace Discount {
1089
+ interface DiscountEnd {
1090
+ /**
1091
+ * The discount end timestamp.
1092
+ */
1093
+ timestamp: number | null;
1094
+ /**
1095
+ * The discount end type.
1096
+ */
1097
+ type: 'timestamp';
1098
+ }
1099
+ interface Settings {
1100
+ service_period_anchor_config: Settings.ServicePeriodAnchorConfig;
1101
+ /**
1102
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration.
1103
+ */
1104
+ start_date: Settings.StartDate;
1105
+ }
1106
+ namespace Settings {
1107
+ interface ServicePeriodAnchorConfig {
1108
+ custom?: ServicePeriodAnchorConfig.Custom;
1109
+ /**
1110
+ * The type of service period anchor config.
1111
+ */
1112
+ type: ServicePeriodAnchorConfig.Type;
1113
+ }
1114
+ type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
1115
+ namespace ServicePeriodAnchorConfig {
1116
+ interface Custom {
1117
+ /**
1118
+ * The day of the month the anchor should be. Ranges from 1 to 31.
1119
+ */
1120
+ day_of_month: number;
1121
+ /**
1122
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
1123
+ */
1124
+ hour: number | null;
1125
+ /**
1126
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
1127
+ */
1128
+ minute: number | null;
1129
+ /**
1130
+ * The month to start full cycle periods. Ranges from 1 to 12.
1131
+ */
1132
+ month: number | null;
1133
+ /**
1134
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
1135
+ */
1136
+ second: number | null;
1137
+ }
1138
+ type Type = 'custom' | 'inherit' | OtherString;
1139
+ }
1140
+ }
1141
+ }
1142
+ namespace Trial {
1143
+ type Type = 'free' | 'paid' | OtherString;
1144
+ }
1145
+ }
1146
+ namespace PauseCollection {
1147
+ type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
1148
+ }
1149
+ namespace TrialSettings {
1150
+ interface EndBehavior {
1151
+ /**
1152
+ * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
1153
+ */
1154
+ prorate_up_front: EndBehavior.ProrateUpFront | null;
1155
+ }
1156
+ namespace EndBehavior {
1157
+ type ProrateUpFront = 'defer' | 'include' | OtherString;
762
1158
  }
763
1159
  }
764
1160
  }
1161
+ namespace Prebilling {
1162
+ type UpdateBehavior = 'prebill' | 'reset' | OtherString;
1163
+ }
765
1164
  }
766
1165
  export interface SubscriptionScheduleCreateParams {
1166
+ /**
1167
+ * Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
1168
+ */
1169
+ billing_behavior?: SubscriptionScheduleCreateParams.BillingBehavior;
767
1170
  /**
768
1171
  * Controls how prorations and invoices for subscriptions are calculated and orchestrated.
769
1172
  */
770
1173
  billing_mode?: SubscriptionScheduleCreateParams.BillingMode;
1174
+ /**
1175
+ * Sets the billing schedules for the subscription schedule.
1176
+ */
1177
+ billing_schedules?: Array<SubscriptionScheduleCreateParams.BillingSchedule>;
771
1178
  /**
772
1179
  * The identifier of the customer to create the subscription schedule for.
773
1180
  */
@@ -804,12 +1211,17 @@ export interface SubscriptionScheduleCreateParams {
804
1211
  * List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase.
805
1212
  */
806
1213
  phases?: Array<SubscriptionScheduleCreateParams.Phase>;
1214
+ /**
1215
+ * If specified, the invoicing for the given billing cycle iterations will be processed now.
1216
+ */
1217
+ prebilling?: SubscriptionScheduleCreateParams.Prebilling;
807
1218
  /**
808
1219
  * When the subscription schedule starts. We recommend using `now` so that it starts the subscription immediately, and to avoid unexpected behavior due to request delays or clock skew resulting in a slightly backdated or postdated start. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on.
809
1220
  */
810
1221
  start_date?: number | 'now';
811
1222
  }
812
1223
  export declare namespace SubscriptionScheduleCreateParams {
1224
+ type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front' | OtherString;
813
1225
  interface BillingMode {
814
1226
  /**
815
1227
  * Configure behavior for flexible billing mode.
@@ -820,6 +1232,20 @@ export declare namespace SubscriptionScheduleCreateParams {
820
1232
  */
821
1233
  type: BillingMode.Type;
822
1234
  }
1235
+ interface BillingSchedule {
1236
+ /**
1237
+ * Configure billing schedule differently for individual subscription items.
1238
+ */
1239
+ applies_to?: Array<BillingSchedule.AppliesTo>;
1240
+ /**
1241
+ * The end date for the billing schedule. You must not set this earlier than current period end for every applicable subscription item.
1242
+ */
1243
+ bill_until: BillingSchedule.BillUntil;
1244
+ /**
1245
+ * Specify a key for the billing schedule. Must be unique to this field, alphanumeric, and up to 200 characters. If not provided, a unique key will be generated.
1246
+ */
1247
+ key?: string;
1248
+ }
823
1249
  interface DefaultSettings {
824
1250
  /**
825
1251
  * 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 application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
@@ -857,6 +1283,10 @@ export declare namespace SubscriptionScheduleCreateParams {
857
1283
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
858
1284
  */
859
1285
  on_behalf_of?: Emptyable<string>;
1286
+ /**
1287
+ * Configures how the subscription schedule handles billing for phase transitions.
1288
+ */
1289
+ phase_effective_at?: DefaultSettings.PhaseEffectiveAt;
860
1290
  /**
861
1291
  * The data with which to automatically create a Transfer for each of the associated subscription's invoices.
862
1292
  */
@@ -926,6 +1356,10 @@ export declare namespace SubscriptionScheduleCreateParams {
926
1356
  * The number of intervals the phase should last. If set, `end_date` must not be set.
927
1357
  */
928
1358
  duration?: Phase.Duration;
1359
+ /**
1360
+ * Configures how the subscription schedule handles billing for phase transitions.
1361
+ */
1362
+ effective_at?: Phase.EffectiveAt;
929
1363
  /**
930
1364
  * The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.
931
1365
  */
@@ -946,6 +1380,10 @@ export declare namespace SubscriptionScheduleCreateParams {
946
1380
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
947
1381
  */
948
1382
  on_behalf_of?: string;
1383
+ /**
1384
+ * If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://docs.stripe.com/billing/subscriptions/pause-payment).
1385
+ */
1386
+ pause_collection?: Phase.PauseCollection;
949
1387
  /**
950
1388
  * Controls whether the subscription schedule should create [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when transitioning to this phase if there is a difference in billing configuration. It's different from the request-level [proration_behavior](https://docs.stripe.com/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration (item price, quantity, etc.) of the current phase.
951
1389
  */
@@ -958,10 +1396,28 @@ export declare namespace SubscriptionScheduleCreateParams {
958
1396
  * If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
959
1397
  */
960
1398
  trial?: boolean;
1399
+ /**
1400
+ * Specify trial behavior when crossing phase boundaries
1401
+ */
1402
+ trial_continuation?: Phase.TrialContinuation;
961
1403
  /**
962
1404
  * Sets the phase to trialing from the start date to this date. Must be before the phase end date, can not be combined with `trial`
963
1405
  */
964
1406
  trial_end?: number;
1407
+ /**
1408
+ * Settings related to subscription trials.
1409
+ */
1410
+ trial_settings?: Phase.TrialSettings;
1411
+ }
1412
+ interface Prebilling {
1413
+ /**
1414
+ * This is used to determine the number of billing cycles to prebill.
1415
+ */
1416
+ iterations: number;
1417
+ /**
1418
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
1419
+ */
1420
+ update_behavior?: Prebilling.UpdateBehavior;
965
1421
  }
966
1422
  namespace BillingMode {
967
1423
  interface Flexible {
@@ -975,6 +1431,48 @@ export declare namespace SubscriptionScheduleCreateParams {
975
1431
  type ProrationDiscounts = 'included' | 'itemized' | OtherString;
976
1432
  }
977
1433
  }
1434
+ namespace BillingSchedule {
1435
+ interface AppliesTo {
1436
+ /**
1437
+ * The ID of the price object.
1438
+ */
1439
+ price?: string;
1440
+ /**
1441
+ * Controls which subscription items the billing schedule applies to.
1442
+ */
1443
+ type: 'price';
1444
+ }
1445
+ interface BillUntil {
1446
+ /**
1447
+ * Specifies the billing period.
1448
+ */
1449
+ duration?: BillUntil.Duration;
1450
+ /**
1451
+ * The end date of the billing schedule.
1452
+ */
1453
+ timestamp?: number;
1454
+ /**
1455
+ * Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
1456
+ */
1457
+ type: BillUntil.Type;
1458
+ }
1459
+ namespace BillUntil {
1460
+ interface Duration {
1461
+ /**
1462
+ * Specifies billing duration. Either `day`, `week`, `month` or `year`.
1463
+ */
1464
+ interval: Duration.Interval;
1465
+ /**
1466
+ * The multiplier applied to the interval.
1467
+ */
1468
+ interval_count?: number;
1469
+ }
1470
+ type Type = 'duration' | 'timestamp' | OtherString;
1471
+ namespace Duration {
1472
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1473
+ }
1474
+ }
1475
+ }
978
1476
  namespace DefaultSettings {
979
1477
  interface AutomaticTax {
980
1478
  /**
@@ -1015,6 +1513,7 @@ export declare namespace SubscriptionScheduleCreateParams {
1015
1513
  */
1016
1514
  issuer?: InvoiceSettings.Issuer;
1017
1515
  }
1516
+ type PhaseEffectiveAt = 'billing_period_start' | 'phase_start' | OtherString;
1018
1517
  interface TransferData {
1019
1518
  /**
1020
1519
  * 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.
@@ -1037,7 +1536,7 @@ export declare namespace SubscriptionScheduleCreateParams {
1037
1536
  type: Liability.Type;
1038
1537
  }
1039
1538
  namespace Liability {
1040
- type Type = 'account' | 'self' | OtherString;
1539
+ type Type = 'account' | 'application' | 'self' | OtherString;
1041
1540
  }
1042
1541
  }
1043
1542
  namespace InvoiceSettings {
@@ -1062,7 +1561,7 @@ export declare namespace SubscriptionScheduleCreateParams {
1062
1561
  type: Issuer.Type;
1063
1562
  }
1064
1563
  namespace Issuer {
1065
- type Type = 'account' | 'self' | OtherString;
1564
+ type Type = 'account' | 'application' | 'self' | OtherString;
1066
1565
  }
1067
1566
  }
1068
1567
  }
@@ -1268,10 +1767,18 @@ export declare namespace SubscriptionScheduleCreateParams {
1268
1767
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1269
1768
  */
1270
1769
  discount?: string;
1770
+ /**
1771
+ * Details to determine how long the discount should be applied for.
1772
+ */
1773
+ discount_end?: Discount.DiscountEnd;
1271
1774
  /**
1272
1775
  * ID of the promotion code to create a new discount for.
1273
1776
  */
1274
1777
  promotion_code?: string;
1778
+ /**
1779
+ * Settings for discount application including service period anchoring.
1780
+ */
1781
+ settings?: Discount.Settings;
1275
1782
  }
1276
1783
  interface Duration {
1277
1784
  /**
@@ -1283,6 +1790,7 @@ export declare namespace SubscriptionScheduleCreateParams {
1283
1790
  */
1284
1791
  interval_count?: number;
1285
1792
  }
1793
+ type EffectiveAt = 'billing_period_start' | 'phase_start' | OtherString;
1286
1794
  interface InvoiceSettings {
1287
1795
  /**
1288
1796
  * The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule.
@@ -1342,6 +1850,20 @@ export declare namespace SubscriptionScheduleCreateParams {
1342
1850
  * 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.
1343
1851
  */
1344
1852
  tax_rates?: Emptyable<Array<string>>;
1853
+ /**
1854
+ * Options that configure the trial on the subscription item.
1855
+ */
1856
+ trial?: Item.Trial;
1857
+ /**
1858
+ * The ID of the trial offer to apply to the configuration item.
1859
+ */
1860
+ trial_offer?: string;
1861
+ }
1862
+ interface PauseCollection {
1863
+ /**
1864
+ * The payment collection behavior for this subscription while paused.
1865
+ */
1866
+ behavior: PauseCollection.Behavior;
1345
1867
  }
1346
1868
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
1347
1869
  interface TransferData {
@@ -1354,6 +1876,13 @@ export declare namespace SubscriptionScheduleCreateParams {
1354
1876
  */
1355
1877
  destination: string;
1356
1878
  }
1879
+ type TrialContinuation = 'continue' | 'none' | OtherString;
1880
+ interface TrialSettings {
1881
+ /**
1882
+ * Defines how the subscription should behave when a trial ends.
1883
+ */
1884
+ end_behavior?: TrialSettings.EndBehavior;
1885
+ }
1357
1886
  namespace AddInvoiceItem {
1358
1887
  interface Discount {
1359
1888
  /**
@@ -1364,6 +1893,10 @@ export declare namespace SubscriptionScheduleCreateParams {
1364
1893
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1365
1894
  */
1366
1895
  discount?: string;
1896
+ /**
1897
+ * Details to determine how long the discount should be applied for.
1898
+ */
1899
+ discount_end?: Discount.DiscountEnd;
1367
1900
  /**
1368
1901
  * ID of the promotion code to create a new discount for.
1369
1902
  */
@@ -1401,29 +1934,61 @@ export declare namespace SubscriptionScheduleCreateParams {
1401
1934
  */
1402
1935
  unit_amount_decimal?: Decimal;
1403
1936
  }
1404
- namespace Period {
1405
- interface End {
1406
- /**
1407
- * A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`.
1408
- */
1409
- timestamp?: number;
1937
+ namespace Discount {
1938
+ interface DiscountEnd {
1410
1939
  /**
1411
- * Select how to calculate the end of the invoice item period.
1940
+ * Time span for the redeemed discount.
1412
1941
  */
1413
- type: End.Type;
1414
- }
1415
- interface Start {
1942
+ duration?: DiscountEnd.Duration;
1416
1943
  /**
1417
- * A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`.
1944
+ * A precise Unix timestamp for the discount to end. Must be in the future.
1418
1945
  */
1419
1946
  timestamp?: number;
1420
1947
  /**
1421
- * Select how to calculate the start of the invoice item period.
1948
+ * The type of calculation made to determine when the discount ends.
1422
1949
  */
1423
- type: Start.Type;
1950
+ type: DiscountEnd.Type;
1424
1951
  }
1425
- namespace End {
1426
- type Type = 'min_item_period_end' | 'phase_end' | 'timestamp' | OtherString;
1952
+ namespace DiscountEnd {
1953
+ interface Duration {
1954
+ /**
1955
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1956
+ */
1957
+ interval: Duration.Interval;
1958
+ /**
1959
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1960
+ */
1961
+ interval_count: number;
1962
+ }
1963
+ type Type = 'duration' | 'timestamp' | OtherString;
1964
+ namespace Duration {
1965
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1966
+ }
1967
+ }
1968
+ }
1969
+ namespace Period {
1970
+ interface End {
1971
+ /**
1972
+ * A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`.
1973
+ */
1974
+ timestamp?: number;
1975
+ /**
1976
+ * Select how to calculate the end of the invoice item period.
1977
+ */
1978
+ type: End.Type;
1979
+ }
1980
+ interface Start {
1981
+ /**
1982
+ * A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`.
1983
+ */
1984
+ timestamp?: number;
1985
+ /**
1986
+ * Select how to calculate the start of the invoice item period.
1987
+ */
1988
+ type: Start.Type;
1989
+ }
1990
+ namespace End {
1991
+ type Type = 'min_item_period_end' | 'phase_end' | 'timestamp' | OtherString;
1427
1992
  }
1428
1993
  namespace Start {
1429
1994
  type Type = 'max_item_period_start' | 'phase_start' | 'timestamp' | OtherString;
@@ -1445,7 +2010,87 @@ export declare namespace SubscriptionScheduleCreateParams {
1445
2010
  type: Liability.Type;
1446
2011
  }
1447
2012
  namespace Liability {
1448
- type Type = 'account' | 'self' | OtherString;
2013
+ type Type = 'account' | 'application' | 'self' | OtherString;
2014
+ }
2015
+ }
2016
+ namespace Discount {
2017
+ interface DiscountEnd {
2018
+ /**
2019
+ * Time span for the redeemed discount.
2020
+ */
2021
+ duration?: DiscountEnd.Duration;
2022
+ /**
2023
+ * A precise Unix timestamp for the discount to end. Must be in the future.
2024
+ */
2025
+ timestamp?: number;
2026
+ /**
2027
+ * The type of calculation made to determine when the discount ends.
2028
+ */
2029
+ type: DiscountEnd.Type;
2030
+ }
2031
+ interface Settings {
2032
+ /**
2033
+ * Configures service period cycle anchoring.
2034
+ */
2035
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
2036
+ /**
2037
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `phase_start` if omitted.
2038
+ */
2039
+ start_date?: Settings.StartDate;
2040
+ }
2041
+ namespace DiscountEnd {
2042
+ interface Duration {
2043
+ /**
2044
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2045
+ */
2046
+ interval: Duration.Interval;
2047
+ /**
2048
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2049
+ */
2050
+ interval_count: number;
2051
+ }
2052
+ type Type = 'duration' | 'timestamp' | OtherString;
2053
+ namespace Duration {
2054
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2055
+ }
2056
+ }
2057
+ namespace Settings {
2058
+ interface ServicePeriodAnchorConfig {
2059
+ /**
2060
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
2061
+ */
2062
+ custom?: ServicePeriodAnchorConfig.Custom;
2063
+ /**
2064
+ * The type of service period anchor config. Defaults to `inherit` if omitted.
2065
+ */
2066
+ type?: ServicePeriodAnchorConfig.Type;
2067
+ }
2068
+ type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
2069
+ namespace ServicePeriodAnchorConfig {
2070
+ interface Custom {
2071
+ /**
2072
+ * The day of the month the anchor should be. Ranges from 1 to 31.
2073
+ */
2074
+ day_of_month: number;
2075
+ /**
2076
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
2077
+ */
2078
+ hour?: number;
2079
+ /**
2080
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
2081
+ */
2082
+ minute?: number;
2083
+ /**
2084
+ * The month to start full cycle periods. Ranges from 1 to 12.
2085
+ */
2086
+ month?: number;
2087
+ /**
2088
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
2089
+ */
2090
+ second?: number;
2091
+ }
2092
+ type Type = 'custom' | 'inherit' | OtherString;
2093
+ }
1449
2094
  }
1450
2095
  }
1451
2096
  namespace Duration {
@@ -1473,7 +2118,7 @@ export declare namespace SubscriptionScheduleCreateParams {
1473
2118
  type: Issuer.Type;
1474
2119
  }
1475
2120
  namespace Issuer {
1476
- type Type = 'account' | 'self' | OtherString;
2121
+ type Type = 'account' | 'application' | 'self' | OtherString;
1477
2122
  }
1478
2123
  }
1479
2124
  namespace Item {
@@ -1492,10 +2137,18 @@ export declare namespace SubscriptionScheduleCreateParams {
1492
2137
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1493
2138
  */
1494
2139
  discount?: string;
2140
+ /**
2141
+ * Details to determine how long the discount should be applied for.
2142
+ */
2143
+ discount_end?: Discount.DiscountEnd;
1495
2144
  /**
1496
2145
  * ID of the promotion code to create a new discount for.
1497
2146
  */
1498
2147
  promotion_code?: string;
2148
+ /**
2149
+ * Settings for discount application including service period anchoring.
2150
+ */
2151
+ settings?: Discount.Settings;
1499
2152
  }
1500
2153
  interface PriceData {
1501
2154
  /**
@@ -1523,6 +2176,96 @@ export declare namespace SubscriptionScheduleCreateParams {
1523
2176
  */
1524
2177
  unit_amount_decimal?: Decimal;
1525
2178
  }
2179
+ interface Trial {
2180
+ /**
2181
+ * 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.
2182
+ */
2183
+ converts_to?: Array<string>;
2184
+ /**
2185
+ * Determines the type of trial for this item.
2186
+ */
2187
+ type: Trial.Type;
2188
+ }
2189
+ namespace Discount {
2190
+ interface DiscountEnd {
2191
+ /**
2192
+ * Time span for the redeemed discount.
2193
+ */
2194
+ duration?: DiscountEnd.Duration;
2195
+ /**
2196
+ * A precise Unix timestamp for the discount to end. Must be in the future.
2197
+ */
2198
+ timestamp?: number;
2199
+ /**
2200
+ * The type of calculation made to determine when the discount ends.
2201
+ */
2202
+ type: DiscountEnd.Type;
2203
+ }
2204
+ interface Settings {
2205
+ /**
2206
+ * Configures service period cycle anchoring.
2207
+ */
2208
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
2209
+ /**
2210
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `phase_start` if omitted.
2211
+ */
2212
+ start_date?: Settings.StartDate;
2213
+ }
2214
+ namespace DiscountEnd {
2215
+ interface Duration {
2216
+ /**
2217
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2218
+ */
2219
+ interval: Duration.Interval;
2220
+ /**
2221
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2222
+ */
2223
+ interval_count: number;
2224
+ }
2225
+ type Type = 'duration' | 'timestamp' | OtherString;
2226
+ namespace Duration {
2227
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2228
+ }
2229
+ }
2230
+ namespace Settings {
2231
+ interface ServicePeriodAnchorConfig {
2232
+ /**
2233
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
2234
+ */
2235
+ custom?: ServicePeriodAnchorConfig.Custom;
2236
+ /**
2237
+ * The type of service period anchor config. Defaults to `inherit` if omitted.
2238
+ */
2239
+ type?: ServicePeriodAnchorConfig.Type;
2240
+ }
2241
+ type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
2242
+ namespace ServicePeriodAnchorConfig {
2243
+ interface Custom {
2244
+ /**
2245
+ * The day of the month the anchor should be. Ranges from 1 to 31.
2246
+ */
2247
+ day_of_month: number;
2248
+ /**
2249
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
2250
+ */
2251
+ hour?: number;
2252
+ /**
2253
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
2254
+ */
2255
+ minute?: number;
2256
+ /**
2257
+ * The month to start full cycle periods. Ranges from 1 to 12.
2258
+ */
2259
+ month?: number;
2260
+ /**
2261
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
2262
+ */
2263
+ second?: number;
2264
+ }
2265
+ type Type = 'custom' | 'inherit' | OtherString;
2266
+ }
2267
+ }
2268
+ }
1526
2269
  namespace PriceData {
1527
2270
  interface Recurring {
1528
2271
  /**
@@ -1539,8 +2282,28 @@ export declare namespace SubscriptionScheduleCreateParams {
1539
2282
  type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1540
2283
  }
1541
2284
  }
2285
+ namespace Trial {
2286
+ type Type = 'free' | 'paid' | OtherString;
2287
+ }
2288
+ }
2289
+ namespace PauseCollection {
2290
+ type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
2291
+ }
2292
+ namespace TrialSettings {
2293
+ interface EndBehavior {
2294
+ /**
2295
+ * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
2296
+ */
2297
+ prorate_up_front?: EndBehavior.ProrateUpFront;
2298
+ }
2299
+ namespace EndBehavior {
2300
+ type ProrateUpFront = 'defer' | 'include' | OtherString;
2301
+ }
1542
2302
  }
1543
2303
  }
2304
+ namespace Prebilling {
2305
+ type UpdateBehavior = 'prebill' | 'reset' | OtherString;
2306
+ }
1544
2307
  }
1545
2308
  export interface SubscriptionScheduleRetrieveParams {
1546
2309
  /**
@@ -1549,6 +2312,14 @@ export interface SubscriptionScheduleRetrieveParams {
1549
2312
  expand?: Array<string>;
1550
2313
  }
1551
2314
  export interface SubscriptionScheduleUpdateParams {
2315
+ /**
2316
+ * Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
2317
+ */
2318
+ billing_behavior?: SubscriptionScheduleUpdateParams.BillingBehavior;
2319
+ /**
2320
+ * Sets the billing schedules for the subscription schedule.
2321
+ */
2322
+ billing_schedules?: Emptyable<Array<SubscriptionScheduleUpdateParams.BillingSchedule>>;
1552
2323
  /**
1553
2324
  * Object representing the subscription schedule's default settings.
1554
2325
  */
@@ -1573,12 +2344,31 @@ export interface SubscriptionScheduleUpdateParams {
1573
2344
  * List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase. Note that past phases can be omitted.
1574
2345
  */
1575
2346
  phases?: Array<SubscriptionScheduleUpdateParams.Phase>;
2347
+ /**
2348
+ * If specified, the invoicing for the given billing cycle iterations will be processed now.
2349
+ */
2350
+ prebilling?: SubscriptionScheduleUpdateParams.Prebilling;
1576
2351
  /**
1577
2352
  * If the update changes the billing configuration (item price, quantity, etc.) of the current phase, indicates how prorations from this change should be handled. The default value is `create_prorations`.
1578
2353
  */
1579
2354
  proration_behavior?: SubscriptionScheduleUpdateParams.ProrationBehavior;
1580
2355
  }
1581
2356
  export declare namespace SubscriptionScheduleUpdateParams {
2357
+ type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front' | OtherString;
2358
+ interface BillingSchedule {
2359
+ /**
2360
+ * Configure billing schedule differently for individual subscription items.
2361
+ */
2362
+ applies_to?: Array<BillingSchedule.AppliesTo>;
2363
+ /**
2364
+ * The end date for the billing schedule. You must not set this earlier than current period end for every applicable subscription item.
2365
+ */
2366
+ bill_until?: BillingSchedule.BillUntil;
2367
+ /**
2368
+ * Specify a key for the billing schedule. Must be unique to this field, alphanumeric, and up to 200 characters. If not provided, a unique key will be generated.
2369
+ */
2370
+ key?: string;
2371
+ }
1582
2372
  interface DefaultSettings {
1583
2373
  /**
1584
2374
  * 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 application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
@@ -1616,6 +2406,10 @@ export declare namespace SubscriptionScheduleUpdateParams {
1616
2406
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
1617
2407
  */
1618
2408
  on_behalf_of?: Emptyable<string>;
2409
+ /**
2410
+ * Configures how the subscription schedule handles billing for phase transitions.
2411
+ */
2412
+ phase_effective_at?: DefaultSettings.PhaseEffectiveAt;
1619
2413
  /**
1620
2414
  * The data with which to automatically create a Transfer for each of the associated subscription's invoices.
1621
2415
  */
@@ -1685,6 +2479,10 @@ export declare namespace SubscriptionScheduleUpdateParams {
1685
2479
  * The number of intervals the phase should last. If set, `end_date` must not be set.
1686
2480
  */
1687
2481
  duration?: Phase.Duration;
2482
+ /**
2483
+ * Configures how the subscription schedule handles billing for phase transitions.
2484
+ */
2485
+ effective_at?: Phase.EffectiveAt;
1688
2486
  /**
1689
2487
  * The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.
1690
2488
  */
@@ -1705,6 +2503,10 @@ export declare namespace SubscriptionScheduleUpdateParams {
1705
2503
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
1706
2504
  */
1707
2505
  on_behalf_of?: string;
2506
+ /**
2507
+ * If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://docs.stripe.com/billing/subscriptions/pause-payment).
2508
+ */
2509
+ pause_collection?: Phase.PauseCollection;
1708
2510
  /**
1709
2511
  * Controls whether the subscription schedule should create [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when transitioning to this phase if there is a difference in billing configuration. It's different from the request-level [proration_behavior](https://docs.stripe.com/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration (item price, quantity, etc.) of the current phase.
1710
2512
  */
@@ -1721,12 +2523,72 @@ export declare namespace SubscriptionScheduleUpdateParams {
1721
2523
  * If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
1722
2524
  */
1723
2525
  trial?: boolean;
2526
+ /**
2527
+ * Specify trial behavior when crossing phase boundaries
2528
+ */
2529
+ trial_continuation?: Phase.TrialContinuation;
1724
2530
  /**
1725
2531
  * Sets the phase to trialing from the start date to this date. Must be within the phase. When combined with `trial=true`, it must match the phase end date.
1726
2532
  */
1727
2533
  trial_end?: number | 'now';
2534
+ /**
2535
+ * Settings related to subscription trials.
2536
+ */
2537
+ trial_settings?: Phase.TrialSettings;
2538
+ }
2539
+ interface Prebilling {
2540
+ /**
2541
+ * This is used to determine the number of billing cycles to prebill.
2542
+ */
2543
+ iterations: number;
2544
+ /**
2545
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
2546
+ */
2547
+ update_behavior?: Prebilling.UpdateBehavior;
1728
2548
  }
1729
2549
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
2550
+ namespace BillingSchedule {
2551
+ interface AppliesTo {
2552
+ /**
2553
+ * The ID of the price object.
2554
+ */
2555
+ price?: string;
2556
+ /**
2557
+ * Controls which subscription items the billing schedule applies to.
2558
+ */
2559
+ type: 'price';
2560
+ }
2561
+ interface BillUntil {
2562
+ /**
2563
+ * Specifies the billing period.
2564
+ */
2565
+ duration?: BillUntil.Duration;
2566
+ /**
2567
+ * The end date of the billing schedule.
2568
+ */
2569
+ timestamp?: number;
2570
+ /**
2571
+ * Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
2572
+ */
2573
+ type: BillUntil.Type;
2574
+ }
2575
+ namespace BillUntil {
2576
+ interface Duration {
2577
+ /**
2578
+ * Specifies billing duration. Either `day`, `week`, `month` or `year`.
2579
+ */
2580
+ interval: Duration.Interval;
2581
+ /**
2582
+ * The multiplier applied to the interval.
2583
+ */
2584
+ interval_count?: number;
2585
+ }
2586
+ type Type = 'duration' | 'timestamp' | OtherString;
2587
+ namespace Duration {
2588
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2589
+ }
2590
+ }
2591
+ }
1730
2592
  namespace DefaultSettings {
1731
2593
  interface AutomaticTax {
1732
2594
  /**
@@ -1767,6 +2629,7 @@ export declare namespace SubscriptionScheduleUpdateParams {
1767
2629
  */
1768
2630
  issuer?: InvoiceSettings.Issuer;
1769
2631
  }
2632
+ type PhaseEffectiveAt = 'billing_period_start' | 'phase_start' | OtherString;
1770
2633
  interface TransferData {
1771
2634
  /**
1772
2635
  * 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.
@@ -1789,7 +2652,7 @@ export declare namespace SubscriptionScheduleUpdateParams {
1789
2652
  type: Liability.Type;
1790
2653
  }
1791
2654
  namespace Liability {
1792
- type Type = 'account' | 'self' | OtherString;
2655
+ type Type = 'account' | 'application' | 'self' | OtherString;
1793
2656
  }
1794
2657
  }
1795
2658
  namespace InvoiceSettings {
@@ -1814,7 +2677,7 @@ export declare namespace SubscriptionScheduleUpdateParams {
1814
2677
  type: Issuer.Type;
1815
2678
  }
1816
2679
  namespace Issuer {
1817
- type Type = 'account' | 'self' | OtherString;
2680
+ type Type = 'account' | 'application' | 'self' | OtherString;
1818
2681
  }
1819
2682
  }
1820
2683
  }
@@ -2020,10 +2883,18 @@ export declare namespace SubscriptionScheduleUpdateParams {
2020
2883
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2021
2884
  */
2022
2885
  discount?: string;
2886
+ /**
2887
+ * Details to determine how long the discount should be applied for.
2888
+ */
2889
+ discount_end?: Discount.DiscountEnd;
2023
2890
  /**
2024
2891
  * ID of the promotion code to create a new discount for.
2025
2892
  */
2026
2893
  promotion_code?: string;
2894
+ /**
2895
+ * Settings for discount application including service period anchoring.
2896
+ */
2897
+ settings?: Discount.Settings;
2027
2898
  }
2028
2899
  interface Duration {
2029
2900
  /**
@@ -2035,6 +2906,7 @@ export declare namespace SubscriptionScheduleUpdateParams {
2035
2906
  */
2036
2907
  interval_count?: number;
2037
2908
  }
2909
+ type EffectiveAt = 'billing_period_start' | 'phase_start' | OtherString;
2038
2910
  interface InvoiceSettings {
2039
2911
  /**
2040
2912
  * The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule.
@@ -2094,6 +2966,20 @@ export declare namespace SubscriptionScheduleUpdateParams {
2094
2966
  * 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.
2095
2967
  */
2096
2968
  tax_rates?: Emptyable<Array<string>>;
2969
+ /**
2970
+ * Options that configure the trial on the subscription item.
2971
+ */
2972
+ trial?: Item.Trial;
2973
+ /**
2974
+ * The ID of the trial offer to apply to the configuration item.
2975
+ */
2976
+ trial_offer?: string;
2977
+ }
2978
+ interface PauseCollection {
2979
+ /**
2980
+ * The payment collection behavior for this subscription while paused.
2981
+ */
2982
+ behavior: PauseCollection.Behavior;
2097
2983
  }
2098
2984
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
2099
2985
  interface TransferData {
@@ -2106,6 +2992,13 @@ export declare namespace SubscriptionScheduleUpdateParams {
2106
2992
  */
2107
2993
  destination: string;
2108
2994
  }
2995
+ type TrialContinuation = 'continue' | 'none' | OtherString;
2996
+ interface TrialSettings {
2997
+ /**
2998
+ * Defines how the subscription should behave when a trial ends.
2999
+ */
3000
+ end_behavior?: TrialSettings.EndBehavior;
3001
+ }
2109
3002
  namespace AddInvoiceItem {
2110
3003
  interface Discount {
2111
3004
  /**
@@ -2116,6 +3009,10 @@ export declare namespace SubscriptionScheduleUpdateParams {
2116
3009
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2117
3010
  */
2118
3011
  discount?: string;
3012
+ /**
3013
+ * Details to determine how long the discount should be applied for.
3014
+ */
3015
+ discount_end?: Discount.DiscountEnd;
2119
3016
  /**
2120
3017
  * ID of the promotion code to create a new discount for.
2121
3018
  */
@@ -2153,6 +3050,38 @@ export declare namespace SubscriptionScheduleUpdateParams {
2153
3050
  */
2154
3051
  unit_amount_decimal?: Decimal;
2155
3052
  }
3053
+ namespace Discount {
3054
+ interface DiscountEnd {
3055
+ /**
3056
+ * Time span for the redeemed discount.
3057
+ */
3058
+ duration?: DiscountEnd.Duration;
3059
+ /**
3060
+ * A precise Unix timestamp for the discount to end. Must be in the future.
3061
+ */
3062
+ timestamp?: number;
3063
+ /**
3064
+ * The type of calculation made to determine when the discount ends.
3065
+ */
3066
+ type: DiscountEnd.Type;
3067
+ }
3068
+ namespace DiscountEnd {
3069
+ interface Duration {
3070
+ /**
3071
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3072
+ */
3073
+ interval: Duration.Interval;
3074
+ /**
3075
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3076
+ */
3077
+ interval_count: number;
3078
+ }
3079
+ type Type = 'duration' | 'timestamp' | OtherString;
3080
+ namespace Duration {
3081
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3082
+ }
3083
+ }
3084
+ }
2156
3085
  namespace Period {
2157
3086
  interface End {
2158
3087
  /**
@@ -2197,7 +3126,87 @@ export declare namespace SubscriptionScheduleUpdateParams {
2197
3126
  type: Liability.Type;
2198
3127
  }
2199
3128
  namespace Liability {
2200
- type Type = 'account' | 'self' | OtherString;
3129
+ type Type = 'account' | 'application' | 'self' | OtherString;
3130
+ }
3131
+ }
3132
+ namespace Discount {
3133
+ interface DiscountEnd {
3134
+ /**
3135
+ * Time span for the redeemed discount.
3136
+ */
3137
+ duration?: DiscountEnd.Duration;
3138
+ /**
3139
+ * A precise Unix timestamp for the discount to end. Must be in the future.
3140
+ */
3141
+ timestamp?: number;
3142
+ /**
3143
+ * The type of calculation made to determine when the discount ends.
3144
+ */
3145
+ type: DiscountEnd.Type;
3146
+ }
3147
+ interface Settings {
3148
+ /**
3149
+ * Configures service period cycle anchoring.
3150
+ */
3151
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3152
+ /**
3153
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `phase_start` if omitted.
3154
+ */
3155
+ start_date?: Settings.StartDate;
3156
+ }
3157
+ namespace DiscountEnd {
3158
+ interface Duration {
3159
+ /**
3160
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3161
+ */
3162
+ interval: Duration.Interval;
3163
+ /**
3164
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3165
+ */
3166
+ interval_count: number;
3167
+ }
3168
+ type Type = 'duration' | 'timestamp' | OtherString;
3169
+ namespace Duration {
3170
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3171
+ }
3172
+ }
3173
+ namespace Settings {
3174
+ interface ServicePeriodAnchorConfig {
3175
+ /**
3176
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
3177
+ */
3178
+ custom?: ServicePeriodAnchorConfig.Custom;
3179
+ /**
3180
+ * The type of service period anchor config. Defaults to `inherit` if omitted.
3181
+ */
3182
+ type?: ServicePeriodAnchorConfig.Type;
3183
+ }
3184
+ type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
3185
+ namespace ServicePeriodAnchorConfig {
3186
+ interface Custom {
3187
+ /**
3188
+ * The day of the month the anchor should be. Ranges from 1 to 31.
3189
+ */
3190
+ day_of_month: number;
3191
+ /**
3192
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
3193
+ */
3194
+ hour?: number;
3195
+ /**
3196
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
3197
+ */
3198
+ minute?: number;
3199
+ /**
3200
+ * The month to start full cycle periods. Ranges from 1 to 12.
3201
+ */
3202
+ month?: number;
3203
+ /**
3204
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
3205
+ */
3206
+ second?: number;
3207
+ }
3208
+ type Type = 'custom' | 'inherit' | OtherString;
3209
+ }
2201
3210
  }
2202
3211
  }
2203
3212
  namespace Duration {
@@ -2225,7 +3234,7 @@ export declare namespace SubscriptionScheduleUpdateParams {
2225
3234
  type: Issuer.Type;
2226
3235
  }
2227
3236
  namespace Issuer {
2228
- type Type = 'account' | 'self' | OtherString;
3237
+ type Type = 'account' | 'application' | 'self' | OtherString;
2229
3238
  }
2230
3239
  }
2231
3240
  namespace Item {
@@ -2244,10 +3253,18 @@ export declare namespace SubscriptionScheduleUpdateParams {
2244
3253
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2245
3254
  */
2246
3255
  discount?: string;
3256
+ /**
3257
+ * Details to determine how long the discount should be applied for.
3258
+ */
3259
+ discount_end?: Discount.DiscountEnd;
2247
3260
  /**
2248
3261
  * ID of the promotion code to create a new discount for.
2249
3262
  */
2250
3263
  promotion_code?: string;
3264
+ /**
3265
+ * Settings for discount application including service period anchoring.
3266
+ */
3267
+ settings?: Discount.Settings;
2251
3268
  }
2252
3269
  interface PriceData {
2253
3270
  /**
@@ -2275,9 +3292,99 @@ export declare namespace SubscriptionScheduleUpdateParams {
2275
3292
  */
2276
3293
  unit_amount_decimal?: Decimal;
2277
3294
  }
2278
- namespace PriceData {
2279
- interface Recurring {
2280
- /**
3295
+ interface Trial {
3296
+ /**
3297
+ * 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.
3298
+ */
3299
+ converts_to?: Array<string>;
3300
+ /**
3301
+ * Determines the type of trial for this item.
3302
+ */
3303
+ type: Trial.Type;
3304
+ }
3305
+ namespace Discount {
3306
+ interface DiscountEnd {
3307
+ /**
3308
+ * Time span for the redeemed discount.
3309
+ */
3310
+ duration?: DiscountEnd.Duration;
3311
+ /**
3312
+ * A precise Unix timestamp for the discount to end. Must be in the future.
3313
+ */
3314
+ timestamp?: number;
3315
+ /**
3316
+ * The type of calculation made to determine when the discount ends.
3317
+ */
3318
+ type: DiscountEnd.Type;
3319
+ }
3320
+ interface Settings {
3321
+ /**
3322
+ * Configures service period cycle anchoring.
3323
+ */
3324
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3325
+ /**
3326
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `phase_start` if omitted.
3327
+ */
3328
+ start_date?: Settings.StartDate;
3329
+ }
3330
+ namespace DiscountEnd {
3331
+ interface Duration {
3332
+ /**
3333
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3334
+ */
3335
+ interval: Duration.Interval;
3336
+ /**
3337
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3338
+ */
3339
+ interval_count: number;
3340
+ }
3341
+ type Type = 'duration' | 'timestamp' | OtherString;
3342
+ namespace Duration {
3343
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3344
+ }
3345
+ }
3346
+ namespace Settings {
3347
+ interface ServicePeriodAnchorConfig {
3348
+ /**
3349
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
3350
+ */
3351
+ custom?: ServicePeriodAnchorConfig.Custom;
3352
+ /**
3353
+ * The type of service period anchor config. Defaults to `inherit` if omitted.
3354
+ */
3355
+ type?: ServicePeriodAnchorConfig.Type;
3356
+ }
3357
+ type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
3358
+ namespace ServicePeriodAnchorConfig {
3359
+ interface Custom {
3360
+ /**
3361
+ * The day of the month the anchor should be. Ranges from 1 to 31.
3362
+ */
3363
+ day_of_month: number;
3364
+ /**
3365
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
3366
+ */
3367
+ hour?: number;
3368
+ /**
3369
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
3370
+ */
3371
+ minute?: number;
3372
+ /**
3373
+ * The month to start full cycle periods. Ranges from 1 to 12.
3374
+ */
3375
+ month?: number;
3376
+ /**
3377
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
3378
+ */
3379
+ second?: number;
3380
+ }
3381
+ type Type = 'custom' | 'inherit' | OtherString;
3382
+ }
3383
+ }
3384
+ }
3385
+ namespace PriceData {
3386
+ interface Recurring {
3387
+ /**
2281
3388
  * Specifies billing frequency. Either `day`, `week`, `month` or `year`.
2282
3389
  */
2283
3390
  interval: Recurring.Interval;
@@ -2291,7 +3398,27 @@ export declare namespace SubscriptionScheduleUpdateParams {
2291
3398
  type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2292
3399
  }
2293
3400
  }
3401
+ namespace Trial {
3402
+ type Type = 'free' | 'paid' | OtherString;
3403
+ }
3404
+ }
3405
+ namespace PauseCollection {
3406
+ type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
2294
3407
  }
3408
+ namespace TrialSettings {
3409
+ interface EndBehavior {
3410
+ /**
3411
+ * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
3412
+ */
3413
+ prorate_up_front?: EndBehavior.ProrateUpFront;
3414
+ }
3415
+ namespace EndBehavior {
3416
+ type ProrateUpFront = 'defer' | 'include' | OtherString;
3417
+ }
3418
+ }
3419
+ }
3420
+ namespace Prebilling {
3421
+ type UpdateBehavior = 'prebill' | 'reset' | OtherString;
2295
3422
  }
2296
3423
  }
2297
3424
  export interface SubscriptionScheduleListParams extends PaginationParams {
@@ -2328,6 +3455,847 @@ export interface SubscriptionScheduleListParams extends PaginationParams {
2328
3455
  */
2329
3456
  scheduled?: boolean;
2330
3457
  }
3458
+ export interface SubscriptionScheduleAmendParams {
3459
+ /**
3460
+ * Changes to apply to the phases of the subscription schedule, in the order provided.
3461
+ */
3462
+ amendments?: Array<SubscriptionScheduleAmendParams.Amendment>;
3463
+ /**
3464
+ * Specifies which fields in the response should be expanded.
3465
+ */
3466
+ expand?: Array<string>;
3467
+ /**
3468
+ * Provide any time periods to bill in advance.
3469
+ */
3470
+ prebilling?: Emptyable<Array<SubscriptionScheduleAmendParams.Prebilling>>;
3471
+ /**
3472
+ * In cases where the amendment changes the currently active phase,
3473
+ * specifies if and how to prorate at the time of the request.
3474
+ */
3475
+ proration_behavior?: SubscriptionScheduleAmendParams.ProrationBehavior;
3476
+ /**
3477
+ * Changes to apply to the subscription schedule.
3478
+ */
3479
+ schedule_settings?: SubscriptionScheduleAmendParams.ScheduleSettings;
3480
+ }
3481
+ export declare namespace SubscriptionScheduleAmendParams {
3482
+ interface Amendment {
3483
+ /**
3484
+ * Details to identify the end of the time range modified by the proposed change. If not supplied, the amendment is considered a point-in-time operation that only affects the exact timestamp at `amendment_start`, and a restricted set of attributes is supported on the amendment.
3485
+ */
3486
+ amendment_end?: Amendment.AmendmentEnd;
3487
+ /**
3488
+ * Details to identify the earliest timestamp where the proposed change should take effect.
3489
+ */
3490
+ amendment_start: Amendment.AmendmentStart;
3491
+ /**
3492
+ * For point-in-time amendments (having no `amendment_end`), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the `amendment_start` timestamp. For time-span based amendments (having both `amendment_start` and `amendment_end`), the only value valid is `automatic`, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.
3493
+ */
3494
+ billing_cycle_anchor?: Amendment.BillingCycleAnchor;
3495
+ /**
3496
+ * Actions to apply to the billing schedules.
3497
+ */
3498
+ billing_schedules_actions?: Array<Amendment.BillingSchedulesAction>;
3499
+ /**
3500
+ * Changes to the coupons being redeemed or discounts being applied during the amendment time span.
3501
+ */
3502
+ discount_actions?: Array<Amendment.DiscountAction>;
3503
+ /**
3504
+ * Configures how the subscription schedule handles billing for phase transitions.
3505
+ */
3506
+ effective_at?: Amendment.EffectiveAt;
3507
+ /**
3508
+ * Changes to the subscription items during the amendment time span.
3509
+ */
3510
+ item_actions?: Array<Amendment.ItemAction>;
3511
+ /**
3512
+ * Instructions for how to modify phase metadata
3513
+ */
3514
+ metadata_actions?: Array<Amendment.MetadataAction>;
3515
+ /**
3516
+ * Changes to how Stripe handles prorations during the amendment time span. Affects if and how prorations are created when a future phase starts. In cases where the amendment changes the currently active phase, it is used to determine whether or how to prorate now, at the time of the request. Also supported as a point-in-time operation when `amendment_end` is `null`.
3517
+ */
3518
+ proration_behavior?: Amendment.ProrationBehavior;
3519
+ /**
3520
+ * Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
3521
+ */
3522
+ set_pause_collection?: Amendment.SetPauseCollection;
3523
+ /**
3524
+ * Ends the subscription schedule early as dictated by either the accompanying amendment's start or end.
3525
+ */
3526
+ set_schedule_end?: Amendment.SetScheduleEnd;
3527
+ /**
3528
+ * Settings related to subscription trials.
3529
+ */
3530
+ trial_settings?: Amendment.TrialSettings;
3531
+ }
3532
+ interface Prebilling {
3533
+ /**
3534
+ * The beginning of the prebilled time period. The default value is `now`.
3535
+ */
3536
+ bill_from?: Prebilling.BillFrom;
3537
+ /**
3538
+ * The end of the prebilled time period.
3539
+ */
3540
+ bill_until?: Prebilling.BillUntil;
3541
+ /**
3542
+ * When the prebilling invoice should be created. The default value is `now`.
3543
+ */
3544
+ invoice_at?: 'now';
3545
+ /**
3546
+ * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
3547
+ */
3548
+ update_behavior?: Prebilling.UpdateBehavior;
3549
+ }
3550
+ type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
3551
+ interface ScheduleSettings {
3552
+ /**
3553
+ * Behavior of the subscription schedule and underlying subscription when it ends.
3554
+ */
3555
+ end_behavior?: ScheduleSettings.EndBehavior;
3556
+ }
3557
+ namespace Amendment {
3558
+ interface AmendmentEnd {
3559
+ /**
3560
+ * Use the `end` time of a given discount.
3561
+ */
3562
+ discount_end?: AmendmentEnd.DiscountEnd;
3563
+ /**
3564
+ * Time span for the amendment starting from the `amendment_start`.
3565
+ */
3566
+ duration?: AmendmentEnd.Duration;
3567
+ /**
3568
+ * A precise Unix timestamp for the amendment to end. Must be after the `amendment_start`.
3569
+ */
3570
+ timestamp?: number;
3571
+ /**
3572
+ * Select one of three ways to pass the `amendment_end`.
3573
+ */
3574
+ type: AmendmentEnd.Type;
3575
+ }
3576
+ interface AmendmentStart {
3577
+ /**
3578
+ * Details of another amendment in the same array, immediately after which this amendment should begin.
3579
+ */
3580
+ amendment_end?: AmendmentStart.AmendmentEnd;
3581
+ /**
3582
+ * Use the `end` time of a given discount.
3583
+ */
3584
+ discount_end?: AmendmentStart.DiscountEnd;
3585
+ /**
3586
+ * A precise Unix timestamp for the amendment to start.
3587
+ */
3588
+ timestamp?: number;
3589
+ /**
3590
+ * Select one of three ways to pass the `amendment_start`.
3591
+ */
3592
+ type: AmendmentStart.Type;
3593
+ }
3594
+ type BillingCycleAnchor = 'amendment_start' | 'automatic' | OtherString;
3595
+ interface BillingSchedulesAction {
3596
+ /**
3597
+ * Specify which subscription items the billing schedule applies to.
3598
+ */
3599
+ applies_to?: Array<BillingSchedulesAction.AppliesTo>;
3600
+ /**
3601
+ * Select the action.
3602
+ */
3603
+ type: BillingSchedulesAction.Type;
3604
+ }
3605
+ interface DiscountAction {
3606
+ /**
3607
+ * Details of the discount to add.
3608
+ */
3609
+ add?: DiscountAction.Add;
3610
+ /**
3611
+ * Details of the discount to remove.
3612
+ */
3613
+ remove?: DiscountAction.Remove;
3614
+ /**
3615
+ * Details of the discount to replace the existing discounts with.
3616
+ */
3617
+ set?: DiscountAction.Set;
3618
+ /**
3619
+ * Determines the type of discount action.
3620
+ */
3621
+ type: DiscountAction.Type;
3622
+ }
3623
+ type EffectiveAt = 'amendment_start' | 'billing_period_start' | OtherString;
3624
+ interface ItemAction {
3625
+ /**
3626
+ * Details of the subscription item to add. If an item with the same `price` exists, it will be replaced by this new item. Otherwise, it adds the new item.
3627
+ */
3628
+ add?: ItemAction.Add;
3629
+ /**
3630
+ * Details of the subscription item to remove.
3631
+ */
3632
+ remove?: ItemAction.Remove;
3633
+ /**
3634
+ * Details of the subscription item to replace the existing items with. If an item with the `set[price]` already exists, the `items` array is not cleared. Instead, all of the other `set` properties that are passed in this request will replace the existing values for the configuration item.
3635
+ */
3636
+ set?: ItemAction.Set;
3637
+ /**
3638
+ * Determines the type of item action.
3639
+ */
3640
+ type: ItemAction.Type;
3641
+ }
3642
+ interface MetadataAction {
3643
+ /**
3644
+ * Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata.
3645
+ */
3646
+ add?: {
3647
+ [key: string]: string;
3648
+ };
3649
+ /**
3650
+ * Keys to remove from schedule phase metadata.
3651
+ */
3652
+ remove?: Array<string>;
3653
+ /**
3654
+ * Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten.
3655
+ */
3656
+ set?: Emptyable<{
3657
+ [key: string]: string;
3658
+ }>;
3659
+ /**
3660
+ * Select one of three ways to update phase-level `metadata` on subscription schedules.
3661
+ */
3662
+ type: MetadataAction.Type;
3663
+ }
3664
+ type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
3665
+ interface SetPauseCollection {
3666
+ /**
3667
+ * Details of the pause_collection behavior to apply to the amendment.
3668
+ */
3669
+ set?: SetPauseCollection.Set;
3670
+ /**
3671
+ * Determines the type of the pause_collection amendment.
3672
+ */
3673
+ type: SetPauseCollection.Type;
3674
+ }
3675
+ type SetScheduleEnd = 'amendment_end' | 'amendment_start' | OtherString;
3676
+ interface TrialSettings {
3677
+ /**
3678
+ * Defines how the subscription should behave when a trial ends.
3679
+ */
3680
+ end_behavior?: TrialSettings.EndBehavior;
3681
+ }
3682
+ namespace AmendmentEnd {
3683
+ interface DiscountEnd {
3684
+ /**
3685
+ * The ID of a specific discount.
3686
+ */
3687
+ discount: string;
3688
+ }
3689
+ interface Duration {
3690
+ /**
3691
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3692
+ */
3693
+ interval: Duration.Interval;
3694
+ /**
3695
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3696
+ */
3697
+ interval_count: number;
3698
+ }
3699
+ type Type = 'discount_end' | 'duration' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
3700
+ namespace Duration {
3701
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3702
+ }
3703
+ }
3704
+ namespace AmendmentStart {
3705
+ interface AmendmentEnd {
3706
+ /**
3707
+ * The position of the previous amendment in the `amendments` array after which this amendment should begin. Indexes start from 0 and must be less than the index of the current amendment in the array.
3708
+ */
3709
+ index: number;
3710
+ }
3711
+ interface DiscountEnd {
3712
+ /**
3713
+ * The ID of a specific discount.
3714
+ */
3715
+ discount: string;
3716
+ }
3717
+ type Type = 'amendment_end' | 'discount_end' | 'now' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
3718
+ }
3719
+ namespace BillingSchedulesAction {
3720
+ interface AppliesTo {
3721
+ /**
3722
+ * The ID of the price object.
3723
+ */
3724
+ price?: string;
3725
+ /**
3726
+ * Controls which subscription items the billing schedule applies to.
3727
+ */
3728
+ type: 'price';
3729
+ }
3730
+ type Type = 'remove' | 'set' | OtherString;
3731
+ }
3732
+ namespace DiscountAction {
3733
+ interface Add {
3734
+ /**
3735
+ * The coupon code to redeem.
3736
+ */
3737
+ coupon?: string;
3738
+ /**
3739
+ * An ID of an existing discount for a coupon that was already redeemed.
3740
+ */
3741
+ discount?: string;
3742
+ /**
3743
+ * Details to determine how long the discount should be applied for.
3744
+ */
3745
+ discount_end?: Add.DiscountEnd;
3746
+ /**
3747
+ * The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.
3748
+ */
3749
+ index?: number;
3750
+ /**
3751
+ * The promotion code to redeem.
3752
+ */
3753
+ promotion_code?: string;
3754
+ /**
3755
+ * Settings for discount application including service period anchoring.
3756
+ */
3757
+ settings?: Add.Settings;
3758
+ }
3759
+ interface Remove {
3760
+ /**
3761
+ * The coupon code to remove from the `discounts` array.
3762
+ */
3763
+ coupon?: string;
3764
+ /**
3765
+ * The ID of a discount to remove from the `discounts` array.
3766
+ */
3767
+ discount?: string;
3768
+ /**
3769
+ * The ID of a promotion code to remove from the `discounts` array.
3770
+ */
3771
+ promotion_code?: string;
3772
+ }
3773
+ interface Set {
3774
+ /**
3775
+ * The coupon code to replace the `discounts` array with.
3776
+ */
3777
+ coupon?: string;
3778
+ /**
3779
+ * An ID of an existing discount to replace the `discounts` array with.
3780
+ */
3781
+ discount?: string;
3782
+ /**
3783
+ * An ID of an existing promotion code to replace the `discounts` array with.
3784
+ */
3785
+ promotion_code?: string;
3786
+ /**
3787
+ * Settings for discount application including service period anchoring.
3788
+ */
3789
+ settings?: Set.Settings;
3790
+ }
3791
+ type Type = 'add' | 'remove' | 'set' | OtherString;
3792
+ namespace Add {
3793
+ interface DiscountEnd {
3794
+ /**
3795
+ * The type of calculation made to determine when the discount ends.
3796
+ */
3797
+ type: 'amendment_end';
3798
+ }
3799
+ interface Settings {
3800
+ /**
3801
+ * Configures service period cycle anchoring.
3802
+ */
3803
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3804
+ /**
3805
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
3806
+ */
3807
+ start_date?: Settings.StartDate;
3808
+ }
3809
+ namespace Settings {
3810
+ interface ServicePeriodAnchorConfig {
3811
+ /**
3812
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
3813
+ */
3814
+ custom?: ServicePeriodAnchorConfig.Custom;
3815
+ /**
3816
+ * The type of service period anchor config. Defaults to `inherit` if omitted.
3817
+ */
3818
+ type?: ServicePeriodAnchorConfig.Type;
3819
+ }
3820
+ type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
3821
+ namespace ServicePeriodAnchorConfig {
3822
+ interface Custom {
3823
+ /**
3824
+ * The day of the month the anchor should be. Ranges from 1 to 31.
3825
+ */
3826
+ day_of_month: number;
3827
+ /**
3828
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
3829
+ */
3830
+ hour?: number;
3831
+ /**
3832
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
3833
+ */
3834
+ minute?: number;
3835
+ /**
3836
+ * The month to start full cycle periods. Ranges from 1 to 12.
3837
+ */
3838
+ month?: number;
3839
+ /**
3840
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
3841
+ */
3842
+ second?: number;
3843
+ }
3844
+ type Type = 'custom' | 'inherit' | OtherString;
3845
+ }
3846
+ }
3847
+ }
3848
+ namespace Set {
3849
+ interface Settings {
3850
+ /**
3851
+ * Configures service period cycle anchoring.
3852
+ */
3853
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3854
+ /**
3855
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
3856
+ */
3857
+ start_date?: Settings.StartDate;
3858
+ }
3859
+ namespace Settings {
3860
+ interface ServicePeriodAnchorConfig {
3861
+ /**
3862
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
3863
+ */
3864
+ custom?: ServicePeriodAnchorConfig.Custom;
3865
+ /**
3866
+ * The type of service period anchor config. Defaults to `inherit` if omitted.
3867
+ */
3868
+ type?: ServicePeriodAnchorConfig.Type;
3869
+ }
3870
+ type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
3871
+ namespace ServicePeriodAnchorConfig {
3872
+ interface Custom {
3873
+ /**
3874
+ * The day of the month the anchor should be. Ranges from 1 to 31.
3875
+ */
3876
+ day_of_month: number;
3877
+ /**
3878
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
3879
+ */
3880
+ hour?: number;
3881
+ /**
3882
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
3883
+ */
3884
+ minute?: number;
3885
+ /**
3886
+ * The month to start full cycle periods. Ranges from 1 to 12.
3887
+ */
3888
+ month?: number;
3889
+ /**
3890
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
3891
+ */
3892
+ second?: number;
3893
+ }
3894
+ type Type = 'custom' | 'inherit' | OtherString;
3895
+ }
3896
+ }
3897
+ }
3898
+ }
3899
+ namespace ItemAction {
3900
+ interface Add {
3901
+ /**
3902
+ * The discounts applied to the item. Subscription item discounts are applied before subscription discounts.
3903
+ */
3904
+ discounts?: Array<Add.Discount>;
3905
+ /**
3906
+ * 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
3907
+ */
3908
+ metadata?: MetadataParam;
3909
+ /**
3910
+ * The ID of the price object.
3911
+ */
3912
+ price: string;
3913
+ /**
3914
+ * Quantity for this item.
3915
+ */
3916
+ quantity?: number;
3917
+ /**
3918
+ * The tax rates that apply to this subscription item. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.
3919
+ */
3920
+ tax_rates?: Array<string>;
3921
+ /**
3922
+ * Options that configure the trial on the subscription item.
3923
+ */
3924
+ trial?: Add.Trial;
3925
+ /**
3926
+ * The ID of the trial offer to apply to the configuration item.
3927
+ */
3928
+ trial_offer?: string;
3929
+ }
3930
+ interface Remove {
3931
+ /**
3932
+ * ID of a price to remove.
3933
+ */
3934
+ price: string;
3935
+ }
3936
+ interface Set {
3937
+ /**
3938
+ * If an item with the `price` already exists, passing this will override the `discounts` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `discounts`.
3939
+ */
3940
+ discounts?: Array<Set.Discount>;
3941
+ /**
3942
+ * If an item with the `price` already exists, passing this will override the `metadata` on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `metadata`.
3943
+ */
3944
+ metadata?: MetadataParam;
3945
+ /**
3946
+ * The ID of the price object.
3947
+ */
3948
+ price: string;
3949
+ /**
3950
+ * If an item with the `price` already exists, passing this will override the quantity on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `quantity`.
3951
+ */
3952
+ quantity?: number;
3953
+ /**
3954
+ * If an item with the `price` already exists, passing this will override the `tax_rates` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `tax_rates`.
3955
+ */
3956
+ tax_rates?: Array<string>;
3957
+ /**
3958
+ * If an item with the `price` already exists, passing this will override the `trial` configuration on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `trial`.
3959
+ */
3960
+ trial?: Set.Trial;
3961
+ /**
3962
+ * The ID of the trial offer to apply to the configuration item.
3963
+ */
3964
+ trial_offer?: string;
3965
+ }
3966
+ type Type = 'add' | 'remove' | 'set' | OtherString;
3967
+ namespace Add {
3968
+ interface Discount {
3969
+ /**
3970
+ * ID of the coupon to create a new discount for.
3971
+ */
3972
+ coupon?: string;
3973
+ /**
3974
+ * ID of an existing discount on the object (or one of its ancestors) to reuse.
3975
+ */
3976
+ discount?: string;
3977
+ /**
3978
+ * Details to determine how long the discount should be applied for.
3979
+ */
3980
+ discount_end?: Discount.DiscountEnd;
3981
+ /**
3982
+ * ID of the promotion code to create a new discount for.
3983
+ */
3984
+ promotion_code?: string;
3985
+ /**
3986
+ * Settings for discount application including service period anchoring.
3987
+ */
3988
+ settings?: Discount.Settings;
3989
+ }
3990
+ interface Trial {
3991
+ /**
3992
+ * 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.
3993
+ */
3994
+ converts_to?: Array<string>;
3995
+ /**
3996
+ * Determines the type of trial for this item.
3997
+ */
3998
+ type: Trial.Type;
3999
+ }
4000
+ namespace Discount {
4001
+ interface DiscountEnd {
4002
+ /**
4003
+ * Time span for the redeemed discount.
4004
+ */
4005
+ duration?: DiscountEnd.Duration;
4006
+ /**
4007
+ * A precise Unix timestamp for the discount to end. Must be in the future.
4008
+ */
4009
+ timestamp?: number;
4010
+ /**
4011
+ * The type of calculation made to determine when the discount ends.
4012
+ */
4013
+ type: DiscountEnd.Type;
4014
+ }
4015
+ interface Settings {
4016
+ /**
4017
+ * Configures service period cycle anchoring.
4018
+ */
4019
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
4020
+ /**
4021
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
4022
+ */
4023
+ start_date?: Settings.StartDate;
4024
+ }
4025
+ namespace DiscountEnd {
4026
+ interface Duration {
4027
+ /**
4028
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4029
+ */
4030
+ interval: Duration.Interval;
4031
+ /**
4032
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4033
+ */
4034
+ interval_count: number;
4035
+ }
4036
+ type Type = 'duration' | 'timestamp' | OtherString;
4037
+ namespace Duration {
4038
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
4039
+ }
4040
+ }
4041
+ namespace Settings {
4042
+ interface ServicePeriodAnchorConfig {
4043
+ /**
4044
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
4045
+ */
4046
+ custom?: ServicePeriodAnchorConfig.Custom;
4047
+ /**
4048
+ * The type of service period anchor config. Defaults to `inherit` if omitted.
4049
+ */
4050
+ type?: ServicePeriodAnchorConfig.Type;
4051
+ }
4052
+ type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
4053
+ namespace ServicePeriodAnchorConfig {
4054
+ interface Custom {
4055
+ /**
4056
+ * The day of the month the anchor should be. Ranges from 1 to 31.
4057
+ */
4058
+ day_of_month: number;
4059
+ /**
4060
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
4061
+ */
4062
+ hour?: number;
4063
+ /**
4064
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
4065
+ */
4066
+ minute?: number;
4067
+ /**
4068
+ * The month to start full cycle periods. Ranges from 1 to 12.
4069
+ */
4070
+ month?: number;
4071
+ /**
4072
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
4073
+ */
4074
+ second?: number;
4075
+ }
4076
+ type Type = 'custom' | 'inherit' | OtherString;
4077
+ }
4078
+ }
4079
+ }
4080
+ namespace Trial {
4081
+ type Type = 'free' | 'paid' | OtherString;
4082
+ }
4083
+ }
4084
+ namespace Set {
4085
+ interface Discount {
4086
+ /**
4087
+ * ID of the coupon to create a new discount for.
4088
+ */
4089
+ coupon?: string;
4090
+ /**
4091
+ * ID of an existing discount on the object (or one of its ancestors) to reuse.
4092
+ */
4093
+ discount?: string;
4094
+ /**
4095
+ * Details to determine how long the discount should be applied for.
4096
+ */
4097
+ discount_end?: Discount.DiscountEnd;
4098
+ /**
4099
+ * ID of the promotion code to create a new discount for.
4100
+ */
4101
+ promotion_code?: string;
4102
+ /**
4103
+ * Settings for discount application including service period anchoring.
4104
+ */
4105
+ settings?: Discount.Settings;
4106
+ }
4107
+ interface Trial {
4108
+ /**
4109
+ * 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.
4110
+ */
4111
+ converts_to?: Array<string>;
4112
+ /**
4113
+ * Determines the type of trial for this item.
4114
+ */
4115
+ type: Trial.Type;
4116
+ }
4117
+ namespace Discount {
4118
+ interface DiscountEnd {
4119
+ /**
4120
+ * Time span for the redeemed discount.
4121
+ */
4122
+ duration?: DiscountEnd.Duration;
4123
+ /**
4124
+ * A precise Unix timestamp for the discount to end. Must be in the future.
4125
+ */
4126
+ timestamp?: number;
4127
+ /**
4128
+ * The type of calculation made to determine when the discount ends.
4129
+ */
4130
+ type: DiscountEnd.Type;
4131
+ }
4132
+ interface Settings {
4133
+ /**
4134
+ * Configures service period cycle anchoring.
4135
+ */
4136
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
4137
+ /**
4138
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
4139
+ */
4140
+ start_date?: Settings.StartDate;
4141
+ }
4142
+ namespace DiscountEnd {
4143
+ interface Duration {
4144
+ /**
4145
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4146
+ */
4147
+ interval: Duration.Interval;
4148
+ /**
4149
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4150
+ */
4151
+ interval_count: number;
4152
+ }
4153
+ type Type = 'duration' | 'timestamp' | OtherString;
4154
+ namespace Duration {
4155
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
4156
+ }
4157
+ }
4158
+ namespace Settings {
4159
+ interface ServicePeriodAnchorConfig {
4160
+ /**
4161
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
4162
+ */
4163
+ custom?: ServicePeriodAnchorConfig.Custom;
4164
+ /**
4165
+ * The type of service period anchor config. Defaults to `inherit` if omitted.
4166
+ */
4167
+ type?: ServicePeriodAnchorConfig.Type;
4168
+ }
4169
+ type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
4170
+ namespace ServicePeriodAnchorConfig {
4171
+ interface Custom {
4172
+ /**
4173
+ * The day of the month the anchor should be. Ranges from 1 to 31.
4174
+ */
4175
+ day_of_month: number;
4176
+ /**
4177
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
4178
+ */
4179
+ hour?: number;
4180
+ /**
4181
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
4182
+ */
4183
+ minute?: number;
4184
+ /**
4185
+ * The month to start full cycle periods. Ranges from 1 to 12.
4186
+ */
4187
+ month?: number;
4188
+ /**
4189
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
4190
+ */
4191
+ second?: number;
4192
+ }
4193
+ type Type = 'custom' | 'inherit' | OtherString;
4194
+ }
4195
+ }
4196
+ }
4197
+ namespace Trial {
4198
+ type Type = 'free' | 'paid' | OtherString;
4199
+ }
4200
+ }
4201
+ }
4202
+ namespace MetadataAction {
4203
+ type Type = 'add' | 'remove' | 'set' | OtherString;
4204
+ }
4205
+ namespace SetPauseCollection {
4206
+ interface Set {
4207
+ /**
4208
+ * The payment collection behavior for this subscription while paused.
4209
+ */
4210
+ behavior: Set.Behavior;
4211
+ }
4212
+ type Type = 'remove' | 'set' | OtherString;
4213
+ namespace Set {
4214
+ type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
4215
+ }
4216
+ }
4217
+ namespace TrialSettings {
4218
+ interface EndBehavior {
4219
+ /**
4220
+ * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
4221
+ */
4222
+ prorate_up_front?: EndBehavior.ProrateUpFront;
4223
+ }
4224
+ namespace EndBehavior {
4225
+ type ProrateUpFront = 'defer' | 'include' | OtherString;
4226
+ }
4227
+ }
4228
+ }
4229
+ namespace Prebilling {
4230
+ interface BillFrom {
4231
+ /**
4232
+ * Start the prebilled period when a specified amendment begins.
4233
+ */
4234
+ amendment_start?: BillFrom.AmendmentStart;
4235
+ /**
4236
+ * Start the prebilled period at a precise integer timestamp, starting from the Unix epoch.
4237
+ */
4238
+ timestamp?: number;
4239
+ /**
4240
+ * Select one of several ways to pass the `bill_from` value.
4241
+ */
4242
+ type: BillFrom.Type;
4243
+ }
4244
+ interface BillUntil {
4245
+ /**
4246
+ * End the prebilled period when a specified amendment ends.
4247
+ */
4248
+ amendment_end?: BillUntil.AmendmentEnd;
4249
+ /**
4250
+ * Time span for prebilling, starting from `bill_from`.
4251
+ */
4252
+ duration?: BillUntil.Duration;
4253
+ /**
4254
+ * End the prebilled period at a precise integer timestamp, starting from the Unix epoch.
4255
+ */
4256
+ timestamp?: number;
4257
+ /**
4258
+ * Select one of several ways to pass the `bill_until` value.
4259
+ */
4260
+ type: BillUntil.Type;
4261
+ }
4262
+ type UpdateBehavior = 'prebill' | 'reset' | OtherString;
4263
+ namespace BillFrom {
4264
+ interface AmendmentStart {
4265
+ /**
4266
+ * The position of the amendment in the `amendments` array with which prebilling should begin. Indexes start from 0 and must be less than the total number of supplied amendments.
4267
+ */
4268
+ index: number;
4269
+ }
4270
+ type Type = 'amendment_start' | 'now' | 'timestamp' | OtherString;
4271
+ }
4272
+ namespace BillUntil {
4273
+ interface AmendmentEnd {
4274
+ /**
4275
+ * The position of the amendment in the `amendments` array at which prebilling should end. Indexes start from 0 and must be less than the total number of supplied amendments.
4276
+ */
4277
+ index: number;
4278
+ }
4279
+ interface Duration {
4280
+ /**
4281
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4282
+ */
4283
+ interval: Duration.Interval;
4284
+ /**
4285
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4286
+ */
4287
+ interval_count: number;
4288
+ }
4289
+ type Type = 'amendment_end' | 'duration' | 'schedule_end' | 'timestamp' | OtherString;
4290
+ namespace Duration {
4291
+ type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
4292
+ }
4293
+ }
4294
+ }
4295
+ namespace ScheduleSettings {
4296
+ type EndBehavior = 'cancel' | 'release' | OtherString;
4297
+ }
4298
+ }
2331
4299
  export interface SubscriptionScheduleCancelParams {
2332
4300
  /**
2333
4301
  * Specifies which fields in the response should be expanded.
@@ -2352,3 +4320,11 @@ export interface SubscriptionScheduleReleaseParams {
2352
4320
  */
2353
4321
  preserve_cancel_date?: boolean;
2354
4322
  }
4323
+ export interface SubscriptionScheduleSerializeBatchCancelParams {
4324
+ }
4325
+ export interface SubscriptionScheduleSerializeBatchCreateParams {
4326
+ }
4327
+ export interface SubscriptionScheduleSerializeBatchReleaseParams {
4328
+ }
4329
+ export interface SubscriptionScheduleSerializeBatchUpdateParams {
4330
+ }