stripe 22.2.0 → 22.3.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1405) hide show
  1. package/CHANGELOG.md +2722 -74
  2. package/README.md +57 -65
  3. package/VERSION +1 -1
  4. package/cjs/Error.d.ts +53 -0
  5. package/cjs/Error.js +134 -1
  6. package/cjs/Error.js.map +1 -1
  7. package/cjs/RequestSender.d.ts +0 -1
  8. package/cjs/RequestSender.js +0 -8
  9. package/cjs/RequestSender.js.map +1 -1
  10. package/cjs/StripeEventNotificationHandler.d.ts +19 -0
  11. package/cjs/StripeEventNotificationHandler.js +470 -0
  12. package/cjs/StripeEventNotificationHandler.js.map +1 -0
  13. package/cjs/Types.d.ts +4 -2
  14. package/cjs/apiVersion.d.ts +1 -2
  15. package/cjs/apiVersion.js +2 -3
  16. package/cjs/apiVersion.js.map +1 -1
  17. package/cjs/resources/AccountLinks.d.ts +5 -1
  18. package/cjs/resources/AccountNotices.d.ts +140 -0
  19. package/cjs/resources/AccountNotices.js +29 -0
  20. package/cjs/resources/AccountNotices.js.map +1 -0
  21. package/cjs/resources/AccountSessions.d.ts +463 -0
  22. package/cjs/resources/AccountSessions.js.map +1 -1
  23. package/cjs/resources/AccountSignals.d.ts +110 -0
  24. package/cjs/resources/AccountSignals.js +4 -0
  25. package/cjs/resources/AccountSignals.js.map +1 -0
  26. package/cjs/resources/Accounts.d.ts +1010 -6
  27. package/cjs/resources/Accounts.js +47 -0
  28. package/cjs/resources/Accounts.js.map +1 -1
  29. package/cjs/resources/ApplicationFees.d.ts +28 -1
  30. package/cjs/resources/Balance.d.ts +134 -0
  31. package/cjs/resources/BalanceSettings.d.ts +18 -0
  32. package/cjs/resources/BalanceTransactions.d.ts +1 -1
  33. package/cjs/resources/BalanceTransfers.d.ts +160 -0
  34. package/cjs/resources/BalanceTransfers.js +15 -0
  35. package/cjs/resources/BalanceTransfers.js.map +1 -0
  36. package/cjs/resources/BankAccounts.d.ts +2 -2
  37. package/cjs/resources/Billing/AlertRecovereds.d.ts +40 -0
  38. package/cjs/resources/Billing/AlertRecovereds.js +4 -0
  39. package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
  40. package/cjs/resources/Billing/AlertTriggereds.d.ts +57 -1
  41. package/cjs/resources/Billing/Alerts.d.ts +408 -5
  42. package/cjs/resources/Billing/Alerts.js +321 -5
  43. package/cjs/resources/Billing/Alerts.js.map +1 -1
  44. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
  45. package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
  46. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  47. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  48. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
  49. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  50. package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
  51. package/cjs/resources/Billing/Analytics/index.js +13 -0
  52. package/cjs/resources/Billing/Analytics/index.js.map +1 -0
  53. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +126 -2
  54. package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
  55. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  56. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  57. package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
  58. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  59. package/cjs/resources/Billing/CreditGrants.d.ts +85 -3
  60. package/cjs/resources/Billing/CreditGrants.js +134 -5
  61. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  62. package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
  63. package/cjs/resources/Billing/Meters.d.ts +31 -0
  64. package/cjs/resources/Billing/index.d.ts +6 -0
  65. package/cjs/resources/Billing/index.js +2 -0
  66. package/cjs/resources/Billing/index.js.map +1 -1
  67. package/cjs/resources/Capabilities.d.ts +25 -2
  68. package/cjs/resources/Capital/FinancingOffers.d.ts +191 -0
  69. package/cjs/resources/Capital/FinancingOffers.js +30 -0
  70. package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
  71. package/cjs/resources/Capital/FinancingSummary.d.ts +98 -0
  72. package/cjs/resources/Capital/FinancingSummary.js +15 -0
  73. package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
  74. package/cjs/resources/Capital/FinancingTransactions.d.ts +143 -0
  75. package/cjs/resources/Capital/FinancingTransactions.js +24 -0
  76. package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
  77. package/cjs/resources/Capital/index.d.ts +25 -0
  78. package/cjs/resources/Capital/index.js +17 -0
  79. package/cjs/resources/Capital/index.js.map +1 -0
  80. package/cjs/resources/Cards.d.ts +15 -0
  81. package/cjs/resources/Charges.d.ts +3513 -70
  82. package/cjs/resources/Charges.js.map +1 -1
  83. package/cjs/resources/Checkout/Sessions.d.ts +792 -9
  84. package/cjs/resources/Checkout/Sessions.js +88 -0
  85. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  86. package/cjs/resources/Checkout/index.d.ts +1 -0
  87. package/cjs/resources/ConfirmationTokens.d.ts +130 -1
  88. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  89. package/cjs/resources/Coupons.d.ts +128 -2
  90. package/cjs/resources/Coupons.js +41 -0
  91. package/cjs/resources/Coupons.js.map +1 -1
  92. package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
  93. package/cjs/resources/CreditNotes.d.ts +7 -1
  94. package/cjs/resources/CreditNotes.js +13 -0
  95. package/cjs/resources/CreditNotes.js.map +1 -1
  96. package/cjs/resources/CustomerSessions.d.ts +74 -0
  97. package/cjs/resources/CustomerSessions.js +13 -0
  98. package/cjs/resources/CustomerSessions.js.map +1 -1
  99. package/cjs/resources/Customers.d.ts +85 -1
  100. package/cjs/resources/Customers.js +195 -0
  101. package/cjs/resources/Customers.js.map +1 -1
  102. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1405 -0
  103. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +39 -0
  104. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  105. package/cjs/resources/DelegatedCheckout/index.d.ts +16 -0
  106. package/cjs/resources/DelegatedCheckout/index.js +13 -0
  107. package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
  108. package/cjs/resources/Discounts.d.ts +19 -0
  109. package/cjs/resources/Disputes.d.ts +43 -0
  110. package/cjs/resources/Disputes.js +14 -0
  111. package/cjs/resources/Disputes.js.map +1 -1
  112. package/cjs/resources/Events.d.ts +573 -2
  113. package/cjs/resources/ExternalAccounts.d.ts +212 -1
  114. package/cjs/resources/ExternalAccounts.js +44 -0
  115. package/cjs/resources/ExternalAccounts.js.map +1 -1
  116. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  117. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
  118. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  119. package/cjs/resources/FinancialConnections/Accounts.d.ts +74 -4
  120. package/cjs/resources/FinancialConnections/Accounts.js +8 -0
  121. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  122. package/cjs/resources/FinancialConnections/Authorizations.d.ts +87 -0
  123. package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
  124. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
  125. package/cjs/resources/FinancialConnections/Institutions.d.ts +101 -0
  126. package/cjs/resources/FinancialConnections/Institutions.js +23 -0
  127. package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
  128. package/cjs/resources/FinancialConnections/Sessions.d.ts +155 -7
  129. package/cjs/resources/FinancialConnections/index.d.ts +21 -6
  130. package/cjs/resources/FinancialConnections/index.js +4 -0
  131. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  132. package/cjs/resources/FrMealVouchersOnboardings.d.ts +173 -0
  133. package/cjs/resources/FrMealVouchersOnboardings.js +42 -0
  134. package/cjs/resources/FrMealVouchersOnboardings.js.map +1 -0
  135. package/cjs/resources/FxQuotes.d.ts +212 -0
  136. package/cjs/resources/FxQuotes.js +29 -0
  137. package/cjs/resources/FxQuotes.js.map +1 -0
  138. package/cjs/resources/Identity/BlocklistEntries.d.ts +157 -0
  139. package/cjs/resources/Identity/BlocklistEntries.js +54 -0
  140. package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
  141. package/cjs/resources/Identity/VerificationReports.d.ts +33 -2
  142. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  143. package/cjs/resources/Identity/VerificationSessions.d.ts +11 -3
  144. package/cjs/resources/Identity/index.d.ts +18 -10
  145. package/cjs/resources/Identity/index.js +2 -0
  146. package/cjs/resources/Identity/index.js.map +1 -1
  147. package/cjs/resources/InvoiceItems.d.ts +203 -2
  148. package/cjs/resources/InvoiceItems.js +41 -0
  149. package/cjs/resources/InvoiceItems.js.map +1 -1
  150. package/cjs/resources/InvoiceLineItems.d.ts +174 -4
  151. package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
  152. package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
  153. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  154. package/cjs/resources/Invoices.d.ts +2063 -20
  155. package/cjs/resources/Invoices.js +221 -0
  156. package/cjs/resources/Invoices.js.map +1 -1
  157. package/cjs/resources/Issuing/Authorizations.d.ts +273 -0
  158. package/cjs/resources/Issuing/Cardholders.d.ts +5 -4
  159. package/cjs/resources/Issuing/Cards.d.ts +36 -0
  160. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
  161. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
  162. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  163. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
  164. package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
  165. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  166. package/cjs/resources/Issuing/Disputes.d.ts +190 -0
  167. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  168. package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
  169. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  170. package/cjs/resources/Issuing/Programs.d.ts +95 -0
  171. package/cjs/resources/Issuing/Programs.js +35 -0
  172. package/cjs/resources/Issuing/Programs.js.map +1 -0
  173. package/cjs/resources/Issuing/Settlements.d.ts +85 -0
  174. package/cjs/resources/Issuing/Settlements.js +4 -0
  175. package/cjs/resources/Issuing/Settlements.js.map +1 -0
  176. package/cjs/resources/Issuing/Transactions.d.ts +157 -0
  177. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  178. package/cjs/resources/Issuing/index.d.ts +55 -22
  179. package/cjs/resources/Issuing/index.js +8 -0
  180. package/cjs/resources/Issuing/index.js.map +1 -1
  181. package/cjs/resources/LineItems.d.ts +29 -2
  182. package/cjs/resources/Mandates.d.ts +33 -1
  183. package/cjs/resources/Mandates.js +8 -0
  184. package/cjs/resources/Mandates.js.map +1 -1
  185. package/cjs/resources/Margins.d.ts +115 -0
  186. package/cjs/resources/Margins.js +35 -0
  187. package/cjs/resources/Margins.js.map +1 -0
  188. package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  189. package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
  190. package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
  191. package/cjs/resources/Orchestration/index.d.ts +12 -0
  192. package/cjs/resources/Orchestration/index.js +13 -0
  193. package/cjs/resources/Orchestration/index.js.map +1 -0
  194. package/cjs/resources/Orders.d.ts +4761 -0
  195. package/cjs/resources/Orders.js +457 -0
  196. package/cjs/resources/Orders.js.map +1 -0
  197. package/cjs/resources/PaymentAttemptRecords.d.ts +453 -1
  198. package/cjs/resources/PaymentAttemptRecords.js +42 -0
  199. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  200. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
  201. package/cjs/resources/PaymentIntents.d.ts +16623 -3576
  202. package/cjs/resources/PaymentIntents.js +40 -0
  203. package/cjs/resources/PaymentIntents.js.map +1 -1
  204. package/cjs/resources/PaymentLinks.d.ts +74 -12
  205. package/cjs/resources/PaymentLocationCapabilities.d.ts +122 -0
  206. package/cjs/resources/PaymentLocationCapabilities.js +29 -0
  207. package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
  208. package/cjs/resources/PaymentLocations.d.ts +178 -0
  209. package/cjs/resources/PaymentLocations.js +41 -0
  210. package/cjs/resources/PaymentLocations.js.map +1 -0
  211. package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
  212. package/cjs/resources/PaymentMethodBalances.js +4 -0
  213. package/cjs/resources/PaymentMethodBalances.js.map +1 -0
  214. package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
  215. package/cjs/resources/PaymentMethods.d.ts +262 -3
  216. package/cjs/resources/PaymentMethods.js +20 -0
  217. package/cjs/resources/PaymentMethods.js.map +1 -1
  218. package/cjs/resources/PaymentRecords.d.ts +351 -21
  219. package/cjs/resources/PaymentRecords.js.map +1 -1
  220. package/cjs/resources/Persons.d.ts +24 -2
  221. package/cjs/resources/Plans.d.ts +16 -0
  222. package/cjs/resources/Prices.d.ts +76 -0
  223. package/cjs/resources/Prices.js +27 -0
  224. package/cjs/resources/Prices.js.map +1 -1
  225. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
  226. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
  227. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  228. package/cjs/resources/Privacy/RedactionJobs.d.ts +229 -0
  229. package/cjs/resources/Privacy/RedactionJobs.js +73 -0
  230. package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
  231. package/cjs/resources/Privacy/index.d.ts +22 -0
  232. package/cjs/resources/Privacy/index.js +13 -0
  233. package/cjs/resources/Privacy/index.js.map +1 -0
  234. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +127 -0
  235. package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
  236. package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
  237. package/cjs/resources/ProductCatalog/index.d.ts +12 -0
  238. package/cjs/resources/ProductCatalog/index.js +13 -0
  239. package/cjs/resources/ProductCatalog/index.js.map +1 -0
  240. package/cjs/resources/Products.d.ts +171 -0
  241. package/cjs/resources/Products.js +69 -0
  242. package/cjs/resources/Products.js.map +1 -1
  243. package/cjs/resources/Profiles.d.ts +26 -0
  244. package/cjs/resources/Profiles.js +4 -0
  245. package/cjs/resources/Profiles.js.map +1 -0
  246. package/cjs/resources/PromotionCodes.d.ts +12 -0
  247. package/cjs/resources/PromotionCodes.js +27 -0
  248. package/cjs/resources/PromotionCodes.js.map +1 -1
  249. package/cjs/resources/QuoteLines.d.ts +684 -0
  250. package/cjs/resources/QuoteLines.js +4 -0
  251. package/cjs/resources/QuoteLines.js.map +1 -0
  252. package/cjs/resources/QuotePreviewInvoices.d.ts +1173 -0
  253. package/cjs/resources/QuotePreviewInvoices.js +4 -0
  254. package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
  255. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +901 -0
  256. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
  257. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  258. package/cjs/resources/Quotes.d.ts +3548 -254
  259. package/cjs/resources/Quotes.js +1184 -16
  260. package/cjs/resources/Quotes.js.map +1 -1
  261. package/cjs/resources/Radar/AccountEvaluations.d.ts +270 -0
  262. package/cjs/resources/Radar/AccountEvaluations.js +27 -0
  263. package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
  264. package/cjs/resources/Radar/CustomerEvaluations.d.ts +214 -0
  265. package/cjs/resources/Radar/CustomerEvaluations.js +21 -0
  266. package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
  267. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
  268. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
  269. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  270. package/cjs/resources/Radar/PaymentEvaluations.d.ts +63 -1
  271. package/cjs/resources/Radar/ValueListItems.d.ts +8 -0
  272. package/cjs/resources/Radar/ValueListItems.js +13 -0
  273. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  274. package/cjs/resources/Radar/index.d.ts +34 -16
  275. package/cjs/resources/Radar/index.js +6 -0
  276. package/cjs/resources/Radar/index.js.map +1 -1
  277. package/cjs/resources/Refunds.d.ts +23 -0
  278. package/cjs/resources/Refunds.js +27 -0
  279. package/cjs/resources/Refunds.js.map +1 -1
  280. package/cjs/resources/Reserve/Holds.d.ts +53 -1
  281. package/cjs/resources/Reserve/Holds.js +19 -0
  282. package/cjs/resources/Reserve/Holds.js.map +1 -1
  283. package/cjs/resources/Reserve/Plans.d.ts +16 -0
  284. package/cjs/resources/Reserve/Plans.js +11 -0
  285. package/cjs/resources/Reserve/Plans.js.map +1 -1
  286. package/cjs/resources/Reserve/Releases.d.ts +41 -1
  287. package/cjs/resources/Reserve/Releases.js +19 -0
  288. package/cjs/resources/Reserve/Releases.js.map +1 -1
  289. package/cjs/resources/Reserve/index.d.ts +14 -3
  290. package/cjs/resources/Reserve/index.js +10 -2
  291. package/cjs/resources/Reserve/index.js.map +1 -1
  292. package/cjs/resources/RiskSignals.d.ts +10 -0
  293. package/cjs/resources/RiskSignals.js +4 -0
  294. package/cjs/resources/RiskSignals.js.map +1 -0
  295. package/cjs/resources/SetupAttempts.d.ts +26 -1
  296. package/cjs/resources/SetupIntents.d.ts +561 -11
  297. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1137 -0
  298. package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
  299. package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
  300. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +322 -0
  301. package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
  302. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
  303. package/cjs/resources/SharedPayment/index.d.ts +19 -0
  304. package/cjs/resources/SharedPayment/index.js +15 -0
  305. package/cjs/resources/SharedPayment/index.js.map +1 -0
  306. package/cjs/resources/Sources.d.ts +16 -1
  307. package/cjs/resources/SubscriptionItems.d.ts +265 -0
  308. package/cjs/resources/SubscriptionItems.js +41 -0
  309. package/cjs/resources/SubscriptionItems.js.map +1 -1
  310. package/cjs/resources/SubscriptionSchedules.d.ts +1949 -19
  311. package/cjs/resources/SubscriptionSchedules.js +61 -0
  312. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  313. package/cjs/resources/Subscriptions.d.ts +965 -12
  314. package/cjs/resources/Subscriptions.js +289 -0
  315. package/cjs/resources/Subscriptions.js.map +1 -1
  316. package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
  317. package/cjs/resources/Tax/Calculations.d.ts +7 -3
  318. package/cjs/resources/Tax/Forms.d.ts +230 -0
  319. package/cjs/resources/Tax/Forms.js +32 -0
  320. package/cjs/resources/Tax/Forms.js.map +1 -0
  321. package/cjs/resources/Tax/Locations.d.ts +108 -0
  322. package/cjs/resources/Tax/Locations.js +33 -0
  323. package/cjs/resources/Tax/Locations.js.map +1 -0
  324. package/cjs/resources/Tax/Registrations.d.ts +171 -2
  325. package/cjs/resources/Tax/Registrations.js +27 -0
  326. package/cjs/resources/Tax/Registrations.js.map +1 -1
  327. package/cjs/resources/Tax/Settings.d.ts +8 -0
  328. package/cjs/resources/Tax/Settings.js +13 -0
  329. package/cjs/resources/Tax/Settings.js.map +1 -1
  330. package/cjs/resources/Tax/Transactions.d.ts +10 -2
  331. package/cjs/resources/Tax/Transactions.js +13 -0
  332. package/cjs/resources/Tax/Transactions.js.map +1 -1
  333. package/cjs/resources/Tax/index.d.ts +27 -13
  334. package/cjs/resources/Tax/index.js +4 -0
  335. package/cjs/resources/Tax/index.js.map +1 -1
  336. package/cjs/resources/TaxCodes.d.ts +15 -0
  337. package/cjs/resources/TaxIds.d.ts +6 -0
  338. package/cjs/resources/TaxIds.js +13 -0
  339. package/cjs/resources/TaxIds.js.map +1 -1
  340. package/cjs/resources/TaxRates.d.ts +12 -0
  341. package/cjs/resources/TaxRates.js +27 -0
  342. package/cjs/resources/TaxRates.js.map +1 -1
  343. package/cjs/resources/Terminal/Configurations.d.ts +27 -0
  344. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +52 -0
  345. package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
  346. package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
  347. package/cjs/resources/Terminal/Readers.d.ts +17 -1
  348. package/cjs/resources/Terminal/index.d.ts +5 -0
  349. package/cjs/resources/Terminal/index.js +2 -0
  350. package/cjs/resources/Terminal/index.js.map +1 -1
  351. package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
  352. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
  353. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  354. package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
  355. package/cjs/resources/TestHelpers/Capital/index.js +13 -0
  356. package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
  357. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +88 -1
  358. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
  359. package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +104 -0
  360. package/cjs/resources/TestHelpers/Issuing/Disputes.js +33 -0
  361. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
  362. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
  363. package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
  364. package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
  365. package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
  366. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +36 -0
  367. package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
  368. package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
  369. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
  370. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
  371. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  372. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  373. package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
  374. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  375. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  376. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  377. package/cjs/resources/TestHelpers/index.d.ts +14 -6
  378. package/cjs/resources/TestHelpers/index.js +12 -6
  379. package/cjs/resources/TestHelpers/index.js.map +1 -1
  380. package/cjs/resources/Tokens.d.ts +56 -0
  381. package/cjs/resources/Transfers.d.ts +12 -0
  382. package/cjs/resources/Transfers.js.map +1 -1
  383. package/cjs/resources/TransitBalances.d.ts +25 -0
  384. package/cjs/resources/TransitBalances.js +4 -0
  385. package/cjs/resources/TransitBalances.js.map +1 -0
  386. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  387. package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
  388. package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
  389. package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
  390. package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
  391. package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
  392. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
  393. package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
  394. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  395. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  396. package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
  397. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  398. package/cjs/resources/V2/Billing/BillSettings.d.ts +284 -0
  399. package/cjs/resources/V2/Billing/BillSettings.js +41 -0
  400. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
  401. package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +88 -0
  402. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
  403. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  404. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  405. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
  406. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  407. package/cjs/resources/V2/Billing/Cadences.d.ts +1015 -0
  408. package/cjs/resources/V2/Billing/Cadences.js +264 -0
  409. package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
  410. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
  411. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
  412. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  413. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  414. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
  415. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  416. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  417. package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
  418. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
  419. package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  420. package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
  421. package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  422. package/cjs/resources/V2/Billing/IntentActions.d.ts +607 -0
  423. package/cjs/resources/V2/Billing/IntentActions.js +4 -0
  424. package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
  425. package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  426. package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
  427. package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
  428. package/cjs/resources/V2/Billing/Intents.d.ts +1257 -0
  429. package/cjs/resources/V2/Billing/Intents.js +87 -0
  430. package/cjs/resources/V2/Billing/Intents.js.map +1 -0
  431. package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
  432. package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
  433. package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  434. package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  435. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
  436. package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  437. package/cjs/resources/V2/Billing/LicenseFees.d.ts +364 -0
  438. package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
  439. package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
  440. package/cjs/resources/V2/Billing/LicensedItems.d.ts +174 -0
  441. package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
  442. package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
  443. package/cjs/resources/V2/Billing/MeteredItems.d.ts +222 -0
  444. package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
  445. package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
  446. package/cjs/resources/V2/Billing/OneTimeItems.d.ts +174 -0
  447. package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
  448. package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
  449. package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
  450. package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
  451. package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  452. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
  453. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
  454. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  455. package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  456. package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
  457. package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  458. package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  459. package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
  460. package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  461. package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  462. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
  463. package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  464. package/cjs/resources/V2/Billing/PricingPlans.d.ts +173 -0
  465. package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
  466. package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
  467. package/cjs/resources/V2/Billing/Profiles.d.ts +166 -0
  468. package/cjs/resources/V2/Billing/Profiles.js +35 -0
  469. package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
  470. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  471. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
  472. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  473. package/cjs/resources/V2/Billing/RateCardRates.d.ts +115 -0
  474. package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
  475. package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
  476. package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
  477. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
  478. package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  479. package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  480. package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
  481. package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
  482. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  483. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
  484. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  485. package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  486. package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
  487. package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  488. package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  489. package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
  490. package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  491. package/cjs/resources/V2/Billing/RateCards.d.ts +340 -0
  492. package/cjs/resources/V2/Billing/RateCards.js +76 -0
  493. package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
  494. package/cjs/resources/V2/Billing/ServiceActions.d.ts +514 -0
  495. package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
  496. package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
  497. package/cjs/resources/V2/Billing/index.d.ts +161 -6
  498. package/cjs/resources/V2/Billing/index.js +30 -0
  499. package/cjs/resources/V2/Billing/index.js.map +1 -1
  500. package/cjs/resources/V2/Core/AccountEvaluations.d.ts +160 -0
  501. package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
  502. package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
  503. package/cjs/resources/V2/Core/AccountLinks.d.ts +158 -6
  504. package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
  505. package/cjs/resources/V2/Core/AccountTokens.d.ts +220 -2
  506. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  507. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  508. package/cjs/resources/V2/Core/Accounts.d.ts +5551 -58
  509. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +334 -0
  510. package/cjs/resources/V2/Core/ApprovalRequests.js +46 -0
  511. package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
  512. package/cjs/resources/V2/Core/BatchJobs.d.ts +373 -0
  513. package/cjs/resources/V2/Core/BatchJobs.js +225 -0
  514. package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
  515. package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
  516. package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
  517. package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  518. package/cjs/resources/V2/Core/ConnectionSessions.d.ts +90 -0
  519. package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
  520. package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
  521. package/cjs/resources/V2/Core/Events.d.ts +7586 -232
  522. package/cjs/resources/V2/Core/FeeBatches.d.ts +172 -0
  523. package/cjs/resources/V2/Core/FeeBatches.js +23 -0
  524. package/cjs/resources/V2/Core/FeeBatches.js.map +1 -0
  525. package/cjs/resources/V2/Core/FeeEntries.d.ts +178 -0
  526. package/cjs/resources/V2/Core/FeeEntries.js +23 -0
  527. package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
  528. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
  529. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
  530. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  531. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
  532. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +62 -0
  533. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  534. package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
  535. package/cjs/resources/V2/Core/Vault/index.js +15 -0
  536. package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
  537. package/cjs/resources/V2/Core/index.d.ts +63 -14
  538. package/cjs/resources/V2/Core/index.js +16 -0
  539. package/cjs/resources/V2/Core/index.js.map +1 -1
  540. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
  541. package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
  542. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  543. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
  544. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
  545. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  546. package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
  547. package/cjs/resources/V2/Data/Analytics/index.js +13 -0
  548. package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
  549. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -0
  550. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
  551. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  552. package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
  553. package/cjs/resources/V2/Data/Reporting/index.js +13 -0
  554. package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
  555. package/cjs/resources/V2/Data/index.d.ts +13 -0
  556. package/cjs/resources/V2/Data/index.js +15 -0
  557. package/cjs/resources/V2/Data/index.js.map +1 -0
  558. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
  559. package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
  560. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  561. package/cjs/resources/V2/Extend/Workflows.d.ts +123 -0
  562. package/cjs/resources/V2/Extend/Workflows.js +30 -0
  563. package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
  564. package/cjs/resources/V2/Extend/index.d.ts +20 -0
  565. package/cjs/resources/V2/Extend/index.js +15 -0
  566. package/cjs/resources/V2/Extend/index.js.map +1 -0
  567. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  568. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
  569. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  570. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  571. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
  572. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  573. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +214 -0
  574. package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
  575. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
  576. package/cjs/resources/V2/Iam/ApiKeys.d.ts +280 -0
  577. package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
  578. package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
  579. package/cjs/resources/V2/Iam/index.d.ts +23 -0
  580. package/cjs/resources/V2/Iam/index.js +15 -0
  581. package/cjs/resources/V2/Iam/index.js.map +1 -0
  582. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
  583. package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
  584. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  585. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
  586. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
  587. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  588. package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +171 -0
  589. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
  590. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
  591. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +103 -0
  592. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +4 -0
  593. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
  594. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +44 -0
  595. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
  596. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
  597. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +417 -0
  598. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +50 -0
  599. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  600. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
  601. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
  602. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  603. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
  604. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
  605. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  606. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
  607. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
  608. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  609. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
  610. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
  611. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  612. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +321 -0
  613. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
  614. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  615. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
  616. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
  617. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  618. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
  619. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
  620. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  621. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
  622. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
  623. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  624. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +458 -0
  625. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
  626. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  627. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +251 -0
  628. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
  629. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  630. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +120 -0
  631. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
  632. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  633. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +249 -0
  634. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
  635. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  636. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +280 -0
  637. package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
  638. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  639. package/cjs/resources/V2/MoneyManagement/index.d.ts +128 -0
  640. package/cjs/resources/V2/MoneyManagement/index.js +45 -0
  641. package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
  642. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +96 -0
  643. package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
  644. package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
  645. package/cjs/resources/V2/Network/index.d.ts +13 -0
  646. package/cjs/resources/V2/Network/index.js +13 -0
  647. package/cjs/resources/V2/Network/index.js.map +1 -0
  648. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
  649. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
  650. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  651. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  652. package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
  653. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  654. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +827 -0
  655. package/cjs/resources/V2/Payments/OffSessionPayments.js +53 -0
  656. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  657. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
  658. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
  659. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  660. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  661. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
  662. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  663. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
  664. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
  665. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  666. package/cjs/resources/V2/Payments/index.d.ts +31 -0
  667. package/cjs/resources/V2/Payments/index.js +15 -0
  668. package/cjs/resources/V2/Payments/index.js.map +1 -0
  669. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +173 -0
  670. package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
  671. package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
  672. package/cjs/resources/V2/Reporting/Reports.d.ts +110 -0
  673. package/cjs/resources/V2/Reporting/Reports.js +17 -0
  674. package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
  675. package/cjs/resources/V2/Reporting/index.d.ts +18 -0
  676. package/cjs/resources/V2/Reporting/index.js +15 -0
  677. package/cjs/resources/V2/Reporting/index.js.map +1 -0
  678. package/cjs/resources/V2/Tax/ManualRules.d.ts +335 -0
  679. package/cjs/resources/V2/Tax/ManualRules.js +193 -0
  680. package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
  681. package/cjs/resources/V2/Tax/index.d.ts +16 -0
  682. package/cjs/resources/V2/Tax/index.js +13 -0
  683. package/cjs/resources/V2/Tax/index.js.map +1 -0
  684. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  685. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
  686. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  687. package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  688. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
  689. package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  690. package/cjs/resources/V2/TestHelpers/index.d.ts +10 -0
  691. package/cjs/resources/V2/TestHelpers/index.js +15 -0
  692. package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
  693. package/cjs/resources/V2/index.d.ts +36 -0
  694. package/cjs/resources/V2/index.js +20 -0
  695. package/cjs/resources/V2/index.js.map +1 -1
  696. package/cjs/resources/WebhookEndpoints.d.ts +2 -2
  697. package/cjs/resources.d.ts +16 -0
  698. package/cjs/resources.js +248 -14
  699. package/cjs/resources.js.map +1 -1
  700. package/cjs/stripe.core.d.ts +115 -50
  701. package/cjs/stripe.core.js +67 -31
  702. package/cjs/stripe.core.js.map +1 -1
  703. package/esm/Error.d.ts +53 -0
  704. package/esm/Error.js +117 -0
  705. package/esm/Error.js.map +1 -1
  706. package/esm/RequestSender.d.ts +0 -1
  707. package/esm/RequestSender.js +0 -8
  708. package/esm/RequestSender.js.map +1 -1
  709. package/esm/StripeEventNotificationHandler.d.ts +19 -0
  710. package/esm/StripeEventNotificationHandler.js +466 -0
  711. package/esm/StripeEventNotificationHandler.js.map +1 -0
  712. package/esm/Types.d.ts +4 -2
  713. package/esm/apiVersion.d.ts +1 -2
  714. package/esm/apiVersion.js +1 -2
  715. package/esm/apiVersion.js.map +1 -1
  716. package/esm/resources/AccountLinks.d.ts +5 -1
  717. package/esm/resources/AccountNotices.d.ts +140 -0
  718. package/esm/resources/AccountNotices.js +25 -0
  719. package/esm/resources/AccountNotices.js.map +1 -0
  720. package/esm/resources/AccountSessions.d.ts +463 -0
  721. package/esm/resources/AccountSessions.js.map +1 -1
  722. package/esm/resources/AccountSignals.d.ts +110 -0
  723. package/esm/resources/AccountSignals.js +3 -0
  724. package/esm/resources/AccountSignals.js.map +1 -0
  725. package/esm/resources/Accounts.d.ts +1010 -6
  726. package/esm/resources/Accounts.js +47 -0
  727. package/esm/resources/Accounts.js.map +1 -1
  728. package/esm/resources/ApplicationFees.d.ts +28 -1
  729. package/esm/resources/Balance.d.ts +134 -0
  730. package/esm/resources/BalanceSettings.d.ts +18 -0
  731. package/esm/resources/BalanceTransactions.d.ts +1 -1
  732. package/esm/resources/BalanceTransfers.d.ts +160 -0
  733. package/esm/resources/BalanceTransfers.js +11 -0
  734. package/esm/resources/BalanceTransfers.js.map +1 -0
  735. package/esm/resources/BankAccounts.d.ts +2 -2
  736. package/esm/resources/Billing/AlertRecovereds.d.ts +40 -0
  737. package/esm/resources/Billing/AlertRecovereds.js +3 -0
  738. package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
  739. package/esm/resources/Billing/AlertTriggereds.d.ts +57 -1
  740. package/esm/resources/Billing/Alerts.d.ts +408 -5
  741. package/esm/resources/Billing/Alerts.js +321 -5
  742. package/esm/resources/Billing/Alerts.js.map +1 -1
  743. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +88 -0
  744. package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
  745. package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  746. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  747. package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
  748. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  749. package/esm/resources/Billing/Analytics/index.d.ts +15 -0
  750. package/esm/resources/Billing/Analytics/index.js +9 -0
  751. package/esm/resources/Billing/Analytics/index.js.map +1 -0
  752. package/esm/resources/Billing/CreditBalanceSummary.d.ts +126 -2
  753. package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
  754. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  755. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  756. package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
  757. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  758. package/esm/resources/Billing/CreditGrants.d.ts +85 -3
  759. package/esm/resources/Billing/CreditGrants.js +134 -5
  760. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  761. package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
  762. package/esm/resources/Billing/Meters.d.ts +31 -0
  763. package/esm/resources/Billing/index.d.ts +6 -0
  764. package/esm/resources/Billing/index.js +2 -0
  765. package/esm/resources/Billing/index.js.map +1 -1
  766. package/esm/resources/Capabilities.d.ts +25 -2
  767. package/esm/resources/Capital/FinancingOffers.d.ts +191 -0
  768. package/esm/resources/Capital/FinancingOffers.js +26 -0
  769. package/esm/resources/Capital/FinancingOffers.js.map +1 -0
  770. package/esm/resources/Capital/FinancingSummary.d.ts +98 -0
  771. package/esm/resources/Capital/FinancingSummary.js +11 -0
  772. package/esm/resources/Capital/FinancingSummary.js.map +1 -0
  773. package/esm/resources/Capital/FinancingTransactions.d.ts +143 -0
  774. package/esm/resources/Capital/FinancingTransactions.js +20 -0
  775. package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
  776. package/esm/resources/Capital/index.d.ts +25 -0
  777. package/esm/resources/Capital/index.js +13 -0
  778. package/esm/resources/Capital/index.js.map +1 -0
  779. package/esm/resources/Cards.d.ts +15 -0
  780. package/esm/resources/Charges.d.ts +3513 -70
  781. package/esm/resources/Charges.js.map +1 -1
  782. package/esm/resources/Checkout/Sessions.d.ts +792 -9
  783. package/esm/resources/Checkout/Sessions.js +88 -0
  784. package/esm/resources/Checkout/Sessions.js.map +1 -1
  785. package/esm/resources/Checkout/index.d.ts +1 -0
  786. package/esm/resources/ConfirmationTokens.d.ts +130 -1
  787. package/esm/resources/ConfirmationTokens.js.map +1 -1
  788. package/esm/resources/Coupons.d.ts +128 -2
  789. package/esm/resources/Coupons.js +41 -0
  790. package/esm/resources/Coupons.js.map +1 -1
  791. package/esm/resources/CreditNoteLineItems.d.ts +15 -1
  792. package/esm/resources/CreditNotes.d.ts +7 -1
  793. package/esm/resources/CreditNotes.js +13 -0
  794. package/esm/resources/CreditNotes.js.map +1 -1
  795. package/esm/resources/CustomerSessions.d.ts +74 -0
  796. package/esm/resources/CustomerSessions.js +13 -0
  797. package/esm/resources/CustomerSessions.js.map +1 -1
  798. package/esm/resources/Customers.d.ts +85 -1
  799. package/esm/resources/Customers.js +195 -0
  800. package/esm/resources/Customers.js.map +1 -1
  801. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1405 -0
  802. package/esm/resources/DelegatedCheckout/RequestedSessions.js +35 -0
  803. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  804. package/esm/resources/DelegatedCheckout/index.d.ts +16 -0
  805. package/esm/resources/DelegatedCheckout/index.js +9 -0
  806. package/esm/resources/DelegatedCheckout/index.js.map +1 -0
  807. package/esm/resources/Discounts.d.ts +19 -0
  808. package/esm/resources/Disputes.d.ts +43 -0
  809. package/esm/resources/Disputes.js +14 -0
  810. package/esm/resources/Disputes.js.map +1 -1
  811. package/esm/resources/Events.d.ts +573 -2
  812. package/esm/resources/ExternalAccounts.d.ts +212 -1
  813. package/esm/resources/ExternalAccounts.js +42 -1
  814. package/esm/resources/ExternalAccounts.js.map +1 -1
  815. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  816. package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
  817. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  818. package/esm/resources/FinancialConnections/Accounts.d.ts +74 -4
  819. package/esm/resources/FinancialConnections/Accounts.js +8 -0
  820. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  821. package/esm/resources/FinancialConnections/Authorizations.d.ts +87 -0
  822. package/esm/resources/FinancialConnections/Authorizations.js +11 -0
  823. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
  824. package/esm/resources/FinancialConnections/Institutions.d.ts +101 -0
  825. package/esm/resources/FinancialConnections/Institutions.js +19 -0
  826. package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
  827. package/esm/resources/FinancialConnections/Sessions.d.ts +155 -7
  828. package/esm/resources/FinancialConnections/index.d.ts +21 -6
  829. package/esm/resources/FinancialConnections/index.js +4 -0
  830. package/esm/resources/FinancialConnections/index.js.map +1 -1
  831. package/esm/resources/FrMealVouchersOnboardings.d.ts +173 -0
  832. package/esm/resources/FrMealVouchersOnboardings.js +38 -0
  833. package/esm/resources/FrMealVouchersOnboardings.js.map +1 -0
  834. package/esm/resources/FxQuotes.d.ts +212 -0
  835. package/esm/resources/FxQuotes.js +25 -0
  836. package/esm/resources/FxQuotes.js.map +1 -0
  837. package/esm/resources/Identity/BlocklistEntries.d.ts +157 -0
  838. package/esm/resources/Identity/BlocklistEntries.js +50 -0
  839. package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
  840. package/esm/resources/Identity/VerificationReports.d.ts +33 -2
  841. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  842. package/esm/resources/Identity/VerificationSessions.d.ts +11 -3
  843. package/esm/resources/Identity/index.d.ts +18 -10
  844. package/esm/resources/Identity/index.js +2 -0
  845. package/esm/resources/Identity/index.js.map +1 -1
  846. package/esm/resources/InvoiceItems.d.ts +203 -2
  847. package/esm/resources/InvoiceItems.js +41 -0
  848. package/esm/resources/InvoiceItems.js.map +1 -1
  849. package/esm/resources/InvoiceLineItems.d.ts +174 -4
  850. package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
  851. package/esm/resources/InvoiceRenderingTemplates.js +28 -0
  852. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  853. package/esm/resources/Invoices.d.ts +2063 -20
  854. package/esm/resources/Invoices.js +221 -0
  855. package/esm/resources/Invoices.js.map +1 -1
  856. package/esm/resources/Issuing/Authorizations.d.ts +273 -0
  857. package/esm/resources/Issuing/Cardholders.d.ts +5 -4
  858. package/esm/resources/Issuing/Cards.d.ts +36 -0
  859. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
  860. package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
  861. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  862. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
  863. package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
  864. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  865. package/esm/resources/Issuing/Disputes.d.ts +190 -0
  866. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  867. package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
  868. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  869. package/esm/resources/Issuing/Programs.d.ts +95 -0
  870. package/esm/resources/Issuing/Programs.js +31 -0
  871. package/esm/resources/Issuing/Programs.js.map +1 -0
  872. package/esm/resources/Issuing/Settlements.d.ts +85 -0
  873. package/esm/resources/Issuing/Settlements.js +3 -0
  874. package/esm/resources/Issuing/Settlements.js.map +1 -0
  875. package/esm/resources/Issuing/Transactions.d.ts +157 -0
  876. package/esm/resources/Issuing/Transactions.js.map +1 -1
  877. package/esm/resources/Issuing/index.d.ts +55 -22
  878. package/esm/resources/Issuing/index.js +8 -0
  879. package/esm/resources/Issuing/index.js.map +1 -1
  880. package/esm/resources/LineItems.d.ts +29 -2
  881. package/esm/resources/Mandates.d.ts +33 -1
  882. package/esm/resources/Mandates.js +8 -0
  883. package/esm/resources/Mandates.js.map +1 -1
  884. package/esm/resources/Margins.d.ts +115 -0
  885. package/esm/resources/Margins.js +31 -0
  886. package/esm/resources/Margins.js.map +1 -0
  887. package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  888. package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
  889. package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
  890. package/esm/resources/Orchestration/index.d.ts +12 -0
  891. package/esm/resources/Orchestration/index.js +9 -0
  892. package/esm/resources/Orchestration/index.js.map +1 -0
  893. package/esm/resources/Orders.d.ts +4761 -0
  894. package/esm/resources/Orders.js +453 -0
  895. package/esm/resources/Orders.js.map +1 -0
  896. package/esm/resources/PaymentAttemptRecords.d.ts +453 -1
  897. package/esm/resources/PaymentAttemptRecords.js +42 -0
  898. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  899. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +17 -0
  900. package/esm/resources/PaymentIntents.d.ts +16623 -3576
  901. package/esm/resources/PaymentIntents.js +40 -0
  902. package/esm/resources/PaymentIntents.js.map +1 -1
  903. package/esm/resources/PaymentLinks.d.ts +74 -12
  904. package/esm/resources/PaymentLocationCapabilities.d.ts +122 -0
  905. package/esm/resources/PaymentLocationCapabilities.js +25 -0
  906. package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
  907. package/esm/resources/PaymentLocations.d.ts +178 -0
  908. package/esm/resources/PaymentLocations.js +37 -0
  909. package/esm/resources/PaymentLocations.js.map +1 -0
  910. package/esm/resources/PaymentMethodBalances.d.ts +46 -0
  911. package/esm/resources/PaymentMethodBalances.js +3 -0
  912. package/esm/resources/PaymentMethodBalances.js.map +1 -0
  913. package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
  914. package/esm/resources/PaymentMethods.d.ts +262 -3
  915. package/esm/resources/PaymentMethods.js +20 -0
  916. package/esm/resources/PaymentMethods.js.map +1 -1
  917. package/esm/resources/PaymentRecords.d.ts +351 -21
  918. package/esm/resources/PaymentRecords.js.map +1 -1
  919. package/esm/resources/Persons.d.ts +24 -2
  920. package/esm/resources/Plans.d.ts +16 -0
  921. package/esm/resources/Prices.d.ts +76 -0
  922. package/esm/resources/Prices.js +27 -0
  923. package/esm/resources/Prices.js.map +1 -1
  924. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
  925. package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
  926. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  927. package/esm/resources/Privacy/RedactionJobs.d.ts +229 -0
  928. package/esm/resources/Privacy/RedactionJobs.js +69 -0
  929. package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
  930. package/esm/resources/Privacy/index.d.ts +22 -0
  931. package/esm/resources/Privacy/index.js +9 -0
  932. package/esm/resources/Privacy/index.js.map +1 -0
  933. package/esm/resources/ProductCatalog/TrialOffers.d.ts +127 -0
  934. package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
  935. package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
  936. package/esm/resources/ProductCatalog/index.d.ts +12 -0
  937. package/esm/resources/ProductCatalog/index.js +9 -0
  938. package/esm/resources/ProductCatalog/index.js.map +1 -0
  939. package/esm/resources/Products.d.ts +171 -0
  940. package/esm/resources/Products.js +69 -0
  941. package/esm/resources/Products.js.map +1 -1
  942. package/esm/resources/Profiles.d.ts +26 -0
  943. package/esm/resources/Profiles.js +3 -0
  944. package/esm/resources/Profiles.js.map +1 -0
  945. package/esm/resources/PromotionCodes.d.ts +12 -0
  946. package/esm/resources/PromotionCodes.js +27 -0
  947. package/esm/resources/PromotionCodes.js.map +1 -1
  948. package/esm/resources/QuoteLines.d.ts +684 -0
  949. package/esm/resources/QuoteLines.js +3 -0
  950. package/esm/resources/QuoteLines.js.map +1 -0
  951. package/esm/resources/QuotePreviewInvoices.d.ts +1173 -0
  952. package/esm/resources/QuotePreviewInvoices.js +3 -0
  953. package/esm/resources/QuotePreviewInvoices.js.map +1 -0
  954. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +901 -0
  955. package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
  956. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  957. package/esm/resources/Quotes.d.ts +3548 -254
  958. package/esm/resources/Quotes.js +1184 -16
  959. package/esm/resources/Quotes.js.map +1 -1
  960. package/esm/resources/Radar/AccountEvaluations.d.ts +270 -0
  961. package/esm/resources/Radar/AccountEvaluations.js +23 -0
  962. package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
  963. package/esm/resources/Radar/CustomerEvaluations.d.ts +214 -0
  964. package/esm/resources/Radar/CustomerEvaluations.js +17 -0
  965. package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
  966. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +435 -0
  967. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
  968. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  969. package/esm/resources/Radar/PaymentEvaluations.d.ts +63 -1
  970. package/esm/resources/Radar/ValueListItems.d.ts +8 -0
  971. package/esm/resources/Radar/ValueListItems.js +13 -0
  972. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  973. package/esm/resources/Radar/index.d.ts +34 -16
  974. package/esm/resources/Radar/index.js +6 -0
  975. package/esm/resources/Radar/index.js.map +1 -1
  976. package/esm/resources/Refunds.d.ts +23 -0
  977. package/esm/resources/Refunds.js +27 -0
  978. package/esm/resources/Refunds.js.map +1 -1
  979. package/esm/resources/Reserve/Holds.d.ts +53 -1
  980. package/esm/resources/Reserve/Holds.js +17 -1
  981. package/esm/resources/Reserve/Holds.js.map +1 -1
  982. package/esm/resources/Reserve/Plans.d.ts +16 -0
  983. package/esm/resources/Reserve/Plans.js +9 -1
  984. package/esm/resources/Reserve/Plans.js.map +1 -1
  985. package/esm/resources/Reserve/Releases.d.ts +41 -1
  986. package/esm/resources/Reserve/Releases.js +17 -1
  987. package/esm/resources/Reserve/Releases.js.map +1 -1
  988. package/esm/resources/Reserve/index.d.ts +14 -3
  989. package/esm/resources/Reserve/index.js +10 -2
  990. package/esm/resources/Reserve/index.js.map +1 -1
  991. package/esm/resources/RiskSignals.d.ts +10 -0
  992. package/esm/resources/RiskSignals.js +3 -0
  993. package/esm/resources/RiskSignals.js.map +1 -0
  994. package/esm/resources/SetupAttempts.d.ts +26 -1
  995. package/esm/resources/SetupIntents.d.ts +561 -11
  996. package/esm/resources/SharedPayment/GrantedTokens.d.ts +1137 -0
  997. package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
  998. package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
  999. package/esm/resources/SharedPayment/IssuedTokens.d.ts +322 -0
  1000. package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
  1001. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
  1002. package/esm/resources/SharedPayment/index.d.ts +19 -0
  1003. package/esm/resources/SharedPayment/index.js +11 -0
  1004. package/esm/resources/SharedPayment/index.js.map +1 -0
  1005. package/esm/resources/Sources.d.ts +16 -1
  1006. package/esm/resources/SubscriptionItems.d.ts +265 -0
  1007. package/esm/resources/SubscriptionItems.js +41 -0
  1008. package/esm/resources/SubscriptionItems.js.map +1 -1
  1009. package/esm/resources/SubscriptionSchedules.d.ts +1949 -19
  1010. package/esm/resources/SubscriptionSchedules.js +61 -0
  1011. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  1012. package/esm/resources/Subscriptions.d.ts +965 -12
  1013. package/esm/resources/Subscriptions.js +289 -0
  1014. package/esm/resources/Subscriptions.js.map +1 -1
  1015. package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
  1016. package/esm/resources/Tax/Calculations.d.ts +7 -3
  1017. package/esm/resources/Tax/Forms.d.ts +230 -0
  1018. package/esm/resources/Tax/Forms.js +28 -0
  1019. package/esm/resources/Tax/Forms.js.map +1 -0
  1020. package/esm/resources/Tax/Locations.d.ts +108 -0
  1021. package/esm/resources/Tax/Locations.js +29 -0
  1022. package/esm/resources/Tax/Locations.js.map +1 -0
  1023. package/esm/resources/Tax/Registrations.d.ts +171 -2
  1024. package/esm/resources/Tax/Registrations.js +27 -0
  1025. package/esm/resources/Tax/Registrations.js.map +1 -1
  1026. package/esm/resources/Tax/Settings.d.ts +8 -0
  1027. package/esm/resources/Tax/Settings.js +13 -0
  1028. package/esm/resources/Tax/Settings.js.map +1 -1
  1029. package/esm/resources/Tax/Transactions.d.ts +10 -2
  1030. package/esm/resources/Tax/Transactions.js +13 -0
  1031. package/esm/resources/Tax/Transactions.js.map +1 -1
  1032. package/esm/resources/Tax/index.d.ts +27 -13
  1033. package/esm/resources/Tax/index.js +4 -0
  1034. package/esm/resources/Tax/index.js.map +1 -1
  1035. package/esm/resources/TaxCodes.d.ts +15 -0
  1036. package/esm/resources/TaxIds.d.ts +6 -0
  1037. package/esm/resources/TaxIds.js +13 -0
  1038. package/esm/resources/TaxIds.js.map +1 -1
  1039. package/esm/resources/TaxRates.d.ts +12 -0
  1040. package/esm/resources/TaxRates.js +27 -0
  1041. package/esm/resources/TaxRates.js.map +1 -1
  1042. package/esm/resources/Terminal/Configurations.d.ts +27 -0
  1043. package/esm/resources/Terminal/ReaderCollectedData.d.ts +52 -0
  1044. package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
  1045. package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
  1046. package/esm/resources/Terminal/Readers.d.ts +17 -1
  1047. package/esm/resources/Terminal/index.d.ts +5 -0
  1048. package/esm/resources/Terminal/index.js +2 -0
  1049. package/esm/resources/Terminal/index.js.map +1 -1
  1050. package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +81 -0
  1051. package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
  1052. package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  1053. package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
  1054. package/esm/resources/TestHelpers/Capital/index.js +9 -0
  1055. package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
  1056. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +88 -1
  1057. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +8 -0
  1058. package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +104 -0
  1059. package/esm/resources/TestHelpers/Issuing/Disputes.js +29 -0
  1060. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
  1061. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +16 -0
  1062. package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
  1063. package/esm/resources/TestHelpers/Issuing/index.js +2 -0
  1064. package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
  1065. package/esm/resources/TestHelpers/PaymentIntents.d.ts +36 -0
  1066. package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
  1067. package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
  1068. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +75 -0
  1069. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
  1070. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  1071. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  1072. package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
  1073. package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  1074. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  1075. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  1076. package/esm/resources/TestHelpers/index.d.ts +14 -6
  1077. package/esm/resources/TestHelpers/index.js +6 -0
  1078. package/esm/resources/TestHelpers/index.js.map +1 -1
  1079. package/esm/resources/Tokens.d.ts +56 -0
  1080. package/esm/resources/Transfers.d.ts +12 -0
  1081. package/esm/resources/Transfers.js.map +1 -1
  1082. package/esm/resources/TransitBalances.d.ts +25 -0
  1083. package/esm/resources/TransitBalances.js +3 -0
  1084. package/esm/resources/TransitBalances.js.map +1 -0
  1085. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  1086. package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
  1087. package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
  1088. package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
  1089. package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
  1090. package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
  1091. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
  1092. package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
  1093. package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  1094. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  1095. package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
  1096. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  1097. package/esm/resources/V2/Billing/BillSettings.d.ts +284 -0
  1098. package/esm/resources/V2/Billing/BillSettings.js +37 -0
  1099. package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
  1100. package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +88 -0
  1101. package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
  1102. package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  1103. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  1104. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
  1105. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  1106. package/esm/resources/V2/Billing/Cadences.d.ts +1015 -0
  1107. package/esm/resources/V2/Billing/Cadences.js +260 -0
  1108. package/esm/resources/V2/Billing/Cadences.js.map +1 -0
  1109. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
  1110. package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
  1111. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  1112. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  1113. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
  1114. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  1115. package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  1116. package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
  1117. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
  1118. package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  1119. package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
  1120. package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  1121. package/esm/resources/V2/Billing/IntentActions.d.ts +607 -0
  1122. package/esm/resources/V2/Billing/IntentActions.js +3 -0
  1123. package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
  1124. package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  1125. package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
  1126. package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
  1127. package/esm/resources/V2/Billing/Intents.d.ts +1257 -0
  1128. package/esm/resources/V2/Billing/Intents.js +83 -0
  1129. package/esm/resources/V2/Billing/Intents.js.map +1 -0
  1130. package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +82 -0
  1131. package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
  1132. package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  1133. package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  1134. package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
  1135. package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  1136. package/esm/resources/V2/Billing/LicenseFees.d.ts +364 -0
  1137. package/esm/resources/V2/Billing/LicenseFees.js +144 -0
  1138. package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
  1139. package/esm/resources/V2/Billing/LicensedItems.d.ts +174 -0
  1140. package/esm/resources/V2/Billing/LicensedItems.js +31 -0
  1141. package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
  1142. package/esm/resources/V2/Billing/MeteredItems.d.ts +222 -0
  1143. package/esm/resources/V2/Billing/MeteredItems.js +31 -0
  1144. package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
  1145. package/esm/resources/V2/Billing/OneTimeItems.d.ts +174 -0
  1146. package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
  1147. package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
  1148. package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +84 -0
  1149. package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
  1150. package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  1151. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +624 -0
  1152. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
  1153. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  1154. package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  1155. package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
  1156. package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  1157. package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  1158. package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
  1159. package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  1160. package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  1161. package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
  1162. package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  1163. package/esm/resources/V2/Billing/PricingPlans.d.ts +173 -0
  1164. package/esm/resources/V2/Billing/PricingPlans.js +39 -0
  1165. package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
  1166. package/esm/resources/V2/Billing/Profiles.d.ts +166 -0
  1167. package/esm/resources/V2/Billing/Profiles.js +31 -0
  1168. package/esm/resources/V2/Billing/Profiles.js.map +1 -0
  1169. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  1170. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
  1171. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  1172. package/esm/resources/V2/Billing/RateCardRates.d.ts +115 -0
  1173. package/esm/resources/V2/Billing/RateCardRates.js +3 -0
  1174. package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
  1175. package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +219 -0
  1176. package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
  1177. package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  1178. package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  1179. package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
  1180. package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
  1181. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  1182. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
  1183. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  1184. package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  1185. package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
  1186. package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  1187. package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  1188. package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
  1189. package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  1190. package/esm/resources/V2/Billing/RateCards.d.ts +340 -0
  1191. package/esm/resources/V2/Billing/RateCards.js +72 -0
  1192. package/esm/resources/V2/Billing/RateCards.js.map +1 -0
  1193. package/esm/resources/V2/Billing/ServiceActions.d.ts +514 -0
  1194. package/esm/resources/V2/Billing/ServiceActions.js +158 -0
  1195. package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
  1196. package/esm/resources/V2/Billing/index.d.ts +161 -6
  1197. package/esm/resources/V2/Billing/index.js +30 -0
  1198. package/esm/resources/V2/Billing/index.js.map +1 -1
  1199. package/esm/resources/V2/Core/AccountEvaluations.d.ts +160 -0
  1200. package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
  1201. package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
  1202. package/esm/resources/V2/Core/AccountLinks.d.ts +158 -6
  1203. package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
  1204. package/esm/resources/V2/Core/AccountTokens.d.ts +220 -2
  1205. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  1206. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  1207. package/esm/resources/V2/Core/Accounts.d.ts +5551 -58
  1208. package/esm/resources/V2/Core/ApprovalRequests.d.ts +334 -0
  1209. package/esm/resources/V2/Core/ApprovalRequests.js +42 -0
  1210. package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
  1211. package/esm/resources/V2/Core/BatchJobs.d.ts +373 -0
  1212. package/esm/resources/V2/Core/BatchJobs.js +221 -0
  1213. package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
  1214. package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +229 -0
  1215. package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
  1216. package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  1217. package/esm/resources/V2/Core/ConnectionSessions.d.ts +90 -0
  1218. package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
  1219. package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
  1220. package/esm/resources/V2/Core/Events.d.ts +7586 -232
  1221. package/esm/resources/V2/Core/FeeBatches.d.ts +172 -0
  1222. package/esm/resources/V2/Core/FeeBatches.js +19 -0
  1223. package/esm/resources/V2/Core/FeeBatches.js.map +1 -0
  1224. package/esm/resources/V2/Core/FeeEntries.d.ts +178 -0
  1225. package/esm/resources/V2/Core/FeeEntries.js +19 -0
  1226. package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
  1227. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
  1228. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
  1229. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  1230. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
  1231. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +58 -0
  1232. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  1233. package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
  1234. package/esm/resources/V2/Core/Vault/index.js +11 -0
  1235. package/esm/resources/V2/Core/Vault/index.js.map +1 -0
  1236. package/esm/resources/V2/Core/index.d.ts +63 -14
  1237. package/esm/resources/V2/Core/index.js +16 -0
  1238. package/esm/resources/V2/Core/index.js.map +1 -1
  1239. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +73 -0
  1240. package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
  1241. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  1242. package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +82 -0
  1243. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
  1244. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  1245. package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
  1246. package/esm/resources/V2/Data/Analytics/index.js +9 -0
  1247. package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
  1248. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -0
  1249. package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
  1250. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  1251. package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
  1252. package/esm/resources/V2/Data/Reporting/index.js +9 -0
  1253. package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
  1254. package/esm/resources/V2/Data/index.d.ts +13 -0
  1255. package/esm/resources/V2/Data/index.js +11 -0
  1256. package/esm/resources/V2/Data/index.js.map +1 -0
  1257. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
  1258. package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
  1259. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  1260. package/esm/resources/V2/Extend/Workflows.d.ts +123 -0
  1261. package/esm/resources/V2/Extend/Workflows.js +26 -0
  1262. package/esm/resources/V2/Extend/Workflows.js.map +1 -0
  1263. package/esm/resources/V2/Extend/index.d.ts +20 -0
  1264. package/esm/resources/V2/Extend/index.js +11 -0
  1265. package/esm/resources/V2/Extend/index.js.map +1 -0
  1266. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  1267. package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
  1268. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  1269. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  1270. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
  1271. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  1272. package/esm/resources/V2/Iam/ActivityLogs.d.ts +214 -0
  1273. package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
  1274. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
  1275. package/esm/resources/V2/Iam/ApiKeys.d.ts +280 -0
  1276. package/esm/resources/V2/Iam/ApiKeys.js +43 -0
  1277. package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
  1278. package/esm/resources/V2/Iam/index.d.ts +23 -0
  1279. package/esm/resources/V2/Iam/index.js +11 -0
  1280. package/esm/resources/V2/Iam/index.js.map +1 -0
  1281. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +139 -0
  1282. package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
  1283. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  1284. package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +135 -0
  1285. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
  1286. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  1287. package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +171 -0
  1288. package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
  1289. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
  1290. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +103 -0
  1291. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +3 -0
  1292. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
  1293. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +44 -0
  1294. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
  1295. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
  1296. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +417 -0
  1297. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +46 -0
  1298. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  1299. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
  1300. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
  1301. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  1302. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
  1303. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
  1304. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  1305. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
  1306. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
  1307. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  1308. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +524 -0
  1309. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
  1310. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  1311. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +321 -0
  1312. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
  1313. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  1314. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +342 -0
  1315. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
  1316. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  1317. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +270 -0
  1318. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
  1319. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  1320. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
  1321. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
  1322. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  1323. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +458 -0
  1324. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
  1325. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  1326. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +251 -0
  1327. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
  1328. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  1329. package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +120 -0
  1330. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
  1331. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  1332. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +249 -0
  1333. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
  1334. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  1335. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +280 -0
  1336. package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
  1337. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  1338. package/esm/resources/V2/MoneyManagement/index.d.ts +128 -0
  1339. package/esm/resources/V2/MoneyManagement/index.js +41 -0
  1340. package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
  1341. package/esm/resources/V2/Network/BusinessProfiles.d.ts +96 -0
  1342. package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
  1343. package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
  1344. package/esm/resources/V2/Network/index.d.ts +13 -0
  1345. package/esm/resources/V2/Network/index.js +9 -0
  1346. package/esm/resources/V2/Network/index.js.map +1 -0
  1347. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
  1348. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
  1349. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  1350. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  1351. package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
  1352. package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  1353. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +827 -0
  1354. package/esm/resources/V2/Payments/OffSessionPayments.js +49 -0
  1355. package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  1356. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +77 -0
  1357. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
  1358. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  1359. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  1360. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
  1361. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  1362. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +213 -0
  1363. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
  1364. package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  1365. package/esm/resources/V2/Payments/index.d.ts +31 -0
  1366. package/esm/resources/V2/Payments/index.js +11 -0
  1367. package/esm/resources/V2/Payments/index.js.map +1 -0
  1368. package/esm/resources/V2/Reporting/ReportRuns.d.ts +173 -0
  1369. package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
  1370. package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
  1371. package/esm/resources/V2/Reporting/Reports.d.ts +110 -0
  1372. package/esm/resources/V2/Reporting/Reports.js +13 -0
  1373. package/esm/resources/V2/Reporting/Reports.js.map +1 -0
  1374. package/esm/resources/V2/Reporting/index.d.ts +18 -0
  1375. package/esm/resources/V2/Reporting/index.js +11 -0
  1376. package/esm/resources/V2/Reporting/index.js.map +1 -0
  1377. package/esm/resources/V2/Tax/ManualRules.d.ts +335 -0
  1378. package/esm/resources/V2/Tax/ManualRules.js +189 -0
  1379. package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
  1380. package/esm/resources/V2/Tax/index.d.ts +16 -0
  1381. package/esm/resources/V2/Tax/index.js +9 -0
  1382. package/esm/resources/V2/Tax/index.js.map +1 -0
  1383. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  1384. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
  1385. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  1386. package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  1387. package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
  1388. package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  1389. package/esm/resources/V2/TestHelpers/index.d.ts +10 -0
  1390. package/esm/resources/V2/TestHelpers/index.js +11 -0
  1391. package/esm/resources/V2/TestHelpers/index.js.map +1 -0
  1392. package/esm/resources/V2/index.d.ts +36 -0
  1393. package/esm/resources/V2/index.js +20 -0
  1394. package/esm/resources/V2/index.js.map +1 -1
  1395. package/esm/resources/WebhookEndpoints.d.ts +2 -2
  1396. package/esm/resources.d.ts +16 -0
  1397. package/esm/resources.js +225 -0
  1398. package/esm/resources.js.map +1 -1
  1399. package/esm/stripe.core.d.ts +115 -50
  1400. package/esm/stripe.core.js +37 -1
  1401. package/esm/stripe.core.js.map +1 -1
  1402. package/esm/stripe.esm.node.d.ts +115 -50
  1403. package/esm/stripe.esm.node.js +37 -1
  1404. package/esm/stripe.esm.node.js.map +1 -1
  1405. package/package.json +1 -1
@@ -26,6 +26,18 @@ export declare class SubscriptionItemResource extends StripeResource {
26
26
  * Adds a new item to an existing subscription. No existing items will be changed or replaced.
27
27
  */
28
28
  create(params: SubscriptionItemCreateParams, options?: RequestOptions): Promise<Response<SubscriptionItem>>;
29
+ serializeBatchDelete(item: string, params?: Record<string, unknown>, options?: {
30
+ apiVersion?: string;
31
+ stripeContext?: string;
32
+ }): string;
33
+ serializeBatchUpdate(item: string, params?: Record<string, unknown>, options?: {
34
+ apiVersion?: string;
35
+ stripeContext?: string;
36
+ }): string;
37
+ serializeBatchCreate(params?: Record<string, unknown>, options?: {
38
+ apiVersion?: string;
39
+ stripeContext?: string;
40
+ }): string;
29
41
  }
30
42
  export interface SubscriptionItem {
31
43
  /**
@@ -56,6 +68,10 @@ export interface SubscriptionItem {
56
68
  * The start time of this subscription item's current billing period.
57
69
  */
58
70
  current_period_start: number;
71
+ /**
72
+ * The current trial that is applied to this subscription item.
73
+ */
74
+ current_trial?: SubscriptionItem.CurrentTrial | null;
59
75
  /**
60
76
  * Always true for a deleted object
61
77
  */
@@ -100,6 +116,10 @@ export interface SubscriptionItem {
100
116
  * The tax rates which apply to this `subscription_item`. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.
101
117
  */
102
118
  tax_rates: Array<TaxRate> | null;
119
+ /**
120
+ * Options that configure the trial on the subscription item.
121
+ */
122
+ trial?: SubscriptionItem.Trial | null;
103
123
  }
104
124
  export interface DeletedSubscriptionItem {
105
125
  /**
@@ -122,6 +142,24 @@ export declare namespace SubscriptionItem {
122
142
  */
123
143
  usage_gte: number | null;
124
144
  }
145
+ interface CurrentTrial {
146
+ end_date: number;
147
+ start_date: number;
148
+ trial_offer: string;
149
+ }
150
+ interface Trial {
151
+ /**
152
+ * List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.
153
+ */
154
+ converts_to?: Array<string> | null;
155
+ /**
156
+ * Determines the type of trial for this item.
157
+ */
158
+ type: Trial.Type;
159
+ }
160
+ namespace Trial {
161
+ type Type = 'free' | 'paid';
162
+ }
125
163
  }
126
164
  export interface SubscriptionItemCreateParams {
127
165
  /**
@@ -132,6 +170,10 @@ export interface SubscriptionItemCreateParams {
132
170
  * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.
133
171
  */
134
172
  billing_thresholds?: Emptyable<SubscriptionItemCreateParams.BillingThresholds>;
173
+ /**
174
+ * The trial offer to apply to this subscription item.
175
+ */
176
+ current_trial?: SubscriptionItemCreateParams.CurrentTrial;
135
177
  /**
136
178
  * The coupons to redeem into discounts for the subscription item.
137
179
  */
@@ -176,6 +218,10 @@ export interface SubscriptionItemCreateParams {
176
218
  * 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.
177
219
  */
178
220
  tax_rates?: Emptyable<Array<string>>;
221
+ /**
222
+ * Options that configure the trial on the subscription item.
223
+ */
224
+ trial?: SubscriptionItemCreateParams.Trial;
179
225
  }
180
226
  export declare namespace SubscriptionItemCreateParams {
181
227
  interface BillingThresholds {
@@ -184,6 +230,16 @@ export declare namespace SubscriptionItemCreateParams {
184
230
  */
185
231
  usage_gte: number;
186
232
  }
233
+ interface CurrentTrial {
234
+ /**
235
+ * Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.
236
+ */
237
+ trial_end?: number;
238
+ /**
239
+ * The ID of the trial offer to apply to the subscription item.
240
+ */
241
+ trial_offer: string;
242
+ }
187
243
  interface Discount {
188
244
  /**
189
245
  * ID of the coupon to create a new discount for.
@@ -193,10 +249,18 @@ export declare namespace SubscriptionItemCreateParams {
193
249
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
194
250
  */
195
251
  discount?: string;
252
+ /**
253
+ * Details to determine how long the discount should be applied for.
254
+ */
255
+ discount_end?: Discount.DiscountEnd;
196
256
  /**
197
257
  * ID of the promotion code to create a new discount for.
198
258
  */
199
259
  promotion_code?: string;
260
+ /**
261
+ * Settings for discount application including service period anchoring.
262
+ */
263
+ settings?: Discount.Settings;
200
264
  }
201
265
  type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete';
202
266
  interface PriceData {
@@ -226,6 +290,96 @@ export declare namespace SubscriptionItemCreateParams {
226
290
  unit_amount_decimal?: Decimal;
227
291
  }
228
292
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
293
+ interface Trial {
294
+ /**
295
+ * 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.
296
+ */
297
+ converts_to?: Array<string>;
298
+ /**
299
+ * Determines the type of trial for this item.
300
+ */
301
+ type: Trial.Type;
302
+ }
303
+ namespace Discount {
304
+ interface DiscountEnd {
305
+ /**
306
+ * Time span for the redeemed discount.
307
+ */
308
+ duration?: DiscountEnd.Duration;
309
+ /**
310
+ * A precise Unix timestamp for the discount to end. Must be in the future.
311
+ */
312
+ timestamp?: number;
313
+ /**
314
+ * The type of calculation made to determine when the discount ends.
315
+ */
316
+ type: DiscountEnd.Type;
317
+ }
318
+ interface Settings {
319
+ /**
320
+ * Configures service period cycle anchoring.
321
+ */
322
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
323
+ /**
324
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
325
+ */
326
+ start_date?: Settings.StartDate;
327
+ }
328
+ namespace DiscountEnd {
329
+ interface Duration {
330
+ /**
331
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
332
+ */
333
+ interval: Duration.Interval;
334
+ /**
335
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
336
+ */
337
+ interval_count: number;
338
+ }
339
+ type Type = 'duration' | 'timestamp';
340
+ namespace Duration {
341
+ type Interval = 'day' | 'month' | 'week' | 'year';
342
+ }
343
+ }
344
+ namespace Settings {
345
+ interface ServicePeriodAnchorConfig {
346
+ /**
347
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
348
+ */
349
+ custom?: ServicePeriodAnchorConfig.Custom;
350
+ /**
351
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
352
+ */
353
+ type?: ServicePeriodAnchorConfig.Type;
354
+ }
355
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now';
356
+ namespace ServicePeriodAnchorConfig {
357
+ interface Custom {
358
+ /**
359
+ * The day of the month the anchor should be. Ranges from 1 to 31.
360
+ */
361
+ day_of_month: number;
362
+ /**
363
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
364
+ */
365
+ hour?: number;
366
+ /**
367
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
368
+ */
369
+ minute?: number;
370
+ /**
371
+ * The month to start full cycle periods. Ranges from 1 to 12.
372
+ */
373
+ month?: number;
374
+ /**
375
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
376
+ */
377
+ second?: number;
378
+ }
379
+ type Type = 'custom' | 'subscription_service_cycle_anchor';
380
+ }
381
+ }
382
+ }
229
383
  namespace PriceData {
230
384
  interface Recurring {
231
385
  /**
@@ -242,6 +396,9 @@ export declare namespace SubscriptionItemCreateParams {
242
396
  type Interval = 'day' | 'month' | 'week' | 'year';
243
397
  }
244
398
  }
399
+ namespace Trial {
400
+ type Type = 'free' | 'paid';
401
+ }
245
402
  }
246
403
  export interface SubscriptionItemRetrieveParams {
247
404
  /**
@@ -254,6 +411,10 @@ export interface SubscriptionItemUpdateParams {
254
411
  * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.
255
412
  */
256
413
  billing_thresholds?: Emptyable<SubscriptionItemUpdateParams.BillingThresholds>;
414
+ /**
415
+ * The trial offer to apply to this subscription item.
416
+ */
417
+ current_trial?: SubscriptionItemUpdateParams.CurrentTrial;
257
418
  /**
258
419
  * The coupons to redeem into discounts for the subscription item.
259
420
  */
@@ -310,6 +471,16 @@ export declare namespace SubscriptionItemUpdateParams {
310
471
  */
311
472
  usage_gte: number;
312
473
  }
474
+ interface CurrentTrial {
475
+ /**
476
+ * Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.
477
+ */
478
+ trial_end?: number;
479
+ /**
480
+ * The ID of the trial offer to apply to the subscription item.
481
+ */
482
+ trial_offer: string;
483
+ }
313
484
  interface Discount {
314
485
  /**
315
486
  * ID of the coupon to create a new discount for.
@@ -319,10 +490,18 @@ export declare namespace SubscriptionItemUpdateParams {
319
490
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
320
491
  */
321
492
  discount?: string;
493
+ /**
494
+ * Details to determine how long the discount should be applied for.
495
+ */
496
+ discount_end?: Discount.DiscountEnd;
322
497
  /**
323
498
  * ID of the promotion code to create a new discount for.
324
499
  */
325
500
  promotion_code?: string;
501
+ /**
502
+ * Settings for discount application including service period anchoring.
503
+ */
504
+ settings?: Discount.Settings;
326
505
  }
327
506
  type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete';
328
507
  interface PriceData {
@@ -352,6 +531,86 @@ export declare namespace SubscriptionItemUpdateParams {
352
531
  unit_amount_decimal?: Decimal;
353
532
  }
354
533
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
534
+ namespace Discount {
535
+ interface DiscountEnd {
536
+ /**
537
+ * Time span for the redeemed discount.
538
+ */
539
+ duration?: DiscountEnd.Duration;
540
+ /**
541
+ * A precise Unix timestamp for the discount to end. Must be in the future.
542
+ */
543
+ timestamp?: number;
544
+ /**
545
+ * The type of calculation made to determine when the discount ends.
546
+ */
547
+ type: DiscountEnd.Type;
548
+ }
549
+ interface Settings {
550
+ /**
551
+ * Configures service period cycle anchoring.
552
+ */
553
+ service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
554
+ /**
555
+ * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
556
+ */
557
+ start_date?: Settings.StartDate;
558
+ }
559
+ namespace DiscountEnd {
560
+ interface Duration {
561
+ /**
562
+ * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
563
+ */
564
+ interval: Duration.Interval;
565
+ /**
566
+ * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
567
+ */
568
+ interval_count: number;
569
+ }
570
+ type Type = 'duration' | 'timestamp';
571
+ namespace Duration {
572
+ type Interval = 'day' | 'month' | 'week' | 'year';
573
+ }
574
+ }
575
+ namespace Settings {
576
+ interface ServicePeriodAnchorConfig {
577
+ /**
578
+ * Anchor the service period to a custom date. Type must be `custom` to specify.
579
+ */
580
+ custom?: ServicePeriodAnchorConfig.Custom;
581
+ /**
582
+ * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
583
+ */
584
+ type?: ServicePeriodAnchorConfig.Type;
585
+ }
586
+ type StartDate = 'current_period_end' | 'current_period_start' | 'now';
587
+ namespace ServicePeriodAnchorConfig {
588
+ interface Custom {
589
+ /**
590
+ * The day of the month the anchor should be. Ranges from 1 to 31.
591
+ */
592
+ day_of_month: number;
593
+ /**
594
+ * The hour of the day the anchor should be. Ranges from 0 to 23.
595
+ */
596
+ hour?: number;
597
+ /**
598
+ * The minute of the hour the anchor should be. Ranges from 0 to 59.
599
+ */
600
+ minute?: number;
601
+ /**
602
+ * The month to start full cycle periods. Ranges from 1 to 12.
603
+ */
604
+ month?: number;
605
+ /**
606
+ * The second of the minute the anchor should be. Ranges from 0 to 59.
607
+ */
608
+ second?: number;
609
+ }
610
+ type Type = 'custom' | 'subscription_service_cycle_anchor';
611
+ }
612
+ }
613
+ }
355
614
  namespace PriceData {
356
615
  interface Recurring {
357
616
  /**
@@ -401,3 +660,9 @@ export declare namespace SubscriptionItemDeleteParams {
401
660
  type PaymentBehavior = 'allow_incomplete' | 'default_incomplete' | 'error_if_incomplete' | 'pending_if_incomplete';
402
661
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
403
662
  }
663
+ export interface SubscriptionItemSerializeBatchCreateParams {
664
+ }
665
+ export interface SubscriptionItemSerializeBatchDeleteParams {
666
+ }
667
+ export interface SubscriptionItemSerializeBatchUpdateParams {
668
+ }
@@ -394,5 +394,46 @@ export class SubscriptionItemResource extends StripeResource {
394
394
  },
395
395
  });
396
396
  }
397
+ serializeBatchDelete(item, params = {}, options = {}) {
398
+ const itemId = this._stripe._platformFunctions.uuid4();
399
+ const stripeVersion = options.apiVersion || this._stripe.getApiField('version');
400
+ const entry = {
401
+ id: itemId,
402
+ params: params,
403
+ stripe_version: stripeVersion,
404
+ };
405
+ entry.path_params = { item: item };
406
+ if (options.stripeContext) {
407
+ entry.context = options.stripeContext;
408
+ }
409
+ return JSON.stringify(entry);
410
+ }
411
+ serializeBatchUpdate(item, params = {}, options = {}) {
412
+ const itemId = this._stripe._platformFunctions.uuid4();
413
+ const stripeVersion = options.apiVersion || this._stripe.getApiField('version');
414
+ const entry = {
415
+ id: itemId,
416
+ params: params,
417
+ stripe_version: stripeVersion,
418
+ };
419
+ entry.path_params = { item: item };
420
+ if (options.stripeContext) {
421
+ entry.context = options.stripeContext;
422
+ }
423
+ return JSON.stringify(entry);
424
+ }
425
+ serializeBatchCreate(params = {}, options = {}) {
426
+ const itemId = this._stripe._platformFunctions.uuid4();
427
+ const stripeVersion = options.apiVersion || this._stripe.getApiField('version');
428
+ const entry = {
429
+ id: itemId,
430
+ params: params,
431
+ stripe_version: stripeVersion,
432
+ };
433
+ if (options.stripeContext) {
434
+ entry.context = options.stripeContext;
435
+ }
436
+ return JSON.stringify(entry);
437
+ }
397
438
  }
398
439
  //# sourceMappingURL=SubscriptionItems.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SubscriptionItems.js","sourceRoot":"","sources":["../../src/resources/SubscriptionItems.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AAcpD,MAAM,OAAO,wBAAyB,SAAQ,cAAc;IAC1D;;OAEG;IACH,GAAG,CACD,EAAU,EACV,MAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,QAAQ,EACR,0BAA0B,EAAE,EAAE,EAC9B,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,0BAA0B,EAAE,EAAE,EA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E,gBAAgB,EAAC;yCAChC;wCACD,mBAAmB,EAAE;4CACnB,IAAI,EAAE,UAAU;4CAChB,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC;yCAChC;qCACF;iCACF;6BACF;4BACD,mBAAmB,EAAE;gCACnB,IAAI,EAAE,UAAU;gCAChB,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC;6BAChC;yBACF;qBACF;iBACF;aACF;SACF,CACK,CAAC;IACX,CAAC;CACF"}
1
+ {"version":3,"file":"SubscriptionItems.js","sourceRoot":"","sources":["../../src/resources/SubscriptionItems.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AAcpD,MAAM,OAAO,wBAAyB,SAAQ,cAAc;IAC1D;;OAEG;IACH,GAAG,CACD,EAAU,EACV,MAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,QAAQ,EACR,0BAA0B,EAAE,EAAE,EAC9B,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,0BAA0B,EAAE,EAAE,EAC9B,MAAM,EACN,OAAO,EACP;YACE,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;wBACd,MAAM,EAAE;4BACN,cAAc,EAAE;gCACd,IAAI,EAAE,UAAU;gCAChB,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC;6BAChC;4BACD,KAAK,EAAE;gCACL,IAAI,EAAE,OAAO;gCACb,OAAO,EAAE;oCACP,IAAI,EAAE,QAAQ;oCACd,MAAM,EAAE;wCACN,mBAAmB,EAAE;4CACnB,IAAI,EAAE,UAAU;4CAChB,KAAK,EAAE,EAAC,IAA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