stripe 22.6.1 → 22.7.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1668) hide show
  1. package/CHANGELOG.md +3371 -12
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +44 -60
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +61 -0
  6. package/cjs/Error.js +143 -1
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/StripeEventNotificationHandler.js +425 -0
  9. package/cjs/StripeEventNotificationHandler.js.map +1 -1
  10. package/cjs/Types.d.ts +9 -2
  11. package/cjs/Types.js.map +1 -1
  12. package/cjs/apiVersion.d.ts +2 -2
  13. package/cjs/apiVersion.js +2 -2
  14. package/cjs/apiVersion.js.map +1 -1
  15. package/cjs/resources/AccountLinks.d.ts +5 -1
  16. package/cjs/resources/AccountNotices.d.ts +140 -0
  17. package/cjs/resources/AccountNotices.js +29 -0
  18. package/cjs/resources/AccountNotices.js.map +1 -0
  19. package/cjs/resources/AccountSessions.d.ts +561 -0
  20. package/cjs/resources/AccountSessions.js.map +1 -1
  21. package/cjs/resources/AccountSignals.d.ts +111 -0
  22. package/cjs/resources/AccountSignals.js +4 -0
  23. package/cjs/resources/AccountSignals.js.map +1 -0
  24. package/cjs/resources/Accounts.d.ts +1066 -6
  25. package/cjs/resources/Accounts.js +47 -0
  26. package/cjs/resources/Accounts.js.map +1 -1
  27. package/cjs/resources/ApplicationFees.d.ts +28 -1
  28. package/cjs/resources/Balance.d.ts +134 -0
  29. package/cjs/resources/BalanceSettings.d.ts +18 -0
  30. package/cjs/resources/BalanceTransactions.d.ts +1 -1
  31. package/cjs/resources/BalanceTransfers.d.ts +160 -0
  32. package/cjs/resources/BalanceTransfers.js +15 -0
  33. package/cjs/resources/BalanceTransfers.js.map +1 -0
  34. package/cjs/resources/BankAccounts.d.ts +16 -2
  35. package/cjs/resources/Billing/AlertNotifications.d.ts +75 -0
  36. package/cjs/resources/Billing/AlertNotifications.js +4 -0
  37. package/cjs/resources/Billing/AlertNotifications.js.map +1 -0
  38. package/cjs/resources/Billing/AlertRecovereds.d.ts +56 -0
  39. package/cjs/resources/Billing/AlertRecovereds.js +4 -0
  40. package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
  41. package/cjs/resources/Billing/AlertTriggereds.d.ts +55 -1
  42. package/cjs/resources/Billing/Alerts.d.ts +450 -5
  43. package/cjs/resources/Billing/Alerts.js +329 -5
  44. package/cjs/resources/Billing/Alerts.js.map +1 -1
  45. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +89 -0
  46. package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
  47. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  48. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  49. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
  50. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  51. package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
  52. package/cjs/resources/Billing/Analytics/index.js +13 -0
  53. package/cjs/resources/Billing/Analytics/index.js.map +1 -0
  54. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +136 -3
  55. package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
  56. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  57. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  58. package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
  59. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  60. package/cjs/resources/Billing/CreditGrants.d.ts +105 -3
  61. package/cjs/resources/Billing/CreditGrants.js +134 -5
  62. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  63. package/cjs/resources/Billing/FeedbackOptions.d.ts +8 -2
  64. package/cjs/resources/Billing/FeedbackOptions.js +2 -2
  65. package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
  66. package/cjs/resources/Billing/Meters.d.ts +31 -0
  67. package/cjs/resources/Billing/index.d.ts +10 -0
  68. package/cjs/resources/Billing/index.js +2 -0
  69. package/cjs/resources/Billing/index.js.map +1 -1
  70. package/cjs/resources/BillingPortal/Sessions.d.ts +22 -2
  71. package/cjs/resources/Capabilities.d.ts +39 -2
  72. package/cjs/resources/Capital/FinancingOffers.d.ts +194 -0
  73. package/cjs/resources/Capital/FinancingOffers.js +30 -0
  74. package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
  75. package/cjs/resources/Capital/FinancingSummary.d.ts +102 -0
  76. package/cjs/resources/Capital/FinancingSummary.js +15 -0
  77. package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
  78. package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
  79. package/cjs/resources/Capital/FinancingTransactions.js +24 -0
  80. package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
  81. package/cjs/resources/Capital/index.d.ts +25 -0
  82. package/cjs/resources/Capital/index.js +17 -0
  83. package/cjs/resources/Capital/index.js.map +1 -0
  84. package/cjs/resources/Cards.d.ts +28 -0
  85. package/cjs/resources/Charges.d.ts +3364 -71
  86. package/cjs/resources/Charges.js.map +1 -1
  87. package/cjs/resources/Checkout/Sessions.d.ts +1280 -17
  88. package/cjs/resources/Checkout/Sessions.js +115 -0
  89. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  90. package/cjs/resources/Checkout/index.d.ts +1 -0
  91. package/cjs/resources/ConfirmationTokens.d.ts +149 -1
  92. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  93. package/cjs/resources/Coupons.d.ts +128 -2
  94. package/cjs/resources/Coupons.js +41 -0
  95. package/cjs/resources/Coupons.js.map +1 -1
  96. package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
  97. package/cjs/resources/CreditNotes.d.ts +7 -1
  98. package/cjs/resources/CreditNotes.js +13 -0
  99. package/cjs/resources/CreditNotes.js.map +1 -1
  100. package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
  101. package/cjs/resources/Crypto/CustomerConsumerWallets.js +4 -0
  102. package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
  103. package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
  104. package/cjs/resources/Crypto/CustomerPaymentTokens.js +4 -0
  105. package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
  106. package/cjs/resources/Crypto/Customers.d.ts +111 -0
  107. package/cjs/resources/Crypto/Customers.js +31 -0
  108. package/cjs/resources/Crypto/Customers.js.map +1 -0
  109. package/cjs/resources/Crypto/DepositAddresses.d.ts +128 -0
  110. package/cjs/resources/Crypto/DepositAddresses.js +31 -0
  111. package/cjs/resources/Crypto/DepositAddresses.js.map +1 -0
  112. package/cjs/resources/Crypto/OnrampSessions.d.ts +425 -0
  113. package/cjs/resources/Crypto/OnrampSessions.js +47 -0
  114. package/cjs/resources/Crypto/OnrampSessions.js.map +1 -0
  115. package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
  116. package/cjs/resources/Crypto/OnrampTransactionLimits.js +15 -0
  117. package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
  118. package/cjs/resources/Crypto/index.d.ts +41 -0
  119. package/cjs/resources/Crypto/index.js +19 -0
  120. package/cjs/resources/Crypto/index.js.map +1 -0
  121. package/cjs/resources/CustomerSessions.d.ts +74 -0
  122. package/cjs/resources/CustomerSessions.js +13 -0
  123. package/cjs/resources/CustomerSessions.js.map +1 -1
  124. package/cjs/resources/CustomerTaxExemptions.d.ts +69 -0
  125. package/cjs/resources/CustomerTaxExemptions.js +4 -0
  126. package/cjs/resources/CustomerTaxExemptions.js.map +1 -0
  127. package/cjs/resources/Customers.d.ts +197 -1
  128. package/cjs/resources/Customers.js +221 -0
  129. package/cjs/resources/Customers.js.map +1 -1
  130. package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
  131. package/cjs/resources/DelegatedCheckout/OrderEvents.js +4 -0
  132. package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
  133. package/cjs/resources/DelegatedCheckout/Orders.d.ts +159 -0
  134. package/cjs/resources/DelegatedCheckout/Orders.js +15 -0
  135. package/cjs/resources/DelegatedCheckout/Orders.js.map +1 -0
  136. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1427 -0
  137. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
  138. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  139. package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
  140. package/cjs/resources/DelegatedCheckout/index.js +15 -0
  141. package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
  142. package/cjs/resources/Discounts.d.ts +28 -2
  143. package/cjs/resources/Disputes.d.ts +43 -0
  144. package/cjs/resources/Disputes.js +14 -0
  145. package/cjs/resources/Disputes.js.map +1 -1
  146. package/cjs/resources/Events.d.ts +640 -3
  147. package/cjs/resources/ExternalAccounts.d.ts +212 -1
  148. package/cjs/resources/ExternalAccounts.js +44 -0
  149. package/cjs/resources/ExternalAccounts.js.map +1 -1
  150. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  151. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
  152. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  153. package/cjs/resources/FinancialConnections/Accounts.d.ts +105 -4
  154. package/cjs/resources/FinancialConnections/Accounts.js +8 -0
  155. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  156. package/cjs/resources/FinancialConnections/Authorizations.d.ts +46 -1
  157. package/cjs/resources/FinancialConnections/Authorizations.js +11 -0
  158. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
  159. package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
  160. package/cjs/resources/FinancialConnections/Institutions.js +23 -0
  161. package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
  162. package/cjs/resources/FinancialConnections/Sessions.d.ts +124 -9
  163. package/cjs/resources/FinancialConnections/Transactions.d.ts +88 -0
  164. package/cjs/resources/FinancialConnections/index.d.ts +21 -9
  165. package/cjs/resources/FinancialConnections/index.js +4 -0
  166. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  167. package/cjs/resources/FxQuotes.d.ts +212 -0
  168. package/cjs/resources/FxQuotes.js +29 -0
  169. package/cjs/resources/FxQuotes.js.map +1 -0
  170. package/cjs/resources/GiftCardOperations.d.ts +249 -0
  171. package/cjs/resources/GiftCardOperations.js +15 -0
  172. package/cjs/resources/GiftCardOperations.js.map +1 -0
  173. package/cjs/resources/GiftCards.d.ts +188 -0
  174. package/cjs/resources/GiftCards.js +51 -0
  175. package/cjs/resources/GiftCards.js.map +1 -0
  176. package/cjs/resources/Identity/BlocklistEntries.d.ts +155 -0
  177. package/cjs/resources/Identity/BlocklistEntries.js +54 -0
  178. package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
  179. package/cjs/resources/Identity/VerificationReports.d.ts +90 -4
  180. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  181. package/cjs/resources/Identity/VerificationSessions.d.ts +48 -4
  182. package/cjs/resources/Identity/index.d.ts +18 -10
  183. package/cjs/resources/Identity/index.js +2 -0
  184. package/cjs/resources/Identity/index.js.map +1 -1
  185. package/cjs/resources/InvoiceItems.d.ts +215 -2
  186. package/cjs/resources/InvoiceItems.js +41 -0
  187. package/cjs/resources/InvoiceItems.js.map +1 -1
  188. package/cjs/resources/InvoiceLineItems.d.ts +174 -4
  189. package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
  190. package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
  191. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  192. package/cjs/resources/Invoices.d.ts +2303 -59
  193. package/cjs/resources/Invoices.js +221 -0
  194. package/cjs/resources/Invoices.js.map +1 -1
  195. package/cjs/resources/Issuing/Authorizations.d.ts +735 -1
  196. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  197. package/cjs/resources/Issuing/Cardholders.d.ts +22 -4
  198. package/cjs/resources/Issuing/Cards.d.ts +139 -0
  199. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
  200. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +53 -0
  201. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  202. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
  203. package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
  204. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  205. package/cjs/resources/Issuing/Disputes.d.ts +246 -0
  206. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  207. package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
  208. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  209. package/cjs/resources/Issuing/Programs.d.ts +95 -0
  210. package/cjs/resources/Issuing/Programs.js +35 -0
  211. package/cjs/resources/Issuing/Programs.js.map +1 -0
  212. package/cjs/resources/Issuing/Settlements.d.ts +83 -0
  213. package/cjs/resources/Issuing/Settlements.js +4 -0
  214. package/cjs/resources/Issuing/Settlements.js.map +1 -0
  215. package/cjs/resources/Issuing/Tokens.d.ts +26 -0
  216. package/cjs/resources/Issuing/Transactions.d.ts +233 -0
  217. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  218. package/cjs/resources/Issuing/index.d.ts +56 -22
  219. package/cjs/resources/Issuing/index.js +8 -0
  220. package/cjs/resources/Issuing/index.js.map +1 -1
  221. package/cjs/resources/LineItems.d.ts +29 -2
  222. package/cjs/resources/Mandates.d.ts +47 -2
  223. package/cjs/resources/Mandates.js +8 -0
  224. package/cjs/resources/Mandates.js.map +1 -1
  225. package/cjs/resources/Margins.d.ts +115 -0
  226. package/cjs/resources/Margins.js +35 -0
  227. package/cjs/resources/Margins.js.map +1 -0
  228. package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  229. package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
  230. package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
  231. package/cjs/resources/Orchestration/index.d.ts +12 -0
  232. package/cjs/resources/Orchestration/index.js +13 -0
  233. package/cjs/resources/Orchestration/index.js.map +1 -0
  234. package/cjs/resources/Orders.d.ts +4776 -0
  235. package/cjs/resources/Orders.js +457 -0
  236. package/cjs/resources/Orders.js.map +1 -0
  237. package/cjs/resources/PaymentAttemptRecords.d.ts +738 -5
  238. package/cjs/resources/PaymentAttemptRecords.js +48 -0
  239. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  240. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +52 -0
  241. package/cjs/resources/PaymentIntents.d.ts +17464 -3482
  242. package/cjs/resources/PaymentIntents.js +46 -0
  243. package/cjs/resources/PaymentIntents.js.map +1 -1
  244. package/cjs/resources/PaymentLinks.d.ts +75 -13
  245. package/cjs/resources/PaymentLocationCapabilities.d.ts +124 -0
  246. package/cjs/resources/PaymentLocationCapabilities.js +29 -0
  247. package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
  248. package/cjs/resources/PaymentLocations.d.ts +178 -0
  249. package/cjs/resources/PaymentLocations.js +41 -0
  250. package/cjs/resources/PaymentLocations.js.map +1 -0
  251. package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
  252. package/cjs/resources/PaymentMethodBalances.js +4 -0
  253. package/cjs/resources/PaymentMethodBalances.js.map +1 -0
  254. package/cjs/resources/PaymentMethodConfigurations.d.ts +420 -0
  255. package/cjs/resources/PaymentMethods.d.ts +303 -3
  256. package/cjs/resources/PaymentMethods.js +20 -0
  257. package/cjs/resources/PaymentMethods.js.map +1 -1
  258. package/cjs/resources/PaymentPlans.d.ts +427 -0
  259. package/cjs/resources/PaymentPlans.js +35 -0
  260. package/cjs/resources/PaymentPlans.js.map +1 -0
  261. package/cjs/resources/PaymentRecords.d.ts +791 -23
  262. package/cjs/resources/PaymentRecords.js +18 -0
  263. package/cjs/resources/PaymentRecords.js.map +1 -1
  264. package/cjs/resources/Persons.d.ts +39 -2
  265. package/cjs/resources/Plans.d.ts +16 -0
  266. package/cjs/resources/Prices.d.ts +76 -0
  267. package/cjs/resources/Prices.js +27 -0
  268. package/cjs/resources/Prices.js.map +1 -1
  269. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
  270. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
  271. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  272. package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
  273. package/cjs/resources/Privacy/RedactionJobs.js +73 -0
  274. package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
  275. package/cjs/resources/Privacy/index.d.ts +22 -0
  276. package/cjs/resources/Privacy/index.js +13 -0
  277. package/cjs/resources/Privacy/index.js.map +1 -0
  278. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +159 -0
  279. package/cjs/resources/ProductCatalog/TrialOffers.js +29 -0
  280. package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
  281. package/cjs/resources/ProductCatalog/index.d.ts +14 -0
  282. package/cjs/resources/ProductCatalog/index.js +13 -0
  283. package/cjs/resources/ProductCatalog/index.js.map +1 -0
  284. package/cjs/resources/Products.d.ts +198 -0
  285. package/cjs/resources/Products.js +69 -0
  286. package/cjs/resources/Products.js.map +1 -1
  287. package/cjs/resources/Profiles.d.ts +68 -0
  288. package/cjs/resources/Profiles.js +4 -0
  289. package/cjs/resources/Profiles.js.map +1 -0
  290. package/cjs/resources/PromotionCodes.d.ts +12 -0
  291. package/cjs/resources/PromotionCodes.js +27 -0
  292. package/cjs/resources/PromotionCodes.js.map +1 -1
  293. package/cjs/resources/QuoteLines.d.ts +684 -0
  294. package/cjs/resources/QuoteLines.js +4 -0
  295. package/cjs/resources/QuoteLines.js.map +1 -0
  296. package/cjs/resources/QuotePreviewInvoices.d.ts +1239 -0
  297. package/cjs/resources/QuotePreviewInvoices.js +4 -0
  298. package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
  299. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +1088 -0
  300. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
  301. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  302. package/cjs/resources/Quotes.d.ts +3546 -252
  303. package/cjs/resources/Quotes.js +1184 -16
  304. package/cjs/resources/Quotes.js.map +1 -1
  305. package/cjs/resources/Radar/AccountEvaluations.d.ts +309 -0
  306. package/cjs/resources/Radar/AccountEvaluations.js +27 -0
  307. package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
  308. package/cjs/resources/Radar/BillingEvaluations.d.ts +372 -0
  309. package/cjs/resources/Radar/BillingEvaluations.js +15 -0
  310. package/cjs/resources/Radar/BillingEvaluations.js.map +1 -0
  311. package/cjs/resources/Radar/CustomerEvaluations.d.ts +245 -0
  312. package/cjs/resources/Radar/CustomerEvaluations.js +27 -0
  313. package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
  314. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
  315. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
  316. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  317. package/cjs/resources/Radar/PaymentEvaluations.d.ts +117 -3
  318. package/cjs/resources/Radar/ValueListItems.d.ts +39 -1
  319. package/cjs/resources/Radar/ValueListItems.js +13 -0
  320. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  321. package/cjs/resources/Radar/index.d.ts +41 -16
  322. package/cjs/resources/Radar/index.js +8 -0
  323. package/cjs/resources/Radar/index.js.map +1 -1
  324. package/cjs/resources/Refunds.d.ts +39 -0
  325. package/cjs/resources/Refunds.js +27 -0
  326. package/cjs/resources/Refunds.js.map +1 -1
  327. package/cjs/resources/Reserve/Holds.d.ts +53 -1
  328. package/cjs/resources/Reserve/Holds.js +19 -0
  329. package/cjs/resources/Reserve/Holds.js.map +1 -1
  330. package/cjs/resources/Reserve/Plans.d.ts +16 -0
  331. package/cjs/resources/Reserve/Plans.js +11 -0
  332. package/cjs/resources/Reserve/Plans.js.map +1 -1
  333. package/cjs/resources/Reserve/Releases.d.ts +41 -1
  334. package/cjs/resources/Reserve/Releases.js +19 -0
  335. package/cjs/resources/Reserve/Releases.js.map +1 -1
  336. package/cjs/resources/Reserve/index.d.ts +17 -6
  337. package/cjs/resources/Reserve/index.js +9 -0
  338. package/cjs/resources/Reserve/index.js.map +1 -1
  339. package/cjs/resources/RiskSignals.d.ts +10 -0
  340. package/cjs/resources/RiskSignals.js +4 -0
  341. package/cjs/resources/RiskSignals.js.map +1 -0
  342. package/cjs/resources/SetupAttempts.d.ts +36 -2
  343. package/cjs/resources/SetupAttempts.js.map +1 -1
  344. package/cjs/resources/SetupIntents.d.ts +633 -17
  345. package/cjs/resources/SetupIntents.js.map +1 -1
  346. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +442 -0
  347. package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
  348. package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
  349. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +378 -0
  350. package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
  351. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
  352. package/cjs/resources/SharedPayment/index.d.ts +19 -0
  353. package/cjs/resources/SharedPayment/index.js +15 -0
  354. package/cjs/resources/SharedPayment/index.js.map +1 -0
  355. package/cjs/resources/Sources.d.ts +29 -1
  356. package/cjs/resources/SubscriptionItems.d.ts +265 -0
  357. package/cjs/resources/SubscriptionItems.js +41 -0
  358. package/cjs/resources/SubscriptionItems.js.map +1 -1
  359. package/cjs/resources/SubscriptionSchedules.d.ts +2443 -67
  360. package/cjs/resources/SubscriptionSchedules.js +61 -0
  361. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  362. package/cjs/resources/Subscriptions.d.ts +1074 -19
  363. package/cjs/resources/Subscriptions.js +289 -0
  364. package/cjs/resources/Subscriptions.js.map +1 -1
  365. package/cjs/resources/Tax/CalculationLineItems.d.ts +14 -3
  366. package/cjs/resources/Tax/Calculations.d.ts +46 -4
  367. package/cjs/resources/Tax/Forms.d.ts +228 -0
  368. package/cjs/resources/Tax/Forms.js +32 -0
  369. package/cjs/resources/Tax/Forms.js.map +1 -0
  370. package/cjs/resources/Tax/Locations.d.ts +112 -0
  371. package/cjs/resources/Tax/Locations.js +33 -0
  372. package/cjs/resources/Tax/Locations.js.map +1 -0
  373. package/cjs/resources/Tax/Registrations.d.ts +179 -4
  374. package/cjs/resources/Tax/Registrations.js +27 -0
  375. package/cjs/resources/Tax/Registrations.js.map +1 -1
  376. package/cjs/resources/Tax/Settings.d.ts +8 -0
  377. package/cjs/resources/Tax/Settings.js +13 -0
  378. package/cjs/resources/Tax/Settings.js.map +1 -1
  379. package/cjs/resources/Tax/Transactions.d.ts +10 -2
  380. package/cjs/resources/Tax/Transactions.js +13 -0
  381. package/cjs/resources/Tax/Transactions.js.map +1 -1
  382. package/cjs/resources/Tax/index.d.ts +31 -13
  383. package/cjs/resources/Tax/index.js +4 -0
  384. package/cjs/resources/Tax/index.js.map +1 -1
  385. package/cjs/resources/TaxCodes.d.ts +16 -1
  386. package/cjs/resources/TaxFunds.d.ts +174 -0
  387. package/cjs/resources/TaxFunds.js +23 -0
  388. package/cjs/resources/TaxFunds.js.map +1 -0
  389. package/cjs/resources/TaxIds.d.ts +6 -0
  390. package/cjs/resources/TaxIds.js +13 -0
  391. package/cjs/resources/TaxIds.js.map +1 -1
  392. package/cjs/resources/TaxRates.d.ts +12 -0
  393. package/cjs/resources/TaxRates.js +27 -0
  394. package/cjs/resources/TaxRates.js.map +1 -1
  395. package/cjs/resources/Terminal/Configurations.d.ts +27 -0
  396. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
  397. package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
  398. package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
  399. package/cjs/resources/Terminal/Readers.d.ts +220 -3
  400. package/cjs/resources/Terminal/Readers.js +24 -0
  401. package/cjs/resources/Terminal/Readers.js.map +1 -1
  402. package/cjs/resources/Terminal/index.d.ts +9 -0
  403. package/cjs/resources/Terminal/index.js +2 -0
  404. package/cjs/resources/Terminal/index.js.map +1 -1
  405. package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +82 -0
  406. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
  407. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  408. package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
  409. package/cjs/resources/TestHelpers/Capital/index.js +13 -0
  410. package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
  411. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +100 -1
  412. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +107 -0
  413. package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
  414. package/cjs/resources/TestHelpers/Issuing/Disputes.js +39 -0
  415. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
  416. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +110 -0
  417. package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
  418. package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
  419. package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
  420. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +38 -0
  421. package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
  422. package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
  423. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +92 -0
  424. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
  425. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  426. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  427. package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
  428. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  429. package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +18 -1
  430. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  431. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  432. package/cjs/resources/TestHelpers/index.d.ts +14 -6
  433. package/cjs/resources/TestHelpers/index.js +12 -6
  434. package/cjs/resources/TestHelpers/index.js.map +1 -1
  435. package/cjs/resources/Tokens.d.ts +76 -0
  436. package/cjs/resources/Transfers.d.ts +12 -0
  437. package/cjs/resources/Transfers.js.map +1 -1
  438. package/cjs/resources/TransitBalances.d.ts +25 -0
  439. package/cjs/resources/TransitBalances.js +4 -0
  440. package/cjs/resources/TransitBalances.js.map +1 -0
  441. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  442. package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
  443. package/cjs/resources/Treasury/OutboundPayments.d.ts +9 -0
  444. package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
  445. package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
  446. package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
  447. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
  448. package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
  449. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  450. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  451. package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
  452. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  453. package/cjs/resources/V2/Billing/BillSettings.d.ts +281 -0
  454. package/cjs/resources/V2/Billing/BillSettings.js +41 -0
  455. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
  456. package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +87 -0
  457. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
  458. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  459. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  460. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
  461. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  462. package/cjs/resources/V2/Billing/Cadences.d.ts +1022 -0
  463. package/cjs/resources/V2/Billing/Cadences.js +264 -0
  464. package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
  465. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
  466. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
  467. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  468. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  469. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
  470. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  471. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  472. package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
  473. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
  474. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +50 -0
  475. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +4 -0
  476. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
  477. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
  478. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +29 -0
  479. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
  480. package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
  481. package/cjs/resources/V2/Billing/Contracts/PricingLines.js +15 -0
  482. package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
  483. package/cjs/resources/V2/Billing/Contracts.d.ts +1776 -0
  484. package/cjs/resources/V2/Billing/Contracts.js +334 -0
  485. package/cjs/resources/V2/Billing/Contracts.js.map +1 -0
  486. package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  487. package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
  488. package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  489. package/cjs/resources/V2/Billing/IntentActions.d.ts +609 -0
  490. package/cjs/resources/V2/Billing/IntentActions.js +4 -0
  491. package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
  492. package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  493. package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
  494. package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
  495. package/cjs/resources/V2/Billing/Intents.d.ts +1267 -0
  496. package/cjs/resources/V2/Billing/Intents.js +87 -0
  497. package/cjs/resources/V2/Billing/Intents.js.map +1 -0
  498. package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
  499. package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
  500. package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  501. package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  502. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
  503. package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  504. package/cjs/resources/V2/Billing/LicenseFees.d.ts +360 -0
  505. package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
  506. package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
  507. package/cjs/resources/V2/Billing/LicensedItems.d.ts +170 -0
  508. package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
  509. package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
  510. package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +4 -2
  511. package/cjs/resources/V2/Billing/MeteredItems.d.ts +218 -0
  512. package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
  513. package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
  514. package/cjs/resources/V2/Billing/OneTimeItems.d.ts +170 -0
  515. package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
  516. package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
  517. package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
  518. package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
  519. package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  520. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +636 -0
  521. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
  522. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  523. package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  524. package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
  525. package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  526. package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  527. package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
  528. package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  529. package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  530. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
  531. package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  532. package/cjs/resources/V2/Billing/PricingPlans.d.ts +169 -0
  533. package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
  534. package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
  535. package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
  536. package/cjs/resources/V2/Billing/Profiles.js +35 -0
  537. package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
  538. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  539. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
  540. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  541. package/cjs/resources/V2/Billing/RateCardRates.d.ts +111 -0
  542. package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
  543. package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
  544. package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +218 -0
  545. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
  546. package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  547. package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  548. package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
  549. package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
  550. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  551. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
  552. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  553. package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  554. package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
  555. package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  556. package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  557. package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
  558. package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  559. package/cjs/resources/V2/Billing/RateCards.d.ts +336 -0
  560. package/cjs/resources/V2/Billing/RateCards.js +76 -0
  561. package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
  562. package/cjs/resources/V2/Billing/ServiceActions.d.ts +536 -0
  563. package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
  564. package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
  565. package/cjs/resources/V2/Billing/index.d.ts +175 -6
  566. package/cjs/resources/V2/Billing/index.js +32 -0
  567. package/cjs/resources/V2/Billing/index.js.map +1 -1
  568. package/cjs/resources/V2/Core/AccountEvaluations.d.ts +159 -0
  569. package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
  570. package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
  571. package/cjs/resources/V2/Core/AccountLinks.d.ts +162 -6
  572. package/cjs/resources/V2/Core/AccountPersons.d.ts +17 -6
  573. package/cjs/resources/V2/Core/AccountTokens.d.ts +270 -17
  574. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +17 -6
  575. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +34 -12
  576. package/cjs/resources/V2/Core/Accounts.d.ts +15292 -929
  577. package/cjs/resources/V2/Core/Accounts.js +10464 -53
  578. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  579. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +378 -0
  580. package/cjs/resources/V2/Core/ApprovalRequests.js +39 -0
  581. package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
  582. package/cjs/resources/V2/Core/BatchJobs.d.ts +360 -0
  583. package/cjs/resources/V2/Core/BatchJobs.js +225 -0
  584. package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
  585. package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
  586. package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
  587. package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  588. package/cjs/resources/V2/Core/ConnectionSessions.d.ts +86 -0
  589. package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
  590. package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
  591. package/cjs/resources/V2/Core/EventDestinations.d.ts +10 -3
  592. package/cjs/resources/V2/Core/Events.d.ts +8301 -223
  593. package/cjs/resources/V2/Core/FeeBatches.d.ts +238 -0
  594. package/cjs/resources/V2/Core/FeeBatches.js +23 -0
  595. package/cjs/resources/V2/Core/FeeBatches.js.map +1 -0
  596. package/cjs/resources/V2/Core/FeeEntries.d.ts +200 -0
  597. package/cjs/resources/V2/Core/FeeEntries.js +23 -0
  598. package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
  599. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +426 -0
  600. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +4 -0
  601. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
  602. package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
  603. package/cjs/resources/V2/Core/Health/Alerts/History.js +101 -0
  604. package/cjs/resources/V2/Core/Health/Alerts/History.js.map +1 -0
  605. package/cjs/resources/V2/Core/Health/Alerts.d.ts +540 -0
  606. package/cjs/resources/V2/Core/Health/Alerts.js +182 -0
  607. package/cjs/resources/V2/Core/Health/Alerts.js.map +1 -0
  608. package/cjs/resources/V2/Core/Health/index.d.ts +16 -0
  609. package/cjs/resources/V2/Core/Health/index.js +13 -0
  610. package/cjs/resources/V2/Core/Health/index.js.map +1 -0
  611. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +284 -0
  612. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
  613. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  614. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +256 -0
  615. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +65 -0
  616. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  617. package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
  618. package/cjs/resources/V2/Core/Vault/index.js +15 -0
  619. package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
  620. package/cjs/resources/V2/Core/index.d.ts +65 -14
  621. package/cjs/resources/V2/Core/index.js +18 -0
  622. package/cjs/resources/V2/Core/index.js.map +1 -1
  623. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -0
  624. package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
  625. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  626. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
  627. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
  628. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  629. package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
  630. package/cjs/resources/V2/Data/Analytics/index.js +13 -0
  631. package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
  632. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +176 -0
  633. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
  634. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  635. package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
  636. package/cjs/resources/V2/Data/Reporting/index.js +13 -0
  637. package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
  638. package/cjs/resources/V2/Data/index.d.ts +13 -0
  639. package/cjs/resources/V2/Data/index.js +15 -0
  640. package/cjs/resources/V2/Data/index.js.map +1 -0
  641. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
  642. package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
  643. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  644. package/cjs/resources/V2/Extend/Workflows.d.ts +120 -0
  645. package/cjs/resources/V2/Extend/Workflows.js +30 -0
  646. package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
  647. package/cjs/resources/V2/Extend/index.d.ts +20 -0
  648. package/cjs/resources/V2/Extend/index.js +15 -0
  649. package/cjs/resources/V2/Extend/index.js.map +1 -0
  650. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  651. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
  652. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  653. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  654. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
  655. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  656. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +362 -0
  657. package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
  658. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
  659. package/cjs/resources/V2/Iam/ApiKeys.d.ts +306 -0
  660. package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
  661. package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
  662. package/cjs/resources/V2/Iam/index.d.ts +23 -0
  663. package/cjs/resources/V2/Iam/index.js +15 -0
  664. package/cjs/resources/V2/Iam/index.js.map +1 -0
  665. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +135 -0
  666. package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
  667. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  668. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
  669. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
  670. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  671. package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +173 -0
  672. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
  673. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
  674. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
  675. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +4 -0
  676. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
  677. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
  678. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
  679. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
  680. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +485 -0
  681. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +157 -0
  682. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  683. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
  684. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +4 -0
  685. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
  686. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -0
  687. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
  688. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  689. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +251 -0
  690. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
  691. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  692. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +331 -0
  693. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
  694. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  695. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +645 -0
  696. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
  697. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  698. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +318 -0
  699. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
  700. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  701. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +397 -0
  702. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
  703. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  704. package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +651 -0
  705. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +57 -0
  706. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
  707. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +292 -0
  708. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +53 -0
  709. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  710. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
  711. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
  712. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  713. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +499 -0
  714. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
  715. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  716. package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +171 -0
  717. package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js +29 -0
  718. package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
  719. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +324 -0
  720. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
  721. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  722. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +116 -0
  723. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
  724. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  725. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +34 -0
  726. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +15 -0
  727. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -0
  728. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +8 -0
  729. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +13 -0
  730. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +1 -0
  731. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +266 -0
  732. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
  733. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  734. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +321 -0
  735. package/cjs/resources/V2/MoneyManagement/Transactions.js +29 -0
  736. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  737. package/cjs/resources/V2/MoneyManagement/index.d.ts +154 -0
  738. package/cjs/resources/V2/MoneyManagement/index.js +51 -0
  739. package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
  740. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
  741. package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
  742. package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
  743. package/cjs/resources/V2/Network/index.d.ts +13 -0
  744. package/cjs/resources/V2/Network/index.js +13 -0
  745. package/cjs/resources/V2/Network/index.js.map +1 -0
  746. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
  747. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
  748. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  749. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  750. package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
  751. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  752. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +836 -0
  753. package/cjs/resources/V2/Payments/OffSessionPayments.js +53 -0
  754. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  755. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
  756. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
  757. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  758. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  759. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
  760. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  761. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +212 -0
  762. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
  763. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  764. package/cjs/resources/V2/Payments/index.d.ts +31 -0
  765. package/cjs/resources/V2/Payments/index.js +15 -0
  766. package/cjs/resources/V2/Payments/index.js.map +1 -0
  767. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +195 -0
  768. package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
  769. package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
  770. package/cjs/resources/V2/Reporting/Reports.d.ts +106 -0
  771. package/cjs/resources/V2/Reporting/Reports.js +17 -0
  772. package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
  773. package/cjs/resources/V2/Reporting/index.d.ts +18 -0
  774. package/cjs/resources/V2/Reporting/index.js +15 -0
  775. package/cjs/resources/V2/Reporting/index.js.map +1 -0
  776. package/cjs/resources/V2/Risk/Inquiries.d.ts +143 -0
  777. package/cjs/resources/V2/Risk/Inquiries.js +29 -0
  778. package/cjs/resources/V2/Risk/Inquiries.js.map +1 -0
  779. package/cjs/resources/V2/Risk/index.d.ts +14 -0
  780. package/cjs/resources/V2/Risk/index.js +13 -0
  781. package/cjs/resources/V2/Risk/index.js.map +1 -0
  782. package/cjs/resources/V2/Signals/AccountActivity.d.ts +488 -0
  783. package/cjs/resources/V2/Signals/AccountActivity.js +27 -0
  784. package/cjs/resources/V2/Signals/AccountActivity.js.map +1 -0
  785. package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +396 -0
  786. package/cjs/resources/V2/Signals/AccountEvaluations.js +59 -0
  787. package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
  788. package/cjs/resources/V2/Signals/AccountSignals.d.ts +297 -0
  789. package/cjs/resources/V2/Signals/AccountSignals.js +110 -0
  790. package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
  791. package/cjs/resources/V2/Signals/PaymentRetryEvaluations.d.ts +116 -0
  792. package/cjs/resources/V2/Signals/PaymentRetryEvaluations.js +38 -0
  793. package/cjs/resources/V2/Signals/PaymentRetryEvaluations.js.map +1 -0
  794. package/cjs/resources/V2/Signals/PaymentRetrySignals.d.ts +63 -0
  795. package/cjs/resources/V2/Signals/PaymentRetrySignals.js +15 -0
  796. package/cjs/resources/V2/Signals/PaymentRetrySignals.js.map +1 -0
  797. package/cjs/resources/V2/Signals/index.d.ts +39 -0
  798. package/cjs/resources/V2/Signals/index.js +21 -0
  799. package/cjs/resources/V2/Signals/index.js.map +1 -0
  800. package/cjs/resources/V2/Tax/IntegrationConfigurations.d.ts +64 -0
  801. package/cjs/resources/V2/Tax/IntegrationConfigurations.js +21 -0
  802. package/cjs/resources/V2/Tax/IntegrationConfigurations.js.map +1 -0
  803. package/cjs/resources/V2/Tax/ManualRules.d.ts +331 -0
  804. package/cjs/resources/V2/Tax/ManualRules.js +193 -0
  805. package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
  806. package/cjs/resources/V2/Tax/Operations.d.ts +43 -0
  807. package/cjs/resources/V2/Tax/Operations.js +15 -0
  808. package/cjs/resources/V2/Tax/Operations.js.map +1 -0
  809. package/cjs/resources/V2/Tax/OperationsResolveAddressResults.d.ts +70 -0
  810. package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js +4 -0
  811. package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js.map +1 -0
  812. package/cjs/resources/V2/Tax/index.d.ts +27 -0
  813. package/cjs/resources/V2/Tax/index.js +17 -0
  814. package/cjs/resources/V2/Tax/index.js.map +1 -0
  815. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +45 -0
  816. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
  817. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  818. package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  819. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
  820. package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  821. package/cjs/resources/V2/TestHelpers/index.d.ts +10 -0
  822. package/cjs/resources/V2/TestHelpers/index.js +15 -0
  823. package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
  824. package/cjs/resources/V2/index.d.ts +42 -0
  825. package/cjs/resources/V2/index.js +24 -0
  826. package/cjs/resources/V2/index.js.map +1 -1
  827. package/cjs/resources/WebhookEndpoints.d.ts +2 -2
  828. package/cjs/resources.d.ts +20 -0
  829. package/cjs/resources.js +304 -18
  830. package/cjs/resources.js.map +1 -1
  831. package/cjs/stripe.cjs.node.d.ts +16317 -1232
  832. package/cjs/stripe.cjs.node.js.map +1 -1
  833. package/cjs/stripe.core.d.ts +163 -54
  834. package/cjs/stripe.core.js +70 -31
  835. package/cjs/stripe.core.js.map +1 -1
  836. package/esm/Error.d.ts +61 -0
  837. package/esm/Error.js +125 -0
  838. package/esm/Error.js.map +1 -1
  839. package/esm/StripeEventNotificationHandler.js +425 -0
  840. package/esm/StripeEventNotificationHandler.js.map +1 -1
  841. package/esm/Types.d.ts +9 -2
  842. package/esm/Types.js.map +1 -1
  843. package/esm/apiVersion.d.ts +2 -2
  844. package/esm/apiVersion.js +2 -2
  845. package/esm/apiVersion.js.map +1 -1
  846. package/esm/resources/AccountLinks.d.ts +5 -1
  847. package/esm/resources/AccountNotices.d.ts +140 -0
  848. package/esm/resources/AccountNotices.js +25 -0
  849. package/esm/resources/AccountNotices.js.map +1 -0
  850. package/esm/resources/AccountSessions.d.ts +561 -0
  851. package/esm/resources/AccountSessions.js.map +1 -1
  852. package/esm/resources/AccountSignals.d.ts +111 -0
  853. package/esm/resources/AccountSignals.js +3 -0
  854. package/esm/resources/AccountSignals.js.map +1 -0
  855. package/esm/resources/Accounts.d.ts +1066 -6
  856. package/esm/resources/Accounts.js +47 -0
  857. package/esm/resources/Accounts.js.map +1 -1
  858. package/esm/resources/ApplicationFees.d.ts +28 -1
  859. package/esm/resources/Balance.d.ts +134 -0
  860. package/esm/resources/BalanceSettings.d.ts +18 -0
  861. package/esm/resources/BalanceTransactions.d.ts +1 -1
  862. package/esm/resources/BalanceTransfers.d.ts +160 -0
  863. package/esm/resources/BalanceTransfers.js +11 -0
  864. package/esm/resources/BalanceTransfers.js.map +1 -0
  865. package/esm/resources/BankAccounts.d.ts +16 -2
  866. package/esm/resources/Billing/AlertNotifications.d.ts +75 -0
  867. package/esm/resources/Billing/AlertNotifications.js +3 -0
  868. package/esm/resources/Billing/AlertNotifications.js.map +1 -0
  869. package/esm/resources/Billing/AlertRecovereds.d.ts +56 -0
  870. package/esm/resources/Billing/AlertRecovereds.js +3 -0
  871. package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
  872. package/esm/resources/Billing/AlertTriggereds.d.ts +55 -1
  873. package/esm/resources/Billing/Alerts.d.ts +450 -5
  874. package/esm/resources/Billing/Alerts.js +329 -5
  875. package/esm/resources/Billing/Alerts.js.map +1 -1
  876. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +89 -0
  877. package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
  878. package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  879. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
  880. package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
  881. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  882. package/esm/resources/Billing/Analytics/index.d.ts +15 -0
  883. package/esm/resources/Billing/Analytics/index.js +9 -0
  884. package/esm/resources/Billing/Analytics/index.js.map +1 -0
  885. package/esm/resources/Billing/CreditBalanceSummary.d.ts +136 -3
  886. package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
  887. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  888. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
  889. package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
  890. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  891. package/esm/resources/Billing/CreditGrants.d.ts +105 -3
  892. package/esm/resources/Billing/CreditGrants.js +134 -5
  893. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  894. package/esm/resources/Billing/FeedbackOptions.d.ts +8 -2
  895. package/esm/resources/Billing/FeedbackOptions.js +2 -2
  896. package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
  897. package/esm/resources/Billing/Meters.d.ts +31 -0
  898. package/esm/resources/Billing/index.d.ts +10 -0
  899. package/esm/resources/Billing/index.js +2 -0
  900. package/esm/resources/Billing/index.js.map +1 -1
  901. package/esm/resources/BillingPortal/Sessions.d.ts +22 -2
  902. package/esm/resources/Capabilities.d.ts +39 -2
  903. package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
  904. package/esm/resources/Capital/FinancingOffers.js +26 -0
  905. package/esm/resources/Capital/FinancingOffers.js.map +1 -0
  906. package/esm/resources/Capital/FinancingSummary.d.ts +102 -0
  907. package/esm/resources/Capital/FinancingSummary.js +11 -0
  908. package/esm/resources/Capital/FinancingSummary.js.map +1 -0
  909. package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
  910. package/esm/resources/Capital/FinancingTransactions.js +20 -0
  911. package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
  912. package/esm/resources/Capital/index.d.ts +25 -0
  913. package/esm/resources/Capital/index.js +13 -0
  914. package/esm/resources/Capital/index.js.map +1 -0
  915. package/esm/resources/Cards.d.ts +28 -0
  916. package/esm/resources/Charges.d.ts +3364 -71
  917. package/esm/resources/Charges.js.map +1 -1
  918. package/esm/resources/Checkout/Sessions.d.ts +1280 -17
  919. package/esm/resources/Checkout/Sessions.js +115 -0
  920. package/esm/resources/Checkout/Sessions.js.map +1 -1
  921. package/esm/resources/Checkout/index.d.ts +1 -0
  922. package/esm/resources/ConfirmationTokens.d.ts +149 -1
  923. package/esm/resources/ConfirmationTokens.js.map +1 -1
  924. package/esm/resources/Coupons.d.ts +128 -2
  925. package/esm/resources/Coupons.js +41 -0
  926. package/esm/resources/Coupons.js.map +1 -1
  927. package/esm/resources/CreditNoteLineItems.d.ts +15 -1
  928. package/esm/resources/CreditNotes.d.ts +7 -1
  929. package/esm/resources/CreditNotes.js +13 -0
  930. package/esm/resources/CreditNotes.js.map +1 -1
  931. package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
  932. package/esm/resources/Crypto/CustomerConsumerWallets.js +3 -0
  933. package/esm/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
  934. package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
  935. package/esm/resources/Crypto/CustomerPaymentTokens.js +3 -0
  936. package/esm/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
  937. package/esm/resources/Crypto/Customers.d.ts +111 -0
  938. package/esm/resources/Crypto/Customers.js +27 -0
  939. package/esm/resources/Crypto/Customers.js.map +1 -0
  940. package/esm/resources/Crypto/DepositAddresses.d.ts +128 -0
  941. package/esm/resources/Crypto/DepositAddresses.js +27 -0
  942. package/esm/resources/Crypto/DepositAddresses.js.map +1 -0
  943. package/esm/resources/Crypto/OnrampSessions.d.ts +425 -0
  944. package/esm/resources/Crypto/OnrampSessions.js +43 -0
  945. package/esm/resources/Crypto/OnrampSessions.js.map +1 -0
  946. package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
  947. package/esm/resources/Crypto/OnrampTransactionLimits.js +11 -0
  948. package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
  949. package/esm/resources/Crypto/index.d.ts +41 -0
  950. package/esm/resources/Crypto/index.js +15 -0
  951. package/esm/resources/Crypto/index.js.map +1 -0
  952. package/esm/resources/CustomerSessions.d.ts +74 -0
  953. package/esm/resources/CustomerSessions.js +13 -0
  954. package/esm/resources/CustomerSessions.js.map +1 -1
  955. package/esm/resources/CustomerTaxExemptions.d.ts +69 -0
  956. package/esm/resources/CustomerTaxExemptions.js +3 -0
  957. package/esm/resources/CustomerTaxExemptions.js.map +1 -0
  958. package/esm/resources/Customers.d.ts +197 -1
  959. package/esm/resources/Customers.js +221 -0
  960. package/esm/resources/Customers.js.map +1 -1
  961. package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
  962. package/esm/resources/DelegatedCheckout/OrderEvents.js +3 -0
  963. package/esm/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
  964. package/esm/resources/DelegatedCheckout/Orders.d.ts +159 -0
  965. package/esm/resources/DelegatedCheckout/Orders.js +11 -0
  966. package/esm/resources/DelegatedCheckout/Orders.js.map +1 -0
  967. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1427 -0
  968. package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
  969. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
  970. package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
  971. package/esm/resources/DelegatedCheckout/index.js +11 -0
  972. package/esm/resources/DelegatedCheckout/index.js.map +1 -0
  973. package/esm/resources/Discounts.d.ts +28 -2
  974. package/esm/resources/Disputes.d.ts +43 -0
  975. package/esm/resources/Disputes.js +14 -0
  976. package/esm/resources/Disputes.js.map +1 -1
  977. package/esm/resources/Events.d.ts +640 -3
  978. package/esm/resources/ExternalAccounts.d.ts +212 -1
  979. package/esm/resources/ExternalAccounts.js +42 -1
  980. package/esm/resources/ExternalAccounts.js.map +1 -1
  981. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  982. package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
  983. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  984. package/esm/resources/FinancialConnections/Accounts.d.ts +105 -4
  985. package/esm/resources/FinancialConnections/Accounts.js +8 -0
  986. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  987. package/esm/resources/FinancialConnections/Authorizations.d.ts +46 -1
  988. package/esm/resources/FinancialConnections/Authorizations.js +9 -1
  989. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
  990. package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
  991. package/esm/resources/FinancialConnections/Institutions.js +19 -0
  992. package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
  993. package/esm/resources/FinancialConnections/Sessions.d.ts +124 -9
  994. package/esm/resources/FinancialConnections/Transactions.d.ts +88 -0
  995. package/esm/resources/FinancialConnections/index.d.ts +21 -9
  996. package/esm/resources/FinancialConnections/index.js +4 -0
  997. package/esm/resources/FinancialConnections/index.js.map +1 -1
  998. package/esm/resources/FxQuotes.d.ts +212 -0
  999. package/esm/resources/FxQuotes.js +25 -0
  1000. package/esm/resources/FxQuotes.js.map +1 -0
  1001. package/esm/resources/GiftCardOperations.d.ts +249 -0
  1002. package/esm/resources/GiftCardOperations.js +11 -0
  1003. package/esm/resources/GiftCardOperations.js.map +1 -0
  1004. package/esm/resources/GiftCards.d.ts +188 -0
  1005. package/esm/resources/GiftCards.js +47 -0
  1006. package/esm/resources/GiftCards.js.map +1 -0
  1007. package/esm/resources/Identity/BlocklistEntries.d.ts +155 -0
  1008. package/esm/resources/Identity/BlocklistEntries.js +50 -0
  1009. package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
  1010. package/esm/resources/Identity/VerificationReports.d.ts +90 -4
  1011. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  1012. package/esm/resources/Identity/VerificationSessions.d.ts +48 -4
  1013. package/esm/resources/Identity/index.d.ts +18 -10
  1014. package/esm/resources/Identity/index.js +2 -0
  1015. package/esm/resources/Identity/index.js.map +1 -1
  1016. package/esm/resources/InvoiceItems.d.ts +215 -2
  1017. package/esm/resources/InvoiceItems.js +41 -0
  1018. package/esm/resources/InvoiceItems.js.map +1 -1
  1019. package/esm/resources/InvoiceLineItems.d.ts +174 -4
  1020. package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
  1021. package/esm/resources/InvoiceRenderingTemplates.js +28 -0
  1022. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  1023. package/esm/resources/Invoices.d.ts +2303 -59
  1024. package/esm/resources/Invoices.js +221 -0
  1025. package/esm/resources/Invoices.js.map +1 -1
  1026. package/esm/resources/Issuing/Authorizations.d.ts +735 -1
  1027. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  1028. package/esm/resources/Issuing/Cardholders.d.ts +22 -4
  1029. package/esm/resources/Issuing/Cards.d.ts +139 -0
  1030. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
  1031. package/esm/resources/Issuing/CreditUnderwritingRecords.js +49 -0
  1032. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  1033. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
  1034. package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
  1035. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  1036. package/esm/resources/Issuing/Disputes.d.ts +246 -0
  1037. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  1038. package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
  1039. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  1040. package/esm/resources/Issuing/Programs.d.ts +95 -0
  1041. package/esm/resources/Issuing/Programs.js +31 -0
  1042. package/esm/resources/Issuing/Programs.js.map +1 -0
  1043. package/esm/resources/Issuing/Settlements.d.ts +83 -0
  1044. package/esm/resources/Issuing/Settlements.js +3 -0
  1045. package/esm/resources/Issuing/Settlements.js.map +1 -0
  1046. package/esm/resources/Issuing/Tokens.d.ts +26 -0
  1047. package/esm/resources/Issuing/Transactions.d.ts +233 -0
  1048. package/esm/resources/Issuing/Transactions.js.map +1 -1
  1049. package/esm/resources/Issuing/index.d.ts +56 -22
  1050. package/esm/resources/Issuing/index.js +8 -0
  1051. package/esm/resources/Issuing/index.js.map +1 -1
  1052. package/esm/resources/LineItems.d.ts +29 -2
  1053. package/esm/resources/Mandates.d.ts +47 -2
  1054. package/esm/resources/Mandates.js +8 -0
  1055. package/esm/resources/Mandates.js.map +1 -1
  1056. package/esm/resources/Margins.d.ts +115 -0
  1057. package/esm/resources/Margins.js +31 -0
  1058. package/esm/resources/Margins.js.map +1 -0
  1059. package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
  1060. package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
  1061. package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
  1062. package/esm/resources/Orchestration/index.d.ts +12 -0
  1063. package/esm/resources/Orchestration/index.js +9 -0
  1064. package/esm/resources/Orchestration/index.js.map +1 -0
  1065. package/esm/resources/Orders.d.ts +4776 -0
  1066. package/esm/resources/Orders.js +453 -0
  1067. package/esm/resources/Orders.js.map +1 -0
  1068. package/esm/resources/PaymentAttemptRecords.d.ts +738 -5
  1069. package/esm/resources/PaymentAttemptRecords.js +48 -0
  1070. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  1071. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +52 -0
  1072. package/esm/resources/PaymentIntents.d.ts +17464 -3482
  1073. package/esm/resources/PaymentIntents.js +46 -0
  1074. package/esm/resources/PaymentIntents.js.map +1 -1
  1075. package/esm/resources/PaymentLinks.d.ts +75 -13
  1076. package/esm/resources/PaymentLocationCapabilities.d.ts +124 -0
  1077. package/esm/resources/PaymentLocationCapabilities.js +25 -0
  1078. package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
  1079. package/esm/resources/PaymentLocations.d.ts +178 -0
  1080. package/esm/resources/PaymentLocations.js +37 -0
  1081. package/esm/resources/PaymentLocations.js.map +1 -0
  1082. package/esm/resources/PaymentMethodBalances.d.ts +46 -0
  1083. package/esm/resources/PaymentMethodBalances.js +3 -0
  1084. package/esm/resources/PaymentMethodBalances.js.map +1 -0
  1085. package/esm/resources/PaymentMethodConfigurations.d.ts +420 -0
  1086. package/esm/resources/PaymentMethods.d.ts +303 -3
  1087. package/esm/resources/PaymentMethods.js +20 -0
  1088. package/esm/resources/PaymentMethods.js.map +1 -1
  1089. package/esm/resources/PaymentPlans.d.ts +427 -0
  1090. package/esm/resources/PaymentPlans.js +31 -0
  1091. package/esm/resources/PaymentPlans.js.map +1 -0
  1092. package/esm/resources/PaymentRecords.d.ts +791 -23
  1093. package/esm/resources/PaymentRecords.js +18 -0
  1094. package/esm/resources/PaymentRecords.js.map +1 -1
  1095. package/esm/resources/Persons.d.ts +39 -2
  1096. package/esm/resources/Plans.d.ts +16 -0
  1097. package/esm/resources/Prices.d.ts +76 -0
  1098. package/esm/resources/Prices.js +27 -0
  1099. package/esm/resources/Prices.js.map +1 -1
  1100. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
  1101. package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
  1102. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  1103. package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
  1104. package/esm/resources/Privacy/RedactionJobs.js +69 -0
  1105. package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
  1106. package/esm/resources/Privacy/index.d.ts +22 -0
  1107. package/esm/resources/Privacy/index.js +9 -0
  1108. package/esm/resources/Privacy/index.js.map +1 -0
  1109. package/esm/resources/ProductCatalog/TrialOffers.d.ts +159 -0
  1110. package/esm/resources/ProductCatalog/TrialOffers.js +25 -0
  1111. package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
  1112. package/esm/resources/ProductCatalog/index.d.ts +14 -0
  1113. package/esm/resources/ProductCatalog/index.js +9 -0
  1114. package/esm/resources/ProductCatalog/index.js.map +1 -0
  1115. package/esm/resources/Products.d.ts +198 -0
  1116. package/esm/resources/Products.js +69 -0
  1117. package/esm/resources/Products.js.map +1 -1
  1118. package/esm/resources/Profiles.d.ts +68 -0
  1119. package/esm/resources/Profiles.js +3 -0
  1120. package/esm/resources/Profiles.js.map +1 -0
  1121. package/esm/resources/PromotionCodes.d.ts +12 -0
  1122. package/esm/resources/PromotionCodes.js +27 -0
  1123. package/esm/resources/PromotionCodes.js.map +1 -1
  1124. package/esm/resources/QuoteLines.d.ts +684 -0
  1125. package/esm/resources/QuoteLines.js +3 -0
  1126. package/esm/resources/QuoteLines.js.map +1 -0
  1127. package/esm/resources/QuotePreviewInvoices.d.ts +1239 -0
  1128. package/esm/resources/QuotePreviewInvoices.js +3 -0
  1129. package/esm/resources/QuotePreviewInvoices.js.map +1 -0
  1130. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +1088 -0
  1131. package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
  1132. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  1133. package/esm/resources/Quotes.d.ts +3546 -252
  1134. package/esm/resources/Quotes.js +1184 -16
  1135. package/esm/resources/Quotes.js.map +1 -1
  1136. package/esm/resources/Radar/AccountEvaluations.d.ts +309 -0
  1137. package/esm/resources/Radar/AccountEvaluations.js +23 -0
  1138. package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
  1139. package/esm/resources/Radar/BillingEvaluations.d.ts +372 -0
  1140. package/esm/resources/Radar/BillingEvaluations.js +11 -0
  1141. package/esm/resources/Radar/BillingEvaluations.js.map +1 -0
  1142. package/esm/resources/Radar/CustomerEvaluations.d.ts +245 -0
  1143. package/esm/resources/Radar/CustomerEvaluations.js +23 -0
  1144. package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
  1145. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
  1146. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
  1147. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
  1148. package/esm/resources/Radar/PaymentEvaluations.d.ts +117 -3
  1149. package/esm/resources/Radar/ValueListItems.d.ts +39 -1
  1150. package/esm/resources/Radar/ValueListItems.js +13 -0
  1151. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  1152. package/esm/resources/Radar/index.d.ts +41 -16
  1153. package/esm/resources/Radar/index.js +8 -0
  1154. package/esm/resources/Radar/index.js.map +1 -1
  1155. package/esm/resources/Refunds.d.ts +39 -0
  1156. package/esm/resources/Refunds.js +27 -0
  1157. package/esm/resources/Refunds.js.map +1 -1
  1158. package/esm/resources/Reserve/Holds.d.ts +53 -1
  1159. package/esm/resources/Reserve/Holds.js +17 -1
  1160. package/esm/resources/Reserve/Holds.js.map +1 -1
  1161. package/esm/resources/Reserve/Plans.d.ts +16 -0
  1162. package/esm/resources/Reserve/Plans.js +9 -1
  1163. package/esm/resources/Reserve/Plans.js.map +1 -1
  1164. package/esm/resources/Reserve/Releases.d.ts +41 -1
  1165. package/esm/resources/Reserve/Releases.js +17 -1
  1166. package/esm/resources/Reserve/Releases.js.map +1 -1
  1167. package/esm/resources/Reserve/index.d.ts +17 -6
  1168. package/esm/resources/Reserve/index.js +9 -0
  1169. package/esm/resources/Reserve/index.js.map +1 -1
  1170. package/esm/resources/RiskSignals.d.ts +10 -0
  1171. package/esm/resources/RiskSignals.js +3 -0
  1172. package/esm/resources/RiskSignals.js.map +1 -0
  1173. package/esm/resources/SetupAttempts.d.ts +36 -2
  1174. package/esm/resources/SetupAttempts.js.map +1 -1
  1175. package/esm/resources/SetupIntents.d.ts +633 -17
  1176. package/esm/resources/SetupIntents.js.map +1 -1
  1177. package/esm/resources/SharedPayment/GrantedTokens.d.ts +442 -0
  1178. package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
  1179. package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
  1180. package/esm/resources/SharedPayment/IssuedTokens.d.ts +378 -0
  1181. package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
  1182. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
  1183. package/esm/resources/SharedPayment/index.d.ts +19 -0
  1184. package/esm/resources/SharedPayment/index.js +11 -0
  1185. package/esm/resources/SharedPayment/index.js.map +1 -0
  1186. package/esm/resources/Sources.d.ts +29 -1
  1187. package/esm/resources/SubscriptionItems.d.ts +265 -0
  1188. package/esm/resources/SubscriptionItems.js +41 -0
  1189. package/esm/resources/SubscriptionItems.js.map +1 -1
  1190. package/esm/resources/SubscriptionSchedules.d.ts +2443 -67
  1191. package/esm/resources/SubscriptionSchedules.js +61 -0
  1192. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  1193. package/esm/resources/Subscriptions.d.ts +1074 -19
  1194. package/esm/resources/Subscriptions.js +289 -0
  1195. package/esm/resources/Subscriptions.js.map +1 -1
  1196. package/esm/resources/Tax/CalculationLineItems.d.ts +14 -3
  1197. package/esm/resources/Tax/Calculations.d.ts +46 -4
  1198. package/esm/resources/Tax/Forms.d.ts +228 -0
  1199. package/esm/resources/Tax/Forms.js +28 -0
  1200. package/esm/resources/Tax/Forms.js.map +1 -0
  1201. package/esm/resources/Tax/Locations.d.ts +112 -0
  1202. package/esm/resources/Tax/Locations.js +29 -0
  1203. package/esm/resources/Tax/Locations.js.map +1 -0
  1204. package/esm/resources/Tax/Registrations.d.ts +179 -4
  1205. package/esm/resources/Tax/Registrations.js +27 -0
  1206. package/esm/resources/Tax/Registrations.js.map +1 -1
  1207. package/esm/resources/Tax/Settings.d.ts +8 -0
  1208. package/esm/resources/Tax/Settings.js +13 -0
  1209. package/esm/resources/Tax/Settings.js.map +1 -1
  1210. package/esm/resources/Tax/Transactions.d.ts +10 -2
  1211. package/esm/resources/Tax/Transactions.js +13 -0
  1212. package/esm/resources/Tax/Transactions.js.map +1 -1
  1213. package/esm/resources/Tax/index.d.ts +31 -13
  1214. package/esm/resources/Tax/index.js +4 -0
  1215. package/esm/resources/Tax/index.js.map +1 -1
  1216. package/esm/resources/TaxCodes.d.ts +16 -1
  1217. package/esm/resources/TaxFunds.d.ts +174 -0
  1218. package/esm/resources/TaxFunds.js +19 -0
  1219. package/esm/resources/TaxFunds.js.map +1 -0
  1220. package/esm/resources/TaxIds.d.ts +6 -0
  1221. package/esm/resources/TaxIds.js +13 -0
  1222. package/esm/resources/TaxIds.js.map +1 -1
  1223. package/esm/resources/TaxRates.d.ts +12 -0
  1224. package/esm/resources/TaxRates.js +27 -0
  1225. package/esm/resources/TaxRates.js.map +1 -1
  1226. package/esm/resources/Terminal/Configurations.d.ts +27 -0
  1227. package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
  1228. package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
  1229. package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
  1230. package/esm/resources/Terminal/Readers.d.ts +220 -3
  1231. package/esm/resources/Terminal/Readers.js +24 -0
  1232. package/esm/resources/Terminal/Readers.js.map +1 -1
  1233. package/esm/resources/Terminal/index.d.ts +9 -0
  1234. package/esm/resources/Terminal/index.js +2 -0
  1235. package/esm/resources/Terminal/index.js.map +1 -1
  1236. package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +82 -0
  1237. package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
  1238. package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
  1239. package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
  1240. package/esm/resources/TestHelpers/Capital/index.js +9 -0
  1241. package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
  1242. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +100 -1
  1243. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +107 -0
  1244. package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
  1245. package/esm/resources/TestHelpers/Issuing/Disputes.js +35 -0
  1246. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
  1247. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +110 -0
  1248. package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
  1249. package/esm/resources/TestHelpers/Issuing/index.js +2 -0
  1250. package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
  1251. package/esm/resources/TestHelpers/PaymentIntents.d.ts +38 -0
  1252. package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
  1253. package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
  1254. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +92 -0
  1255. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
  1256. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  1257. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  1258. package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
  1259. package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  1260. package/esm/resources/TestHelpers/Terminal/Readers.d.ts +18 -1
  1261. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  1262. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  1263. package/esm/resources/TestHelpers/index.d.ts +14 -6
  1264. package/esm/resources/TestHelpers/index.js +6 -0
  1265. package/esm/resources/TestHelpers/index.js.map +1 -1
  1266. package/esm/resources/Tokens.d.ts +76 -0
  1267. package/esm/resources/Transfers.d.ts +12 -0
  1268. package/esm/resources/Transfers.js.map +1 -1
  1269. package/esm/resources/TransitBalances.d.ts +25 -0
  1270. package/esm/resources/TransitBalances.js +3 -0
  1271. package/esm/resources/TransitBalances.js.map +1 -0
  1272. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  1273. package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
  1274. package/esm/resources/Treasury/OutboundPayments.d.ts +9 -0
  1275. package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
  1276. package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
  1277. package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
  1278. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
  1279. package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
  1280. package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  1281. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  1282. package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
  1283. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  1284. package/esm/resources/V2/Billing/BillSettings.d.ts +281 -0
  1285. package/esm/resources/V2/Billing/BillSettings.js +37 -0
  1286. package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
  1287. package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +87 -0
  1288. package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
  1289. package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
  1290. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
  1291. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
  1292. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
  1293. package/esm/resources/V2/Billing/Cadences.d.ts +1022 -0
  1294. package/esm/resources/V2/Billing/Cadences.js +260 -0
  1295. package/esm/resources/V2/Billing/Cadences.js.map +1 -0
  1296. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
  1297. package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
  1298. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  1299. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  1300. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
  1301. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  1302. package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  1303. package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
  1304. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
  1305. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +50 -0
  1306. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +3 -0
  1307. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
  1308. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
  1309. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +25 -0
  1310. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
  1311. package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
  1312. package/esm/resources/V2/Billing/Contracts/PricingLines.js +11 -0
  1313. package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
  1314. package/esm/resources/V2/Billing/Contracts.d.ts +1776 -0
  1315. package/esm/resources/V2/Billing/Contracts.js +330 -0
  1316. package/esm/resources/V2/Billing/Contracts.js.map +1 -0
  1317. package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
  1318. package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
  1319. package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
  1320. package/esm/resources/V2/Billing/IntentActions.d.ts +609 -0
  1321. package/esm/resources/V2/Billing/IntentActions.js +3 -0
  1322. package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
  1323. package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
  1324. package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
  1325. package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
  1326. package/esm/resources/V2/Billing/Intents.d.ts +1267 -0
  1327. package/esm/resources/V2/Billing/Intents.js +83 -0
  1328. package/esm/resources/V2/Billing/Intents.js.map +1 -0
  1329. package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
  1330. package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
  1331. package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
  1332. package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
  1333. package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
  1334. package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
  1335. package/esm/resources/V2/Billing/LicenseFees.d.ts +360 -0
  1336. package/esm/resources/V2/Billing/LicenseFees.js +144 -0
  1337. package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
  1338. package/esm/resources/V2/Billing/LicensedItems.d.ts +170 -0
  1339. package/esm/resources/V2/Billing/LicensedItems.js +31 -0
  1340. package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
  1341. package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +4 -2
  1342. package/esm/resources/V2/Billing/MeteredItems.d.ts +218 -0
  1343. package/esm/resources/V2/Billing/MeteredItems.js +31 -0
  1344. package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
  1345. package/esm/resources/V2/Billing/OneTimeItems.d.ts +170 -0
  1346. package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
  1347. package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
  1348. package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
  1349. package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
  1350. package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
  1351. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +636 -0
  1352. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
  1353. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
  1354. package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
  1355. package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
  1356. package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
  1357. package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
  1358. package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
  1359. package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
  1360. package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
  1361. package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
  1362. package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
  1363. package/esm/resources/V2/Billing/PricingPlans.d.ts +169 -0
  1364. package/esm/resources/V2/Billing/PricingPlans.js +39 -0
  1365. package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
  1366. package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
  1367. package/esm/resources/V2/Billing/Profiles.js +31 -0
  1368. package/esm/resources/V2/Billing/Profiles.js.map +1 -0
  1369. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
  1370. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
  1371. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
  1372. package/esm/resources/V2/Billing/RateCardRates.d.ts +111 -0
  1373. package/esm/resources/V2/Billing/RateCardRates.js +3 -0
  1374. package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
  1375. package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +218 -0
  1376. package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
  1377. package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
  1378. package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
  1379. package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
  1380. package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
  1381. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
  1382. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
  1383. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
  1384. package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
  1385. package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
  1386. package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
  1387. package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
  1388. package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
  1389. package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
  1390. package/esm/resources/V2/Billing/RateCards.d.ts +336 -0
  1391. package/esm/resources/V2/Billing/RateCards.js +72 -0
  1392. package/esm/resources/V2/Billing/RateCards.js.map +1 -0
  1393. package/esm/resources/V2/Billing/ServiceActions.d.ts +536 -0
  1394. package/esm/resources/V2/Billing/ServiceActions.js +158 -0
  1395. package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
  1396. package/esm/resources/V2/Billing/index.d.ts +175 -6
  1397. package/esm/resources/V2/Billing/index.js +32 -0
  1398. package/esm/resources/V2/Billing/index.js.map +1 -1
  1399. package/esm/resources/V2/Core/AccountEvaluations.d.ts +159 -0
  1400. package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
  1401. package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
  1402. package/esm/resources/V2/Core/AccountLinks.d.ts +162 -6
  1403. package/esm/resources/V2/Core/AccountPersons.d.ts +17 -6
  1404. package/esm/resources/V2/Core/AccountTokens.d.ts +270 -17
  1405. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +17 -6
  1406. package/esm/resources/V2/Core/Accounts/Persons.d.ts +34 -12
  1407. package/esm/resources/V2/Core/Accounts.d.ts +15292 -929
  1408. package/esm/resources/V2/Core/Accounts.js +10464 -53
  1409. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  1410. package/esm/resources/V2/Core/ApprovalRequests.d.ts +378 -0
  1411. package/esm/resources/V2/Core/ApprovalRequests.js +35 -0
  1412. package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
  1413. package/esm/resources/V2/Core/BatchJobs.d.ts +360 -0
  1414. package/esm/resources/V2/Core/BatchJobs.js +221 -0
  1415. package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
  1416. package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
  1417. package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
  1418. package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
  1419. package/esm/resources/V2/Core/ConnectionSessions.d.ts +86 -0
  1420. package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
  1421. package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
  1422. package/esm/resources/V2/Core/EventDestinations.d.ts +10 -3
  1423. package/esm/resources/V2/Core/Events.d.ts +8301 -223
  1424. package/esm/resources/V2/Core/FeeBatches.d.ts +238 -0
  1425. package/esm/resources/V2/Core/FeeBatches.js +19 -0
  1426. package/esm/resources/V2/Core/FeeBatches.js.map +1 -0
  1427. package/esm/resources/V2/Core/FeeEntries.d.ts +200 -0
  1428. package/esm/resources/V2/Core/FeeEntries.js +19 -0
  1429. package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
  1430. package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +426 -0
  1431. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +3 -0
  1432. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
  1433. package/esm/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
  1434. package/esm/resources/V2/Core/Health/Alerts/History.js +97 -0
  1435. package/esm/resources/V2/Core/Health/Alerts/History.js.map +1 -0
  1436. package/esm/resources/V2/Core/Health/Alerts.d.ts +540 -0
  1437. package/esm/resources/V2/Core/Health/Alerts.js +178 -0
  1438. package/esm/resources/V2/Core/Health/Alerts.js.map +1 -0
  1439. package/esm/resources/V2/Core/Health/index.d.ts +16 -0
  1440. package/esm/resources/V2/Core/Health/index.js +9 -0
  1441. package/esm/resources/V2/Core/Health/index.js.map +1 -0
  1442. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +284 -0
  1443. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
  1444. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  1445. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +256 -0
  1446. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +61 -0
  1447. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  1448. package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
  1449. package/esm/resources/V2/Core/Vault/index.js +11 -0
  1450. package/esm/resources/V2/Core/Vault/index.js.map +1 -0
  1451. package/esm/resources/V2/Core/index.d.ts +65 -14
  1452. package/esm/resources/V2/Core/index.js +18 -0
  1453. package/esm/resources/V2/Core/index.js.map +1 -1
  1454. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -0
  1455. package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
  1456. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
  1457. package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
  1458. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
  1459. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
  1460. package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
  1461. package/esm/resources/V2/Data/Analytics/index.js +9 -0
  1462. package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
  1463. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +176 -0
  1464. package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
  1465. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  1466. package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
  1467. package/esm/resources/V2/Data/Reporting/index.js +9 -0
  1468. package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
  1469. package/esm/resources/V2/Data/index.d.ts +13 -0
  1470. package/esm/resources/V2/Data/index.js +11 -0
  1471. package/esm/resources/V2/Data/index.js.map +1 -0
  1472. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
  1473. package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
  1474. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  1475. package/esm/resources/V2/Extend/Workflows.d.ts +120 -0
  1476. package/esm/resources/V2/Extend/Workflows.js +26 -0
  1477. package/esm/resources/V2/Extend/Workflows.js.map +1 -0
  1478. package/esm/resources/V2/Extend/index.d.ts +20 -0
  1479. package/esm/resources/V2/Extend/index.js +11 -0
  1480. package/esm/resources/V2/Extend/index.js.map +1 -0
  1481. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  1482. package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
  1483. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  1484. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  1485. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
  1486. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  1487. package/esm/resources/V2/Iam/ActivityLogs.d.ts +362 -0
  1488. package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
  1489. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
  1490. package/esm/resources/V2/Iam/ApiKeys.d.ts +306 -0
  1491. package/esm/resources/V2/Iam/ApiKeys.js +43 -0
  1492. package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
  1493. package/esm/resources/V2/Iam/index.d.ts +23 -0
  1494. package/esm/resources/V2/Iam/index.js +11 -0
  1495. package/esm/resources/V2/Iam/index.js.map +1 -0
  1496. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +135 -0
  1497. package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
  1498. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  1499. package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
  1500. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
  1501. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
  1502. package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +173 -0
  1503. package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
  1504. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
  1505. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
  1506. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +3 -0
  1507. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
  1508. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
  1509. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
  1510. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
  1511. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +485 -0
  1512. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +153 -0
  1513. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  1514. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
  1515. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +3 -0
  1516. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
  1517. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +304 -0
  1518. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
  1519. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  1520. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +251 -0
  1521. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
  1522. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  1523. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +331 -0
  1524. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
  1525. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  1526. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +645 -0
  1527. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
  1528. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  1529. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +318 -0
  1530. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
  1531. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  1532. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +397 -0
  1533. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
  1534. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  1535. package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +651 -0
  1536. package/esm/resources/V2/MoneyManagement/PayoutIntents.js +53 -0
  1537. package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
  1538. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +292 -0
  1539. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +49 -0
  1540. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  1541. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
  1542. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
  1543. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  1544. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +499 -0
  1545. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
  1546. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  1547. package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +171 -0
  1548. package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js +25 -0
  1549. package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
  1550. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +324 -0
  1551. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
  1552. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  1553. package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +116 -0
  1554. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
  1555. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
  1556. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +34 -0
  1557. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +11 -0
  1558. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -0
  1559. package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +8 -0
  1560. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +9 -0
  1561. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +1 -0
  1562. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +266 -0
  1563. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
  1564. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  1565. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +321 -0
  1566. package/esm/resources/V2/MoneyManagement/Transactions.js +25 -0
  1567. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  1568. package/esm/resources/V2/MoneyManagement/index.d.ts +154 -0
  1569. package/esm/resources/V2/MoneyManagement/index.js +47 -0
  1570. package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
  1571. package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
  1572. package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
  1573. package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
  1574. package/esm/resources/V2/Network/index.d.ts +13 -0
  1575. package/esm/resources/V2/Network/index.js +9 -0
  1576. package/esm/resources/V2/Network/index.js.map +1 -0
  1577. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
  1578. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
  1579. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  1580. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  1581. package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
  1582. package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  1583. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +836 -0
  1584. package/esm/resources/V2/Payments/OffSessionPayments.js +49 -0
  1585. package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
  1586. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
  1587. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
  1588. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
  1589. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
  1590. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
  1591. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
  1592. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +212 -0
  1593. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
  1594. package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
  1595. package/esm/resources/V2/Payments/index.d.ts +31 -0
  1596. package/esm/resources/V2/Payments/index.js +11 -0
  1597. package/esm/resources/V2/Payments/index.js.map +1 -0
  1598. package/esm/resources/V2/Reporting/ReportRuns.d.ts +195 -0
  1599. package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
  1600. package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
  1601. package/esm/resources/V2/Reporting/Reports.d.ts +106 -0
  1602. package/esm/resources/V2/Reporting/Reports.js +13 -0
  1603. package/esm/resources/V2/Reporting/Reports.js.map +1 -0
  1604. package/esm/resources/V2/Reporting/index.d.ts +18 -0
  1605. package/esm/resources/V2/Reporting/index.js +11 -0
  1606. package/esm/resources/V2/Reporting/index.js.map +1 -0
  1607. package/esm/resources/V2/Risk/Inquiries.d.ts +143 -0
  1608. package/esm/resources/V2/Risk/Inquiries.js +25 -0
  1609. package/esm/resources/V2/Risk/Inquiries.js.map +1 -0
  1610. package/esm/resources/V2/Risk/index.d.ts +14 -0
  1611. package/esm/resources/V2/Risk/index.js +9 -0
  1612. package/esm/resources/V2/Risk/index.js.map +1 -0
  1613. package/esm/resources/V2/Signals/AccountActivity.d.ts +488 -0
  1614. package/esm/resources/V2/Signals/AccountActivity.js +23 -0
  1615. package/esm/resources/V2/Signals/AccountActivity.js.map +1 -0
  1616. package/esm/resources/V2/Signals/AccountEvaluations.d.ts +396 -0
  1617. package/esm/resources/V2/Signals/AccountEvaluations.js +55 -0
  1618. package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
  1619. package/esm/resources/V2/Signals/AccountSignals.d.ts +297 -0
  1620. package/esm/resources/V2/Signals/AccountSignals.js +106 -0
  1621. package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
  1622. package/esm/resources/V2/Signals/PaymentRetryEvaluations.d.ts +116 -0
  1623. package/esm/resources/V2/Signals/PaymentRetryEvaluations.js +34 -0
  1624. package/esm/resources/V2/Signals/PaymentRetryEvaluations.js.map +1 -0
  1625. package/esm/resources/V2/Signals/PaymentRetrySignals.d.ts +63 -0
  1626. package/esm/resources/V2/Signals/PaymentRetrySignals.js +11 -0
  1627. package/esm/resources/V2/Signals/PaymentRetrySignals.js.map +1 -0
  1628. package/esm/resources/V2/Signals/index.d.ts +39 -0
  1629. package/esm/resources/V2/Signals/index.js +17 -0
  1630. package/esm/resources/V2/Signals/index.js.map +1 -0
  1631. package/esm/resources/V2/Tax/IntegrationConfigurations.d.ts +64 -0
  1632. package/esm/resources/V2/Tax/IntegrationConfigurations.js +17 -0
  1633. package/esm/resources/V2/Tax/IntegrationConfigurations.js.map +1 -0
  1634. package/esm/resources/V2/Tax/ManualRules.d.ts +331 -0
  1635. package/esm/resources/V2/Tax/ManualRules.js +189 -0
  1636. package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
  1637. package/esm/resources/V2/Tax/Operations.d.ts +43 -0
  1638. package/esm/resources/V2/Tax/Operations.js +11 -0
  1639. package/esm/resources/V2/Tax/Operations.js.map +1 -0
  1640. package/esm/resources/V2/Tax/OperationsResolveAddressResults.d.ts +70 -0
  1641. package/esm/resources/V2/Tax/OperationsResolveAddressResults.js +3 -0
  1642. package/esm/resources/V2/Tax/OperationsResolveAddressResults.js.map +1 -0
  1643. package/esm/resources/V2/Tax/index.d.ts +27 -0
  1644. package/esm/resources/V2/Tax/index.js +13 -0
  1645. package/esm/resources/V2/Tax/index.js.map +1 -0
  1646. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +45 -0
  1647. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
  1648. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  1649. package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
  1650. package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
  1651. package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
  1652. package/esm/resources/V2/TestHelpers/index.d.ts +10 -0
  1653. package/esm/resources/V2/TestHelpers/index.js +11 -0
  1654. package/esm/resources/V2/TestHelpers/index.js.map +1 -0
  1655. package/esm/resources/V2/index.d.ts +42 -0
  1656. package/esm/resources/V2/index.js +24 -0
  1657. package/esm/resources/V2/index.js.map +1 -1
  1658. package/esm/resources/WebhookEndpoints.d.ts +2 -2
  1659. package/esm/resources.d.ts +20 -0
  1660. package/esm/resources.js +274 -0
  1661. package/esm/resources.js.map +1 -1
  1662. package/esm/stripe.core.d.ts +163 -54
  1663. package/esm/stripe.core.js +41 -2
  1664. package/esm/stripe.core.js.map +1 -1
  1665. package/esm/stripe.esm.node.d.ts +165 -56
  1666. package/esm/stripe.esm.node.js +41 -2
  1667. package/esm/stripe.esm.node.js.map +1 -1
  1668. package/package.json +1 -1
@@ -0,0 +1,1776 @@
1
+ import { StripeResource } from '../../../StripeResource.js';
2
+ import { V2Amount } from './../V2Amounts.js';
3
+ import { MetadataParam, OtherString, Decimal, Metadata } from '../../../shared.js';
4
+ import { RequestOptions, V2ListPromise, Response } from '../../../lib.js';
5
+ import { DeletedObject } from './../../V2/DeletedObject.js';
6
+ import { PricingLineResource } from './Contracts/PricingLines.js';
7
+ import { Stripe } from '../../../stripe.core.js';
8
+ export declare class ContractResource extends StripeResource {
9
+ private readonly stripe;
10
+ pricingLines: PricingLineResource;
11
+ constructor(stripe: Stripe);
12
+ /**
13
+ * List contracts.
14
+ */
15
+ list(params?: V2.Billing.ContractListParams, options?: RequestOptions): V2ListPromise<Contract>;
16
+ /**
17
+ * Create a draft contract.
18
+ * @throws Stripe.AlreadyExistsError
19
+ */
20
+ create(params: V2.Billing.ContractCreateParams, options?: RequestOptions): Promise<Response<Contract>>;
21
+ /**
22
+ * Delete a draft contract.
23
+ */
24
+ del(id: string, params?: V2.Billing.ContractDeleteParams, options?: RequestOptions): Promise<Response<DeletedObject>>;
25
+ /**
26
+ * Retrieve a contract.
27
+ */
28
+ retrieve(id: string, params?: V2.Billing.ContractRetrieveParams, options?: RequestOptions): Promise<Response<Contract>>;
29
+ /**
30
+ * Update a draft or active contract.
31
+ * @throws Stripe.AlreadyExistsError
32
+ * @throws Stripe.CannotProceedError
33
+ */
34
+ update(id: string, params?: V2.Billing.ContractUpdateParams, options?: RequestOptions): Promise<Response<Contract>>;
35
+ /**
36
+ * Activate a draft contract.
37
+ */
38
+ activate(id: string, params?: V2.Billing.ContractActivateParams, options?: RequestOptions): Promise<Response<Contract>>;
39
+ /**
40
+ * Cancel an active contract.
41
+ */
42
+ cancel(id: string, params?: V2.Billing.ContractCancelParams, options?: RequestOptions): Promise<Response<Contract>>;
43
+ }
44
+ export interface Contract {
45
+ /**
46
+ * The contract id.
47
+ */
48
+ id: string;
49
+ /**
50
+ * String representing the object's type. Objects of the same type share the same value of the object field.
51
+ */
52
+ object: 'v2.billing.contract';
53
+ /**
54
+ * The billing cycle anchor.
55
+ */
56
+ billing_cycle_anchor?: Contract.BillingCycleAnchor;
57
+ /**
58
+ * The billing settings.
59
+ */
60
+ billing_settings?: Contract.BillingSettings;
61
+ /**
62
+ * A unique user-provided contract number e.g. C-2026-0001.
63
+ */
64
+ contract_number: string;
65
+ /**
66
+ * Timestamp of when the contract was created.
67
+ */
68
+ created: string;
69
+ /**
70
+ * The currency.
71
+ */
72
+ currency: string;
73
+ /**
74
+ * The customer id.
75
+ */
76
+ customer: string;
77
+ /**
78
+ * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
79
+ */
80
+ livemode: boolean;
81
+ /**
82
+ * Set of key-value pairs.
83
+ */
84
+ metadata?: Metadata;
85
+ /**
86
+ * The one-time fees. Only populated when `one_time_fees` is passed in the `include` parameter.
87
+ */
88
+ one_time_fees?: Contract.OneTimeFees;
89
+ /**
90
+ * The pricing lines. Only populated when `pricing_lines` is passed in the `include` parameter.
91
+ */
92
+ pricing_lines?: Contract.PricingLines;
93
+ /**
94
+ * The pricing overrides. Only populated when `pricing_overrides` is passed in the `include` parameter.
95
+ */
96
+ pricing_overrides?: Contract.PricingOverrides;
97
+ /**
98
+ * The current status of the contract.
99
+ */
100
+ status: Contract.Status;
101
+ /**
102
+ * Historical timestamps of when the contract transitioned into each status.
103
+ */
104
+ status_transitions?: Contract.StatusTransitions;
105
+ }
106
+ export declare namespace Contract {
107
+ interface BillingCycleAnchor {
108
+ /**
109
+ * The billing cycle anchor as a UTC timestamp.
110
+ */
111
+ timestamp: string;
112
+ }
113
+ interface BillingSettings {
114
+ /**
115
+ * The bill settings details configures invoice and tax settings for the contract.
116
+ */
117
+ bill_settings_details?: BillingSettings.BillSettingsDetails;
118
+ /**
119
+ * The billing profile details configures who is charged for the contract.
120
+ */
121
+ billing_profile_details: BillingSettings.BillingProfileDetails;
122
+ /**
123
+ * The collection settings details configures how payments are collected on the contract.
124
+ */
125
+ collection_settings_details: BillingSettings.CollectionSettingsDetails;
126
+ }
127
+ interface OneTimeFees {
128
+ /**
129
+ * The one-time fees for this page.
130
+ */
131
+ data: Array<OneTimeFees.Data>;
132
+ }
133
+ interface PricingLines {
134
+ /**
135
+ * The pricing lines for this page.
136
+ */
137
+ data: Array<PricingLines.Data>;
138
+ }
139
+ interface PricingOverrides {
140
+ /**
141
+ * The pricing overrides for this page.
142
+ */
143
+ data: Array<PricingOverrides.Data>;
144
+ }
145
+ type Status = 'active' | 'canceled' | 'draft' | 'ended' | OtherString;
146
+ interface StatusTransitions {
147
+ /**
148
+ * The timestamp when the contract was activated.
149
+ */
150
+ activated_at?: string;
151
+ /**
152
+ * The timestamp when the contract was canceled.
153
+ */
154
+ canceled_at?: string;
155
+ /**
156
+ * The timestamp when the contract ended.
157
+ */
158
+ ended_at?: string;
159
+ }
160
+ namespace BillingSettings {
161
+ interface BillSettingsDetails {
162
+ /**
163
+ * Calculation settings.
164
+ */
165
+ calculation?: BillSettingsDetails.Calculation;
166
+ /**
167
+ * Invoice settings.
168
+ */
169
+ invoice?: BillSettingsDetails.Invoice;
170
+ }
171
+ interface BillingProfileDetails {
172
+ /**
173
+ * The customer who pays for the contract invoice.
174
+ */
175
+ customer: string;
176
+ /**
177
+ * The default payment method for the contract.
178
+ */
179
+ default_payment_method?: string;
180
+ }
181
+ interface CollectionSettingsDetails {
182
+ /**
183
+ * The collection method.
184
+ */
185
+ collection_method: CollectionSettingsDetails.CollectionMethod;
186
+ /**
187
+ * The payment method configuration.
188
+ */
189
+ payment_method_configuration?: string;
190
+ }
191
+ namespace BillSettingsDetails {
192
+ interface Calculation {
193
+ /**
194
+ * Tax calculation settings.
195
+ */
196
+ tax?: Calculation.Tax;
197
+ }
198
+ interface Invoice {
199
+ /**
200
+ * The number of time units before the invoice is past due.
201
+ */
202
+ time_until_due?: Invoice.TimeUntilDue;
203
+ }
204
+ namespace Calculation {
205
+ interface Tax {
206
+ /**
207
+ * The type of tax calculation.
208
+ */
209
+ type: Tax.Type;
210
+ }
211
+ namespace Tax {
212
+ type Type = 'automatic' | 'manual';
213
+ }
214
+ }
215
+ namespace Invoice {
216
+ interface TimeUntilDue {
217
+ /**
218
+ * The interval unit.
219
+ */
220
+ interval: TimeUntilDue.Interval;
221
+ /**
222
+ * The number of intervals.
223
+ */
224
+ interval_count: number;
225
+ }
226
+ namespace TimeUntilDue {
227
+ type Interval = 'day' | 'month' | 'week' | 'year';
228
+ }
229
+ }
230
+ }
231
+ namespace CollectionSettingsDetails {
232
+ type CollectionMethod = 'charge_automatically' | 'send_invoice';
233
+ }
234
+ }
235
+ namespace OneTimeFees {
236
+ interface Data {
237
+ /**
238
+ * The amount billed for this fee.
239
+ */
240
+ amount: V2Amount;
241
+ /**
242
+ * When this fee will be billed. Always contains a concrete timestamp.
243
+ */
244
+ bill_at: Data.BillAt;
245
+ /**
246
+ * The id of the one-time fee.
247
+ */
248
+ id: string;
249
+ /**
250
+ * The user-provided lookup key.
251
+ */
252
+ lookup_key?: string;
253
+ /**
254
+ * The id of the product for this fee.
255
+ */
256
+ product: string;
257
+ }
258
+ namespace Data {
259
+ interface BillAt {
260
+ /**
261
+ * The timestamp at which the fee will be billed.
262
+ */
263
+ timestamp: string;
264
+ }
265
+ }
266
+ }
267
+ namespace PricingLines {
268
+ interface Data {
269
+ /**
270
+ * Timestamp when the pricing line ends.
271
+ */
272
+ ends_at: Data.EndsAt;
273
+ /**
274
+ * The id of the pricing line.
275
+ */
276
+ id: string;
277
+ /**
278
+ * The user-provided lookup key for the pricing line.
279
+ */
280
+ lookup_key?: string;
281
+ /**
282
+ * Set of key-value pairs.
283
+ */
284
+ metadata?: Metadata;
285
+ /**
286
+ * The pricing configuration for the pricing line.
287
+ */
288
+ pricing: Data.Pricing;
289
+ /**
290
+ * Timestamp when the pricing line starts.
291
+ */
292
+ starts_at: Data.StartsAt;
293
+ }
294
+ namespace Data {
295
+ interface EndsAt {
296
+ /**
297
+ * The timestamp when the item ends.
298
+ */
299
+ timestamp: string;
300
+ }
301
+ interface Pricing {
302
+ /**
303
+ * V1 price details. Present when `type` is `price`.
304
+ */
305
+ price_details?: Pricing.PriceDetails;
306
+ /**
307
+ * The type of pricing.
308
+ */
309
+ type: Pricing.Type;
310
+ }
311
+ interface StartsAt {
312
+ /**
313
+ * The timestamp when the item starts.
314
+ */
315
+ timestamp: string;
316
+ }
317
+ namespace Pricing {
318
+ interface PriceDetails {
319
+ /**
320
+ * The current quantity on this pricing line.
321
+ */
322
+ current_quantity: Decimal;
323
+ /**
324
+ * The ID of the V1 price.
325
+ */
326
+ price: string;
327
+ /**
328
+ * The overwrite_price overrides embedded directly on this pricing line.
329
+ */
330
+ pricing_overrides?: PriceDetails.PricingOverrides;
331
+ }
332
+ type Type = 'price' | OtherString;
333
+ namespace PriceDetails {
334
+ interface PricingOverrides {
335
+ /**
336
+ * The pricing line overrides.
337
+ */
338
+ data: Array<PricingOverrides.Data>;
339
+ }
340
+ namespace PricingOverrides {
341
+ interface Data {
342
+ /**
343
+ * Timestamp when this override ends.
344
+ */
345
+ ends_at: Data.EndsAt;
346
+ /**
347
+ * The ID of the pricing override.
348
+ */
349
+ id: string;
350
+ /**
351
+ * The user-provided lookup key for this override.
352
+ */
353
+ lookup_key?: string;
354
+ /**
355
+ * Set of key-value pairs.
356
+ */
357
+ metadata?: Metadata;
358
+ /**
359
+ * Details for an overwrite_price override.
360
+ */
361
+ overwrite_price?: Data.OverwritePrice;
362
+ /**
363
+ * The priority of this override relative to others. Lower number = higher priority.
364
+ */
365
+ priority: number;
366
+ /**
367
+ * Timestamp when this override starts.
368
+ */
369
+ starts_at: Data.StartsAt;
370
+ /**
371
+ * The type of override.
372
+ */
373
+ type: Data.Type;
374
+ }
375
+ namespace Data {
376
+ interface EndsAt {
377
+ /**
378
+ * The timestamp when the item ends.
379
+ */
380
+ timestamp: string;
381
+ }
382
+ interface OverwritePrice {
383
+ /**
384
+ * The per-unit amount to be charged, represented as a decimal string in minor currency units.
385
+ */
386
+ unit_amount?: string;
387
+ }
388
+ interface StartsAt {
389
+ /**
390
+ * The timestamp when the item starts.
391
+ */
392
+ timestamp: string;
393
+ }
394
+ type Type = 'overwrite_price' | OtherString;
395
+ }
396
+ }
397
+ }
398
+ }
399
+ }
400
+ }
401
+ namespace PricingOverrides {
402
+ interface Data {
403
+ /**
404
+ * Resolved timestamp when the pricing override ends.
405
+ */
406
+ ends_at: Data.EndsAt;
407
+ /**
408
+ * The ID of the pricing override.
409
+ */
410
+ id: string;
411
+ /**
412
+ * The user-provided lookup key for the pricing override.
413
+ */
414
+ lookup_key?: string;
415
+ /**
416
+ * Set of key-value pairs.
417
+ */
418
+ metadata?: Metadata;
419
+ /**
420
+ * Details for a multiply_pricing override.
421
+ */
422
+ multiply_pricing?: Data.MultiplyPricing;
423
+ /**
424
+ * The priority of this override relative to others. Lower number = higher priority.
425
+ */
426
+ priority: number;
427
+ /**
428
+ * Resolved timestamp when the pricing override starts.
429
+ */
430
+ starts_at: Data.StartsAt;
431
+ /**
432
+ * The type of pricing override.
433
+ */
434
+ type: Data.Type;
435
+ }
436
+ namespace Data {
437
+ interface EndsAt {
438
+ /**
439
+ * The timestamp when the item ends.
440
+ */
441
+ timestamp: string;
442
+ }
443
+ interface MultiplyPricing {
444
+ /**
445
+ * Criteria determining which rates the multiply_pricing override applies to.
446
+ */
447
+ criteria: Array<MultiplyPricing.Criterion>;
448
+ /**
449
+ * The multiply_pricing factor, represented as a decimal string. e.g. "0.8" for a 20% reduction.
450
+ */
451
+ factor: string;
452
+ }
453
+ interface StartsAt {
454
+ /**
455
+ * The timestamp when the item starts.
456
+ */
457
+ timestamp: string;
458
+ }
459
+ type Type = 'multiply_pricing' | OtherString;
460
+ namespace MultiplyPricing {
461
+ interface Criterion {
462
+ /**
463
+ * Filter by pricing line IDs.
464
+ */
465
+ pricing_line_ids?: Array<string>;
466
+ /**
467
+ * Filter by pricing line lookup keys.
468
+ */
469
+ pricing_line_lookup_keys?: Array<string>;
470
+ /**
471
+ * Whether to include or exclude items matching these criteria.
472
+ */
473
+ type: Criterion.Type;
474
+ }
475
+ namespace Criterion {
476
+ type Type = 'exclude' | 'include' | OtherString;
477
+ }
478
+ }
479
+ }
480
+ }
481
+ }
482
+ export declare namespace V2 {
483
+ namespace Billing {
484
+ interface ContractCreateParams {
485
+ /**
486
+ * A unique user-provided contract number e.g. C-2026-0001.
487
+ * Maximum length of 200 characters.
488
+ */
489
+ contract_number: string;
490
+ /**
491
+ * Currency of the contract.
492
+ */
493
+ currency: string;
494
+ /**
495
+ * The billing cycle anchor for the contract. If not provided, defaults to the pricing line start time.
496
+ * It is only at the top-level of the contract with no option to override at the pricing line level.
497
+ */
498
+ billing_cycle_anchor?: ContractCreateParams.BillingCycleAnchor;
499
+ /**
500
+ * The billing settings for the contract.
501
+ */
502
+ billing_settings?: ContractCreateParams.BillingSettings;
503
+ /**
504
+ * Additional fields to include in the response.
505
+ */
506
+ include?: Array<ContractCreateParams.Include>;
507
+ /**
508
+ * Set of key-value pairs that you can attach to an object.
509
+ */
510
+ metadata?: MetadataParam;
511
+ /**
512
+ * A list of one-time fees to create with the contract. Each fee is billed as individual invoice items per its bill_schedule.
513
+ */
514
+ one_time_fees?: Array<ContractCreateParams.OneTimeFee>;
515
+ /**
516
+ * A list of pricing lines to create with the contract.
517
+ */
518
+ pricing_lines?: Array<ContractCreateParams.PricingLine>;
519
+ /**
520
+ * A list of pricing overrides to create with the contract.
521
+ */
522
+ pricing_overrides?: Array<ContractCreateParams.PricingOverride>;
523
+ }
524
+ namespace ContractCreateParams {
525
+ interface BillingCycleAnchor {
526
+ /**
527
+ * Configuration for determining the billing cycle anchor by calendar fields.
528
+ */
529
+ config?: BillingCycleAnchor.Config;
530
+ /**
531
+ * A specific timestamp to use as the billing cycle anchor.
532
+ */
533
+ timestamp?: string;
534
+ /**
535
+ * The type of billing cycle anchor.
536
+ */
537
+ type: BillingCycleAnchor.Type;
538
+ }
539
+ interface BillingSettings {
540
+ /**
541
+ * The bill settings details configures invoice and tax settings for the contract.
542
+ */
543
+ bill_settings_details?: BillingSettings.BillSettingsDetails;
544
+ /**
545
+ * The billing profile details configures who is charged for the contract.
546
+ */
547
+ billing_profile_details: BillingSettings.BillingProfileDetails;
548
+ /**
549
+ * The collection settings details configures how payments are collected on the contract.
550
+ */
551
+ collection_settings_details: BillingSettings.CollectionSettingsDetails;
552
+ }
553
+ type Include = 'billing_settings' | 'one_time_fees' | 'pricing_lines' | 'pricing_overrides' | OtherString;
554
+ interface OneTimeFee {
555
+ /**
556
+ * The amount to bill.
557
+ */
558
+ amount: V2Amount;
559
+ /**
560
+ * When this fee should be billed.
561
+ */
562
+ bill_at: OneTimeFee.BillAt;
563
+ /**
564
+ * A user-provided lookup key.
565
+ */
566
+ lookup_key?: string;
567
+ /**
568
+ * The id of the product for this fee.
569
+ */
570
+ product: string;
571
+ }
572
+ interface PricingLine {
573
+ /**
574
+ * When the pricing line ends.
575
+ */
576
+ ends_at: PricingLine.EndsAt;
577
+ /**
578
+ * A user-provided lookup key to reference this pricing line.
579
+ */
580
+ lookup_key?: string;
581
+ /**
582
+ * Set of key-value pairs that you can attach to an object.
583
+ */
584
+ metadata?: MetadataParam;
585
+ /**
586
+ * The pricing configuration for the pricing line.
587
+ */
588
+ pricing: PricingLine.Pricing;
589
+ /**
590
+ * When the pricing line starts.
591
+ */
592
+ starts_at: PricingLine.StartsAt;
593
+ }
594
+ interface PricingOverride {
595
+ /**
596
+ * When the pricing override ends.
597
+ */
598
+ ends_at: PricingOverride.EndsAt;
599
+ /**
600
+ * A user-provided lookup key to reference this pricing override.
601
+ */
602
+ lookup_key?: string;
603
+ /**
604
+ * Set of key-value pairs.
605
+ */
606
+ metadata?: MetadataParam;
607
+ /**
608
+ * Parameters for a multiply_pricing override. Required if `type` is `multiply_pricing`.
609
+ */
610
+ multiply_pricing?: PricingOverride.MultiplyPricing;
611
+ /**
612
+ * The priority of this override relative to others. The highest priority is 0 and the lowest is 100.
613
+ */
614
+ priority?: number;
615
+ /**
616
+ * When the pricing override starts.
617
+ */
618
+ starts_at: PricingOverride.StartsAt;
619
+ /**
620
+ * The type of pricing override.
621
+ */
622
+ type: PricingOverride.Type;
623
+ }
624
+ namespace BillingCycleAnchor {
625
+ interface Config {
626
+ /**
627
+ * Day of month (1-31).
628
+ */
629
+ day_of_month: number;
630
+ /**
631
+ * Hour of day in UTC (0-23).
632
+ */
633
+ hour?: number;
634
+ /**
635
+ * Minute of hour (0-59).
636
+ */
637
+ minute?: number;
638
+ /**
639
+ * Month of year (1-12).
640
+ */
641
+ month_of_year?: number;
642
+ /**
643
+ * Second of minute (0-59).
644
+ */
645
+ second?: number;
646
+ }
647
+ type Type = 'config' | 'timestamp';
648
+ }
649
+ namespace BillingSettings {
650
+ interface BillSettingsDetails {
651
+ /**
652
+ * Calculation settings.
653
+ */
654
+ calculation?: BillSettingsDetails.Calculation;
655
+ /**
656
+ * Invoice settings.
657
+ */
658
+ invoice?: BillSettingsDetails.Invoice;
659
+ }
660
+ interface BillingProfileDetails {
661
+ /**
662
+ * The customer who pays for the contract invoice.
663
+ */
664
+ customer: string;
665
+ /**
666
+ * The default payment method for the contract.
667
+ */
668
+ default_payment_method?: string;
669
+ }
670
+ interface CollectionSettingsDetails {
671
+ /**
672
+ * How payment is collected for the contract.
673
+ */
674
+ collection_method: CollectionSettingsDetails.CollectionMethod;
675
+ /**
676
+ * The payment method configuration.
677
+ */
678
+ payment_method_configuration?: string;
679
+ }
680
+ namespace BillSettingsDetails {
681
+ interface Calculation {
682
+ /**
683
+ * Tax calculation settings.
684
+ */
685
+ tax?: Calculation.Tax;
686
+ }
687
+ interface Invoice {
688
+ /**
689
+ * How long the customer has to pay the invoice before it's past due.
690
+ */
691
+ time_until_due?: Invoice.TimeUntilDue;
692
+ }
693
+ namespace Calculation {
694
+ interface Tax {
695
+ /**
696
+ * The type of tax calculation.
697
+ */
698
+ type: Tax.Type;
699
+ }
700
+ namespace Tax {
701
+ type Type = 'automatic' | 'manual';
702
+ }
703
+ }
704
+ namespace Invoice {
705
+ interface TimeUntilDue {
706
+ /**
707
+ * The interval unit.
708
+ */
709
+ interval: TimeUntilDue.Interval;
710
+ /**
711
+ * The number of intervals.
712
+ */
713
+ interval_count: number;
714
+ }
715
+ namespace TimeUntilDue {
716
+ type Interval = 'day' | 'month' | 'week' | 'year';
717
+ }
718
+ }
719
+ }
720
+ namespace CollectionSettingsDetails {
721
+ type CollectionMethod = 'charge_automatically' | 'send_invoice';
722
+ }
723
+ }
724
+ namespace OneTimeFee {
725
+ interface BillAt {
726
+ /**
727
+ * The timestamp at which the entry should be billed. Required if `type` is `timestamp`.
728
+ */
729
+ timestamp?: string;
730
+ /**
731
+ * The type of the bill_at.
732
+ */
733
+ type: BillAt.Type;
734
+ }
735
+ namespace BillAt {
736
+ type Type = 'now' | 'timestamp' | OtherString;
737
+ }
738
+ }
739
+ namespace PricingLine {
740
+ interface EndsAt {
741
+ /**
742
+ * The timestamp when the item ends. Required if `type` is `timestamp`.
743
+ */
744
+ timestamp?: string;
745
+ /**
746
+ * The type of the ends_at.
747
+ */
748
+ type: EndsAt.Type;
749
+ }
750
+ interface Pricing {
751
+ /**
752
+ * V1 price details. Required if `type` is `price`.
753
+ */
754
+ price_details?: Pricing.PriceDetails;
755
+ /**
756
+ * The type of pricing.
757
+ */
758
+ type: Pricing.Type;
759
+ }
760
+ interface StartsAt {
761
+ /**
762
+ * The timestamp when the item starts. Required if `type` is `timestamp`.
763
+ */
764
+ timestamp?: string;
765
+ /**
766
+ * The type of the starts_at.
767
+ */
768
+ type: StartsAt.Type;
769
+ }
770
+ namespace EndsAt {
771
+ type Type = 'timestamp' | OtherString;
772
+ }
773
+ namespace Pricing {
774
+ interface PriceDetails {
775
+ /**
776
+ * The id of the price.
777
+ */
778
+ price: string;
779
+ /**
780
+ * Pricing overrides embedded directly on this pricing line.
781
+ */
782
+ pricing_overrides?: Array<PriceDetails.PricingOverride>;
783
+ /**
784
+ * Quantity changes for the pricing line. For now, at most one entry is allowed.
785
+ * A quantity change clears all future quantity changes on this pricing line. Defaults to 1.
786
+ */
787
+ quantity_changes?: Array<PriceDetails.QuantityChange>;
788
+ }
789
+ type Type = 'price' | OtherString;
790
+ namespace PriceDetails {
791
+ interface PricingOverride {
792
+ /**
793
+ * When the override ends. Defaults to the pricing line's end if not specified.
794
+ */
795
+ ends_at?: PricingOverride.EndsAt;
796
+ /**
797
+ * A user-provided lookup key to reference this override.
798
+ */
799
+ lookup_key?: string;
800
+ /**
801
+ * Set of key-value pairs that you can attach to an object.
802
+ */
803
+ metadata?: MetadataParam;
804
+ /**
805
+ * Parameters for the overwrite_price override. Required if `type` is `overwrite_price`.
806
+ */
807
+ overwrite_price?: PricingOverride.OverwritePrice;
808
+ /**
809
+ * The priority of this override relative to others. 0 is highest, 100 is lowest. Defaults to 50.
810
+ */
811
+ priority?: number;
812
+ /**
813
+ * When the override starts. Defaults to the pricing line's start if not specified.
814
+ */
815
+ starts_at?: PricingOverride.StartsAt;
816
+ /**
817
+ * The type of override.
818
+ */
819
+ type: PricingOverride.Type;
820
+ }
821
+ interface QuantityChange {
822
+ /**
823
+ * When this quantity change takes effect.
824
+ */
825
+ effective_at: QuantityChange.EffectiveAt;
826
+ /**
827
+ * The quantity to set.
828
+ */
829
+ set: Decimal;
830
+ }
831
+ namespace PricingOverride {
832
+ interface EndsAt {
833
+ /**
834
+ * The timestamp when the item ends. Required if `type` is `timestamp`.
835
+ */
836
+ timestamp?: string;
837
+ /**
838
+ * The type of the ends_at.
839
+ */
840
+ type: EndsAt.Type;
841
+ }
842
+ interface OverwritePrice {
843
+ /**
844
+ * The per-unit amount to be charged, represented as a decimal string in minor currency units.
845
+ */
846
+ unit_amount?: string;
847
+ }
848
+ interface StartsAt {
849
+ /**
850
+ * The timestamp when the item starts. Required if `type` is `timestamp`.
851
+ */
852
+ timestamp?: string;
853
+ /**
854
+ * The type of the starts_at.
855
+ */
856
+ type: StartsAt.Type;
857
+ }
858
+ type Type = 'overwrite_price' | OtherString;
859
+ namespace EndsAt {
860
+ type Type = 'timestamp' | OtherString;
861
+ }
862
+ namespace StartsAt {
863
+ type Type = 'timestamp' | OtherString;
864
+ }
865
+ }
866
+ namespace QuantityChange {
867
+ interface EffectiveAt {
868
+ /**
869
+ * The timestamp for the effective at.
870
+ */
871
+ timestamp?: string;
872
+ /**
873
+ * The type of the effective at.
874
+ */
875
+ type: EffectiveAt.Type;
876
+ }
877
+ namespace EffectiveAt {
878
+ type Type = 'timestamp' | OtherString;
879
+ }
880
+ }
881
+ }
882
+ }
883
+ namespace StartsAt {
884
+ type Type = 'timestamp' | OtherString;
885
+ }
886
+ }
887
+ namespace PricingOverride {
888
+ interface EndsAt {
889
+ /**
890
+ * The timestamp when the item ends. Required if `type` is `timestamp`.
891
+ */
892
+ timestamp?: string;
893
+ /**
894
+ * The type of the ends_at.
895
+ */
896
+ type: EndsAt.Type;
897
+ }
898
+ interface MultiplyPricing {
899
+ /**
900
+ * Criteria determining which rates the multiply_pricing override applies to.
901
+ */
902
+ criteria?: Array<MultiplyPricing.Criterion>;
903
+ /**
904
+ * The multiply_pricing factor, represented as a decimal string. e.g. "0.8" for a 20% reduction.
905
+ */
906
+ factor: string;
907
+ }
908
+ interface StartsAt {
909
+ /**
910
+ * The timestamp when the item starts. Required if `type` is `timestamp`.
911
+ */
912
+ timestamp?: string;
913
+ /**
914
+ * The type of the starts_at.
915
+ */
916
+ type: StartsAt.Type;
917
+ }
918
+ type Type = 'multiply_pricing' | OtherString;
919
+ namespace EndsAt {
920
+ type Type = 'timestamp' | OtherString;
921
+ }
922
+ namespace MultiplyPricing {
923
+ interface Criterion {
924
+ /**
925
+ * Filter by pricing line IDs.
926
+ */
927
+ pricing_line_ids?: Array<string>;
928
+ /**
929
+ * Filter by pricing line lookup keys.
930
+ */
931
+ pricing_line_lookup_keys?: Array<string>;
932
+ /**
933
+ * Whether to include or exclude items matching these criteria.
934
+ */
935
+ type: Criterion.Type;
936
+ }
937
+ namespace Criterion {
938
+ type Type = 'exclude' | 'include' | OtherString;
939
+ }
940
+ }
941
+ namespace StartsAt {
942
+ type Type = 'timestamp' | OtherString;
943
+ }
944
+ }
945
+ }
946
+ }
947
+ }
948
+ export declare namespace V2 {
949
+ namespace Billing {
950
+ interface ContractRetrieveParams {
951
+ /**
952
+ * Additional fields to include in the response.
953
+ */
954
+ include?: Array<ContractRetrieveParams.Include>;
955
+ }
956
+ namespace ContractRetrieveParams {
957
+ type Include = 'billing_settings' | 'one_time_fees' | 'pricing_lines' | 'pricing_overrides' | OtherString;
958
+ }
959
+ }
960
+ }
961
+ export declare namespace V2 {
962
+ namespace Billing {
963
+ interface ContractUpdateParams {
964
+ /**
965
+ * Additional fields to include in the response.
966
+ */
967
+ include?: Array<ContractUpdateParams.Include>;
968
+ /**
969
+ * Set of key-value pairs.
970
+ */
971
+ metadata?: MetadataParam;
972
+ /**
973
+ * One-time fee actions to apply.
974
+ */
975
+ one_time_fee_actions?: Array<ContractUpdateParams.OneTimeFeeAction>;
976
+ /**
977
+ * Pricing line actions to apply.
978
+ */
979
+ pricing_line_actions?: Array<ContractUpdateParams.PricingLineAction>;
980
+ /**
981
+ * Pricing override actions to apply.
982
+ */
983
+ pricing_override_actions?: Array<ContractUpdateParams.PricingOverrideAction>;
984
+ }
985
+ namespace ContractUpdateParams {
986
+ type Include = 'billing_settings' | 'one_time_fees' | 'pricing_lines' | 'pricing_overrides' | OtherString;
987
+ interface OneTimeFeeAction {
988
+ /**
989
+ * Parameters for adding a one-time fee.
990
+ */
991
+ add?: OneTimeFeeAction.Add;
992
+ /**
993
+ * Parameters for removing a one-time fee.
994
+ */
995
+ remove?: OneTimeFeeAction.Remove;
996
+ /**
997
+ * The type of one-time fee action.
998
+ */
999
+ type: OneTimeFeeAction.Type;
1000
+ /**
1001
+ * Parameters for updating a one-time fee.
1002
+ */
1003
+ update?: OneTimeFeeAction.Update;
1004
+ }
1005
+ interface PricingLineAction {
1006
+ /**
1007
+ * Add a pricing line.
1008
+ */
1009
+ add?: PricingLineAction.Add;
1010
+ /**
1011
+ * Remove a pricing line.
1012
+ */
1013
+ remove?: PricingLineAction.Remove;
1014
+ /**
1015
+ * The type of pricing line action.
1016
+ */
1017
+ type: PricingLineAction.Type;
1018
+ /**
1019
+ * Update a pricing line.
1020
+ */
1021
+ update?: PricingLineAction.Update;
1022
+ }
1023
+ interface PricingOverrideAction {
1024
+ /**
1025
+ * Add a pricing override.
1026
+ */
1027
+ add?: PricingOverrideAction.Add;
1028
+ /**
1029
+ * Remove a pricing override.
1030
+ */
1031
+ remove?: PricingOverrideAction.Remove;
1032
+ /**
1033
+ * The type of pricing override action.
1034
+ */
1035
+ type: PricingOverrideAction.Type;
1036
+ /**
1037
+ * Update a pricing override.
1038
+ */
1039
+ update?: PricingOverrideAction.Update;
1040
+ }
1041
+ namespace OneTimeFeeAction {
1042
+ interface Add {
1043
+ /**
1044
+ * The amount to bill.
1045
+ */
1046
+ amount: V2Amount;
1047
+ /**
1048
+ * When this fee should be billed.
1049
+ */
1050
+ bill_at: Add.BillAt;
1051
+ /**
1052
+ * A user-provided lookup key.
1053
+ */
1054
+ lookup_key?: string;
1055
+ /**
1056
+ * The id of the product for this fee.
1057
+ */
1058
+ product: string;
1059
+ }
1060
+ interface Remove {
1061
+ /**
1062
+ * The id of the one-time fee to remove.
1063
+ */
1064
+ id?: string;
1065
+ /**
1066
+ * The lookup key of the one-time fee to remove.
1067
+ */
1068
+ lookup_key?: string;
1069
+ }
1070
+ type Type = 'add' | 'remove' | 'update';
1071
+ interface Update {
1072
+ /**
1073
+ * The updated amount to bill.
1074
+ */
1075
+ amount?: V2Amount;
1076
+ /**
1077
+ * The updated bill_at schedule.
1078
+ */
1079
+ bill_at?: Update.BillAt;
1080
+ /**
1081
+ * The id of the one-time fee to update.
1082
+ */
1083
+ id?: string;
1084
+ /**
1085
+ * The lookup key of the one-time fee to update.
1086
+ */
1087
+ lookup_key?: string;
1088
+ }
1089
+ namespace Add {
1090
+ interface BillAt {
1091
+ /**
1092
+ * The timestamp at which the entry should be billed. Required if `type` is `timestamp`.
1093
+ */
1094
+ timestamp?: string;
1095
+ /**
1096
+ * The type of the bill_at.
1097
+ */
1098
+ type: BillAt.Type;
1099
+ }
1100
+ namespace BillAt {
1101
+ type Type = 'now' | 'timestamp' | OtherString;
1102
+ }
1103
+ }
1104
+ namespace Update {
1105
+ interface BillAt {
1106
+ /**
1107
+ * The timestamp at which the entry should be billed. Required if `type` is `timestamp`.
1108
+ */
1109
+ timestamp?: string;
1110
+ /**
1111
+ * The type of the bill_at.
1112
+ */
1113
+ type: BillAt.Type;
1114
+ }
1115
+ namespace BillAt {
1116
+ type Type = 'now' | 'timestamp' | OtherString;
1117
+ }
1118
+ }
1119
+ }
1120
+ namespace PricingLineAction {
1121
+ interface Add {
1122
+ /**
1123
+ * The end time for the pricing line.
1124
+ */
1125
+ ends_at: Add.EndsAt;
1126
+ /**
1127
+ * A lookup key for the pricing line.
1128
+ */
1129
+ lookup_key?: string;
1130
+ /**
1131
+ * Metadata for the pricing line.
1132
+ */
1133
+ metadata?: MetadataParam;
1134
+ /**
1135
+ * The pricing configuration for the pricing line.
1136
+ */
1137
+ pricing: Add.Pricing;
1138
+ /**
1139
+ * The start time for the pricing line.
1140
+ */
1141
+ starts_at: Add.StartsAt;
1142
+ }
1143
+ interface Remove {
1144
+ /**
1145
+ * The id of the pricing line to remove.
1146
+ */
1147
+ id: string;
1148
+ }
1149
+ type Type = 'add' | 'remove' | 'update' | OtherString;
1150
+ interface Update {
1151
+ /**
1152
+ * Updated end time.
1153
+ */
1154
+ ends_at?: Update.EndsAt;
1155
+ /**
1156
+ * The id of the pricing line.
1157
+ */
1158
+ id: string;
1159
+ /**
1160
+ * Metadata mutations to apply to the pricing line.
1161
+ */
1162
+ metadata?: MetadataParam;
1163
+ /**
1164
+ * Updated pricing configuration.
1165
+ */
1166
+ pricing?: Update.Pricing;
1167
+ /**
1168
+ * Updated start time.
1169
+ */
1170
+ starts_at?: Update.StartsAt;
1171
+ }
1172
+ namespace Add {
1173
+ interface EndsAt {
1174
+ /**
1175
+ * The timestamp when the pricing ends.
1176
+ */
1177
+ timestamp?: string;
1178
+ /**
1179
+ * The type of end time to apply.
1180
+ */
1181
+ type: EndsAt.Type;
1182
+ }
1183
+ interface Pricing {
1184
+ /**
1185
+ * V1 price details. Required if `type` is `price`.
1186
+ */
1187
+ price_details?: Pricing.PriceDetails;
1188
+ /**
1189
+ * The type of pricing.
1190
+ */
1191
+ type: Pricing.Type;
1192
+ }
1193
+ interface StartsAt {
1194
+ /**
1195
+ * The timestamp when the pricing starts.
1196
+ */
1197
+ timestamp?: string;
1198
+ /**
1199
+ * The type of start time to apply.
1200
+ */
1201
+ type: StartsAt.Type;
1202
+ }
1203
+ namespace EndsAt {
1204
+ type Type = 'timestamp' | OtherString;
1205
+ }
1206
+ namespace Pricing {
1207
+ interface PriceDetails {
1208
+ /**
1209
+ * The id of the price.
1210
+ */
1211
+ price: string;
1212
+ /**
1213
+ * Pricing overrides embedded directly on this pricing line.
1214
+ */
1215
+ pricing_overrides?: Array<PriceDetails.PricingOverride>;
1216
+ /**
1217
+ * Quantity changes for the pricing line. For now, at most one entry is allowed.
1218
+ * A quantity change clears all future quantity changes on this pricing line. Defaults to 1.
1219
+ */
1220
+ quantity_changes?: Array<PriceDetails.QuantityChange>;
1221
+ }
1222
+ type Type = 'price' | OtherString;
1223
+ namespace PriceDetails {
1224
+ interface PricingOverride {
1225
+ /**
1226
+ * When the override ends. Defaults to the pricing line's end if not specified.
1227
+ */
1228
+ ends_at?: PricingOverride.EndsAt;
1229
+ /**
1230
+ * A user-provided lookup key to reference this override.
1231
+ */
1232
+ lookup_key?: string;
1233
+ /**
1234
+ * Set of key-value pairs that you can attach to an object.
1235
+ */
1236
+ metadata?: MetadataParam;
1237
+ /**
1238
+ * Parameters for the overwrite_price override. Required if `type` is `overwrite_price`.
1239
+ */
1240
+ overwrite_price?: PricingOverride.OverwritePrice;
1241
+ /**
1242
+ * The priority of this override relative to others. 0 is highest, 100 is lowest. Defaults to 50.
1243
+ */
1244
+ priority?: number;
1245
+ /**
1246
+ * When the override starts. Defaults to the pricing line's start if not specified.
1247
+ */
1248
+ starts_at?: PricingOverride.StartsAt;
1249
+ /**
1250
+ * The type of override.
1251
+ */
1252
+ type: PricingOverride.Type;
1253
+ }
1254
+ interface QuantityChange {
1255
+ /**
1256
+ * When this quantity change takes effect.
1257
+ */
1258
+ effective_at: QuantityChange.EffectiveAt;
1259
+ /**
1260
+ * The quantity to set.
1261
+ */
1262
+ set: Decimal;
1263
+ }
1264
+ namespace PricingOverride {
1265
+ interface EndsAt {
1266
+ /**
1267
+ * The timestamp when the item ends. Required if `type` is `timestamp`.
1268
+ */
1269
+ timestamp?: string;
1270
+ /**
1271
+ * The type of the ends_at.
1272
+ */
1273
+ type: EndsAt.Type;
1274
+ }
1275
+ interface OverwritePrice {
1276
+ /**
1277
+ * The per-unit amount to be charged, represented as a decimal string in minor currency units.
1278
+ */
1279
+ unit_amount?: string;
1280
+ }
1281
+ interface StartsAt {
1282
+ /**
1283
+ * The timestamp when the item starts. Required if `type` is `timestamp`.
1284
+ */
1285
+ timestamp?: string;
1286
+ /**
1287
+ * The type of the starts_at.
1288
+ */
1289
+ type: StartsAt.Type;
1290
+ }
1291
+ type Type = 'overwrite_price' | OtherString;
1292
+ namespace EndsAt {
1293
+ type Type = 'timestamp' | OtherString;
1294
+ }
1295
+ namespace StartsAt {
1296
+ type Type = 'timestamp' | OtherString;
1297
+ }
1298
+ }
1299
+ namespace QuantityChange {
1300
+ interface EffectiveAt {
1301
+ /**
1302
+ * The timestamp for the effective at.
1303
+ */
1304
+ timestamp?: string;
1305
+ /**
1306
+ * The type of the effective at.
1307
+ */
1308
+ type: EffectiveAt.Type;
1309
+ }
1310
+ namespace EffectiveAt {
1311
+ type Type = 'timestamp' | OtherString;
1312
+ }
1313
+ }
1314
+ }
1315
+ }
1316
+ namespace StartsAt {
1317
+ type Type = 'timestamp' | OtherString;
1318
+ }
1319
+ }
1320
+ namespace Update {
1321
+ interface EndsAt {
1322
+ /**
1323
+ * The timestamp when the pricing ends.
1324
+ */
1325
+ timestamp?: string;
1326
+ /**
1327
+ * The type of end time to apply.
1328
+ */
1329
+ type: EndsAt.Type;
1330
+ }
1331
+ interface Pricing {
1332
+ /**
1333
+ * V1 price details. Present when the pricing line type is `price`.
1334
+ */
1335
+ price_details?: Pricing.PriceDetails;
1336
+ }
1337
+ interface StartsAt {
1338
+ /**
1339
+ * The timestamp when the pricing starts.
1340
+ */
1341
+ timestamp?: string;
1342
+ /**
1343
+ * The type of start time to apply.
1344
+ */
1345
+ type: StartsAt.Type;
1346
+ }
1347
+ namespace EndsAt {
1348
+ type Type = 'timestamp' | OtherString;
1349
+ }
1350
+ namespace Pricing {
1351
+ interface PriceDetails {
1352
+ /**
1353
+ * Pricing override actions to apply to the overrides embedded on this pricing line.
1354
+ */
1355
+ pricing_override_actions?: Array<PriceDetails.PricingOverrideAction>;
1356
+ /**
1357
+ * Quantity changes for the pricing line. Setting this clears all future quantity changes.
1358
+ */
1359
+ quantity_changes?: Array<PriceDetails.QuantityChange>;
1360
+ }
1361
+ namespace PriceDetails {
1362
+ interface PricingOverrideAction {
1363
+ /**
1364
+ * Add a pricing line override.
1365
+ */
1366
+ add?: PricingOverrideAction.Add;
1367
+ /**
1368
+ * Remove a pricing line override.
1369
+ */
1370
+ remove?: PricingOverrideAction.Remove;
1371
+ /**
1372
+ * The type of pricing line override action.
1373
+ */
1374
+ type: PricingOverrideAction.Type;
1375
+ /**
1376
+ * Update a pricing line override.
1377
+ */
1378
+ update?: PricingOverrideAction.Update;
1379
+ }
1380
+ interface QuantityChange {
1381
+ /**
1382
+ * When this quantity change takes effect.
1383
+ */
1384
+ effective_at: QuantityChange.EffectiveAt;
1385
+ /**
1386
+ * The quantity to set.
1387
+ */
1388
+ set: Decimal;
1389
+ }
1390
+ namespace PricingOverrideAction {
1391
+ interface Add {
1392
+ /**
1393
+ * The end time for the override.
1394
+ */
1395
+ ends_at: Add.EndsAt;
1396
+ /**
1397
+ * A lookup key for the override.
1398
+ */
1399
+ lookup_key?: string;
1400
+ /**
1401
+ * Metadata for the pricing override.
1402
+ */
1403
+ metadata?: MetadataParam;
1404
+ /**
1405
+ * Parameters for an overwrite_price override. Required if `type` is `overwrite_price`.
1406
+ */
1407
+ overwrite_price?: Add.OverwritePrice;
1408
+ /**
1409
+ * The priority of this override relative to others. 0 is highest, 100 is lowest. Defaults to 50.
1410
+ */
1411
+ priority?: number;
1412
+ /**
1413
+ * The start time for the override.
1414
+ */
1415
+ starts_at: Add.StartsAt;
1416
+ /**
1417
+ * The type of override to add.
1418
+ */
1419
+ type: Add.Type;
1420
+ }
1421
+ interface Remove {
1422
+ /**
1423
+ * The id of the pricing override to remove.
1424
+ */
1425
+ id?: string;
1426
+ /**
1427
+ * Lookup key of the override to remove.
1428
+ */
1429
+ lookup_key?: string;
1430
+ }
1431
+ type Type = 'add' | 'remove' | 'update' | OtherString;
1432
+ interface Update {
1433
+ /**
1434
+ * Updated end time.
1435
+ */
1436
+ ends_at?: Update.EndsAt;
1437
+ /**
1438
+ * The id of the pricing override to update.
1439
+ */
1440
+ id?: string;
1441
+ /**
1442
+ * Updated lookup key.
1443
+ */
1444
+ lookup_key?: string;
1445
+ /**
1446
+ * Metadata mutations to apply to the pricing override.
1447
+ */
1448
+ metadata?: MetadataParam;
1449
+ /**
1450
+ * Updated start time.
1451
+ */
1452
+ starts_at?: Update.StartsAt;
1453
+ }
1454
+ namespace Add {
1455
+ interface EndsAt {
1456
+ /**
1457
+ * The timestamp when the pricing ends.
1458
+ */
1459
+ timestamp?: string;
1460
+ /**
1461
+ * The type of end time to apply.
1462
+ */
1463
+ type: EndsAt.Type;
1464
+ }
1465
+ interface OverwritePrice {
1466
+ /**
1467
+ * The per-unit amount to be charged, represented as a decimal string in minor currency units.
1468
+ */
1469
+ unit_amount?: string;
1470
+ }
1471
+ interface StartsAt {
1472
+ /**
1473
+ * The timestamp when the pricing starts.
1474
+ */
1475
+ timestamp?: string;
1476
+ /**
1477
+ * The type of start time to apply.
1478
+ */
1479
+ type: StartsAt.Type;
1480
+ }
1481
+ type Type = 'overwrite_price' | OtherString;
1482
+ namespace EndsAt {
1483
+ type Type = 'timestamp' | OtherString;
1484
+ }
1485
+ namespace StartsAt {
1486
+ type Type = 'timestamp' | OtherString;
1487
+ }
1488
+ }
1489
+ namespace Update {
1490
+ interface EndsAt {
1491
+ /**
1492
+ * The timestamp when the pricing ends.
1493
+ */
1494
+ timestamp?: string;
1495
+ /**
1496
+ * The type of end time to apply.
1497
+ */
1498
+ type: EndsAt.Type;
1499
+ }
1500
+ interface StartsAt {
1501
+ /**
1502
+ * The timestamp when the pricing starts.
1503
+ */
1504
+ timestamp?: string;
1505
+ /**
1506
+ * The type of start time to apply.
1507
+ */
1508
+ type: StartsAt.Type;
1509
+ }
1510
+ namespace EndsAt {
1511
+ type Type = 'timestamp' | OtherString;
1512
+ }
1513
+ namespace StartsAt {
1514
+ type Type = 'timestamp' | OtherString;
1515
+ }
1516
+ }
1517
+ }
1518
+ namespace QuantityChange {
1519
+ interface EffectiveAt {
1520
+ /**
1521
+ * The timestamp for the effective at.
1522
+ */
1523
+ timestamp?: string;
1524
+ /**
1525
+ * The type of the effective at.
1526
+ */
1527
+ type: EffectiveAt.Type;
1528
+ }
1529
+ namespace EffectiveAt {
1530
+ type Type = 'timestamp' | OtherString;
1531
+ }
1532
+ }
1533
+ }
1534
+ }
1535
+ namespace StartsAt {
1536
+ type Type = 'timestamp' | OtherString;
1537
+ }
1538
+ }
1539
+ }
1540
+ namespace PricingOverrideAction {
1541
+ interface Add {
1542
+ /**
1543
+ * The end time for the pricing override.
1544
+ */
1545
+ ends_at: Add.EndsAt;
1546
+ /**
1547
+ * A lookup key for the pricing override.
1548
+ */
1549
+ lookup_key?: string;
1550
+ /**
1551
+ * Metadata for the pricing override.
1552
+ */
1553
+ metadata?: MetadataParam;
1554
+ /**
1555
+ * A multiply_pricing override to add.
1556
+ */
1557
+ multiply_pricing?: Add.MultiplyPricing;
1558
+ /**
1559
+ * An overwrite price override to add.
1560
+ */
1561
+ overwrite_price?: Add.OverwritePrice;
1562
+ /**
1563
+ * The priority for the pricing override. The highest priority is 0 and the lowest is 100.
1564
+ */
1565
+ priority?: number;
1566
+ /**
1567
+ * The start time for the pricing override.
1568
+ */
1569
+ starts_at: Add.StartsAt;
1570
+ /**
1571
+ * The type of pricing override to add.
1572
+ */
1573
+ type: Add.Type;
1574
+ }
1575
+ interface Remove {
1576
+ /**
1577
+ * The id of the pricing override to remove.
1578
+ */
1579
+ id: string;
1580
+ }
1581
+ type Type = 'add' | 'remove' | 'update' | OtherString;
1582
+ interface Update {
1583
+ /**
1584
+ * The updated end time for the pricing override.
1585
+ */
1586
+ ends_at?: Update.EndsAt;
1587
+ /**
1588
+ * The ID of the pricing override.
1589
+ */
1590
+ id: string;
1591
+ /**
1592
+ * Metadata mutations to apply to the pricing override.
1593
+ */
1594
+ metadata?: MetadataParam;
1595
+ /**
1596
+ * The updated start time for the pricing override.
1597
+ */
1598
+ starts_at?: Update.StartsAt;
1599
+ }
1600
+ namespace Add {
1601
+ interface EndsAt {
1602
+ /**
1603
+ * The timestamp when the pricing ends.
1604
+ */
1605
+ timestamp?: string;
1606
+ /**
1607
+ * The type of end time to apply.
1608
+ */
1609
+ type: EndsAt.Type;
1610
+ }
1611
+ interface MultiplyPricing {
1612
+ /**
1613
+ * Criteria determining which rates the multiply_pricing override applies to.
1614
+ */
1615
+ criteria: Array<MultiplyPricing.Criterion>;
1616
+ /**
1617
+ * The multiply_pricing factor, represented as a decimal string. e.g. "0.8" for a 20% reduction.
1618
+ */
1619
+ factor: string;
1620
+ }
1621
+ interface OverwritePrice {
1622
+ /**
1623
+ * The per-unit amount to be charged, represented as a decimal string in minor currency units.
1624
+ */
1625
+ unit_amount?: string;
1626
+ }
1627
+ interface StartsAt {
1628
+ /**
1629
+ * The timestamp when the pricing starts.
1630
+ */
1631
+ timestamp?: string;
1632
+ /**
1633
+ * The type of start time to apply.
1634
+ */
1635
+ type: StartsAt.Type;
1636
+ }
1637
+ type Type = 'multiply_pricing' | OtherString;
1638
+ namespace EndsAt {
1639
+ type Type = 'timestamp' | OtherString;
1640
+ }
1641
+ namespace MultiplyPricing {
1642
+ interface Criterion {
1643
+ /**
1644
+ * Filter by pricing line IDs.
1645
+ */
1646
+ pricing_line_ids?: Array<string>;
1647
+ /**
1648
+ * Filter by pricing line lookup keys.
1649
+ */
1650
+ pricing_line_lookup_keys?: Array<string>;
1651
+ /**
1652
+ * Whether to include or exclude items matching these criteria.
1653
+ */
1654
+ type: Criterion.Type;
1655
+ }
1656
+ namespace Criterion {
1657
+ type Type = 'exclude' | 'include' | OtherString;
1658
+ }
1659
+ }
1660
+ namespace StartsAt {
1661
+ type Type = 'timestamp' | OtherString;
1662
+ }
1663
+ }
1664
+ namespace Update {
1665
+ interface EndsAt {
1666
+ /**
1667
+ * The timestamp when the pricing ends.
1668
+ */
1669
+ timestamp?: string;
1670
+ /**
1671
+ * The type of end time to apply.
1672
+ */
1673
+ type: EndsAt.Type;
1674
+ }
1675
+ interface StartsAt {
1676
+ /**
1677
+ * The timestamp when the pricing starts.
1678
+ */
1679
+ timestamp?: string;
1680
+ /**
1681
+ * The type of start time to apply.
1682
+ */
1683
+ type: StartsAt.Type;
1684
+ }
1685
+ namespace EndsAt {
1686
+ type Type = 'timestamp' | OtherString;
1687
+ }
1688
+ namespace StartsAt {
1689
+ type Type = 'timestamp' | OtherString;
1690
+ }
1691
+ }
1692
+ }
1693
+ }
1694
+ }
1695
+ }
1696
+ export declare namespace V2 {
1697
+ namespace Billing {
1698
+ interface ContractListParams {
1699
+ /**
1700
+ * Filter by customer id.
1701
+ */
1702
+ customer?: string;
1703
+ /**
1704
+ * Additional fields to include in the response.
1705
+ */
1706
+ include?: Array<ContractListParams.Include>;
1707
+ /**
1708
+ * The limit for the number of results per page.
1709
+ */
1710
+ limit?: number;
1711
+ }
1712
+ namespace ContractListParams {
1713
+ type Include = 'billing_settings' | 'one_time_fees' | 'pricing_lines' | 'pricing_overrides' | OtherString;
1714
+ }
1715
+ }
1716
+ }
1717
+ export declare namespace V2 {
1718
+ namespace Billing {
1719
+ interface ContractDeleteParams {
1720
+ }
1721
+ }
1722
+ }
1723
+ export declare namespace V2 {
1724
+ namespace Billing {
1725
+ interface ContractActivateParams {
1726
+ /**
1727
+ * Additional fields to include in the response.
1728
+ */
1729
+ include?: Array<ContractActivateParams.Include>;
1730
+ }
1731
+ namespace ContractActivateParams {
1732
+ type Include = 'billing_settings' | 'one_time_fees' | 'pricing_lines' | 'pricing_overrides' | OtherString;
1733
+ }
1734
+ }
1735
+ }
1736
+ export declare namespace V2 {
1737
+ namespace Billing {
1738
+ interface ContractCancelParams {
1739
+ /**
1740
+ * Per-pricing-line proration behavior overrides. Falls back to `proration_behavior` if
1741
+ * not specified for a given line.
1742
+ */
1743
+ cancel_pricing_lines?: Array<ContractCancelParams.CancelPricingLine>;
1744
+ /**
1745
+ * Additional fields to include in the response.
1746
+ */
1747
+ include?: Array<ContractCancelParams.Include>;
1748
+ /**
1749
+ * Top-level proration behavior for the cancellation. Defaults to `prorated` if not set.
1750
+ */
1751
+ proration_behavior?: ContractCancelParams.ProrationBehavior;
1752
+ }
1753
+ namespace ContractCancelParams {
1754
+ interface CancelPricingLine {
1755
+ /**
1756
+ * The id of the pricing line.
1757
+ */
1758
+ id?: string;
1759
+ /**
1760
+ * The lookup key of the pricing line.
1761
+ */
1762
+ lookup_key?: string;
1763
+ /**
1764
+ * Proration behavior scoped to this pricing line. If not provided, falls back to the
1765
+ * top-level `proration_behavior` on the cancel request. Defaults to `prorated`.
1766
+ */
1767
+ proration_behavior?: CancelPricingLine.ProrationBehavior;
1768
+ }
1769
+ type Include = 'billing_settings' | 'one_time_fees' | 'pricing_lines' | 'pricing_overrides' | OtherString;
1770
+ type ProrationBehavior = 'none' | 'prorated' | OtherString;
1771
+ namespace CancelPricingLine {
1772
+ type ProrationBehavior = 'none' | 'prorated' | OtherString;
1773
+ }
1774
+ }
1775
+ }
1776
+ }