stripe 22.4.0-alpha.5 → 22.4.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 (1584) hide show
  1. package/CHANGELOG.md +55 -3084
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +60 -44
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +0 -58
  6. package/cjs/Error.js +1 -135
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/Types.d.ts +2 -9
  9. package/cjs/Types.js.map +1 -1
  10. package/cjs/apiVersion.d.ts +2 -1
  11. package/cjs/apiVersion.js +3 -2
  12. package/cjs/apiVersion.js.map +1 -1
  13. package/cjs/resources/AccountLinks.d.ts +1 -5
  14. package/cjs/resources/AccountSessions.d.ts +16 -564
  15. package/cjs/resources/AccountSessions.js.map +1 -1
  16. package/cjs/resources/Accounts.d.ts +33 -1034
  17. package/cjs/resources/Accounts.js +9 -46
  18. package/cjs/resources/Accounts.js.map +1 -1
  19. package/cjs/resources/ApplicationFees.d.ts +1 -28
  20. package/cjs/resources/Balance.d.ts +0 -134
  21. package/cjs/resources/BalanceSettings.d.ts +0 -18
  22. package/cjs/resources/BalanceTransactions.d.ts +1 -1
  23. package/cjs/resources/BankAccounts.d.ts +2 -2
  24. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -55
  25. package/cjs/resources/Billing/Alerts.d.ts +5 -448
  26. package/cjs/resources/Billing/Alerts.js +5 -329
  27. package/cjs/resources/Billing/Alerts.js.map +1 -1
  28. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +3 -126
  29. package/cjs/resources/Billing/CreditBalanceSummary.js +1 -39
  30. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  31. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +3 -97
  32. package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -100
  33. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  34. package/cjs/resources/Billing/CreditGrants.d.ts +3 -85
  35. package/cjs/resources/Billing/CreditGrants.js +5 -134
  36. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  37. package/cjs/resources/Billing/MeterEventSummaries.d.ts +0 -6
  38. package/cjs/resources/Billing/Meters.d.ts +0 -31
  39. package/cjs/resources/Billing/index.d.ts +0 -10
  40. package/cjs/resources/Billing/index.js +0 -2
  41. package/cjs/resources/Billing/index.js.map +1 -1
  42. package/cjs/resources/Capabilities.d.ts +2 -25
  43. package/cjs/resources/Cards.d.ts +0 -28
  44. package/cjs/resources/Charges.d.ts +70 -3352
  45. package/cjs/resources/Charges.js.map +1 -1
  46. package/cjs/resources/Checkout/Sessions.d.ts +31 -1172
  47. package/cjs/resources/Checkout/Sessions.js +0 -115
  48. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  49. package/cjs/resources/Checkout/index.d.ts +0 -1
  50. package/cjs/resources/ConfirmationTokens.d.ts +1 -142
  51. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  52. package/cjs/resources/Coupons.d.ts +2 -128
  53. package/cjs/resources/Coupons.js +0 -41
  54. package/cjs/resources/Coupons.js.map +1 -1
  55. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  56. package/cjs/resources/CreditNotes.d.ts +1 -7
  57. package/cjs/resources/CreditNotes.js +0 -13
  58. package/cjs/resources/CreditNotes.js.map +1 -1
  59. package/cjs/resources/CustomerSessions.d.ts +0 -74
  60. package/cjs/resources/CustomerSessions.js +0 -13
  61. package/cjs/resources/CustomerSessions.js.map +1 -1
  62. package/cjs/resources/Customers.d.ts +5 -102
  63. package/cjs/resources/Customers.js +0 -195
  64. package/cjs/resources/Customers.js.map +1 -1
  65. package/cjs/resources/Discounts.d.ts +0 -19
  66. package/cjs/resources/Disputes.d.ts +0 -43
  67. package/cjs/resources/Disputes.js +0 -14
  68. package/cjs/resources/Disputes.js.map +1 -1
  69. package/cjs/resources/Events.d.ts +3 -574
  70. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  71. package/cjs/resources/ExternalAccounts.js +0 -44
  72. package/cjs/resources/ExternalAccounts.js.map +1 -1
  73. package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -69
  74. package/cjs/resources/FinancialConnections/Accounts.js +0 -8
  75. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  76. package/cjs/resources/FinancialConnections/Authorizations.d.ts +1 -46
  77. package/cjs/resources/FinancialConnections/Authorizations.js +0 -11
  78. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
  79. package/cjs/resources/FinancialConnections/Sessions.d.ts +36 -122
  80. package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
  81. package/cjs/resources/FinancialConnections/index.d.ts +9 -21
  82. package/cjs/resources/FinancialConnections/index.js +0 -4
  83. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  84. package/cjs/resources/Identity/VerificationReports.d.ts +2 -33
  85. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  86. package/cjs/resources/Identity/VerificationSessions.d.ts +3 -11
  87. package/cjs/resources/Identity/index.d.ts +10 -18
  88. package/cjs/resources/Identity/index.js +0 -2
  89. package/cjs/resources/Identity/index.js.map +1 -1
  90. package/cjs/resources/InvoiceItems.d.ts +3 -204
  91. package/cjs/resources/InvoiceItems.js +0 -41
  92. package/cjs/resources/InvoiceItems.js.map +1 -1
  93. package/cjs/resources/InvoiceLineItems.d.ts +4 -174
  94. package/cjs/resources/InvoiceRenderingTemplates.d.ts +0 -12
  95. package/cjs/resources/InvoiceRenderingTemplates.js +0 -28
  96. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  97. package/cjs/resources/Invoices.d.ts +28 -2128
  98. package/cjs/resources/Invoices.js +0 -221
  99. package/cjs/resources/Invoices.js.map +1 -1
  100. package/cjs/resources/Issuing/Authorizations.d.ts +1 -482
  101. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  102. package/cjs/resources/Issuing/Cardholders.d.ts +4 -18
  103. package/cjs/resources/Issuing/Cards.d.ts +8 -53
  104. package/cjs/resources/Issuing/Disputes.d.ts +0 -246
  105. package/cjs/resources/Issuing/Tokens.d.ts +0 -26
  106. package/cjs/resources/Issuing/Transactions.d.ts +0 -233
  107. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  108. package/cjs/resources/Issuing/index.d.ts +22 -56
  109. package/cjs/resources/Issuing/index.js +0 -8
  110. package/cjs/resources/Issuing/index.js.map +1 -1
  111. package/cjs/resources/LineItems.d.ts +2 -29
  112. package/cjs/resources/Mandates.d.ts +2 -47
  113. package/cjs/resources/Mandates.js +0 -8
  114. package/cjs/resources/Mandates.js.map +1 -1
  115. package/cjs/resources/PaymentAttemptRecords.d.ts +2 -664
  116. package/cjs/resources/PaymentAttemptRecords.js +0 -48
  117. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  118. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +0 -52
  119. package/cjs/resources/PaymentIntents.d.ts +6379 -20025
  120. package/cjs/resources/PaymentIntents.js +0 -46
  121. package/cjs/resources/PaymentIntents.js.map +1 -1
  122. package/cjs/resources/PaymentLinks.d.ts +75 -75
  123. package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -420
  124. package/cjs/resources/PaymentMethods.d.ts +4 -300
  125. package/cjs/resources/PaymentMethods.js +0 -20
  126. package/cjs/resources/PaymentMethods.js.map +1 -1
  127. package/cjs/resources/PaymentRecords.d.ts +31 -719
  128. package/cjs/resources/PaymentRecords.js +7 -17
  129. package/cjs/resources/PaymentRecords.js.map +1 -1
  130. package/cjs/resources/Persons.d.ts +2 -25
  131. package/cjs/resources/Plans.d.ts +0 -16
  132. package/cjs/resources/Prices.d.ts +1 -77
  133. package/cjs/resources/Prices.js +0 -27
  134. package/cjs/resources/Prices.js.map +1 -1
  135. package/cjs/resources/Products.d.ts +1 -199
  136. package/cjs/resources/Products.js +0 -69
  137. package/cjs/resources/Products.js.map +1 -1
  138. package/cjs/resources/PromotionCodes.d.ts +0 -12
  139. package/cjs/resources/PromotionCodes.js +0 -27
  140. package/cjs/resources/PromotionCodes.js.map +1 -1
  141. package/cjs/resources/Quotes.d.ts +139 -3389
  142. package/cjs/resources/Quotes.js +13 -1181
  143. package/cjs/resources/Quotes.js.map +1 -1
  144. package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -85
  145. package/cjs/resources/Radar/ValueListItems.d.ts +1 -39
  146. package/cjs/resources/Radar/ValueListItems.js +0 -13
  147. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  148. package/cjs/resources/Radar/index.d.ts +16 -36
  149. package/cjs/resources/Radar/index.js +0 -6
  150. package/cjs/resources/Radar/index.js.map +1 -1
  151. package/cjs/resources/Refunds.d.ts +14 -39
  152. package/cjs/resources/Refunds.js +0 -27
  153. package/cjs/resources/Refunds.js.map +1 -1
  154. package/cjs/resources/Reserve/Holds.d.ts +1 -53
  155. package/cjs/resources/Reserve/Holds.js +0 -19
  156. package/cjs/resources/Reserve/Holds.js.map +1 -1
  157. package/cjs/resources/Reserve/Plans.d.ts +0 -16
  158. package/cjs/resources/Reserve/Plans.js +0 -11
  159. package/cjs/resources/Reserve/Plans.js.map +1 -1
  160. package/cjs/resources/Reserve/Releases.d.ts +1 -41
  161. package/cjs/resources/Reserve/Releases.js +0 -19
  162. package/cjs/resources/Reserve/Releases.js.map +1 -1
  163. package/cjs/resources/Reserve/index.d.ts +6 -17
  164. package/cjs/resources/Reserve/index.js +0 -9
  165. package/cjs/resources/Reserve/index.js.map +1 -1
  166. package/cjs/resources/SetupAttempts.d.ts +1 -35
  167. package/cjs/resources/SetupAttempts.js.map +1 -1
  168. package/cjs/resources/SetupIntents.d.ts +34 -630
  169. package/cjs/resources/SetupIntents.js.map +1 -1
  170. package/cjs/resources/Sources.d.ts +1 -29
  171. package/cjs/resources/SubscriptionItems.d.ts +1 -266
  172. package/cjs/resources/SubscriptionItems.js +0 -41
  173. package/cjs/resources/SubscriptionItems.js.map +1 -1
  174. package/cjs/resources/SubscriptionSchedules.d.ts +116 -2377
  175. package/cjs/resources/SubscriptionSchedules.js +0 -61
  176. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  177. package/cjs/resources/Subscriptions.d.ts +13 -966
  178. package/cjs/resources/Subscriptions.js +0 -289
  179. package/cjs/resources/Subscriptions.js.map +1 -1
  180. package/cjs/resources/Tax/CalculationLineItems.d.ts +3 -14
  181. package/cjs/resources/Tax/Calculations.d.ts +7 -49
  182. package/cjs/resources/Tax/Registrations.d.ts +10 -159
  183. package/cjs/resources/Tax/Registrations.js +0 -27
  184. package/cjs/resources/Tax/Registrations.js.map +1 -1
  185. package/cjs/resources/Tax/Settings.d.ts +0 -8
  186. package/cjs/resources/Tax/Settings.js +0 -13
  187. package/cjs/resources/Tax/Settings.js.map +1 -1
  188. package/cjs/resources/Tax/Transactions.d.ts +2 -10
  189. package/cjs/resources/Tax/Transactions.js +0 -13
  190. package/cjs/resources/Tax/Transactions.js.map +1 -1
  191. package/cjs/resources/Tax/index.d.ts +13 -31
  192. package/cjs/resources/Tax/index.js +0 -4
  193. package/cjs/resources/Tax/index.js.map +1 -1
  194. package/cjs/resources/TaxCodes.d.ts +1 -16
  195. package/cjs/resources/TaxIds.d.ts +4 -10
  196. package/cjs/resources/TaxIds.js +0 -13
  197. package/cjs/resources/TaxIds.js.map +1 -1
  198. package/cjs/resources/TaxRates.d.ts +4 -16
  199. package/cjs/resources/TaxRates.js +0 -27
  200. package/cjs/resources/TaxRates.js.map +1 -1
  201. package/cjs/resources/Terminal/Configurations.d.ts +0 -27
  202. package/cjs/resources/Terminal/Readers.d.ts +2 -219
  203. package/cjs/resources/Terminal/Readers.js +0 -24
  204. package/cjs/resources/Terminal/Readers.js.map +1 -1
  205. package/cjs/resources/Terminal/index.d.ts +0 -9
  206. package/cjs/resources/Terminal/index.js +0 -2
  207. package/cjs/resources/Terminal/index.js.map +1 -1
  208. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +2 -101
  209. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +0 -18
  210. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +0 -26
  211. package/cjs/resources/TestHelpers/Issuing/index.d.ts +0 -2
  212. package/cjs/resources/TestHelpers/Issuing/index.js +0 -2
  213. package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
  214. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  215. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  216. package/cjs/resources/TestHelpers/index.d.ts +6 -14
  217. package/cjs/resources/TestHelpers/index.js +6 -12
  218. package/cjs/resources/TestHelpers/index.js.map +1 -1
  219. package/cjs/resources/Tokens.d.ts +2 -76
  220. package/cjs/resources/Topups.d.ts +28 -0
  221. package/cjs/resources/Topups.js.map +1 -1
  222. package/cjs/resources/Transfers.d.ts +0 -12
  223. package/cjs/resources/Transfers.js.map +1 -1
  224. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  225. package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
  226. package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
  227. package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
  228. package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
  229. package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
  230. package/cjs/resources/V2/Billing/index.d.ts +6 -175
  231. package/cjs/resources/V2/Billing/index.js +0 -32
  232. package/cjs/resources/V2/Billing/index.js.map +1 -1
  233. package/cjs/resources/V2/Core/AccountLinks.d.ts +6 -158
  234. package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
  235. package/cjs/resources/V2/Core/AccountTokens.d.ts +43 -220
  236. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  237. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  238. package/cjs/resources/V2/Core/Accounts.d.ts +3626 -17599
  239. package/cjs/resources/V2/Core/Accounts.js +38 -10364
  240. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  241. package/cjs/resources/V2/Core/Events.d.ts +234 -7743
  242. package/cjs/resources/V2/Core/index.d.ts +14 -66
  243. package/cjs/resources/V2/Core/index.js +0 -18
  244. package/cjs/resources/V2/Core/index.js.map +1 -1
  245. package/cjs/resources/V2/index.d.ts +0 -39
  246. package/cjs/resources/V2/index.js +0 -22
  247. package/cjs/resources/V2/index.js.map +1 -1
  248. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  249. package/cjs/resources.d.ts +0 -19
  250. package/cjs/resources.js +18 -282
  251. package/cjs/resources.js.map +1 -1
  252. package/cjs/stripe.cjs.node.d.ts +607 -14367
  253. package/cjs/stripe.cjs.node.js.map +1 -1
  254. package/cjs/stripe.core.d.ts +54 -158
  255. package/cjs/stripe.core.js +31 -72
  256. package/cjs/stripe.core.js.map +1 -1
  257. package/esm/Error.d.ts +0 -58
  258. package/esm/Error.js +0 -118
  259. package/esm/Error.js.map +1 -1
  260. package/esm/Types.d.ts +2 -9
  261. package/esm/Types.js.map +1 -1
  262. package/esm/apiVersion.d.ts +2 -1
  263. package/esm/apiVersion.js +2 -1
  264. package/esm/apiVersion.js.map +1 -1
  265. package/esm/resources/AccountLinks.d.ts +1 -5
  266. package/esm/resources/AccountSessions.d.ts +16 -564
  267. package/esm/resources/AccountSessions.js.map +1 -1
  268. package/esm/resources/Accounts.d.ts +33 -1034
  269. package/esm/resources/Accounts.js +9 -46
  270. package/esm/resources/Accounts.js.map +1 -1
  271. package/esm/resources/ApplicationFees.d.ts +1 -28
  272. package/esm/resources/Balance.d.ts +0 -134
  273. package/esm/resources/BalanceSettings.d.ts +0 -18
  274. package/esm/resources/BalanceTransactions.d.ts +1 -1
  275. package/esm/resources/BankAccounts.d.ts +2 -2
  276. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -55
  277. package/esm/resources/Billing/Alerts.d.ts +5 -448
  278. package/esm/resources/Billing/Alerts.js +5 -329
  279. package/esm/resources/Billing/Alerts.js.map +1 -1
  280. package/esm/resources/Billing/CreditBalanceSummary.d.ts +3 -126
  281. package/esm/resources/Billing/CreditBalanceSummary.js +1 -39
  282. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  283. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +3 -97
  284. package/esm/resources/Billing/CreditBalanceTransactions.js +1 -100
  285. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  286. package/esm/resources/Billing/CreditGrants.d.ts +3 -85
  287. package/esm/resources/Billing/CreditGrants.js +5 -134
  288. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  289. package/esm/resources/Billing/MeterEventSummaries.d.ts +0 -6
  290. package/esm/resources/Billing/Meters.d.ts +0 -31
  291. package/esm/resources/Billing/index.d.ts +0 -10
  292. package/esm/resources/Billing/index.js +0 -2
  293. package/esm/resources/Billing/index.js.map +1 -1
  294. package/esm/resources/Capabilities.d.ts +2 -25
  295. package/esm/resources/Cards.d.ts +0 -28
  296. package/esm/resources/Charges.d.ts +70 -3352
  297. package/esm/resources/Charges.js.map +1 -1
  298. package/esm/resources/Checkout/Sessions.d.ts +31 -1172
  299. package/esm/resources/Checkout/Sessions.js +0 -115
  300. package/esm/resources/Checkout/Sessions.js.map +1 -1
  301. package/esm/resources/Checkout/index.d.ts +0 -1
  302. package/esm/resources/ConfirmationTokens.d.ts +1 -142
  303. package/esm/resources/ConfirmationTokens.js.map +1 -1
  304. package/esm/resources/Coupons.d.ts +2 -128
  305. package/esm/resources/Coupons.js +0 -41
  306. package/esm/resources/Coupons.js.map +1 -1
  307. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  308. package/esm/resources/CreditNotes.d.ts +1 -7
  309. package/esm/resources/CreditNotes.js +0 -13
  310. package/esm/resources/CreditNotes.js.map +1 -1
  311. package/esm/resources/CustomerSessions.d.ts +0 -74
  312. package/esm/resources/CustomerSessions.js +0 -13
  313. package/esm/resources/CustomerSessions.js.map +1 -1
  314. package/esm/resources/Customers.d.ts +5 -102
  315. package/esm/resources/Customers.js +0 -195
  316. package/esm/resources/Customers.js.map +1 -1
  317. package/esm/resources/Discounts.d.ts +0 -19
  318. package/esm/resources/Disputes.d.ts +0 -43
  319. package/esm/resources/Disputes.js +0 -14
  320. package/esm/resources/Disputes.js.map +1 -1
  321. package/esm/resources/Events.d.ts +3 -574
  322. package/esm/resources/ExternalAccounts.d.ts +1 -212
  323. package/esm/resources/ExternalAccounts.js +1 -42
  324. package/esm/resources/ExternalAccounts.js.map +1 -1
  325. package/esm/resources/FinancialConnections/Accounts.d.ts +4 -69
  326. package/esm/resources/FinancialConnections/Accounts.js +0 -8
  327. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  328. package/esm/resources/FinancialConnections/Authorizations.d.ts +1 -46
  329. package/esm/resources/FinancialConnections/Authorizations.js +1 -9
  330. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
  331. package/esm/resources/FinancialConnections/Sessions.d.ts +36 -122
  332. package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
  333. package/esm/resources/FinancialConnections/index.d.ts +9 -21
  334. package/esm/resources/FinancialConnections/index.js +0 -4
  335. package/esm/resources/FinancialConnections/index.js.map +1 -1
  336. package/esm/resources/Identity/VerificationReports.d.ts +2 -33
  337. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  338. package/esm/resources/Identity/VerificationSessions.d.ts +3 -11
  339. package/esm/resources/Identity/index.d.ts +10 -18
  340. package/esm/resources/Identity/index.js +0 -2
  341. package/esm/resources/Identity/index.js.map +1 -1
  342. package/esm/resources/InvoiceItems.d.ts +3 -204
  343. package/esm/resources/InvoiceItems.js +0 -41
  344. package/esm/resources/InvoiceItems.js.map +1 -1
  345. package/esm/resources/InvoiceLineItems.d.ts +4 -174
  346. package/esm/resources/InvoiceRenderingTemplates.d.ts +0 -12
  347. package/esm/resources/InvoiceRenderingTemplates.js +0 -28
  348. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  349. package/esm/resources/Invoices.d.ts +28 -2128
  350. package/esm/resources/Invoices.js +0 -221
  351. package/esm/resources/Invoices.js.map +1 -1
  352. package/esm/resources/Issuing/Authorizations.d.ts +1 -482
  353. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  354. package/esm/resources/Issuing/Cardholders.d.ts +4 -18
  355. package/esm/resources/Issuing/Cards.d.ts +8 -53
  356. package/esm/resources/Issuing/Disputes.d.ts +0 -246
  357. package/esm/resources/Issuing/Tokens.d.ts +0 -26
  358. package/esm/resources/Issuing/Transactions.d.ts +0 -233
  359. package/esm/resources/Issuing/Transactions.js.map +1 -1
  360. package/esm/resources/Issuing/index.d.ts +22 -56
  361. package/esm/resources/Issuing/index.js +0 -8
  362. package/esm/resources/Issuing/index.js.map +1 -1
  363. package/esm/resources/LineItems.d.ts +2 -29
  364. package/esm/resources/Mandates.d.ts +2 -47
  365. package/esm/resources/Mandates.js +0 -8
  366. package/esm/resources/Mandates.js.map +1 -1
  367. package/esm/resources/PaymentAttemptRecords.d.ts +2 -664
  368. package/esm/resources/PaymentAttemptRecords.js +0 -48
  369. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  370. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +0 -52
  371. package/esm/resources/PaymentIntents.d.ts +6379 -20025
  372. package/esm/resources/PaymentIntents.js +0 -46
  373. package/esm/resources/PaymentIntents.js.map +1 -1
  374. package/esm/resources/PaymentLinks.d.ts +75 -75
  375. package/esm/resources/PaymentMethodConfigurations.d.ts +0 -420
  376. package/esm/resources/PaymentMethods.d.ts +4 -300
  377. package/esm/resources/PaymentMethods.js +0 -20
  378. package/esm/resources/PaymentMethods.js.map +1 -1
  379. package/esm/resources/PaymentRecords.d.ts +31 -719
  380. package/esm/resources/PaymentRecords.js +7 -17
  381. package/esm/resources/PaymentRecords.js.map +1 -1
  382. package/esm/resources/Persons.d.ts +2 -25
  383. package/esm/resources/Plans.d.ts +0 -16
  384. package/esm/resources/Prices.d.ts +1 -77
  385. package/esm/resources/Prices.js +0 -27
  386. package/esm/resources/Prices.js.map +1 -1
  387. package/esm/resources/Products.d.ts +1 -199
  388. package/esm/resources/Products.js +0 -69
  389. package/esm/resources/Products.js.map +1 -1
  390. package/esm/resources/PromotionCodes.d.ts +0 -12
  391. package/esm/resources/PromotionCodes.js +0 -27
  392. package/esm/resources/PromotionCodes.js.map +1 -1
  393. package/esm/resources/Quotes.d.ts +139 -3389
  394. package/esm/resources/Quotes.js +13 -1181
  395. package/esm/resources/Quotes.js.map +1 -1
  396. package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -85
  397. package/esm/resources/Radar/ValueListItems.d.ts +1 -39
  398. package/esm/resources/Radar/ValueListItems.js +0 -13
  399. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  400. package/esm/resources/Radar/index.d.ts +16 -36
  401. package/esm/resources/Radar/index.js +0 -6
  402. package/esm/resources/Radar/index.js.map +1 -1
  403. package/esm/resources/Refunds.d.ts +14 -39
  404. package/esm/resources/Refunds.js +0 -27
  405. package/esm/resources/Refunds.js.map +1 -1
  406. package/esm/resources/Reserve/Holds.d.ts +1 -53
  407. package/esm/resources/Reserve/Holds.js +1 -17
  408. package/esm/resources/Reserve/Holds.js.map +1 -1
  409. package/esm/resources/Reserve/Plans.d.ts +0 -16
  410. package/esm/resources/Reserve/Plans.js +1 -9
  411. package/esm/resources/Reserve/Plans.js.map +1 -1
  412. package/esm/resources/Reserve/Releases.d.ts +1 -41
  413. package/esm/resources/Reserve/Releases.js +1 -17
  414. package/esm/resources/Reserve/Releases.js.map +1 -1
  415. package/esm/resources/Reserve/index.d.ts +6 -17
  416. package/esm/resources/Reserve/index.js +0 -9
  417. package/esm/resources/Reserve/index.js.map +1 -1
  418. package/esm/resources/SetupAttempts.d.ts +1 -35
  419. package/esm/resources/SetupAttempts.js.map +1 -1
  420. package/esm/resources/SetupIntents.d.ts +34 -630
  421. package/esm/resources/SetupIntents.js.map +1 -1
  422. package/esm/resources/Sources.d.ts +1 -29
  423. package/esm/resources/SubscriptionItems.d.ts +1 -266
  424. package/esm/resources/SubscriptionItems.js +0 -41
  425. package/esm/resources/SubscriptionItems.js.map +1 -1
  426. package/esm/resources/SubscriptionSchedules.d.ts +116 -2377
  427. package/esm/resources/SubscriptionSchedules.js +0 -61
  428. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  429. package/esm/resources/Subscriptions.d.ts +13 -966
  430. package/esm/resources/Subscriptions.js +0 -289
  431. package/esm/resources/Subscriptions.js.map +1 -1
  432. package/esm/resources/Tax/CalculationLineItems.d.ts +3 -14
  433. package/esm/resources/Tax/Calculations.d.ts +7 -49
  434. package/esm/resources/Tax/Registrations.d.ts +10 -159
  435. package/esm/resources/Tax/Registrations.js +0 -27
  436. package/esm/resources/Tax/Registrations.js.map +1 -1
  437. package/esm/resources/Tax/Settings.d.ts +0 -8
  438. package/esm/resources/Tax/Settings.js +0 -13
  439. package/esm/resources/Tax/Settings.js.map +1 -1
  440. package/esm/resources/Tax/Transactions.d.ts +2 -10
  441. package/esm/resources/Tax/Transactions.js +0 -13
  442. package/esm/resources/Tax/Transactions.js.map +1 -1
  443. package/esm/resources/Tax/index.d.ts +13 -31
  444. package/esm/resources/Tax/index.js +0 -4
  445. package/esm/resources/Tax/index.js.map +1 -1
  446. package/esm/resources/TaxCodes.d.ts +1 -16
  447. package/esm/resources/TaxIds.d.ts +4 -10
  448. package/esm/resources/TaxIds.js +0 -13
  449. package/esm/resources/TaxIds.js.map +1 -1
  450. package/esm/resources/TaxRates.d.ts +4 -16
  451. package/esm/resources/TaxRates.js +0 -27
  452. package/esm/resources/TaxRates.js.map +1 -1
  453. package/esm/resources/Terminal/Configurations.d.ts +0 -27
  454. package/esm/resources/Terminal/Readers.d.ts +2 -219
  455. package/esm/resources/Terminal/Readers.js +0 -24
  456. package/esm/resources/Terminal/Readers.js.map +1 -1
  457. package/esm/resources/Terminal/index.d.ts +0 -9
  458. package/esm/resources/Terminal/index.js +0 -2
  459. package/esm/resources/Terminal/index.js.map +1 -1
  460. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +2 -101
  461. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +0 -18
  462. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +0 -26
  463. package/esm/resources/TestHelpers/Issuing/index.d.ts +0 -2
  464. package/esm/resources/TestHelpers/Issuing/index.js +0 -2
  465. package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
  466. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  467. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  468. package/esm/resources/TestHelpers/index.d.ts +6 -14
  469. package/esm/resources/TestHelpers/index.js +0 -6
  470. package/esm/resources/TestHelpers/index.js.map +1 -1
  471. package/esm/resources/Tokens.d.ts +2 -76
  472. package/esm/resources/Topups.d.ts +28 -0
  473. package/esm/resources/Topups.js.map +1 -1
  474. package/esm/resources/Transfers.d.ts +0 -12
  475. package/esm/resources/Transfers.js.map +1 -1
  476. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  477. package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
  478. package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
  479. package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
  480. package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
  481. package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
  482. package/esm/resources/V2/Billing/index.d.ts +6 -175
  483. package/esm/resources/V2/Billing/index.js +0 -32
  484. package/esm/resources/V2/Billing/index.js.map +1 -1
  485. package/esm/resources/V2/Core/AccountLinks.d.ts +6 -158
  486. package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
  487. package/esm/resources/V2/Core/AccountTokens.d.ts +43 -220
  488. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  489. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  490. package/esm/resources/V2/Core/Accounts.d.ts +3626 -17599
  491. package/esm/resources/V2/Core/Accounts.js +38 -10364
  492. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  493. package/esm/resources/V2/Core/Events.d.ts +234 -7743
  494. package/esm/resources/V2/Core/index.d.ts +14 -66
  495. package/esm/resources/V2/Core/index.js +0 -18
  496. package/esm/resources/V2/Core/index.js.map +1 -1
  497. package/esm/resources/V2/index.d.ts +0 -39
  498. package/esm/resources/V2/index.js +0 -22
  499. package/esm/resources/V2/index.js.map +1 -1
  500. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  501. package/esm/resources.d.ts +0 -19
  502. package/esm/resources.js +0 -253
  503. package/esm/resources.js.map +1 -1
  504. package/esm/stripe.core.d.ts +54 -158
  505. package/esm/stripe.core.js +2 -43
  506. package/esm/stripe.core.js.map +1 -1
  507. package/esm/stripe.esm.node.d.ts +54 -158
  508. package/esm/stripe.esm.node.js +2 -43
  509. package/esm/stripe.esm.node.js.map +1 -1
  510. package/package.json +1 -1
  511. package/cjs/StripeEventNotificationHandler.d.ts +0 -19
  512. package/cjs/StripeEventNotificationHandler.js +0 -481
  513. package/cjs/StripeEventNotificationHandler.js.map +0 -1
  514. package/cjs/resources/AccountNotices.d.ts +0 -140
  515. package/cjs/resources/AccountNotices.js +0 -29
  516. package/cjs/resources/AccountNotices.js.map +0 -1
  517. package/cjs/resources/AccountSignals.d.ts +0 -111
  518. package/cjs/resources/AccountSignals.js +0 -4
  519. package/cjs/resources/AccountSignals.js.map +0 -1
  520. package/cjs/resources/BalanceTransfers.d.ts +0 -160
  521. package/cjs/resources/BalanceTransfers.js +0 -15
  522. package/cjs/resources/BalanceTransfers.js.map +0 -1
  523. package/cjs/resources/Billing/AlertNotifications.d.ts +0 -75
  524. package/cjs/resources/Billing/AlertNotifications.js +0 -4
  525. package/cjs/resources/Billing/AlertNotifications.js.map +0 -1
  526. package/cjs/resources/Billing/AlertRecovereds.d.ts +0 -56
  527. package/cjs/resources/Billing/AlertRecovereds.js +0 -4
  528. package/cjs/resources/Billing/AlertRecovereds.js.map +0 -1
  529. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -88
  530. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  531. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  532. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -38
  533. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  534. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  535. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  536. package/cjs/resources/Billing/Analytics/index.js +0 -13
  537. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  538. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -194
  539. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  540. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  541. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -102
  542. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  543. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  544. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -141
  545. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  546. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  547. package/cjs/resources/Capital/index.d.ts +0 -25
  548. package/cjs/resources/Capital/index.js +0 -17
  549. package/cjs/resources/Capital/index.js.map +0 -1
  550. package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +0 -30
  551. package/cjs/resources/Crypto/CustomerConsumerWallets.js +0 -4
  552. package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +0 -1
  553. package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +0 -80
  554. package/cjs/resources/Crypto/CustomerPaymentTokens.js +0 -4
  555. package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +0 -1
  556. package/cjs/resources/Crypto/Customers.d.ts +0 -111
  557. package/cjs/resources/Crypto/Customers.js +0 -31
  558. package/cjs/resources/Crypto/Customers.js.map +0 -1
  559. package/cjs/resources/Crypto/DepositAddresses.d.ts +0 -89
  560. package/cjs/resources/Crypto/DepositAddresses.js +0 -31
  561. package/cjs/resources/Crypto/DepositAddresses.js.map +0 -1
  562. package/cjs/resources/Crypto/OnrampSessions.d.ts +0 -417
  563. package/cjs/resources/Crypto/OnrampSessions.js +0 -47
  564. package/cjs/resources/Crypto/OnrampSessions.js.map +0 -1
  565. package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +0 -61
  566. package/cjs/resources/Crypto/OnrampTransactionLimits.js +0 -15
  567. package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +0 -1
  568. package/cjs/resources/Crypto/index.d.ts +0 -41
  569. package/cjs/resources/Crypto/index.js +0 -19
  570. package/cjs/resources/Crypto/index.js.map +0 -1
  571. package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +0 -129
  572. package/cjs/resources/DelegatedCheckout/OrderEvents.js +0 -4
  573. package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +0 -1
  574. package/cjs/resources/DelegatedCheckout/Orders.d.ts +0 -159
  575. package/cjs/resources/DelegatedCheckout/Orders.js +0 -15
  576. package/cjs/resources/DelegatedCheckout/Orders.js.map +0 -1
  577. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +0 -1420
  578. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +0 -47
  579. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +0 -1
  580. package/cjs/resources/DelegatedCheckout/index.d.ts +0 -25
  581. package/cjs/resources/DelegatedCheckout/index.js +0 -15
  582. package/cjs/resources/DelegatedCheckout/index.js.map +0 -1
  583. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  584. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  585. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  586. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -99
  587. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  588. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  589. package/cjs/resources/FxQuotes.d.ts +0 -212
  590. package/cjs/resources/FxQuotes.js +0 -29
  591. package/cjs/resources/FxQuotes.js.map +0 -1
  592. package/cjs/resources/GiftCardOperations.d.ts +0 -249
  593. package/cjs/resources/GiftCardOperations.js +0 -15
  594. package/cjs/resources/GiftCardOperations.js.map +0 -1
  595. package/cjs/resources/GiftCards.d.ts +0 -187
  596. package/cjs/resources/GiftCards.js +0 -51
  597. package/cjs/resources/GiftCards.js.map +0 -1
  598. package/cjs/resources/Identity/BlocklistEntries.d.ts +0 -155
  599. package/cjs/resources/Identity/BlocklistEntries.js +0 -54
  600. package/cjs/resources/Identity/BlocklistEntries.js.map +0 -1
  601. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -654
  602. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -53
  603. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  604. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
  605. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  606. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  607. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  608. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  609. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  610. package/cjs/resources/Issuing/Programs.d.ts +0 -95
  611. package/cjs/resources/Issuing/Programs.js +0 -35
  612. package/cjs/resources/Issuing/Programs.js.map +0 -1
  613. package/cjs/resources/Issuing/Settlements.d.ts +0 -83
  614. package/cjs/resources/Issuing/Settlements.js +0 -4
  615. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  616. package/cjs/resources/Margins.d.ts +0 -115
  617. package/cjs/resources/Margins.js +0 -35
  618. package/cjs/resources/Margins.js.map +0 -1
  619. package/cjs/resources/Orchestration/PaymentAttempts.d.ts +0 -34
  620. package/cjs/resources/Orchestration/PaymentAttempts.js +0 -15
  621. package/cjs/resources/Orchestration/PaymentAttempts.js.map +0 -1
  622. package/cjs/resources/Orchestration/index.d.ts +0 -12
  623. package/cjs/resources/Orchestration/index.js +0 -13
  624. package/cjs/resources/Orchestration/index.js.map +0 -1
  625. package/cjs/resources/Orders.d.ts +0 -4773
  626. package/cjs/resources/Orders.js +0 -457
  627. package/cjs/resources/Orders.js.map +0 -1
  628. package/cjs/resources/PaymentLocationCapabilities.d.ts +0 -123
  629. package/cjs/resources/PaymentLocationCapabilities.js +0 -29
  630. package/cjs/resources/PaymentLocationCapabilities.js.map +0 -1
  631. package/cjs/resources/PaymentLocations.d.ts +0 -178
  632. package/cjs/resources/PaymentLocations.js +0 -41
  633. package/cjs/resources/PaymentLocations.js.map +0 -1
  634. package/cjs/resources/PaymentMethodBalances.d.ts +0 -46
  635. package/cjs/resources/PaymentMethodBalances.js +0 -4
  636. package/cjs/resources/PaymentMethodBalances.js.map +0 -1
  637. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
  638. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  639. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  640. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -227
  641. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  642. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  643. package/cjs/resources/Privacy/index.d.ts +0 -22
  644. package/cjs/resources/Privacy/index.js +0 -13
  645. package/cjs/resources/Privacy/index.js.map +0 -1
  646. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -126
  647. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
  648. package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
  649. package/cjs/resources/ProductCatalog/index.d.ts +0 -12
  650. package/cjs/resources/ProductCatalog/index.js +0 -13
  651. package/cjs/resources/ProductCatalog/index.js.map +0 -1
  652. package/cjs/resources/Profiles.d.ts +0 -68
  653. package/cjs/resources/Profiles.js +0 -4
  654. package/cjs/resources/Profiles.js.map +0 -1
  655. package/cjs/resources/QuoteLines.d.ts +0 -684
  656. package/cjs/resources/QuoteLines.js +0 -4
  657. package/cjs/resources/QuoteLines.js.map +0 -1
  658. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1179
  659. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  660. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  661. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -1045
  662. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  663. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  664. package/cjs/resources/Radar/AccountEvaluations.d.ts +0 -308
  665. package/cjs/resources/Radar/AccountEvaluations.js +0 -27
  666. package/cjs/resources/Radar/AccountEvaluations.js.map +0 -1
  667. package/cjs/resources/Radar/CustomerEvaluations.d.ts +0 -245
  668. package/cjs/resources/Radar/CustomerEvaluations.js +0 -27
  669. package/cjs/resources/Radar/CustomerEvaluations.js.map +0 -1
  670. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +0 -433
  671. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +0 -15
  672. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +0 -1
  673. package/cjs/resources/RiskSignals.d.ts +0 -10
  674. package/cjs/resources/RiskSignals.js +0 -4
  675. package/cjs/resources/RiskSignals.js.map +0 -1
  676. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -425
  677. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  678. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  679. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -336
  680. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  681. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  682. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  683. package/cjs/resources/SharedPayment/index.js +0 -15
  684. package/cjs/resources/SharedPayment/index.js.map +0 -1
  685. package/cjs/resources/Tax/Forms.d.ts +0 -228
  686. package/cjs/resources/Tax/Forms.js +0 -32
  687. package/cjs/resources/Tax/Forms.js.map +0 -1
  688. package/cjs/resources/Tax/Locations.d.ts +0 -108
  689. package/cjs/resources/Tax/Locations.js +0 -33
  690. package/cjs/resources/Tax/Locations.js.map +0 -1
  691. package/cjs/resources/TaxFunds.d.ts +0 -174
  692. package/cjs/resources/TaxFunds.js +0 -23
  693. package/cjs/resources/TaxFunds.js.map +0 -1
  694. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -50
  695. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  696. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  697. package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +0 -81
  698. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +0 -21
  699. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +0 -1
  700. package/cjs/resources/TestHelpers/Capital/index.d.ts +0 -8
  701. package/cjs/resources/TestHelpers/Capital/index.js +0 -13
  702. package/cjs/resources/TestHelpers/Capital/index.js.map +0 -1
  703. package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +0 -127
  704. package/cjs/resources/TestHelpers/Issuing/Disputes.js +0 -39
  705. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +0 -1
  706. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +0 -38
  707. package/cjs/resources/TestHelpers/PaymentIntents.js +0 -15
  708. package/cjs/resources/TestHelpers/PaymentIntents.js.map +0 -1
  709. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -75
  710. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  711. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  712. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  713. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  714. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  715. package/cjs/resources/TransitBalances.d.ts +0 -25
  716. package/cjs/resources/TransitBalances.js +0 -4
  717. package/cjs/resources/TransitBalances.js.map +0 -1
  718. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
  719. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  720. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  721. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  722. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  723. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  724. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -281
  725. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  726. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  727. package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +0 -84
  728. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +0 -4
  729. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +0 -1
  730. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +0 -37
  731. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +0 -23
  732. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +0 -1
  733. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -1011
  734. package/cjs/resources/V2/Billing/Cadences.js +0 -264
  735. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  736. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
  737. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  738. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  739. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  740. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  741. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  742. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -776
  743. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  744. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  745. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +0 -47
  746. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +0 -4
  747. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +0 -1
  748. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +0 -23
  749. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +0 -29
  750. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +0 -1
  751. package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +0 -8
  752. package/cjs/resources/V2/Billing/Contracts/PricingLines.js +0 -15
  753. package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +0 -1
  754. package/cjs/resources/V2/Billing/Contracts.d.ts +0 -1484
  755. package/cjs/resources/V2/Billing/Contracts.js +0 -331
  756. package/cjs/resources/V2/Billing/Contracts.js.map +0 -1
  757. package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +0 -125
  758. package/cjs/resources/V2/Billing/CustomPricingUnits.js +0 -35
  759. package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +0 -1
  760. package/cjs/resources/V2/Billing/IntentActions.d.ts +0 -603
  761. package/cjs/resources/V2/Billing/IntentActions.js +0 -4
  762. package/cjs/resources/V2/Billing/IntentActions.js.map +0 -1
  763. package/cjs/resources/V2/Billing/Intents/Actions.d.ts +0 -33
  764. package/cjs/resources/V2/Billing/Intents/Actions.js +0 -70
  765. package/cjs/resources/V2/Billing/Intents/Actions.js.map +0 -1
  766. package/cjs/resources/V2/Billing/Intents.d.ts +0 -1253
  767. package/cjs/resources/V2/Billing/Intents.js +0 -87
  768. package/cjs/resources/V2/Billing/Intents.js.map +0 -1
  769. package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +0 -78
  770. package/cjs/resources/V2/Billing/LicenseFeeVersions.js +0 -4
  771. package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +0 -1
  772. package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +0 -33
  773. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -64
  774. package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +0 -1
  775. package/cjs/resources/V2/Billing/LicenseFees.d.ts +0 -360
  776. package/cjs/resources/V2/Billing/LicenseFees.js +0 -148
  777. package/cjs/resources/V2/Billing/LicenseFees.js.map +0 -1
  778. package/cjs/resources/V2/Billing/LicensedItems.d.ts +0 -170
  779. package/cjs/resources/V2/Billing/LicensedItems.js +0 -35
  780. package/cjs/resources/V2/Billing/LicensedItems.js.map +0 -1
  781. package/cjs/resources/V2/Billing/MeteredItems.d.ts +0 -218
  782. package/cjs/resources/V2/Billing/MeteredItems.js +0 -35
  783. package/cjs/resources/V2/Billing/MeteredItems.js.map +0 -1
  784. package/cjs/resources/V2/Billing/OneTimeItems.d.ts +0 -170
  785. package/cjs/resources/V2/Billing/OneTimeItems.js +0 -35
  786. package/cjs/resources/V2/Billing/OneTimeItems.js.map +0 -1
  787. package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +0 -80
  788. package/cjs/resources/V2/Billing/PricingPlanComponents.js +0 -4
  789. package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +0 -1
  790. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +0 -620
  791. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -296
  792. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +0 -1
  793. package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +0 -30
  794. package/cjs/resources/V2/Billing/PricingPlanVersions.js +0 -4
  795. package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +0 -1
  796. package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +0 -142
  797. package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -41
  798. package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +0 -1
  799. package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +0 -33
  800. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -23
  801. package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +0 -1
  802. package/cjs/resources/V2/Billing/PricingPlans.d.ts +0 -169
  803. package/cjs/resources/V2/Billing/PricingPlans.js +0 -43
  804. package/cjs/resources/V2/Billing/PricingPlans.js.map +0 -1
  805. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -162
  806. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  807. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  808. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +0 -45
  809. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +0 -4
  810. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +0 -1
  811. package/cjs/resources/V2/Billing/RateCardRates.d.ts +0 -111
  812. package/cjs/resources/V2/Billing/RateCardRates.js +0 -4
  813. package/cjs/resources/V2/Billing/RateCardRates.js.map +0 -1
  814. package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +0 -215
  815. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -41
  816. package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +0 -1
  817. package/cjs/resources/V2/Billing/RateCardVersions.d.ts +0 -22
  818. package/cjs/resources/V2/Billing/RateCardVersions.js +0 -4
  819. package/cjs/resources/V2/Billing/RateCardVersions.js.map +0 -1
  820. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +0 -79
  821. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +0 -35
  822. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +0 -1
  823. package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +0 -145
  824. package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -110
  825. package/cjs/resources/V2/Billing/RateCards/Rates.js.map +0 -1
  826. package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +0 -33
  827. package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -23
  828. package/cjs/resources/V2/Billing/RateCards/Versions.js.map +0 -1
  829. package/cjs/resources/V2/Billing/RateCards.d.ts +0 -336
  830. package/cjs/resources/V2/Billing/RateCards.js +0 -76
  831. package/cjs/resources/V2/Billing/RateCards.js.map +0 -1
  832. package/cjs/resources/V2/Billing/ServiceActions.d.ts +0 -510
  833. package/cjs/resources/V2/Billing/ServiceActions.js +0 -162
  834. package/cjs/resources/V2/Billing/ServiceActions.js.map +0 -1
  835. package/cjs/resources/V2/Core/AccountEvaluations.d.ts +0 -156
  836. package/cjs/resources/V2/Core/AccountEvaluations.js +0 -15
  837. package/cjs/resources/V2/Core/AccountEvaluations.js.map +0 -1
  838. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +0 -331
  839. package/cjs/resources/V2/Core/ApprovalRequests.js +0 -46
  840. package/cjs/resources/V2/Core/ApprovalRequests.js.map +0 -1
  841. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -360
  842. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  843. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  844. package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +0 -225
  845. package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -31
  846. package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +0 -1
  847. package/cjs/resources/V2/Core/ConnectionSessions.d.ts +0 -86
  848. package/cjs/resources/V2/Core/ConnectionSessions.js +0 -21
  849. package/cjs/resources/V2/Core/ConnectionSessions.js.map +0 -1
  850. package/cjs/resources/V2/Core/FeeBatches.d.ts +0 -234
  851. package/cjs/resources/V2/Core/FeeBatches.js +0 -23
  852. package/cjs/resources/V2/Core/FeeBatches.js.map +0 -1
  853. package/cjs/resources/V2/Core/FeeEntries.d.ts +0 -200
  854. package/cjs/resources/V2/Core/FeeEntries.js +0 -23
  855. package/cjs/resources/V2/Core/FeeEntries.js.map +0 -1
  856. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +0 -416
  857. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +0 -4
  858. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +0 -1
  859. package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +0 -23
  860. package/cjs/resources/V2/Core/Health/Alerts/History.js +0 -101
  861. package/cjs/resources/V2/Core/Health/Alerts/History.js.map +0 -1
  862. package/cjs/resources/V2/Core/Health/Alerts.d.ts +0 -530
  863. package/cjs/resources/V2/Core/Health/Alerts.js +0 -182
  864. package/cjs/resources/V2/Core/Health/Alerts.js.map +0 -1
  865. package/cjs/resources/V2/Core/Health/index.d.ts +0 -16
  866. package/cjs/resources/V2/Core/Health/index.js +0 -13
  867. package/cjs/resources/V2/Core/Health/index.js.map +0 -1
  868. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -280
  869. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  870. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  871. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -252
  872. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -65
  873. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  874. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  875. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  876. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  877. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +0 -74
  878. package/cjs/resources/V2/Data/Analytics/MetricQuery.js +0 -36
  879. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +0 -1
  880. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +0 -76
  881. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +0 -4
  882. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +0 -1
  883. package/cjs/resources/V2/Data/Analytics/index.d.ts +0 -12
  884. package/cjs/resources/V2/Data/Analytics/index.js +0 -13
  885. package/cjs/resources/V2/Data/Analytics/index.js.map +0 -1
  886. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -172
  887. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  888. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  889. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  890. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  891. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  892. package/cjs/resources/V2/Data/index.d.ts +0 -13
  893. package/cjs/resources/V2/Data/index.js +0 -15
  894. package/cjs/resources/V2/Data/index.js.map +0 -1
  895. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
  896. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  897. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  898. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -120
  899. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  900. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  901. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  902. package/cjs/resources/V2/Extend/index.js +0 -15
  903. package/cjs/resources/V2/Extend/index.js.map +0 -1
  904. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  905. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  906. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  907. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  908. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  909. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  910. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -211
  911. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
  912. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  913. package/cjs/resources/V2/Iam/ApiKeys.d.ts +0 -305
  914. package/cjs/resources/V2/Iam/ApiKeys.js +0 -47
  915. package/cjs/resources/V2/Iam/ApiKeys.js.map +0 -1
  916. package/cjs/resources/V2/Iam/index.d.ts +0 -23
  917. package/cjs/resources/V2/Iam/index.js +0 -15
  918. package/cjs/resources/V2/Iam/index.js.map +0 -1
  919. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  920. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  921. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  922. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +0 -131
  923. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +0 -31
  924. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +0 -1
  925. package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +0 -168
  926. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +0 -29
  927. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +0 -1
  928. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +0 -99
  929. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +0 -4
  930. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +0 -1
  931. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +0 -44
  932. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +0 -53
  933. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +0 -1
  934. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -449
  935. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -50
  936. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  937. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +0 -14
  938. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +0 -4
  939. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +0 -1
  940. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -304
  941. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  942. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  943. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -251
  944. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  945. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  946. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -219
  947. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  948. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  949. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -638
  950. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  951. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  952. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -318
  953. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  954. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  955. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -394
  956. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  957. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  958. package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +0 -525
  959. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +0 -44
  960. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +0 -1
  961. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -277
  962. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
  963. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  964. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
  965. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  966. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  967. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -481
  968. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  969. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  970. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -264
  971. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  972. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  973. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +0 -116
  974. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +0 -27
  975. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +0 -1
  976. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +0 -30
  977. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -15
  978. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +0 -1
  979. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
  980. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +0 -13
  981. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
  982. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -266
  983. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  984. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  985. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -297
  986. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
  987. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  988. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -143
  989. package/cjs/resources/V2/MoneyManagement/index.js +0 -49
  990. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  991. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -92
  992. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  993. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  994. package/cjs/resources/V2/Network/index.d.ts +0 -13
  995. package/cjs/resources/V2/Network/index.js +0 -13
  996. package/cjs/resources/V2/Network/index.js.map +0 -1
  997. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
  998. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  999. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1000. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1001. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  1002. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1003. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +0 -823
  1004. package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -53
  1005. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +0 -1
  1006. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +0 -73
  1007. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +0 -4
  1008. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +0 -1
  1009. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +0 -85
  1010. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +0 -35
  1011. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +0 -1
  1012. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +0 -209
  1013. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +0 -53
  1014. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +0 -1
  1015. package/cjs/resources/V2/Payments/index.d.ts +0 -31
  1016. package/cjs/resources/V2/Payments/index.js +0 -15
  1017. package/cjs/resources/V2/Payments/index.js.map +0 -1
  1018. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +0 -191
  1019. package/cjs/resources/V2/Reporting/ReportRuns.js +0 -50
  1020. package/cjs/resources/V2/Reporting/ReportRuns.js.map +0 -1
  1021. package/cjs/resources/V2/Reporting/Reports.d.ts +0 -106
  1022. package/cjs/resources/V2/Reporting/Reports.js +0 -17
  1023. package/cjs/resources/V2/Reporting/Reports.js.map +0 -1
  1024. package/cjs/resources/V2/Reporting/index.d.ts +0 -18
  1025. package/cjs/resources/V2/Reporting/index.js +0 -15
  1026. package/cjs/resources/V2/Reporting/index.js.map +0 -1
  1027. package/cjs/resources/V2/Signals/AccountSignals.d.ts +0 -172
  1028. package/cjs/resources/V2/Signals/AccountSignals.js +0 -58
  1029. package/cjs/resources/V2/Signals/AccountSignals.js.map +0 -1
  1030. package/cjs/resources/V2/Signals/index.d.ts +0 -13
  1031. package/cjs/resources/V2/Signals/index.js +0 -13
  1032. package/cjs/resources/V2/Signals/index.js.map +0 -1
  1033. package/cjs/resources/V2/Tax/ManualRules.d.ts +0 -331
  1034. package/cjs/resources/V2/Tax/ManualRules.js +0 -193
  1035. package/cjs/resources/V2/Tax/ManualRules.js.map +0 -1
  1036. package/cjs/resources/V2/Tax/index.d.ts +0 -16
  1037. package/cjs/resources/V2/Tax/index.js +0 -13
  1038. package/cjs/resources/V2/Tax/index.js.map +0 -1
  1039. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
  1040. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  1041. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1042. package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +0 -31
  1043. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +0 -15
  1044. package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +0 -1
  1045. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -10
  1046. package/cjs/resources/V2/TestHelpers/index.js +0 -15
  1047. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  1048. package/esm/StripeEventNotificationHandler.d.ts +0 -19
  1049. package/esm/StripeEventNotificationHandler.js +0 -477
  1050. package/esm/StripeEventNotificationHandler.js.map +0 -1
  1051. package/esm/resources/AccountNotices.d.ts +0 -140
  1052. package/esm/resources/AccountNotices.js +0 -25
  1053. package/esm/resources/AccountNotices.js.map +0 -1
  1054. package/esm/resources/AccountSignals.d.ts +0 -111
  1055. package/esm/resources/AccountSignals.js +0 -3
  1056. package/esm/resources/AccountSignals.js.map +0 -1
  1057. package/esm/resources/BalanceTransfers.d.ts +0 -160
  1058. package/esm/resources/BalanceTransfers.js +0 -11
  1059. package/esm/resources/BalanceTransfers.js.map +0 -1
  1060. package/esm/resources/Billing/AlertNotifications.d.ts +0 -75
  1061. package/esm/resources/Billing/AlertNotifications.js +0 -3
  1062. package/esm/resources/Billing/AlertNotifications.js.map +0 -1
  1063. package/esm/resources/Billing/AlertRecovereds.d.ts +0 -56
  1064. package/esm/resources/Billing/AlertRecovereds.js +0 -3
  1065. package/esm/resources/Billing/AlertRecovereds.js.map +0 -1
  1066. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -88
  1067. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  1068. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  1069. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -38
  1070. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  1071. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  1072. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  1073. package/esm/resources/Billing/Analytics/index.js +0 -9
  1074. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  1075. package/esm/resources/Capital/FinancingOffers.d.ts +0 -194
  1076. package/esm/resources/Capital/FinancingOffers.js +0 -26
  1077. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  1078. package/esm/resources/Capital/FinancingSummary.d.ts +0 -102
  1079. package/esm/resources/Capital/FinancingSummary.js +0 -11
  1080. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  1081. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -141
  1082. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  1083. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  1084. package/esm/resources/Capital/index.d.ts +0 -25
  1085. package/esm/resources/Capital/index.js +0 -13
  1086. package/esm/resources/Capital/index.js.map +0 -1
  1087. package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +0 -30
  1088. package/esm/resources/Crypto/CustomerConsumerWallets.js +0 -3
  1089. package/esm/resources/Crypto/CustomerConsumerWallets.js.map +0 -1
  1090. package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +0 -80
  1091. package/esm/resources/Crypto/CustomerPaymentTokens.js +0 -3
  1092. package/esm/resources/Crypto/CustomerPaymentTokens.js.map +0 -1
  1093. package/esm/resources/Crypto/Customers.d.ts +0 -111
  1094. package/esm/resources/Crypto/Customers.js +0 -27
  1095. package/esm/resources/Crypto/Customers.js.map +0 -1
  1096. package/esm/resources/Crypto/DepositAddresses.d.ts +0 -89
  1097. package/esm/resources/Crypto/DepositAddresses.js +0 -27
  1098. package/esm/resources/Crypto/DepositAddresses.js.map +0 -1
  1099. package/esm/resources/Crypto/OnrampSessions.d.ts +0 -417
  1100. package/esm/resources/Crypto/OnrampSessions.js +0 -43
  1101. package/esm/resources/Crypto/OnrampSessions.js.map +0 -1
  1102. package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +0 -61
  1103. package/esm/resources/Crypto/OnrampTransactionLimits.js +0 -11
  1104. package/esm/resources/Crypto/OnrampTransactionLimits.js.map +0 -1
  1105. package/esm/resources/Crypto/index.d.ts +0 -41
  1106. package/esm/resources/Crypto/index.js +0 -15
  1107. package/esm/resources/Crypto/index.js.map +0 -1
  1108. package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +0 -129
  1109. package/esm/resources/DelegatedCheckout/OrderEvents.js +0 -3
  1110. package/esm/resources/DelegatedCheckout/OrderEvents.js.map +0 -1
  1111. package/esm/resources/DelegatedCheckout/Orders.d.ts +0 -159
  1112. package/esm/resources/DelegatedCheckout/Orders.js +0 -11
  1113. package/esm/resources/DelegatedCheckout/Orders.js.map +0 -1
  1114. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +0 -1420
  1115. package/esm/resources/DelegatedCheckout/RequestedSessions.js +0 -43
  1116. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +0 -1
  1117. package/esm/resources/DelegatedCheckout/index.d.ts +0 -25
  1118. package/esm/resources/DelegatedCheckout/index.js +0 -11
  1119. package/esm/resources/DelegatedCheckout/index.js.map +0 -1
  1120. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  1121. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  1122. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  1123. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -99
  1124. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  1125. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  1126. package/esm/resources/FxQuotes.d.ts +0 -212
  1127. package/esm/resources/FxQuotes.js +0 -25
  1128. package/esm/resources/FxQuotes.js.map +0 -1
  1129. package/esm/resources/GiftCardOperations.d.ts +0 -249
  1130. package/esm/resources/GiftCardOperations.js +0 -11
  1131. package/esm/resources/GiftCardOperations.js.map +0 -1
  1132. package/esm/resources/GiftCards.d.ts +0 -187
  1133. package/esm/resources/GiftCards.js +0 -47
  1134. package/esm/resources/GiftCards.js.map +0 -1
  1135. package/esm/resources/Identity/BlocklistEntries.d.ts +0 -155
  1136. package/esm/resources/Identity/BlocklistEntries.js +0 -50
  1137. package/esm/resources/Identity/BlocklistEntries.js.map +0 -1
  1138. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -654
  1139. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -49
  1140. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  1141. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
  1142. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  1143. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  1144. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  1145. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  1146. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  1147. package/esm/resources/Issuing/Programs.d.ts +0 -95
  1148. package/esm/resources/Issuing/Programs.js +0 -31
  1149. package/esm/resources/Issuing/Programs.js.map +0 -1
  1150. package/esm/resources/Issuing/Settlements.d.ts +0 -83
  1151. package/esm/resources/Issuing/Settlements.js +0 -3
  1152. package/esm/resources/Issuing/Settlements.js.map +0 -1
  1153. package/esm/resources/Margins.d.ts +0 -115
  1154. package/esm/resources/Margins.js +0 -31
  1155. package/esm/resources/Margins.js.map +0 -1
  1156. package/esm/resources/Orchestration/PaymentAttempts.d.ts +0 -34
  1157. package/esm/resources/Orchestration/PaymentAttempts.js +0 -11
  1158. package/esm/resources/Orchestration/PaymentAttempts.js.map +0 -1
  1159. package/esm/resources/Orchestration/index.d.ts +0 -12
  1160. package/esm/resources/Orchestration/index.js +0 -9
  1161. package/esm/resources/Orchestration/index.js.map +0 -1
  1162. package/esm/resources/Orders.d.ts +0 -4773
  1163. package/esm/resources/Orders.js +0 -453
  1164. package/esm/resources/Orders.js.map +0 -1
  1165. package/esm/resources/PaymentLocationCapabilities.d.ts +0 -123
  1166. package/esm/resources/PaymentLocationCapabilities.js +0 -25
  1167. package/esm/resources/PaymentLocationCapabilities.js.map +0 -1
  1168. package/esm/resources/PaymentLocations.d.ts +0 -178
  1169. package/esm/resources/PaymentLocations.js +0 -37
  1170. package/esm/resources/PaymentLocations.js.map +0 -1
  1171. package/esm/resources/PaymentMethodBalances.d.ts +0 -46
  1172. package/esm/resources/PaymentMethodBalances.js +0 -3
  1173. package/esm/resources/PaymentMethodBalances.js.map +0 -1
  1174. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
  1175. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  1176. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  1177. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -227
  1178. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  1179. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  1180. package/esm/resources/Privacy/index.d.ts +0 -22
  1181. package/esm/resources/Privacy/index.js +0 -9
  1182. package/esm/resources/Privacy/index.js.map +0 -1
  1183. package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -126
  1184. package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
  1185. package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
  1186. package/esm/resources/ProductCatalog/index.d.ts +0 -12
  1187. package/esm/resources/ProductCatalog/index.js +0 -9
  1188. package/esm/resources/ProductCatalog/index.js.map +0 -1
  1189. package/esm/resources/Profiles.d.ts +0 -68
  1190. package/esm/resources/Profiles.js +0 -3
  1191. package/esm/resources/Profiles.js.map +0 -1
  1192. package/esm/resources/QuoteLines.d.ts +0 -684
  1193. package/esm/resources/QuoteLines.js +0 -3
  1194. package/esm/resources/QuoteLines.js.map +0 -1
  1195. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1179
  1196. package/esm/resources/QuotePreviewInvoices.js +0 -3
  1197. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  1198. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -1045
  1199. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  1200. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  1201. package/esm/resources/Radar/AccountEvaluations.d.ts +0 -308
  1202. package/esm/resources/Radar/AccountEvaluations.js +0 -23
  1203. package/esm/resources/Radar/AccountEvaluations.js.map +0 -1
  1204. package/esm/resources/Radar/CustomerEvaluations.d.ts +0 -245
  1205. package/esm/resources/Radar/CustomerEvaluations.js +0 -23
  1206. package/esm/resources/Radar/CustomerEvaluations.js.map +0 -1
  1207. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +0 -433
  1208. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +0 -11
  1209. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +0 -1
  1210. package/esm/resources/RiskSignals.d.ts +0 -10
  1211. package/esm/resources/RiskSignals.js +0 -3
  1212. package/esm/resources/RiskSignals.js.map +0 -1
  1213. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -425
  1214. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  1215. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  1216. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -336
  1217. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  1218. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  1219. package/esm/resources/SharedPayment/index.d.ts +0 -19
  1220. package/esm/resources/SharedPayment/index.js +0 -11
  1221. package/esm/resources/SharedPayment/index.js.map +0 -1
  1222. package/esm/resources/Tax/Forms.d.ts +0 -228
  1223. package/esm/resources/Tax/Forms.js +0 -28
  1224. package/esm/resources/Tax/Forms.js.map +0 -1
  1225. package/esm/resources/Tax/Locations.d.ts +0 -108
  1226. package/esm/resources/Tax/Locations.js +0 -29
  1227. package/esm/resources/Tax/Locations.js.map +0 -1
  1228. package/esm/resources/TaxFunds.d.ts +0 -174
  1229. package/esm/resources/TaxFunds.js +0 -19
  1230. package/esm/resources/TaxFunds.js.map +0 -1
  1231. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -50
  1232. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  1233. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  1234. package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +0 -81
  1235. package/esm/resources/TestHelpers/Capital/FinancingOffers.js +0 -17
  1236. package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +0 -1
  1237. package/esm/resources/TestHelpers/Capital/index.d.ts +0 -8
  1238. package/esm/resources/TestHelpers/Capital/index.js +0 -9
  1239. package/esm/resources/TestHelpers/Capital/index.js.map +0 -1
  1240. package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +0 -127
  1241. package/esm/resources/TestHelpers/Issuing/Disputes.js +0 -35
  1242. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +0 -1
  1243. package/esm/resources/TestHelpers/PaymentIntents.d.ts +0 -38
  1244. package/esm/resources/TestHelpers/PaymentIntents.js +0 -11
  1245. package/esm/resources/TestHelpers/PaymentIntents.js.map +0 -1
  1246. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -75
  1247. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  1248. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  1249. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  1250. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  1251. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  1252. package/esm/resources/TransitBalances.d.ts +0 -25
  1253. package/esm/resources/TransitBalances.js +0 -3
  1254. package/esm/resources/TransitBalances.js.map +0 -1
  1255. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
  1256. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  1257. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  1258. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  1259. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  1260. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  1261. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -281
  1262. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  1263. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  1264. package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +0 -84
  1265. package/esm/resources/V2/Billing/CadenceSpendModifiers.js +0 -3
  1266. package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +0 -1
  1267. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +0 -37
  1268. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +0 -19
  1269. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +0 -1
  1270. package/esm/resources/V2/Billing/Cadences.d.ts +0 -1011
  1271. package/esm/resources/V2/Billing/Cadences.js +0 -260
  1272. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  1273. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
  1274. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  1275. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  1276. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  1277. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  1278. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  1279. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -776
  1280. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  1281. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  1282. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +0 -47
  1283. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +0 -3
  1284. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +0 -1
  1285. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +0 -23
  1286. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +0 -25
  1287. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +0 -1
  1288. package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +0 -8
  1289. package/esm/resources/V2/Billing/Contracts/PricingLines.js +0 -11
  1290. package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +0 -1
  1291. package/esm/resources/V2/Billing/Contracts.d.ts +0 -1484
  1292. package/esm/resources/V2/Billing/Contracts.js +0 -327
  1293. package/esm/resources/V2/Billing/Contracts.js.map +0 -1
  1294. package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +0 -125
  1295. package/esm/resources/V2/Billing/CustomPricingUnits.js +0 -31
  1296. package/esm/resources/V2/Billing/CustomPricingUnits.js.map +0 -1
  1297. package/esm/resources/V2/Billing/IntentActions.d.ts +0 -603
  1298. package/esm/resources/V2/Billing/IntentActions.js +0 -3
  1299. package/esm/resources/V2/Billing/IntentActions.js.map +0 -1
  1300. package/esm/resources/V2/Billing/Intents/Actions.d.ts +0 -33
  1301. package/esm/resources/V2/Billing/Intents/Actions.js +0 -66
  1302. package/esm/resources/V2/Billing/Intents/Actions.js.map +0 -1
  1303. package/esm/resources/V2/Billing/Intents.d.ts +0 -1253
  1304. package/esm/resources/V2/Billing/Intents.js +0 -83
  1305. package/esm/resources/V2/Billing/Intents.js.map +0 -1
  1306. package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +0 -78
  1307. package/esm/resources/V2/Billing/LicenseFeeVersions.js +0 -3
  1308. package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +0 -1
  1309. package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +0 -33
  1310. package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -60
  1311. package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +0 -1
  1312. package/esm/resources/V2/Billing/LicenseFees.d.ts +0 -360
  1313. package/esm/resources/V2/Billing/LicenseFees.js +0 -144
  1314. package/esm/resources/V2/Billing/LicenseFees.js.map +0 -1
  1315. package/esm/resources/V2/Billing/LicensedItems.d.ts +0 -170
  1316. package/esm/resources/V2/Billing/LicensedItems.js +0 -31
  1317. package/esm/resources/V2/Billing/LicensedItems.js.map +0 -1
  1318. package/esm/resources/V2/Billing/MeteredItems.d.ts +0 -218
  1319. package/esm/resources/V2/Billing/MeteredItems.js +0 -31
  1320. package/esm/resources/V2/Billing/MeteredItems.js.map +0 -1
  1321. package/esm/resources/V2/Billing/OneTimeItems.d.ts +0 -170
  1322. package/esm/resources/V2/Billing/OneTimeItems.js +0 -31
  1323. package/esm/resources/V2/Billing/OneTimeItems.js.map +0 -1
  1324. package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +0 -80
  1325. package/esm/resources/V2/Billing/PricingPlanComponents.js +0 -3
  1326. package/esm/resources/V2/Billing/PricingPlanComponents.js.map +0 -1
  1327. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +0 -620
  1328. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -292
  1329. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +0 -1
  1330. package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +0 -30
  1331. package/esm/resources/V2/Billing/PricingPlanVersions.js +0 -3
  1332. package/esm/resources/V2/Billing/PricingPlanVersions.js.map +0 -1
  1333. package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +0 -142
  1334. package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -37
  1335. package/esm/resources/V2/Billing/PricingPlans/Components.js.map +0 -1
  1336. package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +0 -33
  1337. package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -19
  1338. package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +0 -1
  1339. package/esm/resources/V2/Billing/PricingPlans.d.ts +0 -169
  1340. package/esm/resources/V2/Billing/PricingPlans.js +0 -39
  1341. package/esm/resources/V2/Billing/PricingPlans.js.map +0 -1
  1342. package/esm/resources/V2/Billing/Profiles.d.ts +0 -162
  1343. package/esm/resources/V2/Billing/Profiles.js +0 -31
  1344. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  1345. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +0 -45
  1346. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +0 -3
  1347. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +0 -1
  1348. package/esm/resources/V2/Billing/RateCardRates.d.ts +0 -111
  1349. package/esm/resources/V2/Billing/RateCardRates.js +0 -3
  1350. package/esm/resources/V2/Billing/RateCardRates.js.map +0 -1
  1351. package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +0 -215
  1352. package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -37
  1353. package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +0 -1
  1354. package/esm/resources/V2/Billing/RateCardVersions.d.ts +0 -22
  1355. package/esm/resources/V2/Billing/RateCardVersions.js +0 -3
  1356. package/esm/resources/V2/Billing/RateCardVersions.js.map +0 -1
  1357. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +0 -79
  1358. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +0 -31
  1359. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +0 -1
  1360. package/esm/resources/V2/Billing/RateCards/Rates.d.ts +0 -145
  1361. package/esm/resources/V2/Billing/RateCards/Rates.js +0 -106
  1362. package/esm/resources/V2/Billing/RateCards/Rates.js.map +0 -1
  1363. package/esm/resources/V2/Billing/RateCards/Versions.d.ts +0 -33
  1364. package/esm/resources/V2/Billing/RateCards/Versions.js +0 -19
  1365. package/esm/resources/V2/Billing/RateCards/Versions.js.map +0 -1
  1366. package/esm/resources/V2/Billing/RateCards.d.ts +0 -336
  1367. package/esm/resources/V2/Billing/RateCards.js +0 -72
  1368. package/esm/resources/V2/Billing/RateCards.js.map +0 -1
  1369. package/esm/resources/V2/Billing/ServiceActions.d.ts +0 -510
  1370. package/esm/resources/V2/Billing/ServiceActions.js +0 -158
  1371. package/esm/resources/V2/Billing/ServiceActions.js.map +0 -1
  1372. package/esm/resources/V2/Core/AccountEvaluations.d.ts +0 -156
  1373. package/esm/resources/V2/Core/AccountEvaluations.js +0 -11
  1374. package/esm/resources/V2/Core/AccountEvaluations.js.map +0 -1
  1375. package/esm/resources/V2/Core/ApprovalRequests.d.ts +0 -331
  1376. package/esm/resources/V2/Core/ApprovalRequests.js +0 -42
  1377. package/esm/resources/V2/Core/ApprovalRequests.js.map +0 -1
  1378. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -360
  1379. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  1380. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  1381. package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +0 -225
  1382. package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -27
  1383. package/esm/resources/V2/Core/ClaimableSandboxes.js.map +0 -1
  1384. package/esm/resources/V2/Core/ConnectionSessions.d.ts +0 -86
  1385. package/esm/resources/V2/Core/ConnectionSessions.js +0 -17
  1386. package/esm/resources/V2/Core/ConnectionSessions.js.map +0 -1
  1387. package/esm/resources/V2/Core/FeeBatches.d.ts +0 -234
  1388. package/esm/resources/V2/Core/FeeBatches.js +0 -19
  1389. package/esm/resources/V2/Core/FeeBatches.js.map +0 -1
  1390. package/esm/resources/V2/Core/FeeEntries.d.ts +0 -200
  1391. package/esm/resources/V2/Core/FeeEntries.js +0 -19
  1392. package/esm/resources/V2/Core/FeeEntries.js.map +0 -1
  1393. package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +0 -416
  1394. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +0 -3
  1395. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +0 -1
  1396. package/esm/resources/V2/Core/Health/Alerts/History.d.ts +0 -23
  1397. package/esm/resources/V2/Core/Health/Alerts/History.js +0 -97
  1398. package/esm/resources/V2/Core/Health/Alerts/History.js.map +0 -1
  1399. package/esm/resources/V2/Core/Health/Alerts.d.ts +0 -530
  1400. package/esm/resources/V2/Core/Health/Alerts.js +0 -178
  1401. package/esm/resources/V2/Core/Health/Alerts.js.map +0 -1
  1402. package/esm/resources/V2/Core/Health/index.d.ts +0 -16
  1403. package/esm/resources/V2/Core/Health/index.js +0 -9
  1404. package/esm/resources/V2/Core/Health/index.js.map +0 -1
  1405. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -280
  1406. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  1407. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  1408. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -252
  1409. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -61
  1410. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  1411. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  1412. package/esm/resources/V2/Core/Vault/index.js +0 -11
  1413. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  1414. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +0 -74
  1415. package/esm/resources/V2/Data/Analytics/MetricQuery.js +0 -32
  1416. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +0 -1
  1417. package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +0 -76
  1418. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +0 -3
  1419. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +0 -1
  1420. package/esm/resources/V2/Data/Analytics/index.d.ts +0 -12
  1421. package/esm/resources/V2/Data/Analytics/index.js +0 -9
  1422. package/esm/resources/V2/Data/Analytics/index.js.map +0 -1
  1423. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -172
  1424. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  1425. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  1426. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  1427. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  1428. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  1429. package/esm/resources/V2/Data/index.d.ts +0 -13
  1430. package/esm/resources/V2/Data/index.js +0 -11
  1431. package/esm/resources/V2/Data/index.js.map +0 -1
  1432. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
  1433. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  1434. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  1435. package/esm/resources/V2/Extend/Workflows.d.ts +0 -120
  1436. package/esm/resources/V2/Extend/Workflows.js +0 -26
  1437. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  1438. package/esm/resources/V2/Extend/index.d.ts +0 -20
  1439. package/esm/resources/V2/Extend/index.js +0 -11
  1440. package/esm/resources/V2/Extend/index.js.map +0 -1
  1441. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  1442. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  1443. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  1444. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  1445. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  1446. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  1447. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -211
  1448. package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
  1449. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  1450. package/esm/resources/V2/Iam/ApiKeys.d.ts +0 -305
  1451. package/esm/resources/V2/Iam/ApiKeys.js +0 -43
  1452. package/esm/resources/V2/Iam/ApiKeys.js.map +0 -1
  1453. package/esm/resources/V2/Iam/index.d.ts +0 -23
  1454. package/esm/resources/V2/Iam/index.js +0 -11
  1455. package/esm/resources/V2/Iam/index.js.map +0 -1
  1456. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  1457. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  1458. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  1459. package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +0 -131
  1460. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +0 -27
  1461. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +0 -1
  1462. package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +0 -168
  1463. package/esm/resources/V2/MoneyManagement/DebitDisputes.js +0 -25
  1464. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +0 -1
  1465. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +0 -99
  1466. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +0 -3
  1467. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +0 -1
  1468. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +0 -44
  1469. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +0 -49
  1470. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +0 -1
  1471. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -449
  1472. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -46
  1473. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  1474. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +0 -14
  1475. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +0 -3
  1476. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +0 -1
  1477. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -304
  1478. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  1479. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  1480. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -251
  1481. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  1482. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  1483. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -219
  1484. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  1485. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  1486. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -638
  1487. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  1488. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1489. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -318
  1490. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  1491. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1492. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -394
  1493. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  1494. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1495. package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +0 -525
  1496. package/esm/resources/V2/MoneyManagement/PayoutIntents.js +0 -40
  1497. package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +0 -1
  1498. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -277
  1499. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
  1500. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1501. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
  1502. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  1503. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1504. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -481
  1505. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  1506. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1507. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -264
  1508. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  1509. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1510. package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +0 -116
  1511. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +0 -23
  1512. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +0 -1
  1513. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +0 -30
  1514. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -11
  1515. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +0 -1
  1516. package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
  1517. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +0 -9
  1518. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
  1519. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -266
  1520. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  1521. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1522. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -297
  1523. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
  1524. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1525. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -143
  1526. package/esm/resources/V2/MoneyManagement/index.js +0 -45
  1527. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  1528. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -92
  1529. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  1530. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1531. package/esm/resources/V2/Network/index.d.ts +0 -13
  1532. package/esm/resources/V2/Network/index.js +0 -9
  1533. package/esm/resources/V2/Network/index.js.map +0 -1
  1534. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
  1535. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  1536. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1537. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1538. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  1539. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1540. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +0 -823
  1541. package/esm/resources/V2/Payments/OffSessionPayments.js +0 -49
  1542. package/esm/resources/V2/Payments/OffSessionPayments.js.map +0 -1
  1543. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +0 -73
  1544. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +0 -3
  1545. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +0 -1
  1546. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +0 -85
  1547. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +0 -31
  1548. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +0 -1
  1549. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +0 -209
  1550. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +0 -49
  1551. package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +0 -1
  1552. package/esm/resources/V2/Payments/index.d.ts +0 -31
  1553. package/esm/resources/V2/Payments/index.js +0 -11
  1554. package/esm/resources/V2/Payments/index.js.map +0 -1
  1555. package/esm/resources/V2/Reporting/ReportRuns.d.ts +0 -191
  1556. package/esm/resources/V2/Reporting/ReportRuns.js +0 -46
  1557. package/esm/resources/V2/Reporting/ReportRuns.js.map +0 -1
  1558. package/esm/resources/V2/Reporting/Reports.d.ts +0 -106
  1559. package/esm/resources/V2/Reporting/Reports.js +0 -13
  1560. package/esm/resources/V2/Reporting/Reports.js.map +0 -1
  1561. package/esm/resources/V2/Reporting/index.d.ts +0 -18
  1562. package/esm/resources/V2/Reporting/index.js +0 -11
  1563. package/esm/resources/V2/Reporting/index.js.map +0 -1
  1564. package/esm/resources/V2/Signals/AccountSignals.d.ts +0 -172
  1565. package/esm/resources/V2/Signals/AccountSignals.js +0 -54
  1566. package/esm/resources/V2/Signals/AccountSignals.js.map +0 -1
  1567. package/esm/resources/V2/Signals/index.d.ts +0 -13
  1568. package/esm/resources/V2/Signals/index.js +0 -9
  1569. package/esm/resources/V2/Signals/index.js.map +0 -1
  1570. package/esm/resources/V2/Tax/ManualRules.d.ts +0 -331
  1571. package/esm/resources/V2/Tax/ManualRules.js +0 -189
  1572. package/esm/resources/V2/Tax/ManualRules.js.map +0 -1
  1573. package/esm/resources/V2/Tax/index.d.ts +0 -16
  1574. package/esm/resources/V2/Tax/index.js +0 -9
  1575. package/esm/resources/V2/Tax/index.js.map +0 -1
  1576. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
  1577. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  1578. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1579. package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +0 -31
  1580. package/esm/resources/V2/TestHelpers/MoneyManagement.js +0 -11
  1581. package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +0 -1
  1582. package/esm/resources/V2/TestHelpers/index.d.ts +0 -10
  1583. package/esm/resources/V2/TestHelpers/index.js +0 -11
  1584. package/esm/resources/V2/TestHelpers/index.js.map +0 -1
@@ -4,13 +4,11 @@ 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';
11
10
  import { Account } from './Accounts.js';
12
11
  import { InvoicePayment } from './InvoicePayments.js';
13
- import { GiftCardOperation } from './GiftCardOperations.js';
14
12
  import { PaymentIntent } from './PaymentIntents.js';
15
13
  import { SetupIntent } from './SetupIntents.js';
16
14
  import { Subscription } from './Subscriptions.js';
@@ -69,10 +67,6 @@ export declare class InvoiceResource extends StripeResource {
69
67
  * See: [Partial payments](https://docs.stripe.com/docs/invoicing/partial-payments) to learn more.
70
68
  */
71
69
  attachPayment(id: string, params?: InvoiceAttachPaymentParams, options?: RequestOptions): Promise<Response<Invoice>>;
72
- /**
73
- * Detaches a payment from the invoice, removing it from the list of payments
74
- */
75
- detachPayment(id: string, params?: InvoiceDetachPaymentParams, options?: RequestOptions): Promise<Response<Invoice>>;
76
70
  /**
77
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.
78
72
  */
@@ -117,54 +111,6 @@ export declare class InvoiceResource extends StripeResource {
117
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)
118
112
  */
119
113
  createPreview(params?: InvoiceCreatePreviewParams, options?: RequestOptions): Promise<Response<Invoice>>;
120
- serializeBatchDelete(invoice: string, params?: Record<string, unknown>, options?: {
121
- apiVersion?: string;
122
- stripeContext?: string;
123
- }): string;
124
- serializeBatchUpdate(invoice: string, params?: Record<string, unknown>, options?: {
125
- apiVersion?: string;
126
- stripeContext?: string;
127
- }): string;
128
- serializeBatchCreate(params?: Record<string, unknown>, options?: {
129
- apiVersion?: string;
130
- stripeContext?: string;
131
- }): string;
132
- serializeBatchAddLines(invoice: string, params?: Record<string, unknown>, options?: {
133
- apiVersion?: string;
134
- stripeContext?: string;
135
- }): string;
136
- serializeBatchFinalizeInvoice(invoice: string, params?: Record<string, unknown>, options?: {
137
- apiVersion?: string;
138
- stripeContext?: string;
139
- }): string;
140
- serializeBatchMarkUncollectible(invoice: string, params?: Record<string, unknown>, options?: {
141
- apiVersion?: string;
142
- stripeContext?: string;
143
- }): string;
144
- serializeBatchPay(invoice: string, params?: Record<string, unknown>, options?: {
145
- apiVersion?: string;
146
- stripeContext?: string;
147
- }): string;
148
- serializeBatchRemoveLines(invoice: string, params?: Record<string, unknown>, options?: {
149
- apiVersion?: string;
150
- stripeContext?: string;
151
- }): string;
152
- serializeBatchSendInvoice(invoice: string, params?: Record<string, unknown>, options?: {
153
- apiVersion?: string;
154
- stripeContext?: string;
155
- }): string;
156
- serializeBatchUpdateLines(invoice: string, params?: Record<string, unknown>, options?: {
157
- apiVersion?: string;
158
- stripeContext?: string;
159
- }): string;
160
- serializeBatchVoidInvoice(invoice: string, params?: Record<string, unknown>, options?: {
161
- apiVersion?: string;
162
- stripeContext?: string;
163
- }): string;
164
- serializeBatchCreatePreview(params?: Record<string, unknown>, options?: {
165
- apiVersion?: string;
166
- stripeContext?: string;
167
- }): string;
168
114
  /**
169
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.
170
116
  */
@@ -176,10 +122,6 @@ export declare class InvoiceResource extends StripeResource {
176
122
  * Updating an invoice's line item is only possible before the invoice is finalized.
177
123
  */
178
124
  updateLineItem(invoiceId: string, id: string, params?: InvoiceUpdateLineItemParams, options?: RequestOptions): Promise<Response<InvoiceLineItem>>;
179
- serializeBatchUpdateLineItem(invoice: string, lineItemId: string, params?: Record<string, unknown>, options?: {
180
- apiVersion?: string;
181
- stripeContext?: string;
182
- }): string;
183
125
  }
184
126
  export interface Invoice {
185
127
  /**
@@ -226,10 +168,6 @@ export interface Invoice {
226
168
  * This is the sum of all the shipping amounts.
227
169
  */
228
170
  amount_shipping: number;
229
- /**
230
- * List of expected payments and corresponding due dates. This value will be null for invoices where collection_method=charge_automatically.
231
- */
232
- amounts_due?: Array<Invoice.AmountsDue> | null;
233
171
  /**
234
172
  * ID of the Connect Application that created the invoice.
235
173
  */
@@ -319,10 +257,6 @@ export interface Invoice {
319
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.
320
258
  */
321
259
  customer_tax_ids?: Array<Invoice.CustomerTaxId> | null;
322
- /**
323
- * The margins applied to the invoice. Can be overridden by line item `margins`. Use `expand[]=default_margins` to expand each margin.
324
- */
325
- default_margins?: Array<string | Margin> | null;
326
260
  /**
327
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.
328
262
  */
@@ -487,10 +421,6 @@ export interface Invoice {
487
421
  * The integer amount in cents (or local equivalent) representing the total amount of the invoice including all discounts but excluding all tax.
488
422
  */
489
423
  total_excluding_tax: number | null;
490
- /**
491
- * The aggregate amounts calculated per margin across all line items.
492
- */
493
- total_margin_amounts?: Array<Invoice.TotalMarginAmount> | null;
494
424
  /**
495
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.
496
426
  */
@@ -519,40 +449,6 @@ export interface DeletedInvoice {
519
449
  deleted: true;
520
450
  }
521
451
  export declare namespace Invoice {
522
- interface AmountsDue {
523
- /**
524
- * Incremental amount due for this payment in cents (or local equivalent).
525
- */
526
- amount: number;
527
- /**
528
- * The amount in cents (or local equivalent) that was paid for this payment.
529
- */
530
- amount_paid: number;
531
- /**
532
- * The difference between the payment's amount and amount_paid, in cents (or local equivalent).
533
- */
534
- amount_remaining: number;
535
- /**
536
- * Number of days from when invoice is finalized until the payment is due.
537
- */
538
- days_until_due: number | null;
539
- /**
540
- * An arbitrary string attached to the object. Often useful for displaying to users.
541
- */
542
- description: string | null;
543
- /**
544
- * Date on which a payment plan's payment is due.
545
- */
546
- due_date: number | null;
547
- /**
548
- * Timestamp when the payment was paid.
549
- */
550
- paid_at: number | null;
551
- /**
552
- * The status of the payment, one of `open`, `paid`, or `past_due`
553
- */
554
- status: AmountsDue.Status;
555
- }
556
452
  interface AutomaticTax {
557
453
  /**
558
454
  * If Stripe disabled automatic tax, this enum describes why.
@@ -668,11 +564,6 @@ export declare namespace Invoice {
668
564
  * A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported.
669
565
  */
670
566
  doc_url?: string;
671
- /**
672
- * A GiftCardOperation represents an operation performed on a third-party gift card,
673
- * such as activation, reload, cashout, balance check, or void.
674
- */
675
- gift_card_operation?: GiftCardOperation;
676
567
  /**
677
568
  * A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
678
569
  */
@@ -750,18 +641,10 @@ export declare namespace Invoice {
750
641
  type: LastFinalizationError.Type;
751
642
  }
752
643
  interface Parent {
753
- /**
754
- * Details about the billing cadence that generated this invoice
755
- */
756
- billing_cadence_details?: Parent.BillingCadenceDetails | null;
757
644
  /**
758
645
  * Details about the quote that generated this invoice
759
646
  */
760
647
  quote_details: Parent.QuoteDetails | null;
761
- /**
762
- * Details about the schedule that generated this invoice
763
- */
764
- schedule_details?: Parent.ScheduleDetails | null;
765
648
  /**
766
649
  * Details about the subscription that generated this invoice
767
650
  */
@@ -883,16 +766,6 @@ export declare namespace Invoice {
883
766
  */
884
767
  discount: string | Discount | DeletedDiscount;
885
768
  }
886
- interface TotalMarginAmount {
887
- /**
888
- * The amount, in cents (or local equivalent), of the reduction in line item amount.
889
- */
890
- amount: number;
891
- /**
892
- * The margin that was applied to get this margin amount.
893
- */
894
- margin: string | Margin;
895
- }
896
769
  interface TotalPretaxCreditAmount {
897
770
  /**
898
771
  * The amount, in cents (or local equivalent), of the pretax credit amount.
@@ -906,10 +779,6 @@ export declare namespace Invoice {
906
779
  * The discount that was applied to get this pretax credit amount.
907
780
  */
908
781
  discount?: string | Discount | DeletedDiscount;
909
- /**
910
- * The margin that was applied to get this pretax credit amount.
911
- */
912
- margin?: string | Margin;
913
782
  /**
914
783
  * Type of the pretax credit amount referenced.
915
784
  */
@@ -941,9 +810,6 @@ export declare namespace Invoice {
941
810
  */
942
811
  type: 'tax_rate_details';
943
812
  }
944
- namespace AmountsDue {
945
- type Status = 'open' | 'paid' | 'past_due';
946
- }
947
813
  namespace AutomaticTax {
948
814
  type DisabledReason = 'finalization_requires_location_inputs' | 'finalization_system_error' | OtherString;
949
815
  interface Liability {
@@ -958,52 +824,32 @@ export declare namespace Invoice {
958
824
  }
959
825
  type Status = 'complete' | 'failed' | 'requires_location_inputs' | OtherString;
960
826
  namespace Liability {
961
- type Type = 'account' | 'application' | 'self' | OtherString;
827
+ type Type = 'account' | 'self' | OtherString;
962
828
  }
963
829
  }
964
830
  namespace CustomerTaxId {
965
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' | 'ic_nif' | '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';
966
832
  }
967
833
  namespace Issuer {
968
- type Type = 'account' | 'application' | 'self' | OtherString;
834
+ type Type = 'account' | 'self' | OtherString;
969
835
  }
970
836
  namespace LastFinalizationError {
971
- 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_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';
972
838
  type Type = 'api_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error';
973
839
  }
974
840
  namespace Parent {
975
- interface BillingCadenceDetails {
976
- /**
977
- * The billing cadence that generated this invoice
978
- */
979
- billing_cadence: string;
980
- }
981
841
  interface QuoteDetails {
982
842
  /**
983
843
  * The quote that generated this invoice
984
844
  */
985
845
  quote: string;
986
846
  }
987
- interface ScheduleDetails {
988
- /**
989
- * The schedule that generated this invoice
990
- */
991
- schedule: string;
992
- /**
993
- * The subscription associated with this schedule
994
- */
995
- subscription: string | Subscription | null;
996
- }
997
847
  interface SubscriptionDetails {
998
848
  /**
999
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.
1000
850
  * *Note: This attribute is populated only for invoices created on or after June 29, 2023.*
1001
851
  */
1002
852
  metadata: Metadata | null;
1003
- /**
1004
- * 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).
1005
- */
1006
- pause_collection?: SubscriptionDetails.PauseCollection | null;
1007
853
  /**
1008
854
  * The subscription that generated this invoice
1009
855
  */
@@ -1013,22 +859,7 @@ export declare namespace Invoice {
1013
859
  */
1014
860
  subscription_proration_date?: number;
1015
861
  }
1016
- type Type = 'billing_cadence_details' | 'quote_details' | 'schedule_details' | 'subscription_details' | OtherString;
1017
- namespace SubscriptionDetails {
1018
- interface PauseCollection {
1019
- /**
1020
- * The payment collection behavior for this subscription while paused.
1021
- */
1022
- behavior: PauseCollection.Behavior | null;
1023
- /**
1024
- * The time after which the subscription will resume collecting payments.
1025
- */
1026
- resumes_at: number | null;
1027
- }
1028
- namespace PauseCollection {
1029
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
1030
- }
1031
- }
862
+ type Type = 'quote_details' | 'subscription_details' | OtherString;
1032
863
  }
1033
864
  namespace PaymentSettings {
1034
865
  interface PaymentMethodOptions {
@@ -1040,30 +871,14 @@ export declare namespace Invoice {
1040
871
  * If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
1041
872
  */
1042
873
  bancontact: PaymentMethodOptions.Bancontact | null;
1043
- /**
1044
- * If paying by `bizum`, this sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
1045
- */
1046
- bizum?: PaymentMethodOptions.Bizum | null;
1047
- /**
1048
- * If paying by `blik`, this sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
1049
- */
1050
- blik?: PaymentMethodOptions.Blik | null;
1051
874
  /**
1052
875
  * If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
1053
876
  */
1054
877
  card: PaymentMethodOptions.Card | null;
1055
- /**
1056
- * If paying by `check_scan`, this sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
1057
- */
1058
- check_scan?: PaymentMethodOptions.CheckScan | null;
1059
878
  /**
1060
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.
1061
880
  */
1062
881
  customer_balance: PaymentMethodOptions.CustomerBalance | null;
1063
- /**
1064
- * 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.
1065
- */
1066
- id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
1067
882
  /**
1068
883
  * If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
1069
884
  */
@@ -1088,12 +903,8 @@ export declare namespace Invoice {
1088
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.
1089
904
  */
1090
905
  us_bank_account: PaymentMethodOptions.UsBankAccount | null;
1091
- /**
1092
- * If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
1093
- */
1094
- wechat_pay?: PaymentMethodOptions.WechatPay | null;
1095
906
  }
1096
- type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | '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' | 'mb_way' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sequra' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
907
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | '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' | 'mb_way' | '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' | OtherString;
1097
908
  namespace PaymentMethodOptions {
1098
909
  interface AcssDebit {
1099
910
  mandate_options?: AcssDebit.MandateOptions;
@@ -1108,10 +919,6 @@ export declare namespace Invoice {
1108
919
  */
1109
920
  preferred_language: Bancontact.PreferredLanguage;
1110
921
  }
1111
- interface Bizum {
1112
- }
1113
- interface Blik {
1114
- }
1115
922
  interface Card {
1116
923
  installments?: Card.Installments;
1117
924
  /**
@@ -1119,8 +926,6 @@ export declare namespace Invoice {
1119
926
  */
1120
927
  request_three_d_secure: Card.RequestThreeDSecure | null;
1121
928
  }
1122
- interface CheckScan {
1123
- }
1124
929
  interface CustomerBalance {
1125
930
  bank_transfer?: CustomerBalance.BankTransfer;
1126
931
  /**
@@ -1128,8 +933,6 @@ export declare namespace Invoice {
1128
933
  */
1129
934
  funding_type: 'bank_transfer' | null;
1130
935
  }
1131
- interface IdBankTransfer {
1132
- }
1133
936
  interface Konbini {
1134
937
  }
1135
938
  interface Payto {
@@ -1157,16 +960,6 @@ export declare namespace Invoice {
1157
960
  */
1158
961
  verification_method?: UsBankAccount.VerificationMethod;
1159
962
  }
1160
- interface WechatPay {
1161
- /**
1162
- * The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
1163
- */
1164
- app_id?: string;
1165
- /**
1166
- * The client type that the end customer will pay from.
1167
- */
1168
- client?: WechatPay.Client;
1169
- }
1170
963
  namespace AcssDebit {
1171
964
  interface MandateOptions {
1172
965
  /**
@@ -1276,21 +1069,14 @@ export declare namespace Invoice {
1276
1069
  * The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
1277
1070
  */
1278
1071
  account_subcategories?: Array<Filters.AccountSubcategory>;
1279
- /**
1280
- * The institution to use to filter for possible accounts to link.
1281
- */
1282
- institution?: string;
1283
1072
  }
1284
1073
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
1285
- type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
1074
+ type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
1286
1075
  namespace Filters {
1287
1076
  type AccountSubcategory = 'checking' | 'savings' | OtherString;
1288
1077
  }
1289
1078
  }
1290
1079
  }
1291
- namespace WechatPay {
1292
- type Client = 'android' | 'ios' | 'mobile_web' | 'web';
1293
- }
1294
1080
  }
1295
1081
  }
1296
1082
  namespace Rendering {
@@ -1342,7 +1128,7 @@ export declare namespace Invoice {
1342
1128
  }
1343
1129
  }
1344
1130
  namespace TotalPretaxCreditAmount {
1345
- type Type = 'credit_balance_transaction' | 'discount' | 'margin' | OtherString;
1131
+ type Type = 'credit_balance_transaction' | 'discount' | OtherString;
1346
1132
  }
1347
1133
  namespace TotalTax {
1348
1134
  type TaxBehavior = 'exclusive' | 'inclusive';
@@ -1350,7 +1136,7 @@ export declare namespace Invoice {
1350
1136
  /**
1351
1137
  * ID of the tax rate
1352
1138
  */
1353
- tax_rate: string | TaxRate;
1139
+ tax_rate: string;
1354
1140
  }
1355
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' | OtherString;
1356
1142
  }
@@ -1360,10 +1146,6 @@ export interface InvoiceCreateParams {
1360
1146
  * The account tax IDs associated with the invoice. Only editable when the invoice is a draft.
1361
1147
  */
1362
1148
  account_tax_ids?: Emptyable<Array<string>>;
1363
- /**
1364
- * List of expected payments and corresponding due dates. Valid only for invoices where `collection_method=send_invoice`.
1365
- */
1366
- amounts_due?: Emptyable<Array<InvoiceCreateParams.AmountsDue>>;
1367
1149
  /**
1368
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).
1369
1151
  */
@@ -1404,10 +1186,6 @@ export interface InvoiceCreateParams {
1404
1186
  * The number of days from when the invoice is created until it is due. Valid only for invoices where `collection_method=send_invoice`.
1405
1187
  */
1406
1188
  days_until_due?: number;
1407
- /**
1408
- * The ids of the margins to apply to the invoice. Can be overridden by line item `margins`.
1409
- */
1410
- default_margins?: Array<string>;
1411
1189
  /**
1412
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.
1413
1191
  */
@@ -1498,24 +1276,6 @@ export interface InvoiceCreateParams {
1498
1276
  transfer_data?: InvoiceCreateParams.TransferData;
1499
1277
  }
1500
1278
  export declare namespace InvoiceCreateParams {
1501
- interface AmountsDue {
1502
- /**
1503
- * The amount in cents (or local equivalent).
1504
- */
1505
- amount: number;
1506
- /**
1507
- * Number of days from when invoice is finalized until the payment is due.
1508
- */
1509
- days_until_due?: number;
1510
- /**
1511
- * An arbitrary string attached to the object. Often useful for displaying to users.
1512
- */
1513
- description: string;
1514
- /**
1515
- * Date on which a payment plan's payment is due.
1516
- */
1517
- due_date?: number;
1518
- }
1519
1279
  interface AutomaticTax {
1520
1280
  /**
1521
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.
@@ -1546,10 +1306,6 @@ export declare namespace InvoiceCreateParams {
1546
1306
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1547
1307
  */
1548
1308
  discount?: string;
1549
- /**
1550
- * Details to determine how long the discount should be applied for.
1551
- */
1552
- discount_end?: Discount.DiscountEnd;
1553
1309
  /**
1554
1310
  * ID of the promotion code to create a new discount for.
1555
1311
  */
@@ -1654,43 +1410,11 @@ export declare namespace InvoiceCreateParams {
1654
1410
  type: Liability.Type;
1655
1411
  }
1656
1412
  namespace Liability {
1657
- type Type = 'account' | 'application' | 'self' | OtherString;
1658
- }
1659
- }
1660
- namespace Discount {
1661
- interface DiscountEnd {
1662
- /**
1663
- * Time span for the redeemed discount.
1664
- */
1665
- duration?: DiscountEnd.Duration;
1666
- /**
1667
- * A precise Unix timestamp for the discount to end. Must be in the future.
1668
- */
1669
- timestamp?: number;
1670
- /**
1671
- * The type of calculation made to determine when the discount ends.
1672
- */
1673
- type: DiscountEnd.Type;
1674
- }
1675
- namespace DiscountEnd {
1676
- interface Duration {
1677
- /**
1678
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1679
- */
1680
- interval: Duration.Interval;
1681
- /**
1682
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1683
- */
1684
- interval_count: number;
1685
- }
1686
- type Type = 'duration' | 'timestamp' | OtherString;
1687
- namespace Duration {
1688
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1689
- }
1413
+ type Type = 'account' | 'self' | OtherString;
1690
1414
  }
1691
1415
  }
1692
1416
  namespace Issuer {
1693
- type Type = 'account' | 'application' | 'self' | OtherString;
1417
+ type Type = 'account' | 'self' | OtherString;
1694
1418
  }
1695
1419
  namespace PaymentSettings {
1696
1420
  interface PaymentMethodOptions {
@@ -1702,30 +1426,14 @@ export declare namespace InvoiceCreateParams {
1702
1426
  * If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
1703
1427
  */
1704
1428
  bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
1705
- /**
1706
- * If paying by `bizum`, this sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
1707
- */
1708
- bizum?: Emptyable<PaymentMethodOptions.Bizum>;
1709
- /**
1710
- * If paying by `blik`, this sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
1711
- */
1712
- blik?: Emptyable<PaymentMethodOptions.Blik>;
1713
1429
  /**
1714
1430
  * If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
1715
1431
  */
1716
1432
  card?: Emptyable<PaymentMethodOptions.Card>;
1717
- /**
1718
- * If paying by `check_scan`, this sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
1719
- */
1720
- check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
1721
1433
  /**
1722
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.
1723
1435
  */
1724
1436
  customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
1725
- /**
1726
- * 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.
1727
- */
1728
- id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
1729
1437
  /**
1730
1438
  * If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
1731
1439
  */
@@ -1750,12 +1458,8 @@ export declare namespace InvoiceCreateParams {
1750
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.
1751
1459
  */
1752
1460
  us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
1753
- /**
1754
- * If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
1755
- */
1756
- wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
1757
1461
  }
1758
- type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | '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' | 'mb_way' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sequra' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
1462
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | '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' | 'mb_way' | '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' | OtherString;
1759
1463
  namespace PaymentMethodOptions {
1760
1464
  interface AcssDebit {
1761
1465
  /**
@@ -1773,10 +1477,6 @@ export declare namespace InvoiceCreateParams {
1773
1477
  */
1774
1478
  preferred_language?: Bancontact.PreferredLanguage;
1775
1479
  }
1776
- interface Bizum {
1777
- }
1778
- interface Blik {
1779
- }
1780
1480
  interface Card {
1781
1481
  /**
1782
1482
  * Installment configuration for payments attempted on this invoice.
@@ -1789,8 +1489,6 @@ export declare namespace InvoiceCreateParams {
1789
1489
  */
1790
1490
  request_three_d_secure?: Card.RequestThreeDSecure;
1791
1491
  }
1792
- interface CheckScan {
1793
- }
1794
1492
  interface CustomerBalance {
1795
1493
  /**
1796
1494
  * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
@@ -1801,8 +1499,6 @@ export declare namespace InvoiceCreateParams {
1801
1499
  */
1802
1500
  funding_type?: string;
1803
1501
  }
1804
- interface IdBankTransfer {
1805
- }
1806
1502
  interface Konbini {
1807
1503
  }
1808
1504
  interface Payto {
@@ -1839,16 +1535,6 @@ export declare namespace InvoiceCreateParams {
1839
1535
  */
1840
1536
  verification_method?: UsBankAccount.VerificationMethod;
1841
1537
  }
1842
- interface WechatPay {
1843
- /**
1844
- * The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
1845
- */
1846
- app_id?: string;
1847
- /**
1848
- * The client type that the end customer will pay from.
1849
- */
1850
- client?: WechatPay.Client;
1851
- }
1852
1538
  namespace AcssDebit {
1853
1539
  interface MandateOptions {
1854
1540
  /**
@@ -1981,21 +1667,14 @@ export declare namespace InvoiceCreateParams {
1981
1667
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1982
1668
  */
1983
1669
  account_subcategories?: Array<Filters.AccountSubcategory>;
1984
- /**
1985
- * ID of the institution to use to filter for selectable accounts.
1986
- */
1987
- institution?: string;
1988
1670
  }
1989
1671
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
1990
- type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
1672
+ type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
1991
1673
  namespace Filters {
1992
1674
  type AccountSubcategory = 'checking' | 'savings' | OtherString;
1993
1675
  }
1994
1676
  }
1995
1677
  }
1996
- namespace WechatPay {
1997
- type Client = 'android' | 'ios' | 'mobile_web' | 'web';
1998
- }
1999
1678
  }
2000
1679
  }
2001
1680
  namespace Rendering {
@@ -2128,10 +1807,6 @@ export interface InvoiceUpdateParams {
2128
1807
  * The account tax IDs associated with the invoice. Only editable when the invoice is a draft.
2129
1808
  */
2130
1809
  account_tax_ids?: Emptyable<Array<string>>;
2131
- /**
2132
- * List of expected payments and corresponding due dates. Valid only for invoices where `collection_method=send_invoice`.
2133
- */
2134
- amounts_due?: Emptyable<Array<InvoiceUpdateParams.AmountsDue>>;
2135
1810
  /**
2136
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).
2137
1812
  */
@@ -2160,10 +1835,6 @@ export interface InvoiceUpdateParams {
2160
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.
2161
1836
  */
2162
1837
  days_until_due?: number;
2163
- /**
2164
- * The ids of the margins to apply to the invoice. Can be overridden by line item `margins`.
2165
- */
2166
- default_margins?: Emptyable<Array<string>>;
2167
1838
  /**
2168
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.
2169
1840
  */
@@ -2242,24 +1913,6 @@ export interface InvoiceUpdateParams {
2242
1913
  transfer_data?: Emptyable<InvoiceUpdateParams.TransferData>;
2243
1914
  }
2244
1915
  export declare namespace InvoiceUpdateParams {
2245
- interface AmountsDue {
2246
- /**
2247
- * The amount in cents (or local equivalent).
2248
- */
2249
- amount: number;
2250
- /**
2251
- * Number of days from when invoice is finalized until the payment is due.
2252
- */
2253
- days_until_due?: number;
2254
- /**
2255
- * An arbitrary string attached to the object. Often useful for displaying to users.
2256
- */
2257
- description: string;
2258
- /**
2259
- * Date on which a payment plan's payment is due.
2260
- */
2261
- due_date?: number;
2262
- }
2263
1916
  interface AutomaticTax {
2264
1917
  /**
2265
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.
@@ -2290,10 +1943,6 @@ export declare namespace InvoiceUpdateParams {
2290
1943
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2291
1944
  */
2292
1945
  discount?: string;
2293
- /**
2294
- * Details to determine how long the discount should be applied for.
2295
- */
2296
- discount_end?: Discount.DiscountEnd;
2297
1946
  /**
2298
1947
  * ID of the promotion code to create a new discount for.
2299
1948
  */
@@ -2387,43 +2036,11 @@ export declare namespace InvoiceUpdateParams {
2387
2036
  type: Liability.Type;
2388
2037
  }
2389
2038
  namespace Liability {
2390
- type Type = 'account' | 'application' | 'self' | OtherString;
2391
- }
2392
- }
2393
- namespace Discount {
2394
- interface DiscountEnd {
2395
- /**
2396
- * Time span for the redeemed discount.
2397
- */
2398
- duration?: DiscountEnd.Duration;
2399
- /**
2400
- * A precise Unix timestamp for the discount to end. Must be in the future.
2401
- */
2402
- timestamp?: number;
2403
- /**
2404
- * The type of calculation made to determine when the discount ends.
2405
- */
2406
- type: DiscountEnd.Type;
2407
- }
2408
- namespace DiscountEnd {
2409
- interface Duration {
2410
- /**
2411
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2412
- */
2413
- interval: Duration.Interval;
2414
- /**
2415
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2416
- */
2417
- interval_count: number;
2418
- }
2419
- type Type = 'duration' | 'timestamp' | OtherString;
2420
- namespace Duration {
2421
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2422
- }
2039
+ type Type = 'account' | 'self' | OtherString;
2423
2040
  }
2424
2041
  }
2425
2042
  namespace Issuer {
2426
- type Type = 'account' | 'application' | 'self' | OtherString;
2043
+ type Type = 'account' | 'self' | OtherString;
2427
2044
  }
2428
2045
  namespace PaymentSettings {
2429
2046
  interface PaymentMethodOptions {
@@ -2435,30 +2052,14 @@ export declare namespace InvoiceUpdateParams {
2435
2052
  * If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the invoice's PaymentIntent.
2436
2053
  */
2437
2054
  bancontact?: Emptyable<PaymentMethodOptions.Bancontact>;
2438
- /**
2439
- * If paying by `bizum`, this sub-hash contains details about the Bizum payment method options to pass to the invoice's PaymentIntent.
2440
- */
2441
- bizum?: Emptyable<PaymentMethodOptions.Bizum>;
2442
- /**
2443
- * If paying by `blik`, this sub-hash contains details about the Blik payment method options to pass to the invoice's PaymentIntent.
2444
- */
2445
- blik?: Emptyable<PaymentMethodOptions.Blik>;
2446
2055
  /**
2447
2056
  * If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the invoice's PaymentIntent.
2448
2057
  */
2449
2058
  card?: Emptyable<PaymentMethodOptions.Card>;
2450
- /**
2451
- * If paying by `check_scan`, this sub-hash contains details about the Check Scan payment method options to pass to the invoice's PaymentIntent.
2452
- */
2453
- check_scan?: Emptyable<PaymentMethodOptions.CheckScan>;
2454
2059
  /**
2455
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.
2456
2061
  */
2457
2062
  customer_balance?: Emptyable<PaymentMethodOptions.CustomerBalance>;
2458
- /**
2459
- * 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.
2460
- */
2461
- id_bank_transfer?: Emptyable<PaymentMethodOptions.IdBankTransfer>;
2462
2063
  /**
2463
2064
  * If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
2464
2065
  */
@@ -2483,12 +2084,8 @@ export declare namespace InvoiceUpdateParams {
2483
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.
2484
2085
  */
2485
2086
  us_bank_account?: Emptyable<PaymentMethodOptions.UsBankAccount>;
2486
- /**
2487
- * If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the invoice's PaymentIntent.
2488
- */
2489
- wechat_pay?: Emptyable<PaymentMethodOptions.WechatPay>;
2490
2087
  }
2491
- type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | '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' | 'mb_way' | 'momo' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sequra' | 'sofort' | 'stripe_balance' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | OtherString;
2088
+ type PaymentMethodType = 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'affirm' | 'alipay' | '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' | 'mb_way' | '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' | OtherString;
2492
2089
  namespace PaymentMethodOptions {
2493
2090
  interface AcssDebit {
2494
2091
  /**
@@ -2506,10 +2103,6 @@ export declare namespace InvoiceUpdateParams {
2506
2103
  */
2507
2104
  preferred_language?: Bancontact.PreferredLanguage;
2508
2105
  }
2509
- interface Bizum {
2510
- }
2511
- interface Blik {
2512
- }
2513
2106
  interface Card {
2514
2107
  /**
2515
2108
  * Installment configuration for payments attempted on this invoice.
@@ -2522,8 +2115,6 @@ export declare namespace InvoiceUpdateParams {
2522
2115
  */
2523
2116
  request_three_d_secure?: Card.RequestThreeDSecure;
2524
2117
  }
2525
- interface CheckScan {
2526
- }
2527
2118
  interface CustomerBalance {
2528
2119
  /**
2529
2120
  * Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
@@ -2534,8 +2125,6 @@ export declare namespace InvoiceUpdateParams {
2534
2125
  */
2535
2126
  funding_type?: string;
2536
2127
  }
2537
- interface IdBankTransfer {
2538
- }
2539
2128
  interface Konbini {
2540
2129
  }
2541
2130
  interface Payto {
@@ -2572,16 +2161,6 @@ export declare namespace InvoiceUpdateParams {
2572
2161
  */
2573
2162
  verification_method?: UsBankAccount.VerificationMethod;
2574
2163
  }
2575
- interface WechatPay {
2576
- /**
2577
- * The app ID registered with WeChat Pay. Only required when client is `ios` or `android`.
2578
- */
2579
- app_id?: string;
2580
- /**
2581
- * The client type that the end customer will pay from.
2582
- */
2583
- client?: WechatPay.Client;
2584
- }
2585
2164
  namespace AcssDebit {
2586
2165
  interface MandateOptions {
2587
2166
  /**
@@ -2714,21 +2293,14 @@ export declare namespace InvoiceUpdateParams {
2714
2293
  * The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2715
2294
  */
2716
2295
  account_subcategories?: Array<Filters.AccountSubcategory>;
2717
- /**
2718
- * ID of the institution to use to filter for selectable accounts.
2719
- */
2720
- institution?: string;
2721
2296
  }
2722
2297
  type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
2723
- type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
2298
+ type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
2724
2299
  namespace Filters {
2725
2300
  type AccountSubcategory = 'checking' | 'savings' | OtherString;
2726
2301
  }
2727
2302
  }
2728
2303
  }
2729
- namespace WechatPay {
2730
- type Client = 'android' | 'ios' | 'mobile_web' | 'web';
2731
- }
2732
2304
  }
2733
2305
  }
2734
2306
  namespace Rendering {
@@ -2851,10 +2423,6 @@ export declare namespace InvoiceUpdateParams {
2851
2423
  }
2852
2424
  }
2853
2425
  export interface InvoiceListParams extends PaginationParams {
2854
- /**
2855
- * Only return invoices for the cadence specified by this billing cadence ID.
2856
- */
2857
- billing_cadence?: string;
2858
2426
  /**
2859
2427
  * The collection method of the invoice to retrieve. Either `charge_automatically` or `send_invoice`.
2860
2428
  */
@@ -2929,10 +2497,6 @@ export declare namespace InvoiceAddLinesParams {
2929
2497
  * ID of an unassigned invoice item to assign to this invoice. If not provided, a new item will be created.
2930
2498
  */
2931
2499
  invoice_item?: string;
2932
- /**
2933
- * 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.
2934
- */
2935
- margins?: Emptyable<Array<string>>;
2936
2500
  /**
2937
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`.
2938
2502
  */
@@ -2976,10 +2540,6 @@ export declare namespace InvoiceAddLinesParams {
2976
2540
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2977
2541
  */
2978
2542
  discount?: string;
2979
- /**
2980
- * Details to determine how long the discount should be applied for.
2981
- */
2982
- discount_end?: Discount.DiscountEnd;
2983
2543
  /**
2984
2544
  * ID of the promotion code to create a new discount for.
2985
2545
  */
@@ -3047,38 +2607,6 @@ export declare namespace InvoiceAddLinesParams {
3047
2607
  */
3048
2608
  taxable_amount: number;
3049
2609
  }
3050
- namespace Discount {
3051
- interface DiscountEnd {
3052
- /**
3053
- * Time span for the redeemed discount.
3054
- */
3055
- duration?: DiscountEnd.Duration;
3056
- /**
3057
- * A precise Unix timestamp for the discount to end. Must be in the future.
3058
- */
3059
- timestamp?: number;
3060
- /**
3061
- * The type of calculation made to determine when the discount ends.
3062
- */
3063
- type: DiscountEnd.Type;
3064
- }
3065
- namespace DiscountEnd {
3066
- interface Duration {
3067
- /**
3068
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3069
- */
3070
- interval: Duration.Interval;
3071
- /**
3072
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3073
- */
3074
- interval_count: number;
3075
- }
3076
- type Type = 'duration' | 'timestamp' | OtherString;
3077
- namespace Duration {
3078
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3079
- }
3080
- }
3081
- }
3082
2610
  namespace PriceData {
3083
2611
  interface ProductData {
3084
2612
  /**
@@ -3101,28 +2629,12 @@ export declare namespace InvoiceAddLinesParams {
3101
2629
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
3102
2630
  */
3103
2631
  tax_code?: string;
3104
- /**
3105
- * Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
3106
- */
3107
- tax_details?: ProductData.TaxDetails;
3108
2632
  /**
3109
2633
  * A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
3110
2634
  */
3111
2635
  unit_label?: string;
3112
2636
  }
3113
2637
  type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
3114
- namespace ProductData {
3115
- interface TaxDetails {
3116
- /**
3117
- * 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.
3118
- */
3119
- performance_location?: string;
3120
- /**
3121
- * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
3122
- */
3123
- tax_code?: Emptyable<string>;
3124
- }
3125
- }
3126
2638
  }
3127
2639
  namespace TaxAmount {
3128
2640
  interface TaxRateData {
@@ -3166,16 +2678,12 @@ export declare namespace InvoiceAddLinesParams {
3166
2678
  type TaxabilityReason = 'customer_exempt' | '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' | OtherString;
3167
2679
  namespace TaxRateData {
3168
2680
  type JurisdictionLevel = 'city' | 'country' | 'county' | 'district' | 'multiple' | 'state' | OtherString;
3169
- type TaxType = 'amusement_tax' | 'communications_tax' | 'gst' | 'hst' | 'igst' | 'jct' | 'lease_tax' | 'pst' | 'qst' | 'retail_delivery_fee' | 'rst' | 'sales_tax' | 'service_tax' | 'vat';
2681
+ type TaxType = 'amusement_tax' | 'communications_tax' | 'gst' | 'hst' | 'igst' | 'jct' | 'lease_tax' | 'mass_transit_parking_tax' | 'parking_tax' | 'pst' | 'qst' | 'retail_delivery_fee' | 'rst' | 'sales_tax' | 'service_tax' | 'vat' | OtherString;
3170
2682
  }
3171
2683
  }
3172
2684
  }
3173
2685
  }
3174
2686
  export interface InvoiceAttachPaymentParams {
3175
- /**
3176
- * The portion of the `amount` on the PaymentIntent or out of band payment to apply to this invoice. It defaults to the entire amount.
3177
- */
3178
- amount_requested?: number;
3179
2687
  /**
3180
2688
  * Specifies which fields in the response should be expanded.
3181
2689
  */
@@ -3188,48 +2696,12 @@ export interface InvoiceAttachPaymentParams {
3188
2696
  * The ID of the PaymentRecord to attach to the invoice.
3189
2697
  */
3190
2698
  payment_record?: string;
3191
- /**
3192
- * The PaymentRecord data for attaching an out of band payment to the invoice.
3193
- */
3194
- payment_record_data?: InvoiceAttachPaymentParams.PaymentRecordData;
3195
- }
3196
- export declare namespace InvoiceAttachPaymentParams {
3197
- interface PaymentRecordData {
3198
- /**
3199
- * The amount that was paid out of band.
3200
- */
3201
- amount: number;
3202
- /**
3203
- * The currency that was paid out of band.
3204
- */
3205
- currency: string;
3206
- /**
3207
- * 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`.
3208
- */
3209
- metadata?: Emptyable<MetadataParam>;
3210
- /**
3211
- * The type of money movement for this out of band payment record.
3212
- */
3213
- money_movement_type: string;
3214
- /**
3215
- * The timestamp when this out of band payment was paid.
3216
- */
3217
- paid_at?: number;
3218
- /**
3219
- * The reference for this out of band payment record.
3220
- */
3221
- payment_reference?: string;
3222
- }
3223
2699
  }
3224
2700
  export interface InvoiceCreatePreviewParams {
3225
2701
  /**
3226
2702
  * Settings for automatic tax lookup for this invoice preview.
3227
2703
  */
3228
2704
  automatic_tax?: InvoiceCreatePreviewParams.AutomaticTax;
3229
- /**
3230
- * 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.
3231
- */
3232
- billing_cadence?: string;
3233
2705
  /**
3234
2706
  * The currency to preview this invoice in. Defaults to that of `customer` if not specified.
3235
2707
  */
@@ -3329,18 +2801,10 @@ export declare namespace InvoiceCreatePreviewParams {
3329
2801
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
3330
2802
  */
3331
2803
  discount?: string;
3332
- /**
3333
- * Details to determine how long the discount should be applied for.
3334
- */
3335
- discount_end?: Discount.DiscountEnd;
3336
2804
  /**
3337
2805
  * ID of the promotion code to create a new discount for.
3338
2806
  */
3339
2807
  promotion_code?: string;
3340
- /**
3341
- * Settings for discount application including service period anchoring.
3342
- */
3343
- settings?: Discount.Settings;
3344
2808
  }
3345
2809
  interface InvoiceItem {
3346
2810
  /**
@@ -3425,25 +2889,9 @@ export declare namespace InvoiceCreatePreviewParams {
3425
2889
  type PreviewMode = 'next' | 'recurring' | OtherString;
3426
2890
  interface ScheduleDetails {
3427
2891
  /**
3428
- * Changes to apply to the phases of the subscription schedule, in the order provided.
3429
- */
3430
- amendments?: Array<ScheduleDetails.Amendment>;
3431
- /**
3432
- * 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.
3433
- */
3434
- billing_behavior?: ScheduleDetails.BillingBehavior;
3435
- /**
3436
- * Controls how prorations and invoices for subscriptions are calculated and orchestrated.
2892
+ * Controls how prorations and invoices for subscriptions are calculated and orchestrated.
3437
2893
  */
3438
2894
  billing_mode?: ScheduleDetails.BillingMode;
3439
- /**
3440
- * Sets the billing schedules for the subscription schedule.
3441
- */
3442
- billing_schedules?: Emptyable<Array<ScheduleDetails.BillingSchedule>>;
3443
- /**
3444
- * Object representing the subscription schedule's default settings.
3445
- */
3446
- default_settings?: ScheduleDetails.DefaultSettings;
3447
2895
  /**
3448
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.
3449
2897
  */
@@ -3452,10 +2900,6 @@ export declare namespace InvoiceCreatePreviewParams {
3452
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.
3453
2901
  */
3454
2902
  phases?: Array<ScheduleDetails.Phase>;
3455
- /**
3456
- * Provide any time periods to bill in advance.
3457
- */
3458
- prebilling?: Emptyable<Array<ScheduleDetails.Prebilling>>;
3459
2903
  /**
3460
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.
3461
2905
  */
@@ -3495,17 +2939,9 @@ export declare namespace InvoiceCreatePreviewParams {
3495
2939
  */
3496
2940
  items?: Array<SubscriptionDetails.Item>;
3497
2941
  /**
3498
- * Previews the invoice that would be generated when pausing the subscription. Passing an empty hash won't preview pausing and instead returns the next invoice.
3499
- *
3500
- * To receive a preview invoice, set `invoicing_behavior` to `invoice`. A preview isn't available if the `bill_for` options produce no billable amounts.
3501
- *
3502
- * `pending_invoice_item` never has a preview available because pausing wouldn't generate an invoice, and paused subscriptions don't generate invoices either.
3503
- */
3504
- pause?: SubscriptionDetails.Pause;
3505
- /**
3506
- * The pre-billing to apply to the subscription as a preview.
2942
+ * 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`.
3507
2943
  */
3508
- prebilling?: SubscriptionDetails.Prebilling;
2944
+ metadata?: Emptyable<MetadataParam>;
3509
2945
  /**
3510
2946
  * 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`.
3511
2947
  */
@@ -3539,7 +2975,7 @@ export declare namespace InvoiceCreatePreviewParams {
3539
2975
  type: Liability.Type;
3540
2976
  }
3541
2977
  namespace Liability {
3542
- type Type = 'account' | 'application' | 'self' | OtherString;
2978
+ type Type = 'account' | 'self' | OtherString;
3543
2979
  }
3544
2980
  }
3545
2981
  namespace CustomerDetails {
@@ -3566,7 +3002,7 @@ export declare namespace InvoiceCreatePreviewParams {
3566
3002
  type TaxExempt = 'exempt' | 'none' | 'reverse';
3567
3003
  interface TaxId {
3568
3004
  /**
3569
- * Type of the tax ID, one of `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`, or `zw_tin`
3005
+ * Type of the tax ID, one of `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`, `ic_nif`, `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`, or `zw_tin`
3570
3006
  */
3571
3007
  type: TaxId.Type;
3572
3008
  /**
@@ -3575,87 +3011,7 @@ export declare namespace InvoiceCreatePreviewParams {
3575
3011
  value: string;
3576
3012
  }
3577
3013
  namespace TaxId {
3578
- 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';
3579
- }
3580
- }
3581
- namespace Discount {
3582
- interface DiscountEnd {
3583
- /**
3584
- * Time span for the redeemed discount.
3585
- */
3586
- duration?: DiscountEnd.Duration;
3587
- /**
3588
- * A precise Unix timestamp for the discount to end. Must be in the future.
3589
- */
3590
- timestamp?: number;
3591
- /**
3592
- * The type of calculation made to determine when the discount ends.
3593
- */
3594
- type: DiscountEnd.Type;
3595
- }
3596
- interface Settings {
3597
- /**
3598
- * Configures service period cycle anchoring.
3599
- */
3600
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3601
- /**
3602
- * 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.
3603
- */
3604
- start_date?: Settings.StartDate;
3605
- }
3606
- namespace DiscountEnd {
3607
- interface Duration {
3608
- /**
3609
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3610
- */
3611
- interval: Duration.Interval;
3612
- /**
3613
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3614
- */
3615
- interval_count: number;
3616
- }
3617
- type Type = 'duration' | 'timestamp' | OtherString;
3618
- namespace Duration {
3619
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3620
- }
3621
- }
3622
- namespace Settings {
3623
- interface ServicePeriodAnchorConfig {
3624
- /**
3625
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3626
- */
3627
- custom?: ServicePeriodAnchorConfig.Custom;
3628
- /**
3629
- * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
3630
- */
3631
- type?: ServicePeriodAnchorConfig.Type;
3632
- }
3633
- type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
3634
- namespace ServicePeriodAnchorConfig {
3635
- interface Custom {
3636
- /**
3637
- * The day of the month the anchor should be. Ranges from 1 to 31.
3638
- */
3639
- day_of_month: number;
3640
- /**
3641
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3642
- */
3643
- hour?: number;
3644
- /**
3645
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3646
- */
3647
- minute?: number;
3648
- /**
3649
- * The month to start full cycle periods. Ranges from 1 to 12.
3650
- */
3651
- month?: number;
3652
- /**
3653
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3654
- */
3655
- second?: number;
3656
- }
3657
- type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
3658
- }
3014
+ 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' | 'ic_nif' | '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';
3659
3015
  }
3660
3016
  }
3661
3017
  namespace InvoiceItem {
@@ -3668,10 +3024,6 @@ export declare namespace InvoiceCreatePreviewParams {
3668
3024
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
3669
3025
  */
3670
3026
  discount?: string;
3671
- /**
3672
- * Details to determine how long the discount should be applied for.
3673
- */
3674
- discount_end?: Discount.DiscountEnd;
3675
3027
  /**
3676
3028
  * ID of the promotion code to create a new discount for.
3677
3029
  */
@@ -3710,97 +3062,14 @@ export declare namespace InvoiceCreatePreviewParams {
3710
3062
  unit_amount_decimal?: Decimal;
3711
3063
  }
3712
3064
  type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
3713
- namespace Discount {
3714
- interface DiscountEnd {
3715
- /**
3716
- * Time span for the redeemed discount.
3717
- */
3718
- duration?: DiscountEnd.Duration;
3719
- /**
3720
- * A precise Unix timestamp for the discount to end. Must be in the future.
3721
- */
3722
- timestamp?: number;
3723
- /**
3724
- * The type of calculation made to determine when the discount ends.
3725
- */
3726
- type: DiscountEnd.Type;
3727
- }
3728
- namespace DiscountEnd {
3729
- interface Duration {
3730
- /**
3731
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3732
- */
3733
- interval: Duration.Interval;
3734
- /**
3735
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3736
- */
3737
- interval_count: number;
3738
- }
3739
- type Type = 'duration' | 'timestamp' | OtherString;
3740
- namespace Duration {
3741
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3742
- }
3743
- }
3744
- }
3745
3065
  namespace PriceData {
3746
3066
  type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
3747
3067
  }
3748
3068
  }
3749
3069
  namespace Issuer {
3750
- type Type = 'account' | 'application' | 'self' | OtherString;
3070
+ type Type = 'account' | 'self' | OtherString;
3751
3071
  }
3752
3072
  namespace ScheduleDetails {
3753
- interface Amendment {
3754
- /**
3755
- * 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.
3756
- */
3757
- amendment_end?: Amendment.AmendmentEnd;
3758
- /**
3759
- * Details to identify the earliest timestamp where the proposed change should take effect.
3760
- */
3761
- amendment_start: Amendment.AmendmentStart;
3762
- /**
3763
- * 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.
3764
- */
3765
- billing_cycle_anchor?: Amendment.BillingCycleAnchor;
3766
- /**
3767
- * Actions to apply to the billing schedules.
3768
- */
3769
- billing_schedules_actions?: Array<Amendment.BillingSchedulesAction>;
3770
- /**
3771
- * Changes to the coupons being redeemed or discounts being applied during the amendment time span.
3772
- */
3773
- discount_actions?: Array<Amendment.DiscountAction>;
3774
- /**
3775
- * Configures how the subscription schedule handles billing for phase transitions.
3776
- */
3777
- effective_at?: Amendment.EffectiveAt;
3778
- /**
3779
- * Changes to the subscription items during the amendment time span.
3780
- */
3781
- item_actions?: Array<Amendment.ItemAction>;
3782
- /**
3783
- * Instructions for how to modify phase metadata
3784
- */
3785
- metadata_actions?: Array<Amendment.MetadataAction>;
3786
- /**
3787
- * 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`.
3788
- */
3789
- proration_behavior?: Amendment.ProrationBehavior;
3790
- /**
3791
- * Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
3792
- */
3793
- set_pause_collection?: Amendment.SetPauseCollection;
3794
- /**
3795
- * Ends the subscription schedule early as dictated by either the accompanying amendment's start or end.
3796
- */
3797
- set_schedule_end?: Amendment.SetScheduleEnd;
3798
- /**
3799
- * Settings related to subscription trials.
3800
- */
3801
- trial_settings?: Amendment.TrialSettings;
3802
- }
3803
- type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front';
3804
3073
  interface BillingMode {
3805
3074
  /**
3806
3075
  * Configure behavior for flexible billing mode.
@@ -3811,26 +3080,6 @@ export declare namespace InvoiceCreatePreviewParams {
3811
3080
  */
3812
3081
  type: BillingMode.Type;
3813
3082
  }
3814
- interface BillingSchedule {
3815
- /**
3816
- * Configure billing schedule differently for individual subscription items.
3817
- */
3818
- applies_to?: Array<BillingSchedule.AppliesTo>;
3819
- /**
3820
- * The end date for the billing schedule.
3821
- */
3822
- bill_until?: BillingSchedule.BillUntil;
3823
- /**
3824
- * 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.
3825
- */
3826
- key?: string;
3827
- }
3828
- interface DefaultSettings {
3829
- /**
3830
- * Configures how the subscription schedule handles billing for phase transitions.
3831
- */
3832
- phase_effective_at?: DefaultSettings.PhaseEffectiveAt;
3833
- }
3834
3083
  type EndBehavior = 'cancel' | 'release';
3835
3084
  interface Phase {
3836
3085
  /**
@@ -3881,10 +3130,6 @@ export declare namespace InvoiceCreatePreviewParams {
3881
3130
  * The number of intervals the phase should last. If set, `end_date` must not be set.
3882
3131
  */
3883
3132
  duration?: Phase.Duration;
3884
- /**
3885
- * Configures how the subscription schedule handles billing for phase transitions.
3886
- */
3887
- effective_at?: Phase.EffectiveAt;
3888
3133
  /**
3889
3134
  * The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.
3890
3135
  */
@@ -3905,10 +3150,6 @@ export declare namespace InvoiceCreatePreviewParams {
3905
3150
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
3906
3151
  */
3907
3152
  on_behalf_of?: string;
3908
- /**
3909
- * 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).
3910
- */
3911
- pause_collection?: Phase.PauseCollection;
3912
3153
  /**
3913
3154
  * 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.
3914
3155
  */
@@ -3925,702 +3166,12 @@ export declare namespace InvoiceCreatePreviewParams {
3925
3166
  * If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
3926
3167
  */
3927
3168
  trial?: boolean;
3928
- /**
3929
- * Specify trial behavior when crossing phase boundaries
3930
- */
3931
- trial_continuation?: Phase.TrialContinuation;
3932
3169
  /**
3933
3170
  * Sets the phase to trialing from the start date to this date. Must be within the phase. When previewing an update, if combined with `trial=true`, it must match the phase end date.
3934
3171
  */
3935
3172
  trial_end?: number | 'now';
3936
- /**
3937
- * Settings related to subscription trials.
3938
- */
3939
- trial_settings?: Phase.TrialSettings;
3940
- }
3941
- interface Prebilling {
3942
- /**
3943
- * The end of the prebilled time period.
3944
- */
3945
- bill_until?: Prebilling.BillUntil;
3946
- /**
3947
- * This is used to determine the number of billing cycles to prebill.
3948
- */
3949
- iterations?: number;
3950
3173
  }
3951
3174
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
3952
- namespace Amendment {
3953
- interface AmendmentEnd {
3954
- /**
3955
- * Use the `end` time of a given discount.
3956
- */
3957
- discount_end?: AmendmentEnd.DiscountEnd;
3958
- /**
3959
- * Time span for the amendment starting from the `amendment_start`.
3960
- */
3961
- duration?: AmendmentEnd.Duration;
3962
- /**
3963
- * A precise Unix timestamp for the amendment to end. Must be after the `amendment_start`.
3964
- */
3965
- timestamp?: number;
3966
- /**
3967
- * Select one of three ways to pass the `amendment_end`.
3968
- */
3969
- type: AmendmentEnd.Type;
3970
- }
3971
- interface AmendmentStart {
3972
- /**
3973
- * Details of another amendment in the same array, immediately after which this amendment should begin.
3974
- */
3975
- amendment_end?: AmendmentStart.AmendmentEnd;
3976
- /**
3977
- * Use the `end` time of a given discount.
3978
- */
3979
- discount_end?: AmendmentStart.DiscountEnd;
3980
- /**
3981
- * A precise Unix timestamp for the amendment to start.
3982
- */
3983
- timestamp?: number;
3984
- /**
3985
- * Select one of three ways to pass the `amendment_start`.
3986
- */
3987
- type: AmendmentStart.Type;
3988
- }
3989
- type BillingCycleAnchor = 'amendment_start' | 'automatic' | OtherString;
3990
- interface BillingSchedulesAction {
3991
- /**
3992
- * Specify which subscription items the billing schedule applies to.
3993
- */
3994
- applies_to?: Array<BillingSchedulesAction.AppliesTo>;
3995
- /**
3996
- * Select the action.
3997
- */
3998
- type: BillingSchedulesAction.Type;
3999
- }
4000
- interface DiscountAction {
4001
- /**
4002
- * Details of the discount to add.
4003
- */
4004
- add?: DiscountAction.Add;
4005
- /**
4006
- * Details of the discount to remove.
4007
- */
4008
- remove?: DiscountAction.Remove;
4009
- /**
4010
- * Details of the discount to replace the existing discounts with.
4011
- */
4012
- set?: DiscountAction.Set;
4013
- /**
4014
- * Determines the type of discount action.
4015
- */
4016
- type: DiscountAction.Type;
4017
- }
4018
- type EffectiveAt = 'amendment_start' | 'billing_period_start' | OtherString;
4019
- interface ItemAction {
4020
- /**
4021
- * 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.
4022
- */
4023
- add?: ItemAction.Add;
4024
- /**
4025
- * Details of the subscription item to remove.
4026
- */
4027
- remove?: ItemAction.Remove;
4028
- /**
4029
- * 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.
4030
- */
4031
- set?: ItemAction.Set;
4032
- /**
4033
- * Determines the type of item action.
4034
- */
4035
- type: ItemAction.Type;
4036
- }
4037
- interface MetadataAction {
4038
- /**
4039
- * Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata.
4040
- */
4041
- add?: {
4042
- [key: string]: string;
4043
- };
4044
- /**
4045
- * Keys to remove from schedule phase metadata.
4046
- */
4047
- remove?: Array<string>;
4048
- /**
4049
- * Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten.
4050
- */
4051
- set?: Emptyable<{
4052
- [key: string]: string;
4053
- }>;
4054
- /**
4055
- * Select one of three ways to update phase-level `metadata` on subscription schedules.
4056
- */
4057
- type: MetadataAction.Type;
4058
- }
4059
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
4060
- interface SetPauseCollection {
4061
- /**
4062
- * Details of the pause_collection behavior to apply to the amendment.
4063
- */
4064
- set?: SetPauseCollection.Set;
4065
- /**
4066
- * Determines the type of the pause_collection amendment.
4067
- */
4068
- type: SetPauseCollection.Type;
4069
- }
4070
- type SetScheduleEnd = 'amendment_end' | 'amendment_start' | OtherString;
4071
- interface TrialSettings {
4072
- /**
4073
- * Defines how the subscription should behave when a trial ends.
4074
- */
4075
- end_behavior?: TrialSettings.EndBehavior;
4076
- }
4077
- namespace AmendmentEnd {
4078
- interface DiscountEnd {
4079
- /**
4080
- * The ID of a specific discount.
4081
- */
4082
- discount: string;
4083
- }
4084
- interface Duration {
4085
- /**
4086
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4087
- */
4088
- interval: Duration.Interval;
4089
- /**
4090
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4091
- */
4092
- interval_count: number;
4093
- }
4094
- type Type = 'discount_end' | 'duration' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
4095
- namespace Duration {
4096
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
4097
- }
4098
- }
4099
- namespace AmendmentStart {
4100
- interface AmendmentEnd {
4101
- /**
4102
- * 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.
4103
- */
4104
- index: number;
4105
- }
4106
- interface DiscountEnd {
4107
- /**
4108
- * The ID of a specific discount.
4109
- */
4110
- discount: string;
4111
- }
4112
- type Type = 'amendment_end' | 'discount_end' | 'now' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
4113
- }
4114
- namespace BillingSchedulesAction {
4115
- interface AppliesTo {
4116
- /**
4117
- * The ID of the price object.
4118
- */
4119
- price?: string;
4120
- /**
4121
- * Controls which subscription items the billing schedule applies to.
4122
- */
4123
- type: 'price';
4124
- }
4125
- type Type = 'remove' | 'set' | OtherString;
4126
- }
4127
- namespace DiscountAction {
4128
- interface Add {
4129
- /**
4130
- * The coupon code to redeem.
4131
- */
4132
- coupon?: string;
4133
- /**
4134
- * An ID of an existing discount for a coupon that was already redeemed.
4135
- */
4136
- discount?: string;
4137
- /**
4138
- * Details to determine how long the discount should be applied for.
4139
- */
4140
- discount_end?: Add.DiscountEnd;
4141
- /**
4142
- * 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.
4143
- */
4144
- index?: number;
4145
- /**
4146
- * The promotion code to redeem.
4147
- */
4148
- promotion_code?: string;
4149
- /**
4150
- * Settings for discount application including service period anchoring.
4151
- */
4152
- settings?: Add.Settings;
4153
- }
4154
- interface Remove {
4155
- /**
4156
- * The coupon code to remove from the `discounts` array.
4157
- */
4158
- coupon?: string;
4159
- /**
4160
- * The ID of a discount to remove from the `discounts` array.
4161
- */
4162
- discount?: string;
4163
- /**
4164
- * The ID of a promotion code to remove from the `discounts` array.
4165
- */
4166
- promotion_code?: string;
4167
- }
4168
- interface Set {
4169
- /**
4170
- * The coupon code to replace the `discounts` array with.
4171
- */
4172
- coupon?: string;
4173
- /**
4174
- * An ID of an existing discount to replace the `discounts` array with.
4175
- */
4176
- discount?: string;
4177
- /**
4178
- * An ID of an existing promotion code to replace the `discounts` array with.
4179
- */
4180
- promotion_code?: string;
4181
- /**
4182
- * Settings for discount application including service period anchoring.
4183
- */
4184
- settings?: Set.Settings;
4185
- }
4186
- type Type = 'add' | 'remove' | 'set' | OtherString;
4187
- namespace Add {
4188
- interface DiscountEnd {
4189
- /**
4190
- * The type of calculation made to determine when the discount ends.
4191
- */
4192
- type: 'amendment_end';
4193
- }
4194
- interface Settings {
4195
- /**
4196
- * Configures service period cycle anchoring.
4197
- */
4198
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
4199
- /**
4200
- * 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.
4201
- */
4202
- start_date?: Settings.StartDate;
4203
- }
4204
- namespace Settings {
4205
- interface ServicePeriodAnchorConfig {
4206
- /**
4207
- * Anchor the service period to a custom date. Type must be `custom` to specify.
4208
- */
4209
- custom?: ServicePeriodAnchorConfig.Custom;
4210
- /**
4211
- * The type of service period anchor config. Defaults to `inherit` if omitted.
4212
- */
4213
- type?: ServicePeriodAnchorConfig.Type;
4214
- }
4215
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
4216
- namespace ServicePeriodAnchorConfig {
4217
- interface Custom {
4218
- /**
4219
- * The day of the month the anchor should be. Ranges from 1 to 31.
4220
- */
4221
- day_of_month: number;
4222
- /**
4223
- * The hour of the day the anchor should be. Ranges from 0 to 23.
4224
- */
4225
- hour?: number;
4226
- /**
4227
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
4228
- */
4229
- minute?: number;
4230
- /**
4231
- * The month to start full cycle periods. Ranges from 1 to 12.
4232
- */
4233
- month?: number;
4234
- /**
4235
- * The second of the minute the anchor should be. Ranges from 0 to 59.
4236
- */
4237
- second?: number;
4238
- }
4239
- type Type = 'custom' | 'inherit' | OtherString;
4240
- }
4241
- }
4242
- }
4243
- namespace Set {
4244
- interface Settings {
4245
- /**
4246
- * Configures service period cycle anchoring.
4247
- */
4248
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
4249
- /**
4250
- * 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.
4251
- */
4252
- start_date?: Settings.StartDate;
4253
- }
4254
- namespace Settings {
4255
- interface ServicePeriodAnchorConfig {
4256
- /**
4257
- * Anchor the service period to a custom date. Type must be `custom` to specify.
4258
- */
4259
- custom?: ServicePeriodAnchorConfig.Custom;
4260
- /**
4261
- * The type of service period anchor config. Defaults to `inherit` if omitted.
4262
- */
4263
- type?: ServicePeriodAnchorConfig.Type;
4264
- }
4265
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
4266
- namespace ServicePeriodAnchorConfig {
4267
- interface Custom {
4268
- /**
4269
- * The day of the month the anchor should be. Ranges from 1 to 31.
4270
- */
4271
- day_of_month: number;
4272
- /**
4273
- * The hour of the day the anchor should be. Ranges from 0 to 23.
4274
- */
4275
- hour?: number;
4276
- /**
4277
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
4278
- */
4279
- minute?: number;
4280
- /**
4281
- * The month to start full cycle periods. Ranges from 1 to 12.
4282
- */
4283
- month?: number;
4284
- /**
4285
- * The second of the minute the anchor should be. Ranges from 0 to 59.
4286
- */
4287
- second?: number;
4288
- }
4289
- type Type = 'custom' | 'inherit' | OtherString;
4290
- }
4291
- }
4292
- }
4293
- }
4294
- namespace ItemAction {
4295
- interface Add {
4296
- /**
4297
- * The discounts applied to the item. Subscription item discounts are applied before subscription discounts.
4298
- */
4299
- discounts?: Array<Add.Discount>;
4300
- /**
4301
- * 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`.
4302
- */
4303
- metadata?: MetadataParam;
4304
- /**
4305
- * The ID of the price object.
4306
- */
4307
- price: string;
4308
- /**
4309
- * Quantity for this item.
4310
- */
4311
- quantity?: number;
4312
- /**
4313
- * 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`.
4314
- */
4315
- tax_rates?: Array<string>;
4316
- /**
4317
- * Options that configure the trial on the subscription item.
4318
- */
4319
- trial?: Add.Trial;
4320
- /**
4321
- * The ID of the trial offer to apply to the configuration item.
4322
- */
4323
- trial_offer?: string;
4324
- }
4325
- interface Remove {
4326
- /**
4327
- * ID of a price to remove.
4328
- */
4329
- price: string;
4330
- }
4331
- interface Set {
4332
- /**
4333
- * 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`.
4334
- */
4335
- discounts?: Array<Set.Discount>;
4336
- /**
4337
- * 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`.
4338
- */
4339
- metadata?: MetadataParam;
4340
- /**
4341
- * The ID of the price object.
4342
- */
4343
- price: string;
4344
- /**
4345
- * 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`.
4346
- */
4347
- quantity?: number;
4348
- /**
4349
- * 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`.
4350
- */
4351
- tax_rates?: Array<string>;
4352
- /**
4353
- * 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`.
4354
- */
4355
- trial?: Set.Trial;
4356
- /**
4357
- * The ID of the trial offer to apply to the configuration item.
4358
- */
4359
- trial_offer?: string;
4360
- }
4361
- type Type = 'add' | 'remove' | 'set' | OtherString;
4362
- namespace Add {
4363
- interface Discount {
4364
- /**
4365
- * ID of the coupon to create a new discount for.
4366
- */
4367
- coupon?: string;
4368
- /**
4369
- * ID of an existing discount on the object (or one of its ancestors) to reuse.
4370
- */
4371
- discount?: string;
4372
- /**
4373
- * Details to determine how long the discount should be applied for.
4374
- */
4375
- discount_end?: Discount.DiscountEnd;
4376
- /**
4377
- * ID of the promotion code to create a new discount for.
4378
- */
4379
- promotion_code?: string;
4380
- /**
4381
- * Settings for discount application including service period anchoring.
4382
- */
4383
- settings?: Discount.Settings;
4384
- }
4385
- interface Trial {
4386
- /**
4387
- * 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.
4388
- */
4389
- converts_to?: Array<string>;
4390
- /**
4391
- * Determines the type of trial for this item.
4392
- */
4393
- type: Trial.Type;
4394
- }
4395
- namespace Discount {
4396
- interface DiscountEnd {
4397
- /**
4398
- * Time span for the redeemed discount.
4399
- */
4400
- duration?: DiscountEnd.Duration;
4401
- /**
4402
- * A precise Unix timestamp for the discount to end. Must be in the future.
4403
- */
4404
- timestamp?: number;
4405
- /**
4406
- * The type of calculation made to determine when the discount ends.
4407
- */
4408
- type: DiscountEnd.Type;
4409
- }
4410
- interface Settings {
4411
- /**
4412
- * Configures service period cycle anchoring.
4413
- */
4414
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
4415
- /**
4416
- * 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.
4417
- */
4418
- start_date?: Settings.StartDate;
4419
- }
4420
- namespace DiscountEnd {
4421
- interface Duration {
4422
- /**
4423
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4424
- */
4425
- interval: Duration.Interval;
4426
- /**
4427
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4428
- */
4429
- interval_count: number;
4430
- }
4431
- type Type = 'duration' | 'timestamp' | OtherString;
4432
- namespace Duration {
4433
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
4434
- }
4435
- }
4436
- namespace Settings {
4437
- interface ServicePeriodAnchorConfig {
4438
- /**
4439
- * Anchor the service period to a custom date. Type must be `custom` to specify.
4440
- */
4441
- custom?: ServicePeriodAnchorConfig.Custom;
4442
- /**
4443
- * The type of service period anchor config. Defaults to `inherit` if omitted.
4444
- */
4445
- type?: ServicePeriodAnchorConfig.Type;
4446
- }
4447
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
4448
- namespace ServicePeriodAnchorConfig {
4449
- interface Custom {
4450
- /**
4451
- * The day of the month the anchor should be. Ranges from 1 to 31.
4452
- */
4453
- day_of_month: number;
4454
- /**
4455
- * The hour of the day the anchor should be. Ranges from 0 to 23.
4456
- */
4457
- hour?: number;
4458
- /**
4459
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
4460
- */
4461
- minute?: number;
4462
- /**
4463
- * The month to start full cycle periods. Ranges from 1 to 12.
4464
- */
4465
- month?: number;
4466
- /**
4467
- * The second of the minute the anchor should be. Ranges from 0 to 59.
4468
- */
4469
- second?: number;
4470
- }
4471
- type Type = 'custom' | 'inherit' | OtherString;
4472
- }
4473
- }
4474
- }
4475
- namespace Trial {
4476
- type Type = 'free' | 'paid' | OtherString;
4477
- }
4478
- }
4479
- namespace Set {
4480
- interface Discount {
4481
- /**
4482
- * ID of the coupon to create a new discount for.
4483
- */
4484
- coupon?: string;
4485
- /**
4486
- * ID of an existing discount on the object (or one of its ancestors) to reuse.
4487
- */
4488
- discount?: string;
4489
- /**
4490
- * Details to determine how long the discount should be applied for.
4491
- */
4492
- discount_end?: Discount.DiscountEnd;
4493
- /**
4494
- * ID of the promotion code to create a new discount for.
4495
- */
4496
- promotion_code?: string;
4497
- /**
4498
- * Settings for discount application including service period anchoring.
4499
- */
4500
- settings?: Discount.Settings;
4501
- }
4502
- interface Trial {
4503
- /**
4504
- * 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.
4505
- */
4506
- converts_to?: Array<string>;
4507
- /**
4508
- * Determines the type of trial for this item.
4509
- */
4510
- type: Trial.Type;
4511
- }
4512
- namespace Discount {
4513
- interface DiscountEnd {
4514
- /**
4515
- * Time span for the redeemed discount.
4516
- */
4517
- duration?: DiscountEnd.Duration;
4518
- /**
4519
- * A precise Unix timestamp for the discount to end. Must be in the future.
4520
- */
4521
- timestamp?: number;
4522
- /**
4523
- * The type of calculation made to determine when the discount ends.
4524
- */
4525
- type: DiscountEnd.Type;
4526
- }
4527
- interface Settings {
4528
- /**
4529
- * Configures service period cycle anchoring.
4530
- */
4531
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
4532
- /**
4533
- * 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.
4534
- */
4535
- start_date?: Settings.StartDate;
4536
- }
4537
- namespace DiscountEnd {
4538
- interface Duration {
4539
- /**
4540
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4541
- */
4542
- interval: Duration.Interval;
4543
- /**
4544
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4545
- */
4546
- interval_count: number;
4547
- }
4548
- type Type = 'duration' | 'timestamp' | OtherString;
4549
- namespace Duration {
4550
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
4551
- }
4552
- }
4553
- namespace Settings {
4554
- interface ServicePeriodAnchorConfig {
4555
- /**
4556
- * Anchor the service period to a custom date. Type must be `custom` to specify.
4557
- */
4558
- custom?: ServicePeriodAnchorConfig.Custom;
4559
- /**
4560
- * The type of service period anchor config. Defaults to `inherit` if omitted.
4561
- */
4562
- type?: ServicePeriodAnchorConfig.Type;
4563
- }
4564
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
4565
- namespace ServicePeriodAnchorConfig {
4566
- interface Custom {
4567
- /**
4568
- * The day of the month the anchor should be. Ranges from 1 to 31.
4569
- */
4570
- day_of_month: number;
4571
- /**
4572
- * The hour of the day the anchor should be. Ranges from 0 to 23.
4573
- */
4574
- hour?: number;
4575
- /**
4576
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
4577
- */
4578
- minute?: number;
4579
- /**
4580
- * The month to start full cycle periods. Ranges from 1 to 12.
4581
- */
4582
- month?: number;
4583
- /**
4584
- * The second of the minute the anchor should be. Ranges from 0 to 59.
4585
- */
4586
- second?: number;
4587
- }
4588
- type Type = 'custom' | 'inherit' | OtherString;
4589
- }
4590
- }
4591
- }
4592
- namespace Trial {
4593
- type Type = 'free' | 'paid' | OtherString;
4594
- }
4595
- }
4596
- }
4597
- namespace MetadataAction {
4598
- type Type = 'add' | 'remove' | 'set' | OtherString;
4599
- }
4600
- namespace SetPauseCollection {
4601
- interface Set {
4602
- /**
4603
- * The payment collection behavior for this subscription while paused.
4604
- */
4605
- behavior: Set.Behavior;
4606
- }
4607
- type Type = 'remove' | 'set' | OtherString;
4608
- namespace Set {
4609
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
4610
- }
4611
- }
4612
- namespace TrialSettings {
4613
- interface EndBehavior {
4614
- /**
4615
- * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
4616
- */
4617
- prorate_up_front?: EndBehavior.ProrateUpFront;
4618
- }
4619
- namespace EndBehavior {
4620
- type ProrateUpFront = 'defer' | 'include' | OtherString;
4621
- }
4622
- }
4623
- }
4624
3175
  namespace BillingMode {
4625
3176
  interface Flexible {
4626
3177
  /**
@@ -4633,51 +3184,6 @@ export declare namespace InvoiceCreatePreviewParams {
4633
3184
  type ProrationDiscounts = 'included' | 'itemized';
4634
3185
  }
4635
3186
  }
4636
- namespace BillingSchedule {
4637
- interface AppliesTo {
4638
- /**
4639
- * The ID of the price object.
4640
- */
4641
- price?: string;
4642
- /**
4643
- * Controls which subscription items the billing schedule applies to.
4644
- */
4645
- type: 'price';
4646
- }
4647
- interface BillUntil {
4648
- /**
4649
- * Specifies the billing period.
4650
- */
4651
- duration?: BillUntil.Duration;
4652
- /**
4653
- * The end date of the billing schedule.
4654
- */
4655
- timestamp?: number;
4656
- /**
4657
- * Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
4658
- */
4659
- type: BillUntil.Type;
4660
- }
4661
- namespace BillUntil {
4662
- interface Duration {
4663
- /**
4664
- * Specifies billing duration. Either `day`, `week`, `month` or `year`.
4665
- */
4666
- interval: Duration.Interval;
4667
- /**
4668
- * The multiplier applied to the interval.
4669
- */
4670
- interval_count?: number;
4671
- }
4672
- type Type = 'duration' | 'timestamp' | OtherString;
4673
- namespace Duration {
4674
- type Interval = 'day' | 'month' | 'week' | 'year';
4675
- }
4676
- }
4677
- }
4678
- namespace DefaultSettings {
4679
- type PhaseEffectiveAt = 'billing_period_start' | 'phase_start';
4680
- }
4681
3187
  namespace Phase {
4682
3188
  interface AddInvoiceItem {
4683
3189
  /**
@@ -4744,18 +3250,10 @@ export declare namespace InvoiceCreatePreviewParams {
4744
3250
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
4745
3251
  */
4746
3252
  discount?: string;
4747
- /**
4748
- * Details to determine how long the discount should be applied for.
4749
- */
4750
- discount_end?: Discount.DiscountEnd;
4751
3253
  /**
4752
3254
  * ID of the promotion code to create a new discount for.
4753
3255
  */
4754
3256
  promotion_code?: string;
4755
- /**
4756
- * Settings for discount application including service period anchoring.
4757
- */
4758
- settings?: Discount.Settings;
4759
3257
  }
4760
3258
  interface Duration {
4761
3259
  /**
@@ -4767,7 +3265,6 @@ export declare namespace InvoiceCreatePreviewParams {
4767
3265
  */
4768
3266
  interval_count?: number;
4769
3267
  }
4770
- type EffectiveAt = 'billing_period_start' | 'phase_start';
4771
3268
  interface InvoiceSettings {
4772
3269
  /**
4773
3270
  * 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.
@@ -4815,20 +3312,6 @@ export declare namespace InvoiceCreatePreviewParams {
4815
3312
  * 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.
4816
3313
  */
4817
3314
  tax_rates?: Emptyable<Array<string>>;
4818
- /**
4819
- * Options that configure the trial on the subscription item.
4820
- */
4821
- trial?: Item.Trial;
4822
- /**
4823
- * The ID of the trial offer to apply to the configuration item.
4824
- */
4825
- trial_offer?: string;
4826
- }
4827
- interface PauseCollection {
4828
- /**
4829
- * The payment collection behavior for this subscription while paused.
4830
- */
4831
- behavior: PauseCollection.Behavior;
4832
3315
  }
4833
3316
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
4834
3317
  interface TransferData {
@@ -4841,13 +3324,6 @@ export declare namespace InvoiceCreatePreviewParams {
4841
3324
  */
4842
3325
  destination: string;
4843
3326
  }
4844
- type TrialContinuation = 'continue' | 'none' | OtherString;
4845
- interface TrialSettings {
4846
- /**
4847
- * Defines how the subscription should behave when a trial ends.
4848
- */
4849
- end_behavior?: TrialSettings.EndBehavior;
4850
- }
4851
3327
  namespace AddInvoiceItem {
4852
3328
  interface Discount {
4853
3329
  /**
@@ -4858,10 +3334,6 @@ export declare namespace InvoiceCreatePreviewParams {
4858
3334
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
4859
3335
  */
4860
3336
  discount?: string;
4861
- /**
4862
- * Details to determine how long the discount should be applied for.
4863
- */
4864
- discount_end?: Discount.DiscountEnd;
4865
3337
  /**
4866
3338
  * ID of the promotion code to create a new discount for.
4867
3339
  */
@@ -4899,38 +3371,6 @@ export declare namespace InvoiceCreatePreviewParams {
4899
3371
  */
4900
3372
  unit_amount_decimal?: Decimal;
4901
3373
  }
4902
- namespace Discount {
4903
- interface DiscountEnd {
4904
- /**
4905
- * Time span for the redeemed discount.
4906
- */
4907
- duration?: DiscountEnd.Duration;
4908
- /**
4909
- * A precise Unix timestamp for the discount to end. Must be in the future.
4910
- */
4911
- timestamp?: number;
4912
- /**
4913
- * The type of calculation made to determine when the discount ends.
4914
- */
4915
- type: DiscountEnd.Type;
4916
- }
4917
- namespace DiscountEnd {
4918
- interface Duration {
4919
- /**
4920
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4921
- */
4922
- interval: Duration.Interval;
4923
- /**
4924
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4925
- */
4926
- interval_count: number;
4927
- }
4928
- type Type = 'duration' | 'timestamp' | OtherString;
4929
- namespace Duration {
4930
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
4931
- }
4932
- }
4933
- }
4934
3374
  namespace Period {
4935
3375
  interface End {
4936
3376
  /**
@@ -4975,87 +3415,7 @@ export declare namespace InvoiceCreatePreviewParams {
4975
3415
  type: Liability.Type;
4976
3416
  }
4977
3417
  namespace Liability {
4978
- type Type = 'account' | 'application' | 'self' | OtherString;
4979
- }
4980
- }
4981
- namespace Discount {
4982
- interface DiscountEnd {
4983
- /**
4984
- * Time span for the redeemed discount.
4985
- */
4986
- duration?: DiscountEnd.Duration;
4987
- /**
4988
- * A precise Unix timestamp for the discount to end. Must be in the future.
4989
- */
4990
- timestamp?: number;
4991
- /**
4992
- * The type of calculation made to determine when the discount ends.
4993
- */
4994
- type: DiscountEnd.Type;
4995
- }
4996
- interface Settings {
4997
- /**
4998
- * Configures service period cycle anchoring.
4999
- */
5000
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
5001
- /**
5002
- * 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.
5003
- */
5004
- start_date?: Settings.StartDate;
5005
- }
5006
- namespace DiscountEnd {
5007
- interface Duration {
5008
- /**
5009
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
5010
- */
5011
- interval: Duration.Interval;
5012
- /**
5013
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
5014
- */
5015
- interval_count: number;
5016
- }
5017
- type Type = 'duration' | 'timestamp' | OtherString;
5018
- namespace Duration {
5019
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
5020
- }
5021
- }
5022
- namespace Settings {
5023
- interface ServicePeriodAnchorConfig {
5024
- /**
5025
- * Anchor the service period to a custom date. Type must be `custom` to specify.
5026
- */
5027
- custom?: ServicePeriodAnchorConfig.Custom;
5028
- /**
5029
- * The type of service period anchor config. Defaults to `inherit` if omitted.
5030
- */
5031
- type?: ServicePeriodAnchorConfig.Type;
5032
- }
5033
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
5034
- namespace ServicePeriodAnchorConfig {
5035
- interface Custom {
5036
- /**
5037
- * The day of the month the anchor should be. Ranges from 1 to 31.
5038
- */
5039
- day_of_month: number;
5040
- /**
5041
- * The hour of the day the anchor should be. Ranges from 0 to 23.
5042
- */
5043
- hour?: number;
5044
- /**
5045
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
5046
- */
5047
- minute?: number;
5048
- /**
5049
- * The month to start full cycle periods. Ranges from 1 to 12.
5050
- */
5051
- month?: number;
5052
- /**
5053
- * The second of the minute the anchor should be. Ranges from 0 to 59.
5054
- */
5055
- second?: number;
5056
- }
5057
- type Type = 'custom' | 'inherit' | OtherString;
5058
- }
3418
+ type Type = 'account' | 'self' | OtherString;
5059
3419
  }
5060
3420
  }
5061
3421
  namespace Duration {
@@ -5073,7 +3433,7 @@ export declare namespace InvoiceCreatePreviewParams {
5073
3433
  type: Issuer.Type;
5074
3434
  }
5075
3435
  namespace Issuer {
5076
- type Type = 'account' | 'application' | 'self' | OtherString;
3436
+ type Type = 'account' | 'self' | OtherString;
5077
3437
  }
5078
3438
  }
5079
3439
  namespace Item {
@@ -5092,18 +3452,10 @@ export declare namespace InvoiceCreatePreviewParams {
5092
3452
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
5093
3453
  */
5094
3454
  discount?: string;
5095
- /**
5096
- * Details to determine how long the discount should be applied for.
5097
- */
5098
- discount_end?: Discount.DiscountEnd;
5099
3455
  /**
5100
3456
  * ID of the promotion code to create a new discount for.
5101
3457
  */
5102
3458
  promotion_code?: string;
5103
- /**
5104
- * Settings for discount application including service period anchoring.
5105
- */
5106
- settings?: Discount.Settings;
5107
3459
  }
5108
3460
  interface PriceData {
5109
3461
  /**
@@ -5131,96 +3483,6 @@ export declare namespace InvoiceCreatePreviewParams {
5131
3483
  */
5132
3484
  unit_amount_decimal?: Decimal;
5133
3485
  }
5134
- interface Trial {
5135
- /**
5136
- * 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.
5137
- */
5138
- converts_to?: Array<string>;
5139
- /**
5140
- * Determines the type of trial for this item.
5141
- */
5142
- type: Trial.Type;
5143
- }
5144
- namespace Discount {
5145
- interface DiscountEnd {
5146
- /**
5147
- * Time span for the redeemed discount.
5148
- */
5149
- duration?: DiscountEnd.Duration;
5150
- /**
5151
- * A precise Unix timestamp for the discount to end. Must be in the future.
5152
- */
5153
- timestamp?: number;
5154
- /**
5155
- * The type of calculation made to determine when the discount ends.
5156
- */
5157
- type: DiscountEnd.Type;
5158
- }
5159
- interface Settings {
5160
- /**
5161
- * Configures service period cycle anchoring.
5162
- */
5163
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
5164
- /**
5165
- * 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.
5166
- */
5167
- start_date?: Settings.StartDate;
5168
- }
5169
- namespace DiscountEnd {
5170
- interface Duration {
5171
- /**
5172
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
5173
- */
5174
- interval: Duration.Interval;
5175
- /**
5176
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
5177
- */
5178
- interval_count: number;
5179
- }
5180
- type Type = 'duration' | 'timestamp' | OtherString;
5181
- namespace Duration {
5182
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
5183
- }
5184
- }
5185
- namespace Settings {
5186
- interface ServicePeriodAnchorConfig {
5187
- /**
5188
- * Anchor the service period to a custom date. Type must be `custom` to specify.
5189
- */
5190
- custom?: ServicePeriodAnchorConfig.Custom;
5191
- /**
5192
- * The type of service period anchor config. Defaults to `inherit` if omitted.
5193
- */
5194
- type?: ServicePeriodAnchorConfig.Type;
5195
- }
5196
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
5197
- namespace ServicePeriodAnchorConfig {
5198
- interface Custom {
5199
- /**
5200
- * The day of the month the anchor should be. Ranges from 1 to 31.
5201
- */
5202
- day_of_month: number;
5203
- /**
5204
- * The hour of the day the anchor should be. Ranges from 0 to 23.
5205
- */
5206
- hour?: number;
5207
- /**
5208
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
5209
- */
5210
- minute?: number;
5211
- /**
5212
- * The month to start full cycle periods. Ranges from 1 to 12.
5213
- */
5214
- month?: number;
5215
- /**
5216
- * The second of the minute the anchor should be. Ranges from 0 to 59.
5217
- */
5218
- second?: number;
5219
- }
5220
- type Type = 'custom' | 'inherit' | OtherString;
5221
- }
5222
- }
5223
- }
5224
3486
  namespace PriceData {
5225
3487
  interface Recurring {
5226
3488
  /**
@@ -5237,65 +3499,6 @@ export declare namespace InvoiceCreatePreviewParams {
5237
3499
  type Interval = 'day' | 'month' | 'week' | 'year';
5238
3500
  }
5239
3501
  }
5240
- namespace Trial {
5241
- type Type = 'free' | 'paid' | OtherString;
5242
- }
5243
- }
5244
- namespace PauseCollection {
5245
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
5246
- }
5247
- namespace TrialSettings {
5248
- interface EndBehavior {
5249
- /**
5250
- * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
5251
- */
5252
- prorate_up_front?: EndBehavior.ProrateUpFront;
5253
- }
5254
- namespace EndBehavior {
5255
- type ProrateUpFront = 'defer' | 'include' | OtherString;
5256
- }
5257
- }
5258
- }
5259
- namespace Prebilling {
5260
- interface BillUntil {
5261
- /**
5262
- * End the prebilled period when a specified amendment ends.
5263
- */
5264
- amendment_end?: BillUntil.AmendmentEnd;
5265
- /**
5266
- * Time span for prebilling, starting from `bill_from`.
5267
- */
5268
- duration?: BillUntil.Duration;
5269
- /**
5270
- * End the prebilled period at a precise integer timestamp, starting from the Unix epoch.
5271
- */
5272
- timestamp?: number;
5273
- /**
5274
- * Select one of several ways to pass the `bill_until` value.
5275
- */
5276
- type: BillUntil.Type;
5277
- }
5278
- namespace BillUntil {
5279
- interface AmendmentEnd {
5280
- /**
5281
- * 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.
5282
- */
5283
- index: number;
5284
- }
5285
- interface Duration {
5286
- /**
5287
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
5288
- */
5289
- interval: Duration.Interval;
5290
- /**
5291
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
5292
- */
5293
- interval_count: number;
5294
- }
5295
- type Type = 'amendment_end' | 'duration' | 'schedule_end' | 'timestamp' | OtherString;
5296
- namespace Duration {
5297
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
5298
- }
5299
3502
  }
5300
3503
  }
5301
3504
  }
@@ -5335,10 +3538,6 @@ export declare namespace InvoiceCreatePreviewParams {
5335
3538
  * 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.
5336
3539
  */
5337
3540
  clear_usage?: boolean;
5338
- /**
5339
- * The trial offer to apply to this subscription item.
5340
- */
5341
- current_trial?: Item.CurrentTrial;
5342
3541
  /**
5343
3542
  * A flag that, if set to `true`, will delete the specified item.
5344
3543
  */
@@ -5376,26 +3575,6 @@ export declare namespace InvoiceCreatePreviewParams {
5376
3575
  */
5377
3576
  tax_rates?: Emptyable<Array<string>>;
5378
3577
  }
5379
- interface Pause {
5380
- /**
5381
- * Controls what to bill for when pausing the subscription.
5382
- */
5383
- bill_for?: Pause.BillFor;
5384
- /**
5385
- * Determines how to handle debits and credits when pausing. Defaults to `pending_invoice_item`.
5386
- */
5387
- invoicing_behavior?: Pause.InvoicingBehavior;
5388
- /**
5389
- * The type of pause to apply. Defaults to `subscription`.
5390
- */
5391
- type?: 'subscription';
5392
- }
5393
- interface Prebilling {
5394
- /**
5395
- * This is used to determine the number of billing cycles to prebill.
5396
- */
5397
- iterations: number;
5398
- }
5399
3578
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
5400
3579
  namespace BillingMode {
5401
3580
  interface Flexible {
@@ -5458,16 +3637,6 @@ export declare namespace InvoiceCreatePreviewParams {
5458
3637
  */
5459
3638
  usage_gte: number;
5460
3639
  }
5461
- interface CurrentTrial {
5462
- /**
5463
- * 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`.
5464
- */
5465
- trial_end?: number;
5466
- /**
5467
- * The ID of the trial offer to apply to the subscription item.
5468
- */
5469
- trial_offer: string;
5470
- }
5471
3640
  interface Discount {
5472
3641
  /**
5473
3642
  * ID of the coupon to create a new discount for.
@@ -5477,18 +3646,10 @@ export declare namespace InvoiceCreatePreviewParams {
5477
3646
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
5478
3647
  */
5479
3648
  discount?: string;
5480
- /**
5481
- * Details to determine how long the discount should be applied for.
5482
- */
5483
- discount_end?: Discount.DiscountEnd;
5484
3649
  /**
5485
3650
  * ID of the promotion code to create a new discount for.
5486
3651
  */
5487
3652
  promotion_code?: string;
5488
- /**
5489
- * Settings for discount application including service period anchoring.
5490
- */
5491
- settings?: Discount.Settings;
5492
3653
  }
5493
3654
  interface PriceData {
5494
3655
  /**
@@ -5516,86 +3677,6 @@ export declare namespace InvoiceCreatePreviewParams {
5516
3677
  */
5517
3678
  unit_amount_decimal?: Decimal;
5518
3679
  }
5519
- namespace Discount {
5520
- interface DiscountEnd {
5521
- /**
5522
- * Time span for the redeemed discount.
5523
- */
5524
- duration?: DiscountEnd.Duration;
5525
- /**
5526
- * A precise Unix timestamp for the discount to end. Must be in the future.
5527
- */
5528
- timestamp?: number;
5529
- /**
5530
- * The type of calculation made to determine when the discount ends.
5531
- */
5532
- type: DiscountEnd.Type;
5533
- }
5534
- interface Settings {
5535
- /**
5536
- * Configures service period cycle anchoring.
5537
- */
5538
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
5539
- /**
5540
- * 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.
5541
- */
5542
- start_date?: Settings.StartDate;
5543
- }
5544
- namespace DiscountEnd {
5545
- interface Duration {
5546
- /**
5547
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
5548
- */
5549
- interval: Duration.Interval;
5550
- /**
5551
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
5552
- */
5553
- interval_count: number;
5554
- }
5555
- type Type = 'duration' | 'timestamp' | OtherString;
5556
- namespace Duration {
5557
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
5558
- }
5559
- }
5560
- namespace Settings {
5561
- interface ServicePeriodAnchorConfig {
5562
- /**
5563
- * Anchor the service period to a custom date. Type must be `custom` to specify.
5564
- */
5565
- custom?: ServicePeriodAnchorConfig.Custom;
5566
- /**
5567
- * The type of service period anchor config. Defaults to `subscription_service_cycle_anchor` if omitted.
5568
- */
5569
- type?: ServicePeriodAnchorConfig.Type;
5570
- }
5571
- type StartDate = 'current_period_end' | 'current_period_start' | 'now' | OtherString;
5572
- namespace ServicePeriodAnchorConfig {
5573
- interface Custom {
5574
- /**
5575
- * The day of the month the anchor should be. Ranges from 1 to 31.
5576
- */
5577
- day_of_month: number;
5578
- /**
5579
- * The hour of the day the anchor should be. Ranges from 0 to 23.
5580
- */
5581
- hour?: number;
5582
- /**
5583
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
5584
- */
5585
- minute?: number;
5586
- /**
5587
- * The month to start full cycle periods. Ranges from 1 to 12.
5588
- */
5589
- month?: number;
5590
- /**
5591
- * The second of the minute the anchor should be. Ranges from 0 to 59.
5592
- */
5593
- second?: number;
5594
- }
5595
- type Type = 'custom' | 'subscription_service_cycle_anchor' | OtherString;
5596
- }
5597
- }
5598
- }
5599
3680
  namespace PriceData {
5600
3681
  interface Recurring {
5601
3682
  /**
@@ -5613,51 +3694,8 @@ export declare namespace InvoiceCreatePreviewParams {
5613
3694
  }
5614
3695
  }
5615
3696
  }
5616
- namespace Pause {
5617
- interface BillFor {
5618
- /**
5619
- * Controls when to bill for metered usage in the current period. Defaults to `{ type: "now" }`.
5620
- */
5621
- outstanding_usage_through?: BillFor.OutstandingUsageThrough;
5622
- /**
5623
- * Controls when to credit for unused time on licensed items. Defaults to `{ type: "now" }`.
5624
- */
5625
- unused_time_from?: BillFor.UnusedTimeFrom;
5626
- }
5627
- type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
5628
- namespace BillFor {
5629
- interface OutstandingUsageThrough {
5630
- /**
5631
- * When to bill metered usage in the current period.
5632
- */
5633
- type: OutstandingUsageThrough.Type;
5634
- }
5635
- interface UnusedTimeFrom {
5636
- /**
5637
- * When to credit for unused time.
5638
- */
5639
- type: UnusedTimeFrom.Type;
5640
- }
5641
- namespace OutstandingUsageThrough {
5642
- type Type = 'none' | 'now';
5643
- }
5644
- namespace UnusedTimeFrom {
5645
- type Type = 'item_current_period_start' | 'none' | 'now';
5646
- }
5647
- }
5648
- }
5649
3697
  }
5650
3698
  }
5651
- export interface InvoiceDetachPaymentParams {
5652
- /**
5653
- * Specifies which fields in the response should be expanded.
5654
- */
5655
- expand?: Array<string>;
5656
- /**
5657
- * The ID of the PaymentIntent to detach from the invoice.
5658
- */
5659
- payment_intent?: string;
5660
- }
5661
3699
  export interface InvoiceFinalizeInvoiceParams {
5662
3700
  /**
5663
3701
  * 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.
@@ -5767,32 +3805,6 @@ export interface InvoiceSendInvoiceParams {
5767
3805
  */
5768
3806
  expand?: Array<string>;
5769
3807
  }
5770
- export interface InvoiceSerializeBatchAddLinesParams {
5771
- }
5772
- export interface InvoiceSerializeBatchCreateParams {
5773
- }
5774
- export interface InvoiceSerializeBatchCreatePreviewParams {
5775
- }
5776
- export interface InvoiceSerializeBatchDeleteParams {
5777
- }
5778
- export interface InvoiceSerializeBatchFinalizeInvoiceParams {
5779
- }
5780
- export interface InvoiceSerializeBatchMarkUncollectibleParams {
5781
- }
5782
- export interface InvoiceSerializeBatchPayParams {
5783
- }
5784
- export interface InvoiceSerializeBatchRemoveLinesParams {
5785
- }
5786
- export interface InvoiceSerializeBatchSendInvoiceParams {
5787
- }
5788
- export interface InvoiceSerializeBatchUpdateParams {
5789
- }
5790
- export interface InvoiceSerializeBatchUpdateLineItemParams {
5791
- }
5792
- export interface InvoiceSerializeBatchUpdateLinesParams {
5793
- }
5794
- export interface InvoiceSerializeBatchVoidInvoiceParams {
5795
- }
5796
3808
  export interface InvoiceUpdateLinesParams {
5797
3809
  /**
5798
3810
  * The line items to update.
@@ -5831,10 +3843,6 @@ export declare namespace InvoiceUpdateLinesParams {
5831
3843
  * ID of an existing line item on the invoice.
5832
3844
  */
5833
3845
  id: string;
5834
- /**
5835
- * 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.
5836
- */
5837
- margins?: Emptyable<Array<string>>;
5838
3846
  /**
5839
3847
  * 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.
5840
3848
  */
@@ -5878,10 +3886,6 @@ export declare namespace InvoiceUpdateLinesParams {
5878
3886
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
5879
3887
  */
5880
3888
  discount?: string;
5881
- /**
5882
- * Details to determine how long the discount should be applied for.
5883
- */
5884
- discount_end?: Discount.DiscountEnd;
5885
3889
  /**
5886
3890
  * ID of the promotion code to create a new discount for.
5887
3891
  */
@@ -5949,38 +3953,6 @@ export declare namespace InvoiceUpdateLinesParams {
5949
3953
  */
5950
3954
  taxable_amount: number;
5951
3955
  }
5952
- namespace Discount {
5953
- interface DiscountEnd {
5954
- /**
5955
- * Time span for the redeemed discount.
5956
- */
5957
- duration?: DiscountEnd.Duration;
5958
- /**
5959
- * A precise Unix timestamp for the discount to end. Must be in the future.
5960
- */
5961
- timestamp?: number;
5962
- /**
5963
- * The type of calculation made to determine when the discount ends.
5964
- */
5965
- type: DiscountEnd.Type;
5966
- }
5967
- namespace DiscountEnd {
5968
- interface Duration {
5969
- /**
5970
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
5971
- */
5972
- interval: Duration.Interval;
5973
- /**
5974
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
5975
- */
5976
- interval_count: number;
5977
- }
5978
- type Type = 'duration' | 'timestamp' | OtherString;
5979
- namespace Duration {
5980
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
5981
- }
5982
- }
5983
- }
5984
3956
  namespace PriceData {
5985
3957
  interface ProductData {
5986
3958
  /**
@@ -6003,28 +3975,12 @@ export declare namespace InvoiceUpdateLinesParams {
6003
3975
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
6004
3976
  */
6005
3977
  tax_code?: string;
6006
- /**
6007
- * Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
6008
- */
6009
- tax_details?: ProductData.TaxDetails;
6010
3978
  /**
6011
3979
  * A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
6012
3980
  */
6013
3981
  unit_label?: string;
6014
3982
  }
6015
3983
  type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
6016
- namespace ProductData {
6017
- interface TaxDetails {
6018
- /**
6019
- * 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.
6020
- */
6021
- performance_location?: string;
6022
- /**
6023
- * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
6024
- */
6025
- tax_code?: Emptyable<string>;
6026
- }
6027
- }
6028
3984
  }
6029
3985
  namespace TaxAmount {
6030
3986
  interface TaxRateData {
@@ -6068,7 +4024,7 @@ export declare namespace InvoiceUpdateLinesParams {
6068
4024
  type TaxabilityReason = 'customer_exempt' | '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' | OtherString;
6069
4025
  namespace TaxRateData {
6070
4026
  type JurisdictionLevel = 'city' | 'country' | 'county' | 'district' | 'multiple' | 'state' | OtherString;
6071
- type TaxType = 'amusement_tax' | 'communications_tax' | 'gst' | 'hst' | 'igst' | 'jct' | 'lease_tax' | 'pst' | 'qst' | 'retail_delivery_fee' | 'rst' | 'sales_tax' | 'service_tax' | 'vat';
4027
+ type TaxType = 'amusement_tax' | 'communications_tax' | 'gst' | 'hst' | 'igst' | 'jct' | 'lease_tax' | 'mass_transit_parking_tax' | 'parking_tax' | 'pst' | 'qst' | 'retail_delivery_fee' | 'rst' | 'sales_tax' | 'service_tax' | 'vat' | OtherString;
6072
4028
  }
6073
4029
  }
6074
4030
  }
@@ -6094,10 +4050,6 @@ export interface InvoiceUpdateLineItemParams {
6094
4050
  * Specifies which fields in the response should be expanded.
6095
4051
  */
6096
4052
  expand?: Array<string>;
6097
- /**
6098
- * 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.
6099
- */
6100
- margins?: Emptyable<Array<string>>;
6101
4053
  /**
6102
4054
  * 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.
6103
4055
  */
@@ -6141,10 +4093,6 @@ export declare namespace InvoiceUpdateLineItemParams {
6141
4093
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
6142
4094
  */
6143
4095
  discount?: string;
6144
- /**
6145
- * Details to determine how long the discount should be applied for.
6146
- */
6147
- discount_end?: Discount.DiscountEnd;
6148
4096
  /**
6149
4097
  * ID of the promotion code to create a new discount for.
6150
4098
  */
@@ -6212,38 +4160,6 @@ export declare namespace InvoiceUpdateLineItemParams {
6212
4160
  */
6213
4161
  taxable_amount: number;
6214
4162
  }
6215
- namespace Discount {
6216
- interface DiscountEnd {
6217
- /**
6218
- * Time span for the redeemed discount.
6219
- */
6220
- duration?: DiscountEnd.Duration;
6221
- /**
6222
- * A precise Unix timestamp for the discount to end. Must be in the future.
6223
- */
6224
- timestamp?: number;
6225
- /**
6226
- * The type of calculation made to determine when the discount ends.
6227
- */
6228
- type: DiscountEnd.Type;
6229
- }
6230
- namespace DiscountEnd {
6231
- interface Duration {
6232
- /**
6233
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
6234
- */
6235
- interval: Duration.Interval;
6236
- /**
6237
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
6238
- */
6239
- interval_count: number;
6240
- }
6241
- type Type = 'duration' | 'timestamp' | OtherString;
6242
- namespace Duration {
6243
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
6244
- }
6245
- }
6246
- }
6247
4163
  namespace PriceData {
6248
4164
  interface ProductData {
6249
4165
  /**
@@ -6266,28 +4182,12 @@ export declare namespace InvoiceUpdateLineItemParams {
6266
4182
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
6267
4183
  */
6268
4184
  tax_code?: string;
6269
- /**
6270
- * Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
6271
- */
6272
- tax_details?: ProductData.TaxDetails;
6273
4185
  /**
6274
4186
  * A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
6275
4187
  */
6276
4188
  unit_label?: string;
6277
4189
  }
6278
4190
  type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
6279
- namespace ProductData {
6280
- interface TaxDetails {
6281
- /**
6282
- * 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.
6283
- */
6284
- performance_location?: string;
6285
- /**
6286
- * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
6287
- */
6288
- tax_code?: Emptyable<string>;
6289
- }
6290
- }
6291
4191
  }
6292
4192
  namespace TaxAmount {
6293
4193
  interface TaxRateData {
@@ -6331,7 +4231,7 @@ export declare namespace InvoiceUpdateLineItemParams {
6331
4231
  type TaxabilityReason = 'customer_exempt' | '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' | OtherString;
6332
4232
  namespace TaxRateData {
6333
4233
  type JurisdictionLevel = 'city' | 'country' | 'county' | 'district' | 'multiple' | 'state' | OtherString;
6334
- type TaxType = 'amusement_tax' | 'communications_tax' | 'gst' | 'hst' | 'igst' | 'jct' | 'lease_tax' | 'pst' | 'qst' | 'retail_delivery_fee' | 'rst' | 'sales_tax' | 'service_tax' | 'vat';
4234
+ type TaxType = 'amusement_tax' | 'communications_tax' | 'gst' | 'hst' | 'igst' | 'jct' | 'lease_tax' | 'mass_transit_parking_tax' | 'parking_tax' | 'pst' | 'qst' | 'retail_delivery_fee' | 'rst' | 'sales_tax' | 'service_tax' | 'vat' | OtherString;
6335
4235
  }
6336
4236
  }
6337
4237
  }