stripe 22.6.0-alpha.2 → 22.6.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 (1674) hide show
  1. package/CHANGELOG.md +51 -3248
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +60 -44
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +0 -61
  6. package/cjs/Error.js +1 -143
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/RequestSender.d.ts +4 -2
  9. package/cjs/RequestSender.js +27 -9
  10. package/cjs/RequestSender.js.map +1 -1
  11. package/cjs/StripeEventNotificationHandler.d.ts +46 -6
  12. package/cjs/StripeEventNotificationHandler.js +76 -432
  13. package/cjs/StripeEventNotificationHandler.js.map +1 -1
  14. package/cjs/Types.d.ts +6 -9
  15. package/cjs/Types.js.map +1 -1
  16. package/cjs/V2Coercion.js +70 -22
  17. package/cjs/V2Coercion.js.map +1 -1
  18. package/cjs/Webhooks.d.ts +2 -3
  19. package/cjs/apiVersion.d.ts +2 -2
  20. package/cjs/apiVersion.js +2 -2
  21. package/cjs/apiVersion.js.map +1 -1
  22. package/cjs/net/FetchHttpClient.d.ts +14 -1
  23. package/cjs/net/FetchHttpClient.js +76 -24
  24. package/cjs/net/FetchHttpClient.js.map +1 -1
  25. package/cjs/net/HttpClient.d.ts +18 -0
  26. package/cjs/net/HttpClient.js +23 -1
  27. package/cjs/net/HttpClient.js.map +1 -1
  28. package/cjs/net/NodeHttpClient.js +40 -3
  29. package/cjs/net/NodeHttpClient.js.map +1 -1
  30. package/cjs/resources/AccountLinks.d.ts +1 -5
  31. package/cjs/resources/AccountSessions.d.ts +21 -547
  32. package/cjs/resources/AccountSessions.js.map +1 -1
  33. package/cjs/resources/Accounts.d.ts +4 -1050
  34. package/cjs/resources/Accounts.js +0 -47
  35. package/cjs/resources/Accounts.js.map +1 -1
  36. package/cjs/resources/ApplicationFees.d.ts +1 -28
  37. package/cjs/resources/Balance.d.ts +0 -134
  38. package/cjs/resources/BalanceSettings.d.ts +0 -18
  39. package/cjs/resources/BalanceTransactions.d.ts +1 -1
  40. package/cjs/resources/BankAccounts.d.ts +2 -2
  41. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -55
  42. package/cjs/resources/Billing/Alerts.d.ts +5 -448
  43. package/cjs/resources/Billing/Alerts.js +5 -329
  44. package/cjs/resources/Billing/Alerts.js.map +1 -1
  45. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +3 -136
  46. package/cjs/resources/Billing/CreditBalanceSummary.js +1 -39
  47. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  48. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +3 -97
  49. package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -100
  50. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  51. package/cjs/resources/Billing/CreditGrants.d.ts +3 -105
  52. package/cjs/resources/Billing/CreditGrants.js +5 -134
  53. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  54. package/cjs/resources/Billing/FeedbackOptions.d.ts +74 -0
  55. package/cjs/resources/Billing/FeedbackOptions.js +37 -0
  56. package/cjs/resources/Billing/FeedbackOptions.js.map +1 -1
  57. package/cjs/resources/Billing/MeterEventSummaries.d.ts +0 -6
  58. package/cjs/resources/Billing/Meters.d.ts +0 -31
  59. package/cjs/resources/Billing/index.d.ts +21 -25
  60. package/cjs/resources/Billing/index.js +2 -2
  61. package/cjs/resources/Billing/index.js.map +1 -1
  62. package/cjs/resources/BillingPortal/Configurations.d.ts +8 -0
  63. package/cjs/resources/BillingPortal/Sessions.d.ts +2 -12
  64. package/cjs/resources/Capabilities.d.ts +2 -25
  65. package/cjs/resources/Cards.d.ts +0 -28
  66. package/cjs/resources/Charges.d.ts +75 -3364
  67. package/cjs/resources/Charges.js.map +1 -1
  68. package/cjs/resources/Checkout/Sessions.d.ts +24 -1204
  69. package/cjs/resources/Checkout/Sessions.js +0 -115
  70. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  71. package/cjs/resources/Checkout/index.d.ts +0 -1
  72. package/cjs/resources/ConfirmationTokens.d.ts +6 -147
  73. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  74. package/cjs/resources/Coupons.d.ts +2 -128
  75. package/cjs/resources/Coupons.js +0 -41
  76. package/cjs/resources/Coupons.js.map +1 -1
  77. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  78. package/cjs/resources/CreditNotes.d.ts +1 -7
  79. package/cjs/resources/CreditNotes.js +0 -13
  80. package/cjs/resources/CreditNotes.js.map +1 -1
  81. package/cjs/resources/CustomerSessions.d.ts +20 -74
  82. package/cjs/resources/CustomerSessions.js +0 -13
  83. package/cjs/resources/CustomerSessions.js.map +1 -1
  84. package/cjs/resources/Customers.d.ts +1 -115
  85. package/cjs/resources/Customers.js +0 -195
  86. package/cjs/resources/Customers.js.map +1 -1
  87. package/cjs/resources/Discounts.d.ts +0 -19
  88. package/cjs/resources/Disputes.d.ts +0 -43
  89. package/cjs/resources/Disputes.js +0 -14
  90. package/cjs/resources/Disputes.js.map +1 -1
  91. package/cjs/resources/Events.d.ts +3 -640
  92. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  93. package/cjs/resources/ExternalAccounts.js +0 -44
  94. package/cjs/resources/ExternalAccounts.js.map +1 -1
  95. package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -105
  96. package/cjs/resources/FinancialConnections/Accounts.js +0 -8
  97. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  98. package/cjs/resources/FinancialConnections/Authorizations.d.ts +1 -46
  99. package/cjs/resources/FinancialConnections/Authorizations.js +0 -11
  100. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
  101. package/cjs/resources/FinancialConnections/Sessions.d.ts +9 -124
  102. package/cjs/resources/FinancialConnections/Transactions.d.ts +0 -76
  103. package/cjs/resources/FinancialConnections/index.d.ts +9 -21
  104. package/cjs/resources/FinancialConnections/index.js +0 -4
  105. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  106. package/cjs/resources/Identity/VerificationReports.d.ts +2 -33
  107. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  108. package/cjs/resources/Identity/VerificationSessions.d.ts +3 -11
  109. package/cjs/resources/Identity/index.d.ts +10 -18
  110. package/cjs/resources/Identity/index.js +0 -2
  111. package/cjs/resources/Identity/index.js.map +1 -1
  112. package/cjs/resources/InvoiceItems.d.ts +2 -215
  113. package/cjs/resources/InvoiceItems.js +0 -41
  114. package/cjs/resources/InvoiceItems.js.map +1 -1
  115. package/cjs/resources/InvoiceLineItems.d.ts +4 -174
  116. package/cjs/resources/InvoiceRenderingTemplates.d.ts +0 -12
  117. package/cjs/resources/InvoiceRenderingTemplates.js +0 -28
  118. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  119. package/cjs/resources/Invoices.d.ts +32 -2164
  120. package/cjs/resources/Invoices.js +0 -221
  121. package/cjs/resources/Invoices.js.map +1 -1
  122. package/cjs/resources/Issuing/Authorizations.d.ts +1 -730
  123. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  124. package/cjs/resources/Issuing/Cardholders.d.ts +7 -25
  125. package/cjs/resources/Issuing/Cards.d.ts +0 -82
  126. package/cjs/resources/Issuing/Disputes.d.ts +0 -246
  127. package/cjs/resources/Issuing/Tokens.d.ts +0 -26
  128. package/cjs/resources/Issuing/Transactions.d.ts +0 -233
  129. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  130. package/cjs/resources/Issuing/index.d.ts +22 -56
  131. package/cjs/resources/Issuing/index.js +0 -8
  132. package/cjs/resources/Issuing/index.js.map +1 -1
  133. package/cjs/resources/LineItems.d.ts +2 -29
  134. package/cjs/resources/Mandates.d.ts +2 -47
  135. package/cjs/resources/Mandates.js +0 -8
  136. package/cjs/resources/Mandates.js.map +1 -1
  137. package/cjs/resources/PaymentAttemptRecords.d.ts +2 -683
  138. package/cjs/resources/PaymentAttemptRecords.js +0 -48
  139. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  140. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +0 -52
  141. package/cjs/resources/PaymentIntents.d.ts +6356 -20114
  142. package/cjs/resources/PaymentIntents.js +0 -46
  143. package/cjs/resources/PaymentIntents.js.map +1 -1
  144. package/cjs/resources/PaymentLinks.d.ts +42 -75
  145. package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -420
  146. package/cjs/resources/PaymentMethods.d.ts +3 -300
  147. package/cjs/resources/PaymentMethods.js +0 -20
  148. package/cjs/resources/PaymentMethods.js.map +1 -1
  149. package/cjs/resources/PaymentRecords.d.ts +20 -741
  150. package/cjs/resources/PaymentRecords.js +0 -18
  151. package/cjs/resources/PaymentRecords.js.map +1 -1
  152. package/cjs/resources/Persons.d.ts +2 -25
  153. package/cjs/resources/Plans.d.ts +0 -16
  154. package/cjs/resources/Prices.d.ts +0 -76
  155. package/cjs/resources/Prices.js +0 -27
  156. package/cjs/resources/Prices.js.map +1 -1
  157. package/cjs/resources/Products.d.ts +0 -198
  158. package/cjs/resources/Products.js +0 -69
  159. package/cjs/resources/Products.js.map +1 -1
  160. package/cjs/resources/PromotionCodes.d.ts +0 -12
  161. package/cjs/resources/PromotionCodes.js +0 -27
  162. package/cjs/resources/PromotionCodes.js.map +1 -1
  163. package/cjs/resources/Quotes.d.ts +94 -3388
  164. package/cjs/resources/Quotes.js +13 -1181
  165. package/cjs/resources/Quotes.js.map +1 -1
  166. package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -115
  167. package/cjs/resources/Radar/ValueListItems.d.ts +1 -39
  168. package/cjs/resources/Radar/ValueListItems.js +0 -13
  169. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  170. package/cjs/resources/Radar/index.d.ts +16 -36
  171. package/cjs/resources/Radar/index.js +0 -6
  172. package/cjs/resources/Radar/index.js.map +1 -1
  173. package/cjs/resources/Refunds.d.ts +0 -39
  174. package/cjs/resources/Refunds.js +0 -27
  175. package/cjs/resources/Refunds.js.map +1 -1
  176. package/cjs/resources/Reserve/Holds.d.ts +1 -53
  177. package/cjs/resources/Reserve/Holds.js +0 -19
  178. package/cjs/resources/Reserve/Holds.js.map +1 -1
  179. package/cjs/resources/Reserve/Plans.d.ts +0 -16
  180. package/cjs/resources/Reserve/Plans.js +0 -11
  181. package/cjs/resources/Reserve/Plans.js.map +1 -1
  182. package/cjs/resources/Reserve/Releases.d.ts +1 -41
  183. package/cjs/resources/Reserve/Releases.js +0 -19
  184. package/cjs/resources/Reserve/Releases.js.map +1 -1
  185. package/cjs/resources/Reserve/index.d.ts +6 -17
  186. package/cjs/resources/Reserve/index.js +0 -9
  187. package/cjs/resources/Reserve/index.js.map +1 -1
  188. package/cjs/resources/SetupAttempts.d.ts +1 -35
  189. package/cjs/resources/SetupAttempts.js.map +1 -1
  190. package/cjs/resources/SetupIntents.d.ts +16 -632
  191. package/cjs/resources/SetupIntents.js.map +1 -1
  192. package/cjs/resources/Sources.d.ts +1 -29
  193. package/cjs/resources/SubscriptionItems.d.ts +0 -265
  194. package/cjs/resources/SubscriptionItems.js +0 -41
  195. package/cjs/resources/SubscriptionItems.js.map +1 -1
  196. package/cjs/resources/SubscriptionSchedules.d.ts +57 -2430
  197. package/cjs/resources/SubscriptionSchedules.js +0 -61
  198. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  199. package/cjs/resources/Subscriptions.d.ts +30 -967
  200. package/cjs/resources/Subscriptions.js +0 -289
  201. package/cjs/resources/Subscriptions.js.map +1 -1
  202. package/cjs/resources/Tax/CalculationLineItems.d.ts +3 -14
  203. package/cjs/resources/Tax/Calculations.d.ts +4 -46
  204. package/cjs/resources/Tax/Registrations.d.ts +353 -171
  205. package/cjs/resources/Tax/Registrations.js +0 -27
  206. package/cjs/resources/Tax/Registrations.js.map +1 -1
  207. package/cjs/resources/Tax/Settings.d.ts +0 -8
  208. package/cjs/resources/Tax/Settings.js +0 -13
  209. package/cjs/resources/Tax/Settings.js.map +1 -1
  210. package/cjs/resources/Tax/Transactions.d.ts +2 -10
  211. package/cjs/resources/Tax/Transactions.js +0 -13
  212. package/cjs/resources/Tax/Transactions.js.map +1 -1
  213. package/cjs/resources/Tax/index.d.ts +13 -31
  214. package/cjs/resources/Tax/index.js +0 -4
  215. package/cjs/resources/Tax/index.js.map +1 -1
  216. package/cjs/resources/TaxCodes.d.ts +1 -16
  217. package/cjs/resources/TaxIds.d.ts +0 -6
  218. package/cjs/resources/TaxIds.js +0 -13
  219. package/cjs/resources/TaxIds.js.map +1 -1
  220. package/cjs/resources/TaxRates.d.ts +0 -12
  221. package/cjs/resources/TaxRates.js +0 -27
  222. package/cjs/resources/TaxRates.js.map +1 -1
  223. package/cjs/resources/Terminal/Configurations.d.ts +0 -27
  224. package/cjs/resources/Terminal/Readers.d.ts +2 -207
  225. package/cjs/resources/Terminal/Readers.js +0 -24
  226. package/cjs/resources/Terminal/Readers.js.map +1 -1
  227. package/cjs/resources/Terminal/index.d.ts +0 -9
  228. package/cjs/resources/Terminal/index.js +0 -2
  229. package/cjs/resources/Terminal/index.js.map +1 -1
  230. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +1 -100
  231. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +0 -102
  232. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +0 -110
  233. package/cjs/resources/TestHelpers/Issuing/index.d.ts +0 -2
  234. package/cjs/resources/TestHelpers/Issuing/index.js +0 -2
  235. package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
  236. package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +1 -15
  237. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  238. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  239. package/cjs/resources/TestHelpers/index.d.ts +6 -14
  240. package/cjs/resources/TestHelpers/index.js +6 -12
  241. package/cjs/resources/TestHelpers/index.js.map +1 -1
  242. package/cjs/resources/Tokens.d.ts +0 -76
  243. package/cjs/resources/Transfers.d.ts +0 -12
  244. package/cjs/resources/Transfers.js.map +1 -1
  245. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  246. package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
  247. package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
  248. package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
  249. package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
  250. package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
  251. package/cjs/resources/V2/Billing/index.d.ts +6 -175
  252. package/cjs/resources/V2/Billing/index.js +0 -32
  253. package/cjs/resources/V2/Billing/index.js.map +1 -1
  254. package/cjs/resources/V2/Core/AccountLinks.d.ts +6 -158
  255. package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
  256. package/cjs/resources/V2/Core/AccountTokens.d.ts +2 -220
  257. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  258. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  259. package/cjs/resources/V2/Core/Accounts.d.ts +3731 -17878
  260. package/cjs/resources/V2/Core/Accounts.js +38 -10364
  261. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  262. package/cjs/resources/V2/Core/Events.d.ts +227 -8087
  263. package/cjs/resources/V2/Core/index.d.ts +14 -66
  264. package/cjs/resources/V2/Core/index.js +0 -18
  265. package/cjs/resources/V2/Core/index.js.map +1 -1
  266. package/cjs/resources/V2/index.d.ts +0 -42
  267. package/cjs/resources/V2/index.js +0 -24
  268. package/cjs/resources/V2/index.js.map +1 -1
  269. package/cjs/resources/WebhookEndpoints.d.ts +4 -4
  270. package/cjs/resources/WebhookEndpoints.js.map +1 -1
  271. package/cjs/resources.d.ts +0 -20
  272. package/cjs/resources.js +20 -296
  273. package/cjs/resources.js.map +1 -1
  274. package/cjs/stripe.cjs.node.d.ts +882 -15087
  275. package/cjs/stripe.cjs.node.js.map +1 -1
  276. package/cjs/stripe.core.d.ts +66 -166
  277. package/cjs/stripe.core.js +38 -70
  278. package/cjs/stripe.core.js.map +1 -1
  279. package/cjs/utils.d.ts +1 -1
  280. package/cjs/utils.js.map +1 -1
  281. package/esm/Error.d.ts +0 -61
  282. package/esm/Error.js +0 -125
  283. package/esm/Error.js.map +1 -1
  284. package/esm/RequestSender.d.ts +4 -2
  285. package/esm/RequestSender.js +28 -10
  286. package/esm/RequestSender.js.map +1 -1
  287. package/esm/StripeEventNotificationHandler.d.ts +46 -6
  288. package/esm/StripeEventNotificationHandler.js +74 -431
  289. package/esm/StripeEventNotificationHandler.js.map +1 -1
  290. package/esm/Types.d.ts +6 -9
  291. package/esm/Types.js.map +1 -1
  292. package/esm/V2Coercion.js +70 -22
  293. package/esm/V2Coercion.js.map +1 -1
  294. package/esm/Webhooks.d.ts +2 -3
  295. package/esm/apiVersion.d.ts +2 -2
  296. package/esm/apiVersion.js +2 -2
  297. package/esm/apiVersion.js.map +1 -1
  298. package/esm/net/FetchHttpClient.d.ts +14 -1
  299. package/esm/net/FetchHttpClient.js +76 -24
  300. package/esm/net/FetchHttpClient.js.map +1 -1
  301. package/esm/net/HttpClient.d.ts +18 -0
  302. package/esm/net/HttpClient.js +21 -0
  303. package/esm/net/HttpClient.js.map +1 -1
  304. package/esm/net/NodeHttpClient.js +40 -3
  305. package/esm/net/NodeHttpClient.js.map +1 -1
  306. package/esm/resources/AccountLinks.d.ts +1 -5
  307. package/esm/resources/AccountSessions.d.ts +21 -547
  308. package/esm/resources/AccountSessions.js.map +1 -1
  309. package/esm/resources/Accounts.d.ts +4 -1050
  310. package/esm/resources/Accounts.js +0 -47
  311. package/esm/resources/Accounts.js.map +1 -1
  312. package/esm/resources/ApplicationFees.d.ts +1 -28
  313. package/esm/resources/Balance.d.ts +0 -134
  314. package/esm/resources/BalanceSettings.d.ts +0 -18
  315. package/esm/resources/BalanceTransactions.d.ts +1 -1
  316. package/esm/resources/BankAccounts.d.ts +2 -2
  317. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -55
  318. package/esm/resources/Billing/Alerts.d.ts +5 -448
  319. package/esm/resources/Billing/Alerts.js +5 -329
  320. package/esm/resources/Billing/Alerts.js.map +1 -1
  321. package/esm/resources/Billing/CreditBalanceSummary.d.ts +3 -136
  322. package/esm/resources/Billing/CreditBalanceSummary.js +1 -39
  323. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  324. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +3 -97
  325. package/esm/resources/Billing/CreditBalanceTransactions.js +1 -100
  326. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  327. package/esm/resources/Billing/CreditGrants.d.ts +3 -105
  328. package/esm/resources/Billing/CreditGrants.js +5 -134
  329. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  330. package/esm/resources/Billing/FeedbackOptions.d.ts +74 -0
  331. package/esm/resources/Billing/FeedbackOptions.js +35 -1
  332. package/esm/resources/Billing/FeedbackOptions.js.map +1 -1
  333. package/esm/resources/Billing/MeterEventSummaries.d.ts +0 -6
  334. package/esm/resources/Billing/Meters.d.ts +0 -31
  335. package/esm/resources/Billing/index.d.ts +21 -25
  336. package/esm/resources/Billing/index.js +2 -2
  337. package/esm/resources/Billing/index.js.map +1 -1
  338. package/esm/resources/BillingPortal/Configurations.d.ts +8 -0
  339. package/esm/resources/BillingPortal/Sessions.d.ts +2 -12
  340. package/esm/resources/Capabilities.d.ts +2 -25
  341. package/esm/resources/Cards.d.ts +0 -28
  342. package/esm/resources/Charges.d.ts +75 -3364
  343. package/esm/resources/Charges.js.map +1 -1
  344. package/esm/resources/Checkout/Sessions.d.ts +24 -1204
  345. package/esm/resources/Checkout/Sessions.js +0 -115
  346. package/esm/resources/Checkout/Sessions.js.map +1 -1
  347. package/esm/resources/Checkout/index.d.ts +0 -1
  348. package/esm/resources/ConfirmationTokens.d.ts +6 -147
  349. package/esm/resources/ConfirmationTokens.js.map +1 -1
  350. package/esm/resources/Coupons.d.ts +2 -128
  351. package/esm/resources/Coupons.js +0 -41
  352. package/esm/resources/Coupons.js.map +1 -1
  353. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  354. package/esm/resources/CreditNotes.d.ts +1 -7
  355. package/esm/resources/CreditNotes.js +0 -13
  356. package/esm/resources/CreditNotes.js.map +1 -1
  357. package/esm/resources/CustomerSessions.d.ts +20 -74
  358. package/esm/resources/CustomerSessions.js +0 -13
  359. package/esm/resources/CustomerSessions.js.map +1 -1
  360. package/esm/resources/Customers.d.ts +1 -115
  361. package/esm/resources/Customers.js +0 -195
  362. package/esm/resources/Customers.js.map +1 -1
  363. package/esm/resources/Discounts.d.ts +0 -19
  364. package/esm/resources/Disputes.d.ts +0 -43
  365. package/esm/resources/Disputes.js +0 -14
  366. package/esm/resources/Disputes.js.map +1 -1
  367. package/esm/resources/Events.d.ts +3 -640
  368. package/esm/resources/ExternalAccounts.d.ts +1 -212
  369. package/esm/resources/ExternalAccounts.js +1 -42
  370. package/esm/resources/ExternalAccounts.js.map +1 -1
  371. package/esm/resources/FinancialConnections/Accounts.d.ts +4 -105
  372. package/esm/resources/FinancialConnections/Accounts.js +0 -8
  373. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  374. package/esm/resources/FinancialConnections/Authorizations.d.ts +1 -46
  375. package/esm/resources/FinancialConnections/Authorizations.js +1 -9
  376. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
  377. package/esm/resources/FinancialConnections/Sessions.d.ts +9 -124
  378. package/esm/resources/FinancialConnections/Transactions.d.ts +0 -76
  379. package/esm/resources/FinancialConnections/index.d.ts +9 -21
  380. package/esm/resources/FinancialConnections/index.js +0 -4
  381. package/esm/resources/FinancialConnections/index.js.map +1 -1
  382. package/esm/resources/Identity/VerificationReports.d.ts +2 -33
  383. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  384. package/esm/resources/Identity/VerificationSessions.d.ts +3 -11
  385. package/esm/resources/Identity/index.d.ts +10 -18
  386. package/esm/resources/Identity/index.js +0 -2
  387. package/esm/resources/Identity/index.js.map +1 -1
  388. package/esm/resources/InvoiceItems.d.ts +2 -215
  389. package/esm/resources/InvoiceItems.js +0 -41
  390. package/esm/resources/InvoiceItems.js.map +1 -1
  391. package/esm/resources/InvoiceLineItems.d.ts +4 -174
  392. package/esm/resources/InvoiceRenderingTemplates.d.ts +0 -12
  393. package/esm/resources/InvoiceRenderingTemplates.js +0 -28
  394. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  395. package/esm/resources/Invoices.d.ts +32 -2164
  396. package/esm/resources/Invoices.js +0 -221
  397. package/esm/resources/Invoices.js.map +1 -1
  398. package/esm/resources/Issuing/Authorizations.d.ts +1 -730
  399. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  400. package/esm/resources/Issuing/Cardholders.d.ts +7 -25
  401. package/esm/resources/Issuing/Cards.d.ts +0 -82
  402. package/esm/resources/Issuing/Disputes.d.ts +0 -246
  403. package/esm/resources/Issuing/Tokens.d.ts +0 -26
  404. package/esm/resources/Issuing/Transactions.d.ts +0 -233
  405. package/esm/resources/Issuing/Transactions.js.map +1 -1
  406. package/esm/resources/Issuing/index.d.ts +22 -56
  407. package/esm/resources/Issuing/index.js +0 -8
  408. package/esm/resources/Issuing/index.js.map +1 -1
  409. package/esm/resources/LineItems.d.ts +2 -29
  410. package/esm/resources/Mandates.d.ts +2 -47
  411. package/esm/resources/Mandates.js +0 -8
  412. package/esm/resources/Mandates.js.map +1 -1
  413. package/esm/resources/PaymentAttemptRecords.d.ts +2 -683
  414. package/esm/resources/PaymentAttemptRecords.js +0 -48
  415. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  416. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +0 -52
  417. package/esm/resources/PaymentIntents.d.ts +6356 -20114
  418. package/esm/resources/PaymentIntents.js +0 -46
  419. package/esm/resources/PaymentIntents.js.map +1 -1
  420. package/esm/resources/PaymentLinks.d.ts +42 -75
  421. package/esm/resources/PaymentMethodConfigurations.d.ts +0 -420
  422. package/esm/resources/PaymentMethods.d.ts +3 -300
  423. package/esm/resources/PaymentMethods.js +0 -20
  424. package/esm/resources/PaymentMethods.js.map +1 -1
  425. package/esm/resources/PaymentRecords.d.ts +20 -741
  426. package/esm/resources/PaymentRecords.js +0 -18
  427. package/esm/resources/PaymentRecords.js.map +1 -1
  428. package/esm/resources/Persons.d.ts +2 -25
  429. package/esm/resources/Plans.d.ts +0 -16
  430. package/esm/resources/Prices.d.ts +0 -76
  431. package/esm/resources/Prices.js +0 -27
  432. package/esm/resources/Prices.js.map +1 -1
  433. package/esm/resources/Products.d.ts +0 -198
  434. package/esm/resources/Products.js +0 -69
  435. package/esm/resources/Products.js.map +1 -1
  436. package/esm/resources/PromotionCodes.d.ts +0 -12
  437. package/esm/resources/PromotionCodes.js +0 -27
  438. package/esm/resources/PromotionCodes.js.map +1 -1
  439. package/esm/resources/Quotes.d.ts +94 -3388
  440. package/esm/resources/Quotes.js +13 -1181
  441. package/esm/resources/Quotes.js.map +1 -1
  442. package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -115
  443. package/esm/resources/Radar/ValueListItems.d.ts +1 -39
  444. package/esm/resources/Radar/ValueListItems.js +0 -13
  445. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  446. package/esm/resources/Radar/index.d.ts +16 -36
  447. package/esm/resources/Radar/index.js +0 -6
  448. package/esm/resources/Radar/index.js.map +1 -1
  449. package/esm/resources/Refunds.d.ts +0 -39
  450. package/esm/resources/Refunds.js +0 -27
  451. package/esm/resources/Refunds.js.map +1 -1
  452. package/esm/resources/Reserve/Holds.d.ts +1 -53
  453. package/esm/resources/Reserve/Holds.js +1 -17
  454. package/esm/resources/Reserve/Holds.js.map +1 -1
  455. package/esm/resources/Reserve/Plans.d.ts +0 -16
  456. package/esm/resources/Reserve/Plans.js +1 -9
  457. package/esm/resources/Reserve/Plans.js.map +1 -1
  458. package/esm/resources/Reserve/Releases.d.ts +1 -41
  459. package/esm/resources/Reserve/Releases.js +1 -17
  460. package/esm/resources/Reserve/Releases.js.map +1 -1
  461. package/esm/resources/Reserve/index.d.ts +6 -17
  462. package/esm/resources/Reserve/index.js +0 -9
  463. package/esm/resources/Reserve/index.js.map +1 -1
  464. package/esm/resources/SetupAttempts.d.ts +1 -35
  465. package/esm/resources/SetupAttempts.js.map +1 -1
  466. package/esm/resources/SetupIntents.d.ts +16 -632
  467. package/esm/resources/SetupIntents.js.map +1 -1
  468. package/esm/resources/Sources.d.ts +1 -29
  469. package/esm/resources/SubscriptionItems.d.ts +0 -265
  470. package/esm/resources/SubscriptionItems.js +0 -41
  471. package/esm/resources/SubscriptionItems.js.map +1 -1
  472. package/esm/resources/SubscriptionSchedules.d.ts +57 -2430
  473. package/esm/resources/SubscriptionSchedules.js +0 -61
  474. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  475. package/esm/resources/Subscriptions.d.ts +30 -967
  476. package/esm/resources/Subscriptions.js +0 -289
  477. package/esm/resources/Subscriptions.js.map +1 -1
  478. package/esm/resources/Tax/CalculationLineItems.d.ts +3 -14
  479. package/esm/resources/Tax/Calculations.d.ts +4 -46
  480. package/esm/resources/Tax/Registrations.d.ts +353 -171
  481. package/esm/resources/Tax/Registrations.js +0 -27
  482. package/esm/resources/Tax/Registrations.js.map +1 -1
  483. package/esm/resources/Tax/Settings.d.ts +0 -8
  484. package/esm/resources/Tax/Settings.js +0 -13
  485. package/esm/resources/Tax/Settings.js.map +1 -1
  486. package/esm/resources/Tax/Transactions.d.ts +2 -10
  487. package/esm/resources/Tax/Transactions.js +0 -13
  488. package/esm/resources/Tax/Transactions.js.map +1 -1
  489. package/esm/resources/Tax/index.d.ts +13 -31
  490. package/esm/resources/Tax/index.js +0 -4
  491. package/esm/resources/Tax/index.js.map +1 -1
  492. package/esm/resources/TaxCodes.d.ts +1 -16
  493. package/esm/resources/TaxIds.d.ts +0 -6
  494. package/esm/resources/TaxIds.js +0 -13
  495. package/esm/resources/TaxIds.js.map +1 -1
  496. package/esm/resources/TaxRates.d.ts +0 -12
  497. package/esm/resources/TaxRates.js +0 -27
  498. package/esm/resources/TaxRates.js.map +1 -1
  499. package/esm/resources/Terminal/Configurations.d.ts +0 -27
  500. package/esm/resources/Terminal/Readers.d.ts +2 -207
  501. package/esm/resources/Terminal/Readers.js +0 -24
  502. package/esm/resources/Terminal/Readers.js.map +1 -1
  503. package/esm/resources/Terminal/index.d.ts +0 -9
  504. package/esm/resources/Terminal/index.js +0 -2
  505. package/esm/resources/Terminal/index.js.map +1 -1
  506. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +1 -100
  507. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +0 -102
  508. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +0 -110
  509. package/esm/resources/TestHelpers/Issuing/index.d.ts +0 -2
  510. package/esm/resources/TestHelpers/Issuing/index.js +0 -2
  511. package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
  512. package/esm/resources/TestHelpers/Terminal/Readers.d.ts +1 -15
  513. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  514. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  515. package/esm/resources/TestHelpers/index.d.ts +6 -14
  516. package/esm/resources/TestHelpers/index.js +0 -6
  517. package/esm/resources/TestHelpers/index.js.map +1 -1
  518. package/esm/resources/Tokens.d.ts +0 -76
  519. package/esm/resources/Transfers.d.ts +0 -12
  520. package/esm/resources/Transfers.js.map +1 -1
  521. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  522. package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
  523. package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
  524. package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
  525. package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
  526. package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
  527. package/esm/resources/V2/Billing/index.d.ts +6 -175
  528. package/esm/resources/V2/Billing/index.js +0 -32
  529. package/esm/resources/V2/Billing/index.js.map +1 -1
  530. package/esm/resources/V2/Core/AccountLinks.d.ts +6 -158
  531. package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
  532. package/esm/resources/V2/Core/AccountTokens.d.ts +2 -220
  533. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  534. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  535. package/esm/resources/V2/Core/Accounts.d.ts +3731 -17878
  536. package/esm/resources/V2/Core/Accounts.js +38 -10364
  537. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  538. package/esm/resources/V2/Core/Events.d.ts +227 -8087
  539. package/esm/resources/V2/Core/index.d.ts +14 -66
  540. package/esm/resources/V2/Core/index.js +0 -18
  541. package/esm/resources/V2/Core/index.js.map +1 -1
  542. package/esm/resources/V2/index.d.ts +0 -42
  543. package/esm/resources/V2/index.js +0 -24
  544. package/esm/resources/V2/index.js.map +1 -1
  545. package/esm/resources/WebhookEndpoints.d.ts +4 -4
  546. package/esm/resources/WebhookEndpoints.js.map +1 -1
  547. package/esm/resources.d.ts +0 -20
  548. package/esm/resources.js +2 -266
  549. package/esm/resources.js.map +1 -1
  550. package/esm/stripe.core.d.ts +66 -166
  551. package/esm/stripe.core.js +9 -41
  552. package/esm/stripe.core.js.map +1 -1
  553. package/esm/stripe.esm.node.d.ts +66 -166
  554. package/esm/stripe.esm.node.js +9 -41
  555. package/esm/stripe.esm.node.js.map +1 -1
  556. package/esm/utils.d.ts +1 -1
  557. package/esm/utils.js.map +1 -1
  558. package/package.json +1 -1
  559. package/cjs/resources/AccountNotices.d.ts +0 -140
  560. package/cjs/resources/AccountNotices.js +0 -29
  561. package/cjs/resources/AccountNotices.js.map +0 -1
  562. package/cjs/resources/AccountSignals.d.ts +0 -111
  563. package/cjs/resources/AccountSignals.js +0 -4
  564. package/cjs/resources/AccountSignals.js.map +0 -1
  565. package/cjs/resources/BalanceTransfers.d.ts +0 -160
  566. package/cjs/resources/BalanceTransfers.js +0 -15
  567. package/cjs/resources/BalanceTransfers.js.map +0 -1
  568. package/cjs/resources/Billing/AlertNotifications.d.ts +0 -75
  569. package/cjs/resources/Billing/AlertNotifications.js +0 -4
  570. package/cjs/resources/Billing/AlertNotifications.js.map +0 -1
  571. package/cjs/resources/Billing/AlertRecovereds.d.ts +0 -56
  572. package/cjs/resources/Billing/AlertRecovereds.js +0 -4
  573. package/cjs/resources/Billing/AlertRecovereds.js.map +0 -1
  574. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -89
  575. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  576. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  577. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -38
  578. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  579. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  580. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  581. package/cjs/resources/Billing/Analytics/index.js +0 -13
  582. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  583. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -194
  584. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  585. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  586. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -102
  587. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  588. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  589. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -141
  590. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  591. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  592. package/cjs/resources/Capital/index.d.ts +0 -25
  593. package/cjs/resources/Capital/index.js +0 -17
  594. package/cjs/resources/Capital/index.js.map +0 -1
  595. package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +0 -30
  596. package/cjs/resources/Crypto/CustomerConsumerWallets.js +0 -4
  597. package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +0 -1
  598. package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +0 -80
  599. package/cjs/resources/Crypto/CustomerPaymentTokens.js +0 -4
  600. package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +0 -1
  601. package/cjs/resources/Crypto/Customers.d.ts +0 -111
  602. package/cjs/resources/Crypto/Customers.js +0 -31
  603. package/cjs/resources/Crypto/Customers.js.map +0 -1
  604. package/cjs/resources/Crypto/DepositAddresses.d.ts +0 -128
  605. package/cjs/resources/Crypto/DepositAddresses.js +0 -31
  606. package/cjs/resources/Crypto/DepositAddresses.js.map +0 -1
  607. package/cjs/resources/Crypto/OnrampSessions.d.ts +0 -425
  608. package/cjs/resources/Crypto/OnrampSessions.js +0 -47
  609. package/cjs/resources/Crypto/OnrampSessions.js.map +0 -1
  610. package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +0 -61
  611. package/cjs/resources/Crypto/OnrampTransactionLimits.js +0 -15
  612. package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +0 -1
  613. package/cjs/resources/Crypto/index.d.ts +0 -41
  614. package/cjs/resources/Crypto/index.js +0 -19
  615. package/cjs/resources/Crypto/index.js.map +0 -1
  616. package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +0 -129
  617. package/cjs/resources/DelegatedCheckout/OrderEvents.js +0 -4
  618. package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +0 -1
  619. package/cjs/resources/DelegatedCheckout/Orders.d.ts +0 -159
  620. package/cjs/resources/DelegatedCheckout/Orders.js +0 -15
  621. package/cjs/resources/DelegatedCheckout/Orders.js.map +0 -1
  622. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +0 -1424
  623. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +0 -47
  624. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +0 -1
  625. package/cjs/resources/DelegatedCheckout/index.d.ts +0 -25
  626. package/cjs/resources/DelegatedCheckout/index.js +0 -15
  627. package/cjs/resources/DelegatedCheckout/index.js.map +0 -1
  628. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  629. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  630. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  631. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -99
  632. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  633. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  634. package/cjs/resources/FxQuotes.d.ts +0 -212
  635. package/cjs/resources/FxQuotes.js +0 -29
  636. package/cjs/resources/FxQuotes.js.map +0 -1
  637. package/cjs/resources/GiftCardOperations.d.ts +0 -249
  638. package/cjs/resources/GiftCardOperations.js +0 -15
  639. package/cjs/resources/GiftCardOperations.js.map +0 -1
  640. package/cjs/resources/GiftCards.d.ts +0 -181
  641. package/cjs/resources/GiftCards.js +0 -51
  642. package/cjs/resources/GiftCards.js.map +0 -1
  643. package/cjs/resources/Identity/BlocklistEntries.d.ts +0 -155
  644. package/cjs/resources/Identity/BlocklistEntries.js +0 -54
  645. package/cjs/resources/Identity/BlocklistEntries.js.map +0 -1
  646. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -654
  647. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -53
  648. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  649. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
  650. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  651. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  652. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  653. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  654. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  655. package/cjs/resources/Issuing/Programs.d.ts +0 -95
  656. package/cjs/resources/Issuing/Programs.js +0 -35
  657. package/cjs/resources/Issuing/Programs.js.map +0 -1
  658. package/cjs/resources/Issuing/Settlements.d.ts +0 -83
  659. package/cjs/resources/Issuing/Settlements.js +0 -4
  660. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  661. package/cjs/resources/Margins.d.ts +0 -115
  662. package/cjs/resources/Margins.js +0 -35
  663. package/cjs/resources/Margins.js.map +0 -1
  664. package/cjs/resources/Orchestration/PaymentAttempts.d.ts +0 -34
  665. package/cjs/resources/Orchestration/PaymentAttempts.js +0 -15
  666. package/cjs/resources/Orchestration/PaymentAttempts.js.map +0 -1
  667. package/cjs/resources/Orchestration/index.d.ts +0 -12
  668. package/cjs/resources/Orchestration/index.js +0 -13
  669. package/cjs/resources/Orchestration/index.js.map +0 -1
  670. package/cjs/resources/Orders.d.ts +0 -4773
  671. package/cjs/resources/Orders.js +0 -457
  672. package/cjs/resources/Orders.js.map +0 -1
  673. package/cjs/resources/PaymentLocationCapabilities.d.ts +0 -123
  674. package/cjs/resources/PaymentLocationCapabilities.js +0 -29
  675. package/cjs/resources/PaymentLocationCapabilities.js.map +0 -1
  676. package/cjs/resources/PaymentLocations.d.ts +0 -178
  677. package/cjs/resources/PaymentLocations.js +0 -41
  678. package/cjs/resources/PaymentLocations.js.map +0 -1
  679. package/cjs/resources/PaymentMethodBalances.d.ts +0 -46
  680. package/cjs/resources/PaymentMethodBalances.js +0 -4
  681. package/cjs/resources/PaymentMethodBalances.js.map +0 -1
  682. package/cjs/resources/PaymentPlans.d.ts +0 -427
  683. package/cjs/resources/PaymentPlans.js +0 -35
  684. package/cjs/resources/PaymentPlans.js.map +0 -1
  685. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
  686. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  687. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  688. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -227
  689. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  690. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  691. package/cjs/resources/Privacy/index.d.ts +0 -22
  692. package/cjs/resources/Privacy/index.js +0 -13
  693. package/cjs/resources/Privacy/index.js.map +0 -1
  694. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -158
  695. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -29
  696. package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
  697. package/cjs/resources/ProductCatalog/index.d.ts +0 -14
  698. package/cjs/resources/ProductCatalog/index.js +0 -13
  699. package/cjs/resources/ProductCatalog/index.js.map +0 -1
  700. package/cjs/resources/Profiles.d.ts +0 -68
  701. package/cjs/resources/Profiles.js +0 -4
  702. package/cjs/resources/Profiles.js.map +0 -1
  703. package/cjs/resources/QuoteLines.d.ts +0 -684
  704. package/cjs/resources/QuoteLines.js +0 -4
  705. package/cjs/resources/QuoteLines.js.map +0 -1
  706. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1210
  707. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  708. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  709. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -1087
  710. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  711. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  712. package/cjs/resources/Radar/AccountEvaluations.d.ts +0 -309
  713. package/cjs/resources/Radar/AccountEvaluations.js +0 -27
  714. package/cjs/resources/Radar/AccountEvaluations.js.map +0 -1
  715. package/cjs/resources/Radar/CustomerEvaluations.d.ts +0 -245
  716. package/cjs/resources/Radar/CustomerEvaluations.js +0 -27
  717. package/cjs/resources/Radar/CustomerEvaluations.js.map +0 -1
  718. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +0 -433
  719. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +0 -15
  720. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +0 -1
  721. package/cjs/resources/RiskSignals.d.ts +0 -10
  722. package/cjs/resources/RiskSignals.js +0 -4
  723. package/cjs/resources/RiskSignals.js.map +0 -1
  724. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -425
  725. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  726. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  727. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -344
  728. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  729. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  730. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  731. package/cjs/resources/SharedPayment/index.js +0 -15
  732. package/cjs/resources/SharedPayment/index.js.map +0 -1
  733. package/cjs/resources/Tax/Forms.d.ts +0 -228
  734. package/cjs/resources/Tax/Forms.js +0 -32
  735. package/cjs/resources/Tax/Forms.js.map +0 -1
  736. package/cjs/resources/Tax/Locations.d.ts +0 -112
  737. package/cjs/resources/Tax/Locations.js +0 -33
  738. package/cjs/resources/Tax/Locations.js.map +0 -1
  739. package/cjs/resources/TaxFunds.d.ts +0 -174
  740. package/cjs/resources/TaxFunds.js +0 -23
  741. package/cjs/resources/TaxFunds.js.map +0 -1
  742. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -50
  743. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  744. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  745. package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +0 -82
  746. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +0 -21
  747. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +0 -1
  748. package/cjs/resources/TestHelpers/Capital/index.d.ts +0 -8
  749. package/cjs/resources/TestHelpers/Capital/index.js +0 -13
  750. package/cjs/resources/TestHelpers/Capital/index.js.map +0 -1
  751. package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +0 -127
  752. package/cjs/resources/TestHelpers/Issuing/Disputes.js +0 -39
  753. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +0 -1
  754. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +0 -38
  755. package/cjs/resources/TestHelpers/PaymentIntents.js +0 -15
  756. package/cjs/resources/TestHelpers/PaymentIntents.js.map +0 -1
  757. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -75
  758. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  759. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  760. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  761. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  762. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  763. package/cjs/resources/TransitBalances.d.ts +0 -25
  764. package/cjs/resources/TransitBalances.js +0 -4
  765. package/cjs/resources/TransitBalances.js.map +0 -1
  766. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
  767. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  768. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  769. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  770. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  771. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  772. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -281
  773. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  774. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  775. package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +0 -84
  776. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +0 -4
  777. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +0 -1
  778. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +0 -37
  779. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +0 -23
  780. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +0 -1
  781. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -1011
  782. package/cjs/resources/V2/Billing/Cadences.js +0 -264
  783. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  784. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
  785. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  786. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  787. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  788. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  789. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  790. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -776
  791. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  792. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  793. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +0 -47
  794. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +0 -4
  795. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +0 -1
  796. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +0 -23
  797. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +0 -29
  798. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +0 -1
  799. package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +0 -8
  800. package/cjs/resources/V2/Billing/Contracts/PricingLines.js +0 -15
  801. package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +0 -1
  802. package/cjs/resources/V2/Billing/Contracts.d.ts +0 -1512
  803. package/cjs/resources/V2/Billing/Contracts.js +0 -331
  804. package/cjs/resources/V2/Billing/Contracts.js.map +0 -1
  805. package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +0 -125
  806. package/cjs/resources/V2/Billing/CustomPricingUnits.js +0 -35
  807. package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +0 -1
  808. package/cjs/resources/V2/Billing/IntentActions.d.ts +0 -603
  809. package/cjs/resources/V2/Billing/IntentActions.js +0 -4
  810. package/cjs/resources/V2/Billing/IntentActions.js.map +0 -1
  811. package/cjs/resources/V2/Billing/Intents/Actions.d.ts +0 -33
  812. package/cjs/resources/V2/Billing/Intents/Actions.js +0 -70
  813. package/cjs/resources/V2/Billing/Intents/Actions.js.map +0 -1
  814. package/cjs/resources/V2/Billing/Intents.d.ts +0 -1261
  815. package/cjs/resources/V2/Billing/Intents.js +0 -87
  816. package/cjs/resources/V2/Billing/Intents.js.map +0 -1
  817. package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +0 -78
  818. package/cjs/resources/V2/Billing/LicenseFeeVersions.js +0 -4
  819. package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +0 -1
  820. package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +0 -33
  821. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -64
  822. package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +0 -1
  823. package/cjs/resources/V2/Billing/LicenseFees.d.ts +0 -360
  824. package/cjs/resources/V2/Billing/LicenseFees.js +0 -148
  825. package/cjs/resources/V2/Billing/LicenseFees.js.map +0 -1
  826. package/cjs/resources/V2/Billing/LicensedItems.d.ts +0 -170
  827. package/cjs/resources/V2/Billing/LicensedItems.js +0 -35
  828. package/cjs/resources/V2/Billing/LicensedItems.js.map +0 -1
  829. package/cjs/resources/V2/Billing/MeteredItems.d.ts +0 -218
  830. package/cjs/resources/V2/Billing/MeteredItems.js +0 -35
  831. package/cjs/resources/V2/Billing/MeteredItems.js.map +0 -1
  832. package/cjs/resources/V2/Billing/OneTimeItems.d.ts +0 -170
  833. package/cjs/resources/V2/Billing/OneTimeItems.js +0 -35
  834. package/cjs/resources/V2/Billing/OneTimeItems.js.map +0 -1
  835. package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +0 -80
  836. package/cjs/resources/V2/Billing/PricingPlanComponents.js +0 -4
  837. package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +0 -1
  838. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +0 -620
  839. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -296
  840. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +0 -1
  841. package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +0 -30
  842. package/cjs/resources/V2/Billing/PricingPlanVersions.js +0 -4
  843. package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +0 -1
  844. package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +0 -142
  845. package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -41
  846. package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +0 -1
  847. package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +0 -33
  848. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -23
  849. package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +0 -1
  850. package/cjs/resources/V2/Billing/PricingPlans.d.ts +0 -169
  851. package/cjs/resources/V2/Billing/PricingPlans.js +0 -43
  852. package/cjs/resources/V2/Billing/PricingPlans.js.map +0 -1
  853. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -162
  854. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  855. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  856. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +0 -45
  857. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +0 -4
  858. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +0 -1
  859. package/cjs/resources/V2/Billing/RateCardRates.d.ts +0 -111
  860. package/cjs/resources/V2/Billing/RateCardRates.js +0 -4
  861. package/cjs/resources/V2/Billing/RateCardRates.js.map +0 -1
  862. package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +0 -215
  863. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -41
  864. package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +0 -1
  865. package/cjs/resources/V2/Billing/RateCardVersions.d.ts +0 -22
  866. package/cjs/resources/V2/Billing/RateCardVersions.js +0 -4
  867. package/cjs/resources/V2/Billing/RateCardVersions.js.map +0 -1
  868. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +0 -79
  869. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +0 -35
  870. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +0 -1
  871. package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +0 -145
  872. package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -110
  873. package/cjs/resources/V2/Billing/RateCards/Rates.js.map +0 -1
  874. package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +0 -33
  875. package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -23
  876. package/cjs/resources/V2/Billing/RateCards/Versions.js.map +0 -1
  877. package/cjs/resources/V2/Billing/RateCards.d.ts +0 -336
  878. package/cjs/resources/V2/Billing/RateCards.js +0 -76
  879. package/cjs/resources/V2/Billing/RateCards.js.map +0 -1
  880. package/cjs/resources/V2/Billing/ServiceActions.d.ts +0 -510
  881. package/cjs/resources/V2/Billing/ServiceActions.js +0 -162
  882. package/cjs/resources/V2/Billing/ServiceActions.js.map +0 -1
  883. package/cjs/resources/V2/Core/AccountEvaluations.d.ts +0 -159
  884. package/cjs/resources/V2/Core/AccountEvaluations.js +0 -15
  885. package/cjs/resources/V2/Core/AccountEvaluations.js.map +0 -1
  886. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +0 -331
  887. package/cjs/resources/V2/Core/ApprovalRequests.js +0 -46
  888. package/cjs/resources/V2/Core/ApprovalRequests.js.map +0 -1
  889. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -360
  890. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  891. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  892. package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +0 -225
  893. package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -31
  894. package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +0 -1
  895. package/cjs/resources/V2/Core/ConnectionSessions.d.ts +0 -86
  896. package/cjs/resources/V2/Core/ConnectionSessions.js +0 -21
  897. package/cjs/resources/V2/Core/ConnectionSessions.js.map +0 -1
  898. package/cjs/resources/V2/Core/FeeBatches.d.ts +0 -234
  899. package/cjs/resources/V2/Core/FeeBatches.js +0 -23
  900. package/cjs/resources/V2/Core/FeeBatches.js.map +0 -1
  901. package/cjs/resources/V2/Core/FeeEntries.d.ts +0 -200
  902. package/cjs/resources/V2/Core/FeeEntries.js +0 -23
  903. package/cjs/resources/V2/Core/FeeEntries.js.map +0 -1
  904. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +0 -423
  905. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +0 -4
  906. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +0 -1
  907. package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +0 -23
  908. package/cjs/resources/V2/Core/Health/Alerts/History.js +0 -101
  909. package/cjs/resources/V2/Core/Health/Alerts/History.js.map +0 -1
  910. package/cjs/resources/V2/Core/Health/Alerts.d.ts +0 -537
  911. package/cjs/resources/V2/Core/Health/Alerts.js +0 -182
  912. package/cjs/resources/V2/Core/Health/Alerts.js.map +0 -1
  913. package/cjs/resources/V2/Core/Health/index.d.ts +0 -16
  914. package/cjs/resources/V2/Core/Health/index.js +0 -13
  915. package/cjs/resources/V2/Core/Health/index.js.map +0 -1
  916. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -280
  917. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  918. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  919. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -252
  920. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -65
  921. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  922. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  923. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  924. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  925. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +0 -74
  926. package/cjs/resources/V2/Data/Analytics/MetricQuery.js +0 -36
  927. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +0 -1
  928. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +0 -76
  929. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +0 -4
  930. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +0 -1
  931. package/cjs/resources/V2/Data/Analytics/index.d.ts +0 -12
  932. package/cjs/resources/V2/Data/Analytics/index.js +0 -13
  933. package/cjs/resources/V2/Data/Analytics/index.js.map +0 -1
  934. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -172
  935. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  936. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  937. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  938. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  939. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  940. package/cjs/resources/V2/Data/index.d.ts +0 -13
  941. package/cjs/resources/V2/Data/index.js +0 -15
  942. package/cjs/resources/V2/Data/index.js.map +0 -1
  943. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
  944. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  945. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  946. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -120
  947. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  948. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  949. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  950. package/cjs/resources/V2/Extend/index.js +0 -15
  951. package/cjs/resources/V2/Extend/index.js.map +0 -1
  952. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  953. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  954. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  955. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  956. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  957. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  958. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -218
  959. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
  960. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  961. package/cjs/resources/V2/Iam/ApiKeys.d.ts +0 -305
  962. package/cjs/resources/V2/Iam/ApiKeys.js +0 -47
  963. package/cjs/resources/V2/Iam/ApiKeys.js.map +0 -1
  964. package/cjs/resources/V2/Iam/index.d.ts +0 -23
  965. package/cjs/resources/V2/Iam/index.js +0 -15
  966. package/cjs/resources/V2/Iam/index.js.map +0 -1
  967. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  968. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  969. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  970. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +0 -131
  971. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +0 -31
  972. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +0 -1
  973. package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +0 -169
  974. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +0 -29
  975. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +0 -1
  976. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +0 -99
  977. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +0 -4
  978. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +0 -1
  979. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +0 -49
  980. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +0 -53
  981. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +0 -1
  982. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -438
  983. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -50
  984. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  985. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +0 -14
  986. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +0 -4
  987. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +0 -1
  988. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -304
  989. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  990. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  991. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -251
  992. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  993. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  994. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -329
  995. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  996. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  997. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -638
  998. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  999. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1000. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -318
  1001. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  1002. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1003. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -394
  1004. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  1005. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1006. package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +0 -648
  1007. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +0 -57
  1008. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +0 -1
  1009. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -277
  1010. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
  1011. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1012. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
  1013. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  1014. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1015. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -481
  1016. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  1017. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1018. package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +0 -166
  1019. package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js +0 -29
  1020. package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +0 -1
  1021. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -308
  1022. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  1023. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1024. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +0 -116
  1025. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +0 -27
  1026. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +0 -1
  1027. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +0 -34
  1028. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -15
  1029. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +0 -1
  1030. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
  1031. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +0 -13
  1032. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
  1033. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -266
  1034. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  1035. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1036. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -321
  1037. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -29
  1038. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1039. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -153
  1040. package/cjs/resources/V2/MoneyManagement/index.js +0 -51
  1041. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  1042. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -92
  1043. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  1044. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1045. package/cjs/resources/V2/Network/index.d.ts +0 -13
  1046. package/cjs/resources/V2/Network/index.js +0 -13
  1047. package/cjs/resources/V2/Network/index.js.map +0 -1
  1048. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
  1049. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  1050. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1051. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1052. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  1053. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1054. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +0 -835
  1055. package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -53
  1056. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +0 -1
  1057. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +0 -73
  1058. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +0 -4
  1059. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +0 -1
  1060. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +0 -85
  1061. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +0 -35
  1062. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +0 -1
  1063. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +0 -209
  1064. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +0 -53
  1065. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +0 -1
  1066. package/cjs/resources/V2/Payments/index.d.ts +0 -31
  1067. package/cjs/resources/V2/Payments/index.js +0 -15
  1068. package/cjs/resources/V2/Payments/index.js.map +0 -1
  1069. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +0 -191
  1070. package/cjs/resources/V2/Reporting/ReportRuns.js +0 -50
  1071. package/cjs/resources/V2/Reporting/ReportRuns.js.map +0 -1
  1072. package/cjs/resources/V2/Reporting/Reports.d.ts +0 -106
  1073. package/cjs/resources/V2/Reporting/Reports.js +0 -17
  1074. package/cjs/resources/V2/Reporting/Reports.js.map +0 -1
  1075. package/cjs/resources/V2/Reporting/index.d.ts +0 -18
  1076. package/cjs/resources/V2/Reporting/index.js +0 -15
  1077. package/cjs/resources/V2/Reporting/index.js.map +0 -1
  1078. package/cjs/resources/V2/Risk/Inquiries.d.ts +0 -143
  1079. package/cjs/resources/V2/Risk/Inquiries.js +0 -29
  1080. package/cjs/resources/V2/Risk/Inquiries.js.map +0 -1
  1081. package/cjs/resources/V2/Risk/index.d.ts +0 -14
  1082. package/cjs/resources/V2/Risk/index.js +0 -13
  1083. package/cjs/resources/V2/Risk/index.js.map +0 -1
  1084. package/cjs/resources/V2/Signals/AccountActivity.d.ts +0 -424
  1085. package/cjs/resources/V2/Signals/AccountActivity.js +0 -27
  1086. package/cjs/resources/V2/Signals/AccountActivity.js.map +0 -1
  1087. package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
  1088. package/cjs/resources/V2/Signals/AccountEvaluations.js +0 -59
  1089. package/cjs/resources/V2/Signals/AccountEvaluations.js.map +0 -1
  1090. package/cjs/resources/V2/Signals/AccountSignals.d.ts +0 -281
  1091. package/cjs/resources/V2/Signals/AccountSignals.js +0 -110
  1092. package/cjs/resources/V2/Signals/AccountSignals.js.map +0 -1
  1093. package/cjs/resources/V2/Signals/index.d.ts +0 -26
  1094. package/cjs/resources/V2/Signals/index.js +0 -17
  1095. package/cjs/resources/V2/Signals/index.js.map +0 -1
  1096. package/cjs/resources/V2/Tax/ManualRules.d.ts +0 -331
  1097. package/cjs/resources/V2/Tax/ManualRules.js +0 -193
  1098. package/cjs/resources/V2/Tax/ManualRules.js.map +0 -1
  1099. package/cjs/resources/V2/Tax/Operations.d.ts +0 -43
  1100. package/cjs/resources/V2/Tax/Operations.js +0 -15
  1101. package/cjs/resources/V2/Tax/Operations.js.map +0 -1
  1102. package/cjs/resources/V2/Tax/OperationsResolveAddressResults.d.ts +0 -68
  1103. package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js +0 -4
  1104. package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js.map +0 -1
  1105. package/cjs/resources/V2/Tax/index.d.ts +0 -21
  1106. package/cjs/resources/V2/Tax/index.js +0 -15
  1107. package/cjs/resources/V2/Tax/index.js.map +0 -1
  1108. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
  1109. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  1110. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1111. package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +0 -31
  1112. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +0 -15
  1113. package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +0 -1
  1114. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -10
  1115. package/cjs/resources/V2/TestHelpers/index.js +0 -15
  1116. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  1117. package/esm/resources/AccountNotices.d.ts +0 -140
  1118. package/esm/resources/AccountNotices.js +0 -25
  1119. package/esm/resources/AccountNotices.js.map +0 -1
  1120. package/esm/resources/AccountSignals.d.ts +0 -111
  1121. package/esm/resources/AccountSignals.js +0 -3
  1122. package/esm/resources/AccountSignals.js.map +0 -1
  1123. package/esm/resources/BalanceTransfers.d.ts +0 -160
  1124. package/esm/resources/BalanceTransfers.js +0 -11
  1125. package/esm/resources/BalanceTransfers.js.map +0 -1
  1126. package/esm/resources/Billing/AlertNotifications.d.ts +0 -75
  1127. package/esm/resources/Billing/AlertNotifications.js +0 -3
  1128. package/esm/resources/Billing/AlertNotifications.js.map +0 -1
  1129. package/esm/resources/Billing/AlertRecovereds.d.ts +0 -56
  1130. package/esm/resources/Billing/AlertRecovereds.js +0 -3
  1131. package/esm/resources/Billing/AlertRecovereds.js.map +0 -1
  1132. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -89
  1133. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  1134. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  1135. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -38
  1136. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  1137. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  1138. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  1139. package/esm/resources/Billing/Analytics/index.js +0 -9
  1140. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  1141. package/esm/resources/Capital/FinancingOffers.d.ts +0 -194
  1142. package/esm/resources/Capital/FinancingOffers.js +0 -26
  1143. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  1144. package/esm/resources/Capital/FinancingSummary.d.ts +0 -102
  1145. package/esm/resources/Capital/FinancingSummary.js +0 -11
  1146. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  1147. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -141
  1148. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  1149. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  1150. package/esm/resources/Capital/index.d.ts +0 -25
  1151. package/esm/resources/Capital/index.js +0 -13
  1152. package/esm/resources/Capital/index.js.map +0 -1
  1153. package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +0 -30
  1154. package/esm/resources/Crypto/CustomerConsumerWallets.js +0 -3
  1155. package/esm/resources/Crypto/CustomerConsumerWallets.js.map +0 -1
  1156. package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +0 -80
  1157. package/esm/resources/Crypto/CustomerPaymentTokens.js +0 -3
  1158. package/esm/resources/Crypto/CustomerPaymentTokens.js.map +0 -1
  1159. package/esm/resources/Crypto/Customers.d.ts +0 -111
  1160. package/esm/resources/Crypto/Customers.js +0 -27
  1161. package/esm/resources/Crypto/Customers.js.map +0 -1
  1162. package/esm/resources/Crypto/DepositAddresses.d.ts +0 -128
  1163. package/esm/resources/Crypto/DepositAddresses.js +0 -27
  1164. package/esm/resources/Crypto/DepositAddresses.js.map +0 -1
  1165. package/esm/resources/Crypto/OnrampSessions.d.ts +0 -425
  1166. package/esm/resources/Crypto/OnrampSessions.js +0 -43
  1167. package/esm/resources/Crypto/OnrampSessions.js.map +0 -1
  1168. package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +0 -61
  1169. package/esm/resources/Crypto/OnrampTransactionLimits.js +0 -11
  1170. package/esm/resources/Crypto/OnrampTransactionLimits.js.map +0 -1
  1171. package/esm/resources/Crypto/index.d.ts +0 -41
  1172. package/esm/resources/Crypto/index.js +0 -15
  1173. package/esm/resources/Crypto/index.js.map +0 -1
  1174. package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +0 -129
  1175. package/esm/resources/DelegatedCheckout/OrderEvents.js +0 -3
  1176. package/esm/resources/DelegatedCheckout/OrderEvents.js.map +0 -1
  1177. package/esm/resources/DelegatedCheckout/Orders.d.ts +0 -159
  1178. package/esm/resources/DelegatedCheckout/Orders.js +0 -11
  1179. package/esm/resources/DelegatedCheckout/Orders.js.map +0 -1
  1180. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +0 -1424
  1181. package/esm/resources/DelegatedCheckout/RequestedSessions.js +0 -43
  1182. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +0 -1
  1183. package/esm/resources/DelegatedCheckout/index.d.ts +0 -25
  1184. package/esm/resources/DelegatedCheckout/index.js +0 -11
  1185. package/esm/resources/DelegatedCheckout/index.js.map +0 -1
  1186. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  1187. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  1188. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  1189. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -99
  1190. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  1191. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  1192. package/esm/resources/FxQuotes.d.ts +0 -212
  1193. package/esm/resources/FxQuotes.js +0 -25
  1194. package/esm/resources/FxQuotes.js.map +0 -1
  1195. package/esm/resources/GiftCardOperations.d.ts +0 -249
  1196. package/esm/resources/GiftCardOperations.js +0 -11
  1197. package/esm/resources/GiftCardOperations.js.map +0 -1
  1198. package/esm/resources/GiftCards.d.ts +0 -181
  1199. package/esm/resources/GiftCards.js +0 -47
  1200. package/esm/resources/GiftCards.js.map +0 -1
  1201. package/esm/resources/Identity/BlocklistEntries.d.ts +0 -155
  1202. package/esm/resources/Identity/BlocklistEntries.js +0 -50
  1203. package/esm/resources/Identity/BlocklistEntries.js.map +0 -1
  1204. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -654
  1205. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -49
  1206. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  1207. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
  1208. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  1209. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  1210. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  1211. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  1212. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  1213. package/esm/resources/Issuing/Programs.d.ts +0 -95
  1214. package/esm/resources/Issuing/Programs.js +0 -31
  1215. package/esm/resources/Issuing/Programs.js.map +0 -1
  1216. package/esm/resources/Issuing/Settlements.d.ts +0 -83
  1217. package/esm/resources/Issuing/Settlements.js +0 -3
  1218. package/esm/resources/Issuing/Settlements.js.map +0 -1
  1219. package/esm/resources/Margins.d.ts +0 -115
  1220. package/esm/resources/Margins.js +0 -31
  1221. package/esm/resources/Margins.js.map +0 -1
  1222. package/esm/resources/Orchestration/PaymentAttempts.d.ts +0 -34
  1223. package/esm/resources/Orchestration/PaymentAttempts.js +0 -11
  1224. package/esm/resources/Orchestration/PaymentAttempts.js.map +0 -1
  1225. package/esm/resources/Orchestration/index.d.ts +0 -12
  1226. package/esm/resources/Orchestration/index.js +0 -9
  1227. package/esm/resources/Orchestration/index.js.map +0 -1
  1228. package/esm/resources/Orders.d.ts +0 -4773
  1229. package/esm/resources/Orders.js +0 -453
  1230. package/esm/resources/Orders.js.map +0 -1
  1231. package/esm/resources/PaymentLocationCapabilities.d.ts +0 -123
  1232. package/esm/resources/PaymentLocationCapabilities.js +0 -25
  1233. package/esm/resources/PaymentLocationCapabilities.js.map +0 -1
  1234. package/esm/resources/PaymentLocations.d.ts +0 -178
  1235. package/esm/resources/PaymentLocations.js +0 -37
  1236. package/esm/resources/PaymentLocations.js.map +0 -1
  1237. package/esm/resources/PaymentMethodBalances.d.ts +0 -46
  1238. package/esm/resources/PaymentMethodBalances.js +0 -3
  1239. package/esm/resources/PaymentMethodBalances.js.map +0 -1
  1240. package/esm/resources/PaymentPlans.d.ts +0 -427
  1241. package/esm/resources/PaymentPlans.js +0 -31
  1242. package/esm/resources/PaymentPlans.js.map +0 -1
  1243. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
  1244. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  1245. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  1246. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -227
  1247. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  1248. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  1249. package/esm/resources/Privacy/index.d.ts +0 -22
  1250. package/esm/resources/Privacy/index.js +0 -9
  1251. package/esm/resources/Privacy/index.js.map +0 -1
  1252. package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -158
  1253. package/esm/resources/ProductCatalog/TrialOffers.js +0 -25
  1254. package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
  1255. package/esm/resources/ProductCatalog/index.d.ts +0 -14
  1256. package/esm/resources/ProductCatalog/index.js +0 -9
  1257. package/esm/resources/ProductCatalog/index.js.map +0 -1
  1258. package/esm/resources/Profiles.d.ts +0 -68
  1259. package/esm/resources/Profiles.js +0 -3
  1260. package/esm/resources/Profiles.js.map +0 -1
  1261. package/esm/resources/QuoteLines.d.ts +0 -684
  1262. package/esm/resources/QuoteLines.js +0 -3
  1263. package/esm/resources/QuoteLines.js.map +0 -1
  1264. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1210
  1265. package/esm/resources/QuotePreviewInvoices.js +0 -3
  1266. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  1267. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -1087
  1268. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  1269. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  1270. package/esm/resources/Radar/AccountEvaluations.d.ts +0 -309
  1271. package/esm/resources/Radar/AccountEvaluations.js +0 -23
  1272. package/esm/resources/Radar/AccountEvaluations.js.map +0 -1
  1273. package/esm/resources/Radar/CustomerEvaluations.d.ts +0 -245
  1274. package/esm/resources/Radar/CustomerEvaluations.js +0 -23
  1275. package/esm/resources/Radar/CustomerEvaluations.js.map +0 -1
  1276. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +0 -433
  1277. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +0 -11
  1278. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +0 -1
  1279. package/esm/resources/RiskSignals.d.ts +0 -10
  1280. package/esm/resources/RiskSignals.js +0 -3
  1281. package/esm/resources/RiskSignals.js.map +0 -1
  1282. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -425
  1283. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  1284. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  1285. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -344
  1286. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  1287. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  1288. package/esm/resources/SharedPayment/index.d.ts +0 -19
  1289. package/esm/resources/SharedPayment/index.js +0 -11
  1290. package/esm/resources/SharedPayment/index.js.map +0 -1
  1291. package/esm/resources/Tax/Forms.d.ts +0 -228
  1292. package/esm/resources/Tax/Forms.js +0 -28
  1293. package/esm/resources/Tax/Forms.js.map +0 -1
  1294. package/esm/resources/Tax/Locations.d.ts +0 -112
  1295. package/esm/resources/Tax/Locations.js +0 -29
  1296. package/esm/resources/Tax/Locations.js.map +0 -1
  1297. package/esm/resources/TaxFunds.d.ts +0 -174
  1298. package/esm/resources/TaxFunds.js +0 -19
  1299. package/esm/resources/TaxFunds.js.map +0 -1
  1300. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -50
  1301. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  1302. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  1303. package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +0 -82
  1304. package/esm/resources/TestHelpers/Capital/FinancingOffers.js +0 -17
  1305. package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +0 -1
  1306. package/esm/resources/TestHelpers/Capital/index.d.ts +0 -8
  1307. package/esm/resources/TestHelpers/Capital/index.js +0 -9
  1308. package/esm/resources/TestHelpers/Capital/index.js.map +0 -1
  1309. package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +0 -127
  1310. package/esm/resources/TestHelpers/Issuing/Disputes.js +0 -35
  1311. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +0 -1
  1312. package/esm/resources/TestHelpers/PaymentIntents.d.ts +0 -38
  1313. package/esm/resources/TestHelpers/PaymentIntents.js +0 -11
  1314. package/esm/resources/TestHelpers/PaymentIntents.js.map +0 -1
  1315. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -75
  1316. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  1317. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  1318. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  1319. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  1320. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  1321. package/esm/resources/TransitBalances.d.ts +0 -25
  1322. package/esm/resources/TransitBalances.js +0 -3
  1323. package/esm/resources/TransitBalances.js.map +0 -1
  1324. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
  1325. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  1326. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  1327. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  1328. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  1329. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  1330. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -281
  1331. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  1332. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  1333. package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +0 -84
  1334. package/esm/resources/V2/Billing/CadenceSpendModifiers.js +0 -3
  1335. package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +0 -1
  1336. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +0 -37
  1337. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +0 -19
  1338. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +0 -1
  1339. package/esm/resources/V2/Billing/Cadences.d.ts +0 -1011
  1340. package/esm/resources/V2/Billing/Cadences.js +0 -260
  1341. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  1342. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
  1343. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  1344. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  1345. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  1346. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  1347. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  1348. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -776
  1349. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  1350. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  1351. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +0 -47
  1352. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +0 -3
  1353. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +0 -1
  1354. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +0 -23
  1355. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +0 -25
  1356. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +0 -1
  1357. package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +0 -8
  1358. package/esm/resources/V2/Billing/Contracts/PricingLines.js +0 -11
  1359. package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +0 -1
  1360. package/esm/resources/V2/Billing/Contracts.d.ts +0 -1512
  1361. package/esm/resources/V2/Billing/Contracts.js +0 -327
  1362. package/esm/resources/V2/Billing/Contracts.js.map +0 -1
  1363. package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +0 -125
  1364. package/esm/resources/V2/Billing/CustomPricingUnits.js +0 -31
  1365. package/esm/resources/V2/Billing/CustomPricingUnits.js.map +0 -1
  1366. package/esm/resources/V2/Billing/IntentActions.d.ts +0 -603
  1367. package/esm/resources/V2/Billing/IntentActions.js +0 -3
  1368. package/esm/resources/V2/Billing/IntentActions.js.map +0 -1
  1369. package/esm/resources/V2/Billing/Intents/Actions.d.ts +0 -33
  1370. package/esm/resources/V2/Billing/Intents/Actions.js +0 -66
  1371. package/esm/resources/V2/Billing/Intents/Actions.js.map +0 -1
  1372. package/esm/resources/V2/Billing/Intents.d.ts +0 -1261
  1373. package/esm/resources/V2/Billing/Intents.js +0 -83
  1374. package/esm/resources/V2/Billing/Intents.js.map +0 -1
  1375. package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +0 -78
  1376. package/esm/resources/V2/Billing/LicenseFeeVersions.js +0 -3
  1377. package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +0 -1
  1378. package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +0 -33
  1379. package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -60
  1380. package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +0 -1
  1381. package/esm/resources/V2/Billing/LicenseFees.d.ts +0 -360
  1382. package/esm/resources/V2/Billing/LicenseFees.js +0 -144
  1383. package/esm/resources/V2/Billing/LicenseFees.js.map +0 -1
  1384. package/esm/resources/V2/Billing/LicensedItems.d.ts +0 -170
  1385. package/esm/resources/V2/Billing/LicensedItems.js +0 -31
  1386. package/esm/resources/V2/Billing/LicensedItems.js.map +0 -1
  1387. package/esm/resources/V2/Billing/MeteredItems.d.ts +0 -218
  1388. package/esm/resources/V2/Billing/MeteredItems.js +0 -31
  1389. package/esm/resources/V2/Billing/MeteredItems.js.map +0 -1
  1390. package/esm/resources/V2/Billing/OneTimeItems.d.ts +0 -170
  1391. package/esm/resources/V2/Billing/OneTimeItems.js +0 -31
  1392. package/esm/resources/V2/Billing/OneTimeItems.js.map +0 -1
  1393. package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +0 -80
  1394. package/esm/resources/V2/Billing/PricingPlanComponents.js +0 -3
  1395. package/esm/resources/V2/Billing/PricingPlanComponents.js.map +0 -1
  1396. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +0 -620
  1397. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -292
  1398. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +0 -1
  1399. package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +0 -30
  1400. package/esm/resources/V2/Billing/PricingPlanVersions.js +0 -3
  1401. package/esm/resources/V2/Billing/PricingPlanVersions.js.map +0 -1
  1402. package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +0 -142
  1403. package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -37
  1404. package/esm/resources/V2/Billing/PricingPlans/Components.js.map +0 -1
  1405. package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +0 -33
  1406. package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -19
  1407. package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +0 -1
  1408. package/esm/resources/V2/Billing/PricingPlans.d.ts +0 -169
  1409. package/esm/resources/V2/Billing/PricingPlans.js +0 -39
  1410. package/esm/resources/V2/Billing/PricingPlans.js.map +0 -1
  1411. package/esm/resources/V2/Billing/Profiles.d.ts +0 -162
  1412. package/esm/resources/V2/Billing/Profiles.js +0 -31
  1413. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  1414. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +0 -45
  1415. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +0 -3
  1416. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +0 -1
  1417. package/esm/resources/V2/Billing/RateCardRates.d.ts +0 -111
  1418. package/esm/resources/V2/Billing/RateCardRates.js +0 -3
  1419. package/esm/resources/V2/Billing/RateCardRates.js.map +0 -1
  1420. package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +0 -215
  1421. package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -37
  1422. package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +0 -1
  1423. package/esm/resources/V2/Billing/RateCardVersions.d.ts +0 -22
  1424. package/esm/resources/V2/Billing/RateCardVersions.js +0 -3
  1425. package/esm/resources/V2/Billing/RateCardVersions.js.map +0 -1
  1426. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +0 -79
  1427. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +0 -31
  1428. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +0 -1
  1429. package/esm/resources/V2/Billing/RateCards/Rates.d.ts +0 -145
  1430. package/esm/resources/V2/Billing/RateCards/Rates.js +0 -106
  1431. package/esm/resources/V2/Billing/RateCards/Rates.js.map +0 -1
  1432. package/esm/resources/V2/Billing/RateCards/Versions.d.ts +0 -33
  1433. package/esm/resources/V2/Billing/RateCards/Versions.js +0 -19
  1434. package/esm/resources/V2/Billing/RateCards/Versions.js.map +0 -1
  1435. package/esm/resources/V2/Billing/RateCards.d.ts +0 -336
  1436. package/esm/resources/V2/Billing/RateCards.js +0 -72
  1437. package/esm/resources/V2/Billing/RateCards.js.map +0 -1
  1438. package/esm/resources/V2/Billing/ServiceActions.d.ts +0 -510
  1439. package/esm/resources/V2/Billing/ServiceActions.js +0 -158
  1440. package/esm/resources/V2/Billing/ServiceActions.js.map +0 -1
  1441. package/esm/resources/V2/Core/AccountEvaluations.d.ts +0 -159
  1442. package/esm/resources/V2/Core/AccountEvaluations.js +0 -11
  1443. package/esm/resources/V2/Core/AccountEvaluations.js.map +0 -1
  1444. package/esm/resources/V2/Core/ApprovalRequests.d.ts +0 -331
  1445. package/esm/resources/V2/Core/ApprovalRequests.js +0 -42
  1446. package/esm/resources/V2/Core/ApprovalRequests.js.map +0 -1
  1447. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -360
  1448. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  1449. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  1450. package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +0 -225
  1451. package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -27
  1452. package/esm/resources/V2/Core/ClaimableSandboxes.js.map +0 -1
  1453. package/esm/resources/V2/Core/ConnectionSessions.d.ts +0 -86
  1454. package/esm/resources/V2/Core/ConnectionSessions.js +0 -17
  1455. package/esm/resources/V2/Core/ConnectionSessions.js.map +0 -1
  1456. package/esm/resources/V2/Core/FeeBatches.d.ts +0 -234
  1457. package/esm/resources/V2/Core/FeeBatches.js +0 -19
  1458. package/esm/resources/V2/Core/FeeBatches.js.map +0 -1
  1459. package/esm/resources/V2/Core/FeeEntries.d.ts +0 -200
  1460. package/esm/resources/V2/Core/FeeEntries.js +0 -19
  1461. package/esm/resources/V2/Core/FeeEntries.js.map +0 -1
  1462. package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +0 -423
  1463. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +0 -3
  1464. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +0 -1
  1465. package/esm/resources/V2/Core/Health/Alerts/History.d.ts +0 -23
  1466. package/esm/resources/V2/Core/Health/Alerts/History.js +0 -97
  1467. package/esm/resources/V2/Core/Health/Alerts/History.js.map +0 -1
  1468. package/esm/resources/V2/Core/Health/Alerts.d.ts +0 -537
  1469. package/esm/resources/V2/Core/Health/Alerts.js +0 -178
  1470. package/esm/resources/V2/Core/Health/Alerts.js.map +0 -1
  1471. package/esm/resources/V2/Core/Health/index.d.ts +0 -16
  1472. package/esm/resources/V2/Core/Health/index.js +0 -9
  1473. package/esm/resources/V2/Core/Health/index.js.map +0 -1
  1474. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -280
  1475. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  1476. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  1477. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -252
  1478. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -61
  1479. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  1480. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  1481. package/esm/resources/V2/Core/Vault/index.js +0 -11
  1482. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  1483. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +0 -74
  1484. package/esm/resources/V2/Data/Analytics/MetricQuery.js +0 -32
  1485. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +0 -1
  1486. package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +0 -76
  1487. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +0 -3
  1488. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +0 -1
  1489. package/esm/resources/V2/Data/Analytics/index.d.ts +0 -12
  1490. package/esm/resources/V2/Data/Analytics/index.js +0 -9
  1491. package/esm/resources/V2/Data/Analytics/index.js.map +0 -1
  1492. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -172
  1493. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  1494. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  1495. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  1496. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  1497. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  1498. package/esm/resources/V2/Data/index.d.ts +0 -13
  1499. package/esm/resources/V2/Data/index.js +0 -11
  1500. package/esm/resources/V2/Data/index.js.map +0 -1
  1501. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
  1502. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  1503. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  1504. package/esm/resources/V2/Extend/Workflows.d.ts +0 -120
  1505. package/esm/resources/V2/Extend/Workflows.js +0 -26
  1506. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  1507. package/esm/resources/V2/Extend/index.d.ts +0 -20
  1508. package/esm/resources/V2/Extend/index.js +0 -11
  1509. package/esm/resources/V2/Extend/index.js.map +0 -1
  1510. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  1511. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  1512. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  1513. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  1514. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  1515. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  1516. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -218
  1517. package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
  1518. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  1519. package/esm/resources/V2/Iam/ApiKeys.d.ts +0 -305
  1520. package/esm/resources/V2/Iam/ApiKeys.js +0 -43
  1521. package/esm/resources/V2/Iam/ApiKeys.js.map +0 -1
  1522. package/esm/resources/V2/Iam/index.d.ts +0 -23
  1523. package/esm/resources/V2/Iam/index.js +0 -11
  1524. package/esm/resources/V2/Iam/index.js.map +0 -1
  1525. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  1526. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  1527. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  1528. package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +0 -131
  1529. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +0 -27
  1530. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +0 -1
  1531. package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +0 -169
  1532. package/esm/resources/V2/MoneyManagement/DebitDisputes.js +0 -25
  1533. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +0 -1
  1534. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +0 -99
  1535. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +0 -3
  1536. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +0 -1
  1537. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +0 -49
  1538. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +0 -49
  1539. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +0 -1
  1540. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -438
  1541. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -46
  1542. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  1543. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +0 -14
  1544. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +0 -3
  1545. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +0 -1
  1546. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -304
  1547. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  1548. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  1549. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -251
  1550. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  1551. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  1552. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -329
  1553. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  1554. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  1555. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -638
  1556. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  1557. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1558. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -318
  1559. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  1560. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1561. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -394
  1562. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  1563. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1564. package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +0 -648
  1565. package/esm/resources/V2/MoneyManagement/PayoutIntents.js +0 -53
  1566. package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +0 -1
  1567. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -277
  1568. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
  1569. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1570. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
  1571. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  1572. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1573. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -481
  1574. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  1575. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1576. package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +0 -166
  1577. package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js +0 -25
  1578. package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +0 -1
  1579. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -308
  1580. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  1581. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1582. package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +0 -116
  1583. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +0 -23
  1584. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +0 -1
  1585. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +0 -34
  1586. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -11
  1587. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +0 -1
  1588. package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
  1589. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +0 -9
  1590. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
  1591. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -266
  1592. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  1593. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1594. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -321
  1595. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -25
  1596. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1597. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -153
  1598. package/esm/resources/V2/MoneyManagement/index.js +0 -47
  1599. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  1600. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -92
  1601. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  1602. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1603. package/esm/resources/V2/Network/index.d.ts +0 -13
  1604. package/esm/resources/V2/Network/index.js +0 -9
  1605. package/esm/resources/V2/Network/index.js.map +0 -1
  1606. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
  1607. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  1608. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1609. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1610. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  1611. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1612. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +0 -835
  1613. package/esm/resources/V2/Payments/OffSessionPayments.js +0 -49
  1614. package/esm/resources/V2/Payments/OffSessionPayments.js.map +0 -1
  1615. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +0 -73
  1616. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +0 -3
  1617. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +0 -1
  1618. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +0 -85
  1619. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +0 -31
  1620. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +0 -1
  1621. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +0 -209
  1622. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +0 -49
  1623. package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +0 -1
  1624. package/esm/resources/V2/Payments/index.d.ts +0 -31
  1625. package/esm/resources/V2/Payments/index.js +0 -11
  1626. package/esm/resources/V2/Payments/index.js.map +0 -1
  1627. package/esm/resources/V2/Reporting/ReportRuns.d.ts +0 -191
  1628. package/esm/resources/V2/Reporting/ReportRuns.js +0 -46
  1629. package/esm/resources/V2/Reporting/ReportRuns.js.map +0 -1
  1630. package/esm/resources/V2/Reporting/Reports.d.ts +0 -106
  1631. package/esm/resources/V2/Reporting/Reports.js +0 -13
  1632. package/esm/resources/V2/Reporting/Reports.js.map +0 -1
  1633. package/esm/resources/V2/Reporting/index.d.ts +0 -18
  1634. package/esm/resources/V2/Reporting/index.js +0 -11
  1635. package/esm/resources/V2/Reporting/index.js.map +0 -1
  1636. package/esm/resources/V2/Risk/Inquiries.d.ts +0 -143
  1637. package/esm/resources/V2/Risk/Inquiries.js +0 -25
  1638. package/esm/resources/V2/Risk/Inquiries.js.map +0 -1
  1639. package/esm/resources/V2/Risk/index.d.ts +0 -14
  1640. package/esm/resources/V2/Risk/index.js +0 -9
  1641. package/esm/resources/V2/Risk/index.js.map +0 -1
  1642. package/esm/resources/V2/Signals/AccountActivity.d.ts +0 -424
  1643. package/esm/resources/V2/Signals/AccountActivity.js +0 -23
  1644. package/esm/resources/V2/Signals/AccountActivity.js.map +0 -1
  1645. package/esm/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
  1646. package/esm/resources/V2/Signals/AccountEvaluations.js +0 -55
  1647. package/esm/resources/V2/Signals/AccountEvaluations.js.map +0 -1
  1648. package/esm/resources/V2/Signals/AccountSignals.d.ts +0 -281
  1649. package/esm/resources/V2/Signals/AccountSignals.js +0 -106
  1650. package/esm/resources/V2/Signals/AccountSignals.js.map +0 -1
  1651. package/esm/resources/V2/Signals/index.d.ts +0 -26
  1652. package/esm/resources/V2/Signals/index.js +0 -13
  1653. package/esm/resources/V2/Signals/index.js.map +0 -1
  1654. package/esm/resources/V2/Tax/ManualRules.d.ts +0 -331
  1655. package/esm/resources/V2/Tax/ManualRules.js +0 -189
  1656. package/esm/resources/V2/Tax/ManualRules.js.map +0 -1
  1657. package/esm/resources/V2/Tax/Operations.d.ts +0 -43
  1658. package/esm/resources/V2/Tax/Operations.js +0 -11
  1659. package/esm/resources/V2/Tax/Operations.js.map +0 -1
  1660. package/esm/resources/V2/Tax/OperationsResolveAddressResults.d.ts +0 -68
  1661. package/esm/resources/V2/Tax/OperationsResolveAddressResults.js +0 -3
  1662. package/esm/resources/V2/Tax/OperationsResolveAddressResults.js.map +0 -1
  1663. package/esm/resources/V2/Tax/index.d.ts +0 -21
  1664. package/esm/resources/V2/Tax/index.js +0 -11
  1665. package/esm/resources/V2/Tax/index.js.map +0 -1
  1666. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
  1667. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  1668. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1669. package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +0 -31
  1670. package/esm/resources/V2/TestHelpers/MoneyManagement.js +0 -11
  1671. package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +0 -1
  1672. package/esm/resources/V2/TestHelpers/index.d.ts +0 -10
  1673. package/esm/resources/V2/TestHelpers/index.js +0 -11
  1674. package/esm/resources/V2/TestHelpers/index.js.map +0 -1
@@ -2,13 +2,12 @@ import { StripeResource } from '../StripeResource.js';
2
2
  import { Discount as _Discount } from './Discounts.js';
3
3
  import { Application, DeletedApplication } from './Applications.js';
4
4
  import { Customer, DeletedCustomer } from './Customers.js';
5
- import { Invoice } from './Invoices.js';
6
5
  import { Subscription } from './Subscriptions.js';
7
- import { Price, DeletedPrice } from './Prices.js';
8
6
  import { PaymentMethod } from './PaymentMethods.js';
9
7
  import { Account } from './Accounts.js';
10
8
  import { TaxId, DeletedTaxId } from './TaxIds.js';
11
9
  import { TaxRate } from './TaxRates.js';
10
+ import { Price, DeletedPrice } from './Prices.js';
12
11
  import { Coupon } from './Coupons.js';
13
12
  import { PromotionCode } from './PromotionCodes.js';
14
13
  import { Plan, DeletedPlan } from './Plans.js';
@@ -32,10 +31,6 @@ export declare class SubscriptionScheduleResource extends StripeResource {
32
31
  * Updates an existing subscription schedule.
33
32
  */
34
33
  update(id: string, params?: SubscriptionScheduleUpdateParams, options?: RequestOptions): Promise<Response<SubscriptionSchedule>>;
35
- /**
36
- * Amends an existing subscription schedule.
37
- */
38
- amend(id: string, params?: SubscriptionScheduleAmendParams, options?: RequestOptions): Promise<Response<SubscriptionSchedule>>;
39
34
  /**
40
35
  * Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is not_started or active.
41
36
  */
@@ -44,22 +39,6 @@ export declare class SubscriptionScheduleResource extends StripeResource {
44
39
  * Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is not_started or active. If the subscription schedule is currently associated with a subscription, releasing it will remove its subscription property and set the subscription's ID to the released_subscription property.
45
40
  */
46
41
  release(id: string, params?: SubscriptionScheduleReleaseParams, options?: RequestOptions): Promise<Response<SubscriptionSchedule>>;
47
- serializeBatchCreate(params?: Record<string, unknown>, options?: {
48
- apiVersion?: string;
49
- stripeContext?: string;
50
- }): string;
51
- serializeBatchUpdate(schedule: string, params?: Record<string, unknown>, options?: {
52
- apiVersion?: string;
53
- stripeContext?: string;
54
- }): string;
55
- serializeBatchCancel(schedule: string, params?: Record<string, unknown>, options?: {
56
- apiVersion?: string;
57
- stripeContext?: string;
58
- }): string;
59
- serializeBatchRelease(schedule: string, params?: Record<string, unknown>, options?: {
60
- apiVersion?: string;
61
- stripeContext?: string;
62
- }): string;
63
42
  }
64
43
  export interface SubscriptionSchedule {
65
44
  /**
@@ -74,18 +53,10 @@ export interface SubscriptionSchedule {
74
53
  * ID of the Connect Application that created the schedule.
75
54
  */
76
55
  application: string | Application | DeletedApplication | null;
77
- /**
78
- * Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
79
- */
80
- billing_behavior?: SubscriptionSchedule.BillingBehavior;
81
56
  /**
82
57
  * The billing mode of the subscription.
83
58
  */
84
59
  billing_mode: SubscriptionSchedule.BillingMode;
85
- /**
86
- * Billing schedules for this subscription schedule.
87
- */
88
- billing_schedules?: Array<SubscriptionSchedule.BillingSchedule>;
89
60
  /**
90
61
  * Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
91
62
  */
@@ -115,14 +86,6 @@ export interface SubscriptionSchedule {
115
86
  * 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.
116
87
  */
117
88
  end_behavior: SubscriptionSchedule.EndBehavior;
118
- /**
119
- * Details of the most recent price migration that failed for the subscription schedule.
120
- */
121
- last_price_migration_error?: SubscriptionSchedule.LastPriceMigrationError | null;
122
- /**
123
- * The most recent invoice this subscription schedule has generated.
124
- */
125
- latest_invoice?: string | Invoice | null;
126
89
  /**
127
90
  * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
128
91
  */
@@ -131,18 +94,10 @@ export interface SubscriptionSchedule {
131
94
  * 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.
132
95
  */
133
96
  metadata: Metadata | null;
134
- /**
135
- * The pause schedules for this subscription schedule.
136
- */
137
- pause_schedules?: Array<SubscriptionSchedule.PauseSchedule>;
138
97
  /**
139
98
  * Configuration for the subscription schedule's phases.
140
99
  */
141
100
  phases: Array<SubscriptionSchedule.Phase>;
142
- /**
143
- * Time period and invoice for a Subscription billed in advance.
144
- */
145
- prebilling?: SubscriptionSchedule.Prebilling | null;
146
101
  /**
147
102
  * Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
148
103
  */
@@ -165,7 +120,6 @@ export interface SubscriptionSchedule {
165
120
  test_clock: string | TestHelpers.TestClock | null;
166
121
  }
167
122
  export declare namespace SubscriptionSchedule {
168
- type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front' | OtherString;
169
123
  interface BillingMode {
170
124
  /**
171
125
  * Configure behavior for flexible billing mode
@@ -180,20 +134,6 @@ export declare namespace SubscriptionSchedule {
180
134
  */
181
135
  updated_at?: number;
182
136
  }
183
- interface BillingSchedule {
184
- /**
185
- * Specifies which subscription items the billing schedule applies to.
186
- */
187
- applies_to: Array<BillingSchedule.AppliesTo> | null;
188
- /**
189
- * Specifies the end of billing period.
190
- */
191
- bill_until: BillingSchedule.BillUntil;
192
- /**
193
- * Unique identifier for the billing schedule.
194
- */
195
- key: string;
196
- }
197
137
  interface CurrentPhase {
198
138
  /**
199
139
  * The end of this phase of the subscription schedule.
@@ -235,41 +175,12 @@ export declare namespace SubscriptionSchedule {
235
175
  * The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details.
236
176
  */
237
177
  on_behalf_of: string | Account | null;
238
- /**
239
- * Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
240
- */
241
- phase_effective_at?: DefaultSettings.PhaseEffectiveAt;
242
178
  /**
243
179
  * The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices.
244
180
  */
245
181
  transfer_data: DefaultSettings.TransferData | null;
246
182
  }
247
183
  type EndBehavior = 'cancel' | 'none' | 'release' | 'renew' | OtherString;
248
- interface LastPriceMigrationError {
249
- /**
250
- * The time at which the price migration encountered an error.
251
- */
252
- errored_at: number;
253
- /**
254
- * The involved price pairs in each failed transition.
255
- */
256
- failed_transitions: Array<LastPriceMigrationError.FailedTransition>;
257
- /**
258
- * The type of error encountered by the price migration.
259
- */
260
- type: 'price_uniqueness_violation';
261
- }
262
- interface PauseSchedule {
263
- /**
264
- * A unique identifier for this pause schedule.
265
- */
266
- key: string;
267
- pause: PauseSchedule.Pause;
268
- /**
269
- * Details about when and how the subscription resumes.
270
- */
271
- resume: PauseSchedule.Resume | null;
272
- }
273
184
  interface Phase {
274
185
  /**
275
186
  * A list of prices and quantities that will generate invoice items appended to the next invoice for this phase.
@@ -312,10 +223,6 @@ export declare namespace SubscriptionSchedule {
312
223
  * The stackable discounts that will be applied to the subscription on this phase. Subscription item discounts are applied before subscription discounts.
313
224
  */
314
225
  discounts: Array<Phase.Discount>;
315
- /**
316
- * Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
317
- */
318
- effective_at?: Phase.EffectiveAt | null;
319
226
  /**
320
227
  * The end of this phase of the subscription schedule.
321
228
  */
@@ -336,10 +243,6 @@ export declare namespace SubscriptionSchedule {
336
243
  * The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details.
337
244
  */
338
245
  on_behalf_of: string | Account | null;
339
- /**
340
- * If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://docs.stripe.com/billing/subscriptions/pause-payment).
341
- */
342
- pause_collection?: Phase.PauseCollection | null;
343
246
  /**
344
247
  * When transitioning phases, controls how prorations are handled (if any). Possible values are `create_prorations`, `none`, and `always_invoice`.
345
248
  */
@@ -356,36 +259,10 @@ export declare namespace SubscriptionSchedule {
356
259
  * If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
357
260
  */
358
261
  trial?: boolean;
359
- /**
360
- * Specify behavior of the trial when crossing schedule phase boundaries
361
- */
362
- trial_continuation?: Phase.TrialContinuation | null;
363
262
  /**
364
263
  * When the trial ends within the phase.
365
264
  */
366
265
  trial_end: number | null;
367
- /**
368
- * Settings related to any trials on the subscription during this phase.
369
- */
370
- trial_settings?: Phase.TrialSettings | null;
371
- }
372
- interface Prebilling {
373
- /**
374
- * ID of the prebilling invoice.
375
- */
376
- invoice: string | Invoice;
377
- /**
378
- * The end of the last period for which the invoice pre-bills.
379
- */
380
- period_end: number;
381
- /**
382
- * The start of the first period for which the invoice pre-bills.
383
- */
384
- period_start: number;
385
- /**
386
- * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
387
- */
388
- update_behavior?: Prebilling.UpdateBehavior;
389
266
  }
390
267
  type Status = 'active' | 'canceled' | 'completed' | 'not_started' | 'released' | OtherString;
391
268
  namespace BillingMode {
@@ -400,52 +277,6 @@ export declare namespace SubscriptionSchedule {
400
277
  type ProrationDiscounts = 'included' | 'itemized' | OtherString;
401
278
  }
402
279
  }
403
- namespace BillingSchedule {
404
- interface AppliesTo {
405
- /**
406
- * The billing schedule will apply to the subscription item with the given price ID.
407
- */
408
- price: string | Price | null;
409
- /**
410
- * Controls which subscription items the billing schedule applies to.
411
- */
412
- type: 'price';
413
- }
414
- interface BillUntil {
415
- /**
416
- * The timestamp the billing schedule will apply until.
417
- */
418
- computed_timestamp: number;
419
- /**
420
- * Specifies the billing period.
421
- */
422
- duration: BillUntil.Duration | null;
423
- /**
424
- * If specified, the billing schedule will apply until the specified timestamp.
425
- */
426
- timestamp: number | null;
427
- /**
428
- * Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
429
- */
430
- type: BillUntil.Type;
431
- }
432
- namespace BillUntil {
433
- interface Duration {
434
- /**
435
- * Specifies billing duration. Either `day`, `week`, `month` or `year`.
436
- */
437
- interval: Duration.Interval;
438
- /**
439
- * The multiplier applied to the interval.
440
- */
441
- interval_count: number | null;
442
- }
443
- type Type = 'duration' | 'timestamp' | OtherString;
444
- namespace Duration {
445
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
446
- }
447
- }
448
- }
449
280
  namespace DefaultSettings {
450
281
  interface AutomaticTax {
451
282
  /**
@@ -496,7 +327,6 @@ export declare namespace SubscriptionSchedule {
496
327
  footer: string | null;
497
328
  issuer: InvoiceSettings.Issuer;
498
329
  }
499
- type PhaseEffectiveAt = 'billing_period_start' | 'phase_start' | OtherString;
500
330
  interface TransferData {
501
331
  /**
502
332
  * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
@@ -519,7 +349,7 @@ export declare namespace SubscriptionSchedule {
519
349
  type: Liability.Type;
520
350
  }
521
351
  namespace Liability {
522
- type Type = 'account' | 'application' | 'self' | OtherString;
352
+ type Type = 'account' | 'self' | OtherString;
523
353
  }
524
354
  }
525
355
  namespace InvoiceSettings {
@@ -544,141 +374,7 @@ export declare namespace SubscriptionSchedule {
544
374
  type: Issuer.Type;
545
375
  }
546
376
  namespace Issuer {
547
- type Type = 'account' | 'application' | 'self' | OtherString;
548
- }
549
- }
550
- }
551
- namespace LastPriceMigrationError {
552
- interface FailedTransition {
553
- /**
554
- * The original price to be migrated.
555
- */
556
- source_price: string;
557
- /**
558
- * The intended resulting price of the migration.
559
- */
560
- target_price: string;
561
- }
562
- }
563
- namespace PauseSchedule {
564
- interface Pause {
565
- /**
566
- * Time at which the subscription pauses.
567
- */
568
- pause_at: number;
569
- /**
570
- * Settings controlling billing behavior during the pause.
571
- */
572
- settings: Pause.Settings | null;
573
- status: Pause.Status;
574
- }
575
- interface Resume {
576
- /**
577
- * Time at which the subscription resumes.
578
- */
579
- resume_at: number;
580
- settings: Resume.Settings;
581
- status: Resume.Status;
582
- }
583
- namespace Pause {
584
- interface Settings {
585
- bill_for: Settings.BillFor;
586
- /**
587
- * Determines how to handle debits and credits when pausing.
588
- */
589
- invoicing_behavior: Settings.InvoicingBehavior;
590
- /**
591
- * The type of pause settings.
592
- */
593
- type: 'subscription';
594
- }
595
- interface Status {
596
- error?: Status.Error;
597
- /**
598
- * The lifecycle state of the pause operation.
599
- */
600
- type: Status.Type;
601
- }
602
- namespace Settings {
603
- interface BillFor {
604
- outstanding_usage_through: BillFor.OutstandingUsageThrough;
605
- unused_time_from: BillFor.UnusedTimeFrom;
606
- }
607
- type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
608
- namespace BillFor {
609
- interface OutstandingUsageThrough {
610
- /**
611
- * The type of outstanding usage billing behavior.
612
- */
613
- type: OutstandingUsageThrough.Type;
614
- }
615
- interface UnusedTimeFrom {
616
- /**
617
- * The type of unused time credit behavior.
618
- */
619
- type: UnusedTimeFrom.Type;
620
- }
621
- namespace OutstandingUsageThrough {
622
- type Type = 'none' | 'pause_at' | OtherString;
623
- }
624
- namespace UnusedTimeFrom {
625
- type Type = 'item_current_period_start' | 'none' | 'pause_at' | OtherString;
626
- }
627
- }
628
- }
629
- namespace Status {
630
- interface Error {
631
- /**
632
- * A machine-readable error code.
633
- */
634
- code?: string;
635
- /**
636
- * A description of the error.
637
- */
638
- message: string;
639
- }
640
- type Type = 'error' | 'scheduled' | 'succeeded' | OtherString;
641
- }
642
- }
643
- namespace Resume {
644
- interface Settings {
645
- /**
646
- * The billing cycle anchor that applies when the subscription is resumed.
647
- */
648
- billing_cycle_anchor: Settings.BillingCycleAnchor;
649
- /**
650
- * Controls whether Stripe attempts payment on the resumption invoice and how that affects the subscription's status.
651
- */
652
- payment_behavior: Settings.PaymentBehavior;
653
- /**
654
- * Determines how to handle prorations resulting from the billing_cycle_anchor change on resume.
655
- */
656
- proration_behavior: Settings.ProrationBehavior;
657
- }
658
- interface Status {
659
- error?: Status.Error;
660
- /**
661
- * The lifecycle state of the resume operation.
662
- */
663
- type: Status.Type;
664
- }
665
- namespace Settings {
666
- type BillingCycleAnchor = 'resume_at' | 'unchanged' | OtherString;
667
- type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success' | OtherString;
668
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
669
- }
670
- namespace Status {
671
- interface Error {
672
- /**
673
- * A machine-readable error code.
674
- */
675
- code?: string;
676
- /**
677
- * A description of the error.
678
- */
679
- message: string;
680
- }
681
- type Type = 'error' | 'pending' | 'requires_action' | 'scheduled' | 'succeeded' | OtherString;
377
+ type Type = 'account' | 'self' | OtherString;
682
378
  }
683
379
  }
684
380
  }
@@ -745,17 +441,11 @@ export declare namespace SubscriptionSchedule {
745
441
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
746
442
  */
747
443
  discount: string | _Discount | null;
748
- /**
749
- * Details to determine how long the discount should be applied for.
750
- */
751
- discount_end?: Discount.DiscountEnd | null;
752
444
  /**
753
445
  * ID of the promotion code to create a new discount for.
754
446
  */
755
447
  promotion_code: string | PromotionCode | null;
756
- settings?: Discount.Settings;
757
448
  }
758
- type EffectiveAt = 'billing_period_start' | 'phase_start' | OtherString;
759
449
  interface InvoiceSettings {
760
450
  /**
761
451
  * 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.
@@ -811,20 +501,6 @@ export declare namespace SubscriptionSchedule {
811
501
  * The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`.
812
502
  */
813
503
  tax_rates?: Array<TaxRate> | null;
814
- /**
815
- * Options that configure the trial on the subscription item.
816
- */
817
- trial?: Item.Trial | null;
818
- /**
819
- * The ID of the trial offer to apply to the configuration item.
820
- */
821
- trial_offer?: string | null;
822
- }
823
- interface PauseCollection {
824
- /**
825
- * The payment collection behavior for this subscription while paused.
826
- */
827
- behavior: PauseCollection.Behavior;
828
504
  }
829
505
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
830
506
  interface TransferData {
@@ -837,13 +513,6 @@ export declare namespace SubscriptionSchedule {
837
513
  */
838
514
  destination: string | Account;
839
515
  }
840
- type TrialContinuation = 'continue' | 'none' | OtherString;
841
- interface TrialSettings {
842
- /**
843
- * Defines how the subscription should behave when a trial ends.
844
- */
845
- end_behavior: TrialSettings.EndBehavior | null;
846
- }
847
516
  namespace AddInvoiceItem {
848
517
  interface Discount {
849
518
  /**
@@ -854,10 +523,6 @@ export declare namespace SubscriptionSchedule {
854
523
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
855
524
  */
856
525
  discount: string | _Discount | null;
857
- /**
858
- * Details to determine how long the discount should be applied for.
859
- */
860
- discount_end?: Discount.DiscountEnd | null;
861
526
  /**
862
527
  * ID of the promotion code to create a new discount for.
863
528
  */
@@ -867,18 +532,6 @@ export declare namespace SubscriptionSchedule {
867
532
  end: Period.End;
868
533
  start: Period.Start;
869
534
  }
870
- namespace Discount {
871
- interface DiscountEnd {
872
- /**
873
- * The discount end timestamp.
874
- */
875
- timestamp: number | null;
876
- /**
877
- * The discount end type.
878
- */
879
- type: 'timestamp';
880
- }
881
- }
882
535
  namespace Period {
883
536
  interface End {
884
537
  /**
@@ -920,61 +573,7 @@ export declare namespace SubscriptionSchedule {
920
573
  type: Liability.Type;
921
574
  }
922
575
  namespace Liability {
923
- type Type = 'account' | 'application' | 'self' | OtherString;
924
- }
925
- }
926
- namespace Discount {
927
- interface DiscountEnd {
928
- /**
929
- * The discount end timestamp.
930
- */
931
- timestamp: number | null;
932
- /**
933
- * The discount end type.
934
- */
935
- type: 'timestamp';
936
- }
937
- interface Settings {
938
- service_period_anchor_config: Settings.ServicePeriodAnchorConfig;
939
- /**
940
- * The start date of the discount's service period when applying a coupon or promotion code with a service period duration.
941
- */
942
- start_date: Settings.StartDate;
943
- }
944
- namespace Settings {
945
- interface ServicePeriodAnchorConfig {
946
- custom?: ServicePeriodAnchorConfig.Custom;
947
- /**
948
- * The type of service period anchor config.
949
- */
950
- type: ServicePeriodAnchorConfig.Type;
951
- }
952
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
953
- namespace ServicePeriodAnchorConfig {
954
- interface Custom {
955
- /**
956
- * The day of the month the anchor should be. Ranges from 1 to 31.
957
- */
958
- day_of_month: number;
959
- /**
960
- * The hour of the day the anchor should be. Ranges from 0 to 23.
961
- */
962
- hour: number | null;
963
- /**
964
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
965
- */
966
- minute: number | null;
967
- /**
968
- * The month to start full cycle periods. Ranges from 1 to 12.
969
- */
970
- month: number | null;
971
- /**
972
- * The second of the minute the anchor should be. Ranges from 0 to 59.
973
- */
974
- second: number | null;
975
- }
976
- type Type = 'custom' | 'inherit' | OtherString;
977
- }
576
+ type Type = 'account' | 'self' | OtherString;
978
577
  }
979
578
  }
980
579
  namespace InvoiceSettings {
@@ -999,7 +598,7 @@ export declare namespace SubscriptionSchedule {
999
598
  type: Issuer.Type;
1000
599
  }
1001
600
  namespace Issuer {
1002
- type Type = 'account' | 'application' | 'self' | OtherString;
601
+ type Type = 'account' | 'self' | OtherString;
1003
602
  }
1004
603
  }
1005
604
  namespace Item {
@@ -1018,116 +617,19 @@ export declare namespace SubscriptionSchedule {
1018
617
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1019
618
  */
1020
619
  discount: string | _Discount | null;
1021
- /**
1022
- * Details to determine how long the discount should be applied for.
1023
- */
1024
- discount_end?: Discount.DiscountEnd | null;
1025
620
  /**
1026
621
  * ID of the promotion code to create a new discount for.
1027
622
  */
1028
623
  promotion_code: string | PromotionCode | null;
1029
- settings?: Discount.Settings;
1030
- }
1031
- interface Trial {
1032
- /**
1033
- * List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.
1034
- */
1035
- converts_to?: Array<string> | null;
1036
- /**
1037
- * Determines the type of trial for this item.
1038
- */
1039
- type: Trial.Type;
1040
- }
1041
- namespace Discount {
1042
- interface DiscountEnd {
1043
- /**
1044
- * The discount end timestamp.
1045
- */
1046
- timestamp: number | null;
1047
- /**
1048
- * The discount end type.
1049
- */
1050
- type: 'timestamp';
1051
- }
1052
- interface Settings {
1053
- service_period_anchor_config: Settings.ServicePeriodAnchorConfig;
1054
- /**
1055
- * The start date of the discount's service period when applying a coupon or promotion code with a service period duration.
1056
- */
1057
- start_date: Settings.StartDate;
1058
- }
1059
- namespace Settings {
1060
- interface ServicePeriodAnchorConfig {
1061
- custom?: ServicePeriodAnchorConfig.Custom;
1062
- /**
1063
- * The type of service period anchor config.
1064
- */
1065
- type: ServicePeriodAnchorConfig.Type;
1066
- }
1067
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
1068
- namespace ServicePeriodAnchorConfig {
1069
- interface Custom {
1070
- /**
1071
- * The day of the month the anchor should be. Ranges from 1 to 31.
1072
- */
1073
- day_of_month: number;
1074
- /**
1075
- * The hour of the day the anchor should be. Ranges from 0 to 23.
1076
- */
1077
- hour: number | null;
1078
- /**
1079
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
1080
- */
1081
- minute: number | null;
1082
- /**
1083
- * The month to start full cycle periods. Ranges from 1 to 12.
1084
- */
1085
- month: number | null;
1086
- /**
1087
- * The second of the minute the anchor should be. Ranges from 0 to 59.
1088
- */
1089
- second: number | null;
1090
- }
1091
- type Type = 'custom' | 'inherit' | OtherString;
1092
- }
1093
- }
1094
- }
1095
- namespace Trial {
1096
- type Type = 'free' | 'paid' | OtherString;
1097
- }
1098
- }
1099
- namespace PauseCollection {
1100
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
1101
- }
1102
- namespace TrialSettings {
1103
- interface EndBehavior {
1104
- /**
1105
- * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
1106
- */
1107
- prorate_up_front: EndBehavior.ProrateUpFront | null;
1108
- }
1109
- namespace EndBehavior {
1110
- type ProrateUpFront = 'defer' | 'include' | OtherString;
1111
624
  }
1112
625
  }
1113
626
  }
1114
- namespace Prebilling {
1115
- type UpdateBehavior = 'prebill' | 'reset' | OtherString;
1116
- }
1117
627
  }
1118
628
  export interface SubscriptionScheduleCreateParams {
1119
- /**
1120
- * 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.
1121
- */
1122
- billing_behavior?: SubscriptionScheduleCreateParams.BillingBehavior;
1123
629
  /**
1124
630
  * Controls how prorations and invoices for subscriptions are calculated and orchestrated.
1125
631
  */
1126
632
  billing_mode?: SubscriptionScheduleCreateParams.BillingMode;
1127
- /**
1128
- * Sets the billing schedules for the subscription schedule.
1129
- */
1130
- billing_schedules?: Array<SubscriptionScheduleCreateParams.BillingSchedule>;
1131
633
  /**
1132
634
  * The identifier of the customer to create the subscription schedule for.
1133
635
  */
@@ -1156,25 +658,16 @@ export interface SubscriptionScheduleCreateParams {
1156
658
  * 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`.
1157
659
  */
1158
660
  metadata?: Emptyable<MetadataParam>;
1159
- /**
1160
- * Configures the subscription's pause behavior and, optionally, its resume behavior. Only one entry is supported.
1161
- */
1162
- pause_schedules?: Array<SubscriptionScheduleCreateParams.PauseSchedule>;
1163
661
  /**
1164
662
  * 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.
1165
663
  */
1166
664
  phases?: Array<SubscriptionScheduleCreateParams.Phase>;
1167
- /**
1168
- * If specified, the invoicing for the given billing cycle iterations will be processed now.
1169
- */
1170
- prebilling?: SubscriptionScheduleCreateParams.Prebilling;
1171
665
  /**
1172
666
  * When the subscription schedule starts. We recommend using `now` so that it starts the subscription immediately, and to avoid unexpected behavior due to request delays or clock skew resulting in a slightly backdated or postdated start. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on.
1173
667
  */
1174
668
  start_date?: number | 'now';
1175
669
  }
1176
670
  export declare namespace SubscriptionScheduleCreateParams {
1177
- type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front' | OtherString;
1178
671
  interface BillingMode {
1179
672
  /**
1180
673
  * Configure behavior for flexible billing mode.
@@ -1185,20 +678,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1185
678
  */
1186
679
  type: BillingMode.Type;
1187
680
  }
1188
- interface BillingSchedule {
1189
- /**
1190
- * Configure billing schedule differently for individual subscription items.
1191
- */
1192
- applies_to?: Array<BillingSchedule.AppliesTo>;
1193
- /**
1194
- * The end date for the billing schedule.
1195
- */
1196
- bill_until: BillingSchedule.BillUntil;
1197
- /**
1198
- * 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.
1199
- */
1200
- key?: string;
1201
- }
1202
681
  interface DefaultSettings {
1203
682
  /**
1204
683
  * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
@@ -1236,30 +715,12 @@ export declare namespace SubscriptionScheduleCreateParams {
1236
715
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
1237
716
  */
1238
717
  on_behalf_of?: Emptyable<string>;
1239
- /**
1240
- * Configures how the subscription schedule handles billing for phase transitions.
1241
- */
1242
- phase_effective_at?: DefaultSettings.PhaseEffectiveAt;
1243
718
  /**
1244
719
  * The data with which to automatically create a Transfer for each of the associated subscription's invoices.
1245
720
  */
1246
721
  transfer_data?: Emptyable<DefaultSettings.TransferData>;
1247
722
  }
1248
723
  type EndBehavior = 'cancel' | 'none' | 'release' | 'renew' | OtherString;
1249
- interface PauseSchedule {
1250
- /**
1251
- * A unique identifier for this pause schedule entry.
1252
- */
1253
- key?: string;
1254
- /**
1255
- * Configuration for when and how the subscription pauses.
1256
- */
1257
- pause?: PauseSchedule.Pause;
1258
- /**
1259
- * Configuration for when and how the subscription resumes.
1260
- */
1261
- resume?: PauseSchedule.Resume;
1262
- }
1263
724
  interface Phase {
1264
725
  /**
1265
726
  * A list of prices and quantities that will generate invoice items appended to the next invoice for this phase. You may pass up to 20 items.
@@ -1309,10 +770,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1309
770
  * The number of intervals the phase should last. If set, `end_date` must not be set.
1310
771
  */
1311
772
  duration?: Phase.Duration;
1312
- /**
1313
- * Configures how the subscription schedule handles billing for phase transitions.
1314
- */
1315
- effective_at?: Phase.EffectiveAt;
1316
773
  /**
1317
774
  * The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.
1318
775
  */
@@ -1333,10 +790,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1333
790
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
1334
791
  */
1335
792
  on_behalf_of?: string;
1336
- /**
1337
- * 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).
1338
- */
1339
- pause_collection?: Phase.PauseCollection;
1340
793
  /**
1341
794
  * 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.
1342
795
  */
@@ -1349,28 +802,10 @@ export declare namespace SubscriptionScheduleCreateParams {
1349
802
  * If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
1350
803
  */
1351
804
  trial?: boolean;
1352
- /**
1353
- * Specify trial behavior when crossing phase boundaries
1354
- */
1355
- trial_continuation?: Phase.TrialContinuation;
1356
805
  /**
1357
806
  * Sets the phase to trialing from the start date to this date. Must be before the phase end date, can not be combined with `trial`
1358
807
  */
1359
808
  trial_end?: number;
1360
- /**
1361
- * Settings related to subscription trials.
1362
- */
1363
- trial_settings?: Phase.TrialSettings;
1364
- }
1365
- interface Prebilling {
1366
- /**
1367
- * This is used to determine the number of billing cycles to prebill.
1368
- */
1369
- iterations: number;
1370
- /**
1371
- * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
1372
- */
1373
- update_behavior?: Prebilling.UpdateBehavior;
1374
809
  }
1375
810
  namespace BillingMode {
1376
811
  interface Flexible {
@@ -1384,48 +819,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1384
819
  type ProrationDiscounts = 'included' | 'itemized' | OtherString;
1385
820
  }
1386
821
  }
1387
- namespace BillingSchedule {
1388
- interface AppliesTo {
1389
- /**
1390
- * The ID of the price object.
1391
- */
1392
- price?: string;
1393
- /**
1394
- * Controls which subscription items the billing schedule applies to.
1395
- */
1396
- type: 'price';
1397
- }
1398
- interface BillUntil {
1399
- /**
1400
- * Specifies the billing period.
1401
- */
1402
- duration?: BillUntil.Duration;
1403
- /**
1404
- * The end date of the billing schedule.
1405
- */
1406
- timestamp?: number;
1407
- /**
1408
- * Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
1409
- */
1410
- type: BillUntil.Type;
1411
- }
1412
- namespace BillUntil {
1413
- interface Duration {
1414
- /**
1415
- * Specifies billing duration. Either `day`, `week`, `month` or `year`.
1416
- */
1417
- interval: Duration.Interval;
1418
- /**
1419
- * The multiplier applied to the interval.
1420
- */
1421
- interval_count?: number;
1422
- }
1423
- type Type = 'duration' | 'timestamp' | OtherString;
1424
- namespace Duration {
1425
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1426
- }
1427
- }
1428
- }
1429
822
  namespace DefaultSettings {
1430
823
  interface AutomaticTax {
1431
824
  /**
@@ -1466,7 +859,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1466
859
  */
1467
860
  issuer?: InvoiceSettings.Issuer;
1468
861
  }
1469
- type PhaseEffectiveAt = 'billing_period_start' | 'phase_start' | OtherString;
1470
862
  interface TransferData {
1471
863
  /**
1472
864
  * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
@@ -1489,7 +881,7 @@ export declare namespace SubscriptionScheduleCreateParams {
1489
881
  type: Liability.Type;
1490
882
  }
1491
883
  namespace Liability {
1492
- type Type = 'account' | 'application' | 'self' | OtherString;
884
+ type Type = 'account' | 'self' | OtherString;
1493
885
  }
1494
886
  }
1495
887
  namespace InvoiceSettings {
@@ -1514,161 +906,26 @@ export declare namespace SubscriptionScheduleCreateParams {
1514
906
  type: Issuer.Type;
1515
907
  }
1516
908
  namespace Issuer {
1517
- type Type = 'account' | 'application' | 'self' | OtherString;
909
+ type Type = 'account' | 'self' | OtherString;
1518
910
  }
1519
911
  }
1520
912
  }
1521
- namespace PauseSchedule {
1522
- interface Pause {
913
+ namespace Phase {
914
+ interface AddInvoiceItem {
1523
915
  /**
1524
- * When to pause the subscription.
916
+ * Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
1525
917
  */
1526
- pause_at: Pause.PauseAt;
918
+ discountable?: boolean;
1527
919
  /**
1528
- * Settings controlling billing behavior during the pause.
920
+ * The coupons to redeem into discounts for the item.
1529
921
  */
1530
- settings?: Pause.Settings;
1531
- }
1532
- interface Resume {
922
+ discounts?: Array<AddInvoiceItem.Discount>;
1533
923
  /**
1534
- * When to resume the subscription.
924
+ * 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`.
1535
925
  */
1536
- resume_at: Resume.ResumeAt;
926
+ metadata?: MetadataParam;
1537
927
  /**
1538
- * Settings controlling how the subscription resumes.
1539
- */
1540
- settings?: Resume.Settings;
1541
- }
1542
- namespace Pause {
1543
- interface PauseAt {
1544
- /**
1545
- * The Unix timestamp at which to pause the subscription. Required when `type` is `timestamp`.
1546
- */
1547
- timestamp?: number;
1548
- /**
1549
- * When to pause the subscription. Use `now` to pause immediately or `timestamp` to pause at a specific time.
1550
- */
1551
- type: PauseAt.Type;
1552
- }
1553
- interface Settings {
1554
- /**
1555
- * Controls what to bill for when pausing the subscription.
1556
- */
1557
- bill_for?: Settings.BillFor;
1558
- /**
1559
- * Determines whether to generate an invoice for outstanding amounts when pausing.
1560
- */
1561
- invoicing_behavior?: Settings.InvoicingBehavior;
1562
- /**
1563
- * The pause type. Currently only `subscription` is supported.
1564
- */
1565
- type?: 'subscription';
1566
- }
1567
- namespace PauseAt {
1568
- type Type = 'now' | 'timestamp' | OtherString;
1569
- }
1570
- namespace Settings {
1571
- interface BillFor {
1572
- /**
1573
- * Controls whether to collect metered usage accrued up to the pause date.
1574
- */
1575
- outstanding_usage_through?: BillFor.OutstandingUsageThrough;
1576
- /**
1577
- * Controls how unused time on subscription items is credited when pausing.
1578
- */
1579
- unused_time_from?: BillFor.UnusedTimeFrom;
1580
- }
1581
- type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
1582
- namespace BillFor {
1583
- interface OutstandingUsageThrough {
1584
- /**
1585
- * Determines whether to collect metered usage accrued up to the pause date.
1586
- */
1587
- type?: OutstandingUsageThrough.Type;
1588
- }
1589
- interface UnusedTimeFrom {
1590
- /**
1591
- * Determines which point in the billing period unused time is credited from.
1592
- */
1593
- type?: UnusedTimeFrom.Type;
1594
- }
1595
- namespace OutstandingUsageThrough {
1596
- type Type = 'none' | 'pause_at' | OtherString;
1597
- }
1598
- namespace UnusedTimeFrom {
1599
- type Type = 'item_current_period_start' | 'none' | 'pause_at' | OtherString;
1600
- }
1601
- }
1602
- }
1603
- }
1604
- namespace Resume {
1605
- interface ResumeAt {
1606
- /**
1607
- * The duration after which to resume the subscription. Required when `type` is `duration`.
1608
- */
1609
- duration?: ResumeAt.Duration;
1610
- /**
1611
- * The Unix timestamp at which to resume the subscription. Required when `type` is `timestamp`.
1612
- */
1613
- timestamp?: number;
1614
- /**
1615
- * When to resume the subscription. Use `now` to resume immediately, `duration` to resume after a set duration, or `timestamp` to resume at a specific time.
1616
- */
1617
- type: ResumeAt.Type;
1618
- }
1619
- interface Settings {
1620
- /**
1621
- * Controls the billing cycle anchor when the subscription resumes.
1622
- */
1623
- billing_cycle_anchor?: Settings.BillingCycleAnchor;
1624
- /**
1625
- * Controls whether Stripe attempts payment on the resumption invoice and how payment affects the subscription's status. The default is `resume_on_payment_success`.
1626
- */
1627
- payment_behavior?: Settings.PaymentBehavior;
1628
- /**
1629
- * Determines how to handle prorations when the subscription resumes. The default is `create_prorations`.
1630
- */
1631
- proration_behavior?: Settings.ProrationBehavior;
1632
- }
1633
- namespace ResumeAt {
1634
- interface Duration {
1635
- /**
1636
- * The time unit for the resume duration. One of `day`, `week`, `month`, or `year`.
1637
- */
1638
- interval: Duration.Interval;
1639
- /**
1640
- * The number of intervals after which the subscription resumes.
1641
- */
1642
- interval_count?: number;
1643
- }
1644
- type Type = 'duration' | 'now' | 'timestamp' | OtherString;
1645
- namespace Duration {
1646
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1647
- }
1648
- }
1649
- namespace Settings {
1650
- type BillingCycleAnchor = 'resume_at' | 'unchanged' | OtherString;
1651
- type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success' | OtherString;
1652
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
1653
- }
1654
- }
1655
- }
1656
- namespace Phase {
1657
- interface AddInvoiceItem {
1658
- /**
1659
- * Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
1660
- */
1661
- discountable?: boolean;
1662
- /**
1663
- * The coupons to redeem into discounts for the item.
1664
- */
1665
- discounts?: Array<AddInvoiceItem.Discount>;
1666
- /**
1667
- * 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`.
1668
- */
1669
- metadata?: MetadataParam;
1670
- /**
1671
- * The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.
928
+ * The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.
1672
929
  */
1673
930
  period?: AddInvoiceItem.Period;
1674
931
  /**
@@ -1719,18 +976,10 @@ export declare namespace SubscriptionScheduleCreateParams {
1719
976
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1720
977
  */
1721
978
  discount?: string;
1722
- /**
1723
- * Details to determine how long the discount should be applied for.
1724
- */
1725
- discount_end?: Discount.DiscountEnd;
1726
979
  /**
1727
980
  * ID of the promotion code to create a new discount for.
1728
981
  */
1729
982
  promotion_code?: string;
1730
- /**
1731
- * Settings for discount application including service period anchoring.
1732
- */
1733
- settings?: Discount.Settings;
1734
983
  }
1735
984
  interface Duration {
1736
985
  /**
@@ -1742,7 +991,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1742
991
  */
1743
992
  interval_count?: number;
1744
993
  }
1745
- type EffectiveAt = 'billing_period_start' | 'phase_start' | OtherString;
1746
994
  interface InvoiceSettings {
1747
995
  /**
1748
996
  * 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.
@@ -1802,20 +1050,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1802
1050
  * 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.
1803
1051
  */
1804
1052
  tax_rates?: Emptyable<Array<string>>;
1805
- /**
1806
- * Options that configure the trial on the subscription item.
1807
- */
1808
- trial?: Item.Trial;
1809
- /**
1810
- * The ID of the trial offer to apply to the configuration item.
1811
- */
1812
- trial_offer?: string;
1813
- }
1814
- interface PauseCollection {
1815
- /**
1816
- * The payment collection behavior for this subscription while paused.
1817
- */
1818
- behavior: PauseCollection.Behavior;
1819
1053
  }
1820
1054
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
1821
1055
  interface TransferData {
@@ -1828,13 +1062,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1828
1062
  */
1829
1063
  destination: string;
1830
1064
  }
1831
- type TrialContinuation = 'continue' | 'none' | OtherString;
1832
- interface TrialSettings {
1833
- /**
1834
- * Defines how the subscription should behave when a trial ends.
1835
- */
1836
- end_behavior?: TrialSettings.EndBehavior;
1837
- }
1838
1065
  namespace AddInvoiceItem {
1839
1066
  interface Discount {
1840
1067
  /**
@@ -1845,10 +1072,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1845
1072
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1846
1073
  */
1847
1074
  discount?: string;
1848
- /**
1849
- * Details to determine how long the discount should be applied for.
1850
- */
1851
- discount_end?: Discount.DiscountEnd;
1852
1075
  /**
1853
1076
  * ID of the promotion code to create a new discount for.
1854
1077
  */
@@ -1886,38 +1109,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1886
1109
  */
1887
1110
  unit_amount_decimal?: Decimal;
1888
1111
  }
1889
- namespace Discount {
1890
- interface DiscountEnd {
1891
- /**
1892
- * Time span for the redeemed discount.
1893
- */
1894
- duration?: DiscountEnd.Duration;
1895
- /**
1896
- * A precise Unix timestamp for the discount to end. Must be in the future.
1897
- */
1898
- timestamp?: number;
1899
- /**
1900
- * The type of calculation made to determine when the discount ends.
1901
- */
1902
- type: DiscountEnd.Type;
1903
- }
1904
- namespace DiscountEnd {
1905
- interface Duration {
1906
- /**
1907
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1908
- */
1909
- interval: Duration.Interval;
1910
- /**
1911
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1912
- */
1913
- interval_count: number;
1914
- }
1915
- type Type = 'duration' | 'timestamp' | OtherString;
1916
- namespace Duration {
1917
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1918
- }
1919
- }
1920
- }
1921
1112
  namespace Period {
1922
1113
  interface End {
1923
1114
  /**
@@ -1962,87 +1153,7 @@ export declare namespace SubscriptionScheduleCreateParams {
1962
1153
  type: Liability.Type;
1963
1154
  }
1964
1155
  namespace Liability {
1965
- type Type = 'account' | 'application' | 'self' | OtherString;
1966
- }
1967
- }
1968
- namespace Discount {
1969
- interface DiscountEnd {
1970
- /**
1971
- * Time span for the redeemed discount.
1972
- */
1973
- duration?: DiscountEnd.Duration;
1974
- /**
1975
- * A precise Unix timestamp for the discount to end. Must be in the future.
1976
- */
1977
- timestamp?: number;
1978
- /**
1979
- * The type of calculation made to determine when the discount ends.
1980
- */
1981
- type: DiscountEnd.Type;
1982
- }
1983
- interface Settings {
1984
- /**
1985
- * Configures service period cycle anchoring.
1986
- */
1987
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
1988
- /**
1989
- * 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.
1990
- */
1991
- start_date?: Settings.StartDate;
1992
- }
1993
- namespace DiscountEnd {
1994
- interface Duration {
1995
- /**
1996
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1997
- */
1998
- interval: Duration.Interval;
1999
- /**
2000
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2001
- */
2002
- interval_count: number;
2003
- }
2004
- type Type = 'duration' | 'timestamp' | OtherString;
2005
- namespace Duration {
2006
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2007
- }
2008
- }
2009
- namespace Settings {
2010
- interface ServicePeriodAnchorConfig {
2011
- /**
2012
- * Anchor the service period to a custom date. Type must be `custom` to specify.
2013
- */
2014
- custom?: ServicePeriodAnchorConfig.Custom;
2015
- /**
2016
- * The type of service period anchor config. Defaults to `inherit` if omitted.
2017
- */
2018
- type?: ServicePeriodAnchorConfig.Type;
2019
- }
2020
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
2021
- namespace ServicePeriodAnchorConfig {
2022
- interface Custom {
2023
- /**
2024
- * The day of the month the anchor should be. Ranges from 1 to 31.
2025
- */
2026
- day_of_month: number;
2027
- /**
2028
- * The hour of the day the anchor should be. Ranges from 0 to 23.
2029
- */
2030
- hour?: number;
2031
- /**
2032
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
2033
- */
2034
- minute?: number;
2035
- /**
2036
- * The month to start full cycle periods. Ranges from 1 to 12.
2037
- */
2038
- month?: number;
2039
- /**
2040
- * The second of the minute the anchor should be. Ranges from 0 to 59.
2041
- */
2042
- second?: number;
2043
- }
2044
- type Type = 'custom' | 'inherit' | OtherString;
2045
- }
1156
+ type Type = 'account' | 'self' | OtherString;
2046
1157
  }
2047
1158
  }
2048
1159
  namespace Duration {
@@ -2070,7 +1181,7 @@ export declare namespace SubscriptionScheduleCreateParams {
2070
1181
  type: Issuer.Type;
2071
1182
  }
2072
1183
  namespace Issuer {
2073
- type Type = 'account' | 'application' | 'self' | OtherString;
1184
+ type Type = 'account' | 'self' | OtherString;
2074
1185
  }
2075
1186
  }
2076
1187
  namespace Item {
@@ -2089,18 +1200,10 @@ export declare namespace SubscriptionScheduleCreateParams {
2089
1200
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2090
1201
  */
2091
1202
  discount?: string;
2092
- /**
2093
- * Details to determine how long the discount should be applied for.
2094
- */
2095
- discount_end?: Discount.DiscountEnd;
2096
1203
  /**
2097
1204
  * ID of the promotion code to create a new discount for.
2098
1205
  */
2099
1206
  promotion_code?: string;
2100
- /**
2101
- * Settings for discount application including service period anchoring.
2102
- */
2103
- settings?: Discount.Settings;
2104
1207
  }
2105
1208
  interface PriceData {
2106
1209
  /**
@@ -2128,96 +1231,6 @@ export declare namespace SubscriptionScheduleCreateParams {
2128
1231
  */
2129
1232
  unit_amount_decimal?: Decimal;
2130
1233
  }
2131
- interface Trial {
2132
- /**
2133
- * 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.
2134
- */
2135
- converts_to?: Array<string>;
2136
- /**
2137
- * Determines the type of trial for this item.
2138
- */
2139
- type: Trial.Type;
2140
- }
2141
- namespace Discount {
2142
- interface DiscountEnd {
2143
- /**
2144
- * Time span for the redeemed discount.
2145
- */
2146
- duration?: DiscountEnd.Duration;
2147
- /**
2148
- * A precise Unix timestamp for the discount to end. Must be in the future.
2149
- */
2150
- timestamp?: number;
2151
- /**
2152
- * The type of calculation made to determine when the discount ends.
2153
- */
2154
- type: DiscountEnd.Type;
2155
- }
2156
- interface Settings {
2157
- /**
2158
- * Configures service period cycle anchoring.
2159
- */
2160
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
2161
- /**
2162
- * 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.
2163
- */
2164
- start_date?: Settings.StartDate;
2165
- }
2166
- namespace DiscountEnd {
2167
- interface Duration {
2168
- /**
2169
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2170
- */
2171
- interval: Duration.Interval;
2172
- /**
2173
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2174
- */
2175
- interval_count: number;
2176
- }
2177
- type Type = 'duration' | 'timestamp' | OtherString;
2178
- namespace Duration {
2179
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2180
- }
2181
- }
2182
- namespace Settings {
2183
- interface ServicePeriodAnchorConfig {
2184
- /**
2185
- * Anchor the service period to a custom date. Type must be `custom` to specify.
2186
- */
2187
- custom?: ServicePeriodAnchorConfig.Custom;
2188
- /**
2189
- * The type of service period anchor config. Defaults to `inherit` if omitted.
2190
- */
2191
- type?: ServicePeriodAnchorConfig.Type;
2192
- }
2193
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
2194
- namespace ServicePeriodAnchorConfig {
2195
- interface Custom {
2196
- /**
2197
- * The day of the month the anchor should be. Ranges from 1 to 31.
2198
- */
2199
- day_of_month: number;
2200
- /**
2201
- * The hour of the day the anchor should be. Ranges from 0 to 23.
2202
- */
2203
- hour?: number;
2204
- /**
2205
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
2206
- */
2207
- minute?: number;
2208
- /**
2209
- * The month to start full cycle periods. Ranges from 1 to 12.
2210
- */
2211
- month?: number;
2212
- /**
2213
- * The second of the minute the anchor should be. Ranges from 0 to 59.
2214
- */
2215
- second?: number;
2216
- }
2217
- type Type = 'custom' | 'inherit' | OtherString;
2218
- }
2219
- }
2220
- }
2221
1234
  namespace PriceData {
2222
1235
  interface Recurring {
2223
1236
  /**
@@ -2234,28 +1247,8 @@ export declare namespace SubscriptionScheduleCreateParams {
2234
1247
  type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2235
1248
  }
2236
1249
  }
2237
- namespace Trial {
2238
- type Type = 'free' | 'paid' | OtherString;
2239
- }
2240
- }
2241
- namespace PauseCollection {
2242
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
2243
- }
2244
- namespace TrialSettings {
2245
- interface EndBehavior {
2246
- /**
2247
- * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
2248
- */
2249
- prorate_up_front?: EndBehavior.ProrateUpFront;
2250
- }
2251
- namespace EndBehavior {
2252
- type ProrateUpFront = 'defer' | 'include' | OtherString;
2253
- }
2254
1250
  }
2255
1251
  }
2256
- namespace Prebilling {
2257
- type UpdateBehavior = 'prebill' | 'reset' | OtherString;
2258
- }
2259
1252
  }
2260
1253
  export interface SubscriptionScheduleRetrieveParams {
2261
1254
  /**
@@ -2264,14 +1257,6 @@ export interface SubscriptionScheduleRetrieveParams {
2264
1257
  expand?: Array<string>;
2265
1258
  }
2266
1259
  export interface SubscriptionScheduleUpdateParams {
2267
- /**
2268
- * 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.
2269
- */
2270
- billing_behavior?: SubscriptionScheduleUpdateParams.BillingBehavior;
2271
- /**
2272
- * Sets the billing schedules for the subscription schedule.
2273
- */
2274
- billing_schedules?: Emptyable<Array<SubscriptionScheduleUpdateParams.BillingSchedule>>;
2275
1260
  /**
2276
1261
  * Object representing the subscription schedule's default settings.
2277
1262
  */
@@ -2288,39 +1273,16 @@ export interface SubscriptionScheduleUpdateParams {
2288
1273
  * 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`.
2289
1274
  */
2290
1275
  metadata?: Emptyable<MetadataParam>;
2291
- /**
2292
- * Configures the subscription's pause behavior and, optionally, its resume behavior. Only one entry is supported. Include a key to update an existing entry. Omit to leave an existing pause schedule unchanged, or pass "" to clear it.
2293
- */
2294
- pause_schedules?: Emptyable<Array<SubscriptionScheduleUpdateParams.PauseSchedule>>;
2295
1276
  /**
2296
1277
  * List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase. Note that past phases can be omitted.
2297
1278
  */
2298
1279
  phases?: Array<SubscriptionScheduleUpdateParams.Phase>;
2299
- /**
2300
- * If specified, the invoicing for the given billing cycle iterations will be processed now.
2301
- */
2302
- prebilling?: SubscriptionScheduleUpdateParams.Prebilling;
2303
1280
  /**
2304
1281
  * If the update changes the billing configuration (item price, quantity, etc.) of the current phase, indicates how prorations from this change should be handled. The default value is `create_prorations`.
2305
1282
  */
2306
1283
  proration_behavior?: SubscriptionScheduleUpdateParams.ProrationBehavior;
2307
1284
  }
2308
1285
  export declare namespace SubscriptionScheduleUpdateParams {
2309
- type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front' | OtherString;
2310
- interface BillingSchedule {
2311
- /**
2312
- * Configure billing schedule differently for individual subscription items.
2313
- */
2314
- applies_to?: Array<BillingSchedule.AppliesTo>;
2315
- /**
2316
- * The end date for the billing schedule.
2317
- */
2318
- bill_until?: BillingSchedule.BillUntil;
2319
- /**
2320
- * 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.
2321
- */
2322
- key?: string;
2323
- }
2324
1286
  interface DefaultSettings {
2325
1287
  /**
2326
1288
  * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
@@ -2358,30 +1320,12 @@ export declare namespace SubscriptionScheduleUpdateParams {
2358
1320
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
2359
1321
  */
2360
1322
  on_behalf_of?: Emptyable<string>;
2361
- /**
2362
- * Configures how the subscription schedule handles billing for phase transitions.
2363
- */
2364
- phase_effective_at?: DefaultSettings.PhaseEffectiveAt;
2365
1323
  /**
2366
1324
  * The data with which to automatically create a Transfer for each of the associated subscription's invoices.
2367
1325
  */
2368
1326
  transfer_data?: Emptyable<DefaultSettings.TransferData>;
2369
1327
  }
2370
1328
  type EndBehavior = 'cancel' | 'none' | 'release' | 'renew' | OtherString;
2371
- interface PauseSchedule {
2372
- /**
2373
- * A unique identifier for this pause schedule entry.
2374
- */
2375
- key?: string;
2376
- /**
2377
- * Configuration for when and how the subscription pauses.
2378
- */
2379
- pause?: PauseSchedule.Pause;
2380
- /**
2381
- * Configuration for when and how the subscription resumes.
2382
- */
2383
- resume?: Emptyable<PauseSchedule.Resume>;
2384
- }
2385
1329
  interface Phase {
2386
1330
  /**
2387
1331
  * A list of prices and quantities that will generate invoice items appended to the next invoice for this phase. You may pass up to 20 items.
@@ -2431,10 +1375,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2431
1375
  * The number of intervals the phase should last. If set, `end_date` must not be set.
2432
1376
  */
2433
1377
  duration?: Phase.Duration;
2434
- /**
2435
- * Configures how the subscription schedule handles billing for phase transitions.
2436
- */
2437
- effective_at?: Phase.EffectiveAt;
2438
1378
  /**
2439
1379
  * The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.
2440
1380
  */
@@ -2455,10 +1395,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2455
1395
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
2456
1396
  */
2457
1397
  on_behalf_of?: string;
2458
- /**
2459
- * 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).
2460
- */
2461
- pause_collection?: Phase.PauseCollection;
2462
1398
  /**
2463
1399
  * 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.
2464
1400
  */
@@ -2475,72 +1411,12 @@ export declare namespace SubscriptionScheduleUpdateParams {
2475
1411
  * If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
2476
1412
  */
2477
1413
  trial?: boolean;
2478
- /**
2479
- * Specify trial behavior when crossing phase boundaries
2480
- */
2481
- trial_continuation?: Phase.TrialContinuation;
2482
1414
  /**
2483
1415
  * Sets the phase to trialing from the start date to this date. Must be within the phase. When combined with `trial=true`, it must match the phase end date.
2484
1416
  */
2485
1417
  trial_end?: number | 'now';
2486
- /**
2487
- * Settings related to subscription trials.
2488
- */
2489
- trial_settings?: Phase.TrialSettings;
2490
- }
2491
- interface Prebilling {
2492
- /**
2493
- * This is used to determine the number of billing cycles to prebill.
2494
- */
2495
- iterations: number;
2496
- /**
2497
- * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
2498
- */
2499
- update_behavior?: Prebilling.UpdateBehavior;
2500
1418
  }
2501
1419
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
2502
- namespace BillingSchedule {
2503
- interface AppliesTo {
2504
- /**
2505
- * The ID of the price object.
2506
- */
2507
- price?: string;
2508
- /**
2509
- * Controls which subscription items the billing schedule applies to.
2510
- */
2511
- type: 'price';
2512
- }
2513
- interface BillUntil {
2514
- /**
2515
- * Specifies the billing period.
2516
- */
2517
- duration?: BillUntil.Duration;
2518
- /**
2519
- * The end date of the billing schedule.
2520
- */
2521
- timestamp?: number;
2522
- /**
2523
- * Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
2524
- */
2525
- type: BillUntil.Type;
2526
- }
2527
- namespace BillUntil {
2528
- interface Duration {
2529
- /**
2530
- * Specifies billing duration. Either `day`, `week`, `month` or `year`.
2531
- */
2532
- interval: Duration.Interval;
2533
- /**
2534
- * The multiplier applied to the interval.
2535
- */
2536
- interval_count?: number;
2537
- }
2538
- type Type = 'duration' | 'timestamp' | OtherString;
2539
- namespace Duration {
2540
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2541
- }
2542
- }
2543
- }
2544
1420
  namespace DefaultSettings {
2545
1421
  interface AutomaticTax {
2546
1422
  /**
@@ -2581,7 +1457,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2581
1457
  */
2582
1458
  issuer?: InvoiceSettings.Issuer;
2583
1459
  }
2584
- type PhaseEffectiveAt = 'billing_period_start' | 'phase_start' | OtherString;
2585
1460
  interface TransferData {
2586
1461
  /**
2587
1462
  * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
@@ -2604,7 +1479,7 @@ export declare namespace SubscriptionScheduleUpdateParams {
2604
1479
  type: Liability.Type;
2605
1480
  }
2606
1481
  namespace Liability {
2607
- type Type = 'account' | 'application' | 'self' | OtherString;
1482
+ type Type = 'account' | 'self' | OtherString;
2608
1483
  }
2609
1484
  }
2610
1485
  namespace InvoiceSettings {
@@ -2629,189 +1504,54 @@ export declare namespace SubscriptionScheduleUpdateParams {
2629
1504
  type: Issuer.Type;
2630
1505
  }
2631
1506
  namespace Issuer {
2632
- type Type = 'account' | 'application' | 'self' | OtherString;
1507
+ type Type = 'account' | 'self' | OtherString;
2633
1508
  }
2634
1509
  }
2635
1510
  }
2636
- namespace PauseSchedule {
2637
- interface Pause {
1511
+ namespace Phase {
1512
+ interface AddInvoiceItem {
1513
+ /**
1514
+ * Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
1515
+ */
1516
+ discountable?: boolean;
1517
+ /**
1518
+ * The coupons to redeem into discounts for the item.
1519
+ */
1520
+ discounts?: Array<AddInvoiceItem.Discount>;
1521
+ /**
1522
+ * 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`.
1523
+ */
1524
+ metadata?: MetadataParam;
2638
1525
  /**
2639
- * When to pause the subscription.
1526
+ * The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.
1527
+ */
1528
+ period?: AddInvoiceItem.Period;
1529
+ /**
1530
+ * The ID of the price object. One of `price` or `price_data` is required.
1531
+ */
1532
+ price?: string;
1533
+ /**
1534
+ * Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.
1535
+ */
1536
+ price_data?: AddInvoiceItem.PriceData;
1537
+ /**
1538
+ * Quantity for this item. Defaults to 1.
2640
1539
  */
2641
- pause_at?: Pause.PauseAt;
1540
+ quantity?: number;
2642
1541
  /**
2643
- * Settings controlling billing behavior during the pause.
1542
+ * The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
2644
1543
  */
2645
- settings?: Pause.Settings;
1544
+ tax_rates?: Emptyable<Array<string>>;
2646
1545
  }
2647
- interface Resume {
1546
+ interface AutomaticTax {
2648
1547
  /**
2649
- * When to resume the subscription.
1548
+ * Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.
2650
1549
  */
2651
- resume_at?: Resume.ResumeAt;
1550
+ enabled: boolean;
2652
1551
  /**
2653
- * Settings controlling how the subscription resumes.
1552
+ * The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
2654
1553
  */
2655
- settings?: Resume.Settings;
2656
- }
2657
- namespace Pause {
2658
- interface PauseAt {
2659
- /**
2660
- * The Unix timestamp at which to pause the subscription. Required when `type` is `timestamp`.
2661
- */
2662
- timestamp?: number;
2663
- /**
2664
- * When to pause the subscription. Use `now` to pause immediately or `timestamp` to pause at a specific time.
2665
- */
2666
- type: PauseAt.Type;
2667
- }
2668
- interface Settings {
2669
- /**
2670
- * Controls what to bill for when pausing the subscription.
2671
- */
2672
- bill_for?: Settings.BillFor;
2673
- /**
2674
- * Determines whether to generate an invoice for outstanding amounts when pausing.
2675
- */
2676
- invoicing_behavior?: Settings.InvoicingBehavior;
2677
- /**
2678
- * The pause type. Currently only `subscription` is supported.
2679
- */
2680
- type?: 'subscription';
2681
- }
2682
- namespace PauseAt {
2683
- type Type = 'now' | 'timestamp' | OtherString;
2684
- }
2685
- namespace Settings {
2686
- interface BillFor {
2687
- /**
2688
- * Controls whether to collect metered usage accrued up to the pause date.
2689
- */
2690
- outstanding_usage_through?: BillFor.OutstandingUsageThrough;
2691
- /**
2692
- * Controls how unused time on subscription items is credited when pausing.
2693
- */
2694
- unused_time_from?: BillFor.UnusedTimeFrom;
2695
- }
2696
- type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
2697
- namespace BillFor {
2698
- interface OutstandingUsageThrough {
2699
- /**
2700
- * Determines whether to collect metered usage accrued up to the pause date.
2701
- */
2702
- type?: OutstandingUsageThrough.Type;
2703
- }
2704
- interface UnusedTimeFrom {
2705
- /**
2706
- * Determines which point in the billing period unused time is credited from.
2707
- */
2708
- type?: UnusedTimeFrom.Type;
2709
- }
2710
- namespace OutstandingUsageThrough {
2711
- type Type = 'none' | 'pause_at' | OtherString;
2712
- }
2713
- namespace UnusedTimeFrom {
2714
- type Type = 'item_current_period_start' | 'none' | 'pause_at' | OtherString;
2715
- }
2716
- }
2717
- }
2718
- }
2719
- namespace Resume {
2720
- interface ResumeAt {
2721
- /**
2722
- * The duration after which to resume the subscription. Required when `type` is `duration`.
2723
- */
2724
- duration?: ResumeAt.Duration;
2725
- /**
2726
- * The Unix timestamp at which to resume the subscription. Required when `type` is `timestamp`.
2727
- */
2728
- timestamp?: number;
2729
- /**
2730
- * When to resume the subscription. Use `now` to resume immediately, `duration` to resume after a set duration, or `timestamp` to resume at a specific time.
2731
- */
2732
- type: ResumeAt.Type;
2733
- }
2734
- interface Settings {
2735
- /**
2736
- * Controls the billing cycle anchor when the subscription resumes.
2737
- */
2738
- billing_cycle_anchor?: Settings.BillingCycleAnchor;
2739
- /**
2740
- * Controls whether Stripe attempts payment on the resumption invoice and how payment affects the subscription's status. The default is `resume_on_payment_success`.
2741
- */
2742
- payment_behavior?: Settings.PaymentBehavior;
2743
- /**
2744
- * Determines how to handle prorations when the subscription resumes. The default is `create_prorations`.
2745
- */
2746
- proration_behavior?: Settings.ProrationBehavior;
2747
- }
2748
- namespace ResumeAt {
2749
- interface Duration {
2750
- /**
2751
- * The time unit for the resume duration. One of `day`, `week`, `month`, or `year`.
2752
- */
2753
- interval: Duration.Interval;
2754
- /**
2755
- * The number of intervals after which the subscription resumes.
2756
- */
2757
- interval_count?: number;
2758
- }
2759
- type Type = 'duration' | 'now' | 'timestamp' | OtherString;
2760
- namespace Duration {
2761
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2762
- }
2763
- }
2764
- namespace Settings {
2765
- type BillingCycleAnchor = 'resume_at' | 'unchanged' | OtherString;
2766
- type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success' | OtherString;
2767
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
2768
- }
2769
- }
2770
- }
2771
- namespace Phase {
2772
- interface AddInvoiceItem {
2773
- /**
2774
- * Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
2775
- */
2776
- discountable?: boolean;
2777
- /**
2778
- * The coupons to redeem into discounts for the item.
2779
- */
2780
- discounts?: Array<AddInvoiceItem.Discount>;
2781
- /**
2782
- * 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`.
2783
- */
2784
- metadata?: MetadataParam;
2785
- /**
2786
- * The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.
2787
- */
2788
- period?: AddInvoiceItem.Period;
2789
- /**
2790
- * The ID of the price object. One of `price` or `price_data` is required.
2791
- */
2792
- price?: string;
2793
- /**
2794
- * Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.
2795
- */
2796
- price_data?: AddInvoiceItem.PriceData;
2797
- /**
2798
- * Quantity for this item. Defaults to 1.
2799
- */
2800
- quantity?: number;
2801
- /**
2802
- * The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
2803
- */
2804
- tax_rates?: Emptyable<Array<string>>;
2805
- }
2806
- interface AutomaticTax {
2807
- /**
2808
- * Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.
2809
- */
2810
- enabled: boolean;
2811
- /**
2812
- * The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
2813
- */
2814
- liability?: AutomaticTax.Liability;
1554
+ liability?: AutomaticTax.Liability;
2815
1555
  }
2816
1556
  type BillingCycleAnchor = 'automatic' | 'phase_start' | OtherString;
2817
1557
  interface BillingThresholds {
@@ -2834,18 +1574,10 @@ export declare namespace SubscriptionScheduleUpdateParams {
2834
1574
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2835
1575
  */
2836
1576
  discount?: string;
2837
- /**
2838
- * Details to determine how long the discount should be applied for.
2839
- */
2840
- discount_end?: Discount.DiscountEnd;
2841
1577
  /**
2842
1578
  * ID of the promotion code to create a new discount for.
2843
1579
  */
2844
1580
  promotion_code?: string;
2845
- /**
2846
- * Settings for discount application including service period anchoring.
2847
- */
2848
- settings?: Discount.Settings;
2849
1581
  }
2850
1582
  interface Duration {
2851
1583
  /**
@@ -2857,7 +1589,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2857
1589
  */
2858
1590
  interval_count?: number;
2859
1591
  }
2860
- type EffectiveAt = 'billing_period_start' | 'phase_start' | OtherString;
2861
1592
  interface InvoiceSettings {
2862
1593
  /**
2863
1594
  * 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.
@@ -2917,20 +1648,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2917
1648
  * 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.
2918
1649
  */
2919
1650
  tax_rates?: Emptyable<Array<string>>;
2920
- /**
2921
- * Options that configure the trial on the subscription item.
2922
- */
2923
- trial?: Item.Trial;
2924
- /**
2925
- * The ID of the trial offer to apply to the configuration item.
2926
- */
2927
- trial_offer?: string;
2928
- }
2929
- interface PauseCollection {
2930
- /**
2931
- * The payment collection behavior for this subscription while paused.
2932
- */
2933
- behavior: PauseCollection.Behavior;
2934
1651
  }
2935
1652
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
2936
1653
  interface TransferData {
@@ -2943,13 +1660,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2943
1660
  */
2944
1661
  destination: string;
2945
1662
  }
2946
- type TrialContinuation = 'continue' | 'none' | OtherString;
2947
- interface TrialSettings {
2948
- /**
2949
- * Defines how the subscription should behave when a trial ends.
2950
- */
2951
- end_behavior?: TrialSettings.EndBehavior;
2952
- }
2953
1663
  namespace AddInvoiceItem {
2954
1664
  interface Discount {
2955
1665
  /**
@@ -2960,10 +1670,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2960
1670
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2961
1671
  */
2962
1672
  discount?: string;
2963
- /**
2964
- * Details to determine how long the discount should be applied for.
2965
- */
2966
- discount_end?: Discount.DiscountEnd;
2967
1673
  /**
2968
1674
  * ID of the promotion code to create a new discount for.
2969
1675
  */
@@ -3001,38 +1707,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
3001
1707
  */
3002
1708
  unit_amount_decimal?: Decimal;
3003
1709
  }
3004
- namespace Discount {
3005
- interface DiscountEnd {
3006
- /**
3007
- * Time span for the redeemed discount.
3008
- */
3009
- duration?: DiscountEnd.Duration;
3010
- /**
3011
- * A precise Unix timestamp for the discount to end. Must be in the future.
3012
- */
3013
- timestamp?: number;
3014
- /**
3015
- * The type of calculation made to determine when the discount ends.
3016
- */
3017
- type: DiscountEnd.Type;
3018
- }
3019
- namespace DiscountEnd {
3020
- interface Duration {
3021
- /**
3022
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3023
- */
3024
- interval: Duration.Interval;
3025
- /**
3026
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3027
- */
3028
- interval_count: number;
3029
- }
3030
- type Type = 'duration' | 'timestamp' | OtherString;
3031
- namespace Duration {
3032
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3033
- }
3034
- }
3035
- }
3036
1710
  namespace Period {
3037
1711
  interface End {
3038
1712
  /**
@@ -3077,87 +1751,7 @@ export declare namespace SubscriptionScheduleUpdateParams {
3077
1751
  type: Liability.Type;
3078
1752
  }
3079
1753
  namespace Liability {
3080
- type Type = 'account' | 'application' | 'self' | OtherString;
3081
- }
3082
- }
3083
- namespace Discount {
3084
- interface DiscountEnd {
3085
- /**
3086
- * Time span for the redeemed discount.
3087
- */
3088
- duration?: DiscountEnd.Duration;
3089
- /**
3090
- * A precise Unix timestamp for the discount to end. Must be in the future.
3091
- */
3092
- timestamp?: number;
3093
- /**
3094
- * The type of calculation made to determine when the discount ends.
3095
- */
3096
- type: DiscountEnd.Type;
3097
- }
3098
- interface Settings {
3099
- /**
3100
- * Configures service period cycle anchoring.
3101
- */
3102
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3103
- /**
3104
- * 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.
3105
- */
3106
- start_date?: Settings.StartDate;
3107
- }
3108
- namespace DiscountEnd {
3109
- interface Duration {
3110
- /**
3111
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3112
- */
3113
- interval: Duration.Interval;
3114
- /**
3115
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3116
- */
3117
- interval_count: number;
3118
- }
3119
- type Type = 'duration' | 'timestamp' | OtherString;
3120
- namespace Duration {
3121
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3122
- }
3123
- }
3124
- namespace Settings {
3125
- interface ServicePeriodAnchorConfig {
3126
- /**
3127
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3128
- */
3129
- custom?: ServicePeriodAnchorConfig.Custom;
3130
- /**
3131
- * The type of service period anchor config. Defaults to `inherit` if omitted.
3132
- */
3133
- type?: ServicePeriodAnchorConfig.Type;
3134
- }
3135
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
3136
- namespace ServicePeriodAnchorConfig {
3137
- interface Custom {
3138
- /**
3139
- * The day of the month the anchor should be. Ranges from 1 to 31.
3140
- */
3141
- day_of_month: number;
3142
- /**
3143
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3144
- */
3145
- hour?: number;
3146
- /**
3147
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3148
- */
3149
- minute?: number;
3150
- /**
3151
- * The month to start full cycle periods. Ranges from 1 to 12.
3152
- */
3153
- month?: number;
3154
- /**
3155
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3156
- */
3157
- second?: number;
3158
- }
3159
- type Type = 'custom' | 'inherit' | OtherString;
3160
- }
1754
+ type Type = 'account' | 'self' | OtherString;
3161
1755
  }
3162
1756
  }
3163
1757
  namespace Duration {
@@ -3185,7 +1779,7 @@ export declare namespace SubscriptionScheduleUpdateParams {
3185
1779
  type: Issuer.Type;
3186
1780
  }
3187
1781
  namespace Issuer {
3188
- type Type = 'account' | 'application' | 'self' | OtherString;
1782
+ type Type = 'account' | 'self' | OtherString;
3189
1783
  }
3190
1784
  }
3191
1785
  namespace Item {
@@ -3204,18 +1798,10 @@ export declare namespace SubscriptionScheduleUpdateParams {
3204
1798
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
3205
1799
  */
3206
1800
  discount?: string;
3207
- /**
3208
- * Details to determine how long the discount should be applied for.
3209
- */
3210
- discount_end?: Discount.DiscountEnd;
3211
1801
  /**
3212
1802
  * ID of the promotion code to create a new discount for.
3213
1803
  */
3214
1804
  promotion_code?: string;
3215
- /**
3216
- * Settings for discount application including service period anchoring.
3217
- */
3218
- settings?: Discount.Settings;
3219
1805
  }
3220
1806
  interface PriceData {
3221
1807
  /**
@@ -3243,96 +1829,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
3243
1829
  */
3244
1830
  unit_amount_decimal?: Decimal;
3245
1831
  }
3246
- interface Trial {
3247
- /**
3248
- * 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.
3249
- */
3250
- converts_to?: Array<string>;
3251
- /**
3252
- * Determines the type of trial for this item.
3253
- */
3254
- type: Trial.Type;
3255
- }
3256
- namespace Discount {
3257
- interface DiscountEnd {
3258
- /**
3259
- * Time span for the redeemed discount.
3260
- */
3261
- duration?: DiscountEnd.Duration;
3262
- /**
3263
- * A precise Unix timestamp for the discount to end. Must be in the future.
3264
- */
3265
- timestamp?: number;
3266
- /**
3267
- * The type of calculation made to determine when the discount ends.
3268
- */
3269
- type: DiscountEnd.Type;
3270
- }
3271
- interface Settings {
3272
- /**
3273
- * Configures service period cycle anchoring.
3274
- */
3275
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3276
- /**
3277
- * 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.
3278
- */
3279
- start_date?: Settings.StartDate;
3280
- }
3281
- namespace DiscountEnd {
3282
- interface Duration {
3283
- /**
3284
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3285
- */
3286
- interval: Duration.Interval;
3287
- /**
3288
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3289
- */
3290
- interval_count: number;
3291
- }
3292
- type Type = 'duration' | 'timestamp' | OtherString;
3293
- namespace Duration {
3294
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3295
- }
3296
- }
3297
- namespace Settings {
3298
- interface ServicePeriodAnchorConfig {
3299
- /**
3300
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3301
- */
3302
- custom?: ServicePeriodAnchorConfig.Custom;
3303
- /**
3304
- * The type of service period anchor config. Defaults to `inherit` if omitted.
3305
- */
3306
- type?: ServicePeriodAnchorConfig.Type;
3307
- }
3308
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
3309
- namespace ServicePeriodAnchorConfig {
3310
- interface Custom {
3311
- /**
3312
- * The day of the month the anchor should be. Ranges from 1 to 31.
3313
- */
3314
- day_of_month: number;
3315
- /**
3316
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3317
- */
3318
- hour?: number;
3319
- /**
3320
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3321
- */
3322
- minute?: number;
3323
- /**
3324
- * The month to start full cycle periods. Ranges from 1 to 12.
3325
- */
3326
- month?: number;
3327
- /**
3328
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3329
- */
3330
- second?: number;
3331
- }
3332
- type Type = 'custom' | 'inherit' | OtherString;
3333
- }
3334
- }
3335
- }
3336
1832
  namespace PriceData {
3337
1833
  interface Recurring {
3338
1834
  /**
@@ -3349,28 +1845,8 @@ export declare namespace SubscriptionScheduleUpdateParams {
3349
1845
  type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3350
1846
  }
3351
1847
  }
3352
- namespace Trial {
3353
- type Type = 'free' | 'paid' | OtherString;
3354
- }
3355
- }
3356
- namespace PauseCollection {
3357
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
3358
- }
3359
- namespace TrialSettings {
3360
- interface EndBehavior {
3361
- /**
3362
- * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
3363
- */
3364
- prorate_up_front?: EndBehavior.ProrateUpFront;
3365
- }
3366
- namespace EndBehavior {
3367
- type ProrateUpFront = 'defer' | 'include' | OtherString;
3368
- }
3369
1848
  }
3370
1849
  }
3371
- namespace Prebilling {
3372
- type UpdateBehavior = 'prebill' | 'reset' | OtherString;
3373
- }
3374
1850
  }
3375
1851
  export interface SubscriptionScheduleListParams extends PaginationParams {
3376
1852
  /**
@@ -3406,847 +1882,6 @@ export interface SubscriptionScheduleListParams extends PaginationParams {
3406
1882
  */
3407
1883
  scheduled?: boolean;
3408
1884
  }
3409
- export interface SubscriptionScheduleAmendParams {
3410
- /**
3411
- * Changes to apply to the phases of the subscription schedule, in the order provided.
3412
- */
3413
- amendments?: Array<SubscriptionScheduleAmendParams.Amendment>;
3414
- /**
3415
- * Specifies which fields in the response should be expanded.
3416
- */
3417
- expand?: Array<string>;
3418
- /**
3419
- * Provide any time periods to bill in advance.
3420
- */
3421
- prebilling?: Emptyable<Array<SubscriptionScheduleAmendParams.Prebilling>>;
3422
- /**
3423
- * In cases where the amendment changes the currently active phase,
3424
- * specifies if and how to prorate at the time of the request.
3425
- */
3426
- proration_behavior?: SubscriptionScheduleAmendParams.ProrationBehavior;
3427
- /**
3428
- * Changes to apply to the subscription schedule.
3429
- */
3430
- schedule_settings?: SubscriptionScheduleAmendParams.ScheduleSettings;
3431
- }
3432
- export declare namespace SubscriptionScheduleAmendParams {
3433
- interface Amendment {
3434
- /**
3435
- * 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.
3436
- */
3437
- amendment_end?: Amendment.AmendmentEnd;
3438
- /**
3439
- * Details to identify the earliest timestamp where the proposed change should take effect.
3440
- */
3441
- amendment_start: Amendment.AmendmentStart;
3442
- /**
3443
- * 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.
3444
- */
3445
- billing_cycle_anchor?: Amendment.BillingCycleAnchor;
3446
- /**
3447
- * Actions to apply to the billing schedules.
3448
- */
3449
- billing_schedules_actions?: Array<Amendment.BillingSchedulesAction>;
3450
- /**
3451
- * Changes to the coupons being redeemed or discounts being applied during the amendment time span.
3452
- */
3453
- discount_actions?: Array<Amendment.DiscountAction>;
3454
- /**
3455
- * Configures how the subscription schedule handles billing for phase transitions.
3456
- */
3457
- effective_at?: Amendment.EffectiveAt;
3458
- /**
3459
- * Changes to the subscription items during the amendment time span.
3460
- */
3461
- item_actions?: Array<Amendment.ItemAction>;
3462
- /**
3463
- * Instructions for how to modify phase metadata
3464
- */
3465
- metadata_actions?: Array<Amendment.MetadataAction>;
3466
- /**
3467
- * 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`.
3468
- */
3469
- proration_behavior?: Amendment.ProrationBehavior;
3470
- /**
3471
- * Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
3472
- */
3473
- set_pause_collection?: Amendment.SetPauseCollection;
3474
- /**
3475
- * Ends the subscription schedule early as dictated by either the accompanying amendment's start or end.
3476
- */
3477
- set_schedule_end?: Amendment.SetScheduleEnd;
3478
- /**
3479
- * Settings related to subscription trials.
3480
- */
3481
- trial_settings?: Amendment.TrialSettings;
3482
- }
3483
- interface Prebilling {
3484
- /**
3485
- * The beginning of the prebilled time period. The default value is `now`.
3486
- */
3487
- bill_from?: Prebilling.BillFrom;
3488
- /**
3489
- * The end of the prebilled time period.
3490
- */
3491
- bill_until?: Prebilling.BillUntil;
3492
- /**
3493
- * When the prebilling invoice should be created. The default value is `now`.
3494
- */
3495
- invoice_at?: 'now';
3496
- /**
3497
- * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
3498
- */
3499
- update_behavior?: Prebilling.UpdateBehavior;
3500
- }
3501
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
3502
- interface ScheduleSettings {
3503
- /**
3504
- * Behavior of the subscription schedule and underlying subscription when it ends.
3505
- */
3506
- end_behavior?: ScheduleSettings.EndBehavior;
3507
- }
3508
- namespace Amendment {
3509
- interface AmendmentEnd {
3510
- /**
3511
- * Use the `end` time of a given discount.
3512
- */
3513
- discount_end?: AmendmentEnd.DiscountEnd;
3514
- /**
3515
- * Time span for the amendment starting from the `amendment_start`.
3516
- */
3517
- duration?: AmendmentEnd.Duration;
3518
- /**
3519
- * A precise Unix timestamp for the amendment to end. Must be after the `amendment_start`.
3520
- */
3521
- timestamp?: number;
3522
- /**
3523
- * Select one of three ways to pass the `amendment_end`.
3524
- */
3525
- type: AmendmentEnd.Type;
3526
- }
3527
- interface AmendmentStart {
3528
- /**
3529
- * Details of another amendment in the same array, immediately after which this amendment should begin.
3530
- */
3531
- amendment_end?: AmendmentStart.AmendmentEnd;
3532
- /**
3533
- * Use the `end` time of a given discount.
3534
- */
3535
- discount_end?: AmendmentStart.DiscountEnd;
3536
- /**
3537
- * A precise Unix timestamp for the amendment to start.
3538
- */
3539
- timestamp?: number;
3540
- /**
3541
- * Select one of three ways to pass the `amendment_start`.
3542
- */
3543
- type: AmendmentStart.Type;
3544
- }
3545
- type BillingCycleAnchor = 'amendment_start' | 'automatic' | OtherString;
3546
- interface BillingSchedulesAction {
3547
- /**
3548
- * Specify which subscription items the billing schedule applies to.
3549
- */
3550
- applies_to?: Array<BillingSchedulesAction.AppliesTo>;
3551
- /**
3552
- * Select the action.
3553
- */
3554
- type: BillingSchedulesAction.Type;
3555
- }
3556
- interface DiscountAction {
3557
- /**
3558
- * Details of the discount to add.
3559
- */
3560
- add?: DiscountAction.Add;
3561
- /**
3562
- * Details of the discount to remove.
3563
- */
3564
- remove?: DiscountAction.Remove;
3565
- /**
3566
- * Details of the discount to replace the existing discounts with.
3567
- */
3568
- set?: DiscountAction.Set;
3569
- /**
3570
- * Determines the type of discount action.
3571
- */
3572
- type: DiscountAction.Type;
3573
- }
3574
- type EffectiveAt = 'amendment_start' | 'billing_period_start' | OtherString;
3575
- interface ItemAction {
3576
- /**
3577
- * 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.
3578
- */
3579
- add?: ItemAction.Add;
3580
- /**
3581
- * Details of the subscription item to remove.
3582
- */
3583
- remove?: ItemAction.Remove;
3584
- /**
3585
- * 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.
3586
- */
3587
- set?: ItemAction.Set;
3588
- /**
3589
- * Determines the type of item action.
3590
- */
3591
- type: ItemAction.Type;
3592
- }
3593
- interface MetadataAction {
3594
- /**
3595
- * Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata.
3596
- */
3597
- add?: {
3598
- [key: string]: string;
3599
- };
3600
- /**
3601
- * Keys to remove from schedule phase metadata.
3602
- */
3603
- remove?: Array<string>;
3604
- /**
3605
- * Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten.
3606
- */
3607
- set?: Emptyable<{
3608
- [key: string]: string;
3609
- }>;
3610
- /**
3611
- * Select one of three ways to update phase-level `metadata` on subscription schedules.
3612
- */
3613
- type: MetadataAction.Type;
3614
- }
3615
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
3616
- interface SetPauseCollection {
3617
- /**
3618
- * Details of the pause_collection behavior to apply to the amendment.
3619
- */
3620
- set?: SetPauseCollection.Set;
3621
- /**
3622
- * Determines the type of the pause_collection amendment.
3623
- */
3624
- type: SetPauseCollection.Type;
3625
- }
3626
- type SetScheduleEnd = 'amendment_end' | 'amendment_start' | OtherString;
3627
- interface TrialSettings {
3628
- /**
3629
- * Defines how the subscription should behave when a trial ends.
3630
- */
3631
- end_behavior?: TrialSettings.EndBehavior;
3632
- }
3633
- namespace AmendmentEnd {
3634
- interface DiscountEnd {
3635
- /**
3636
- * The ID of a specific discount.
3637
- */
3638
- discount: string;
3639
- }
3640
- interface Duration {
3641
- /**
3642
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3643
- */
3644
- interval: Duration.Interval;
3645
- /**
3646
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3647
- */
3648
- interval_count: number;
3649
- }
3650
- type Type = 'discount_end' | 'duration' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
3651
- namespace Duration {
3652
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3653
- }
3654
- }
3655
- namespace AmendmentStart {
3656
- interface AmendmentEnd {
3657
- /**
3658
- * 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.
3659
- */
3660
- index: number;
3661
- }
3662
- interface DiscountEnd {
3663
- /**
3664
- * The ID of a specific discount.
3665
- */
3666
- discount: string;
3667
- }
3668
- type Type = 'amendment_end' | 'discount_end' | 'now' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
3669
- }
3670
- namespace BillingSchedulesAction {
3671
- interface AppliesTo {
3672
- /**
3673
- * The ID of the price object.
3674
- */
3675
- price?: string;
3676
- /**
3677
- * Controls which subscription items the billing schedule applies to.
3678
- */
3679
- type: 'price';
3680
- }
3681
- type Type = 'remove' | 'set' | OtherString;
3682
- }
3683
- namespace DiscountAction {
3684
- interface Add {
3685
- /**
3686
- * The coupon code to redeem.
3687
- */
3688
- coupon?: string;
3689
- /**
3690
- * An ID of an existing discount for a coupon that was already redeemed.
3691
- */
3692
- discount?: string;
3693
- /**
3694
- * Details to determine how long the discount should be applied for.
3695
- */
3696
- discount_end?: Add.DiscountEnd;
3697
- /**
3698
- * 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.
3699
- */
3700
- index?: number;
3701
- /**
3702
- * The promotion code to redeem.
3703
- */
3704
- promotion_code?: string;
3705
- /**
3706
- * Settings for discount application including service period anchoring.
3707
- */
3708
- settings?: Add.Settings;
3709
- }
3710
- interface Remove {
3711
- /**
3712
- * The coupon code to remove from the `discounts` array.
3713
- */
3714
- coupon?: string;
3715
- /**
3716
- * The ID of a discount to remove from the `discounts` array.
3717
- */
3718
- discount?: string;
3719
- /**
3720
- * The ID of a promotion code to remove from the `discounts` array.
3721
- */
3722
- promotion_code?: string;
3723
- }
3724
- interface Set {
3725
- /**
3726
- * The coupon code to replace the `discounts` array with.
3727
- */
3728
- coupon?: string;
3729
- /**
3730
- * An ID of an existing discount to replace the `discounts` array with.
3731
- */
3732
- discount?: string;
3733
- /**
3734
- * An ID of an existing promotion code to replace the `discounts` array with.
3735
- */
3736
- promotion_code?: string;
3737
- /**
3738
- * Settings for discount application including service period anchoring.
3739
- */
3740
- settings?: Set.Settings;
3741
- }
3742
- type Type = 'add' | 'remove' | 'set' | OtherString;
3743
- namespace Add {
3744
- interface DiscountEnd {
3745
- /**
3746
- * The type of calculation made to determine when the discount ends.
3747
- */
3748
- type: 'amendment_end';
3749
- }
3750
- interface Settings {
3751
- /**
3752
- * Configures service period cycle anchoring.
3753
- */
3754
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3755
- /**
3756
- * 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.
3757
- */
3758
- start_date?: Settings.StartDate;
3759
- }
3760
- namespace Settings {
3761
- interface ServicePeriodAnchorConfig {
3762
- /**
3763
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3764
- */
3765
- custom?: ServicePeriodAnchorConfig.Custom;
3766
- /**
3767
- * The type of service period anchor config. Defaults to `inherit` if omitted.
3768
- */
3769
- type?: ServicePeriodAnchorConfig.Type;
3770
- }
3771
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
3772
- namespace ServicePeriodAnchorConfig {
3773
- interface Custom {
3774
- /**
3775
- * The day of the month the anchor should be. Ranges from 1 to 31.
3776
- */
3777
- day_of_month: number;
3778
- /**
3779
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3780
- */
3781
- hour?: number;
3782
- /**
3783
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3784
- */
3785
- minute?: number;
3786
- /**
3787
- * The month to start full cycle periods. Ranges from 1 to 12.
3788
- */
3789
- month?: number;
3790
- /**
3791
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3792
- */
3793
- second?: number;
3794
- }
3795
- type Type = 'custom' | 'inherit' | OtherString;
3796
- }
3797
- }
3798
- }
3799
- namespace Set {
3800
- interface Settings {
3801
- /**
3802
- * Configures service period cycle anchoring.
3803
- */
3804
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3805
- /**
3806
- * 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.
3807
- */
3808
- start_date?: Settings.StartDate;
3809
- }
3810
- namespace Settings {
3811
- interface ServicePeriodAnchorConfig {
3812
- /**
3813
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3814
- */
3815
- custom?: ServicePeriodAnchorConfig.Custom;
3816
- /**
3817
- * The type of service period anchor config. Defaults to `inherit` if omitted.
3818
- */
3819
- type?: ServicePeriodAnchorConfig.Type;
3820
- }
3821
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
3822
- namespace ServicePeriodAnchorConfig {
3823
- interface Custom {
3824
- /**
3825
- * The day of the month the anchor should be. Ranges from 1 to 31.
3826
- */
3827
- day_of_month: number;
3828
- /**
3829
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3830
- */
3831
- hour?: number;
3832
- /**
3833
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3834
- */
3835
- minute?: number;
3836
- /**
3837
- * The month to start full cycle periods. Ranges from 1 to 12.
3838
- */
3839
- month?: number;
3840
- /**
3841
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3842
- */
3843
- second?: number;
3844
- }
3845
- type Type = 'custom' | 'inherit' | OtherString;
3846
- }
3847
- }
3848
- }
3849
- }
3850
- namespace ItemAction {
3851
- interface Add {
3852
- /**
3853
- * The discounts applied to the item. Subscription item discounts are applied before subscription discounts.
3854
- */
3855
- discounts?: Array<Add.Discount>;
3856
- /**
3857
- * 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`.
3858
- */
3859
- metadata?: MetadataParam;
3860
- /**
3861
- * The ID of the price object.
3862
- */
3863
- price: string;
3864
- /**
3865
- * Quantity for this item.
3866
- */
3867
- quantity?: number;
3868
- /**
3869
- * 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`.
3870
- */
3871
- tax_rates?: Array<string>;
3872
- /**
3873
- * Options that configure the trial on the subscription item.
3874
- */
3875
- trial?: Add.Trial;
3876
- /**
3877
- * The ID of the trial offer to apply to the configuration item.
3878
- */
3879
- trial_offer?: string;
3880
- }
3881
- interface Remove {
3882
- /**
3883
- * ID of a price to remove.
3884
- */
3885
- price: string;
3886
- }
3887
- interface Set {
3888
- /**
3889
- * 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`.
3890
- */
3891
- discounts?: Array<Set.Discount>;
3892
- /**
3893
- * 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`.
3894
- */
3895
- metadata?: MetadataParam;
3896
- /**
3897
- * The ID of the price object.
3898
- */
3899
- price: string;
3900
- /**
3901
- * 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`.
3902
- */
3903
- quantity?: number;
3904
- /**
3905
- * 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`.
3906
- */
3907
- tax_rates?: Array<string>;
3908
- /**
3909
- * 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`.
3910
- */
3911
- trial?: Set.Trial;
3912
- /**
3913
- * The ID of the trial offer to apply to the configuration item.
3914
- */
3915
- trial_offer?: string;
3916
- }
3917
- type Type = 'add' | 'remove' | 'set' | OtherString;
3918
- namespace Add {
3919
- interface Discount {
3920
- /**
3921
- * ID of the coupon to create a new discount for.
3922
- */
3923
- coupon?: string;
3924
- /**
3925
- * ID of an existing discount on the object (or one of its ancestors) to reuse.
3926
- */
3927
- discount?: string;
3928
- /**
3929
- * Details to determine how long the discount should be applied for.
3930
- */
3931
- discount_end?: Discount.DiscountEnd;
3932
- /**
3933
- * ID of the promotion code to create a new discount for.
3934
- */
3935
- promotion_code?: string;
3936
- /**
3937
- * Settings for discount application including service period anchoring.
3938
- */
3939
- settings?: Discount.Settings;
3940
- }
3941
- interface Trial {
3942
- /**
3943
- * 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.
3944
- */
3945
- converts_to?: Array<string>;
3946
- /**
3947
- * Determines the type of trial for this item.
3948
- */
3949
- type: Trial.Type;
3950
- }
3951
- namespace Discount {
3952
- interface DiscountEnd {
3953
- /**
3954
- * Time span for the redeemed discount.
3955
- */
3956
- duration?: DiscountEnd.Duration;
3957
- /**
3958
- * A precise Unix timestamp for the discount to end. Must be in the future.
3959
- */
3960
- timestamp?: number;
3961
- /**
3962
- * The type of calculation made to determine when the discount ends.
3963
- */
3964
- type: DiscountEnd.Type;
3965
- }
3966
- interface Settings {
3967
- /**
3968
- * Configures service period cycle anchoring.
3969
- */
3970
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3971
- /**
3972
- * 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.
3973
- */
3974
- start_date?: Settings.StartDate;
3975
- }
3976
- namespace DiscountEnd {
3977
- interface Duration {
3978
- /**
3979
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3980
- */
3981
- interval: Duration.Interval;
3982
- /**
3983
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3984
- */
3985
- interval_count: number;
3986
- }
3987
- type Type = 'duration' | 'timestamp' | OtherString;
3988
- namespace Duration {
3989
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3990
- }
3991
- }
3992
- namespace Settings {
3993
- interface ServicePeriodAnchorConfig {
3994
- /**
3995
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3996
- */
3997
- custom?: ServicePeriodAnchorConfig.Custom;
3998
- /**
3999
- * The type of service period anchor config. Defaults to `inherit` if omitted.
4000
- */
4001
- type?: ServicePeriodAnchorConfig.Type;
4002
- }
4003
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
4004
- namespace ServicePeriodAnchorConfig {
4005
- interface Custom {
4006
- /**
4007
- * The day of the month the anchor should be. Ranges from 1 to 31.
4008
- */
4009
- day_of_month: number;
4010
- /**
4011
- * The hour of the day the anchor should be. Ranges from 0 to 23.
4012
- */
4013
- hour?: number;
4014
- /**
4015
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
4016
- */
4017
- minute?: number;
4018
- /**
4019
- * The month to start full cycle periods. Ranges from 1 to 12.
4020
- */
4021
- month?: number;
4022
- /**
4023
- * The second of the minute the anchor should be. Ranges from 0 to 59.
4024
- */
4025
- second?: number;
4026
- }
4027
- type Type = 'custom' | 'inherit' | OtherString;
4028
- }
4029
- }
4030
- }
4031
- namespace Trial {
4032
- type Type = 'free' | 'paid' | OtherString;
4033
- }
4034
- }
4035
- namespace Set {
4036
- interface Discount {
4037
- /**
4038
- * ID of the coupon to create a new discount for.
4039
- */
4040
- coupon?: string;
4041
- /**
4042
- * ID of an existing discount on the object (or one of its ancestors) to reuse.
4043
- */
4044
- discount?: string;
4045
- /**
4046
- * Details to determine how long the discount should be applied for.
4047
- */
4048
- discount_end?: Discount.DiscountEnd;
4049
- /**
4050
- * ID of the promotion code to create a new discount for.
4051
- */
4052
- promotion_code?: string;
4053
- /**
4054
- * Settings for discount application including service period anchoring.
4055
- */
4056
- settings?: Discount.Settings;
4057
- }
4058
- interface Trial {
4059
- /**
4060
- * 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.
4061
- */
4062
- converts_to?: Array<string>;
4063
- /**
4064
- * Determines the type of trial for this item.
4065
- */
4066
- type: Trial.Type;
4067
- }
4068
- namespace Discount {
4069
- interface DiscountEnd {
4070
- /**
4071
- * Time span for the redeemed discount.
4072
- */
4073
- duration?: DiscountEnd.Duration;
4074
- /**
4075
- * A precise Unix timestamp for the discount to end. Must be in the future.
4076
- */
4077
- timestamp?: number;
4078
- /**
4079
- * The type of calculation made to determine when the discount ends.
4080
- */
4081
- type: DiscountEnd.Type;
4082
- }
4083
- interface Settings {
4084
- /**
4085
- * Configures service period cycle anchoring.
4086
- */
4087
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
4088
- /**
4089
- * 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.
4090
- */
4091
- start_date?: Settings.StartDate;
4092
- }
4093
- namespace DiscountEnd {
4094
- interface Duration {
4095
- /**
4096
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4097
- */
4098
- interval: Duration.Interval;
4099
- /**
4100
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4101
- */
4102
- interval_count: number;
4103
- }
4104
- type Type = 'duration' | 'timestamp' | OtherString;
4105
- namespace Duration {
4106
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
4107
- }
4108
- }
4109
- namespace Settings {
4110
- interface ServicePeriodAnchorConfig {
4111
- /**
4112
- * Anchor the service period to a custom date. Type must be `custom` to specify.
4113
- */
4114
- custom?: ServicePeriodAnchorConfig.Custom;
4115
- /**
4116
- * The type of service period anchor config. Defaults to `inherit` if omitted.
4117
- */
4118
- type?: ServicePeriodAnchorConfig.Type;
4119
- }
4120
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
4121
- namespace ServicePeriodAnchorConfig {
4122
- interface Custom {
4123
- /**
4124
- * The day of the month the anchor should be. Ranges from 1 to 31.
4125
- */
4126
- day_of_month: number;
4127
- /**
4128
- * The hour of the day the anchor should be. Ranges from 0 to 23.
4129
- */
4130
- hour?: number;
4131
- /**
4132
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
4133
- */
4134
- minute?: number;
4135
- /**
4136
- * The month to start full cycle periods. Ranges from 1 to 12.
4137
- */
4138
- month?: number;
4139
- /**
4140
- * The second of the minute the anchor should be. Ranges from 0 to 59.
4141
- */
4142
- second?: number;
4143
- }
4144
- type Type = 'custom' | 'inherit' | OtherString;
4145
- }
4146
- }
4147
- }
4148
- namespace Trial {
4149
- type Type = 'free' | 'paid' | OtherString;
4150
- }
4151
- }
4152
- }
4153
- namespace MetadataAction {
4154
- type Type = 'add' | 'remove' | 'set' | OtherString;
4155
- }
4156
- namespace SetPauseCollection {
4157
- interface Set {
4158
- /**
4159
- * The payment collection behavior for this subscription while paused.
4160
- */
4161
- behavior: Set.Behavior;
4162
- }
4163
- type Type = 'remove' | 'set' | OtherString;
4164
- namespace Set {
4165
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
4166
- }
4167
- }
4168
- namespace TrialSettings {
4169
- interface EndBehavior {
4170
- /**
4171
- * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
4172
- */
4173
- prorate_up_front?: EndBehavior.ProrateUpFront;
4174
- }
4175
- namespace EndBehavior {
4176
- type ProrateUpFront = 'defer' | 'include' | OtherString;
4177
- }
4178
- }
4179
- }
4180
- namespace Prebilling {
4181
- interface BillFrom {
4182
- /**
4183
- * Start the prebilled period when a specified amendment begins.
4184
- */
4185
- amendment_start?: BillFrom.AmendmentStart;
4186
- /**
4187
- * Start the prebilled period at a precise integer timestamp, starting from the Unix epoch.
4188
- */
4189
- timestamp?: number;
4190
- /**
4191
- * Select one of several ways to pass the `bill_from` value.
4192
- */
4193
- type: BillFrom.Type;
4194
- }
4195
- interface BillUntil {
4196
- /**
4197
- * End the prebilled period when a specified amendment ends.
4198
- */
4199
- amendment_end?: BillUntil.AmendmentEnd;
4200
- /**
4201
- * Time span for prebilling, starting from `bill_from`.
4202
- */
4203
- duration?: BillUntil.Duration;
4204
- /**
4205
- * End the prebilled period at a precise integer timestamp, starting from the Unix epoch.
4206
- */
4207
- timestamp?: number;
4208
- /**
4209
- * Select one of several ways to pass the `bill_until` value.
4210
- */
4211
- type: BillUntil.Type;
4212
- }
4213
- type UpdateBehavior = 'prebill' | 'reset' | OtherString;
4214
- namespace BillFrom {
4215
- interface AmendmentStart {
4216
- /**
4217
- * The position of the amendment in the `amendments` array with which prebilling should begin. Indexes start from 0 and must be less than the total number of supplied amendments.
4218
- */
4219
- index: number;
4220
- }
4221
- type Type = 'amendment_start' | 'now' | 'timestamp' | OtherString;
4222
- }
4223
- namespace BillUntil {
4224
- interface AmendmentEnd {
4225
- /**
4226
- * 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.
4227
- */
4228
- index: number;
4229
- }
4230
- interface Duration {
4231
- /**
4232
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4233
- */
4234
- interval: Duration.Interval;
4235
- /**
4236
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4237
- */
4238
- interval_count: number;
4239
- }
4240
- type Type = 'amendment_end' | 'duration' | 'schedule_end' | 'timestamp' | OtherString;
4241
- namespace Duration {
4242
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
4243
- }
4244
- }
4245
- }
4246
- namespace ScheduleSettings {
4247
- type EndBehavior = 'cancel' | 'release' | OtherString;
4248
- }
4249
- }
4250
1885
  export interface SubscriptionScheduleCancelParams {
4251
1886
  /**
4252
1887
  * Specifies which fields in the response should be expanded.
@@ -4271,11 +1906,3 @@ export interface SubscriptionScheduleReleaseParams {
4271
1906
  */
4272
1907
  preserve_cancel_date?: boolean;
4273
1908
  }
4274
- export interface SubscriptionScheduleSerializeBatchCancelParams {
4275
- }
4276
- export interface SubscriptionScheduleSerializeBatchCreateParams {
4277
- }
4278
- export interface SubscriptionScheduleSerializeBatchReleaseParams {
4279
- }
4280
- export interface SubscriptionScheduleSerializeBatchUpdateParams {
4281
- }