stripe 22.3.0-alpha.4 → 22.3.0

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 (1549) hide show
  1. package/CHANGELOG.md +61 -2844
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +60 -44
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +0 -53
  6. package/cjs/Error.js +1 -134
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/Types.d.ts +2 -4
  9. package/cjs/apiVersion.d.ts +2 -1
  10. package/cjs/apiVersion.js +3 -2
  11. package/cjs/apiVersion.js.map +1 -1
  12. package/cjs/resources/AccountLinks.d.ts +1 -5
  13. package/cjs/resources/AccountSessions.d.ts +0 -467
  14. package/cjs/resources/AccountSessions.js.map +1 -1
  15. package/cjs/resources/Accounts.d.ts +7 -1021
  16. package/cjs/resources/Accounts.js +1 -48
  17. package/cjs/resources/Accounts.js.map +1 -1
  18. package/cjs/resources/ApplicationFees.d.ts +1 -28
  19. package/cjs/resources/Apps/Secrets.d.ts +14 -16
  20. package/cjs/resources/Apps/index.d.ts +1 -1
  21. package/cjs/resources/Balance.d.ts +0 -134
  22. package/cjs/resources/BalanceSettings.d.ts +0 -18
  23. package/cjs/resources/BalanceTransactions.d.ts +6 -6
  24. package/cjs/resources/BalanceTransactions.js +2 -2
  25. package/cjs/resources/BankAccounts.d.ts +2 -2
  26. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -57
  27. package/cjs/resources/Billing/Alerts.d.ts +32 -437
  28. package/cjs/resources/Billing/Alerts.js +5 -321
  29. package/cjs/resources/Billing/Alerts.js.map +1 -1
  30. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +40 -166
  31. package/cjs/resources/Billing/CreditBalanceSummary.js +1 -39
  32. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  33. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +75 -171
  34. package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -100
  35. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  36. package/cjs/resources/Billing/CreditGrants.d.ts +41 -125
  37. package/cjs/resources/Billing/CreditGrants.js +5 -134
  38. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  39. package/cjs/resources/Billing/MeterEventAdjustments.d.ts +9 -11
  40. package/cjs/resources/Billing/MeterEventSummaries.d.ts +0 -6
  41. package/cjs/resources/Billing/Meters.d.ts +39 -72
  42. package/cjs/resources/Billing/index.d.ts +7 -13
  43. package/cjs/resources/Billing/index.js +0 -2
  44. package/cjs/resources/Billing/index.js.map +1 -1
  45. package/cjs/resources/BillingPortal/Configurations.d.ts +132 -134
  46. package/cjs/resources/BillingPortal/Sessions.d.ts +100 -102
  47. package/cjs/resources/BillingPortal/index.d.ts +2 -2
  48. package/cjs/resources/Capabilities.d.ts +2 -25
  49. package/cjs/resources/Cards.d.ts +0 -15
  50. package/cjs/resources/Charges.d.ts +84 -3317
  51. package/cjs/resources/Charges.js.map +1 -1
  52. package/cjs/resources/Checkout/Sessions.d.ts +1610 -2321
  53. package/cjs/resources/Checkout/Sessions.js +0 -88
  54. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  55. package/cjs/resources/Checkout/index.d.ts +1 -2
  56. package/cjs/resources/Climate/Orders.d.ts +47 -49
  57. package/cjs/resources/Climate/Products.d.ts +15 -17
  58. package/cjs/resources/Climate/Suppliers.d.ts +25 -27
  59. package/cjs/resources/Climate/index.d.ts +3 -3
  60. package/cjs/resources/ConfirmationTokens.d.ts +13 -139
  61. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  62. package/cjs/resources/Coupons.d.ts +2 -128
  63. package/cjs/resources/Coupons.js +0 -41
  64. package/cjs/resources/Coupons.js.map +1 -1
  65. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  66. package/cjs/resources/CreditNotes.d.ts +8 -11
  67. package/cjs/resources/CreditNotes.js +2 -13
  68. package/cjs/resources/CreditNotes.js.map +1 -1
  69. package/cjs/resources/CustomerSessions.d.ts +0 -74
  70. package/cjs/resources/CustomerSessions.js +0 -13
  71. package/cjs/resources/CustomerSessions.js.map +1 -1
  72. package/cjs/resources/Customers.d.ts +1 -85
  73. package/cjs/resources/Customers.js +0 -195
  74. package/cjs/resources/Customers.js.map +1 -1
  75. package/cjs/resources/Discounts.d.ts +0 -19
  76. package/cjs/resources/Disputes.d.ts +28 -44
  77. package/cjs/resources/Disputes.js +0 -14
  78. package/cjs/resources/Disputes.js.map +1 -1
  79. package/cjs/resources/Entitlements/index.d.ts +2 -2
  80. package/cjs/resources/Events.d.ts +3 -574
  81. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  82. package/cjs/resources/ExternalAccounts.js +0 -44
  83. package/cjs/resources/ExternalAccounts.js.map +1 -1
  84. package/cjs/resources/FinancialConnections/Accounts.d.ts +169 -217
  85. package/cjs/resources/FinancialConnections/Accounts.js +0 -8
  86. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  87. package/cjs/resources/FinancialConnections/Sessions.d.ts +43 -193
  88. package/cjs/resources/FinancialConnections/Transactions.d.ts +13 -15
  89. package/cjs/resources/FinancialConnections/index.d.ts +9 -24
  90. package/cjs/resources/FinancialConnections/index.js +0 -4
  91. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  92. package/cjs/resources/Forwarding/Requests.d.ts +57 -59
  93. package/cjs/resources/Forwarding/index.d.ts +1 -1
  94. package/cjs/resources/Identity/VerificationReports.d.ts +256 -289
  95. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  96. package/cjs/resources/Identity/VerificationSessions.d.ts +150 -160
  97. package/cjs/resources/Identity/index.d.ts +12 -20
  98. package/cjs/resources/Identity/index.js +0 -2
  99. package/cjs/resources/Identity/index.js.map +1 -1
  100. package/cjs/resources/InvoiceItems.d.ts +2 -203
  101. package/cjs/resources/InvoiceItems.js +0 -41
  102. package/cjs/resources/InvoiceItems.js.map +1 -1
  103. package/cjs/resources/InvoiceLineItems.d.ts +4 -174
  104. package/cjs/resources/InvoiceRenderingTemplates.d.ts +0 -12
  105. package/cjs/resources/InvoiceRenderingTemplates.js +0 -28
  106. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  107. package/cjs/resources/Invoices.d.ts +37 -2080
  108. package/cjs/resources/Invoices.js +0 -221
  109. package/cjs/resources/Invoices.js.map +1 -1
  110. package/cjs/resources/Issuing/Authorizations.d.ts +354 -646
  111. package/cjs/resources/Issuing/Cardholders.d.ts +146 -149
  112. package/cjs/resources/Issuing/Cards.d.ts +183 -221
  113. package/cjs/resources/Issuing/Disputes.d.ts +185 -420
  114. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +47 -49
  115. package/cjs/resources/Issuing/PhysicalBundles.d.ts +24 -26
  116. package/cjs/resources/Issuing/Tokens.d.ts +130 -154
  117. package/cjs/resources/Issuing/Transactions.d.ts +209 -368
  118. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  119. package/cjs/resources/Issuing/index.d.ts +30 -63
  120. package/cjs/resources/Issuing/index.js +0 -8
  121. package/cjs/resources/Issuing/index.js.map +1 -1
  122. package/cjs/resources/LineItems.d.ts +4 -30
  123. package/cjs/resources/Mandates.d.ts +1 -47
  124. package/cjs/resources/Mandates.js +0 -8
  125. package/cjs/resources/Mandates.js.map +1 -1
  126. package/cjs/resources/PaymentAttemptRecords.d.ts +11 -581
  127. package/cjs/resources/PaymentAttemptRecords.js +0 -42
  128. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  129. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +0 -17
  130. package/cjs/resources/PaymentIntents.d.ts +5870 -18814
  131. package/cjs/resources/PaymentIntents.js +0 -46
  132. package/cjs/resources/PaymentIntents.js.map +1 -1
  133. package/cjs/resources/PaymentLinks.d.ts +15 -74
  134. package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -350
  135. package/cjs/resources/PaymentMethods.d.ts +16 -278
  136. package/cjs/resources/PaymentMethods.js +0 -20
  137. package/cjs/resources/PaymentMethods.js.map +1 -1
  138. package/cjs/resources/PaymentRecords.d.ts +24 -536
  139. package/cjs/resources/PaymentRecords.js.map +1 -1
  140. package/cjs/resources/Persons.d.ts +2 -25
  141. package/cjs/resources/Plans.d.ts +0 -16
  142. package/cjs/resources/Prices.d.ts +0 -76
  143. package/cjs/resources/Prices.js +0 -27
  144. package/cjs/resources/Prices.js.map +1 -1
  145. package/cjs/resources/Products.d.ts +0 -198
  146. package/cjs/resources/Products.js +0 -69
  147. package/cjs/resources/Products.js.map +1 -1
  148. package/cjs/resources/PromotionCodes.d.ts +0 -12
  149. package/cjs/resources/PromotionCodes.js +0 -27
  150. package/cjs/resources/PromotionCodes.js.map +1 -1
  151. package/cjs/resources/Quotes.d.ts +105 -3399
  152. package/cjs/resources/Quotes.js +13 -1181
  153. package/cjs/resources/Quotes.js.map +1 -1
  154. package/cjs/resources/Radar/PaymentEvaluations.d.ts +293 -357
  155. package/cjs/resources/Radar/ValueListItems.d.ts +14 -24
  156. package/cjs/resources/Radar/ValueListItems.js +0 -13
  157. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  158. package/cjs/resources/Radar/ValueLists.d.ts +18 -20
  159. package/cjs/resources/Radar/index.d.ts +22 -39
  160. package/cjs/resources/Radar/index.js +0 -6
  161. package/cjs/resources/Radar/index.js.map +1 -1
  162. package/cjs/resources/Refunds.d.ts +0 -35
  163. package/cjs/resources/Refunds.js +0 -27
  164. package/cjs/resources/Refunds.js.map +1 -1
  165. package/cjs/resources/Reporting/ReportRuns.d.ts +35 -37
  166. package/cjs/resources/Reporting/index.d.ts +2 -2
  167. package/cjs/resources/Reserve/Holds.d.ts +24 -64
  168. package/cjs/resources/Reserve/Holds.js +0 -19
  169. package/cjs/resources/Reserve/Holds.js.map +1 -1
  170. package/cjs/resources/Reserve/Plans.d.ts +25 -43
  171. package/cjs/resources/Reserve/Plans.js +0 -11
  172. package/cjs/resources/Reserve/Plans.js.map +1 -1
  173. package/cjs/resources/Reserve/Releases.d.ts +17 -59
  174. package/cjs/resources/Reserve/Releases.js +0 -19
  175. package/cjs/resources/Reserve/Releases.js.map +1 -1
  176. package/cjs/resources/Reserve/index.d.ts +3 -14
  177. package/cjs/resources/Reserve/index.js +0 -9
  178. package/cjs/resources/Reserve/index.js.map +1 -1
  179. package/cjs/resources/SetupAttempts.d.ts +8 -26
  180. package/cjs/resources/SetupIntents.d.ts +14 -593
  181. package/cjs/resources/Sigma/ScheduledQueryRuns.d.ts +7 -9
  182. package/cjs/resources/Sigma/index.d.ts +1 -1
  183. package/cjs/resources/Sources.d.ts +1 -16
  184. package/cjs/resources/SubscriptionItems.d.ts +0 -265
  185. package/cjs/resources/SubscriptionItems.js +0 -41
  186. package/cjs/resources/SubscriptionItems.js.map +1 -1
  187. package/cjs/resources/SubscriptionSchedules.d.ts +23 -1952
  188. package/cjs/resources/SubscriptionSchedules.js +0 -61
  189. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  190. package/cjs/resources/Subscriptions.d.ts +67 -954
  191. package/cjs/resources/Subscriptions.js +1 -290
  192. package/cjs/resources/Subscriptions.js.map +1 -1
  193. package/cjs/resources/Tax/Associations.d.ts +24 -26
  194. package/cjs/resources/Tax/CalculationLineItems.d.ts +57 -70
  195. package/cjs/resources/Tax/Calculations.d.ts +158 -202
  196. package/cjs/resources/Tax/Registrations.d.ts +1091 -1262
  197. package/cjs/resources/Tax/Registrations.js +0 -27
  198. package/cjs/resources/Tax/Registrations.js.map +1 -1
  199. package/cjs/resources/Tax/Settings.d.ts +37 -47
  200. package/cjs/resources/Tax/Settings.js +0 -13
  201. package/cjs/resources/Tax/Settings.js.map +1 -1
  202. package/cjs/resources/Tax/TransactionLineItems.d.ts +12 -21
  203. package/cjs/resources/Tax/Transactions.d.ts +113 -123
  204. package/cjs/resources/Tax/Transactions.js +0 -13
  205. package/cjs/resources/Tax/Transactions.js.map +1 -1
  206. package/cjs/resources/Tax/index.d.ts +18 -32
  207. package/cjs/resources/Tax/index.js +0 -4
  208. package/cjs/resources/Tax/index.js.map +1 -1
  209. package/cjs/resources/TaxCodes.d.ts +0 -15
  210. package/cjs/resources/TaxIds.d.ts +0 -6
  211. package/cjs/resources/TaxIds.js +0 -13
  212. package/cjs/resources/TaxIds.js.map +1 -1
  213. package/cjs/resources/TaxRates.d.ts +0 -12
  214. package/cjs/resources/TaxRates.js +0 -27
  215. package/cjs/resources/TaxRates.js.map +1 -1
  216. package/cjs/resources/Terminal/Configurations.d.ts +479 -508
  217. package/cjs/resources/Terminal/Locations.d.ts +72 -74
  218. package/cjs/resources/Terminal/OnboardingLinks.d.ts +16 -18
  219. package/cjs/resources/Terminal/Readers.d.ts +479 -497
  220. package/cjs/resources/Terminal/index.d.ts +11 -13
  221. package/cjs/resources/Terminal/index.js +0 -2
  222. package/cjs/resources/Terminal/index.js.map +1 -1
  223. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +2 -95
  224. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +0 -8
  225. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +0 -16
  226. package/cjs/resources/TestHelpers/Issuing/index.d.ts +0 -2
  227. package/cjs/resources/TestHelpers/Issuing/index.js +0 -2
  228. package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
  229. package/cjs/resources/TestHelpers/TestClocks.d.ts +27 -29
  230. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  231. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  232. package/cjs/resources/TestHelpers/index.d.ts +8 -15
  233. package/cjs/resources/TestHelpers/index.js +6 -12
  234. package/cjs/resources/TestHelpers/index.js.map +1 -1
  235. package/cjs/resources/Tokens.d.ts +0 -61
  236. package/cjs/resources/Topups.d.ts +18 -0
  237. package/cjs/resources/Transfers.d.ts +0 -12
  238. package/cjs/resources/Transfers.js.map +1 -1
  239. package/cjs/resources/Treasury/CreditReversals.d.ts +11 -13
  240. package/cjs/resources/Treasury/DebitReversals.d.ts +18 -20
  241. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +252 -259
  242. package/cjs/resources/Treasury/FinancialAccounts.d.ts +88 -123
  243. package/cjs/resources/Treasury/InboundTransfers.d.ts +79 -81
  244. package/cjs/resources/Treasury/OutboundPayments.d.ts +125 -135
  245. package/cjs/resources/Treasury/OutboundTransfers.d.ts +114 -160
  246. package/cjs/resources/Treasury/ReceivedCredits.d.ts +118 -142
  247. package/cjs/resources/Treasury/ReceivedDebits.d.ts +86 -114
  248. package/cjs/resources/Treasury/TransactionEntries.d.ts +75 -77
  249. package/cjs/resources/Treasury/Transactions.d.ts +86 -88
  250. package/cjs/resources/Treasury/index.d.ts +10 -10
  251. package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +9 -13
  252. package/cjs/resources/V2/Billing/index.d.ts +9 -177
  253. package/cjs/resources/V2/Billing/index.js +0 -32
  254. package/cjs/resources/V2/Billing/index.js.map +1 -1
  255. package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +132 -131
  256. package/cjs/resources/V2/Core/AccountLinks.d.ts +80 -236
  257. package/cjs/resources/V2/Core/AccountPersons.d.ts +369 -373
  258. package/cjs/resources/V2/Core/AccountTokens.d.ts +2 -220
  259. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  260. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  261. package/cjs/resources/V2/Core/Accounts.d.ts +5211 -16314
  262. package/cjs/resources/V2/Core/Accounts.js +38 -8050
  263. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  264. package/cjs/resources/V2/Core/EventDestinations.d.ts +78 -82
  265. package/cjs/resources/V2/Core/Events.d.ts +252 -7625
  266. package/cjs/resources/V2/Core/index.d.ts +19 -68
  267. package/cjs/resources/V2/Core/index.js +0 -16
  268. package/cjs/resources/V2/Core/index.js.map +1 -1
  269. package/cjs/resources/V2/index.d.ts +0 -39
  270. package/cjs/resources/V2/index.js +0 -22
  271. package/cjs/resources/V2/index.js.map +1 -1
  272. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  273. package/cjs/resources.d.ts +0 -19
  274. package/cjs/resources.js +14 -262
  275. package/cjs/resources.js.map +1 -1
  276. package/cjs/stripe.cjs.node.d.ts +14384 -3
  277. package/cjs/stripe.cjs.node.js +1 -4
  278. package/cjs/stripe.cjs.node.js.map +1 -1
  279. package/cjs/stripe.core.d.ts +94 -125
  280. package/cjs/stripe.core.js +32 -73
  281. package/cjs/stripe.core.js.map +1 -1
  282. package/esm/Error.d.ts +0 -53
  283. package/esm/Error.js +0 -117
  284. package/esm/Error.js.map +1 -1
  285. package/esm/Types.d.ts +2 -4
  286. package/esm/apiVersion.d.ts +2 -1
  287. package/esm/apiVersion.js +2 -1
  288. package/esm/apiVersion.js.map +1 -1
  289. package/esm/resources/AccountLinks.d.ts +1 -5
  290. package/esm/resources/AccountSessions.d.ts +0 -467
  291. package/esm/resources/AccountSessions.js.map +1 -1
  292. package/esm/resources/Accounts.d.ts +7 -1021
  293. package/esm/resources/Accounts.js +1 -48
  294. package/esm/resources/Accounts.js.map +1 -1
  295. package/esm/resources/ApplicationFees.d.ts +1 -28
  296. package/esm/resources/Apps/Secrets.d.ts +14 -16
  297. package/esm/resources/Apps/index.d.ts +1 -1
  298. package/esm/resources/Balance.d.ts +0 -134
  299. package/esm/resources/BalanceSettings.d.ts +0 -18
  300. package/esm/resources/BalanceTransactions.d.ts +6 -6
  301. package/esm/resources/BalanceTransactions.js +2 -2
  302. package/esm/resources/BankAccounts.d.ts +2 -2
  303. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -57
  304. package/esm/resources/Billing/Alerts.d.ts +32 -437
  305. package/esm/resources/Billing/Alerts.js +5 -321
  306. package/esm/resources/Billing/Alerts.js.map +1 -1
  307. package/esm/resources/Billing/CreditBalanceSummary.d.ts +40 -166
  308. package/esm/resources/Billing/CreditBalanceSummary.js +1 -39
  309. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  310. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +75 -171
  311. package/esm/resources/Billing/CreditBalanceTransactions.js +1 -100
  312. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  313. package/esm/resources/Billing/CreditGrants.d.ts +41 -125
  314. package/esm/resources/Billing/CreditGrants.js +5 -134
  315. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  316. package/esm/resources/Billing/MeterEventAdjustments.d.ts +9 -11
  317. package/esm/resources/Billing/MeterEventSummaries.d.ts +0 -6
  318. package/esm/resources/Billing/Meters.d.ts +39 -72
  319. package/esm/resources/Billing/index.d.ts +7 -13
  320. package/esm/resources/Billing/index.js +0 -2
  321. package/esm/resources/Billing/index.js.map +1 -1
  322. package/esm/resources/BillingPortal/Configurations.d.ts +132 -134
  323. package/esm/resources/BillingPortal/Sessions.d.ts +100 -102
  324. package/esm/resources/BillingPortal/index.d.ts +2 -2
  325. package/esm/resources/Capabilities.d.ts +2 -25
  326. package/esm/resources/Cards.d.ts +0 -15
  327. package/esm/resources/Charges.d.ts +84 -3317
  328. package/esm/resources/Charges.js.map +1 -1
  329. package/esm/resources/Checkout/Sessions.d.ts +1610 -2321
  330. package/esm/resources/Checkout/Sessions.js +0 -88
  331. package/esm/resources/Checkout/Sessions.js.map +1 -1
  332. package/esm/resources/Checkout/index.d.ts +1 -2
  333. package/esm/resources/Climate/Orders.d.ts +47 -49
  334. package/esm/resources/Climate/Products.d.ts +15 -17
  335. package/esm/resources/Climate/Suppliers.d.ts +25 -27
  336. package/esm/resources/Climate/index.d.ts +3 -3
  337. package/esm/resources/ConfirmationTokens.d.ts +13 -139
  338. package/esm/resources/ConfirmationTokens.js.map +1 -1
  339. package/esm/resources/Coupons.d.ts +2 -128
  340. package/esm/resources/Coupons.js +0 -41
  341. package/esm/resources/Coupons.js.map +1 -1
  342. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  343. package/esm/resources/CreditNotes.d.ts +8 -11
  344. package/esm/resources/CreditNotes.js +2 -13
  345. package/esm/resources/CreditNotes.js.map +1 -1
  346. package/esm/resources/CustomerSessions.d.ts +0 -74
  347. package/esm/resources/CustomerSessions.js +0 -13
  348. package/esm/resources/CustomerSessions.js.map +1 -1
  349. package/esm/resources/Customers.d.ts +1 -85
  350. package/esm/resources/Customers.js +0 -195
  351. package/esm/resources/Customers.js.map +1 -1
  352. package/esm/resources/Discounts.d.ts +0 -19
  353. package/esm/resources/Disputes.d.ts +28 -44
  354. package/esm/resources/Disputes.js +0 -14
  355. package/esm/resources/Disputes.js.map +1 -1
  356. package/esm/resources/Entitlements/index.d.ts +2 -2
  357. package/esm/resources/Events.d.ts +3 -574
  358. package/esm/resources/ExternalAccounts.d.ts +1 -212
  359. package/esm/resources/ExternalAccounts.js +1 -42
  360. package/esm/resources/ExternalAccounts.js.map +1 -1
  361. package/esm/resources/FinancialConnections/Accounts.d.ts +169 -217
  362. package/esm/resources/FinancialConnections/Accounts.js +0 -8
  363. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  364. package/esm/resources/FinancialConnections/Sessions.d.ts +43 -193
  365. package/esm/resources/FinancialConnections/Transactions.d.ts +13 -15
  366. package/esm/resources/FinancialConnections/index.d.ts +9 -24
  367. package/esm/resources/FinancialConnections/index.js +0 -4
  368. package/esm/resources/FinancialConnections/index.js.map +1 -1
  369. package/esm/resources/Forwarding/Requests.d.ts +57 -59
  370. package/esm/resources/Forwarding/index.d.ts +1 -1
  371. package/esm/resources/Identity/VerificationReports.d.ts +256 -289
  372. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  373. package/esm/resources/Identity/VerificationSessions.d.ts +150 -160
  374. package/esm/resources/Identity/index.d.ts +12 -20
  375. package/esm/resources/Identity/index.js +0 -2
  376. package/esm/resources/Identity/index.js.map +1 -1
  377. package/esm/resources/InvoiceItems.d.ts +2 -203
  378. package/esm/resources/InvoiceItems.js +0 -41
  379. package/esm/resources/InvoiceItems.js.map +1 -1
  380. package/esm/resources/InvoiceLineItems.d.ts +4 -174
  381. package/esm/resources/InvoiceRenderingTemplates.d.ts +0 -12
  382. package/esm/resources/InvoiceRenderingTemplates.js +0 -28
  383. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  384. package/esm/resources/Invoices.d.ts +37 -2080
  385. package/esm/resources/Invoices.js +0 -221
  386. package/esm/resources/Invoices.js.map +1 -1
  387. package/esm/resources/Issuing/Authorizations.d.ts +354 -646
  388. package/esm/resources/Issuing/Cardholders.d.ts +146 -149
  389. package/esm/resources/Issuing/Cards.d.ts +183 -221
  390. package/esm/resources/Issuing/Disputes.d.ts +185 -420
  391. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +47 -49
  392. package/esm/resources/Issuing/PhysicalBundles.d.ts +24 -26
  393. package/esm/resources/Issuing/Tokens.d.ts +130 -154
  394. package/esm/resources/Issuing/Transactions.d.ts +209 -368
  395. package/esm/resources/Issuing/Transactions.js.map +1 -1
  396. package/esm/resources/Issuing/index.d.ts +30 -63
  397. package/esm/resources/Issuing/index.js +0 -8
  398. package/esm/resources/Issuing/index.js.map +1 -1
  399. package/esm/resources/LineItems.d.ts +4 -30
  400. package/esm/resources/Mandates.d.ts +1 -47
  401. package/esm/resources/Mandates.js +0 -8
  402. package/esm/resources/Mandates.js.map +1 -1
  403. package/esm/resources/PaymentAttemptRecords.d.ts +11 -581
  404. package/esm/resources/PaymentAttemptRecords.js +0 -42
  405. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  406. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +0 -17
  407. package/esm/resources/PaymentIntents.d.ts +5870 -18814
  408. package/esm/resources/PaymentIntents.js +0 -46
  409. package/esm/resources/PaymentIntents.js.map +1 -1
  410. package/esm/resources/PaymentLinks.d.ts +15 -74
  411. package/esm/resources/PaymentMethodConfigurations.d.ts +0 -350
  412. package/esm/resources/PaymentMethods.d.ts +16 -278
  413. package/esm/resources/PaymentMethods.js +0 -20
  414. package/esm/resources/PaymentMethods.js.map +1 -1
  415. package/esm/resources/PaymentRecords.d.ts +24 -536
  416. package/esm/resources/PaymentRecords.js.map +1 -1
  417. package/esm/resources/Persons.d.ts +2 -25
  418. package/esm/resources/Plans.d.ts +0 -16
  419. package/esm/resources/Prices.d.ts +0 -76
  420. package/esm/resources/Prices.js +0 -27
  421. package/esm/resources/Prices.js.map +1 -1
  422. package/esm/resources/Products.d.ts +0 -198
  423. package/esm/resources/Products.js +0 -69
  424. package/esm/resources/Products.js.map +1 -1
  425. package/esm/resources/PromotionCodes.d.ts +0 -12
  426. package/esm/resources/PromotionCodes.js +0 -27
  427. package/esm/resources/PromotionCodes.js.map +1 -1
  428. package/esm/resources/Quotes.d.ts +105 -3399
  429. package/esm/resources/Quotes.js +13 -1181
  430. package/esm/resources/Quotes.js.map +1 -1
  431. package/esm/resources/Radar/PaymentEvaluations.d.ts +293 -357
  432. package/esm/resources/Radar/ValueListItems.d.ts +14 -24
  433. package/esm/resources/Radar/ValueListItems.js +0 -13
  434. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  435. package/esm/resources/Radar/ValueLists.d.ts +18 -20
  436. package/esm/resources/Radar/index.d.ts +22 -39
  437. package/esm/resources/Radar/index.js +0 -6
  438. package/esm/resources/Radar/index.js.map +1 -1
  439. package/esm/resources/Refunds.d.ts +0 -35
  440. package/esm/resources/Refunds.js +0 -27
  441. package/esm/resources/Refunds.js.map +1 -1
  442. package/esm/resources/Reporting/ReportRuns.d.ts +35 -37
  443. package/esm/resources/Reporting/index.d.ts +2 -2
  444. package/esm/resources/Reserve/Holds.d.ts +24 -64
  445. package/esm/resources/Reserve/Holds.js +1 -17
  446. package/esm/resources/Reserve/Holds.js.map +1 -1
  447. package/esm/resources/Reserve/Plans.d.ts +25 -43
  448. package/esm/resources/Reserve/Plans.js +1 -9
  449. package/esm/resources/Reserve/Plans.js.map +1 -1
  450. package/esm/resources/Reserve/Releases.d.ts +17 -59
  451. package/esm/resources/Reserve/Releases.js +1 -17
  452. package/esm/resources/Reserve/Releases.js.map +1 -1
  453. package/esm/resources/Reserve/index.d.ts +3 -14
  454. package/esm/resources/Reserve/index.js +0 -9
  455. package/esm/resources/Reserve/index.js.map +1 -1
  456. package/esm/resources/SetupAttempts.d.ts +8 -26
  457. package/esm/resources/SetupIntents.d.ts +14 -593
  458. package/esm/resources/Sigma/ScheduledQueryRuns.d.ts +7 -9
  459. package/esm/resources/Sigma/index.d.ts +1 -1
  460. package/esm/resources/Sources.d.ts +1 -16
  461. package/esm/resources/SubscriptionItems.d.ts +0 -265
  462. package/esm/resources/SubscriptionItems.js +0 -41
  463. package/esm/resources/SubscriptionItems.js.map +1 -1
  464. package/esm/resources/SubscriptionSchedules.d.ts +23 -1952
  465. package/esm/resources/SubscriptionSchedules.js +0 -61
  466. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  467. package/esm/resources/Subscriptions.d.ts +67 -954
  468. package/esm/resources/Subscriptions.js +1 -290
  469. package/esm/resources/Subscriptions.js.map +1 -1
  470. package/esm/resources/Tax/Associations.d.ts +24 -26
  471. package/esm/resources/Tax/CalculationLineItems.d.ts +57 -70
  472. package/esm/resources/Tax/Calculations.d.ts +158 -202
  473. package/esm/resources/Tax/Registrations.d.ts +1091 -1262
  474. package/esm/resources/Tax/Registrations.js +0 -27
  475. package/esm/resources/Tax/Registrations.js.map +1 -1
  476. package/esm/resources/Tax/Settings.d.ts +37 -47
  477. package/esm/resources/Tax/Settings.js +0 -13
  478. package/esm/resources/Tax/Settings.js.map +1 -1
  479. package/esm/resources/Tax/TransactionLineItems.d.ts +12 -21
  480. package/esm/resources/Tax/Transactions.d.ts +113 -123
  481. package/esm/resources/Tax/Transactions.js +0 -13
  482. package/esm/resources/Tax/Transactions.js.map +1 -1
  483. package/esm/resources/Tax/index.d.ts +18 -32
  484. package/esm/resources/Tax/index.js +0 -4
  485. package/esm/resources/Tax/index.js.map +1 -1
  486. package/esm/resources/TaxCodes.d.ts +0 -15
  487. package/esm/resources/TaxIds.d.ts +0 -6
  488. package/esm/resources/TaxIds.js +0 -13
  489. package/esm/resources/TaxIds.js.map +1 -1
  490. package/esm/resources/TaxRates.d.ts +0 -12
  491. package/esm/resources/TaxRates.js +0 -27
  492. package/esm/resources/TaxRates.js.map +1 -1
  493. package/esm/resources/Terminal/Configurations.d.ts +479 -508
  494. package/esm/resources/Terminal/Locations.d.ts +72 -74
  495. package/esm/resources/Terminal/OnboardingLinks.d.ts +16 -18
  496. package/esm/resources/Terminal/Readers.d.ts +479 -497
  497. package/esm/resources/Terminal/index.d.ts +11 -13
  498. package/esm/resources/Terminal/index.js +0 -2
  499. package/esm/resources/Terminal/index.js.map +1 -1
  500. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +2 -95
  501. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +0 -8
  502. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +0 -16
  503. package/esm/resources/TestHelpers/Issuing/index.d.ts +0 -2
  504. package/esm/resources/TestHelpers/Issuing/index.js +0 -2
  505. package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
  506. package/esm/resources/TestHelpers/TestClocks.d.ts +27 -29
  507. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  508. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  509. package/esm/resources/TestHelpers/index.d.ts +8 -15
  510. package/esm/resources/TestHelpers/index.js +0 -6
  511. package/esm/resources/TestHelpers/index.js.map +1 -1
  512. package/esm/resources/Tokens.d.ts +0 -61
  513. package/esm/resources/Topups.d.ts +18 -0
  514. package/esm/resources/Transfers.d.ts +0 -12
  515. package/esm/resources/Transfers.js.map +1 -1
  516. package/esm/resources/Treasury/CreditReversals.d.ts +11 -13
  517. package/esm/resources/Treasury/DebitReversals.d.ts +18 -20
  518. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +252 -259
  519. package/esm/resources/Treasury/FinancialAccounts.d.ts +88 -123
  520. package/esm/resources/Treasury/InboundTransfers.d.ts +79 -81
  521. package/esm/resources/Treasury/OutboundPayments.d.ts +125 -135
  522. package/esm/resources/Treasury/OutboundTransfers.d.ts +114 -160
  523. package/esm/resources/Treasury/ReceivedCredits.d.ts +118 -142
  524. package/esm/resources/Treasury/ReceivedDebits.d.ts +86 -114
  525. package/esm/resources/Treasury/TransactionEntries.d.ts +75 -77
  526. package/esm/resources/Treasury/Transactions.d.ts +86 -88
  527. package/esm/resources/Treasury/index.d.ts +10 -10
  528. package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +9 -13
  529. package/esm/resources/V2/Billing/index.d.ts +9 -177
  530. package/esm/resources/V2/Billing/index.js +0 -32
  531. package/esm/resources/V2/Billing/index.js.map +1 -1
  532. package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +132 -131
  533. package/esm/resources/V2/Core/AccountLinks.d.ts +80 -236
  534. package/esm/resources/V2/Core/AccountPersons.d.ts +369 -373
  535. package/esm/resources/V2/Core/AccountTokens.d.ts +2 -220
  536. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  537. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  538. package/esm/resources/V2/Core/Accounts.d.ts +5211 -16314
  539. package/esm/resources/V2/Core/Accounts.js +38 -8050
  540. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  541. package/esm/resources/V2/Core/EventDestinations.d.ts +78 -82
  542. package/esm/resources/V2/Core/Events.d.ts +252 -7625
  543. package/esm/resources/V2/Core/index.d.ts +19 -68
  544. package/esm/resources/V2/Core/index.js +0 -16
  545. package/esm/resources/V2/Core/index.js.map +1 -1
  546. package/esm/resources/V2/index.d.ts +0 -39
  547. package/esm/resources/V2/index.js +0 -22
  548. package/esm/resources/V2/index.js.map +1 -1
  549. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  550. package/esm/resources.d.ts +0 -19
  551. package/esm/resources.js +0 -236
  552. package/esm/resources.js.map +1 -1
  553. package/esm/stripe.core.d.ts +94 -125
  554. package/esm/stripe.core.js +2 -43
  555. package/esm/stripe.core.js.map +1 -1
  556. package/esm/stripe.esm.node.d.ts +94 -125
  557. package/esm/stripe.esm.node.js +2 -43
  558. package/esm/stripe.esm.node.js.map +1 -1
  559. package/package.json +1 -1
  560. package/cjs/StripeEventNotificationHandler.d.ts +0 -19
  561. package/cjs/StripeEventNotificationHandler.js +0 -471
  562. package/cjs/StripeEventNotificationHandler.js.map +0 -1
  563. package/cjs/resources/AccountNotices.d.ts +0 -140
  564. package/cjs/resources/AccountNotices.js +0 -29
  565. package/cjs/resources/AccountNotices.js.map +0 -1
  566. package/cjs/resources/AccountSignals.d.ts +0 -110
  567. package/cjs/resources/AccountSignals.js +0 -4
  568. package/cjs/resources/AccountSignals.js.map +0 -1
  569. package/cjs/resources/BalanceTransfers.d.ts +0 -160
  570. package/cjs/resources/BalanceTransfers.js +0 -15
  571. package/cjs/resources/BalanceTransfers.js.map +0 -1
  572. package/cjs/resources/Billing/AlertRecovereds.d.ts +0 -40
  573. package/cjs/resources/Billing/AlertRecovereds.js +0 -4
  574. package/cjs/resources/Billing/AlertRecovereds.js.map +0 -1
  575. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -88
  576. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  577. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  578. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -38
  579. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  580. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  581. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  582. package/cjs/resources/Billing/Analytics/index.js +0 -13
  583. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  584. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
  585. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  586. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  587. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
  588. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  589. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  590. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
  591. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  592. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  593. package/cjs/resources/Capital/index.d.ts +0 -25
  594. package/cjs/resources/Capital/index.js +0 -17
  595. package/cjs/resources/Capital/index.js.map +0 -1
  596. package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +0 -130
  597. package/cjs/resources/DelegatedCheckout/OrderEvents.js +0 -4
  598. package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +0 -1
  599. package/cjs/resources/DelegatedCheckout/Orders.d.ts +0 -161
  600. package/cjs/resources/DelegatedCheckout/Orders.js +0 -15
  601. package/cjs/resources/DelegatedCheckout/Orders.js.map +0 -1
  602. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +0 -1418
  603. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +0 -47
  604. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +0 -1
  605. package/cjs/resources/DelegatedCheckout/index.d.ts +0 -25
  606. package/cjs/resources/DelegatedCheckout/index.js +0 -15
  607. package/cjs/resources/DelegatedCheckout/index.js.map +0 -1
  608. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  609. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  610. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  611. package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
  612. package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
  613. package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
  614. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
  615. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  616. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  617. package/cjs/resources/FrMealVouchersOnboardings.d.ts +0 -173
  618. package/cjs/resources/FrMealVouchersOnboardings.js +0 -42
  619. package/cjs/resources/FrMealVouchersOnboardings.js.map +0 -1
  620. package/cjs/resources/FxQuotes.d.ts +0 -212
  621. package/cjs/resources/FxQuotes.js +0 -29
  622. package/cjs/resources/FxQuotes.js.map +0 -1
  623. package/cjs/resources/GiftCardOperations.d.ts +0 -246
  624. package/cjs/resources/GiftCardOperations.js +0 -15
  625. package/cjs/resources/GiftCardOperations.js.map +0 -1
  626. package/cjs/resources/GiftCards.d.ts +0 -187
  627. package/cjs/resources/GiftCards.js +0 -51
  628. package/cjs/resources/GiftCards.js.map +0 -1
  629. package/cjs/resources/Identity/BlocklistEntries.d.ts +0 -157
  630. package/cjs/resources/Identity/BlocklistEntries.js +0 -54
  631. package/cjs/resources/Identity/BlocklistEntries.js.map +0 -1
  632. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  633. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
  634. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  635. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  636. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  637. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  638. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  639. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  640. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  641. package/cjs/resources/Issuing/Programs.d.ts +0 -95
  642. package/cjs/resources/Issuing/Programs.js +0 -35
  643. package/cjs/resources/Issuing/Programs.js.map +0 -1
  644. package/cjs/resources/Issuing/Settlements.d.ts +0 -85
  645. package/cjs/resources/Issuing/Settlements.js +0 -4
  646. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  647. package/cjs/resources/Margins.d.ts +0 -115
  648. package/cjs/resources/Margins.js +0 -35
  649. package/cjs/resources/Margins.js.map +0 -1
  650. package/cjs/resources/Orchestration/PaymentAttempts.d.ts +0 -34
  651. package/cjs/resources/Orchestration/PaymentAttempts.js +0 -15
  652. package/cjs/resources/Orchestration/PaymentAttempts.js.map +0 -1
  653. package/cjs/resources/Orchestration/index.d.ts +0 -12
  654. package/cjs/resources/Orchestration/index.js +0 -13
  655. package/cjs/resources/Orchestration/index.js.map +0 -1
  656. package/cjs/resources/Orders.d.ts +0 -4773
  657. package/cjs/resources/Orders.js +0 -457
  658. package/cjs/resources/Orders.js.map +0 -1
  659. package/cjs/resources/PaymentLocationCapabilities.d.ts +0 -122
  660. package/cjs/resources/PaymentLocationCapabilities.js +0 -29
  661. package/cjs/resources/PaymentLocationCapabilities.js.map +0 -1
  662. package/cjs/resources/PaymentLocations.d.ts +0 -178
  663. package/cjs/resources/PaymentLocations.js +0 -41
  664. package/cjs/resources/PaymentLocations.js.map +0 -1
  665. package/cjs/resources/PaymentMethodBalances.d.ts +0 -46
  666. package/cjs/resources/PaymentMethodBalances.js +0 -4
  667. package/cjs/resources/PaymentMethodBalances.js.map +0 -1
  668. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  669. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  670. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  671. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
  672. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  673. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  674. package/cjs/resources/Privacy/index.d.ts +0 -22
  675. package/cjs/resources/Privacy/index.js +0 -13
  676. package/cjs/resources/Privacy/index.js.map +0 -1
  677. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  678. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
  679. package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
  680. package/cjs/resources/ProductCatalog/index.d.ts +0 -12
  681. package/cjs/resources/ProductCatalog/index.js +0 -13
  682. package/cjs/resources/ProductCatalog/index.js.map +0 -1
  683. package/cjs/resources/Profiles.d.ts +0 -26
  684. package/cjs/resources/Profiles.js +0 -4
  685. package/cjs/resources/Profiles.js.map +0 -1
  686. package/cjs/resources/QuoteLines.d.ts +0 -684
  687. package/cjs/resources/QuoteLines.js +0 -4
  688. package/cjs/resources/QuoteLines.js.map +0 -1
  689. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1173
  690. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  691. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  692. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -901
  693. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  694. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  695. package/cjs/resources/Radar/AccountEvaluations.d.ts +0 -310
  696. package/cjs/resources/Radar/AccountEvaluations.js +0 -27
  697. package/cjs/resources/Radar/AccountEvaluations.js.map +0 -1
  698. package/cjs/resources/Radar/CustomerEvaluations.d.ts +0 -246
  699. package/cjs/resources/Radar/CustomerEvaluations.js +0 -27
  700. package/cjs/resources/Radar/CustomerEvaluations.js.map +0 -1
  701. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +0 -435
  702. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +0 -15
  703. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +0 -1
  704. package/cjs/resources/RiskSignals.d.ts +0 -10
  705. package/cjs/resources/RiskSignals.js +0 -4
  706. package/cjs/resources/RiskSignals.js.map +0 -1
  707. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1136
  708. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  709. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  710. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -322
  711. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  712. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  713. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  714. package/cjs/resources/SharedPayment/index.js +0 -15
  715. package/cjs/resources/SharedPayment/index.js.map +0 -1
  716. package/cjs/resources/Tax/Forms.d.ts +0 -230
  717. package/cjs/resources/Tax/Forms.js +0 -32
  718. package/cjs/resources/Tax/Forms.js.map +0 -1
  719. package/cjs/resources/Tax/Locations.d.ts +0 -108
  720. package/cjs/resources/Tax/Locations.js +0 -33
  721. package/cjs/resources/Tax/Locations.js.map +0 -1
  722. package/cjs/resources/TaxFunds.d.ts +0 -126
  723. package/cjs/resources/TaxFunds.js +0 -23
  724. package/cjs/resources/TaxFunds.js.map +0 -1
  725. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  726. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  727. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  728. package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +0 -81
  729. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +0 -21
  730. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +0 -1
  731. package/cjs/resources/TestHelpers/Capital/index.d.ts +0 -8
  732. package/cjs/resources/TestHelpers/Capital/index.js +0 -13
  733. package/cjs/resources/TestHelpers/Capital/index.js.map +0 -1
  734. package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +0 -104
  735. package/cjs/resources/TestHelpers/Issuing/Disputes.js +0 -33
  736. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +0 -1
  737. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +0 -37
  738. package/cjs/resources/TestHelpers/PaymentIntents.js +0 -15
  739. package/cjs/resources/TestHelpers/PaymentIntents.js.map +0 -1
  740. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -75
  741. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  742. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  743. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  744. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  745. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  746. package/cjs/resources/TransitBalances.d.ts +0 -25
  747. package/cjs/resources/TransitBalances.js +0 -4
  748. package/cjs/resources/TransitBalances.js.map +0 -1
  749. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  750. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  751. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  752. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  753. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  754. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  755. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
  756. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  757. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  758. package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +0 -88
  759. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +0 -4
  760. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +0 -1
  761. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +0 -37
  762. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +0 -23
  763. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +0 -1
  764. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -1015
  765. package/cjs/resources/V2/Billing/Cadences.js +0 -264
  766. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  767. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  768. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  769. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  770. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  771. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  772. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  773. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  774. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  775. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  776. package/cjs/resources/V2/Billing/ContractLicensePricingQuantityChanges.d.ts +0 -45
  777. package/cjs/resources/V2/Billing/ContractLicensePricingQuantityChanges.js +0 -4
  778. package/cjs/resources/V2/Billing/ContractLicensePricingQuantityChanges.js.map +0 -1
  779. package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.d.ts +0 -23
  780. package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js +0 -17
  781. package/cjs/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js.map +0 -1
  782. package/cjs/resources/V2/Billing/Contracts/LicensePricing.d.ts +0 -8
  783. package/cjs/resources/V2/Billing/Contracts/LicensePricing.js +0 -15
  784. package/cjs/resources/V2/Billing/Contracts/LicensePricing.js.map +0 -1
  785. package/cjs/resources/V2/Billing/Contracts.d.ts +0 -2028
  786. package/cjs/resources/V2/Billing/Contracts.js +0 -376
  787. package/cjs/resources/V2/Billing/Contracts.js.map +0 -1
  788. package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +0 -125
  789. package/cjs/resources/V2/Billing/CustomPricingUnits.js +0 -35
  790. package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +0 -1
  791. package/cjs/resources/V2/Billing/IntentActions.d.ts +0 -607
  792. package/cjs/resources/V2/Billing/IntentActions.js +0 -4
  793. package/cjs/resources/V2/Billing/IntentActions.js.map +0 -1
  794. package/cjs/resources/V2/Billing/Intents/Actions.d.ts +0 -33
  795. package/cjs/resources/V2/Billing/Intents/Actions.js +0 -70
  796. package/cjs/resources/V2/Billing/Intents/Actions.js.map +0 -1
  797. package/cjs/resources/V2/Billing/Intents.d.ts +0 -1257
  798. package/cjs/resources/V2/Billing/Intents.js +0 -87
  799. package/cjs/resources/V2/Billing/Intents.js.map +0 -1
  800. package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +0 -82
  801. package/cjs/resources/V2/Billing/LicenseFeeVersions.js +0 -4
  802. package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +0 -1
  803. package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +0 -33
  804. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -64
  805. package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +0 -1
  806. package/cjs/resources/V2/Billing/LicenseFees.d.ts +0 -364
  807. package/cjs/resources/V2/Billing/LicenseFees.js +0 -148
  808. package/cjs/resources/V2/Billing/LicenseFees.js.map +0 -1
  809. package/cjs/resources/V2/Billing/LicensedItems.d.ts +0 -174
  810. package/cjs/resources/V2/Billing/LicensedItems.js +0 -35
  811. package/cjs/resources/V2/Billing/LicensedItems.js.map +0 -1
  812. package/cjs/resources/V2/Billing/MeteredItems.d.ts +0 -222
  813. package/cjs/resources/V2/Billing/MeteredItems.js +0 -35
  814. package/cjs/resources/V2/Billing/MeteredItems.js.map +0 -1
  815. package/cjs/resources/V2/Billing/OneTimeItems.d.ts +0 -174
  816. package/cjs/resources/V2/Billing/OneTimeItems.js +0 -35
  817. package/cjs/resources/V2/Billing/OneTimeItems.js.map +0 -1
  818. package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +0 -84
  819. package/cjs/resources/V2/Billing/PricingPlanComponents.js +0 -4
  820. package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +0 -1
  821. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +0 -624
  822. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -296
  823. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +0 -1
  824. package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +0 -30
  825. package/cjs/resources/V2/Billing/PricingPlanVersions.js +0 -4
  826. package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +0 -1
  827. package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +0 -142
  828. package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -41
  829. package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +0 -1
  830. package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +0 -33
  831. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -23
  832. package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +0 -1
  833. package/cjs/resources/V2/Billing/PricingPlans.d.ts +0 -173
  834. package/cjs/resources/V2/Billing/PricingPlans.js +0 -43
  835. package/cjs/resources/V2/Billing/PricingPlans.js.map +0 -1
  836. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
  837. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  838. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  839. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +0 -45
  840. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +0 -4
  841. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +0 -1
  842. package/cjs/resources/V2/Billing/RateCardRates.d.ts +0 -115
  843. package/cjs/resources/V2/Billing/RateCardRates.js +0 -4
  844. package/cjs/resources/V2/Billing/RateCardRates.js.map +0 -1
  845. package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +0 -219
  846. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -41
  847. package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +0 -1
  848. package/cjs/resources/V2/Billing/RateCardVersions.d.ts +0 -22
  849. package/cjs/resources/V2/Billing/RateCardVersions.js +0 -4
  850. package/cjs/resources/V2/Billing/RateCardVersions.js.map +0 -1
  851. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +0 -79
  852. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +0 -35
  853. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +0 -1
  854. package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +0 -145
  855. package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -110
  856. package/cjs/resources/V2/Billing/RateCards/Rates.js.map +0 -1
  857. package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +0 -33
  858. package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -23
  859. package/cjs/resources/V2/Billing/RateCards/Versions.js.map +0 -1
  860. package/cjs/resources/V2/Billing/RateCards.d.ts +0 -340
  861. package/cjs/resources/V2/Billing/RateCards.js +0 -76
  862. package/cjs/resources/V2/Billing/RateCards.js.map +0 -1
  863. package/cjs/resources/V2/Billing/ServiceActions.d.ts +0 -514
  864. package/cjs/resources/V2/Billing/ServiceActions.js +0 -162
  865. package/cjs/resources/V2/Billing/ServiceActions.js.map +0 -1
  866. package/cjs/resources/V2/Core/AccountEvaluations.d.ts +0 -160
  867. package/cjs/resources/V2/Core/AccountEvaluations.js +0 -15
  868. package/cjs/resources/V2/Core/AccountEvaluations.js.map +0 -1
  869. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +0 -334
  870. package/cjs/resources/V2/Core/ApprovalRequests.js +0 -46
  871. package/cjs/resources/V2/Core/ApprovalRequests.js.map +0 -1
  872. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
  873. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  874. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  875. package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +0 -229
  876. package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -31
  877. package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +0 -1
  878. package/cjs/resources/V2/Core/ConnectionSessions.d.ts +0 -90
  879. package/cjs/resources/V2/Core/ConnectionSessions.js +0 -21
  880. package/cjs/resources/V2/Core/ConnectionSessions.js.map +0 -1
  881. package/cjs/resources/V2/Core/FeeBatches.d.ts +0 -237
  882. package/cjs/resources/V2/Core/FeeBatches.js +0 -23
  883. package/cjs/resources/V2/Core/FeeBatches.js.map +0 -1
  884. package/cjs/resources/V2/Core/FeeEntries.d.ts +0 -203
  885. package/cjs/resources/V2/Core/FeeEntries.js +0 -23
  886. package/cjs/resources/V2/Core/FeeEntries.js.map +0 -1
  887. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  888. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  889. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  890. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -255
  891. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -63
  892. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  893. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  894. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  895. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  896. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +0 -73
  897. package/cjs/resources/V2/Data/Analytics/MetricQuery.js +0 -36
  898. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +0 -1
  899. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +0 -82
  900. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +0 -4
  901. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +0 -1
  902. package/cjs/resources/V2/Data/Analytics/index.d.ts +0 -12
  903. package/cjs/resources/V2/Data/Analytics/index.js +0 -13
  904. package/cjs/resources/V2/Data/Analytics/index.js.map +0 -1
  905. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -177
  906. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  907. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  908. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  909. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  910. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  911. package/cjs/resources/V2/Data/index.d.ts +0 -13
  912. package/cjs/resources/V2/Data/index.js +0 -15
  913. package/cjs/resources/V2/Data/index.js.map +0 -1
  914. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  915. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  916. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  917. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
  918. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  919. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  920. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  921. package/cjs/resources/V2/Extend/index.js +0 -15
  922. package/cjs/resources/V2/Extend/index.js.map +0 -1
  923. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  924. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  925. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  926. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  927. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  928. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  929. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -214
  930. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
  931. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  932. package/cjs/resources/V2/Iam/ApiKeys.d.ts +0 -280
  933. package/cjs/resources/V2/Iam/ApiKeys.js +0 -47
  934. package/cjs/resources/V2/Iam/ApiKeys.js.map +0 -1
  935. package/cjs/resources/V2/Iam/index.d.ts +0 -23
  936. package/cjs/resources/V2/Iam/index.js +0 -15
  937. package/cjs/resources/V2/Iam/index.js.map +0 -1
  938. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -139
  939. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  940. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  941. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +0 -135
  942. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +0 -31
  943. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +0 -1
  944. package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +0 -171
  945. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +0 -29
  946. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +0 -1
  947. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +0 -103
  948. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +0 -4
  949. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +0 -1
  950. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +0 -44
  951. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +0 -53
  952. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +0 -1
  953. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -417
  954. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -50
  955. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  956. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -308
  957. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  958. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  959. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  960. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  961. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  962. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -222
  963. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  964. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  965. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -524
  966. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  967. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  968. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -321
  969. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  970. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  971. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -342
  972. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  973. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  974. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -270
  975. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
  976. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  977. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  978. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  979. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  980. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -458
  981. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  982. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  983. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -251
  984. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  985. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  986. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +0 -120
  987. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +0 -27
  988. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +0 -1
  989. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -253
  990. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  991. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  992. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -284
  993. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
  994. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  995. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -128
  996. package/cjs/resources/V2/MoneyManagement/index.js +0 -45
  997. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  998. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  999. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  1000. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1001. package/cjs/resources/V2/Network/index.d.ts +0 -13
  1002. package/cjs/resources/V2/Network/index.js +0 -13
  1003. package/cjs/resources/V2/Network/index.js.map +0 -1
  1004. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  1005. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  1006. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1007. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1008. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  1009. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1010. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +0 -827
  1011. package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -53
  1012. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +0 -1
  1013. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +0 -77
  1014. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +0 -4
  1015. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +0 -1
  1016. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +0 -85
  1017. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +0 -35
  1018. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +0 -1
  1019. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +0 -213
  1020. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +0 -53
  1021. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +0 -1
  1022. package/cjs/resources/V2/Payments/index.d.ts +0 -31
  1023. package/cjs/resources/V2/Payments/index.js +0 -15
  1024. package/cjs/resources/V2/Payments/index.js.map +0 -1
  1025. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +0 -194
  1026. package/cjs/resources/V2/Reporting/ReportRuns.js +0 -50
  1027. package/cjs/resources/V2/Reporting/ReportRuns.js.map +0 -1
  1028. package/cjs/resources/V2/Reporting/Reports.d.ts +0 -110
  1029. package/cjs/resources/V2/Reporting/Reports.js +0 -17
  1030. package/cjs/resources/V2/Reporting/Reports.js.map +0 -1
  1031. package/cjs/resources/V2/Reporting/index.d.ts +0 -18
  1032. package/cjs/resources/V2/Reporting/index.js +0 -15
  1033. package/cjs/resources/V2/Reporting/index.js.map +0 -1
  1034. package/cjs/resources/V2/Signals/AccountSignals.d.ts +0 -176
  1035. package/cjs/resources/V2/Signals/AccountSignals.js +0 -58
  1036. package/cjs/resources/V2/Signals/AccountSignals.js.map +0 -1
  1037. package/cjs/resources/V2/Signals/index.d.ts +0 -13
  1038. package/cjs/resources/V2/Signals/index.js +0 -13
  1039. package/cjs/resources/V2/Signals/index.js.map +0 -1
  1040. package/cjs/resources/V2/Tax/ManualRules.d.ts +0 -335
  1041. package/cjs/resources/V2/Tax/ManualRules.js +0 -193
  1042. package/cjs/resources/V2/Tax/ManualRules.js.map +0 -1
  1043. package/cjs/resources/V2/Tax/index.d.ts +0 -16
  1044. package/cjs/resources/V2/Tax/index.js +0 -13
  1045. package/cjs/resources/V2/Tax/index.js.map +0 -1
  1046. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  1047. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  1048. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1049. package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +0 -31
  1050. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +0 -15
  1051. package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +0 -1
  1052. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -10
  1053. package/cjs/resources/V2/TestHelpers/index.js +0 -15
  1054. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  1055. package/esm/StripeEventNotificationHandler.d.ts +0 -19
  1056. package/esm/StripeEventNotificationHandler.js +0 -467
  1057. package/esm/StripeEventNotificationHandler.js.map +0 -1
  1058. package/esm/resources/AccountNotices.d.ts +0 -140
  1059. package/esm/resources/AccountNotices.js +0 -25
  1060. package/esm/resources/AccountNotices.js.map +0 -1
  1061. package/esm/resources/AccountSignals.d.ts +0 -110
  1062. package/esm/resources/AccountSignals.js +0 -3
  1063. package/esm/resources/AccountSignals.js.map +0 -1
  1064. package/esm/resources/BalanceTransfers.d.ts +0 -160
  1065. package/esm/resources/BalanceTransfers.js +0 -11
  1066. package/esm/resources/BalanceTransfers.js.map +0 -1
  1067. package/esm/resources/Billing/AlertRecovereds.d.ts +0 -40
  1068. package/esm/resources/Billing/AlertRecovereds.js +0 -3
  1069. package/esm/resources/Billing/AlertRecovereds.js.map +0 -1
  1070. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -88
  1071. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  1072. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  1073. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -38
  1074. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  1075. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  1076. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  1077. package/esm/resources/Billing/Analytics/index.js +0 -9
  1078. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  1079. package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
  1080. package/esm/resources/Capital/FinancingOffers.js +0 -26
  1081. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  1082. package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
  1083. package/esm/resources/Capital/FinancingSummary.js +0 -11
  1084. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  1085. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
  1086. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  1087. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  1088. package/esm/resources/Capital/index.d.ts +0 -25
  1089. package/esm/resources/Capital/index.js +0 -13
  1090. package/esm/resources/Capital/index.js.map +0 -1
  1091. package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +0 -130
  1092. package/esm/resources/DelegatedCheckout/OrderEvents.js +0 -3
  1093. package/esm/resources/DelegatedCheckout/OrderEvents.js.map +0 -1
  1094. package/esm/resources/DelegatedCheckout/Orders.d.ts +0 -161
  1095. package/esm/resources/DelegatedCheckout/Orders.js +0 -11
  1096. package/esm/resources/DelegatedCheckout/Orders.js.map +0 -1
  1097. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +0 -1418
  1098. package/esm/resources/DelegatedCheckout/RequestedSessions.js +0 -43
  1099. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +0 -1
  1100. package/esm/resources/DelegatedCheckout/index.d.ts +0 -25
  1101. package/esm/resources/DelegatedCheckout/index.js +0 -11
  1102. package/esm/resources/DelegatedCheckout/index.js.map +0 -1
  1103. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  1104. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  1105. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  1106. package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
  1107. package/esm/resources/FinancialConnections/Authorizations.js +0 -11
  1108. package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
  1109. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
  1110. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  1111. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  1112. package/esm/resources/FrMealVouchersOnboardings.d.ts +0 -173
  1113. package/esm/resources/FrMealVouchersOnboardings.js +0 -38
  1114. package/esm/resources/FrMealVouchersOnboardings.js.map +0 -1
  1115. package/esm/resources/FxQuotes.d.ts +0 -212
  1116. package/esm/resources/FxQuotes.js +0 -25
  1117. package/esm/resources/FxQuotes.js.map +0 -1
  1118. package/esm/resources/GiftCardOperations.d.ts +0 -246
  1119. package/esm/resources/GiftCardOperations.js +0 -11
  1120. package/esm/resources/GiftCardOperations.js.map +0 -1
  1121. package/esm/resources/GiftCards.d.ts +0 -187
  1122. package/esm/resources/GiftCards.js +0 -47
  1123. package/esm/resources/GiftCards.js.map +0 -1
  1124. package/esm/resources/Identity/BlocklistEntries.d.ts +0 -157
  1125. package/esm/resources/Identity/BlocklistEntries.js +0 -50
  1126. package/esm/resources/Identity/BlocklistEntries.js.map +0 -1
  1127. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  1128. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
  1129. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  1130. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  1131. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  1132. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  1133. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  1134. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  1135. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  1136. package/esm/resources/Issuing/Programs.d.ts +0 -95
  1137. package/esm/resources/Issuing/Programs.js +0 -31
  1138. package/esm/resources/Issuing/Programs.js.map +0 -1
  1139. package/esm/resources/Issuing/Settlements.d.ts +0 -85
  1140. package/esm/resources/Issuing/Settlements.js +0 -3
  1141. package/esm/resources/Issuing/Settlements.js.map +0 -1
  1142. package/esm/resources/Margins.d.ts +0 -115
  1143. package/esm/resources/Margins.js +0 -31
  1144. package/esm/resources/Margins.js.map +0 -1
  1145. package/esm/resources/Orchestration/PaymentAttempts.d.ts +0 -34
  1146. package/esm/resources/Orchestration/PaymentAttempts.js +0 -11
  1147. package/esm/resources/Orchestration/PaymentAttempts.js.map +0 -1
  1148. package/esm/resources/Orchestration/index.d.ts +0 -12
  1149. package/esm/resources/Orchestration/index.js +0 -9
  1150. package/esm/resources/Orchestration/index.js.map +0 -1
  1151. package/esm/resources/Orders.d.ts +0 -4773
  1152. package/esm/resources/Orders.js +0 -453
  1153. package/esm/resources/Orders.js.map +0 -1
  1154. package/esm/resources/PaymentLocationCapabilities.d.ts +0 -122
  1155. package/esm/resources/PaymentLocationCapabilities.js +0 -25
  1156. package/esm/resources/PaymentLocationCapabilities.js.map +0 -1
  1157. package/esm/resources/PaymentLocations.d.ts +0 -178
  1158. package/esm/resources/PaymentLocations.js +0 -37
  1159. package/esm/resources/PaymentLocations.js.map +0 -1
  1160. package/esm/resources/PaymentMethodBalances.d.ts +0 -46
  1161. package/esm/resources/PaymentMethodBalances.js +0 -3
  1162. package/esm/resources/PaymentMethodBalances.js.map +0 -1
  1163. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  1164. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  1165. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  1166. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
  1167. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  1168. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  1169. package/esm/resources/Privacy/index.d.ts +0 -22
  1170. package/esm/resources/Privacy/index.js +0 -9
  1171. package/esm/resources/Privacy/index.js.map +0 -1
  1172. package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  1173. package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
  1174. package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
  1175. package/esm/resources/ProductCatalog/index.d.ts +0 -12
  1176. package/esm/resources/ProductCatalog/index.js +0 -9
  1177. package/esm/resources/ProductCatalog/index.js.map +0 -1
  1178. package/esm/resources/Profiles.d.ts +0 -26
  1179. package/esm/resources/Profiles.js +0 -3
  1180. package/esm/resources/Profiles.js.map +0 -1
  1181. package/esm/resources/QuoteLines.d.ts +0 -684
  1182. package/esm/resources/QuoteLines.js +0 -3
  1183. package/esm/resources/QuoteLines.js.map +0 -1
  1184. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1173
  1185. package/esm/resources/QuotePreviewInvoices.js +0 -3
  1186. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  1187. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -901
  1188. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  1189. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  1190. package/esm/resources/Radar/AccountEvaluations.d.ts +0 -310
  1191. package/esm/resources/Radar/AccountEvaluations.js +0 -23
  1192. package/esm/resources/Radar/AccountEvaluations.js.map +0 -1
  1193. package/esm/resources/Radar/CustomerEvaluations.d.ts +0 -246
  1194. package/esm/resources/Radar/CustomerEvaluations.js +0 -23
  1195. package/esm/resources/Radar/CustomerEvaluations.js.map +0 -1
  1196. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +0 -435
  1197. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +0 -11
  1198. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +0 -1
  1199. package/esm/resources/RiskSignals.d.ts +0 -10
  1200. package/esm/resources/RiskSignals.js +0 -3
  1201. package/esm/resources/RiskSignals.js.map +0 -1
  1202. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1136
  1203. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  1204. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  1205. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -322
  1206. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  1207. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  1208. package/esm/resources/SharedPayment/index.d.ts +0 -19
  1209. package/esm/resources/SharedPayment/index.js +0 -11
  1210. package/esm/resources/SharedPayment/index.js.map +0 -1
  1211. package/esm/resources/Tax/Forms.d.ts +0 -230
  1212. package/esm/resources/Tax/Forms.js +0 -28
  1213. package/esm/resources/Tax/Forms.js.map +0 -1
  1214. package/esm/resources/Tax/Locations.d.ts +0 -108
  1215. package/esm/resources/Tax/Locations.js +0 -29
  1216. package/esm/resources/Tax/Locations.js.map +0 -1
  1217. package/esm/resources/TaxFunds.d.ts +0 -126
  1218. package/esm/resources/TaxFunds.js +0 -19
  1219. package/esm/resources/TaxFunds.js.map +0 -1
  1220. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  1221. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  1222. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  1223. package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +0 -81
  1224. package/esm/resources/TestHelpers/Capital/FinancingOffers.js +0 -17
  1225. package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +0 -1
  1226. package/esm/resources/TestHelpers/Capital/index.d.ts +0 -8
  1227. package/esm/resources/TestHelpers/Capital/index.js +0 -9
  1228. package/esm/resources/TestHelpers/Capital/index.js.map +0 -1
  1229. package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +0 -104
  1230. package/esm/resources/TestHelpers/Issuing/Disputes.js +0 -29
  1231. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +0 -1
  1232. package/esm/resources/TestHelpers/PaymentIntents.d.ts +0 -37
  1233. package/esm/resources/TestHelpers/PaymentIntents.js +0 -11
  1234. package/esm/resources/TestHelpers/PaymentIntents.js.map +0 -1
  1235. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -75
  1236. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  1237. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  1238. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  1239. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  1240. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  1241. package/esm/resources/TransitBalances.d.ts +0 -25
  1242. package/esm/resources/TransitBalances.js +0 -3
  1243. package/esm/resources/TransitBalances.js.map +0 -1
  1244. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  1245. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  1246. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  1247. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  1248. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  1249. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  1250. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
  1251. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  1252. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  1253. package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +0 -88
  1254. package/esm/resources/V2/Billing/CadenceSpendModifiers.js +0 -3
  1255. package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +0 -1
  1256. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +0 -37
  1257. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +0 -19
  1258. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +0 -1
  1259. package/esm/resources/V2/Billing/Cadences.d.ts +0 -1015
  1260. package/esm/resources/V2/Billing/Cadences.js +0 -260
  1261. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  1262. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  1263. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  1264. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  1265. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  1266. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  1267. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  1268. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  1269. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  1270. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  1271. package/esm/resources/V2/Billing/ContractLicensePricingQuantityChanges.d.ts +0 -45
  1272. package/esm/resources/V2/Billing/ContractLicensePricingQuantityChanges.js +0 -3
  1273. package/esm/resources/V2/Billing/ContractLicensePricingQuantityChanges.js.map +0 -1
  1274. package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.d.ts +0 -23
  1275. package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js +0 -13
  1276. package/esm/resources/V2/Billing/Contracts/LicensePricing/QuantityChanges.js.map +0 -1
  1277. package/esm/resources/V2/Billing/Contracts/LicensePricing.d.ts +0 -8
  1278. package/esm/resources/V2/Billing/Contracts/LicensePricing.js +0 -11
  1279. package/esm/resources/V2/Billing/Contracts/LicensePricing.js.map +0 -1
  1280. package/esm/resources/V2/Billing/Contracts.d.ts +0 -2028
  1281. package/esm/resources/V2/Billing/Contracts.js +0 -372
  1282. package/esm/resources/V2/Billing/Contracts.js.map +0 -1
  1283. package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +0 -125
  1284. package/esm/resources/V2/Billing/CustomPricingUnits.js +0 -31
  1285. package/esm/resources/V2/Billing/CustomPricingUnits.js.map +0 -1
  1286. package/esm/resources/V2/Billing/IntentActions.d.ts +0 -607
  1287. package/esm/resources/V2/Billing/IntentActions.js +0 -3
  1288. package/esm/resources/V2/Billing/IntentActions.js.map +0 -1
  1289. package/esm/resources/V2/Billing/Intents/Actions.d.ts +0 -33
  1290. package/esm/resources/V2/Billing/Intents/Actions.js +0 -66
  1291. package/esm/resources/V2/Billing/Intents/Actions.js.map +0 -1
  1292. package/esm/resources/V2/Billing/Intents.d.ts +0 -1257
  1293. package/esm/resources/V2/Billing/Intents.js +0 -83
  1294. package/esm/resources/V2/Billing/Intents.js.map +0 -1
  1295. package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +0 -82
  1296. package/esm/resources/V2/Billing/LicenseFeeVersions.js +0 -3
  1297. package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +0 -1
  1298. package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +0 -33
  1299. package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -60
  1300. package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +0 -1
  1301. package/esm/resources/V2/Billing/LicenseFees.d.ts +0 -364
  1302. package/esm/resources/V2/Billing/LicenseFees.js +0 -144
  1303. package/esm/resources/V2/Billing/LicenseFees.js.map +0 -1
  1304. package/esm/resources/V2/Billing/LicensedItems.d.ts +0 -174
  1305. package/esm/resources/V2/Billing/LicensedItems.js +0 -31
  1306. package/esm/resources/V2/Billing/LicensedItems.js.map +0 -1
  1307. package/esm/resources/V2/Billing/MeteredItems.d.ts +0 -222
  1308. package/esm/resources/V2/Billing/MeteredItems.js +0 -31
  1309. package/esm/resources/V2/Billing/MeteredItems.js.map +0 -1
  1310. package/esm/resources/V2/Billing/OneTimeItems.d.ts +0 -174
  1311. package/esm/resources/V2/Billing/OneTimeItems.js +0 -31
  1312. package/esm/resources/V2/Billing/OneTimeItems.js.map +0 -1
  1313. package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +0 -84
  1314. package/esm/resources/V2/Billing/PricingPlanComponents.js +0 -3
  1315. package/esm/resources/V2/Billing/PricingPlanComponents.js.map +0 -1
  1316. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +0 -624
  1317. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -292
  1318. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +0 -1
  1319. package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +0 -30
  1320. package/esm/resources/V2/Billing/PricingPlanVersions.js +0 -3
  1321. package/esm/resources/V2/Billing/PricingPlanVersions.js.map +0 -1
  1322. package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +0 -142
  1323. package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -37
  1324. package/esm/resources/V2/Billing/PricingPlans/Components.js.map +0 -1
  1325. package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +0 -33
  1326. package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -19
  1327. package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +0 -1
  1328. package/esm/resources/V2/Billing/PricingPlans.d.ts +0 -173
  1329. package/esm/resources/V2/Billing/PricingPlans.js +0 -39
  1330. package/esm/resources/V2/Billing/PricingPlans.js.map +0 -1
  1331. package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
  1332. package/esm/resources/V2/Billing/Profiles.js +0 -31
  1333. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  1334. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +0 -45
  1335. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +0 -3
  1336. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +0 -1
  1337. package/esm/resources/V2/Billing/RateCardRates.d.ts +0 -115
  1338. package/esm/resources/V2/Billing/RateCardRates.js +0 -3
  1339. package/esm/resources/V2/Billing/RateCardRates.js.map +0 -1
  1340. package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +0 -219
  1341. package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -37
  1342. package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +0 -1
  1343. package/esm/resources/V2/Billing/RateCardVersions.d.ts +0 -22
  1344. package/esm/resources/V2/Billing/RateCardVersions.js +0 -3
  1345. package/esm/resources/V2/Billing/RateCardVersions.js.map +0 -1
  1346. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +0 -79
  1347. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +0 -31
  1348. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +0 -1
  1349. package/esm/resources/V2/Billing/RateCards/Rates.d.ts +0 -145
  1350. package/esm/resources/V2/Billing/RateCards/Rates.js +0 -106
  1351. package/esm/resources/V2/Billing/RateCards/Rates.js.map +0 -1
  1352. package/esm/resources/V2/Billing/RateCards/Versions.d.ts +0 -33
  1353. package/esm/resources/V2/Billing/RateCards/Versions.js +0 -19
  1354. package/esm/resources/V2/Billing/RateCards/Versions.js.map +0 -1
  1355. package/esm/resources/V2/Billing/RateCards.d.ts +0 -340
  1356. package/esm/resources/V2/Billing/RateCards.js +0 -72
  1357. package/esm/resources/V2/Billing/RateCards.js.map +0 -1
  1358. package/esm/resources/V2/Billing/ServiceActions.d.ts +0 -514
  1359. package/esm/resources/V2/Billing/ServiceActions.js +0 -158
  1360. package/esm/resources/V2/Billing/ServiceActions.js.map +0 -1
  1361. package/esm/resources/V2/Core/AccountEvaluations.d.ts +0 -160
  1362. package/esm/resources/V2/Core/AccountEvaluations.js +0 -11
  1363. package/esm/resources/V2/Core/AccountEvaluations.js.map +0 -1
  1364. package/esm/resources/V2/Core/ApprovalRequests.d.ts +0 -334
  1365. package/esm/resources/V2/Core/ApprovalRequests.js +0 -42
  1366. package/esm/resources/V2/Core/ApprovalRequests.js.map +0 -1
  1367. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
  1368. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  1369. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  1370. package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +0 -229
  1371. package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -27
  1372. package/esm/resources/V2/Core/ClaimableSandboxes.js.map +0 -1
  1373. package/esm/resources/V2/Core/ConnectionSessions.d.ts +0 -90
  1374. package/esm/resources/V2/Core/ConnectionSessions.js +0 -17
  1375. package/esm/resources/V2/Core/ConnectionSessions.js.map +0 -1
  1376. package/esm/resources/V2/Core/FeeBatches.d.ts +0 -237
  1377. package/esm/resources/V2/Core/FeeBatches.js +0 -19
  1378. package/esm/resources/V2/Core/FeeBatches.js.map +0 -1
  1379. package/esm/resources/V2/Core/FeeEntries.d.ts +0 -203
  1380. package/esm/resources/V2/Core/FeeEntries.js +0 -19
  1381. package/esm/resources/V2/Core/FeeEntries.js.map +0 -1
  1382. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  1383. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  1384. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  1385. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -255
  1386. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -59
  1387. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  1388. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  1389. package/esm/resources/V2/Core/Vault/index.js +0 -11
  1390. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  1391. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +0 -73
  1392. package/esm/resources/V2/Data/Analytics/MetricQuery.js +0 -32
  1393. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +0 -1
  1394. package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +0 -82
  1395. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +0 -3
  1396. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +0 -1
  1397. package/esm/resources/V2/Data/Analytics/index.d.ts +0 -12
  1398. package/esm/resources/V2/Data/Analytics/index.js +0 -9
  1399. package/esm/resources/V2/Data/Analytics/index.js.map +0 -1
  1400. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -177
  1401. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  1402. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  1403. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  1404. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  1405. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  1406. package/esm/resources/V2/Data/index.d.ts +0 -13
  1407. package/esm/resources/V2/Data/index.js +0 -11
  1408. package/esm/resources/V2/Data/index.js.map +0 -1
  1409. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  1410. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  1411. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  1412. package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
  1413. package/esm/resources/V2/Extend/Workflows.js +0 -26
  1414. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  1415. package/esm/resources/V2/Extend/index.d.ts +0 -20
  1416. package/esm/resources/V2/Extend/index.js +0 -11
  1417. package/esm/resources/V2/Extend/index.js.map +0 -1
  1418. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  1419. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  1420. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  1421. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  1422. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  1423. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  1424. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -214
  1425. package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
  1426. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  1427. package/esm/resources/V2/Iam/ApiKeys.d.ts +0 -280
  1428. package/esm/resources/V2/Iam/ApiKeys.js +0 -43
  1429. package/esm/resources/V2/Iam/ApiKeys.js.map +0 -1
  1430. package/esm/resources/V2/Iam/index.d.ts +0 -23
  1431. package/esm/resources/V2/Iam/index.js +0 -11
  1432. package/esm/resources/V2/Iam/index.js.map +0 -1
  1433. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -139
  1434. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  1435. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  1436. package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +0 -135
  1437. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +0 -27
  1438. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +0 -1
  1439. package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +0 -171
  1440. package/esm/resources/V2/MoneyManagement/DebitDisputes.js +0 -25
  1441. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +0 -1
  1442. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +0 -103
  1443. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +0 -3
  1444. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +0 -1
  1445. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +0 -44
  1446. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +0 -49
  1447. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +0 -1
  1448. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -417
  1449. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -46
  1450. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  1451. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -308
  1452. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  1453. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  1454. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  1455. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  1456. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  1457. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -222
  1458. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  1459. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  1460. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -524
  1461. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  1462. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1463. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -321
  1464. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  1465. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1466. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -342
  1467. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  1468. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1469. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -270
  1470. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
  1471. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1472. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  1473. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  1474. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1475. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -458
  1476. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  1477. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1478. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -251
  1479. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  1480. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1481. package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +0 -120
  1482. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +0 -23
  1483. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +0 -1
  1484. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -253
  1485. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  1486. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1487. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -284
  1488. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
  1489. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1490. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -128
  1491. package/esm/resources/V2/MoneyManagement/index.js +0 -41
  1492. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  1493. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  1494. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  1495. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1496. package/esm/resources/V2/Network/index.d.ts +0 -13
  1497. package/esm/resources/V2/Network/index.js +0 -9
  1498. package/esm/resources/V2/Network/index.js.map +0 -1
  1499. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  1500. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  1501. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1502. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1503. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  1504. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1505. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +0 -827
  1506. package/esm/resources/V2/Payments/OffSessionPayments.js +0 -49
  1507. package/esm/resources/V2/Payments/OffSessionPayments.js.map +0 -1
  1508. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +0 -77
  1509. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +0 -3
  1510. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +0 -1
  1511. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +0 -85
  1512. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +0 -31
  1513. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +0 -1
  1514. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +0 -213
  1515. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +0 -49
  1516. package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +0 -1
  1517. package/esm/resources/V2/Payments/index.d.ts +0 -31
  1518. package/esm/resources/V2/Payments/index.js +0 -11
  1519. package/esm/resources/V2/Payments/index.js.map +0 -1
  1520. package/esm/resources/V2/Reporting/ReportRuns.d.ts +0 -194
  1521. package/esm/resources/V2/Reporting/ReportRuns.js +0 -46
  1522. package/esm/resources/V2/Reporting/ReportRuns.js.map +0 -1
  1523. package/esm/resources/V2/Reporting/Reports.d.ts +0 -110
  1524. package/esm/resources/V2/Reporting/Reports.js +0 -13
  1525. package/esm/resources/V2/Reporting/Reports.js.map +0 -1
  1526. package/esm/resources/V2/Reporting/index.d.ts +0 -18
  1527. package/esm/resources/V2/Reporting/index.js +0 -11
  1528. package/esm/resources/V2/Reporting/index.js.map +0 -1
  1529. package/esm/resources/V2/Signals/AccountSignals.d.ts +0 -176
  1530. package/esm/resources/V2/Signals/AccountSignals.js +0 -54
  1531. package/esm/resources/V2/Signals/AccountSignals.js.map +0 -1
  1532. package/esm/resources/V2/Signals/index.d.ts +0 -13
  1533. package/esm/resources/V2/Signals/index.js +0 -9
  1534. package/esm/resources/V2/Signals/index.js.map +0 -1
  1535. package/esm/resources/V2/Tax/ManualRules.d.ts +0 -335
  1536. package/esm/resources/V2/Tax/ManualRules.js +0 -189
  1537. package/esm/resources/V2/Tax/ManualRules.js.map +0 -1
  1538. package/esm/resources/V2/Tax/index.d.ts +0 -16
  1539. package/esm/resources/V2/Tax/index.js +0 -9
  1540. package/esm/resources/V2/Tax/index.js.map +0 -1
  1541. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  1542. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  1543. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1544. package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +0 -31
  1545. package/esm/resources/V2/TestHelpers/MoneyManagement.js +0 -11
  1546. package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +0 -1
  1547. package/esm/resources/V2/TestHelpers/index.d.ts +0 -10
  1548. package/esm/resources/V2/TestHelpers/index.js +0 -11
  1549. package/esm/resources/V2/TestHelpers/index.js.map +0 -1
@@ -4,7 +4,6 @@ import { Discount, DeletedDiscount } from './Discounts.js';
4
4
  import { TaxId, DeletedTaxId } from './TaxIds.js';
5
5
  import { Application, DeletedApplication } from './Applications.js';
6
6
  import { Customer, DeletedCustomer } from './Customers.js';
7
- import { Margin } from './Margins.js';
8
7
  import { PaymentMethod } from './PaymentMethods.js';
9
8
  import { CustomerSource } from './CustomerSources.js';
10
9
  import { TaxRate } from './TaxRates.js';
@@ -68,10 +67,6 @@ export declare class InvoiceResource extends StripeResource {
68
67
  * See: [Partial payments](https://docs.stripe.com/docs/invoicing/partial-payments) to learn more.
69
68
  */
70
69
  attachPayment(id: string, params?: InvoiceAttachPaymentParams, options?: RequestOptions): Promise<Response<Invoice>>;
71
- /**
72
- * Detaches a payment from the invoice, removing it from the list of payments
73
- */
74
- detachPayment(id: string, params?: InvoiceDetachPaymentParams, options?: RequestOptions): Promise<Response<Invoice>>;
75
70
  /**
76
71
  * Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you'd like to finalize a draft invoice manually, you can do so using this method.
77
72
  */
@@ -116,54 +111,6 @@ export declare class InvoiceResource extends StripeResource {
116
111
  * Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. [Learn more](https://docs.stripe.com/currencies/conversions)
117
112
  */
118
113
  createPreview(params?: InvoiceCreatePreviewParams, options?: RequestOptions): Promise<Response<Invoice>>;
119
- serializeBatchDelete(invoice: string, params?: Record<string, unknown>, options?: {
120
- apiVersion?: string;
121
- stripeContext?: string;
122
- }): string;
123
- serializeBatchUpdate(invoice: string, params?: Record<string, unknown>, options?: {
124
- apiVersion?: string;
125
- stripeContext?: string;
126
- }): string;
127
- serializeBatchCreate(params?: Record<string, unknown>, options?: {
128
- apiVersion?: string;
129
- stripeContext?: string;
130
- }): string;
131
- serializeBatchAddLines(invoice: string, params?: Record<string, unknown>, options?: {
132
- apiVersion?: string;
133
- stripeContext?: string;
134
- }): string;
135
- serializeBatchFinalizeInvoice(invoice: string, params?: Record<string, unknown>, options?: {
136
- apiVersion?: string;
137
- stripeContext?: string;
138
- }): string;
139
- serializeBatchMarkUncollectible(invoice: string, params?: Record<string, unknown>, options?: {
140
- apiVersion?: string;
141
- stripeContext?: string;
142
- }): string;
143
- serializeBatchPay(invoice: string, params?: Record<string, unknown>, options?: {
144
- apiVersion?: string;
145
- stripeContext?: string;
146
- }): string;
147
- serializeBatchRemoveLines(invoice: string, params?: Record<string, unknown>, options?: {
148
- apiVersion?: string;
149
- stripeContext?: string;
150
- }): string;
151
- serializeBatchSendInvoice(invoice: string, params?: Record<string, unknown>, options?: {
152
- apiVersion?: string;
153
- stripeContext?: string;
154
- }): string;
155
- serializeBatchUpdateLines(invoice: string, params?: Record<string, unknown>, options?: {
156
- apiVersion?: string;
157
- stripeContext?: string;
158
- }): string;
159
- serializeBatchVoidInvoice(invoice: string, params?: Record<string, unknown>, options?: {
160
- apiVersion?: string;
161
- stripeContext?: string;
162
- }): string;
163
- serializeBatchCreatePreview(params?: Record<string, unknown>, options?: {
164
- apiVersion?: string;
165
- stripeContext?: string;
166
- }): string;
167
114
  /**
168
115
  * When retrieving an invoice, you'll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
169
116
  */
@@ -175,10 +122,6 @@ export declare class InvoiceResource extends StripeResource {
175
122
  * Updating an invoice's line item is only possible before the invoice is finalized.
176
123
  */
177
124
  updateLineItem(invoiceId: string, id: string, params?: InvoiceUpdateLineItemParams, options?: RequestOptions): Promise<Response<InvoiceLineItem>>;
178
- serializeBatchUpdateLineItem(invoice: string, lineItemId: string, params?: Record<string, unknown>, options?: {
179
- apiVersion?: string;
180
- stripeContext?: string;
181
- }): string;
182
125
  }
183
126
  export interface Invoice {
184
127
  /**
@@ -225,10 +168,6 @@ export interface Invoice {
225
168
  * This is the sum of all the shipping amounts.
226
169
  */
227
170
  amount_shipping: number;
228
- /**
229
- * List of expected payments and corresponding due dates. This value will be null for invoices where collection_method=charge_automatically.
230
- */
231
- amounts_due?: Array<Invoice.AmountsDue> | null;
232
171
  /**
233
172
  * ID of the Connect Application that created the invoice.
234
173
  */
@@ -318,10 +257,6 @@ export interface Invoice {
318
257
  * The customer's tax IDs. Until the invoice is finalized, this field will contain the same tax IDs as `customer.tax_ids`. Once the invoice is finalized, this field will no longer be updated.
319
258
  */
320
259
  customer_tax_ids?: Array<Invoice.CustomerTaxId> | null;
321
- /**
322
- * The margins applied to the invoice. Can be overridden by line item `margins`. Use `expand[]=default_margins` to expand each margin.
323
- */
324
- default_margins?: Array<string | Margin> | null;
325
260
  /**
326
261
  * ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings.
327
262
  */
@@ -486,10 +421,6 @@ export interface Invoice {
486
421
  * The integer amount in cents (or local equivalent) representing the total amount of the invoice including all discounts but excluding all tax.
487
422
  */
488
423
  total_excluding_tax: number | null;
489
- /**
490
- * The aggregate amounts calculated per margin across all line items.
491
- */
492
- total_margin_amounts?: Array<Invoice.TotalMarginAmount> | null;
493
424
  /**
494
425
  * Contains pretax credit amounts (ex: discount, credit grants, etc) that apply to this invoice. This is a combined list of total_pretax_credit_amounts across all invoice line items.
495
426
  */
@@ -518,40 +449,6 @@ export interface DeletedInvoice {
518
449
  deleted: true;
519
450
  }
520
451
  export declare namespace Invoice {
521
- interface AmountsDue {
522
- /**
523
- * Incremental amount due for this payment in cents (or local equivalent).
524
- */
525
- amount: number;
526
- /**
527
- * The amount in cents (or local equivalent) that was paid for this payment.
528
- */
529
- amount_paid: number;
530
- /**
531
- * The difference between the payment's amount and amount_paid, in cents (or local equivalent).
532
- */
533
- amount_remaining: number;
534
- /**
535
- * Number of days from when invoice is finalized until the payment is due.
536
- */
537
- days_until_due: number | null;
538
- /**
539
- * An arbitrary string attached to the object. Often useful for displaying to users.
540
- */
541
- description: string | null;
542
- /**
543
- * Date on which a payment plan's payment is due.
544
- */
545
- due_date: number | null;
546
- /**
547
- * Timestamp when the payment was paid.
548
- */
549
- paid_at: number | null;
550
- /**
551
- * The status of the payment, one of `open`, `paid`, or `past_due`
552
- */
553
- status: AmountsDue.Status;
554
- }
555
452
  interface AutomaticTax {
556
453
  /**
557
454
  * If Stripe disabled automatic tax, this enum describes why.
@@ -744,18 +641,10 @@ export declare namespace Invoice {
744
641
  type: LastFinalizationError.Type;
745
642
  }
746
643
  interface Parent {
747
- /**
748
- * Details about the billing cadence that generated this invoice
749
- */
750
- billing_cadence_details?: Parent.BillingCadenceDetails | null;
751
644
  /**
752
645
  * Details about the quote that generated this invoice
753
646
  */
754
647
  quote_details: Parent.QuoteDetails | null;
755
- /**
756
- * Details about the schedule that generated this invoice
757
- */
758
- schedule_details?: Parent.ScheduleDetails | null;
759
648
  /**
760
649
  * Details about the subscription that generated this invoice
761
650
  */
@@ -877,16 +766,6 @@ export declare namespace Invoice {
877
766
  */
878
767
  discount: string | Discount | DeletedDiscount;
879
768
  }
880
- interface TotalMarginAmount {
881
- /**
882
- * The amount, in cents (or local equivalent), of the reduction in line item amount.
883
- */
884
- amount: number;
885
- /**
886
- * The margin that was applied to get this margin amount.
887
- */
888
- margin: string | Margin;
889
- }
890
769
  interface TotalPretaxCreditAmount {
891
770
  /**
892
771
  * The amount, in cents (or local equivalent), of the pretax credit amount.
@@ -900,10 +779,6 @@ export declare namespace Invoice {
900
779
  * The discount that was applied to get this pretax credit amount.
901
780
  */
902
781
  discount?: string | Discount | DeletedDiscount;
903
- /**
904
- * The margin that was applied to get this pretax credit amount.
905
- */
906
- margin?: string | Margin;
907
782
  /**
908
783
  * Type of the pretax credit amount referenced.
909
784
  */
@@ -935,9 +810,6 @@ export declare namespace Invoice {
935
810
  */
936
811
  type: 'tax_rate_details';
937
812
  }
938
- namespace AmountsDue {
939
- type Status = 'open' | 'paid' | 'past_due';
940
- }
941
813
  namespace AutomaticTax {
942
814
  type DisabledReason = 'finalization_requires_location_inputs' | 'finalization_system_error';
943
815
  interface Liability {
@@ -952,52 +824,32 @@ export declare namespace Invoice {
952
824
  }
953
825
  type Status = 'complete' | 'failed' | 'requires_location_inputs';
954
826
  namespace Liability {
955
- type Type = 'account' | 'application' | 'self';
827
+ type Type = 'account' | 'self';
956
828
  }
957
829
  }
958
830
  namespace CustomerTaxId {
959
831
  type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'bf_ifu' | 'bg_uic' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'gb_vat' | 'ge_vat' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'unknown' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin';
960
832
  }
961
833
  namespace Issuer {
962
- type Type = 'account' | 'application' | 'self';
834
+ type Type = 'account' | 'self';
963
835
  }
964
836
  namespace LastFinalizationError {
965
- type Code = 'account_closed' | 'account_country_invalid_address' | 'account_error_country_change_requires_additional_steps' | 'account_information_mismatch' | 'account_invalid' | 'account_number_invalid' | 'account_token_required_for_v2_account' | 'acss_debit_session_incomplete' | 'action_blocked' | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' | 'authentication_required' | 'balance_insufficient' | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' | 'bank_account_restricted' | 'bank_account_unusable' | 'bank_account_unverified' | 'bank_account_verification_failed' | 'billing_invalid_mandate' | 'bitcoin_upgrade_required' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'card_declined' | 'cardholder_phone_number_required' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_exceeds_transaction_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'clearing_code_unsupported' | 'country_code_invalid' | 'country_unsupported' | 'coupon_expired' | 'customer_max_payment_methods' | 'customer_max_subscriptions' | 'customer_session_expired' | 'customer_tax_location_invalid' | 'debit_not_authorized' | 'email_invalid' | 'expired_card' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' | 'financial_connections_institution_unavailable' | 'financial_connections_no_successful_transaction_refresh' | 'forwarding_api_inactive' | 'forwarding_api_invalid_parameter' | 'forwarding_api_retryable_upstream_error' | 'forwarding_api_upstream_connection_error' | 'forwarding_api_upstream_connection_timeout' | 'forwarding_api_upstream_error' | 'idempotency_key_in_use' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_number' | 'incorrect_zip' | 'india_recurring_payment_mandate_canceled' | 'instant_payouts_config_disabled' | 'instant_payouts_currency_disabled' | 'instant_payouts_limit_exceeded' | 'instant_payouts_unsupported' | 'insufficient_funds' | 'intent_invalid_state' | 'intent_verification_method_missing' | 'invalid_card_type' | 'invalid_characters' | 'invalid_charge_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_mandate_reference_prefix_format' | 'invalid_number' | 'invalid_source_usage' | 'invalid_tax_location' | 'invoice_no_customer_line_items' | 'invoice_no_payment_method_types' | 'invoice_no_subscription_line_items' | 'invoice_not_editable' | 'invoice_on_behalf_of_not_editable' | 'invoice_payment_intent_requires_action' | 'invoice_upcoming_none' | 'livemode_mismatch' | 'lock_timeout' | 'missing' | 'no_account' | 'not_allowed_on_standard_account' | 'out_of_inventory' | 'ownership_declaration_not_allowed' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_invalid_parameter' | 'payment_intent_konbini_rejected_confirmation_number' | 'payment_intent_mandate_invalid' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_rate_limit_exceeded' | 'payment_intent_unexpected_state' | 'payment_method_bank_account_already_verified' | 'payment_method_bank_account_blocked' | 'payment_method_billing_details_address_missing' | 'payment_method_configuration_failures' | 'payment_method_currency_mismatch' | 'payment_method_customer_decline' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_microdeposit_failed' | 'payment_method_microdeposit_processing_error' | 'payment_method_microdeposit_verification_amounts_invalid' | 'payment_method_microdeposit_verification_amounts_mismatch' | 'payment_method_microdeposit_verification_attempts_exceeded' | 'payment_method_microdeposit_verification_descriptor_code_mismatch' | 'payment_method_microdeposit_verification_timeout' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' | 'platform_api_key_expired' | 'postal_code_invalid' | 'processing_error' | 'product_inactive' | 'progressive_onboarding_limit_exceeded' | 'rate_limit' | 'refer_to_customer' | 'refund_disputed_payment' | 'request_blocked' | 'resource_already_exists' | 'resource_missing' | 'return_intent_already_processed' | 'routing_number_invalid' | 'secret_key_required' | 'sensitive_data_access_expired' | 'sepa_unsupported_account' | 'service_period_coupon_with_metered_tiered_item_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_mandate_invalid' | 'setup_intent_mobile_wallet_unsupported' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state' | 'shipping_address_invalid' | 'shipping_calculation_failed' | 'siret_invalid' | 'sku_inactive' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | 'tax_id_invalid' | 'tax_id_prohibited' | 'taxes_calculation_failed' | 'terminal_location_country_unsupported' | 'terminal_reader_busy' | 'terminal_reader_collected_data_invalid' | 'terminal_reader_hardware_fault' | 'terminal_reader_invalid_location_for_activation' | 'terminal_reader_invalid_location_for_payment' | 'terminal_reader_offline' | 'terminal_reader_timeout' | 'testmode_charges_only' | 'tls_version_unsupported' | 'token_already_used' | 'token_card_network_invalid' | 'token_in_use' | 'transfer_source_balance_parameters_mismatch' | 'transfers_not_allowed' | 'url_invalid' | 'v2_account_disconnection_unsupported' | 'v2_account_missing_configuration';
837
+ type Code = 'account_closed' | 'account_country_invalid_address' | 'account_error_country_change_requires_additional_steps' | 'account_information_mismatch' | 'account_invalid' | 'account_number_invalid' | 'account_token_required_for_v2_account' | 'acss_debit_session_incomplete' | 'action_blocked' | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' | 'authentication_required' | 'balance_insufficient' | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' | 'bank_account_restricted' | 'bank_account_unusable' | 'bank_account_unverified' | 'bank_account_verification_failed' | 'billing_invalid_mandate' | 'bitcoin_upgrade_required' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'card_declined' | 'cardholder_phone_number_required' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_exceeds_transaction_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'clearing_code_unsupported' | 'country_code_invalid' | 'country_unsupported' | 'coupon_expired' | 'customer_max_payment_methods' | 'customer_max_subscriptions' | 'customer_session_expired' | 'customer_tax_location_invalid' | 'debit_not_authorized' | 'email_invalid' | 'expired_card' | 'failed_tax_calculation' | 'financial_account_balance_does_not_support_currency' | 'financial_account_capability_not_enabled' | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' | 'financial_connections_no_successful_transaction_refresh' | 'forwarding_api_inactive' | 'forwarding_api_invalid_parameter' | 'forwarding_api_retryable_upstream_error' | 'forwarding_api_upstream_connection_error' | 'forwarding_api_upstream_connection_timeout' | 'forwarding_api_upstream_error' | 'idempotency_key_in_use' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_number' | 'incorrect_zip' | 'india_recurring_payment_mandate_canceled' | 'instant_payouts_config_disabled' | 'instant_payouts_currency_disabled' | 'instant_payouts_limit_exceeded' | 'instant_payouts_unsupported' | 'insufficient_funds' | 'intent_invalid_state' | 'intent_verification_method_missing' | 'invalid_card_type' | 'invalid_characters' | 'invalid_charge_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_mandate_reference_prefix_format' | 'invalid_number' | 'invalid_source_usage' | 'invalid_tax_location' | 'invoice_no_customer_line_items' | 'invoice_no_payment_method_types' | 'invoice_no_subscription_line_items' | 'invoice_not_editable' | 'invoice_on_behalf_of_not_editable' | 'invoice_payment_intent_requires_action' | 'invoice_upcoming_none' | 'livemode_mismatch' | 'lock_timeout' | 'missing' | 'no_account' | 'not_allowed_on_standard_account' | 'out_of_inventory' | 'ownership_declaration_not_allowed' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_invalid_parameter' | 'payment_intent_konbini_rejected_confirmation_number' | 'payment_intent_mandate_invalid' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_rate_limit_exceeded' | 'payment_intent_unexpected_state' | 'payment_method_bank_account_already_verified' | 'payment_method_bank_account_blocked' | 'payment_method_billing_details_address_missing' | 'payment_method_configuration_failures' | 'payment_method_currency_mismatch' | 'payment_method_customer_decline' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_microdeposit_failed' | 'payment_method_microdeposit_processing_error' | 'payment_method_microdeposit_verification_amounts_invalid' | 'payment_method_microdeposit_verification_amounts_mismatch' | 'payment_method_microdeposit_verification_attempts_exceeded' | 'payment_method_microdeposit_verification_descriptor_code_mismatch' | 'payment_method_microdeposit_verification_timeout' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' | 'platform_api_key_expired' | 'postal_code_invalid' | 'processing_error' | 'product_inactive' | 'progressive_onboarding_limit_exceeded' | 'rate_limit' | 'refer_to_customer' | 'refund_disputed_payment' | 'request_blocked' | 'resource_already_exists' | 'resource_missing' | 'return_intent_already_processed' | 'routing_number_invalid' | 'secret_key_required' | 'sepa_unsupported_account' | 'service_period_coupon_with_metered_tiered_item_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_mandate_invalid' | 'setup_intent_mobile_wallet_unsupported' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state' | 'shipping_address_invalid' | 'shipping_calculation_failed' | 'siret_invalid' | 'sku_inactive' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | 'tax_id_invalid' | 'tax_id_prohibited' | 'taxes_calculation_failed' | 'terminal_location_country_unsupported' | 'terminal_reader_busy' | 'terminal_reader_hardware_fault' | 'terminal_reader_invalid_location_for_activation' | 'terminal_reader_invalid_location_for_payment' | 'terminal_reader_offline' | 'terminal_reader_timeout' | 'testmode_charges_only' | 'tls_version_unsupported' | 'token_already_used' | 'token_card_network_invalid' | 'token_in_use' | 'transfer_source_balance_parameters_mismatch' | 'transfers_not_allowed' | 'url_invalid';
966
838
  type Type = 'api_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error';
967
839
  }
968
840
  namespace Parent {
969
- interface BillingCadenceDetails {
970
- /**
971
- * The billing cadence that generated this invoice
972
- */
973
- billing_cadence: string;
974
- }
975
841
  interface QuoteDetails {
976
842
  /**
977
843
  * The quote that generated this invoice
978
844
  */
979
845
  quote: string;
980
846
  }
981
- interface ScheduleDetails {
982
- /**
983
- * The schedule that generated this invoice
984
- */
985
- schedule: string;
986
- /**
987
- * The subscription associated with this schedule
988
- */
989
- subscription: string | Subscription | null;
990
- }
991
847
  interface SubscriptionDetails {
992
848
  /**
993
849
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) defined as subscription metadata when an invoice is created. Becomes an immutable snapshot of the subscription metadata at the time of invoice finalization.
994
850
  * *Note: This attribute is populated only for invoices created on or after June 29, 2023.*
995
851
  */
996
852
  metadata: Metadata | null;
997
- /**
998
- * If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://docs.stripe.com/billing/subscriptions/pause-payment).
999
- */
1000
- pause_collection?: SubscriptionDetails.PauseCollection | null;
1001
853
  /**
1002
854
  * The subscription that generated this invoice
1003
855
  */
@@ -1007,22 +859,7 @@ export declare namespace Invoice {
1007
859
  */
1008
860
  subscription_proration_date?: number;
1009
861
  }
1010
- type Type = 'billing_cadence_details' | 'quote_details' | 'schedule_details' | 'subscription_details';
1011
- namespace SubscriptionDetails {
1012
- interface PauseCollection {
1013
- /**
1014
- * The payment collection behavior for this subscription while paused.
1015
- */
1016
- behavior: PauseCollection.Behavior | null;
1017
- /**
1018
- * The time after which the subscription will resume collecting payments.
1019
- */
1020
- resumes_at: number | null;
1021
- }
1022
- namespace PauseCollection {
1023
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
1024
- }
1025
- }
862
+ type Type = 'quote_details' | 'subscription_details';
1026
863
  }
1027
864
  namespace PaymentSettings {
1028
865
  interface PaymentMethodOptions {
@@ -1034,30 +871,14 @@ export declare namespace Invoice {
1034
871
  * If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
1035
872
  */
1036
873
  bancontact: PaymentMethodOptions.Bancontact | null;
1037
- /**
1038
- * If paying by `bizum`, this sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
1039
- */
1040
- bizum?: PaymentMethodOptions.Bizum | null;
1041
- /**
1042
- * If paying by `blik`, this sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
1043
- */
1044
- blik?: PaymentMethodOptions.Blik | null;
1045
874
  /**
1046
875
  * If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
1047
876
  */
1048
877
  card: PaymentMethodOptions.Card | null;
1049
- /**
1050
- * If paying by `check_scan`, this sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
1051
- */
1052
- check_scan?: PaymentMethodOptions.CheckScan | null;
1053
878
  /**
1054
879
  * If paying by `customer_balance`, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
1055
880
  */
1056
881
  customer_balance: PaymentMethodOptions.CustomerBalance | null;
1057
- /**
1058
- * If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
1059
- */
1060
- id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
1061
882
  /**
1062
883
  * If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
1063
884
  */
@@ -1082,12 +903,8 @@ export declare namespace Invoice {
1082
903
  * If paying by `us_bank_account`, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
1083
904
  */
1084
905
  us_bank_account: PaymentMethodOptions.UsBankAccount | null;
1085
- /**
1086
- * If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
1087
- */
1088
- wechat_pay?: PaymentMethodOptions.WechatPay | null;
1089
906
  }
1090
- type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'check_scan' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
907
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
1091
908
  namespace PaymentMethodOptions {
1092
909
  interface AcssDebit {
1093
910
  mandate_options?: AcssDebit.MandateOptions;
@@ -1102,10 +919,6 @@ export declare namespace Invoice {
1102
919
  */
1103
920
  preferred_language: Bancontact.PreferredLanguage;
1104
921
  }
1105
- interface Bizum {
1106
- }
1107
- interface Blik {
1108
- }
1109
922
  interface Card {
1110
923
  installments?: Card.Installments;
1111
924
  /**
@@ -1113,8 +926,6 @@ export declare namespace Invoice {
1113
926
  */
1114
927
  request_three_d_secure: Card.RequestThreeDSecure | null;
1115
928
  }
1116
- interface CheckScan {
1117
- }
1118
929
  interface CustomerBalance {
1119
930
  bank_transfer?: CustomerBalance.BankTransfer;
1120
931
  /**
@@ -1122,8 +933,6 @@ export declare namespace Invoice {
1122
933
  */
1123
934
  funding_type: 'bank_transfer' | null;
1124
935
  }
1125
- interface IdBankTransfer {
1126
- }
1127
936
  interface Konbini {
1128
937
  }
1129
938
  interface Payto {
@@ -1151,16 +960,6 @@ export declare namespace Invoice {
1151
960
  */
1152
961
  verification_method?: UsBankAccount.VerificationMethod;
1153
962
  }
1154
- interface WechatPay {
1155
- /**
1156
- * The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
1157
- */
1158
- app_id?: string;
1159
- /**
1160
- * The client type that the end customer will pay from.
1161
- */
1162
- client?: WechatPay.Client;
1163
- }
1164
963
  namespace AcssDebit {
1165
964
  interface MandateOptions {
1166
965
  /**
@@ -1270,21 +1069,14 @@ export declare namespace Invoice {
1270
1069
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
1271
1070
  */
1272
1071
  account_subcategories?: Array<Filters.AccountSubcategory>;
1273
- /**
1274
- * The institution to use to filter for possible accounts to link.
1275
- */
1276
- institution?: string;
1277
1072
  }
1278
1073
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
1279
- type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
1074
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
1280
1075
  namespace Filters {
1281
1076
  type AccountSubcategory = 'checking' | 'savings';
1282
1077
  }
1283
1078
  }
1284
1079
  }
1285
- namespace WechatPay {
1286
- type Client = 'android' | 'ios' | 'mobile_web' | 'web';
1287
- }
1288
1080
  }
1289
1081
  }
1290
1082
  namespace Rendering {
@@ -1336,7 +1128,7 @@ export declare namespace Invoice {
1336
1128
  }
1337
1129
  }
1338
1130
  namespace TotalPretaxCreditAmount {
1339
- type Type = 'credit_balance_transaction' | 'discount' | 'margin';
1131
+ type Type = 'credit_balance_transaction' | 'discount';
1340
1132
  }
1341
1133
  namespace TotalTax {
1342
1134
  type TaxBehavior = 'exclusive' | 'inclusive';
@@ -1344,7 +1136,7 @@ export declare namespace Invoice {
1344
1136
  /**
1345
1137
  * ID of the tax rate
1346
1138
  */
1347
- tax_rate: string | TaxRate;
1139
+ tax_rate: string;
1348
1140
  }
1349
1141
  type TaxabilityReason = 'customer_exempt' | 'not_available' | 'not_collecting' | 'not_subject_to_tax' | 'not_supported' | 'portion_product_exempt' | 'portion_reduced_rated' | 'portion_standard_rated' | 'product_exempt' | 'product_exempt_holiday' | 'proportionally_rated' | 'reduced_rated' | 'reverse_charge' | 'standard_rated' | 'taxable_basis_reduced' | 'zero_rated';
1350
1142
  }
@@ -1354,10 +1146,6 @@ export interface InvoiceCreateParams {
1354
1146
  * The account tax IDs associated with the invoice. Only editable when the invoice is a draft.
1355
1147
  */
1356
1148
  account_tax_ids?: Emptyable<Array<string>>;
1357
- /**
1358
- * List of expected payments and corresponding due dates. Valid only for invoices where `collection_method=send_invoice`.
1359
- */
1360
- amounts_due?: Emptyable<Array<InvoiceCreateParams.AmountsDue>>;
1361
1149
  /**
1362
1150
  * A fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://docs.stripe.com/billing/invoices/connect#collecting-fees).
1363
1151
  */
@@ -1398,10 +1186,6 @@ export interface InvoiceCreateParams {
1398
1186
  * The number of days from when the invoice is created until it is due. Valid only for invoices where `collection_method=send_invoice`.
1399
1187
  */
1400
1188
  days_until_due?: number;
1401
- /**
1402
- * The ids of the margins to apply to the invoice. Can be overridden by line item `margins`.
1403
- */
1404
- default_margins?: Array<string>;
1405
1189
  /**
1406
1190
  * ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings.
1407
1191
  */
@@ -1492,24 +1276,6 @@ export interface InvoiceCreateParams {
1492
1276
  transfer_data?: InvoiceCreateParams.TransferData;
1493
1277
  }
1494
1278
  export declare namespace InvoiceCreateParams {
1495
- interface AmountsDue {
1496
- /**
1497
- * The amount in cents (or local equivalent).
1498
- */
1499
- amount: number;
1500
- /**
1501
- * Number of days from when invoice is finalized until the payment is due.
1502
- */
1503
- days_until_due?: number;
1504
- /**
1505
- * An arbitrary string attached to the object. Often useful for displaying to users.
1506
- */
1507
- description: string;
1508
- /**
1509
- * Date on which a payment plan's payment is due.
1510
- */
1511
- due_date?: number;
1512
- }
1513
1279
  interface AutomaticTax {
1514
1280
  /**
1515
1281
  * Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://docs.stripe.com/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices.
@@ -1540,10 +1306,6 @@ export declare namespace InvoiceCreateParams {
1540
1306
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1541
1307
  */
1542
1308
  discount?: string;
1543
- /**
1544
- * Details to determine how long the discount should be applied for.
1545
- */
1546
- discount_end?: Discount.DiscountEnd;
1547
1309
  /**
1548
1310
  * ID of the promotion code to create a new discount for.
1549
1311
  */
@@ -1648,43 +1410,11 @@ export declare namespace InvoiceCreateParams {
1648
1410
  type: Liability.Type;
1649
1411
  }
1650
1412
  namespace Liability {
1651
- type Type = 'account' | 'application' | 'self';
1652
- }
1653
- }
1654
- namespace Discount {
1655
- interface DiscountEnd {
1656
- /**
1657
- * Time span for the redeemed discount.
1658
- */
1659
- duration?: DiscountEnd.Duration;
1660
- /**
1661
- * A precise Unix timestamp for the discount to end. Must be in the future.
1662
- */
1663
- timestamp?: number;
1664
- /**
1665
- * The type of calculation made to determine when the discount ends.
1666
- */
1667
- type: DiscountEnd.Type;
1668
- }
1669
- namespace DiscountEnd {
1670
- interface Duration {
1671
- /**
1672
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1673
- */
1674
- interval: Duration.Interval;
1675
- /**
1676
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1677
- */
1678
- interval_count: number;
1679
- }
1680
- type Type = 'duration' | 'timestamp';
1681
- namespace Duration {
1682
- type Interval = 'day' | 'month' | 'week' | 'year';
1683
- }
1413
+ type Type = 'account' | 'self';
1684
1414
  }
1685
1415
  }
1686
1416
  namespace Issuer {
1687
- type Type = 'account' | 'application' | 'self';
1417
+ type Type = 'account' | 'self';
1688
1418
  }
1689
1419
  namespace PaymentSettings {
1690
1420
  interface PaymentMethodOptions {
@@ -1696,30 +1426,14 @@ export declare namespace InvoiceCreateParams {
1696
1426
  * If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
1697
1427
  */
1698
1428
  bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
1699
- /**
1700
- * If paying by `bizum`, this sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
1701
- */
1702
- bizum?: Emptyable<PaymentMethodOptions.Bizum>;
1703
- /**
1704
- * If paying by `blik`, this sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
1705
- */
1706
- blik?: Emptyable<PaymentMethodOptions.Blik>;
1707
1429
  /**
1708
1430
  * If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
1709
1431
  */
1710
1432
  card?: Emptyable<PaymentMethodOptions.Card>;
1711
- /**
1712
- * If paying by `check_scan`, this sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
1713
- */
1714
- check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
1715
1433
  /**
1716
1434
  * If paying by `customer_balance`, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
1717
1435
  */
1718
1436
  customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
1719
- /**
1720
- * If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
1721
- */
1722
- id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
1723
1437
  /**
1724
1438
  * If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
1725
1439
  */
@@ -1744,12 +1458,8 @@ export declare namespace InvoiceCreateParams {
1744
1458
  * If paying by `us_bank_account`, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
1745
1459
  */
1746
1460
  us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
1747
- /**
1748
- * If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
1749
- */
1750
- wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
1751
1461
  }
1752
- type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'check_scan' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
1462
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
1753
1463
  namespace PaymentMethodOptions {
1754
1464
  interface AcssDebit {
1755
1465
  /**
@@ -1767,10 +1477,6 @@ export declare namespace InvoiceCreateParams {
1767
1477
  */
1768
1478
  preferred_language?: Bancontact.PreferredLanguage;
1769
1479
  }
1770
- interface Bizum {
1771
- }
1772
- interface Blik {
1773
- }
1774
1480
  interface Card {
1775
1481
  /**
1776
1482
  * Installment configuration for payments attempted on this invoice.
@@ -1783,8 +1489,6 @@ export declare namespace InvoiceCreateParams {
1783
1489
  */
1784
1490
  request_three_d_secure?: Card.RequestThreeDSecure;
1785
1491
  }
1786
- interface CheckScan {
1787
- }
1788
1492
  interface CustomerBalance {
1789
1493
  /**
1790
1494
  * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
@@ -1795,8 +1499,6 @@ export declare namespace InvoiceCreateParams {
1795
1499
  */
1796
1500
  funding_type?: string;
1797
1501
  }
1798
- interface IdBankTransfer {
1799
- }
1800
1502
  interface Konbini {
1801
1503
  }
1802
1504
  interface Payto {
@@ -1833,16 +1535,6 @@ export declare namespace InvoiceCreateParams {
1833
1535
  */
1834
1536
  verification_method?: UsBankAccount.VerificationMethod;
1835
1537
  }
1836
- interface WechatPay {
1837
- /**
1838
- * The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
1839
- */
1840
- app_id?: string;
1841
- /**
1842
- * The client type that the end customer will pay from.
1843
- */
1844
- client?: WechatPay.Client;
1845
- }
1846
1538
  namespace AcssDebit {
1847
1539
  interface MandateOptions {
1848
1540
  /**
@@ -1975,21 +1667,14 @@ export declare namespace InvoiceCreateParams {
1975
1667
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1976
1668
  */
1977
1669
  account_subcategories?: Array<Filters.AccountSubcategory>;
1978
- /**
1979
- * ID of the institution to use to filter for selectable accounts.
1980
- */
1981
- institution?: string;
1982
1670
  }
1983
1671
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
1984
- type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
1672
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
1985
1673
  namespace Filters {
1986
1674
  type AccountSubcategory = 'checking' | 'savings';
1987
1675
  }
1988
1676
  }
1989
1677
  }
1990
- namespace WechatPay {
1991
- type Client = 'android' | 'ios' | 'mobile_web' | 'web';
1992
- }
1993
1678
  }
1994
1679
  }
1995
1680
  namespace Rendering {
@@ -2122,10 +1807,6 @@ export interface InvoiceUpdateParams {
2122
1807
  * The account tax IDs associated with the invoice. Only editable when the invoice is a draft.
2123
1808
  */
2124
1809
  account_tax_ids?: Emptyable<Array<string>>;
2125
- /**
2126
- * List of expected payments and corresponding due dates. Valid only for invoices where `collection_method=send_invoice`.
2127
- */
2128
- amounts_due?: Emptyable<Array<InvoiceUpdateParams.AmountsDue>>;
2129
1810
  /**
2130
1811
  * A fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://docs.stripe.com/billing/invoices/connect#collecting-fees).
2131
1812
  */
@@ -2154,10 +1835,6 @@ export interface InvoiceUpdateParams {
2154
1835
  * The number of days from which the invoice is created until it is due. Only valid for invoices where `collection_method=send_invoice`. This field can only be updated on `draft` invoices.
2155
1836
  */
2156
1837
  days_until_due?: number;
2157
- /**
2158
- * The ids of the margins to apply to the invoice. Can be overridden by line item `margins`.
2159
- */
2160
- default_margins?: Emptyable<Array<string>>;
2161
1838
  /**
2162
1839
  * ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings.
2163
1840
  */
@@ -2236,24 +1913,6 @@ export interface InvoiceUpdateParams {
2236
1913
  transfer_data?: Emptyable<InvoiceUpdateParams.TransferData>;
2237
1914
  }
2238
1915
  export declare namespace InvoiceUpdateParams {
2239
- interface AmountsDue {
2240
- /**
2241
- * The amount in cents (or local equivalent).
2242
- */
2243
- amount: number;
2244
- /**
2245
- * Number of days from when invoice is finalized until the payment is due.
2246
- */
2247
- days_until_due?: number;
2248
- /**
2249
- * An arbitrary string attached to the object. Often useful for displaying to users.
2250
- */
2251
- description: string;
2252
- /**
2253
- * Date on which a payment plan's payment is due.
2254
- */
2255
- due_date?: number;
2256
- }
2257
1916
  interface AutomaticTax {
2258
1917
  /**
2259
1918
  * Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://docs.stripe.com/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices.
@@ -2284,10 +1943,6 @@ export declare namespace InvoiceUpdateParams {
2284
1943
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2285
1944
  */
2286
1945
  discount?: string;
2287
- /**
2288
- * Details to determine how long the discount should be applied for.
2289
- */
2290
- discount_end?: Discount.DiscountEnd;
2291
1946
  /**
2292
1947
  * ID of the promotion code to create a new discount for.
2293
1948
  */
@@ -2381,43 +2036,11 @@ export declare namespace InvoiceUpdateParams {
2381
2036
  type: Liability.Type;
2382
2037
  }
2383
2038
  namespace Liability {
2384
- type Type = 'account' | 'application' | 'self';
2385
- }
2386
- }
2387
- namespace Discount {
2388
- interface DiscountEnd {
2389
- /**
2390
- * Time span for the redeemed discount.
2391
- */
2392
- duration?: DiscountEnd.Duration;
2393
- /**
2394
- * A precise Unix timestamp for the discount to end. Must be in the future.
2395
- */
2396
- timestamp?: number;
2397
- /**
2398
- * The type of calculation made to determine when the discount ends.
2399
- */
2400
- type: DiscountEnd.Type;
2401
- }
2402
- namespace DiscountEnd {
2403
- interface Duration {
2404
- /**
2405
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2406
- */
2407
- interval: Duration.Interval;
2408
- /**
2409
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2410
- */
2411
- interval_count: number;
2412
- }
2413
- type Type = 'duration' | 'timestamp';
2414
- namespace Duration {
2415
- type Interval = 'day' | 'month' | 'week' | 'year';
2416
- }
2039
+ type Type = 'account' | 'self';
2417
2040
  }
2418
2041
  }
2419
2042
  namespace Issuer {
2420
- type Type = 'account' | 'application' | 'self';
2043
+ type Type = 'account' | 'self';
2421
2044
  }
2422
2045
  namespace PaymentSettings {
2423
2046
  interface PaymentMethodOptions {
@@ -2429,30 +2052,14 @@ export declare namespace InvoiceUpdateParams {
2429
2052
  * If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
2430
2053
  */
2431
2054
  bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
2432
- /**
2433
- * If paying by `bizum`, this sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
2434
- */
2435
- bizum?: Emptyable<PaymentMethodOptions.Bizum>;
2436
- /**
2437
- * If paying by `blik`, this sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
2438
- */
2439
- blik?: Emptyable<PaymentMethodOptions.Blik>;
2440
2055
  /**
2441
2056
  * If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
2442
2057
  */
2443
2058
  card?: Emptyable<PaymentMethodOptions.Card>;
2444
- /**
2445
- * If paying by `check_scan`, this sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
2446
- */
2447
- check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
2448
2059
  /**
2449
2060
  * If paying by `customer_balance`, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice's PaymentIntent.
2450
2061
  */
2451
2062
  customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
2452
- /**
2453
- * If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
2454
- */
2455
- id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
2456
2063
  /**
2457
2064
  * If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
2458
2065
  */
@@ -2477,12 +2084,8 @@ export declare namespace InvoiceUpdateParams {
2477
2084
  * If paying by `us_bank_account`, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
2478
2085
  */
2479
2086
  us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
2480
- /**
2481
- * If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
2482
- */
2483
- wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
2484
2087
  }
2485
- type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'check_scan' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
2088
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay';
2486
2089
  namespace PaymentMethodOptions {
2487
2090
  interface AcssDebit {
2488
2091
  /**
@@ -2500,10 +2103,6 @@ export declare namespace InvoiceUpdateParams {
2500
2103
  */
2501
2104
  preferred_language?: Bancontact.PreferredLanguage;
2502
2105
  }
2503
- interface Bizum {
2504
- }
2505
- interface Blik {
2506
- }
2507
2106
  interface Card {
2508
2107
  /**
2509
2108
  * Installment configuration for payments attempted on this invoice.
@@ -2516,8 +2115,6 @@ export declare namespace InvoiceUpdateParams {
2516
2115
  */
2517
2116
  request_three_d_secure?: Card.RequestThreeDSecure;
2518
2117
  }
2519
- interface CheckScan {
2520
- }
2521
2118
  interface CustomerBalance {
2522
2119
  /**
2523
2120
  * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
@@ -2528,8 +2125,6 @@ export declare namespace InvoiceUpdateParams {
2528
2125
  */
2529
2126
  funding_type?: string;
2530
2127
  }
2531
- interface IdBankTransfer {
2532
- }
2533
2128
  interface Konbini {
2534
2129
  }
2535
2130
  interface Payto {
@@ -2566,16 +2161,6 @@ export declare namespace InvoiceUpdateParams {
2566
2161
  */
2567
2162
  verification_method?: UsBankAccount.VerificationMethod;
2568
2163
  }
2569
- interface WechatPay {
2570
- /**
2571
- * The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
2572
- */
2573
- app_id?: string;
2574
- /**
2575
- * The client type that the end customer will pay from.
2576
- */
2577
- client?: WechatPay.Client;
2578
- }
2579
2164
  namespace AcssDebit {
2580
2165
  interface MandateOptions {
2581
2166
  /**
@@ -2708,21 +2293,14 @@ export declare namespace InvoiceUpdateParams {
2708
2293
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2709
2294
  */
2710
2295
  account_subcategories?: Array<Filters.AccountSubcategory>;
2711
- /**
2712
- * ID of the institution to use to filter for selectable accounts.
2713
- */
2714
- institution?: string;
2715
2296
  }
2716
2297
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
2717
- type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
2298
+ type Prefetch = 'balances' | 'ownership' | 'transactions';
2718
2299
  namespace Filters {
2719
2300
  type AccountSubcategory = 'checking' | 'savings';
2720
2301
  }
2721
2302
  }
2722
2303
  }
2723
- namespace WechatPay {
2724
- type Client = 'android' | 'ios' | 'mobile_web' | 'web';
2725
- }
2726
2304
  }
2727
2305
  }
2728
2306
  namespace Rendering {
@@ -2845,10 +2423,6 @@ export declare namespace InvoiceUpdateParams {
2845
2423
  }
2846
2424
  }
2847
2425
  export interface InvoiceListParams extends PaginationParams {
2848
- /**
2849
- * Only return invoices for the cadence specified by this billing cadence ID.
2850
- */
2851
- billing_cadence?: string;
2852
2426
  /**
2853
2427
  * The collection method of the invoice to retrieve. Either `charge_automatically` or `send_invoice`.
2854
2428
  */
@@ -2923,10 +2497,6 @@ export declare namespace InvoiceAddLinesParams {
2923
2497
  * ID of an unassigned invoice item to assign to this invoice. If not provided, a new item will be created.
2924
2498
  */
2925
2499
  invoice_item?: string;
2926
- /**
2927
- * The IDs of the margins to apply to the line item. When set, the `default_margins` on the invoice do not apply to this line item.
2928
- */
2929
- margins?: Emptyable<Array<string>>;
2930
2500
  /**
2931
2501
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2932
2502
  */
@@ -2952,7 +2522,7 @@ export declare namespace InvoiceAddLinesParams {
2952
2522
  */
2953
2523
  quantity_decimal?: Decimal;
2954
2524
  /**
2955
- * A list of up to 10 tax amounts for this line item. This can be useful if you calculate taxes on your own or use a third-party to calculate them. You cannot set tax amounts if any line item has [tax_rates](https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://docs.stripe.com/tax/invoicing). Pass an empty string to remove previously defined tax amounts.
2525
+ * A list of up to 20 tax amounts for this line item. This can be useful if you calculate taxes on your own or use a third-party to calculate them. You cannot set tax amounts if any line item has [tax_rates](https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://docs.stripe.com/tax/invoicing). Pass an empty string to remove previously defined tax amounts.
2956
2526
  */
2957
2527
  tax_amounts?: Emptyable<Array<Line.TaxAmount>>;
2958
2528
  /**
@@ -2970,10 +2540,6 @@ export declare namespace InvoiceAddLinesParams {
2970
2540
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2971
2541
  */
2972
2542
  discount?: string;
2973
- /**
2974
- * Details to determine how long the discount should be applied for.
2975
- */
2976
- discount_end?: Discount.DiscountEnd;
2977
2543
  /**
2978
2544
  * ID of the promotion code to create a new discount for.
2979
2545
  */
@@ -3041,38 +2607,6 @@ export declare namespace InvoiceAddLinesParams {
3041
2607
  */
3042
2608
  taxable_amount: number;
3043
2609
  }
3044
- namespace Discount {
3045
- interface DiscountEnd {
3046
- /**
3047
- * Time span for the redeemed discount.
3048
- */
3049
- duration?: DiscountEnd.Duration;
3050
- /**
3051
- * A precise Unix timestamp for the discount to end. Must be in the future.
3052
- */
3053
- timestamp?: number;
3054
- /**
3055
- * The type of calculation made to determine when the discount ends.
3056
- */
3057
- type: DiscountEnd.Type;
3058
- }
3059
- namespace DiscountEnd {
3060
- interface Duration {
3061
- /**
3062
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3063
- */
3064
- interval: Duration.Interval;
3065
- /**
3066
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3067
- */
3068
- interval_count: number;
3069
- }
3070
- type Type = 'duration' | 'timestamp';
3071
- namespace Duration {
3072
- type Interval = 'day' | 'month' | 'week' | 'year';
3073
- }
3074
- }
3075
- }
3076
2610
  namespace PriceData {
3077
2611
  interface ProductData {
3078
2612
  /**
@@ -3095,28 +2629,12 @@ export declare namespace InvoiceAddLinesParams {
3095
2629
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
3096
2630
  */
3097
2631
  tax_code?: string;
3098
- /**
3099
- * Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
3100
- */
3101
- tax_details?: ProductData.TaxDetails;
3102
2632
  /**
3103
2633
  * A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
3104
2634
  */
3105
2635
  unit_label?: string;
3106
2636
  }
3107
2637
  type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
3108
- namespace ProductData {
3109
- interface TaxDetails {
3110
- /**
3111
- * A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
3112
- */
3113
- performance_location?: string;
3114
- /**
3115
- * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
3116
- */
3117
- tax_code?: Emptyable<string>;
3118
- }
3119
- }
3120
2638
  }
3121
2639
  namespace TaxAmount {
3122
2640
  interface TaxRateData {
@@ -3166,10 +2684,6 @@ export declare namespace InvoiceAddLinesParams {
3166
2684
  }
3167
2685
  }
3168
2686
  export interface InvoiceAttachPaymentParams {
3169
- /**
3170
- * The portion of the `amount` on the PaymentIntent or out of band payment to apply to this invoice. It defaults to the entire amount.
3171
- */
3172
- amount_requested?: number;
3173
2687
  /**
3174
2688
  * Specifies which fields in the response should be expanded.
3175
2689
  */
@@ -3182,48 +2696,12 @@ export interface InvoiceAttachPaymentParams {
3182
2696
  * The ID of the PaymentRecord to attach to the invoice.
3183
2697
  */
3184
2698
  payment_record?: string;
3185
- /**
3186
- * The PaymentRecord data for attaching an out of band payment to the invoice.
3187
- */
3188
- payment_record_data?: InvoiceAttachPaymentParams.PaymentRecordData;
3189
- }
3190
- export declare namespace InvoiceAttachPaymentParams {
3191
- interface PaymentRecordData {
3192
- /**
3193
- * The amount that was paid out of band.
3194
- */
3195
- amount: number;
3196
- /**
3197
- * The currency that was paid out of band.
3198
- */
3199
- currency: string;
3200
- /**
3201
- * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
3202
- */
3203
- metadata?: Emptyable<MetadataParam>;
3204
- /**
3205
- * The type of money movement for this out of band payment record.
3206
- */
3207
- money_movement_type: string;
3208
- /**
3209
- * The timestamp when this out of band payment was paid.
3210
- */
3211
- paid_at?: number;
3212
- /**
3213
- * The reference for this out of band payment record.
3214
- */
3215
- payment_reference?: string;
3216
- }
3217
2699
  }
3218
2700
  export interface InvoiceCreatePreviewParams {
3219
2701
  /**
3220
2702
  * Settings for automatic tax lookup for this invoice preview.
3221
2703
  */
3222
2704
  automatic_tax?: InvoiceCreatePreviewParams.AutomaticTax;
3223
- /**
3224
- * The identifier of the billing cadence for which you'd like to retrieve the upcoming invoice. Cannot be provided when `subscription`, `schedule`, `subscription_details` or `schedule_details` are provided.
3225
- */
3226
- billing_cadence?: string;
3227
2705
  /**
3228
2706
  * The currency to preview this invoice in. Defaults to that of `customer` if not specified.
3229
2707
  */
@@ -3323,18 +2801,10 @@ export declare namespace InvoiceCreatePreviewParams {
3323
2801
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
3324
2802
  */
3325
2803
  discount?: string;
3326
- /**
3327
- * Details to determine how long the discount should be applied for.
3328
- */
3329
- discount_end?: Discount.DiscountEnd;
3330
2804
  /**
3331
2805
  * ID of the promotion code to create a new discount for.
3332
2806
  */
3333
2807
  promotion_code?: string;
3334
- /**
3335
- * Settings for discount application including service period anchoring.
3336
- */
3337
- settings?: Discount.Settings;
3338
2808
  }
3339
2809
  interface InvoiceItem {
3340
2810
  /**
@@ -3418,26 +2888,10 @@ export declare namespace InvoiceCreatePreviewParams {
3418
2888
  }
3419
2889
  type PreviewMode = 'next' | 'recurring';
3420
2890
  interface ScheduleDetails {
3421
- /**
3422
- * Changes to apply to the phases of the subscription schedule, in the order provided.
3423
- */
3424
- amendments?: Array<ScheduleDetails.Amendment>;
3425
- /**
3426
- * Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
3427
- */
3428
- billing_behavior?: ScheduleDetails.BillingBehavior;
3429
2891
  /**
3430
2892
  * Controls how prorations and invoices for subscriptions are calculated and orchestrated.
3431
2893
  */
3432
2894
  billing_mode?: ScheduleDetails.BillingMode;
3433
- /**
3434
- * Sets the billing schedules for the subscription schedule.
3435
- */
3436
- billing_schedules?: Emptyable<Array<ScheduleDetails.BillingSchedule>>;
3437
- /**
3438
- * Object representing the subscription schedule's default settings.
3439
- */
3440
- default_settings?: ScheduleDetails.DefaultSettings;
3441
2895
  /**
3442
2896
  * Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.
3443
2897
  */
@@ -3446,10 +2900,6 @@ export declare namespace InvoiceCreatePreviewParams {
3446
2900
  * List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase.
3447
2901
  */
3448
2902
  phases?: Array<ScheduleDetails.Phase>;
3449
- /**
3450
- * Provide any time periods to bill in advance.
3451
- */
3452
- prebilling?: Emptyable<Array<ScheduleDetails.Prebilling>>;
3453
2903
  /**
3454
2904
  * In cases where the `schedule_details` params update the currently active phase, specifies if and how to prorate at the time of the request.
3455
2905
  */
@@ -3488,10 +2938,6 @@ export declare namespace InvoiceCreatePreviewParams {
3488
2938
  * A list of up to 20 subscription items, each with an attached price.
3489
2939
  */
3490
2940
  items?: Array<SubscriptionDetails.Item>;
3491
- /**
3492
- * The pre-billing to apply to the subscription as a preview.
3493
- */
3494
- prebilling?: SubscriptionDetails.Prebilling;
3495
2941
  /**
3496
2942
  * Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
3497
2943
  */
@@ -3525,7 +2971,7 @@ export declare namespace InvoiceCreatePreviewParams {
3525
2971
  type: Liability.Type;
3526
2972
  }
3527
2973
  namespace Liability {
3528
- type Type = 'account' | 'application' | 'self';
2974
+ type Type = 'account' | 'self';
3529
2975
  }
3530
2976
  }
3531
2977
  namespace CustomerDetails {
@@ -3564,86 +3010,6 @@ export declare namespace InvoiceCreatePreviewParams {
3564
3010
  type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'bf_ifu' | 'bg_uic' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'gb_vat' | 'ge_vat' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin';
3565
3011
  }
3566
3012
  }
3567
- namespace Discount {
3568
- interface DiscountEnd {
3569
- /**
3570
- * Time span for the redeemed discount.
3571
- */
3572
- duration?: DiscountEnd.Duration;
3573
- /**
3574
- * A precise Unix timestamp for the discount to end. Must be in the future.
3575
- */
3576
- timestamp?: number;
3577
- /**
3578
- * The type of calculation made to determine when the discount ends.
3579
- */
3580
- type: DiscountEnd.Type;
3581
- }
3582
- interface Settings {
3583
- /**
3584
- * Configures service period cycle anchoring.
3585
- */
3586
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3587
- /**
3588
- * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
3589
- */
3590
- start_date?: Settings.StartDate;
3591
- }
3592
- namespace DiscountEnd {
3593
- interface Duration {
3594
- /**
3595
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3596
- */
3597
- interval: Duration.Interval;
3598
- /**
3599
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3600
- */
3601
- interval_count: number;
3602
- }
3603
- type Type = 'duration' | 'timestamp';
3604
- namespace Duration {
3605
- type Interval = 'day' | 'month' | 'week' | 'year';
3606
- }
3607
- }
3608
- namespace Settings {
3609
- interface ServicePeriodAnchorConfig {
3610
- /**
3611
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3612
- */
3613
- custom?: ServicePeriodAnchorConfig.Custom;
3614
- /**
3615
- * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
3616
- */
3617
- type?: ServicePeriodAnchorConfig.Type;
3618
- }
3619
- type StartDate = 'current_period_end' | 'current_period_start' | 'now';
3620
- namespace ServicePeriodAnchorConfig {
3621
- interface Custom {
3622
- /**
3623
- * The day of the month the anchor should be. Ranges from 1 to 31.
3624
- */
3625
- day_of_month: number;
3626
- /**
3627
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3628
- */
3629
- hour?: number;
3630
- /**
3631
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3632
- */
3633
- minute?: number;
3634
- /**
3635
- * The month to start full cycle periods. Ranges from 1 to 12.
3636
- */
3637
- month?: number;
3638
- /**
3639
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3640
- */
3641
- second?: number;
3642
- }
3643
- type Type = 'custom' | 'subscription_service_cycle_anchor';
3644
- }
3645
- }
3646
- }
3647
3013
  namespace InvoiceItem {
3648
3014
  interface Discount {
3649
3015
  /**
@@ -3654,10 +3020,6 @@ export declare namespace InvoiceCreatePreviewParams {
3654
3020
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
3655
3021
  */
3656
3022
  discount?: string;
3657
- /**
3658
- * Details to determine how long the discount should be applied for.
3659
- */
3660
- discount_end?: Discount.DiscountEnd;
3661
3023
  /**
3662
3024
  * ID of the promotion code to create a new discount for.
3663
3025
  */
@@ -3696,97 +3058,14 @@ export declare namespace InvoiceCreatePreviewParams {
3696
3058
  unit_amount_decimal?: Decimal;
3697
3059
  }
3698
3060
  type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
3699
- namespace Discount {
3700
- interface DiscountEnd {
3701
- /**
3702
- * Time span for the redeemed discount.
3703
- */
3704
- duration?: DiscountEnd.Duration;
3705
- /**
3706
- * A precise Unix timestamp for the discount to end. Must be in the future.
3707
- */
3708
- timestamp?: number;
3709
- /**
3710
- * The type of calculation made to determine when the discount ends.
3711
- */
3712
- type: DiscountEnd.Type;
3713
- }
3714
- namespace DiscountEnd {
3715
- interface Duration {
3716
- /**
3717
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3718
- */
3719
- interval: Duration.Interval;
3720
- /**
3721
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3722
- */
3723
- interval_count: number;
3724
- }
3725
- type Type = 'duration' | 'timestamp';
3726
- namespace Duration {
3727
- type Interval = 'day' | 'month' | 'week' | 'year';
3728
- }
3729
- }
3730
- }
3731
3061
  namespace PriceData {
3732
3062
  type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
3733
3063
  }
3734
3064
  }
3735
3065
  namespace Issuer {
3736
- type Type = 'account' | 'application' | 'self';
3066
+ type Type = 'account' | 'self';
3737
3067
  }
3738
3068
  namespace ScheduleDetails {
3739
- interface Amendment {
3740
- /**
3741
- * Details to identify the end of the time range modified by the proposed change. If not supplied, the amendment is considered a point-in-time operation that only affects the exact timestamp at `amendment_start`, and a restricted set of attributes is supported on the amendment.
3742
- */
3743
- amendment_end?: Amendment.AmendmentEnd;
3744
- /**
3745
- * Details to identify the earliest timestamp where the proposed change should take effect.
3746
- */
3747
- amendment_start: Amendment.AmendmentStart;
3748
- /**
3749
- * For point-in-time amendments (having no `amendment_end`), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the `amendment_start` timestamp.For time-span based amendments (having both `amendment_start` and `amendment_end`), the only value valid is `automatic`, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.
3750
- */
3751
- billing_cycle_anchor?: Amendment.BillingCycleAnchor;
3752
- /**
3753
- * Actions to apply to the billing schedules.
3754
- */
3755
- billing_schedules_actions?: Array<Amendment.BillingSchedulesAction>;
3756
- /**
3757
- * Changes to the coupons being redeemed or discounts being applied during the amendment time span.
3758
- */
3759
- discount_actions?: Array<Amendment.DiscountAction>;
3760
- /**
3761
- * Configures how the subscription schedule handles billing for phase transitions.
3762
- */
3763
- effective_at?: Amendment.EffectiveAt;
3764
- /**
3765
- * Changes to the subscription items during the amendment time span.
3766
- */
3767
- item_actions?: Array<Amendment.ItemAction>;
3768
- /**
3769
- * Instructions for how to modify phase metadata
3770
- */
3771
- metadata_actions?: Array<Amendment.MetadataAction>;
3772
- /**
3773
- * Changes to how Stripe handles prorations during the amendment time span. Affects if and how prorations are created when a future phase starts. In cases where the amendment changes the currently active phase, it is used to determine whether or how to prorate now, at the time of the request. Also supported as a point-in-time operation when `amendment_end` is `null`.
3774
- */
3775
- proration_behavior?: Amendment.ProrationBehavior;
3776
- /**
3777
- * Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
3778
- */
3779
- set_pause_collection?: Amendment.SetPauseCollection;
3780
- /**
3781
- * Ends the subscription schedule early as dictated by either the accompanying amendment's start or end.
3782
- */
3783
- set_schedule_end?: Amendment.SetScheduleEnd;
3784
- /**
3785
- * Settings related to subscription trials.
3786
- */
3787
- trial_settings?: Amendment.TrialSettings;
3788
- }
3789
- type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front';
3790
3069
  interface BillingMode {
3791
3070
  /**
3792
3071
  * Configure behavior for flexible billing mode.
@@ -3797,26 +3076,6 @@ export declare namespace InvoiceCreatePreviewParams {
3797
3076
  */
3798
3077
  type: BillingMode.Type;
3799
3078
  }
3800
- interface BillingSchedule {
3801
- /**
3802
- * Configure billing schedule differently for individual subscription items.
3803
- */
3804
- applies_to?: Array<BillingSchedule.AppliesTo>;
3805
- /**
3806
- * The end date for the billing schedule.
3807
- */
3808
- bill_until?: BillingSchedule.BillUntil;
3809
- /**
3810
- * Specify a key for the billing schedule. Must be unique to this field, alphanumeric, and up to 200 characters. If not provided, a unique key will be generated.
3811
- */
3812
- key?: string;
3813
- }
3814
- interface DefaultSettings {
3815
- /**
3816
- * Configures how the subscription schedule handles billing for phase transitions.
3817
- */
3818
- phase_effective_at?: DefaultSettings.PhaseEffectiveAt;
3819
- }
3820
3079
  type EndBehavior = 'cancel' | 'release';
3821
3080
  interface Phase {
3822
3081
  /**
@@ -3867,10 +3126,6 @@ export declare namespace InvoiceCreatePreviewParams {
3867
3126
  * The number of intervals the phase should last. If set, `end_date` must not be set.
3868
3127
  */
3869
3128
  duration?: Phase.Duration;
3870
- /**
3871
- * Configures how the subscription schedule handles billing for phase transitions.
3872
- */
3873
- effective_at?: Phase.EffectiveAt;
3874
3129
  /**
3875
3130
  * The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.
3876
3131
  */
@@ -3891,10 +3146,6 @@ export declare namespace InvoiceCreatePreviewParams {
3891
3146
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
3892
3147
  */
3893
3148
  on_behalf_of?: string;
3894
- /**
3895
- * If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://docs.stripe.com/billing/subscriptions/pause-payment).
3896
- */
3897
- pause_collection?: Phase.PauseCollection;
3898
3149
  /**
3899
3150
  * Controls whether the subscription schedule should create [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when transitioning to this phase if there is a difference in billing configuration. It's different from the request-level [proration_behavior](https://docs.stripe.com/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration (item price, quantity, etc.) of the current phase.
3900
3151
  */
@@ -3911,758 +3162,23 @@ export declare namespace InvoiceCreatePreviewParams {
3911
3162
  * If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
3912
3163
  */
3913
3164
  trial?: boolean;
3914
- /**
3915
- * Specify trial behavior when crossing phase boundaries
3916
- */
3917
- trial_continuation?: Phase.TrialContinuation;
3918
3165
  /**
3919
3166
  * Sets the phase to trialing from the start date to this date. Must be before the phase end date, can not be combined with `trial`
3920
3167
  */
3921
- trial_end?: number | 'now';
3922
- /**
3923
- * Settings related to subscription trials.
3924
- */
3925
- trial_settings?: Phase.TrialSettings;
3926
- }
3927
- interface Prebilling {
3928
- /**
3929
- * The end of the prebilled time period.
3930
- */
3931
- bill_until?: Prebilling.BillUntil;
3932
- /**
3933
- * This is used to determine the number of billing cycles to prebill.
3934
- */
3935
- iterations?: number;
3936
- }
3937
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
3938
- namespace Amendment {
3939
- interface AmendmentEnd {
3940
- /**
3941
- * Use the `end` time of a given discount.
3942
- */
3943
- discount_end?: AmendmentEnd.DiscountEnd;
3944
- /**
3945
- * Time span for the amendment starting from the `amendment_start`.
3946
- */
3947
- duration?: AmendmentEnd.Duration;
3948
- /**
3949
- * A precise Unix timestamp for the amendment to end. Must be after the `amendment_start`.
3950
- */
3951
- timestamp?: number;
3952
- /**
3953
- * Select one of three ways to pass the `amendment_end`.
3954
- */
3955
- type: AmendmentEnd.Type;
3956
- }
3957
- interface AmendmentStart {
3958
- /**
3959
- * Details of another amendment in the same array, immediately after which this amendment should begin.
3960
- */
3961
- amendment_end?: AmendmentStart.AmendmentEnd;
3962
- /**
3963
- * Use the `end` time of a given discount.
3964
- */
3965
- discount_end?: AmendmentStart.DiscountEnd;
3966
- /**
3967
- * A precise Unix timestamp for the amendment to start.
3968
- */
3969
- timestamp?: number;
3970
- /**
3971
- * Select one of three ways to pass the `amendment_start`.
3972
- */
3973
- type: AmendmentStart.Type;
3974
- }
3975
- type BillingCycleAnchor = 'amendment_start' | 'automatic';
3976
- interface BillingSchedulesAction {
3977
- /**
3978
- * Specify which subscription items the billing schedule applies to.
3979
- */
3980
- applies_to?: Array<BillingSchedulesAction.AppliesTo>;
3981
- /**
3982
- * Select the action.
3983
- */
3984
- type: BillingSchedulesAction.Type;
3985
- }
3986
- interface DiscountAction {
3987
- /**
3988
- * Details of the discount to add.
3989
- */
3990
- add?: DiscountAction.Add;
3991
- /**
3992
- * Details of the discount to remove.
3993
- */
3994
- remove?: DiscountAction.Remove;
3995
- /**
3996
- * Details of the discount to replace the existing discounts with.
3997
- */
3998
- set?: DiscountAction.Set;
3999
- /**
4000
- * Determines the type of discount action.
4001
- */
4002
- type: DiscountAction.Type;
4003
- }
4004
- type EffectiveAt = 'amendment_start' | 'billing_period_start';
4005
- interface ItemAction {
4006
- /**
4007
- * Details of the subscription item to add. If an item with the same `price` exists, it will be replaced by this new item. Otherwise, it adds the new item.
4008
- */
4009
- add?: ItemAction.Add;
4010
- /**
4011
- * Details of the subscription item to remove.
4012
- */
4013
- remove?: ItemAction.Remove;
4014
- /**
4015
- * Details of the subscription item to replace the existing items with. If an item with the `set[price]` already exists, the `items` array is not cleared. Instead, all of the other `set` properties that are passed in this request will replace the existing values for the configuration item.
4016
- */
4017
- set?: ItemAction.Set;
4018
- /**
4019
- * Determines the type of item action.
4020
- */
4021
- type: ItemAction.Type;
4022
- }
4023
- interface MetadataAction {
4024
- /**
4025
- * Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata.
4026
- */
4027
- add?: {
4028
- [key: string]: string;
4029
- };
4030
- /**
4031
- * Keys to remove from schedule phase metadata.
4032
- */
4033
- remove?: Array<string>;
4034
- /**
4035
- * Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten.
4036
- */
4037
- set?: Emptyable<{
4038
- [key: string]: string;
4039
- }>;
4040
- /**
4041
- * Select one of three ways to update phase-level `metadata` on subscription schedules.
4042
- */
4043
- type: MetadataAction.Type;
4044
- }
4045
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
4046
- interface SetPauseCollection {
4047
- /**
4048
- * Details of the pause_collection behavior to apply to the amendment.
4049
- */
4050
- set?: SetPauseCollection.Set;
4051
- /**
4052
- * Determines the type of the pause_collection amendment.
4053
- */
4054
- type: SetPauseCollection.Type;
4055
- }
4056
- type SetScheduleEnd = 'amendment_end' | 'amendment_start';
4057
- interface TrialSettings {
4058
- /**
4059
- * Defines how the subscription should behave when a trial ends.
4060
- */
4061
- end_behavior?: TrialSettings.EndBehavior;
4062
- }
4063
- namespace AmendmentEnd {
4064
- interface DiscountEnd {
4065
- /**
4066
- * The ID of a specific discount.
4067
- */
4068
- discount: string;
4069
- }
4070
- interface Duration {
4071
- /**
4072
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4073
- */
4074
- interval: Duration.Interval;
4075
- /**
4076
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4077
- */
4078
- interval_count: number;
4079
- }
4080
- type Type = 'discount_end' | 'duration' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice';
4081
- namespace Duration {
4082
- type Interval = 'day' | 'month' | 'week' | 'year';
4083
- }
4084
- }
4085
- namespace AmendmentStart {
4086
- interface AmendmentEnd {
4087
- /**
4088
- * The position of the previous amendment in the `amendments` array after which this amendment should begin. Indexes start from 0 and must be less than the index of the current amendment in the array.
4089
- */
4090
- index: number;
4091
- }
4092
- interface DiscountEnd {
4093
- /**
4094
- * The ID of a specific discount.
4095
- */
4096
- discount: string;
4097
- }
4098
- type Type = 'amendment_end' | 'discount_end' | 'now' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice';
4099
- }
4100
- namespace BillingSchedulesAction {
4101
- interface AppliesTo {
4102
- /**
4103
- * The ID of the price object.
4104
- */
4105
- price?: string;
4106
- /**
4107
- * Controls which subscription items the billing schedule applies to.
4108
- */
4109
- type: 'price';
4110
- }
4111
- type Type = 'remove' | 'set';
4112
- }
4113
- namespace DiscountAction {
4114
- interface Add {
4115
- /**
4116
- * The coupon code to redeem.
4117
- */
4118
- coupon?: string;
4119
- /**
4120
- * An ID of an existing discount for a coupon that was already redeemed.
4121
- */
4122
- discount?: string;
4123
- /**
4124
- * Details to determine how long the discount should be applied for.
4125
- */
4126
- discount_end?: Add.DiscountEnd;
4127
- /**
4128
- * The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.
4129
- */
4130
- index?: number;
4131
- /**
4132
- * The promotion code to redeem.
4133
- */
4134
- promotion_code?: string;
4135
- /**
4136
- * Settings for discount application including service period anchoring.
4137
- */
4138
- settings?: Add.Settings;
4139
- }
4140
- interface Remove {
4141
- /**
4142
- * The coupon code to remove from the `discounts` array.
4143
- */
4144
- coupon?: string;
4145
- /**
4146
- * The ID of a discount to remove from the `discounts` array.
4147
- */
4148
- discount?: string;
4149
- /**
4150
- * The ID of a promotion code to remove from the `discounts` array.
4151
- */
4152
- promotion_code?: string;
4153
- }
4154
- interface Set {
4155
- /**
4156
- * The coupon code to replace the `discounts` array with.
4157
- */
4158
- coupon?: string;
4159
- /**
4160
- * An ID of an existing discount to replace the `discounts` array with.
4161
- */
4162
- discount?: string;
4163
- /**
4164
- * An ID of an existing promotion code to replace the `discounts` array with.
4165
- */
4166
- promotion_code?: string;
4167
- /**
4168
- * Settings for discount application including service period anchoring.
4169
- */
4170
- settings?: Set.Settings;
4171
- }
4172
- type Type = 'add' | 'remove' | 'set';
4173
- namespace Add {
4174
- interface DiscountEnd {
4175
- /**
4176
- * The type of calculation made to determine when the discount ends.
4177
- */
4178
- type: 'amendment_end';
4179
- }
4180
- interface Settings {
4181
- /**
4182
- * Configures service period cycle anchoring.
4183
- */
4184
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
4185
- /**
4186
- * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
4187
- */
4188
- start_date?: Settings.StartDate;
4189
- }
4190
- namespace Settings {
4191
- interface ServicePeriodAnchorConfig {
4192
- /**
4193
- * Anchor the service period to a custom date. Type must be `custom` to specify.
4194
- */
4195
- custom?: ServicePeriodAnchorConfig.Custom;
4196
- /**
4197
- * The type of service period anchor config. Defaults to `inherit` if omitted.
4198
- */
4199
- type?: ServicePeriodAnchorConfig.Type;
4200
- }
4201
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start';
4202
- namespace ServicePeriodAnchorConfig {
4203
- interface Custom {
4204
- /**
4205
- * The day of the month the anchor should be. Ranges from 1 to 31.
4206
- */
4207
- day_of_month: number;
4208
- /**
4209
- * The hour of the day the anchor should be. Ranges from 0 to 23.
4210
- */
4211
- hour?: number;
4212
- /**
4213
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
4214
- */
4215
- minute?: number;
4216
- /**
4217
- * The month to start full cycle periods. Ranges from 1 to 12.
4218
- */
4219
- month?: number;
4220
- /**
4221
- * The second of the minute the anchor should be. Ranges from 0 to 59.
4222
- */
4223
- second?: number;
4224
- }
4225
- type Type = 'custom' | 'inherit';
4226
- }
4227
- }
4228
- }
4229
- namespace Set {
4230
- interface Settings {
4231
- /**
4232
- * Configures service period cycle anchoring.
4233
- */
4234
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
4235
- /**
4236
- * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
4237
- */
4238
- start_date?: Settings.StartDate;
4239
- }
4240
- namespace Settings {
4241
- interface ServicePeriodAnchorConfig {
4242
- /**
4243
- * Anchor the service period to a custom date. Type must be `custom` to specify.
4244
- */
4245
- custom?: ServicePeriodAnchorConfig.Custom;
4246
- /**
4247
- * The type of service period anchor config. Defaults to `inherit` if omitted.
4248
- */
4249
- type?: ServicePeriodAnchorConfig.Type;
4250
- }
4251
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start';
4252
- namespace ServicePeriodAnchorConfig {
4253
- interface Custom {
4254
- /**
4255
- * The day of the month the anchor should be. Ranges from 1 to 31.
4256
- */
4257
- day_of_month: number;
4258
- /**
4259
- * The hour of the day the anchor should be. Ranges from 0 to 23.
4260
- */
4261
- hour?: number;
4262
- /**
4263
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
4264
- */
4265
- minute?: number;
4266
- /**
4267
- * The month to start full cycle periods. Ranges from 1 to 12.
4268
- */
4269
- month?: number;
4270
- /**
4271
- * The second of the minute the anchor should be. Ranges from 0 to 59.
4272
- */
4273
- second?: number;
4274
- }
4275
- type Type = 'custom' | 'inherit';
4276
- }
4277
- }
4278
- }
4279
- }
4280
- namespace ItemAction {
4281
- interface Add {
4282
- /**
4283
- * The discounts applied to the item. Subscription item discounts are applied before subscription discounts.
4284
- */
4285
- discounts?: Array<Add.Discount>;
4286
- /**
4287
- * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
4288
- */
4289
- metadata?: MetadataParam;
4290
- /**
4291
- * The ID of the price object.
4292
- */
4293
- price: string;
4294
- /**
4295
- * Quantity for this item.
4296
- */
4297
- quantity?: number;
4298
- /**
4299
- * The tax rates that apply to this subscription item. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.
4300
- */
4301
- tax_rates?: Array<string>;
4302
- /**
4303
- * Options that configure the trial on the subscription item.
4304
- */
4305
- trial?: Add.Trial;
4306
- /**
4307
- * The ID of the trial offer to apply to the configuration item.
4308
- */
4309
- trial_offer?: string;
4310
- }
4311
- interface Remove {
4312
- /**
4313
- * ID of a price to remove.
4314
- */
4315
- price: string;
4316
- }
4317
- interface Set {
4318
- /**
4319
- * If an item with the `price` already exists, passing this will override the `discounts` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `discounts`.
4320
- */
4321
- discounts?: Array<Set.Discount>;
4322
- /**
4323
- * If an item with the `price` already exists, passing this will override the `metadata` on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `metadata`.
4324
- */
4325
- metadata?: MetadataParam;
4326
- /**
4327
- * The ID of the price object.
4328
- */
4329
- price: string;
4330
- /**
4331
- * If an item with the `price` already exists, passing this will override the quantity on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `quantity`.
4332
- */
4333
- quantity?: number;
4334
- /**
4335
- * If an item with the `price` already exists, passing this will override the `tax_rates` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `tax_rates`.
4336
- */
4337
- tax_rates?: Array<string>;
4338
- /**
4339
- * If an item with the `price` already exists, passing this will override the `trial` configuration on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `trial`.
4340
- */
4341
- trial?: Set.Trial;
4342
- /**
4343
- * The ID of the trial offer to apply to the configuration item.
4344
- */
4345
- trial_offer?: string;
4346
- }
4347
- type Type = 'add' | 'remove' | 'set';
4348
- namespace Add {
4349
- interface Discount {
4350
- /**
4351
- * ID of the coupon to create a new discount for.
4352
- */
4353
- coupon?: string;
4354
- /**
4355
- * ID of an existing discount on the object (or one of its ancestors) to reuse.
4356
- */
4357
- discount?: string;
4358
- /**
4359
- * Details to determine how long the discount should be applied for.
4360
- */
4361
- discount_end?: Discount.DiscountEnd;
4362
- /**
4363
- * ID of the promotion code to create a new discount for.
4364
- */
4365
- promotion_code?: string;
4366
- /**
4367
- * Settings for discount application including service period anchoring.
4368
- */
4369
- settings?: Discount.Settings;
4370
- }
4371
- interface Trial {
4372
- /**
4373
- * List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
4374
- */
4375
- converts_to?: Array<string>;
4376
- /**
4377
- * Determines the type of trial for this item.
4378
- */
4379
- type: Trial.Type;
4380
- }
4381
- namespace Discount {
4382
- interface DiscountEnd {
4383
- /**
4384
- * Time span for the redeemed discount.
4385
- */
4386
- duration?: DiscountEnd.Duration;
4387
- /**
4388
- * A precise Unix timestamp for the discount to end. Must be in the future.
4389
- */
4390
- timestamp?: number;
4391
- /**
4392
- * The type of calculation made to determine when the discount ends.
4393
- */
4394
- type: DiscountEnd.Type;
4395
- }
4396
- interface Settings {
4397
- /**
4398
- * Configures service period cycle anchoring.
4399
- */
4400
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
4401
- /**
4402
- * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
4403
- */
4404
- start_date?: Settings.StartDate;
4405
- }
4406
- namespace DiscountEnd {
4407
- interface Duration {
4408
- /**
4409
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4410
- */
4411
- interval: Duration.Interval;
4412
- /**
4413
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4414
- */
4415
- interval_count: number;
4416
- }
4417
- type Type = 'duration' | 'timestamp';
4418
- namespace Duration {
4419
- type Interval = 'day' | 'month' | 'week' | 'year';
4420
- }
4421
- }
4422
- namespace Settings {
4423
- interface ServicePeriodAnchorConfig {
4424
- /**
4425
- * Anchor the service period to a custom date. Type must be `custom` to specify.
4426
- */
4427
- custom?: ServicePeriodAnchorConfig.Custom;
4428
- /**
4429
- * The type of service period anchor config. Defaults to `inherit` if omitted.
4430
- */
4431
- type?: ServicePeriodAnchorConfig.Type;
4432
- }
4433
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start';
4434
- namespace ServicePeriodAnchorConfig {
4435
- interface Custom {
4436
- /**
4437
- * The day of the month the anchor should be. Ranges from 1 to 31.
4438
- */
4439
- day_of_month: number;
4440
- /**
4441
- * The hour of the day the anchor should be. Ranges from 0 to 23.
4442
- */
4443
- hour?: number;
4444
- /**
4445
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
4446
- */
4447
- minute?: number;
4448
- /**
4449
- * The month to start full cycle periods. Ranges from 1 to 12.
4450
- */
4451
- month?: number;
4452
- /**
4453
- * The second of the minute the anchor should be. Ranges from 0 to 59.
4454
- */
4455
- second?: number;
4456
- }
4457
- type Type = 'custom' | 'inherit';
4458
- }
4459
- }
4460
- }
4461
- namespace Trial {
4462
- type Type = 'free' | 'paid';
4463
- }
4464
- }
4465
- namespace Set {
4466
- interface Discount {
4467
- /**
4468
- * ID of the coupon to create a new discount for.
4469
- */
4470
- coupon?: string;
4471
- /**
4472
- * ID of an existing discount on the object (or one of its ancestors) to reuse.
4473
- */
4474
- discount?: string;
4475
- /**
4476
- * Details to determine how long the discount should be applied for.
4477
- */
4478
- discount_end?: Discount.DiscountEnd;
4479
- /**
4480
- * ID of the promotion code to create a new discount for.
4481
- */
4482
- promotion_code?: string;
4483
- /**
4484
- * Settings for discount application including service period anchoring.
4485
- */
4486
- settings?: Discount.Settings;
4487
- }
4488
- interface Trial {
4489
- /**
4490
- * List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
4491
- */
4492
- converts_to?: Array<string>;
4493
- /**
4494
- * Determines the type of trial for this item.
4495
- */
4496
- type: Trial.Type;
4497
- }
4498
- namespace Discount {
4499
- interface DiscountEnd {
4500
- /**
4501
- * Time span for the redeemed discount.
4502
- */
4503
- duration?: DiscountEnd.Duration;
4504
- /**
4505
- * A precise Unix timestamp for the discount to end. Must be in the future.
4506
- */
4507
- timestamp?: number;
4508
- /**
4509
- * The type of calculation made to determine when the discount ends.
4510
- */
4511
- type: DiscountEnd.Type;
4512
- }
4513
- interface Settings {
4514
- /**
4515
- * Configures service period cycle anchoring.
4516
- */
4517
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
4518
- /**
4519
- * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `amendment_start` if omitted.
4520
- */
4521
- start_date?: Settings.StartDate;
4522
- }
4523
- namespace DiscountEnd {
4524
- interface Duration {
4525
- /**
4526
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4527
- */
4528
- interval: Duration.Interval;
4529
- /**
4530
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4531
- */
4532
- interval_count: number;
4533
- }
4534
- type Type = 'duration' | 'timestamp';
4535
- namespace Duration {
4536
- type Interval = 'day' | 'month' | 'week' | 'year';
4537
- }
4538
- }
4539
- namespace Settings {
4540
- interface ServicePeriodAnchorConfig {
4541
- /**
4542
- * Anchor the service period to a custom date. Type must be `custom` to specify.
4543
- */
4544
- custom?: ServicePeriodAnchorConfig.Custom;
4545
- /**
4546
- * The type of service period anchor config. Defaults to `inherit` if omitted.
4547
- */
4548
- type?: ServicePeriodAnchorConfig.Type;
4549
- }
4550
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start';
4551
- namespace ServicePeriodAnchorConfig {
4552
- interface Custom {
4553
- /**
4554
- * The day of the month the anchor should be. Ranges from 1 to 31.
4555
- */
4556
- day_of_month: number;
4557
- /**
4558
- * The hour of the day the anchor should be. Ranges from 0 to 23.
4559
- */
4560
- hour?: number;
4561
- /**
4562
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
4563
- */
4564
- minute?: number;
4565
- /**
4566
- * The month to start full cycle periods. Ranges from 1 to 12.
4567
- */
4568
- month?: number;
4569
- /**
4570
- * The second of the minute the anchor should be. Ranges from 0 to 59.
4571
- */
4572
- second?: number;
4573
- }
4574
- type Type = 'custom' | 'inherit';
4575
- }
4576
- }
4577
- }
4578
- namespace Trial {
4579
- type Type = 'free' | 'paid';
4580
- }
4581
- }
4582
- }
4583
- namespace MetadataAction {
4584
- type Type = 'add' | 'remove' | 'set';
4585
- }
4586
- namespace SetPauseCollection {
4587
- interface Set {
4588
- /**
4589
- * The payment collection behavior for this subscription while paused.
4590
- */
4591
- behavior: Set.Behavior;
4592
- }
4593
- type Type = 'remove' | 'set';
4594
- namespace Set {
4595
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
4596
- }
4597
- }
4598
- namespace TrialSettings {
4599
- interface EndBehavior {
4600
- /**
4601
- * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
4602
- */
4603
- prorate_up_front?: EndBehavior.ProrateUpFront;
4604
- }
4605
- namespace EndBehavior {
4606
- type ProrateUpFront = 'defer' | 'include';
4607
- }
4608
- }
4609
- }
4610
- namespace BillingMode {
4611
- interface Flexible {
4612
- /**
4613
- * Controls how invoices and invoice items display proration amounts and discount amounts.
4614
- */
4615
- proration_discounts?: Flexible.ProrationDiscounts;
4616
- }
4617
- type Type = 'classic' | 'flexible';
4618
- namespace Flexible {
4619
- type ProrationDiscounts = 'included' | 'itemized';
4620
- }
4621
- }
4622
- namespace BillingSchedule {
4623
- interface AppliesTo {
4624
- /**
4625
- * The ID of the price object.
4626
- */
4627
- price?: string;
4628
- /**
4629
- * Controls which subscription items the billing schedule applies to.
4630
- */
4631
- type: 'price';
4632
- }
4633
- interface BillUntil {
4634
- /**
4635
- * Specifies the billing period.
4636
- */
4637
- duration?: BillUntil.Duration;
4638
- /**
4639
- * The end date of the billing schedule.
4640
- */
4641
- timestamp?: number;
4642
- /**
4643
- * Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
4644
- */
4645
- type: BillUntil.Type;
4646
- }
4647
- namespace BillUntil {
4648
- interface Duration {
4649
- /**
4650
- * Specifies billing duration. Either `day`, `week`, `month` or `year`.
4651
- */
4652
- interval: Duration.Interval;
4653
- /**
4654
- * The multiplier applied to the interval.
4655
- */
4656
- interval_count?: number;
4657
- }
4658
- type Type = 'duration' | 'timestamp';
4659
- namespace Duration {
4660
- type Interval = 'day' | 'month' | 'week' | 'year';
4661
- }
4662
- }
3168
+ trial_end?: number | 'now';
4663
3169
  }
4664
- namespace DefaultSettings {
4665
- type PhaseEffectiveAt = 'billing_period_start' | 'phase_start';
3170
+ type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
3171
+ namespace BillingMode {
3172
+ interface Flexible {
3173
+ /**
3174
+ * Controls how invoices and invoice items display proration amounts and discount amounts.
3175
+ */
3176
+ proration_discounts?: Flexible.ProrationDiscounts;
3177
+ }
3178
+ type Type = 'classic' | 'flexible';
3179
+ namespace Flexible {
3180
+ type ProrationDiscounts = 'included' | 'itemized';
3181
+ }
4666
3182
  }
4667
3183
  namespace Phase {
4668
3184
  interface AddInvoiceItem {
@@ -4730,18 +3246,10 @@ export declare namespace InvoiceCreatePreviewParams {
4730
3246
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
4731
3247
  */
4732
3248
  discount?: string;
4733
- /**
4734
- * Details to determine how long the discount should be applied for.
4735
- */
4736
- discount_end?: Discount.DiscountEnd;
4737
3249
  /**
4738
3250
  * ID of the promotion code to create a new discount for.
4739
3251
  */
4740
3252
  promotion_code?: string;
4741
- /**
4742
- * Settings for discount application including service period anchoring.
4743
- */
4744
- settings?: Discount.Settings;
4745
3253
  }
4746
3254
  interface Duration {
4747
3255
  /**
@@ -4753,7 +3261,6 @@ export declare namespace InvoiceCreatePreviewParams {
4753
3261
  */
4754
3262
  interval_count?: number;
4755
3263
  }
4756
- type EffectiveAt = 'billing_period_start' | 'phase_start';
4757
3264
  interface InvoiceSettings {
4758
3265
  /**
4759
3266
  * The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule.
@@ -4801,20 +3308,6 @@ export declare namespace InvoiceCreatePreviewParams {
4801
3308
  * A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
4802
3309
  */
4803
3310
  tax_rates?: Emptyable<Array<string>>;
4804
- /**
4805
- * Options that configure the trial on the subscription item.
4806
- */
4807
- trial?: Item.Trial;
4808
- /**
4809
- * The ID of the trial offer to apply to the configuration item.
4810
- */
4811
- trial_offer?: string;
4812
- }
4813
- interface PauseCollection {
4814
- /**
4815
- * The payment collection behavior for this subscription while paused.
4816
- */
4817
- behavior: PauseCollection.Behavior;
4818
3311
  }
4819
3312
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
4820
3313
  interface TransferData {
@@ -4827,13 +3320,6 @@ export declare namespace InvoiceCreatePreviewParams {
4827
3320
  */
4828
3321
  destination: string;
4829
3322
  }
4830
- type TrialContinuation = 'continue' | 'none';
4831
- interface TrialSettings {
4832
- /**
4833
- * Defines how the subscription should behave when a trial ends.
4834
- */
4835
- end_behavior?: TrialSettings.EndBehavior;
4836
- }
4837
3323
  namespace AddInvoiceItem {
4838
3324
  interface Discount {
4839
3325
  /**
@@ -4844,10 +3330,6 @@ export declare namespace InvoiceCreatePreviewParams {
4844
3330
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
4845
3331
  */
4846
3332
  discount?: string;
4847
- /**
4848
- * Details to determine how long the discount should be applied for.
4849
- */
4850
- discount_end?: Discount.DiscountEnd;
4851
3333
  /**
4852
3334
  * ID of the promotion code to create a new discount for.
4853
3335
  */
@@ -4885,38 +3367,6 @@ export declare namespace InvoiceCreatePreviewParams {
4885
3367
  */
4886
3368
  unit_amount_decimal?: Decimal;
4887
3369
  }
4888
- namespace Discount {
4889
- interface DiscountEnd {
4890
- /**
4891
- * Time span for the redeemed discount.
4892
- */
4893
- duration?: DiscountEnd.Duration;
4894
- /**
4895
- * A precise Unix timestamp for the discount to end. Must be in the future.
4896
- */
4897
- timestamp?: number;
4898
- /**
4899
- * The type of calculation made to determine when the discount ends.
4900
- */
4901
- type: DiscountEnd.Type;
4902
- }
4903
- namespace DiscountEnd {
4904
- interface Duration {
4905
- /**
4906
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4907
- */
4908
- interval: Duration.Interval;
4909
- /**
4910
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4911
- */
4912
- interval_count: number;
4913
- }
4914
- type Type = 'duration' | 'timestamp';
4915
- namespace Duration {
4916
- type Interval = 'day' | 'month' | 'week' | 'year';
4917
- }
4918
- }
4919
- }
4920
3370
  namespace Period {
4921
3371
  interface End {
4922
3372
  /**
@@ -4961,87 +3411,7 @@ export declare namespace InvoiceCreatePreviewParams {
4961
3411
  type: Liability.Type;
4962
3412
  }
4963
3413
  namespace Liability {
4964
- type Type = 'account' | 'application' | 'self';
4965
- }
4966
- }
4967
- namespace Discount {
4968
- interface DiscountEnd {
4969
- /**
4970
- * Time span for the redeemed discount.
4971
- */
4972
- duration?: DiscountEnd.Duration;
4973
- /**
4974
- * A precise Unix timestamp for the discount to end. Must be in the future.
4975
- */
4976
- timestamp?: number;
4977
- /**
4978
- * The type of calculation made to determine when the discount ends.
4979
- */
4980
- type: DiscountEnd.Type;
4981
- }
4982
- interface Settings {
4983
- /**
4984
- * Configures service period cycle anchoring.
4985
- */
4986
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
4987
- /**
4988
- * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `phase_start` if omitted.
4989
- */
4990
- start_date?: Settings.StartDate;
4991
- }
4992
- namespace DiscountEnd {
4993
- interface Duration {
4994
- /**
4995
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4996
- */
4997
- interval: Duration.Interval;
4998
- /**
4999
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
5000
- */
5001
- interval_count: number;
5002
- }
5003
- type Type = 'duration' | 'timestamp';
5004
- namespace Duration {
5005
- type Interval = 'day' | 'month' | 'week' | 'year';
5006
- }
5007
- }
5008
- namespace Settings {
5009
- interface ServicePeriodAnchorConfig {
5010
- /**
5011
- * Anchor the service period to a custom date. Type must be `custom` to specify.
5012
- */
5013
- custom?: ServicePeriodAnchorConfig.Custom;
5014
- /**
5015
- * The type of service period anchor config. Defaults to `inherit` if omitted.
5016
- */
5017
- type?: ServicePeriodAnchorConfig.Type;
5018
- }
5019
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start';
5020
- namespace ServicePeriodAnchorConfig {
5021
- interface Custom {
5022
- /**
5023
- * The day of the month the anchor should be. Ranges from 1 to 31.
5024
- */
5025
- day_of_month: number;
5026
- /**
5027
- * The hour of the day the anchor should be. Ranges from 0 to 23.
5028
- */
5029
- hour?: number;
5030
- /**
5031
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
5032
- */
5033
- minute?: number;
5034
- /**
5035
- * The month to start full cycle periods. Ranges from 1 to 12.
5036
- */
5037
- month?: number;
5038
- /**
5039
- * The second of the minute the anchor should be. Ranges from 0 to 59.
5040
- */
5041
- second?: number;
5042
- }
5043
- type Type = 'custom' | 'inherit';
5044
- }
3414
+ type Type = 'account' | 'self';
5045
3415
  }
5046
3416
  }
5047
3417
  namespace Duration {
@@ -5059,7 +3429,7 @@ export declare namespace InvoiceCreatePreviewParams {
5059
3429
  type: Issuer.Type;
5060
3430
  }
5061
3431
  namespace Issuer {
5062
- type Type = 'account' | 'application' | 'self';
3432
+ type Type = 'account' | 'self';
5063
3433
  }
5064
3434
  }
5065
3435
  namespace Item {
@@ -5078,18 +3448,10 @@ export declare namespace InvoiceCreatePreviewParams {
5078
3448
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
5079
3449
  */
5080
3450
  discount?: string;
5081
- /**
5082
- * Details to determine how long the discount should be applied for.
5083
- */
5084
- discount_end?: Discount.DiscountEnd;
5085
3451
  /**
5086
3452
  * ID of the promotion code to create a new discount for.
5087
3453
  */
5088
3454
  promotion_code?: string;
5089
- /**
5090
- * Settings for discount application including service period anchoring.
5091
- */
5092
- settings?: Discount.Settings;
5093
3455
  }
5094
3456
  interface PriceData {
5095
3457
  /**
@@ -5117,96 +3479,6 @@ export declare namespace InvoiceCreatePreviewParams {
5117
3479
  */
5118
3480
  unit_amount_decimal?: Decimal;
5119
3481
  }
5120
- interface Trial {
5121
- /**
5122
- * List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
5123
- */
5124
- converts_to?: Array<string>;
5125
- /**
5126
- * Determines the type of trial for this item.
5127
- */
5128
- type: Trial.Type;
5129
- }
5130
- namespace Discount {
5131
- interface DiscountEnd {
5132
- /**
5133
- * Time span for the redeemed discount.
5134
- */
5135
- duration?: DiscountEnd.Duration;
5136
- /**
5137
- * A precise Unix timestamp for the discount to end. Must be in the future.
5138
- */
5139
- timestamp?: number;
5140
- /**
5141
- * The type of calculation made to determine when the discount ends.
5142
- */
5143
- type: DiscountEnd.Type;
5144
- }
5145
- interface Settings {
5146
- /**
5147
- * Configures service period cycle anchoring.
5148
- */
5149
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
5150
- /**
5151
- * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `phase_start` if omitted.
5152
- */
5153
- start_date?: Settings.StartDate;
5154
- }
5155
- namespace DiscountEnd {
5156
- interface Duration {
5157
- /**
5158
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
5159
- */
5160
- interval: Duration.Interval;
5161
- /**
5162
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
5163
- */
5164
- interval_count: number;
5165
- }
5166
- type Type = 'duration' | 'timestamp';
5167
- namespace Duration {
5168
- type Interval = 'day' | 'month' | 'week' | 'year';
5169
- }
5170
- }
5171
- namespace Settings {
5172
- interface ServicePeriodAnchorConfig {
5173
- /**
5174
- * Anchor the service period to a custom date. Type must be `custom` to specify.
5175
- */
5176
- custom?: ServicePeriodAnchorConfig.Custom;
5177
- /**
5178
- * The type of service period anchor config. Defaults to `inherit` if omitted.
5179
- */
5180
- type?: ServicePeriodAnchorConfig.Type;
5181
- }
5182
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start';
5183
- namespace ServicePeriodAnchorConfig {
5184
- interface Custom {
5185
- /**
5186
- * The day of the month the anchor should be. Ranges from 1 to 31.
5187
- */
5188
- day_of_month: number;
5189
- /**
5190
- * The hour of the day the anchor should be. Ranges from 0 to 23.
5191
- */
5192
- hour?: number;
5193
- /**
5194
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
5195
- */
5196
- minute?: number;
5197
- /**
5198
- * The month to start full cycle periods. Ranges from 1 to 12.
5199
- */
5200
- month?: number;
5201
- /**
5202
- * The second of the minute the anchor should be. Ranges from 0 to 59.
5203
- */
5204
- second?: number;
5205
- }
5206
- type Type = 'custom' | 'inherit';
5207
- }
5208
- }
5209
- }
5210
3482
  namespace PriceData {
5211
3483
  interface Recurring {
5212
3484
  /**
@@ -5223,65 +3495,6 @@ export declare namespace InvoiceCreatePreviewParams {
5223
3495
  type Interval = 'day' | 'month' | 'week' | 'year';
5224
3496
  }
5225
3497
  }
5226
- namespace Trial {
5227
- type Type = 'free' | 'paid';
5228
- }
5229
- }
5230
- namespace PauseCollection {
5231
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
5232
- }
5233
- namespace TrialSettings {
5234
- interface EndBehavior {
5235
- /**
5236
- * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
5237
- */
5238
- prorate_up_front?: EndBehavior.ProrateUpFront;
5239
- }
5240
- namespace EndBehavior {
5241
- type ProrateUpFront = 'defer' | 'include';
5242
- }
5243
- }
5244
- }
5245
- namespace Prebilling {
5246
- interface BillUntil {
5247
- /**
5248
- * End the prebilled period when a specified amendment ends.
5249
- */
5250
- amendment_end?: BillUntil.AmendmentEnd;
5251
- /**
5252
- * Time span for prebilling, starting from `bill_from`.
5253
- */
5254
- duration?: BillUntil.Duration;
5255
- /**
5256
- * End the prebilled period at a precise integer timestamp, starting from the Unix epoch.
5257
- */
5258
- timestamp?: number;
5259
- /**
5260
- * Select one of several ways to pass the `bill_until` value.
5261
- */
5262
- type: BillUntil.Type;
5263
- }
5264
- namespace BillUntil {
5265
- interface AmendmentEnd {
5266
- /**
5267
- * The position of the amendment in the `amendments` array at which prebilling should end. Indexes start from 0 and must be less than the total number of supplied amendments.
5268
- */
5269
- index: number;
5270
- }
5271
- interface Duration {
5272
- /**
5273
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
5274
- */
5275
- interval: Duration.Interval;
5276
- /**
5277
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
5278
- */
5279
- interval_count: number;
5280
- }
5281
- type Type = 'amendment_end' | 'duration' | 'schedule_end' | 'timestamp';
5282
- namespace Duration {
5283
- type Interval = 'day' | 'month' | 'week' | 'year';
5284
- }
5285
3498
  }
5286
3499
  }
5287
3500
  }
@@ -5321,10 +3534,6 @@ export declare namespace InvoiceCreatePreviewParams {
5321
3534
  * Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
5322
3535
  */
5323
3536
  clear_usage?: boolean;
5324
- /**
5325
- * The trial offer to apply to this subscription item.
5326
- */
5327
- current_trial?: Item.CurrentTrial;
5328
3537
  /**
5329
3538
  * A flag that, if set to `true`, will delete the specified item.
5330
3539
  */
@@ -5334,7 +3543,7 @@ export declare namespace InvoiceCreatePreviewParams {
5334
3543
  */
5335
3544
  discounts?: Emptyable<Array<Item.Discount>>;
5336
3545
  /**
5337
- * Subscription item to update.
3546
+ * Subscription item to update. If you omit `id`, the API adds a new subscription item rather than updating the existing one. See [Changing a subscription's price](https://docs.stripe.com/billing/subscriptions/change-price#changing).
5338
3547
  */
5339
3548
  id?: string;
5340
3549
  /**
@@ -5362,12 +3571,6 @@ export declare namespace InvoiceCreatePreviewParams {
5362
3571
  */
5363
3572
  tax_rates?: Emptyable<Array<string>>;
5364
3573
  }
5365
- interface Prebilling {
5366
- /**
5367
- * This is used to determine the number of billing cycles to prebill.
5368
- */
5369
- iterations: number;
5370
- }
5371
3574
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
5372
3575
  namespace BillingMode {
5373
3576
  interface Flexible {
@@ -5430,16 +3633,6 @@ export declare namespace InvoiceCreatePreviewParams {
5430
3633
  */
5431
3634
  usage_gte: number;
5432
3635
  }
5433
- interface CurrentTrial {
5434
- /**
5435
- * Unix timestamp representing the end of the trial offer period. Required when the trial offer has `duration.type=timestamp`. Cannot be specified when `duration.type=relative`.
5436
- */
5437
- trial_end?: number;
5438
- /**
5439
- * The ID of the trial offer to apply to the subscription item.
5440
- */
5441
- trial_offer: string;
5442
- }
5443
3636
  interface Discount {
5444
3637
  /**
5445
3638
  * ID of the coupon to create a new discount for.
@@ -5449,18 +3642,10 @@ export declare namespace InvoiceCreatePreviewParams {
5449
3642
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
5450
3643
  */
5451
3644
  discount?: string;
5452
- /**
5453
- * Details to determine how long the discount should be applied for.
5454
- */
5455
- discount_end?: Discount.DiscountEnd;
5456
3645
  /**
5457
3646
  * ID of the promotion code to create a new discount for.
5458
3647
  */
5459
3648
  promotion_code?: string;
5460
- /**
5461
- * Settings for discount application including service period anchoring.
5462
- */
5463
- settings?: Discount.Settings;
5464
3649
  }
5465
3650
  interface PriceData {
5466
3651
  /**
@@ -5488,86 +3673,6 @@ export declare namespace InvoiceCreatePreviewParams {
5488
3673
  */
5489
3674
  unit_amount_decimal?: Decimal;
5490
3675
  }
5491
- namespace Discount {
5492
- interface DiscountEnd {
5493
- /**
5494
- * Time span for the redeemed discount.
5495
- */
5496
- duration?: DiscountEnd.Duration;
5497
- /**
5498
- * A precise Unix timestamp for the discount to end. Must be in the future.
5499
- */
5500
- timestamp?: number;
5501
- /**
5502
- * The type of calculation made to determine when the discount ends.
5503
- */
5504
- type: DiscountEnd.Type;
5505
- }
5506
- interface Settings {
5507
- /**
5508
- * Configures service period cycle anchoring.
5509
- */
5510
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
5511
- /**
5512
- * The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults to `now` if omitted.
5513
- */
5514
- start_date?: Settings.StartDate;
5515
- }
5516
- namespace DiscountEnd {
5517
- interface Duration {
5518
- /**
5519
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
5520
- */
5521
- interval: Duration.Interval;
5522
- /**
5523
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
5524
- */
5525
- interval_count: number;
5526
- }
5527
- type Type = 'duration' | 'timestamp';
5528
- namespace Duration {
5529
- type Interval = 'day' | 'month' | 'week' | 'year';
5530
- }
5531
- }
5532
- namespace Settings {
5533
- interface ServicePeriodAnchorConfig {
5534
- /**
5535
- * Anchor the service period to a custom date. Type must be `custom` to specify.
5536
- */
5537
- custom?: ServicePeriodAnchorConfig.Custom;
5538
- /**
5539
- * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
5540
- */
5541
- type?: ServicePeriodAnchorConfig.Type;
5542
- }
5543
- type StartDate = 'current_period_end' | 'current_period_start' | 'now';
5544
- namespace ServicePeriodAnchorConfig {
5545
- interface Custom {
5546
- /**
5547
- * The day of the month the anchor should be. Ranges from 1 to 31.
5548
- */
5549
- day_of_month: number;
5550
- /**
5551
- * The hour of the day the anchor should be. Ranges from 0 to 23.
5552
- */
5553
- hour?: number;
5554
- /**
5555
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
5556
- */
5557
- minute?: number;
5558
- /**
5559
- * The month to start full cycle periods. Ranges from 1 to 12.
5560
- */
5561
- month?: number;
5562
- /**
5563
- * The second of the minute the anchor should be. Ranges from 0 to 59.
5564
- */
5565
- second?: number;
5566
- }
5567
- type Type = 'custom' | 'subscription_service_cycle_anchor';
5568
- }
5569
- }
5570
- }
5571
3676
  namespace PriceData {
5572
3677
  interface Recurring {
5573
3678
  /**
@@ -5587,16 +3692,6 @@ export declare namespace InvoiceCreatePreviewParams {
5587
3692
  }
5588
3693
  }
5589
3694
  }
5590
- export interface InvoiceDetachPaymentParams {
5591
- /**
5592
- * Specifies which fields in the response should be expanded.
5593
- */
5594
- expand?: Array<string>;
5595
- /**
5596
- * The ID of the PaymentIntent to detach from the invoice.
5597
- */
5598
- payment_intent?: string;
5599
- }
5600
3695
  export interface InvoiceFinalizeInvoiceParams {
5601
3696
  /**
5602
3697
  * Controls whether Stripe performs [automatic collection](https://docs.stripe.com/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action.
@@ -5706,32 +3801,6 @@ export interface InvoiceSendInvoiceParams {
5706
3801
  */
5707
3802
  expand?: Array<string>;
5708
3803
  }
5709
- export interface InvoiceSerializeBatchAddLinesParams {
5710
- }
5711
- export interface InvoiceSerializeBatchCreateParams {
5712
- }
5713
- export interface InvoiceSerializeBatchCreatePreviewParams {
5714
- }
5715
- export interface InvoiceSerializeBatchDeleteParams {
5716
- }
5717
- export interface InvoiceSerializeBatchFinalizeInvoiceParams {
5718
- }
5719
- export interface InvoiceSerializeBatchMarkUncollectibleParams {
5720
- }
5721
- export interface InvoiceSerializeBatchPayParams {
5722
- }
5723
- export interface InvoiceSerializeBatchRemoveLinesParams {
5724
- }
5725
- export interface InvoiceSerializeBatchSendInvoiceParams {
5726
- }
5727
- export interface InvoiceSerializeBatchUpdateParams {
5728
- }
5729
- export interface InvoiceSerializeBatchUpdateLineItemParams {
5730
- }
5731
- export interface InvoiceSerializeBatchUpdateLinesParams {
5732
- }
5733
- export interface InvoiceSerializeBatchVoidInvoiceParams {
5734
- }
5735
3804
  export interface InvoiceUpdateLinesParams {
5736
3805
  /**
5737
3806
  * The line items to update.
@@ -5770,10 +3839,6 @@ export declare namespace InvoiceUpdateLinesParams {
5770
3839
  * ID of an existing line item on the invoice.
5771
3840
  */
5772
3841
  id: string;
5773
- /**
5774
- * The IDs of the margins to apply to the line item. When set, the `default_margins` on the invoice do not apply to this line item.
5775
- */
5776
- margins?: Emptyable<Array<string>>;
5777
3842
  /**
5778
3843
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. For [type=subscription](https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-type) line items, the incoming metadata specified on the request is directly used to set this value, in contrast to [type=invoiceitem](api/invoices/line_item#invoice_line_item_object-type) line items, where any existing metadata on the invoice line is merged with the incoming data.
5779
3844
  */
@@ -5799,7 +3864,7 @@ export declare namespace InvoiceUpdateLinesParams {
5799
3864
  */
5800
3865
  quantity_decimal?: Decimal;
5801
3866
  /**
5802
- * A list of up to 10 tax amounts for this line item. This can be useful if you calculate taxes on your own or use a third-party to calculate them. You cannot set tax amounts if any line item has [tax_rates](https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://docs.stripe.com/tax/invoicing). Pass an empty string to remove previously defined tax amounts.
3867
+ * A list of up to 20 tax amounts for this line item. This can be useful if you calculate taxes on your own or use a third-party to calculate them. You cannot set tax amounts if any line item has [tax_rates](https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://docs.stripe.com/tax/invoicing). Pass an empty string to remove previously defined tax amounts.
5803
3868
  */
5804
3869
  tax_amounts?: Emptyable<Array<Line.TaxAmount>>;
5805
3870
  /**
@@ -5817,10 +3882,6 @@ export declare namespace InvoiceUpdateLinesParams {
5817
3882
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
5818
3883
  */
5819
3884
  discount?: string;
5820
- /**
5821
- * Details to determine how long the discount should be applied for.
5822
- */
5823
- discount_end?: Discount.DiscountEnd;
5824
3885
  /**
5825
3886
  * ID of the promotion code to create a new discount for.
5826
3887
  */
@@ -5888,38 +3949,6 @@ export declare namespace InvoiceUpdateLinesParams {
5888
3949
  */
5889
3950
  taxable_amount: number;
5890
3951
  }
5891
- namespace Discount {
5892
- interface DiscountEnd {
5893
- /**
5894
- * Time span for the redeemed discount.
5895
- */
5896
- duration?: DiscountEnd.Duration;
5897
- /**
5898
- * A precise Unix timestamp for the discount to end. Must be in the future.
5899
- */
5900
- timestamp?: number;
5901
- /**
5902
- * The type of calculation made to determine when the discount ends.
5903
- */
5904
- type: DiscountEnd.Type;
5905
- }
5906
- namespace DiscountEnd {
5907
- interface Duration {
5908
- /**
5909
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
5910
- */
5911
- interval: Duration.Interval;
5912
- /**
5913
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
5914
- */
5915
- interval_count: number;
5916
- }
5917
- type Type = 'duration' | 'timestamp';
5918
- namespace Duration {
5919
- type Interval = 'day' | 'month' | 'week' | 'year';
5920
- }
5921
- }
5922
- }
5923
3952
  namespace PriceData {
5924
3953
  interface ProductData {
5925
3954
  /**
@@ -5942,28 +3971,12 @@ export declare namespace InvoiceUpdateLinesParams {
5942
3971
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
5943
3972
  */
5944
3973
  tax_code?: string;
5945
- /**
5946
- * Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
5947
- */
5948
- tax_details?: ProductData.TaxDetails;
5949
3974
  /**
5950
3975
  * A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
5951
3976
  */
5952
3977
  unit_label?: string;
5953
3978
  }
5954
3979
  type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
5955
- namespace ProductData {
5956
- interface TaxDetails {
5957
- /**
5958
- * A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
5959
- */
5960
- performance_location?: string;
5961
- /**
5962
- * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
5963
- */
5964
- tax_code?: Emptyable<string>;
5965
- }
5966
- }
5967
3980
  }
5968
3981
  namespace TaxAmount {
5969
3982
  interface TaxRateData {
@@ -6033,10 +4046,6 @@ export interface InvoiceUpdateLineItemParams {
6033
4046
  * Specifies which fields in the response should be expanded.
6034
4047
  */
6035
4048
  expand?: Array<string>;
6036
- /**
6037
- * The IDs of the margins to apply to the line item. When set, the `default_margins` on the invoice do not apply to this line item.
6038
- */
6039
- margins?: Emptyable<Array<string>>;
6040
4049
  /**
6041
4050
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. For [type=subscription](https://docs.stripe.com/api/invoices/line_item) line items, the incoming metadata specified on the request is directly used to set this value, in contrast to [type=invoiceitem](https://docs.stripe.com/api/invoices/line_item) line items, where any existing metadata on the invoice line is merged with the incoming data.
6042
4051
  */
@@ -6062,7 +4071,7 @@ export interface InvoiceUpdateLineItemParams {
6062
4071
  */
6063
4072
  quantity_decimal?: Decimal;
6064
4073
  /**
6065
- * A list of up to 10 tax amounts for this line item. This can be useful if you calculate taxes on your own or use a third-party to calculate them. You cannot set tax amounts if any line item has [tax_rates](https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://docs.stripe.com/tax/invoicing). Pass an empty string to remove previously defined tax amounts.
4074
+ * A list of up to 20 tax amounts for this line item. This can be useful if you calculate taxes on your own or use a third-party to calculate them. You cannot set tax amounts if any line item has [tax_rates](https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://docs.stripe.com/tax/invoicing). Pass an empty string to remove previously defined tax amounts.
6066
4075
  */
6067
4076
  tax_amounts?: Emptyable<Array<InvoiceUpdateLineItemParams.TaxAmount>>;
6068
4077
  /**
@@ -6080,10 +4089,6 @@ export declare namespace InvoiceUpdateLineItemParams {
6080
4089
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
6081
4090
  */
6082
4091
  discount?: string;
6083
- /**
6084
- * Details to determine how long the discount should be applied for.
6085
- */
6086
- discount_end?: Discount.DiscountEnd;
6087
4092
  /**
6088
4093
  * ID of the promotion code to create a new discount for.
6089
4094
  */
@@ -6151,38 +4156,6 @@ export declare namespace InvoiceUpdateLineItemParams {
6151
4156
  */
6152
4157
  taxable_amount: number;
6153
4158
  }
6154
- namespace Discount {
6155
- interface DiscountEnd {
6156
- /**
6157
- * Time span for the redeemed discount.
6158
- */
6159
- duration?: DiscountEnd.Duration;
6160
- /**
6161
- * A precise Unix timestamp for the discount to end. Must be in the future.
6162
- */
6163
- timestamp?: number;
6164
- /**
6165
- * The type of calculation made to determine when the discount ends.
6166
- */
6167
- type: DiscountEnd.Type;
6168
- }
6169
- namespace DiscountEnd {
6170
- interface Duration {
6171
- /**
6172
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
6173
- */
6174
- interval: Duration.Interval;
6175
- /**
6176
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
6177
- */
6178
- interval_count: number;
6179
- }
6180
- type Type = 'duration' | 'timestamp';
6181
- namespace Duration {
6182
- type Interval = 'day' | 'month' | 'week' | 'year';
6183
- }
6184
- }
6185
- }
6186
4159
  namespace PriceData {
6187
4160
  interface ProductData {
6188
4161
  /**
@@ -6205,28 +4178,12 @@ export declare namespace InvoiceUpdateLineItemParams {
6205
4178
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
6206
4179
  */
6207
4180
  tax_code?: string;
6208
- /**
6209
- * Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
6210
- */
6211
- tax_details?: ProductData.TaxDetails;
6212
4181
  /**
6213
4182
  * A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
6214
4183
  */
6215
4184
  unit_label?: string;
6216
4185
  }
6217
4186
  type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
6218
- namespace ProductData {
6219
- interface TaxDetails {
6220
- /**
6221
- * A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
6222
- */
6223
- performance_location?: string;
6224
- /**
6225
- * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
6226
- */
6227
- tax_code?: Emptyable<string>;
6228
- }
6229
- }
6230
4187
  }
6231
4188
  namespace TaxAmount {
6232
4189
  interface TaxRateData {