stripe 22.5.0-alpha.2 → 22.5.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 (1686) hide show
  1. package/CHANGELOG.md +22 -3169
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +60 -44
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +0 -58
  6. package/cjs/Error.js +1 -135
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/RequestSender.js +3 -0
  9. package/cjs/RequestSender.js.map +1 -1
  10. package/cjs/StripeEventEmitter.d.ts +18 -0
  11. package/cjs/StripeEventEmitter.js +63 -0
  12. package/cjs/StripeEventEmitter.js.map +1 -0
  13. package/cjs/Types.d.ts +2 -9
  14. package/cjs/Types.js.map +1 -1
  15. package/cjs/Webhooks.d.ts +41 -0
  16. package/cjs/Webhooks.js +25 -29
  17. package/cjs/Webhooks.js.map +1 -1
  18. package/cjs/apiVersion.d.ts +2 -2
  19. package/cjs/apiVersion.js +2 -2
  20. package/cjs/apiVersion.js.map +1 -1
  21. package/cjs/net/EndpointFetchHttpClient.d.ts +21 -0
  22. package/cjs/net/EndpointFetchHttpClient.js +83 -0
  23. package/cjs/net/EndpointFetchHttpClient.js.map +1 -0
  24. package/cjs/net/FetchHttpClient.js +1 -11
  25. package/cjs/net/FetchHttpClient.js.map +1 -1
  26. package/cjs/net/HttpClient.d.ts +3 -0
  27. package/cjs/net/HttpClient.js +15 -1
  28. package/cjs/net/HttpClient.js.map +1 -1
  29. package/cjs/net/NodeHttpClient.js +1 -4
  30. package/cjs/net/NodeHttpClient.js.map +1 -1
  31. package/cjs/platform/ExtensibilityPlatformFunctions.d.ts +34 -0
  32. package/cjs/platform/ExtensibilityPlatformFunctions.js +64 -0
  33. package/cjs/platform/ExtensibilityPlatformFunctions.js.map +1 -0
  34. package/cjs/platform/NodePlatformFunctions.d.ts +2 -0
  35. package/cjs/platform/NodePlatformFunctions.js +4 -0
  36. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  37. package/cjs/platform/PlatformFunctions.d.ts +20 -5
  38. package/cjs/platform/PlatformFunctions.js +16 -0
  39. package/cjs/platform/PlatformFunctions.js.map +1 -1
  40. package/cjs/resources/AccountLinks.d.ts +1 -5
  41. package/cjs/resources/AccountSessions.d.ts +0 -564
  42. package/cjs/resources/AccountSessions.js.map +1 -1
  43. package/cjs/resources/Accounts.d.ts +6 -1037
  44. package/cjs/resources/Accounts.js +0 -47
  45. package/cjs/resources/Accounts.js.map +1 -1
  46. package/cjs/resources/ApplicationFees.d.ts +1 -28
  47. package/cjs/resources/Balance.d.ts +0 -134
  48. package/cjs/resources/BalanceSettings.d.ts +0 -18
  49. package/cjs/resources/BalanceTransactions.d.ts +1 -1
  50. package/cjs/resources/BankAccounts.d.ts +2 -2
  51. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -55
  52. package/cjs/resources/Billing/Alerts.d.ts +5 -448
  53. package/cjs/resources/Billing/Alerts.js +5 -329
  54. package/cjs/resources/Billing/Alerts.js.map +1 -1
  55. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +3 -136
  56. package/cjs/resources/Billing/CreditBalanceSummary.js +1 -39
  57. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  58. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +3 -97
  59. package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -100
  60. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  61. package/cjs/resources/Billing/CreditGrants.d.ts +3 -105
  62. package/cjs/resources/Billing/CreditGrants.js +5 -134
  63. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  64. package/cjs/resources/Billing/MeterEventSummaries.d.ts +0 -6
  65. package/cjs/resources/Billing/Meters.d.ts +0 -31
  66. package/cjs/resources/Billing/index.d.ts +0 -13
  67. package/cjs/resources/Billing/index.js +0 -2
  68. package/cjs/resources/Billing/index.js.map +1 -1
  69. package/cjs/resources/BillingPortal/Configurations.d.ts +0 -5
  70. package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
  71. package/cjs/resources/Capabilities.d.ts +2 -25
  72. package/cjs/resources/Cards.d.ts +0 -28
  73. package/cjs/resources/Charges.d.ts +70 -3367
  74. package/cjs/resources/Charges.js.map +1 -1
  75. package/cjs/resources/Checkout/Sessions.d.ts +12 -1193
  76. package/cjs/resources/Checkout/Sessions.js +0 -115
  77. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  78. package/cjs/resources/Checkout/index.d.ts +0 -1
  79. package/cjs/resources/ConfirmationTokens.d.ts +1 -146
  80. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  81. package/cjs/resources/Coupons.d.ts +2 -128
  82. package/cjs/resources/Coupons.js +0 -41
  83. package/cjs/resources/Coupons.js.map +1 -1
  84. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  85. package/cjs/resources/CreditNotes.d.ts +1 -7
  86. package/cjs/resources/CreditNotes.js +0 -13
  87. package/cjs/resources/CreditNotes.js.map +1 -1
  88. package/cjs/resources/CustomerSessions.d.ts +0 -74
  89. package/cjs/resources/CustomerSessions.js +0 -13
  90. package/cjs/resources/CustomerSessions.js.map +1 -1
  91. package/cjs/resources/Customers.d.ts +1 -98
  92. package/cjs/resources/Customers.js +0 -195
  93. package/cjs/resources/Customers.js.map +1 -1
  94. package/cjs/resources/Discounts.d.ts +0 -19
  95. package/cjs/resources/Disputes.d.ts +0 -43
  96. package/cjs/resources/Disputes.js +0 -14
  97. package/cjs/resources/Disputes.js.map +1 -1
  98. package/cjs/resources/Events.d.ts +3 -574
  99. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  100. package/cjs/resources/ExternalAccounts.js +0 -44
  101. package/cjs/resources/ExternalAccounts.js.map +1 -1
  102. package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -69
  103. package/cjs/resources/FinancialConnections/Accounts.js +0 -8
  104. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  105. package/cjs/resources/FinancialConnections/Authorizations.d.ts +1 -46
  106. package/cjs/resources/FinancialConnections/Authorizations.js +0 -11
  107. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
  108. package/cjs/resources/FinancialConnections/Sessions.d.ts +9 -124
  109. package/cjs/resources/FinancialConnections/index.d.ts +9 -21
  110. package/cjs/resources/FinancialConnections/index.js +0 -4
  111. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  112. package/cjs/resources/Identity/VerificationReports.d.ts +2 -33
  113. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  114. package/cjs/resources/Identity/VerificationSessions.d.ts +3 -11
  115. package/cjs/resources/Identity/index.d.ts +10 -18
  116. package/cjs/resources/Identity/index.js +0 -2
  117. package/cjs/resources/Identity/index.js.map +1 -1
  118. package/cjs/resources/InvoiceItems.d.ts +3 -204
  119. package/cjs/resources/InvoiceItems.js +0 -41
  120. package/cjs/resources/InvoiceItems.js.map +1 -1
  121. package/cjs/resources/InvoiceLineItems.d.ts +4 -174
  122. package/cjs/resources/InvoiceRenderingTemplates.d.ts +0 -12
  123. package/cjs/resources/InvoiceRenderingTemplates.js +0 -28
  124. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  125. package/cjs/resources/Invoices.d.ts +21 -2125
  126. package/cjs/resources/Invoices.js +0 -221
  127. package/cjs/resources/Invoices.js.map +1 -1
  128. package/cjs/resources/Issuing/Authorizations.d.ts +1 -524
  129. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  130. package/cjs/resources/Issuing/Cardholders.d.ts +4 -22
  131. package/cjs/resources/Issuing/Cards.d.ts +0 -82
  132. package/cjs/resources/Issuing/Disputes.d.ts +0 -246
  133. package/cjs/resources/Issuing/Tokens.d.ts +0 -26
  134. package/cjs/resources/Issuing/Transactions.d.ts +0 -233
  135. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  136. package/cjs/resources/Issuing/index.d.ts +22 -56
  137. package/cjs/resources/Issuing/index.js +0 -8
  138. package/cjs/resources/Issuing/index.js.map +1 -1
  139. package/cjs/resources/LineItems.d.ts +2 -29
  140. package/cjs/resources/Mandates.d.ts +2 -47
  141. package/cjs/resources/Mandates.js +0 -8
  142. package/cjs/resources/Mandates.js.map +1 -1
  143. package/cjs/resources/PaymentAttemptRecords.d.ts +2 -679
  144. package/cjs/resources/PaymentAttemptRecords.js +0 -48
  145. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  146. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +0 -52
  147. package/cjs/resources/PaymentIntents.d.ts +6349 -20097
  148. package/cjs/resources/PaymentIntents.js +0 -46
  149. package/cjs/resources/PaymentIntents.js.map +1 -1
  150. package/cjs/resources/PaymentLinks.d.ts +15 -77
  151. package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -420
  152. package/cjs/resources/PaymentMethods.d.ts +3 -300
  153. package/cjs/resources/PaymentMethods.js +0 -20
  154. package/cjs/resources/PaymentMethods.js.map +1 -1
  155. package/cjs/resources/PaymentRecords.d.ts +20 -737
  156. package/cjs/resources/PaymentRecords.js +0 -18
  157. package/cjs/resources/PaymentRecords.js.map +1 -1
  158. package/cjs/resources/Persons.d.ts +2 -25
  159. package/cjs/resources/Plans.d.ts +0 -16
  160. package/cjs/resources/Prices.d.ts +1 -77
  161. package/cjs/resources/Prices.js +0 -27
  162. package/cjs/resources/Prices.js.map +1 -1
  163. package/cjs/resources/Products.d.ts +1 -199
  164. package/cjs/resources/Products.js +0 -69
  165. package/cjs/resources/Products.js.map +1 -1
  166. package/cjs/resources/PromotionCodes.d.ts +0 -12
  167. package/cjs/resources/PromotionCodes.js +0 -27
  168. package/cjs/resources/PromotionCodes.js.map +1 -1
  169. package/cjs/resources/Quotes.d.ts +95 -3389
  170. package/cjs/resources/Quotes.js +13 -1181
  171. package/cjs/resources/Quotes.js.map +1 -1
  172. package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -115
  173. package/cjs/resources/Radar/ValueListItems.d.ts +1 -39
  174. package/cjs/resources/Radar/ValueListItems.js +0 -13
  175. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  176. package/cjs/resources/Radar/index.d.ts +16 -36
  177. package/cjs/resources/Radar/index.js +0 -6
  178. package/cjs/resources/Radar/index.js.map +1 -1
  179. package/cjs/resources/Refunds.d.ts +0 -39
  180. package/cjs/resources/Refunds.js +0 -27
  181. package/cjs/resources/Refunds.js.map +1 -1
  182. package/cjs/resources/Reserve/Holds.d.ts +1 -53
  183. package/cjs/resources/Reserve/Holds.js +0 -19
  184. package/cjs/resources/Reserve/Holds.js.map +1 -1
  185. package/cjs/resources/Reserve/Plans.d.ts +0 -16
  186. package/cjs/resources/Reserve/Plans.js +0 -11
  187. package/cjs/resources/Reserve/Plans.js.map +1 -1
  188. package/cjs/resources/Reserve/Releases.d.ts +1 -41
  189. package/cjs/resources/Reserve/Releases.js +0 -19
  190. package/cjs/resources/Reserve/Releases.js.map +1 -1
  191. package/cjs/resources/Reserve/index.d.ts +6 -17
  192. package/cjs/resources/Reserve/index.js +0 -9
  193. package/cjs/resources/Reserve/index.js.map +1 -1
  194. package/cjs/resources/SetupAttempts.d.ts +1 -35
  195. package/cjs/resources/SetupAttempts.js.map +1 -1
  196. package/cjs/resources/SetupIntents.d.ts +11 -627
  197. package/cjs/resources/SetupIntents.js.map +1 -1
  198. package/cjs/resources/Sources.d.ts +1 -29
  199. package/cjs/resources/SubscriptionItems.d.ts +1 -266
  200. package/cjs/resources/SubscriptionItems.js +0 -41
  201. package/cjs/resources/SubscriptionItems.js.map +1 -1
  202. package/cjs/resources/SubscriptionSchedules.d.ts +65 -2396
  203. package/cjs/resources/SubscriptionSchedules.js +0 -61
  204. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  205. package/cjs/resources/Subscriptions.d.ts +13 -971
  206. package/cjs/resources/Subscriptions.js +1 -290
  207. package/cjs/resources/Subscriptions.js.map +1 -1
  208. package/cjs/resources/Tax/CalculationLineItems.d.ts +3 -14
  209. package/cjs/resources/Tax/Calculations.d.ts +4 -46
  210. package/cjs/resources/Tax/Registrations.d.ts +2 -171
  211. package/cjs/resources/Tax/Registrations.js +0 -27
  212. package/cjs/resources/Tax/Registrations.js.map +1 -1
  213. package/cjs/resources/Tax/Settings.d.ts +0 -8
  214. package/cjs/resources/Tax/Settings.js +0 -13
  215. package/cjs/resources/Tax/Settings.js.map +1 -1
  216. package/cjs/resources/Tax/Transactions.d.ts +2 -10
  217. package/cjs/resources/Tax/Transactions.js +0 -13
  218. package/cjs/resources/Tax/Transactions.js.map +1 -1
  219. package/cjs/resources/Tax/index.d.ts +13 -31
  220. package/cjs/resources/Tax/index.js +0 -4
  221. package/cjs/resources/Tax/index.js.map +1 -1
  222. package/cjs/resources/TaxCodes.d.ts +1 -16
  223. package/cjs/resources/TaxIds.d.ts +0 -6
  224. package/cjs/resources/TaxIds.js +0 -13
  225. package/cjs/resources/TaxIds.js.map +1 -1
  226. package/cjs/resources/TaxRates.d.ts +0 -12
  227. package/cjs/resources/TaxRates.js +0 -27
  228. package/cjs/resources/TaxRates.js.map +1 -1
  229. package/cjs/resources/Terminal/Configurations.d.ts +0 -27
  230. package/cjs/resources/Terminal/Readers.d.ts +2 -207
  231. package/cjs/resources/Terminal/Readers.js +0 -24
  232. package/cjs/resources/Terminal/Readers.js.map +1 -1
  233. package/cjs/resources/Terminal/index.d.ts +0 -9
  234. package/cjs/resources/Terminal/index.js +0 -2
  235. package/cjs/resources/Terminal/index.js.map +1 -1
  236. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +1 -100
  237. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +0 -102
  238. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +0 -110
  239. package/cjs/resources/TestHelpers/Issuing/index.d.ts +0 -2
  240. package/cjs/resources/TestHelpers/Issuing/index.js +0 -2
  241. package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
  242. package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +1 -15
  243. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  244. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  245. package/cjs/resources/TestHelpers/index.d.ts +6 -14
  246. package/cjs/resources/TestHelpers/index.js +6 -12
  247. package/cjs/resources/TestHelpers/index.js.map +1 -1
  248. package/cjs/resources/Tokens.d.ts +0 -82
  249. package/cjs/resources/Transfers.d.ts +0 -12
  250. package/cjs/resources/Transfers.js.map +1 -1
  251. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  252. package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
  253. package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
  254. package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
  255. package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
  256. package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
  257. package/cjs/resources/V2/Billing/index.d.ts +6 -175
  258. package/cjs/resources/V2/Billing/index.js +0 -32
  259. package/cjs/resources/V2/Billing/index.js.map +1 -1
  260. package/cjs/resources/V2/Core/AccountLinks.d.ts +6 -158
  261. package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
  262. package/cjs/resources/V2/Core/AccountTokens.d.ts +2 -220
  263. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  264. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  265. package/cjs/resources/V2/Core/Accounts.d.ts +3731 -17878
  266. package/cjs/resources/V2/Core/Accounts.js +38 -10364
  267. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  268. package/cjs/resources/V2/Core/Events.d.ts +234 -7883
  269. package/cjs/resources/V2/Core/index.d.ts +14 -66
  270. package/cjs/resources/V2/Core/index.js +0 -18
  271. package/cjs/resources/V2/Core/index.js.map +1 -1
  272. package/cjs/resources/V2/index.d.ts +0 -42
  273. package/cjs/resources/V2/index.js +0 -24
  274. package/cjs/resources/V2/index.js.map +1 -1
  275. package/cjs/resources/WebhookEndpoints.d.ts +2 -2
  276. package/cjs/resources.d.ts +0 -19
  277. package/cjs/resources.js +18 -290
  278. package/cjs/resources.js.map +1 -1
  279. package/cjs/stripe.cjs.extensibility.d.ts +8 -0
  280. package/cjs/stripe.cjs.extensibility.js +31 -0
  281. package/cjs/stripe.cjs.extensibility.js.map +1 -0
  282. package/cjs/stripe.cjs.node.d.ts +770 -14842
  283. package/cjs/stripe.cjs.node.js.map +1 -1
  284. package/cjs/stripe.core.d.ts +84 -158
  285. package/cjs/stripe.core.js +105 -129
  286. package/cjs/stripe.core.js.map +1 -1
  287. package/cjs/utils.d.ts +5 -0
  288. package/cjs/utils.js +31 -1
  289. package/cjs/utils.js.map +1 -1
  290. package/esm/Error.d.ts +0 -58
  291. package/esm/Error.js +0 -118
  292. package/esm/Error.js.map +1 -1
  293. package/esm/RequestSender.js +4 -1
  294. package/esm/RequestSender.js.map +1 -1
  295. package/esm/StripeEventEmitter.d.ts +18 -0
  296. package/esm/StripeEventEmitter.js +59 -0
  297. package/esm/StripeEventEmitter.js.map +1 -0
  298. package/esm/Types.d.ts +2 -9
  299. package/esm/Types.js.map +1 -1
  300. package/esm/Webhooks.d.ts +41 -0
  301. package/esm/Webhooks.js +25 -29
  302. package/esm/Webhooks.js.map +1 -1
  303. package/esm/apiVersion.d.ts +2 -2
  304. package/esm/apiVersion.js +2 -2
  305. package/esm/apiVersion.js.map +1 -1
  306. package/esm/net/EndpointFetchHttpClient.d.ts +21 -0
  307. package/esm/net/EndpointFetchHttpClient.js +78 -0
  308. package/esm/net/EndpointFetchHttpClient.js.map +1 -0
  309. package/esm/net/FetchHttpClient.js +1 -11
  310. package/esm/net/FetchHttpClient.js.map +1 -1
  311. package/esm/net/HttpClient.d.ts +3 -0
  312. package/esm/net/HttpClient.js +13 -0
  313. package/esm/net/HttpClient.js.map +1 -1
  314. package/esm/net/NodeHttpClient.js +1 -4
  315. package/esm/net/NodeHttpClient.js.map +1 -1
  316. package/esm/platform/ExtensibilityPlatformFunctions.d.ts +34 -0
  317. package/esm/platform/ExtensibilityPlatformFunctions.js +60 -0
  318. package/esm/platform/ExtensibilityPlatformFunctions.js.map +1 -0
  319. package/esm/platform/NodePlatformFunctions.d.ts +2 -0
  320. package/esm/platform/NodePlatformFunctions.js +4 -0
  321. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  322. package/esm/platform/PlatformFunctions.d.ts +20 -5
  323. package/esm/platform/PlatformFunctions.js +16 -0
  324. package/esm/platform/PlatformFunctions.js.map +1 -1
  325. package/esm/resources/AccountLinks.d.ts +1 -5
  326. package/esm/resources/AccountSessions.d.ts +0 -564
  327. package/esm/resources/AccountSessions.js.map +1 -1
  328. package/esm/resources/Accounts.d.ts +6 -1037
  329. package/esm/resources/Accounts.js +0 -47
  330. package/esm/resources/Accounts.js.map +1 -1
  331. package/esm/resources/ApplicationFees.d.ts +1 -28
  332. package/esm/resources/Balance.d.ts +0 -134
  333. package/esm/resources/BalanceSettings.d.ts +0 -18
  334. package/esm/resources/BalanceTransactions.d.ts +1 -1
  335. package/esm/resources/BankAccounts.d.ts +2 -2
  336. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -55
  337. package/esm/resources/Billing/Alerts.d.ts +5 -448
  338. package/esm/resources/Billing/Alerts.js +5 -329
  339. package/esm/resources/Billing/Alerts.js.map +1 -1
  340. package/esm/resources/Billing/CreditBalanceSummary.d.ts +3 -136
  341. package/esm/resources/Billing/CreditBalanceSummary.js +1 -39
  342. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  343. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +3 -97
  344. package/esm/resources/Billing/CreditBalanceTransactions.js +1 -100
  345. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  346. package/esm/resources/Billing/CreditGrants.d.ts +3 -105
  347. package/esm/resources/Billing/CreditGrants.js +5 -134
  348. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  349. package/esm/resources/Billing/MeterEventSummaries.d.ts +0 -6
  350. package/esm/resources/Billing/Meters.d.ts +0 -31
  351. package/esm/resources/Billing/index.d.ts +0 -13
  352. package/esm/resources/Billing/index.js +0 -2
  353. package/esm/resources/Billing/index.js.map +1 -1
  354. package/esm/resources/BillingPortal/Configurations.d.ts +0 -5
  355. package/esm/resources/BillingPortal/Configurations.js.map +1 -1
  356. package/esm/resources/Capabilities.d.ts +2 -25
  357. package/esm/resources/Cards.d.ts +0 -28
  358. package/esm/resources/Charges.d.ts +70 -3367
  359. package/esm/resources/Charges.js.map +1 -1
  360. package/esm/resources/Checkout/Sessions.d.ts +12 -1193
  361. package/esm/resources/Checkout/Sessions.js +0 -115
  362. package/esm/resources/Checkout/Sessions.js.map +1 -1
  363. package/esm/resources/Checkout/index.d.ts +0 -1
  364. package/esm/resources/ConfirmationTokens.d.ts +1 -146
  365. package/esm/resources/ConfirmationTokens.js.map +1 -1
  366. package/esm/resources/Coupons.d.ts +2 -128
  367. package/esm/resources/Coupons.js +0 -41
  368. package/esm/resources/Coupons.js.map +1 -1
  369. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  370. package/esm/resources/CreditNotes.d.ts +1 -7
  371. package/esm/resources/CreditNotes.js +0 -13
  372. package/esm/resources/CreditNotes.js.map +1 -1
  373. package/esm/resources/CustomerSessions.d.ts +0 -74
  374. package/esm/resources/CustomerSessions.js +0 -13
  375. package/esm/resources/CustomerSessions.js.map +1 -1
  376. package/esm/resources/Customers.d.ts +1 -98
  377. package/esm/resources/Customers.js +0 -195
  378. package/esm/resources/Customers.js.map +1 -1
  379. package/esm/resources/Discounts.d.ts +0 -19
  380. package/esm/resources/Disputes.d.ts +0 -43
  381. package/esm/resources/Disputes.js +0 -14
  382. package/esm/resources/Disputes.js.map +1 -1
  383. package/esm/resources/Events.d.ts +3 -574
  384. package/esm/resources/ExternalAccounts.d.ts +1 -212
  385. package/esm/resources/ExternalAccounts.js +1 -42
  386. package/esm/resources/ExternalAccounts.js.map +1 -1
  387. package/esm/resources/FinancialConnections/Accounts.d.ts +4 -69
  388. package/esm/resources/FinancialConnections/Accounts.js +0 -8
  389. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  390. package/esm/resources/FinancialConnections/Authorizations.d.ts +1 -46
  391. package/esm/resources/FinancialConnections/Authorizations.js +1 -9
  392. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
  393. package/esm/resources/FinancialConnections/Sessions.d.ts +9 -124
  394. package/esm/resources/FinancialConnections/index.d.ts +9 -21
  395. package/esm/resources/FinancialConnections/index.js +0 -4
  396. package/esm/resources/FinancialConnections/index.js.map +1 -1
  397. package/esm/resources/Identity/VerificationReports.d.ts +2 -33
  398. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  399. package/esm/resources/Identity/VerificationSessions.d.ts +3 -11
  400. package/esm/resources/Identity/index.d.ts +10 -18
  401. package/esm/resources/Identity/index.js +0 -2
  402. package/esm/resources/Identity/index.js.map +1 -1
  403. package/esm/resources/InvoiceItems.d.ts +3 -204
  404. package/esm/resources/InvoiceItems.js +0 -41
  405. package/esm/resources/InvoiceItems.js.map +1 -1
  406. package/esm/resources/InvoiceLineItems.d.ts +4 -174
  407. package/esm/resources/InvoiceRenderingTemplates.d.ts +0 -12
  408. package/esm/resources/InvoiceRenderingTemplates.js +0 -28
  409. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  410. package/esm/resources/Invoices.d.ts +21 -2125
  411. package/esm/resources/Invoices.js +0 -221
  412. package/esm/resources/Invoices.js.map +1 -1
  413. package/esm/resources/Issuing/Authorizations.d.ts +1 -524
  414. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  415. package/esm/resources/Issuing/Cardholders.d.ts +4 -22
  416. package/esm/resources/Issuing/Cards.d.ts +0 -82
  417. package/esm/resources/Issuing/Disputes.d.ts +0 -246
  418. package/esm/resources/Issuing/Tokens.d.ts +0 -26
  419. package/esm/resources/Issuing/Transactions.d.ts +0 -233
  420. package/esm/resources/Issuing/Transactions.js.map +1 -1
  421. package/esm/resources/Issuing/index.d.ts +22 -56
  422. package/esm/resources/Issuing/index.js +0 -8
  423. package/esm/resources/Issuing/index.js.map +1 -1
  424. package/esm/resources/LineItems.d.ts +2 -29
  425. package/esm/resources/Mandates.d.ts +2 -47
  426. package/esm/resources/Mandates.js +0 -8
  427. package/esm/resources/Mandates.js.map +1 -1
  428. package/esm/resources/PaymentAttemptRecords.d.ts +2 -679
  429. package/esm/resources/PaymentAttemptRecords.js +0 -48
  430. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  431. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +0 -52
  432. package/esm/resources/PaymentIntents.d.ts +6349 -20097
  433. package/esm/resources/PaymentIntents.js +0 -46
  434. package/esm/resources/PaymentIntents.js.map +1 -1
  435. package/esm/resources/PaymentLinks.d.ts +15 -77
  436. package/esm/resources/PaymentMethodConfigurations.d.ts +0 -420
  437. package/esm/resources/PaymentMethods.d.ts +3 -300
  438. package/esm/resources/PaymentMethods.js +0 -20
  439. package/esm/resources/PaymentMethods.js.map +1 -1
  440. package/esm/resources/PaymentRecords.d.ts +20 -737
  441. package/esm/resources/PaymentRecords.js +0 -18
  442. package/esm/resources/PaymentRecords.js.map +1 -1
  443. package/esm/resources/Persons.d.ts +2 -25
  444. package/esm/resources/Plans.d.ts +0 -16
  445. package/esm/resources/Prices.d.ts +1 -77
  446. package/esm/resources/Prices.js +0 -27
  447. package/esm/resources/Prices.js.map +1 -1
  448. package/esm/resources/Products.d.ts +1 -199
  449. package/esm/resources/Products.js +0 -69
  450. package/esm/resources/Products.js.map +1 -1
  451. package/esm/resources/PromotionCodes.d.ts +0 -12
  452. package/esm/resources/PromotionCodes.js +0 -27
  453. package/esm/resources/PromotionCodes.js.map +1 -1
  454. package/esm/resources/Quotes.d.ts +95 -3389
  455. package/esm/resources/Quotes.js +13 -1181
  456. package/esm/resources/Quotes.js.map +1 -1
  457. package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -115
  458. package/esm/resources/Radar/ValueListItems.d.ts +1 -39
  459. package/esm/resources/Radar/ValueListItems.js +0 -13
  460. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  461. package/esm/resources/Radar/index.d.ts +16 -36
  462. package/esm/resources/Radar/index.js +0 -6
  463. package/esm/resources/Radar/index.js.map +1 -1
  464. package/esm/resources/Refunds.d.ts +0 -39
  465. package/esm/resources/Refunds.js +0 -27
  466. package/esm/resources/Refunds.js.map +1 -1
  467. package/esm/resources/Reserve/Holds.d.ts +1 -53
  468. package/esm/resources/Reserve/Holds.js +1 -17
  469. package/esm/resources/Reserve/Holds.js.map +1 -1
  470. package/esm/resources/Reserve/Plans.d.ts +0 -16
  471. package/esm/resources/Reserve/Plans.js +1 -9
  472. package/esm/resources/Reserve/Plans.js.map +1 -1
  473. package/esm/resources/Reserve/Releases.d.ts +1 -41
  474. package/esm/resources/Reserve/Releases.js +1 -17
  475. package/esm/resources/Reserve/Releases.js.map +1 -1
  476. package/esm/resources/Reserve/index.d.ts +6 -17
  477. package/esm/resources/Reserve/index.js +0 -9
  478. package/esm/resources/Reserve/index.js.map +1 -1
  479. package/esm/resources/SetupAttempts.d.ts +1 -35
  480. package/esm/resources/SetupAttempts.js.map +1 -1
  481. package/esm/resources/SetupIntents.d.ts +11 -627
  482. package/esm/resources/SetupIntents.js.map +1 -1
  483. package/esm/resources/Sources.d.ts +1 -29
  484. package/esm/resources/SubscriptionItems.d.ts +1 -266
  485. package/esm/resources/SubscriptionItems.js +0 -41
  486. package/esm/resources/SubscriptionItems.js.map +1 -1
  487. package/esm/resources/SubscriptionSchedules.d.ts +65 -2396
  488. package/esm/resources/SubscriptionSchedules.js +0 -61
  489. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  490. package/esm/resources/Subscriptions.d.ts +13 -971
  491. package/esm/resources/Subscriptions.js +1 -290
  492. package/esm/resources/Subscriptions.js.map +1 -1
  493. package/esm/resources/Tax/CalculationLineItems.d.ts +3 -14
  494. package/esm/resources/Tax/Calculations.d.ts +4 -46
  495. package/esm/resources/Tax/Registrations.d.ts +2 -171
  496. package/esm/resources/Tax/Registrations.js +0 -27
  497. package/esm/resources/Tax/Registrations.js.map +1 -1
  498. package/esm/resources/Tax/Settings.d.ts +0 -8
  499. package/esm/resources/Tax/Settings.js +0 -13
  500. package/esm/resources/Tax/Settings.js.map +1 -1
  501. package/esm/resources/Tax/Transactions.d.ts +2 -10
  502. package/esm/resources/Tax/Transactions.js +0 -13
  503. package/esm/resources/Tax/Transactions.js.map +1 -1
  504. package/esm/resources/Tax/index.d.ts +13 -31
  505. package/esm/resources/Tax/index.js +0 -4
  506. package/esm/resources/Tax/index.js.map +1 -1
  507. package/esm/resources/TaxCodes.d.ts +1 -16
  508. package/esm/resources/TaxIds.d.ts +0 -6
  509. package/esm/resources/TaxIds.js +0 -13
  510. package/esm/resources/TaxIds.js.map +1 -1
  511. package/esm/resources/TaxRates.d.ts +0 -12
  512. package/esm/resources/TaxRates.js +0 -27
  513. package/esm/resources/TaxRates.js.map +1 -1
  514. package/esm/resources/Terminal/Configurations.d.ts +0 -27
  515. package/esm/resources/Terminal/Readers.d.ts +2 -207
  516. package/esm/resources/Terminal/Readers.js +0 -24
  517. package/esm/resources/Terminal/Readers.js.map +1 -1
  518. package/esm/resources/Terminal/index.d.ts +0 -9
  519. package/esm/resources/Terminal/index.js +0 -2
  520. package/esm/resources/Terminal/index.js.map +1 -1
  521. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +1 -100
  522. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +0 -102
  523. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +0 -110
  524. package/esm/resources/TestHelpers/Issuing/index.d.ts +0 -2
  525. package/esm/resources/TestHelpers/Issuing/index.js +0 -2
  526. package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
  527. package/esm/resources/TestHelpers/Terminal/Readers.d.ts +1 -15
  528. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  529. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  530. package/esm/resources/TestHelpers/index.d.ts +6 -14
  531. package/esm/resources/TestHelpers/index.js +0 -6
  532. package/esm/resources/TestHelpers/index.js.map +1 -1
  533. package/esm/resources/Tokens.d.ts +0 -82
  534. package/esm/resources/Transfers.d.ts +0 -12
  535. package/esm/resources/Transfers.js.map +1 -1
  536. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  537. package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
  538. package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
  539. package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
  540. package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
  541. package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
  542. package/esm/resources/V2/Billing/index.d.ts +6 -175
  543. package/esm/resources/V2/Billing/index.js +0 -32
  544. package/esm/resources/V2/Billing/index.js.map +1 -1
  545. package/esm/resources/V2/Core/AccountLinks.d.ts +6 -158
  546. package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
  547. package/esm/resources/V2/Core/AccountTokens.d.ts +2 -220
  548. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  549. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  550. package/esm/resources/V2/Core/Accounts.d.ts +3731 -17878
  551. package/esm/resources/V2/Core/Accounts.js +38 -10364
  552. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  553. package/esm/resources/V2/Core/Events.d.ts +234 -7883
  554. package/esm/resources/V2/Core/index.d.ts +14 -66
  555. package/esm/resources/V2/Core/index.js +0 -18
  556. package/esm/resources/V2/Core/index.js.map +1 -1
  557. package/esm/resources/V2/index.d.ts +0 -42
  558. package/esm/resources/V2/index.js +0 -24
  559. package/esm/resources/V2/index.js.map +1 -1
  560. package/esm/resources/WebhookEndpoints.d.ts +2 -2
  561. package/esm/resources.d.ts +0 -19
  562. package/esm/resources.js +0 -261
  563. package/esm/resources.js.map +1 -1
  564. package/esm/stripe.core.d.ts +84 -158
  565. package/esm/stripe.core.js +78 -102
  566. package/esm/stripe.core.js.map +1 -1
  567. package/esm/stripe.esm.extensibility.d.ts +9 -0
  568. package/esm/stripe.esm.extensibility.js +9 -0
  569. package/esm/stripe.esm.extensibility.js.map +1 -0
  570. package/esm/stripe.esm.node.d.ts +74 -158
  571. package/esm/stripe.esm.node.js +73 -91
  572. package/esm/stripe.esm.node.js.map +1 -1
  573. package/esm/utils.d.ts +5 -0
  574. package/esm/utils.js +28 -0
  575. package/esm/utils.js.map +1 -1
  576. package/package.json +5 -1
  577. package/cjs/StripeEventNotificationHandler.d.ts +0 -19
  578. package/cjs/StripeEventNotificationHandler.js +0 -491
  579. package/cjs/StripeEventNotificationHandler.js.map +0 -1
  580. package/cjs/resources/AccountNotices.d.ts +0 -140
  581. package/cjs/resources/AccountNotices.js +0 -29
  582. package/cjs/resources/AccountNotices.js.map +0 -1
  583. package/cjs/resources/AccountSignals.d.ts +0 -111
  584. package/cjs/resources/AccountSignals.js +0 -4
  585. package/cjs/resources/AccountSignals.js.map +0 -1
  586. package/cjs/resources/BalanceTransfers.d.ts +0 -160
  587. package/cjs/resources/BalanceTransfers.js +0 -15
  588. package/cjs/resources/BalanceTransfers.js.map +0 -1
  589. package/cjs/resources/Billing/AlertNotifications.d.ts +0 -75
  590. package/cjs/resources/Billing/AlertNotifications.js +0 -4
  591. package/cjs/resources/Billing/AlertNotifications.js.map +0 -1
  592. package/cjs/resources/Billing/AlertRecovereds.d.ts +0 -56
  593. package/cjs/resources/Billing/AlertRecovereds.js +0 -4
  594. package/cjs/resources/Billing/AlertRecovereds.js.map +0 -1
  595. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -88
  596. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  597. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  598. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -38
  599. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  600. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  601. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  602. package/cjs/resources/Billing/Analytics/index.js +0 -13
  603. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  604. package/cjs/resources/Billing/FeedbackOptions.d.ts +0 -32
  605. package/cjs/resources/Billing/FeedbackOptions.js +0 -4
  606. package/cjs/resources/Billing/FeedbackOptions.js.map +0 -1
  607. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -194
  608. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  609. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  610. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -102
  611. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  612. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  613. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -141
  614. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  615. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  616. package/cjs/resources/Capital/index.d.ts +0 -25
  617. package/cjs/resources/Capital/index.js +0 -17
  618. package/cjs/resources/Capital/index.js.map +0 -1
  619. package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +0 -30
  620. package/cjs/resources/Crypto/CustomerConsumerWallets.js +0 -4
  621. package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +0 -1
  622. package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +0 -80
  623. package/cjs/resources/Crypto/CustomerPaymentTokens.js +0 -4
  624. package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +0 -1
  625. package/cjs/resources/Crypto/Customers.d.ts +0 -111
  626. package/cjs/resources/Crypto/Customers.js +0 -31
  627. package/cjs/resources/Crypto/Customers.js.map +0 -1
  628. package/cjs/resources/Crypto/DepositAddresses.d.ts +0 -128
  629. package/cjs/resources/Crypto/DepositAddresses.js +0 -31
  630. package/cjs/resources/Crypto/DepositAddresses.js.map +0 -1
  631. package/cjs/resources/Crypto/OnrampSessions.d.ts +0 -421
  632. package/cjs/resources/Crypto/OnrampSessions.js +0 -47
  633. package/cjs/resources/Crypto/OnrampSessions.js.map +0 -1
  634. package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +0 -61
  635. package/cjs/resources/Crypto/OnrampTransactionLimits.js +0 -15
  636. package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +0 -1
  637. package/cjs/resources/Crypto/index.d.ts +0 -41
  638. package/cjs/resources/Crypto/index.js +0 -19
  639. package/cjs/resources/Crypto/index.js.map +0 -1
  640. package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +0 -129
  641. package/cjs/resources/DelegatedCheckout/OrderEvents.js +0 -4
  642. package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +0 -1
  643. package/cjs/resources/DelegatedCheckout/Orders.d.ts +0 -159
  644. package/cjs/resources/DelegatedCheckout/Orders.js +0 -15
  645. package/cjs/resources/DelegatedCheckout/Orders.js.map +0 -1
  646. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +0 -1420
  647. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +0 -47
  648. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +0 -1
  649. package/cjs/resources/DelegatedCheckout/index.d.ts +0 -25
  650. package/cjs/resources/DelegatedCheckout/index.js +0 -15
  651. package/cjs/resources/DelegatedCheckout/index.js.map +0 -1
  652. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  653. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  654. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  655. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -99
  656. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  657. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  658. package/cjs/resources/FxQuotes.d.ts +0 -212
  659. package/cjs/resources/FxQuotes.js +0 -29
  660. package/cjs/resources/FxQuotes.js.map +0 -1
  661. package/cjs/resources/GiftCardOperations.d.ts +0 -249
  662. package/cjs/resources/GiftCardOperations.js +0 -15
  663. package/cjs/resources/GiftCardOperations.js.map +0 -1
  664. package/cjs/resources/GiftCards.d.ts +0 -181
  665. package/cjs/resources/GiftCards.js +0 -51
  666. package/cjs/resources/GiftCards.js.map +0 -1
  667. package/cjs/resources/Identity/BlocklistEntries.d.ts +0 -155
  668. package/cjs/resources/Identity/BlocklistEntries.js +0 -54
  669. package/cjs/resources/Identity/BlocklistEntries.js.map +0 -1
  670. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -654
  671. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -53
  672. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  673. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
  674. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  675. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  676. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  677. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  678. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  679. package/cjs/resources/Issuing/Programs.d.ts +0 -95
  680. package/cjs/resources/Issuing/Programs.js +0 -35
  681. package/cjs/resources/Issuing/Programs.js.map +0 -1
  682. package/cjs/resources/Issuing/Settlements.d.ts +0 -83
  683. package/cjs/resources/Issuing/Settlements.js +0 -4
  684. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  685. package/cjs/resources/Margins.d.ts +0 -115
  686. package/cjs/resources/Margins.js +0 -35
  687. package/cjs/resources/Margins.js.map +0 -1
  688. package/cjs/resources/Orchestration/PaymentAttempts.d.ts +0 -34
  689. package/cjs/resources/Orchestration/PaymentAttempts.js +0 -15
  690. package/cjs/resources/Orchestration/PaymentAttempts.js.map +0 -1
  691. package/cjs/resources/Orchestration/index.d.ts +0 -12
  692. package/cjs/resources/Orchestration/index.js +0 -13
  693. package/cjs/resources/Orchestration/index.js.map +0 -1
  694. package/cjs/resources/Orders.d.ts +0 -4773
  695. package/cjs/resources/Orders.js +0 -457
  696. package/cjs/resources/Orders.js.map +0 -1
  697. package/cjs/resources/PaymentLocationCapabilities.d.ts +0 -123
  698. package/cjs/resources/PaymentLocationCapabilities.js +0 -29
  699. package/cjs/resources/PaymentLocationCapabilities.js.map +0 -1
  700. package/cjs/resources/PaymentLocations.d.ts +0 -178
  701. package/cjs/resources/PaymentLocations.js +0 -41
  702. package/cjs/resources/PaymentLocations.js.map +0 -1
  703. package/cjs/resources/PaymentMethodBalances.d.ts +0 -46
  704. package/cjs/resources/PaymentMethodBalances.js +0 -4
  705. package/cjs/resources/PaymentMethodBalances.js.map +0 -1
  706. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
  707. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  708. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  709. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -227
  710. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  711. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  712. package/cjs/resources/Privacy/index.d.ts +0 -22
  713. package/cjs/resources/Privacy/index.js +0 -13
  714. package/cjs/resources/Privacy/index.js.map +0 -1
  715. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -158
  716. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -29
  717. package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
  718. package/cjs/resources/ProductCatalog/index.d.ts +0 -14
  719. package/cjs/resources/ProductCatalog/index.js +0 -13
  720. package/cjs/resources/ProductCatalog/index.js.map +0 -1
  721. package/cjs/resources/Profiles.d.ts +0 -68
  722. package/cjs/resources/Profiles.js +0 -4
  723. package/cjs/resources/Profiles.js.map +0 -1
  724. package/cjs/resources/QuoteLines.d.ts +0 -684
  725. package/cjs/resources/QuoteLines.js +0 -4
  726. package/cjs/resources/QuoteLines.js.map +0 -1
  727. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1179
  728. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  729. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  730. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -1045
  731. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  732. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  733. package/cjs/resources/Radar/AccountEvaluations.d.ts +0 -308
  734. package/cjs/resources/Radar/AccountEvaluations.js +0 -27
  735. package/cjs/resources/Radar/AccountEvaluations.js.map +0 -1
  736. package/cjs/resources/Radar/CustomerEvaluations.d.ts +0 -245
  737. package/cjs/resources/Radar/CustomerEvaluations.js +0 -27
  738. package/cjs/resources/Radar/CustomerEvaluations.js.map +0 -1
  739. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +0 -433
  740. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +0 -15
  741. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +0 -1
  742. package/cjs/resources/RiskSignals.d.ts +0 -10
  743. package/cjs/resources/RiskSignals.js +0 -4
  744. package/cjs/resources/RiskSignals.js.map +0 -1
  745. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -425
  746. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  747. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  748. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -344
  749. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  750. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  751. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  752. package/cjs/resources/SharedPayment/index.js +0 -15
  753. package/cjs/resources/SharedPayment/index.js.map +0 -1
  754. package/cjs/resources/Tax/Forms.d.ts +0 -228
  755. package/cjs/resources/Tax/Forms.js +0 -32
  756. package/cjs/resources/Tax/Forms.js.map +0 -1
  757. package/cjs/resources/Tax/Locations.d.ts +0 -112
  758. package/cjs/resources/Tax/Locations.js +0 -33
  759. package/cjs/resources/Tax/Locations.js.map +0 -1
  760. package/cjs/resources/TaxFunds.d.ts +0 -174
  761. package/cjs/resources/TaxFunds.js +0 -23
  762. package/cjs/resources/TaxFunds.js.map +0 -1
  763. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -50
  764. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  765. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  766. package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +0 -81
  767. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +0 -21
  768. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +0 -1
  769. package/cjs/resources/TestHelpers/Capital/index.d.ts +0 -8
  770. package/cjs/resources/TestHelpers/Capital/index.js +0 -13
  771. package/cjs/resources/TestHelpers/Capital/index.js.map +0 -1
  772. package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +0 -127
  773. package/cjs/resources/TestHelpers/Issuing/Disputes.js +0 -39
  774. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +0 -1
  775. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +0 -38
  776. package/cjs/resources/TestHelpers/PaymentIntents.js +0 -15
  777. package/cjs/resources/TestHelpers/PaymentIntents.js.map +0 -1
  778. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -75
  779. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  780. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  781. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  782. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  783. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  784. package/cjs/resources/TransitBalances.d.ts +0 -25
  785. package/cjs/resources/TransitBalances.js +0 -4
  786. package/cjs/resources/TransitBalances.js.map +0 -1
  787. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
  788. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  789. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  790. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  791. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  792. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  793. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -281
  794. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  795. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  796. package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +0 -84
  797. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +0 -4
  798. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +0 -1
  799. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +0 -37
  800. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +0 -23
  801. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +0 -1
  802. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -1011
  803. package/cjs/resources/V2/Billing/Cadences.js +0 -264
  804. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  805. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
  806. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  807. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  808. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  809. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  810. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  811. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -776
  812. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  813. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  814. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +0 -47
  815. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +0 -4
  816. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +0 -1
  817. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +0 -23
  818. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +0 -29
  819. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +0 -1
  820. package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +0 -8
  821. package/cjs/resources/V2/Billing/Contracts/PricingLines.js +0 -15
  822. package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +0 -1
  823. package/cjs/resources/V2/Billing/Contracts.d.ts +0 -1484
  824. package/cjs/resources/V2/Billing/Contracts.js +0 -331
  825. package/cjs/resources/V2/Billing/Contracts.js.map +0 -1
  826. package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +0 -125
  827. package/cjs/resources/V2/Billing/CustomPricingUnits.js +0 -35
  828. package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +0 -1
  829. package/cjs/resources/V2/Billing/IntentActions.d.ts +0 -603
  830. package/cjs/resources/V2/Billing/IntentActions.js +0 -4
  831. package/cjs/resources/V2/Billing/IntentActions.js.map +0 -1
  832. package/cjs/resources/V2/Billing/Intents/Actions.d.ts +0 -33
  833. package/cjs/resources/V2/Billing/Intents/Actions.js +0 -70
  834. package/cjs/resources/V2/Billing/Intents/Actions.js.map +0 -1
  835. package/cjs/resources/V2/Billing/Intents.d.ts +0 -1261
  836. package/cjs/resources/V2/Billing/Intents.js +0 -87
  837. package/cjs/resources/V2/Billing/Intents.js.map +0 -1
  838. package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +0 -78
  839. package/cjs/resources/V2/Billing/LicenseFeeVersions.js +0 -4
  840. package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +0 -1
  841. package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +0 -33
  842. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -64
  843. package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +0 -1
  844. package/cjs/resources/V2/Billing/LicenseFees.d.ts +0 -360
  845. package/cjs/resources/V2/Billing/LicenseFees.js +0 -148
  846. package/cjs/resources/V2/Billing/LicenseFees.js.map +0 -1
  847. package/cjs/resources/V2/Billing/LicensedItems.d.ts +0 -170
  848. package/cjs/resources/V2/Billing/LicensedItems.js +0 -35
  849. package/cjs/resources/V2/Billing/LicensedItems.js.map +0 -1
  850. package/cjs/resources/V2/Billing/MeteredItems.d.ts +0 -218
  851. package/cjs/resources/V2/Billing/MeteredItems.js +0 -35
  852. package/cjs/resources/V2/Billing/MeteredItems.js.map +0 -1
  853. package/cjs/resources/V2/Billing/OneTimeItems.d.ts +0 -170
  854. package/cjs/resources/V2/Billing/OneTimeItems.js +0 -35
  855. package/cjs/resources/V2/Billing/OneTimeItems.js.map +0 -1
  856. package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +0 -80
  857. package/cjs/resources/V2/Billing/PricingPlanComponents.js +0 -4
  858. package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +0 -1
  859. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +0 -620
  860. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -296
  861. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +0 -1
  862. package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +0 -30
  863. package/cjs/resources/V2/Billing/PricingPlanVersions.js +0 -4
  864. package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +0 -1
  865. package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +0 -142
  866. package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -41
  867. package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +0 -1
  868. package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +0 -33
  869. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -23
  870. package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +0 -1
  871. package/cjs/resources/V2/Billing/PricingPlans.d.ts +0 -169
  872. package/cjs/resources/V2/Billing/PricingPlans.js +0 -43
  873. package/cjs/resources/V2/Billing/PricingPlans.js.map +0 -1
  874. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -162
  875. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  876. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  877. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +0 -45
  878. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +0 -4
  879. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +0 -1
  880. package/cjs/resources/V2/Billing/RateCardRates.d.ts +0 -111
  881. package/cjs/resources/V2/Billing/RateCardRates.js +0 -4
  882. package/cjs/resources/V2/Billing/RateCardRates.js.map +0 -1
  883. package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +0 -215
  884. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -41
  885. package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +0 -1
  886. package/cjs/resources/V2/Billing/RateCardVersions.d.ts +0 -22
  887. package/cjs/resources/V2/Billing/RateCardVersions.js +0 -4
  888. package/cjs/resources/V2/Billing/RateCardVersions.js.map +0 -1
  889. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +0 -79
  890. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +0 -35
  891. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +0 -1
  892. package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +0 -145
  893. package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -110
  894. package/cjs/resources/V2/Billing/RateCards/Rates.js.map +0 -1
  895. package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +0 -33
  896. package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -23
  897. package/cjs/resources/V2/Billing/RateCards/Versions.js.map +0 -1
  898. package/cjs/resources/V2/Billing/RateCards.d.ts +0 -336
  899. package/cjs/resources/V2/Billing/RateCards.js +0 -76
  900. package/cjs/resources/V2/Billing/RateCards.js.map +0 -1
  901. package/cjs/resources/V2/Billing/ServiceActions.d.ts +0 -510
  902. package/cjs/resources/V2/Billing/ServiceActions.js +0 -162
  903. package/cjs/resources/V2/Billing/ServiceActions.js.map +0 -1
  904. package/cjs/resources/V2/Core/AccountEvaluations.d.ts +0 -159
  905. package/cjs/resources/V2/Core/AccountEvaluations.js +0 -15
  906. package/cjs/resources/V2/Core/AccountEvaluations.js.map +0 -1
  907. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +0 -331
  908. package/cjs/resources/V2/Core/ApprovalRequests.js +0 -46
  909. package/cjs/resources/V2/Core/ApprovalRequests.js.map +0 -1
  910. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -360
  911. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  912. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  913. package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +0 -225
  914. package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -31
  915. package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +0 -1
  916. package/cjs/resources/V2/Core/ConnectionSessions.d.ts +0 -86
  917. package/cjs/resources/V2/Core/ConnectionSessions.js +0 -21
  918. package/cjs/resources/V2/Core/ConnectionSessions.js.map +0 -1
  919. package/cjs/resources/V2/Core/FeeBatches.d.ts +0 -234
  920. package/cjs/resources/V2/Core/FeeBatches.js +0 -23
  921. package/cjs/resources/V2/Core/FeeBatches.js.map +0 -1
  922. package/cjs/resources/V2/Core/FeeEntries.d.ts +0 -200
  923. package/cjs/resources/V2/Core/FeeEntries.js +0 -23
  924. package/cjs/resources/V2/Core/FeeEntries.js.map +0 -1
  925. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +0 -416
  926. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +0 -4
  927. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +0 -1
  928. package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +0 -23
  929. package/cjs/resources/V2/Core/Health/Alerts/History.js +0 -101
  930. package/cjs/resources/V2/Core/Health/Alerts/History.js.map +0 -1
  931. package/cjs/resources/V2/Core/Health/Alerts.d.ts +0 -530
  932. package/cjs/resources/V2/Core/Health/Alerts.js +0 -182
  933. package/cjs/resources/V2/Core/Health/Alerts.js.map +0 -1
  934. package/cjs/resources/V2/Core/Health/index.d.ts +0 -16
  935. package/cjs/resources/V2/Core/Health/index.js +0 -13
  936. package/cjs/resources/V2/Core/Health/index.js.map +0 -1
  937. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -280
  938. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  939. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  940. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -252
  941. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -65
  942. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  943. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  944. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  945. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  946. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +0 -74
  947. package/cjs/resources/V2/Data/Analytics/MetricQuery.js +0 -36
  948. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +0 -1
  949. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +0 -76
  950. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +0 -4
  951. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +0 -1
  952. package/cjs/resources/V2/Data/Analytics/index.d.ts +0 -12
  953. package/cjs/resources/V2/Data/Analytics/index.js +0 -13
  954. package/cjs/resources/V2/Data/Analytics/index.js.map +0 -1
  955. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -172
  956. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  957. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  958. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  959. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  960. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  961. package/cjs/resources/V2/Data/index.d.ts +0 -13
  962. package/cjs/resources/V2/Data/index.js +0 -15
  963. package/cjs/resources/V2/Data/index.js.map +0 -1
  964. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
  965. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  966. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  967. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -120
  968. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  969. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  970. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  971. package/cjs/resources/V2/Extend/index.js +0 -15
  972. package/cjs/resources/V2/Extend/index.js.map +0 -1
  973. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  974. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  975. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  976. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  977. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  978. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  979. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -218
  980. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
  981. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  982. package/cjs/resources/V2/Iam/ApiKeys.d.ts +0 -305
  983. package/cjs/resources/V2/Iam/ApiKeys.js +0 -47
  984. package/cjs/resources/V2/Iam/ApiKeys.js.map +0 -1
  985. package/cjs/resources/V2/Iam/index.d.ts +0 -23
  986. package/cjs/resources/V2/Iam/index.js +0 -15
  987. package/cjs/resources/V2/Iam/index.js.map +0 -1
  988. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  989. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  990. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  991. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +0 -131
  992. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +0 -31
  993. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +0 -1
  994. package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +0 -169
  995. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +0 -29
  996. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +0 -1
  997. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +0 -99
  998. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +0 -4
  999. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +0 -1
  1000. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +0 -49
  1001. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +0 -53
  1002. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +0 -1
  1003. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -438
  1004. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -50
  1005. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  1006. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +0 -14
  1007. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +0 -4
  1008. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +0 -1
  1009. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -304
  1010. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  1011. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  1012. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -251
  1013. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  1014. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  1015. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -219
  1016. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  1017. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  1018. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -638
  1019. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  1020. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1021. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -318
  1022. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  1023. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1024. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -394
  1025. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  1026. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1027. package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +0 -525
  1028. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +0 -44
  1029. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +0 -1
  1030. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -277
  1031. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
  1032. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1033. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
  1034. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  1035. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1036. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -481
  1037. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  1038. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1039. package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +0 -166
  1040. package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js +0 -29
  1041. package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +0 -1
  1042. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -308
  1043. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  1044. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1045. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +0 -116
  1046. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +0 -27
  1047. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +0 -1
  1048. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +0 -34
  1049. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -15
  1050. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +0 -1
  1051. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
  1052. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +0 -13
  1053. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
  1054. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -266
  1055. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  1056. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1057. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -297
  1058. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
  1059. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1060. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -150
  1061. package/cjs/resources/V2/MoneyManagement/index.js +0 -51
  1062. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  1063. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -92
  1064. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  1065. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1066. package/cjs/resources/V2/Network/index.d.ts +0 -13
  1067. package/cjs/resources/V2/Network/index.js +0 -13
  1068. package/cjs/resources/V2/Network/index.js.map +0 -1
  1069. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
  1070. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  1071. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1072. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1073. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  1074. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1075. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +0 -835
  1076. package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -53
  1077. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +0 -1
  1078. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +0 -73
  1079. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +0 -4
  1080. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +0 -1
  1081. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +0 -85
  1082. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +0 -35
  1083. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +0 -1
  1084. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +0 -209
  1085. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +0 -53
  1086. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +0 -1
  1087. package/cjs/resources/V2/Payments/index.d.ts +0 -31
  1088. package/cjs/resources/V2/Payments/index.js +0 -15
  1089. package/cjs/resources/V2/Payments/index.js.map +0 -1
  1090. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +0 -191
  1091. package/cjs/resources/V2/Reporting/ReportRuns.js +0 -50
  1092. package/cjs/resources/V2/Reporting/ReportRuns.js.map +0 -1
  1093. package/cjs/resources/V2/Reporting/Reports.d.ts +0 -106
  1094. package/cjs/resources/V2/Reporting/Reports.js +0 -17
  1095. package/cjs/resources/V2/Reporting/Reports.js.map +0 -1
  1096. package/cjs/resources/V2/Reporting/index.d.ts +0 -18
  1097. package/cjs/resources/V2/Reporting/index.js +0 -15
  1098. package/cjs/resources/V2/Reporting/index.js.map +0 -1
  1099. package/cjs/resources/V2/Risk/Inquiries.d.ts +0 -143
  1100. package/cjs/resources/V2/Risk/Inquiries.js +0 -29
  1101. package/cjs/resources/V2/Risk/Inquiries.js.map +0 -1
  1102. package/cjs/resources/V2/Risk/index.d.ts +0 -14
  1103. package/cjs/resources/V2/Risk/index.js +0 -13
  1104. package/cjs/resources/V2/Risk/index.js.map +0 -1
  1105. package/cjs/resources/V2/Signals/AccountActivity.d.ts +0 -424
  1106. package/cjs/resources/V2/Signals/AccountActivity.js +0 -27
  1107. package/cjs/resources/V2/Signals/AccountActivity.js.map +0 -1
  1108. package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
  1109. package/cjs/resources/V2/Signals/AccountEvaluations.js +0 -59
  1110. package/cjs/resources/V2/Signals/AccountEvaluations.js.map +0 -1
  1111. package/cjs/resources/V2/Signals/AccountSignals.d.ts +0 -281
  1112. package/cjs/resources/V2/Signals/AccountSignals.js +0 -110
  1113. package/cjs/resources/V2/Signals/AccountSignals.js.map +0 -1
  1114. package/cjs/resources/V2/Signals/index.d.ts +0 -26
  1115. package/cjs/resources/V2/Signals/index.js +0 -17
  1116. package/cjs/resources/V2/Signals/index.js.map +0 -1
  1117. package/cjs/resources/V2/Tax/ManualRules.d.ts +0 -331
  1118. package/cjs/resources/V2/Tax/ManualRules.js +0 -193
  1119. package/cjs/resources/V2/Tax/ManualRules.js.map +0 -1
  1120. package/cjs/resources/V2/Tax/index.d.ts +0 -16
  1121. package/cjs/resources/V2/Tax/index.js +0 -13
  1122. package/cjs/resources/V2/Tax/index.js.map +0 -1
  1123. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
  1124. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  1125. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1126. package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +0 -31
  1127. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +0 -15
  1128. package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +0 -1
  1129. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -10
  1130. package/cjs/resources/V2/TestHelpers/index.js +0 -15
  1131. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  1132. package/esm/StripeEventNotificationHandler.d.ts +0 -19
  1133. package/esm/StripeEventNotificationHandler.js +0 -487
  1134. package/esm/StripeEventNotificationHandler.js.map +0 -1
  1135. package/esm/resources/AccountNotices.d.ts +0 -140
  1136. package/esm/resources/AccountNotices.js +0 -25
  1137. package/esm/resources/AccountNotices.js.map +0 -1
  1138. package/esm/resources/AccountSignals.d.ts +0 -111
  1139. package/esm/resources/AccountSignals.js +0 -3
  1140. package/esm/resources/AccountSignals.js.map +0 -1
  1141. package/esm/resources/BalanceTransfers.d.ts +0 -160
  1142. package/esm/resources/BalanceTransfers.js +0 -11
  1143. package/esm/resources/BalanceTransfers.js.map +0 -1
  1144. package/esm/resources/Billing/AlertNotifications.d.ts +0 -75
  1145. package/esm/resources/Billing/AlertNotifications.js +0 -3
  1146. package/esm/resources/Billing/AlertNotifications.js.map +0 -1
  1147. package/esm/resources/Billing/AlertRecovereds.d.ts +0 -56
  1148. package/esm/resources/Billing/AlertRecovereds.js +0 -3
  1149. package/esm/resources/Billing/AlertRecovereds.js.map +0 -1
  1150. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -88
  1151. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  1152. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  1153. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -38
  1154. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  1155. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  1156. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  1157. package/esm/resources/Billing/Analytics/index.js +0 -9
  1158. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  1159. package/esm/resources/Billing/FeedbackOptions.d.ts +0 -32
  1160. package/esm/resources/Billing/FeedbackOptions.js +0 -3
  1161. package/esm/resources/Billing/FeedbackOptions.js.map +0 -1
  1162. package/esm/resources/Capital/FinancingOffers.d.ts +0 -194
  1163. package/esm/resources/Capital/FinancingOffers.js +0 -26
  1164. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  1165. package/esm/resources/Capital/FinancingSummary.d.ts +0 -102
  1166. package/esm/resources/Capital/FinancingSummary.js +0 -11
  1167. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  1168. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -141
  1169. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  1170. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  1171. package/esm/resources/Capital/index.d.ts +0 -25
  1172. package/esm/resources/Capital/index.js +0 -13
  1173. package/esm/resources/Capital/index.js.map +0 -1
  1174. package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +0 -30
  1175. package/esm/resources/Crypto/CustomerConsumerWallets.js +0 -3
  1176. package/esm/resources/Crypto/CustomerConsumerWallets.js.map +0 -1
  1177. package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +0 -80
  1178. package/esm/resources/Crypto/CustomerPaymentTokens.js +0 -3
  1179. package/esm/resources/Crypto/CustomerPaymentTokens.js.map +0 -1
  1180. package/esm/resources/Crypto/Customers.d.ts +0 -111
  1181. package/esm/resources/Crypto/Customers.js +0 -27
  1182. package/esm/resources/Crypto/Customers.js.map +0 -1
  1183. package/esm/resources/Crypto/DepositAddresses.d.ts +0 -128
  1184. package/esm/resources/Crypto/DepositAddresses.js +0 -27
  1185. package/esm/resources/Crypto/DepositAddresses.js.map +0 -1
  1186. package/esm/resources/Crypto/OnrampSessions.d.ts +0 -421
  1187. package/esm/resources/Crypto/OnrampSessions.js +0 -43
  1188. package/esm/resources/Crypto/OnrampSessions.js.map +0 -1
  1189. package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +0 -61
  1190. package/esm/resources/Crypto/OnrampTransactionLimits.js +0 -11
  1191. package/esm/resources/Crypto/OnrampTransactionLimits.js.map +0 -1
  1192. package/esm/resources/Crypto/index.d.ts +0 -41
  1193. package/esm/resources/Crypto/index.js +0 -15
  1194. package/esm/resources/Crypto/index.js.map +0 -1
  1195. package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +0 -129
  1196. package/esm/resources/DelegatedCheckout/OrderEvents.js +0 -3
  1197. package/esm/resources/DelegatedCheckout/OrderEvents.js.map +0 -1
  1198. package/esm/resources/DelegatedCheckout/Orders.d.ts +0 -159
  1199. package/esm/resources/DelegatedCheckout/Orders.js +0 -11
  1200. package/esm/resources/DelegatedCheckout/Orders.js.map +0 -1
  1201. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +0 -1420
  1202. package/esm/resources/DelegatedCheckout/RequestedSessions.js +0 -43
  1203. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +0 -1
  1204. package/esm/resources/DelegatedCheckout/index.d.ts +0 -25
  1205. package/esm/resources/DelegatedCheckout/index.js +0 -11
  1206. package/esm/resources/DelegatedCheckout/index.js.map +0 -1
  1207. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  1208. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  1209. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  1210. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -99
  1211. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  1212. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  1213. package/esm/resources/FxQuotes.d.ts +0 -212
  1214. package/esm/resources/FxQuotes.js +0 -25
  1215. package/esm/resources/FxQuotes.js.map +0 -1
  1216. package/esm/resources/GiftCardOperations.d.ts +0 -249
  1217. package/esm/resources/GiftCardOperations.js +0 -11
  1218. package/esm/resources/GiftCardOperations.js.map +0 -1
  1219. package/esm/resources/GiftCards.d.ts +0 -181
  1220. package/esm/resources/GiftCards.js +0 -47
  1221. package/esm/resources/GiftCards.js.map +0 -1
  1222. package/esm/resources/Identity/BlocklistEntries.d.ts +0 -155
  1223. package/esm/resources/Identity/BlocklistEntries.js +0 -50
  1224. package/esm/resources/Identity/BlocklistEntries.js.map +0 -1
  1225. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -654
  1226. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -49
  1227. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  1228. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
  1229. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  1230. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  1231. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  1232. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  1233. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  1234. package/esm/resources/Issuing/Programs.d.ts +0 -95
  1235. package/esm/resources/Issuing/Programs.js +0 -31
  1236. package/esm/resources/Issuing/Programs.js.map +0 -1
  1237. package/esm/resources/Issuing/Settlements.d.ts +0 -83
  1238. package/esm/resources/Issuing/Settlements.js +0 -3
  1239. package/esm/resources/Issuing/Settlements.js.map +0 -1
  1240. package/esm/resources/Margins.d.ts +0 -115
  1241. package/esm/resources/Margins.js +0 -31
  1242. package/esm/resources/Margins.js.map +0 -1
  1243. package/esm/resources/Orchestration/PaymentAttempts.d.ts +0 -34
  1244. package/esm/resources/Orchestration/PaymentAttempts.js +0 -11
  1245. package/esm/resources/Orchestration/PaymentAttempts.js.map +0 -1
  1246. package/esm/resources/Orchestration/index.d.ts +0 -12
  1247. package/esm/resources/Orchestration/index.js +0 -9
  1248. package/esm/resources/Orchestration/index.js.map +0 -1
  1249. package/esm/resources/Orders.d.ts +0 -4773
  1250. package/esm/resources/Orders.js +0 -453
  1251. package/esm/resources/Orders.js.map +0 -1
  1252. package/esm/resources/PaymentLocationCapabilities.d.ts +0 -123
  1253. package/esm/resources/PaymentLocationCapabilities.js +0 -25
  1254. package/esm/resources/PaymentLocationCapabilities.js.map +0 -1
  1255. package/esm/resources/PaymentLocations.d.ts +0 -178
  1256. package/esm/resources/PaymentLocations.js +0 -37
  1257. package/esm/resources/PaymentLocations.js.map +0 -1
  1258. package/esm/resources/PaymentMethodBalances.d.ts +0 -46
  1259. package/esm/resources/PaymentMethodBalances.js +0 -3
  1260. package/esm/resources/PaymentMethodBalances.js.map +0 -1
  1261. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
  1262. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  1263. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  1264. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -227
  1265. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  1266. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  1267. package/esm/resources/Privacy/index.d.ts +0 -22
  1268. package/esm/resources/Privacy/index.js +0 -9
  1269. package/esm/resources/Privacy/index.js.map +0 -1
  1270. package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -158
  1271. package/esm/resources/ProductCatalog/TrialOffers.js +0 -25
  1272. package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
  1273. package/esm/resources/ProductCatalog/index.d.ts +0 -14
  1274. package/esm/resources/ProductCatalog/index.js +0 -9
  1275. package/esm/resources/ProductCatalog/index.js.map +0 -1
  1276. package/esm/resources/Profiles.d.ts +0 -68
  1277. package/esm/resources/Profiles.js +0 -3
  1278. package/esm/resources/Profiles.js.map +0 -1
  1279. package/esm/resources/QuoteLines.d.ts +0 -684
  1280. package/esm/resources/QuoteLines.js +0 -3
  1281. package/esm/resources/QuoteLines.js.map +0 -1
  1282. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1179
  1283. package/esm/resources/QuotePreviewInvoices.js +0 -3
  1284. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  1285. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -1045
  1286. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  1287. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  1288. package/esm/resources/Radar/AccountEvaluations.d.ts +0 -308
  1289. package/esm/resources/Radar/AccountEvaluations.js +0 -23
  1290. package/esm/resources/Radar/AccountEvaluations.js.map +0 -1
  1291. package/esm/resources/Radar/CustomerEvaluations.d.ts +0 -245
  1292. package/esm/resources/Radar/CustomerEvaluations.js +0 -23
  1293. package/esm/resources/Radar/CustomerEvaluations.js.map +0 -1
  1294. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +0 -433
  1295. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +0 -11
  1296. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +0 -1
  1297. package/esm/resources/RiskSignals.d.ts +0 -10
  1298. package/esm/resources/RiskSignals.js +0 -3
  1299. package/esm/resources/RiskSignals.js.map +0 -1
  1300. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -425
  1301. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  1302. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  1303. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -344
  1304. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  1305. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  1306. package/esm/resources/SharedPayment/index.d.ts +0 -19
  1307. package/esm/resources/SharedPayment/index.js +0 -11
  1308. package/esm/resources/SharedPayment/index.js.map +0 -1
  1309. package/esm/resources/Tax/Forms.d.ts +0 -228
  1310. package/esm/resources/Tax/Forms.js +0 -28
  1311. package/esm/resources/Tax/Forms.js.map +0 -1
  1312. package/esm/resources/Tax/Locations.d.ts +0 -112
  1313. package/esm/resources/Tax/Locations.js +0 -29
  1314. package/esm/resources/Tax/Locations.js.map +0 -1
  1315. package/esm/resources/TaxFunds.d.ts +0 -174
  1316. package/esm/resources/TaxFunds.js +0 -19
  1317. package/esm/resources/TaxFunds.js.map +0 -1
  1318. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -50
  1319. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  1320. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  1321. package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +0 -81
  1322. package/esm/resources/TestHelpers/Capital/FinancingOffers.js +0 -17
  1323. package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +0 -1
  1324. package/esm/resources/TestHelpers/Capital/index.d.ts +0 -8
  1325. package/esm/resources/TestHelpers/Capital/index.js +0 -9
  1326. package/esm/resources/TestHelpers/Capital/index.js.map +0 -1
  1327. package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +0 -127
  1328. package/esm/resources/TestHelpers/Issuing/Disputes.js +0 -35
  1329. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +0 -1
  1330. package/esm/resources/TestHelpers/PaymentIntents.d.ts +0 -38
  1331. package/esm/resources/TestHelpers/PaymentIntents.js +0 -11
  1332. package/esm/resources/TestHelpers/PaymentIntents.js.map +0 -1
  1333. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -75
  1334. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  1335. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  1336. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  1337. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  1338. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  1339. package/esm/resources/TransitBalances.d.ts +0 -25
  1340. package/esm/resources/TransitBalances.js +0 -3
  1341. package/esm/resources/TransitBalances.js.map +0 -1
  1342. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
  1343. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  1344. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  1345. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  1346. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  1347. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  1348. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -281
  1349. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  1350. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  1351. package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +0 -84
  1352. package/esm/resources/V2/Billing/CadenceSpendModifiers.js +0 -3
  1353. package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +0 -1
  1354. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +0 -37
  1355. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +0 -19
  1356. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +0 -1
  1357. package/esm/resources/V2/Billing/Cadences.d.ts +0 -1011
  1358. package/esm/resources/V2/Billing/Cadences.js +0 -260
  1359. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  1360. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
  1361. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  1362. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  1363. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  1364. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  1365. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  1366. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -776
  1367. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  1368. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  1369. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +0 -47
  1370. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +0 -3
  1371. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +0 -1
  1372. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +0 -23
  1373. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +0 -25
  1374. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +0 -1
  1375. package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +0 -8
  1376. package/esm/resources/V2/Billing/Contracts/PricingLines.js +0 -11
  1377. package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +0 -1
  1378. package/esm/resources/V2/Billing/Contracts.d.ts +0 -1484
  1379. package/esm/resources/V2/Billing/Contracts.js +0 -327
  1380. package/esm/resources/V2/Billing/Contracts.js.map +0 -1
  1381. package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +0 -125
  1382. package/esm/resources/V2/Billing/CustomPricingUnits.js +0 -31
  1383. package/esm/resources/V2/Billing/CustomPricingUnits.js.map +0 -1
  1384. package/esm/resources/V2/Billing/IntentActions.d.ts +0 -603
  1385. package/esm/resources/V2/Billing/IntentActions.js +0 -3
  1386. package/esm/resources/V2/Billing/IntentActions.js.map +0 -1
  1387. package/esm/resources/V2/Billing/Intents/Actions.d.ts +0 -33
  1388. package/esm/resources/V2/Billing/Intents/Actions.js +0 -66
  1389. package/esm/resources/V2/Billing/Intents/Actions.js.map +0 -1
  1390. package/esm/resources/V2/Billing/Intents.d.ts +0 -1261
  1391. package/esm/resources/V2/Billing/Intents.js +0 -83
  1392. package/esm/resources/V2/Billing/Intents.js.map +0 -1
  1393. package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +0 -78
  1394. package/esm/resources/V2/Billing/LicenseFeeVersions.js +0 -3
  1395. package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +0 -1
  1396. package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +0 -33
  1397. package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -60
  1398. package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +0 -1
  1399. package/esm/resources/V2/Billing/LicenseFees.d.ts +0 -360
  1400. package/esm/resources/V2/Billing/LicenseFees.js +0 -144
  1401. package/esm/resources/V2/Billing/LicenseFees.js.map +0 -1
  1402. package/esm/resources/V2/Billing/LicensedItems.d.ts +0 -170
  1403. package/esm/resources/V2/Billing/LicensedItems.js +0 -31
  1404. package/esm/resources/V2/Billing/LicensedItems.js.map +0 -1
  1405. package/esm/resources/V2/Billing/MeteredItems.d.ts +0 -218
  1406. package/esm/resources/V2/Billing/MeteredItems.js +0 -31
  1407. package/esm/resources/V2/Billing/MeteredItems.js.map +0 -1
  1408. package/esm/resources/V2/Billing/OneTimeItems.d.ts +0 -170
  1409. package/esm/resources/V2/Billing/OneTimeItems.js +0 -31
  1410. package/esm/resources/V2/Billing/OneTimeItems.js.map +0 -1
  1411. package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +0 -80
  1412. package/esm/resources/V2/Billing/PricingPlanComponents.js +0 -3
  1413. package/esm/resources/V2/Billing/PricingPlanComponents.js.map +0 -1
  1414. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +0 -620
  1415. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -292
  1416. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +0 -1
  1417. package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +0 -30
  1418. package/esm/resources/V2/Billing/PricingPlanVersions.js +0 -3
  1419. package/esm/resources/V2/Billing/PricingPlanVersions.js.map +0 -1
  1420. package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +0 -142
  1421. package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -37
  1422. package/esm/resources/V2/Billing/PricingPlans/Components.js.map +0 -1
  1423. package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +0 -33
  1424. package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -19
  1425. package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +0 -1
  1426. package/esm/resources/V2/Billing/PricingPlans.d.ts +0 -169
  1427. package/esm/resources/V2/Billing/PricingPlans.js +0 -39
  1428. package/esm/resources/V2/Billing/PricingPlans.js.map +0 -1
  1429. package/esm/resources/V2/Billing/Profiles.d.ts +0 -162
  1430. package/esm/resources/V2/Billing/Profiles.js +0 -31
  1431. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  1432. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +0 -45
  1433. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +0 -3
  1434. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +0 -1
  1435. package/esm/resources/V2/Billing/RateCardRates.d.ts +0 -111
  1436. package/esm/resources/V2/Billing/RateCardRates.js +0 -3
  1437. package/esm/resources/V2/Billing/RateCardRates.js.map +0 -1
  1438. package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +0 -215
  1439. package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -37
  1440. package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +0 -1
  1441. package/esm/resources/V2/Billing/RateCardVersions.d.ts +0 -22
  1442. package/esm/resources/V2/Billing/RateCardVersions.js +0 -3
  1443. package/esm/resources/V2/Billing/RateCardVersions.js.map +0 -1
  1444. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +0 -79
  1445. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +0 -31
  1446. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +0 -1
  1447. package/esm/resources/V2/Billing/RateCards/Rates.d.ts +0 -145
  1448. package/esm/resources/V2/Billing/RateCards/Rates.js +0 -106
  1449. package/esm/resources/V2/Billing/RateCards/Rates.js.map +0 -1
  1450. package/esm/resources/V2/Billing/RateCards/Versions.d.ts +0 -33
  1451. package/esm/resources/V2/Billing/RateCards/Versions.js +0 -19
  1452. package/esm/resources/V2/Billing/RateCards/Versions.js.map +0 -1
  1453. package/esm/resources/V2/Billing/RateCards.d.ts +0 -336
  1454. package/esm/resources/V2/Billing/RateCards.js +0 -72
  1455. package/esm/resources/V2/Billing/RateCards.js.map +0 -1
  1456. package/esm/resources/V2/Billing/ServiceActions.d.ts +0 -510
  1457. package/esm/resources/V2/Billing/ServiceActions.js +0 -158
  1458. package/esm/resources/V2/Billing/ServiceActions.js.map +0 -1
  1459. package/esm/resources/V2/Core/AccountEvaluations.d.ts +0 -159
  1460. package/esm/resources/V2/Core/AccountEvaluations.js +0 -11
  1461. package/esm/resources/V2/Core/AccountEvaluations.js.map +0 -1
  1462. package/esm/resources/V2/Core/ApprovalRequests.d.ts +0 -331
  1463. package/esm/resources/V2/Core/ApprovalRequests.js +0 -42
  1464. package/esm/resources/V2/Core/ApprovalRequests.js.map +0 -1
  1465. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -360
  1466. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  1467. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  1468. package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +0 -225
  1469. package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -27
  1470. package/esm/resources/V2/Core/ClaimableSandboxes.js.map +0 -1
  1471. package/esm/resources/V2/Core/ConnectionSessions.d.ts +0 -86
  1472. package/esm/resources/V2/Core/ConnectionSessions.js +0 -17
  1473. package/esm/resources/V2/Core/ConnectionSessions.js.map +0 -1
  1474. package/esm/resources/V2/Core/FeeBatches.d.ts +0 -234
  1475. package/esm/resources/V2/Core/FeeBatches.js +0 -19
  1476. package/esm/resources/V2/Core/FeeBatches.js.map +0 -1
  1477. package/esm/resources/V2/Core/FeeEntries.d.ts +0 -200
  1478. package/esm/resources/V2/Core/FeeEntries.js +0 -19
  1479. package/esm/resources/V2/Core/FeeEntries.js.map +0 -1
  1480. package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +0 -416
  1481. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +0 -3
  1482. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +0 -1
  1483. package/esm/resources/V2/Core/Health/Alerts/History.d.ts +0 -23
  1484. package/esm/resources/V2/Core/Health/Alerts/History.js +0 -97
  1485. package/esm/resources/V2/Core/Health/Alerts/History.js.map +0 -1
  1486. package/esm/resources/V2/Core/Health/Alerts.d.ts +0 -530
  1487. package/esm/resources/V2/Core/Health/Alerts.js +0 -178
  1488. package/esm/resources/V2/Core/Health/Alerts.js.map +0 -1
  1489. package/esm/resources/V2/Core/Health/index.d.ts +0 -16
  1490. package/esm/resources/V2/Core/Health/index.js +0 -9
  1491. package/esm/resources/V2/Core/Health/index.js.map +0 -1
  1492. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -280
  1493. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  1494. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  1495. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -252
  1496. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -61
  1497. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  1498. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  1499. package/esm/resources/V2/Core/Vault/index.js +0 -11
  1500. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  1501. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +0 -74
  1502. package/esm/resources/V2/Data/Analytics/MetricQuery.js +0 -32
  1503. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +0 -1
  1504. package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +0 -76
  1505. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +0 -3
  1506. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +0 -1
  1507. package/esm/resources/V2/Data/Analytics/index.d.ts +0 -12
  1508. package/esm/resources/V2/Data/Analytics/index.js +0 -9
  1509. package/esm/resources/V2/Data/Analytics/index.js.map +0 -1
  1510. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -172
  1511. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  1512. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  1513. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  1514. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  1515. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  1516. package/esm/resources/V2/Data/index.d.ts +0 -13
  1517. package/esm/resources/V2/Data/index.js +0 -11
  1518. package/esm/resources/V2/Data/index.js.map +0 -1
  1519. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
  1520. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  1521. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  1522. package/esm/resources/V2/Extend/Workflows.d.ts +0 -120
  1523. package/esm/resources/V2/Extend/Workflows.js +0 -26
  1524. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  1525. package/esm/resources/V2/Extend/index.d.ts +0 -20
  1526. package/esm/resources/V2/Extend/index.js +0 -11
  1527. package/esm/resources/V2/Extend/index.js.map +0 -1
  1528. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  1529. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  1530. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  1531. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  1532. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  1533. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  1534. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -218
  1535. package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
  1536. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  1537. package/esm/resources/V2/Iam/ApiKeys.d.ts +0 -305
  1538. package/esm/resources/V2/Iam/ApiKeys.js +0 -43
  1539. package/esm/resources/V2/Iam/ApiKeys.js.map +0 -1
  1540. package/esm/resources/V2/Iam/index.d.ts +0 -23
  1541. package/esm/resources/V2/Iam/index.js +0 -11
  1542. package/esm/resources/V2/Iam/index.js.map +0 -1
  1543. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  1544. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  1545. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  1546. package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +0 -131
  1547. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +0 -27
  1548. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +0 -1
  1549. package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +0 -169
  1550. package/esm/resources/V2/MoneyManagement/DebitDisputes.js +0 -25
  1551. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +0 -1
  1552. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +0 -99
  1553. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +0 -3
  1554. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +0 -1
  1555. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +0 -49
  1556. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +0 -49
  1557. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +0 -1
  1558. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -438
  1559. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -46
  1560. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  1561. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +0 -14
  1562. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +0 -3
  1563. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +0 -1
  1564. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -304
  1565. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  1566. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  1567. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -251
  1568. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  1569. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  1570. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -219
  1571. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  1572. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  1573. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -638
  1574. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  1575. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1576. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -318
  1577. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  1578. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1579. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -394
  1580. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  1581. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1582. package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +0 -525
  1583. package/esm/resources/V2/MoneyManagement/PayoutIntents.js +0 -40
  1584. package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +0 -1
  1585. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -277
  1586. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
  1587. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1588. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
  1589. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  1590. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1591. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -481
  1592. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  1593. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1594. package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +0 -166
  1595. package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js +0 -25
  1596. package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +0 -1
  1597. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -308
  1598. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  1599. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1600. package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +0 -116
  1601. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +0 -23
  1602. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +0 -1
  1603. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +0 -34
  1604. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -11
  1605. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +0 -1
  1606. package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
  1607. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +0 -9
  1608. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
  1609. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -266
  1610. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  1611. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1612. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -297
  1613. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
  1614. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1615. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -150
  1616. package/esm/resources/V2/MoneyManagement/index.js +0 -47
  1617. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  1618. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -92
  1619. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  1620. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1621. package/esm/resources/V2/Network/index.d.ts +0 -13
  1622. package/esm/resources/V2/Network/index.js +0 -9
  1623. package/esm/resources/V2/Network/index.js.map +0 -1
  1624. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
  1625. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  1626. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1627. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1628. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  1629. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1630. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +0 -835
  1631. package/esm/resources/V2/Payments/OffSessionPayments.js +0 -49
  1632. package/esm/resources/V2/Payments/OffSessionPayments.js.map +0 -1
  1633. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +0 -73
  1634. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +0 -3
  1635. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +0 -1
  1636. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +0 -85
  1637. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +0 -31
  1638. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +0 -1
  1639. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +0 -209
  1640. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +0 -49
  1641. package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +0 -1
  1642. package/esm/resources/V2/Payments/index.d.ts +0 -31
  1643. package/esm/resources/V2/Payments/index.js +0 -11
  1644. package/esm/resources/V2/Payments/index.js.map +0 -1
  1645. package/esm/resources/V2/Reporting/ReportRuns.d.ts +0 -191
  1646. package/esm/resources/V2/Reporting/ReportRuns.js +0 -46
  1647. package/esm/resources/V2/Reporting/ReportRuns.js.map +0 -1
  1648. package/esm/resources/V2/Reporting/Reports.d.ts +0 -106
  1649. package/esm/resources/V2/Reporting/Reports.js +0 -13
  1650. package/esm/resources/V2/Reporting/Reports.js.map +0 -1
  1651. package/esm/resources/V2/Reporting/index.d.ts +0 -18
  1652. package/esm/resources/V2/Reporting/index.js +0 -11
  1653. package/esm/resources/V2/Reporting/index.js.map +0 -1
  1654. package/esm/resources/V2/Risk/Inquiries.d.ts +0 -143
  1655. package/esm/resources/V2/Risk/Inquiries.js +0 -25
  1656. package/esm/resources/V2/Risk/Inquiries.js.map +0 -1
  1657. package/esm/resources/V2/Risk/index.d.ts +0 -14
  1658. package/esm/resources/V2/Risk/index.js +0 -9
  1659. package/esm/resources/V2/Risk/index.js.map +0 -1
  1660. package/esm/resources/V2/Signals/AccountActivity.d.ts +0 -424
  1661. package/esm/resources/V2/Signals/AccountActivity.js +0 -23
  1662. package/esm/resources/V2/Signals/AccountActivity.js.map +0 -1
  1663. package/esm/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
  1664. package/esm/resources/V2/Signals/AccountEvaluations.js +0 -55
  1665. package/esm/resources/V2/Signals/AccountEvaluations.js.map +0 -1
  1666. package/esm/resources/V2/Signals/AccountSignals.d.ts +0 -281
  1667. package/esm/resources/V2/Signals/AccountSignals.js +0 -106
  1668. package/esm/resources/V2/Signals/AccountSignals.js.map +0 -1
  1669. package/esm/resources/V2/Signals/index.d.ts +0 -26
  1670. package/esm/resources/V2/Signals/index.js +0 -13
  1671. package/esm/resources/V2/Signals/index.js.map +0 -1
  1672. package/esm/resources/V2/Tax/ManualRules.d.ts +0 -331
  1673. package/esm/resources/V2/Tax/ManualRules.js +0 -189
  1674. package/esm/resources/V2/Tax/ManualRules.js.map +0 -1
  1675. package/esm/resources/V2/Tax/index.d.ts +0 -16
  1676. package/esm/resources/V2/Tax/index.js +0 -9
  1677. package/esm/resources/V2/Tax/index.js.map +0 -1
  1678. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
  1679. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  1680. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1681. package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +0 -31
  1682. package/esm/resources/V2/TestHelpers/MoneyManagement.js +0 -11
  1683. package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +0 -1
  1684. package/esm/resources/V2/TestHelpers/index.d.ts +0 -10
  1685. package/esm/resources/V2/TestHelpers/index.js +0 -11
  1686. 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';
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';
391
268
  namespace BillingMode {
@@ -400,52 +277,6 @@ export declare namespace SubscriptionSchedule {
400
277
  type ProrationDiscounts = 'included' | 'itemized';
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';
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';
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,99 +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
- }
574
- interface Resume {
575
- /**
576
- * Time at which the subscription resumes.
577
- */
578
- resume_at: number;
579
- settings: Resume.Settings;
580
- }
581
- namespace Pause {
582
- interface Settings {
583
- bill_for: Settings.BillFor;
584
- /**
585
- * Determines how to handle debits and credits when pausing.
586
- */
587
- invoicing_behavior: Settings.InvoicingBehavior;
588
- /**
589
- * The type of pause settings.
590
- */
591
- type: 'subscription';
592
- }
593
- namespace Settings {
594
- interface BillFor {
595
- outstanding_usage_through: BillFor.OutstandingUsageThrough;
596
- unused_time_from: BillFor.UnusedTimeFrom;
597
- }
598
- type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
599
- namespace BillFor {
600
- interface OutstandingUsageThrough {
601
- /**
602
- * The type of outstanding usage billing behavior.
603
- */
604
- type: OutstandingUsageThrough.Type;
605
- }
606
- interface UnusedTimeFrom {
607
- /**
608
- * The type of unused time credit behavior.
609
- */
610
- type: UnusedTimeFrom.Type;
611
- }
612
- namespace OutstandingUsageThrough {
613
- type Type = 'none' | 'pause_at';
614
- }
615
- namespace UnusedTimeFrom {
616
- type Type = 'item_current_period_start' | 'none' | 'pause_at';
617
- }
618
- }
619
- }
620
- }
621
- namespace Resume {
622
- interface Settings {
623
- /**
624
- * The billing cycle anchor that applies when the subscription is resumed.
625
- */
626
- billing_cycle_anchor: Settings.BillingCycleAnchor;
627
- /**
628
- * Controls whether Stripe attempts payment on the resumption invoice and how that affects the subscription's status.
629
- */
630
- payment_behavior: Settings.PaymentBehavior;
631
- /**
632
- * Determines how to handle prorations resulting from the billing_cycle_anchor change on resume.
633
- */
634
- proration_behavior: Settings.ProrationBehavior;
635
- }
636
- namespace Settings {
637
- type BillingCycleAnchor = 'resume_at' | 'unchanged';
638
- type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success';
639
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
377
+ type Type = 'account' | 'self' | OtherString;
640
378
  }
641
379
  }
642
380
  }
@@ -703,17 +441,11 @@ export declare namespace SubscriptionSchedule {
703
441
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
704
442
  */
705
443
  discount: string | _Discount | null;
706
- /**
707
- * Details to determine how long the discount should be applied for.
708
- */
709
- discount_end?: Discount.DiscountEnd | null;
710
444
  /**
711
445
  * ID of the promotion code to create a new discount for.
712
446
  */
713
447
  promotion_code: string | PromotionCode | null;
714
- settings?: Discount.Settings;
715
448
  }
716
- type EffectiveAt = 'billing_period_start' | 'phase_start';
717
449
  interface InvoiceSettings {
718
450
  /**
719
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.
@@ -769,20 +501,6 @@ export declare namespace SubscriptionSchedule {
769
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`.
770
502
  */
771
503
  tax_rates?: Array<TaxRate> | null;
772
- /**
773
- * Options that configure the trial on the subscription item.
774
- */
775
- trial?: Item.Trial | null;
776
- /**
777
- * The ID of the trial offer to apply to the configuration item.
778
- */
779
- trial_offer?: string | null;
780
- }
781
- interface PauseCollection {
782
- /**
783
- * The payment collection behavior for this subscription while paused.
784
- */
785
- behavior: PauseCollection.Behavior;
786
504
  }
787
505
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
788
506
  interface TransferData {
@@ -795,13 +513,6 @@ export declare namespace SubscriptionSchedule {
795
513
  */
796
514
  destination: string | Account;
797
515
  }
798
- type TrialContinuation = 'continue' | 'none' | OtherString;
799
- interface TrialSettings {
800
- /**
801
- * Defines how the subscription should behave when a trial ends.
802
- */
803
- end_behavior: TrialSettings.EndBehavior | null;
804
- }
805
516
  namespace AddInvoiceItem {
806
517
  interface Discount {
807
518
  /**
@@ -812,10 +523,6 @@ export declare namespace SubscriptionSchedule {
812
523
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
813
524
  */
814
525
  discount: string | _Discount | null;
815
- /**
816
- * Details to determine how long the discount should be applied for.
817
- */
818
- discount_end?: Discount.DiscountEnd | null;
819
526
  /**
820
527
  * ID of the promotion code to create a new discount for.
821
528
  */
@@ -825,18 +532,6 @@ export declare namespace SubscriptionSchedule {
825
532
  end: Period.End;
826
533
  start: Period.Start;
827
534
  }
828
- namespace Discount {
829
- interface DiscountEnd {
830
- /**
831
- * The discount end timestamp.
832
- */
833
- timestamp: number | null;
834
- /**
835
- * The discount end type.
836
- */
837
- type: 'timestamp';
838
- }
839
- }
840
535
  namespace Period {
841
536
  interface End {
842
537
  /**
@@ -878,61 +573,7 @@ export declare namespace SubscriptionSchedule {
878
573
  type: Liability.Type;
879
574
  }
880
575
  namespace Liability {
881
- type Type = 'account' | 'application' | 'self' | OtherString;
882
- }
883
- }
884
- namespace Discount {
885
- interface DiscountEnd {
886
- /**
887
- * The discount end timestamp.
888
- */
889
- timestamp: number | null;
890
- /**
891
- * The discount end type.
892
- */
893
- type: 'timestamp';
894
- }
895
- interface Settings {
896
- service_period_anchor_config: Settings.ServicePeriodAnchorConfig;
897
- /**
898
- * The start date of the discount's service period when applying a coupon or promotion code with a service period duration.
899
- */
900
- start_date: Settings.StartDate;
901
- }
902
- namespace Settings {
903
- interface ServicePeriodAnchorConfig {
904
- custom?: ServicePeriodAnchorConfig.Custom;
905
- /**
906
- * The type of service period anchor config.
907
- */
908
- type: ServicePeriodAnchorConfig.Type;
909
- }
910
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
911
- namespace ServicePeriodAnchorConfig {
912
- interface Custom {
913
- /**
914
- * The day of the month the anchor should be. Ranges from 1 to 31.
915
- */
916
- day_of_month: number;
917
- /**
918
- * The hour of the day the anchor should be. Ranges from 0 to 23.
919
- */
920
- hour: number | null;
921
- /**
922
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
923
- */
924
- minute: number | null;
925
- /**
926
- * The month to start full cycle periods. Ranges from 1 to 12.
927
- */
928
- month: number | null;
929
- /**
930
- * The second of the minute the anchor should be. Ranges from 0 to 59.
931
- */
932
- second: number | null;
933
- }
934
- type Type = 'custom' | 'inherit' | OtherString;
935
- }
576
+ type Type = 'account' | 'self' | OtherString;
936
577
  }
937
578
  }
938
579
  namespace InvoiceSettings {
@@ -957,7 +598,7 @@ export declare namespace SubscriptionSchedule {
957
598
  type: Issuer.Type;
958
599
  }
959
600
  namespace Issuer {
960
- type Type = 'account' | 'application' | 'self' | OtherString;
601
+ type Type = 'account' | 'self' | OtherString;
961
602
  }
962
603
  }
963
604
  namespace Item {
@@ -976,116 +617,19 @@ export declare namespace SubscriptionSchedule {
976
617
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
977
618
  */
978
619
  discount: string | _Discount | null;
979
- /**
980
- * Details to determine how long the discount should be applied for.
981
- */
982
- discount_end?: Discount.DiscountEnd | null;
983
620
  /**
984
621
  * ID of the promotion code to create a new discount for.
985
622
  */
986
623
  promotion_code: string | PromotionCode | null;
987
- settings?: Discount.Settings;
988
- }
989
- interface Trial {
990
- /**
991
- * List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.
992
- */
993
- converts_to?: Array<string> | null;
994
- /**
995
- * Determines the type of trial for this item.
996
- */
997
- type: Trial.Type;
998
- }
999
- namespace Discount {
1000
- interface DiscountEnd {
1001
- /**
1002
- * The discount end timestamp.
1003
- */
1004
- timestamp: number | null;
1005
- /**
1006
- * The discount end type.
1007
- */
1008
- type: 'timestamp';
1009
- }
1010
- interface Settings {
1011
- service_period_anchor_config: Settings.ServicePeriodAnchorConfig;
1012
- /**
1013
- * The start date of the discount's service period when applying a coupon or promotion code with a service period duration.
1014
- */
1015
- start_date: Settings.StartDate;
1016
- }
1017
- namespace Settings {
1018
- interface ServicePeriodAnchorConfig {
1019
- custom?: ServicePeriodAnchorConfig.Custom;
1020
- /**
1021
- * The type of service period anchor config.
1022
- */
1023
- type: ServicePeriodAnchorConfig.Type;
1024
- }
1025
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
1026
- namespace ServicePeriodAnchorConfig {
1027
- interface Custom {
1028
- /**
1029
- * The day of the month the anchor should be. Ranges from 1 to 31.
1030
- */
1031
- day_of_month: number;
1032
- /**
1033
- * The hour of the day the anchor should be. Ranges from 0 to 23.
1034
- */
1035
- hour: number | null;
1036
- /**
1037
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
1038
- */
1039
- minute: number | null;
1040
- /**
1041
- * The month to start full cycle periods. Ranges from 1 to 12.
1042
- */
1043
- month: number | null;
1044
- /**
1045
- * The second of the minute the anchor should be. Ranges from 0 to 59.
1046
- */
1047
- second: number | null;
1048
- }
1049
- type Type = 'custom' | 'inherit' | OtherString;
1050
- }
1051
- }
1052
- }
1053
- namespace Trial {
1054
- type Type = 'free' | 'paid' | OtherString;
1055
- }
1056
- }
1057
- namespace PauseCollection {
1058
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
1059
- }
1060
- namespace TrialSettings {
1061
- interface EndBehavior {
1062
- /**
1063
- * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
1064
- */
1065
- prorate_up_front: EndBehavior.ProrateUpFront | null;
1066
- }
1067
- namespace EndBehavior {
1068
- type ProrateUpFront = 'defer' | 'include' | OtherString;
1069
624
  }
1070
625
  }
1071
626
  }
1072
- namespace Prebilling {
1073
- type UpdateBehavior = 'prebill' | 'reset' | OtherString;
1074
- }
1075
627
  }
1076
628
  export interface SubscriptionScheduleCreateParams {
1077
- /**
1078
- * 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.
1079
- */
1080
- billing_behavior?: SubscriptionScheduleCreateParams.BillingBehavior;
1081
629
  /**
1082
630
  * Controls how prorations and invoices for subscriptions are calculated and orchestrated.
1083
631
  */
1084
632
  billing_mode?: SubscriptionScheduleCreateParams.BillingMode;
1085
- /**
1086
- * Sets the billing schedules for the subscription schedule.
1087
- */
1088
- billing_schedules?: Array<SubscriptionScheduleCreateParams.BillingSchedule>;
1089
633
  /**
1090
634
  * The identifier of the customer to create the subscription schedule for.
1091
635
  */
@@ -1114,25 +658,16 @@ export interface SubscriptionScheduleCreateParams {
1114
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`.
1115
659
  */
1116
660
  metadata?: Emptyable<MetadataParam>;
1117
- /**
1118
- * Sets the pause schedules for the subscription schedule. Each entry configures when and how the subscription pauses and optionally when and how it resumes.
1119
- */
1120
- pause_schedules?: Array<SubscriptionScheduleCreateParams.PauseSchedule>;
1121
661
  /**
1122
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.
1123
663
  */
1124
664
  phases?: Array<SubscriptionScheduleCreateParams.Phase>;
1125
- /**
1126
- * If specified, the invoicing for the given billing cycle iterations will be processed now.
1127
- */
1128
- prebilling?: SubscriptionScheduleCreateParams.Prebilling;
1129
665
  /**
1130
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.
1131
667
  */
1132
668
  start_date?: number | 'now';
1133
669
  }
1134
670
  export declare namespace SubscriptionScheduleCreateParams {
1135
- type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front';
1136
671
  interface BillingMode {
1137
672
  /**
1138
673
  * Configure behavior for flexible billing mode.
@@ -1143,20 +678,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1143
678
  */
1144
679
  type: BillingMode.Type;
1145
680
  }
1146
- interface BillingSchedule {
1147
- /**
1148
- * Configure billing schedule differently for individual subscription items.
1149
- */
1150
- applies_to?: Array<BillingSchedule.AppliesTo>;
1151
- /**
1152
- * The end date for the billing schedule.
1153
- */
1154
- bill_until: BillingSchedule.BillUntil;
1155
- /**
1156
- * 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.
1157
- */
1158
- key?: string;
1159
- }
1160
681
  interface DefaultSettings {
1161
682
  /**
1162
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).
@@ -1194,30 +715,12 @@ export declare namespace SubscriptionScheduleCreateParams {
1194
715
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
1195
716
  */
1196
717
  on_behalf_of?: Emptyable<string>;
1197
- /**
1198
- * Configures how the subscription schedule handles billing for phase transitions.
1199
- */
1200
- phase_effective_at?: DefaultSettings.PhaseEffectiveAt;
1201
718
  /**
1202
719
  * The data with which to automatically create a Transfer for each of the associated subscription's invoices.
1203
720
  */
1204
721
  transfer_data?: Emptyable<DefaultSettings.TransferData>;
1205
722
  }
1206
723
  type EndBehavior = 'cancel' | 'none' | 'release' | 'renew' | OtherString;
1207
- interface PauseSchedule {
1208
- /**
1209
- * A unique identifier for this pause schedule entry.
1210
- */
1211
- key?: string;
1212
- /**
1213
- * Configuration for when and how the subscription pauses.
1214
- */
1215
- pause: PauseSchedule.Pause;
1216
- /**
1217
- * Configuration for when and how the subscription resumes.
1218
- */
1219
- resume?: PauseSchedule.Resume;
1220
- }
1221
724
  interface Phase {
1222
725
  /**
1223
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.
@@ -1267,10 +770,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1267
770
  * The number of intervals the phase should last. If set, `end_date` must not be set.
1268
771
  */
1269
772
  duration?: Phase.Duration;
1270
- /**
1271
- * Configures how the subscription schedule handles billing for phase transitions.
1272
- */
1273
- effective_at?: Phase.EffectiveAt;
1274
773
  /**
1275
774
  * The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.
1276
775
  */
@@ -1291,10 +790,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1291
790
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
1292
791
  */
1293
792
  on_behalf_of?: string;
1294
- /**
1295
- * 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).
1296
- */
1297
- pause_collection?: Phase.PauseCollection;
1298
793
  /**
1299
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.
1300
795
  */
@@ -1307,28 +802,10 @@ export declare namespace SubscriptionScheduleCreateParams {
1307
802
  * If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
1308
803
  */
1309
804
  trial?: boolean;
1310
- /**
1311
- * Specify trial behavior when crossing phase boundaries
1312
- */
1313
- trial_continuation?: Phase.TrialContinuation;
1314
805
  /**
1315
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`
1316
807
  */
1317
808
  trial_end?: number;
1318
- /**
1319
- * Settings related to subscription trials.
1320
- */
1321
- trial_settings?: Phase.TrialSettings;
1322
- }
1323
- interface Prebilling {
1324
- /**
1325
- * This is used to determine the number of billing cycles to prebill.
1326
- */
1327
- iterations: number;
1328
- /**
1329
- * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
1330
- */
1331
- update_behavior?: Prebilling.UpdateBehavior;
1332
809
  }
1333
810
  namespace BillingMode {
1334
811
  interface Flexible {
@@ -1342,48 +819,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1342
819
  type ProrationDiscounts = 'included' | 'itemized';
1343
820
  }
1344
821
  }
1345
- namespace BillingSchedule {
1346
- interface AppliesTo {
1347
- /**
1348
- * The ID of the price object.
1349
- */
1350
- price?: string;
1351
- /**
1352
- * Controls which subscription items the billing schedule applies to.
1353
- */
1354
- type: 'price';
1355
- }
1356
- interface BillUntil {
1357
- /**
1358
- * Specifies the billing period.
1359
- */
1360
- duration?: BillUntil.Duration;
1361
- /**
1362
- * The end date of the billing schedule.
1363
- */
1364
- timestamp?: number;
1365
- /**
1366
- * Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
1367
- */
1368
- type: BillUntil.Type;
1369
- }
1370
- namespace BillUntil {
1371
- interface Duration {
1372
- /**
1373
- * Specifies billing duration. Either `day`, `week`, `month` or `year`.
1374
- */
1375
- interval: Duration.Interval;
1376
- /**
1377
- * The multiplier applied to the interval.
1378
- */
1379
- interval_count?: number;
1380
- }
1381
- type Type = 'duration' | 'timestamp' | OtherString;
1382
- namespace Duration {
1383
- type Interval = 'day' | 'month' | 'week' | 'year';
1384
- }
1385
- }
1386
- }
1387
822
  namespace DefaultSettings {
1388
823
  interface AutomaticTax {
1389
824
  /**
@@ -1424,7 +859,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1424
859
  */
1425
860
  issuer?: InvoiceSettings.Issuer;
1426
861
  }
1427
- type PhaseEffectiveAt = 'billing_period_start' | 'phase_start';
1428
862
  interface TransferData {
1429
863
  /**
1430
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.
@@ -1447,7 +881,7 @@ export declare namespace SubscriptionScheduleCreateParams {
1447
881
  type: Liability.Type;
1448
882
  }
1449
883
  namespace Liability {
1450
- type Type = 'account' | 'application' | 'self' | OtherString;
884
+ type Type = 'account' | 'self' | OtherString;
1451
885
  }
1452
886
  }
1453
887
  namespace InvoiceSettings {
@@ -1472,179 +906,44 @@ export declare namespace SubscriptionScheduleCreateParams {
1472
906
  type: Issuer.Type;
1473
907
  }
1474
908
  namespace Issuer {
1475
- type Type = 'account' | 'application' | 'self' | OtherString;
909
+ type Type = 'account' | 'self' | OtherString;
1476
910
  }
1477
911
  }
1478
912
  }
1479
- namespace PauseSchedule {
1480
- interface Pause {
913
+ namespace Phase {
914
+ interface AddInvoiceItem {
915
+ /**
916
+ * Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
917
+ */
918
+ discountable?: boolean;
1481
919
  /**
1482
- * When to pause the subscription.
920
+ * The coupons to redeem into discounts for the item.
1483
921
  */
1484
- pause_at: Pause.PauseAt;
922
+ discounts?: Array<AddInvoiceItem.Discount>;
1485
923
  /**
1486
- * Settings controlling billing behavior during the pause.
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`.
1487
925
  */
1488
- settings?: Pause.Settings;
1489
- }
1490
- interface Resume {
926
+ metadata?: MetadataParam;
927
+ /**
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`.
929
+ */
930
+ period?: AddInvoiceItem.Period;
931
+ /**
932
+ * The ID of the price object. One of `price` or `price_data` is required.
933
+ */
934
+ price?: string;
935
+ /**
936
+ * Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.
937
+ */
938
+ price_data?: AddInvoiceItem.PriceData;
1491
939
  /**
1492
- * When to resume the subscription.
940
+ * Quantity for this item. Defaults to 1.
1493
941
  */
1494
- resume_at: Resume.ResumeAt;
942
+ quantity?: number;
1495
943
  /**
1496
- * Settings controlling how the subscription resumes.
944
+ * The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
1497
945
  */
1498
- settings?: Resume.Settings;
1499
- }
1500
- namespace Pause {
1501
- interface PauseAt {
1502
- /**
1503
- * The Unix timestamp at which to pause the subscription. Required when `type` is `timestamp`.
1504
- */
1505
- timestamp?: number;
1506
- /**
1507
- * When to pause the subscription. Use `now` to pause immediately or `timestamp` to pause at a specific time.
1508
- */
1509
- type: PauseAt.Type;
1510
- }
1511
- interface Settings {
1512
- /**
1513
- * Controls what to bill for when pausing the subscription.
1514
- */
1515
- bill_for?: Settings.BillFor;
1516
- /**
1517
- * Determines whether to generate an invoice for outstanding amounts when pausing.
1518
- */
1519
- invoicing_behavior?: Settings.InvoicingBehavior;
1520
- /**
1521
- * The pause type. Currently only `subscription` is supported.
1522
- */
1523
- type?: 'subscription';
1524
- }
1525
- namespace PauseAt {
1526
- type Type = 'now' | 'timestamp' | OtherString;
1527
- }
1528
- namespace Settings {
1529
- interface BillFor {
1530
- /**
1531
- * Controls whether to collect metered usage accrued up to the pause date.
1532
- */
1533
- outstanding_usage_through?: BillFor.OutstandingUsageThrough;
1534
- /**
1535
- * Controls how unused time on subscription items is credited when pausing.
1536
- */
1537
- unused_time_from?: BillFor.UnusedTimeFrom;
1538
- }
1539
- type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
1540
- namespace BillFor {
1541
- interface OutstandingUsageThrough {
1542
- /**
1543
- * Determines whether to collect metered usage accrued up to the pause date.
1544
- */
1545
- type?: OutstandingUsageThrough.Type;
1546
- }
1547
- interface UnusedTimeFrom {
1548
- /**
1549
- * Determines which point in the billing period unused time is credited from.
1550
- */
1551
- type?: UnusedTimeFrom.Type;
1552
- }
1553
- namespace OutstandingUsageThrough {
1554
- type Type = 'none' | 'pause_at';
1555
- }
1556
- namespace UnusedTimeFrom {
1557
- type Type = 'item_current_period_start' | 'none' | 'pause_at';
1558
- }
1559
- }
1560
- }
1561
- }
1562
- namespace Resume {
1563
- interface ResumeAt {
1564
- /**
1565
- * The duration after which to resume the subscription. Required when `type` is `duration`.
1566
- */
1567
- duration?: ResumeAt.Duration;
1568
- /**
1569
- * The Unix timestamp at which to resume the subscription. Required when `type` is `timestamp`.
1570
- */
1571
- timestamp?: number;
1572
- /**
1573
- * 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.
1574
- */
1575
- type: ResumeAt.Type;
1576
- }
1577
- interface Settings {
1578
- /**
1579
- * Controls the billing cycle anchor when the subscription resumes.
1580
- */
1581
- billing_cycle_anchor?: Settings.BillingCycleAnchor;
1582
- /**
1583
- * Controls whether Stripe attempts payment on the resumption invoice and how payment affects the subscription's status. The default is `resume_on_payment_attempt`.
1584
- */
1585
- payment_behavior?: Settings.PaymentBehavior;
1586
- /**
1587
- * Determines how to handle prorations when the subscription resumes. The default is `create_prorations`.
1588
- */
1589
- proration_behavior?: Settings.ProrationBehavior;
1590
- }
1591
- namespace ResumeAt {
1592
- interface Duration {
1593
- /**
1594
- * The time unit for the resume duration. One of `day`, `week`, `month`, or `year`.
1595
- */
1596
- interval: Duration.Interval;
1597
- /**
1598
- * The number of intervals after which the subscription resumes.
1599
- */
1600
- interval_count?: number;
1601
- }
1602
- type Type = 'duration' | 'now' | 'timestamp' | OtherString;
1603
- namespace Duration {
1604
- type Interval = 'day' | 'month' | 'week' | 'year';
1605
- }
1606
- }
1607
- namespace Settings {
1608
- type BillingCycleAnchor = 'resume_at' | 'unchanged';
1609
- type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success';
1610
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
1611
- }
1612
- }
1613
- }
1614
- namespace Phase {
1615
- interface AddInvoiceItem {
1616
- /**
1617
- * Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
1618
- */
1619
- discountable?: boolean;
1620
- /**
1621
- * The coupons to redeem into discounts for the item.
1622
- */
1623
- discounts?: Array<AddInvoiceItem.Discount>;
1624
- /**
1625
- * 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`.
1626
- */
1627
- metadata?: MetadataParam;
1628
- /**
1629
- * 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`.
1630
- */
1631
- period?: AddInvoiceItem.Period;
1632
- /**
1633
- * The ID of the price object. One of `price` or `price_data` is required.
1634
- */
1635
- price?: string;
1636
- /**
1637
- * Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.
1638
- */
1639
- price_data?: AddInvoiceItem.PriceData;
1640
- /**
1641
- * Quantity for this item. Defaults to 1.
1642
- */
1643
- quantity?: number;
1644
- /**
1645
- * The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
1646
- */
1647
- tax_rates?: Emptyable<Array<string>>;
946
+ tax_rates?: Emptyable<Array<string>>;
1648
947
  }
1649
948
  interface AutomaticTax {
1650
949
  /**
@@ -1677,18 +976,10 @@ export declare namespace SubscriptionScheduleCreateParams {
1677
976
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1678
977
  */
1679
978
  discount?: string;
1680
- /**
1681
- * Details to determine how long the discount should be applied for.
1682
- */
1683
- discount_end?: Discount.DiscountEnd;
1684
979
  /**
1685
980
  * ID of the promotion code to create a new discount for.
1686
981
  */
1687
982
  promotion_code?: string;
1688
- /**
1689
- * Settings for discount application including service period anchoring.
1690
- */
1691
- settings?: Discount.Settings;
1692
983
  }
1693
984
  interface Duration {
1694
985
  /**
@@ -1700,7 +991,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1700
991
  */
1701
992
  interval_count?: number;
1702
993
  }
1703
- type EffectiveAt = 'billing_period_start' | 'phase_start';
1704
994
  interface InvoiceSettings {
1705
995
  /**
1706
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.
@@ -1760,20 +1050,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1760
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.
1761
1051
  */
1762
1052
  tax_rates?: Emptyable<Array<string>>;
1763
- /**
1764
- * Options that configure the trial on the subscription item.
1765
- */
1766
- trial?: Item.Trial;
1767
- /**
1768
- * The ID of the trial offer to apply to the configuration item.
1769
- */
1770
- trial_offer?: string;
1771
- }
1772
- interface PauseCollection {
1773
- /**
1774
- * The payment collection behavior for this subscription while paused.
1775
- */
1776
- behavior: PauseCollection.Behavior;
1777
1053
  }
1778
1054
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
1779
1055
  interface TransferData {
@@ -1786,13 +1062,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1786
1062
  */
1787
1063
  destination: string;
1788
1064
  }
1789
- type TrialContinuation = 'continue' | 'none' | OtherString;
1790
- interface TrialSettings {
1791
- /**
1792
- * Defines how the subscription should behave when a trial ends.
1793
- */
1794
- end_behavior?: TrialSettings.EndBehavior;
1795
- }
1796
1065
  namespace AddInvoiceItem {
1797
1066
  interface Discount {
1798
1067
  /**
@@ -1803,10 +1072,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1803
1072
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1804
1073
  */
1805
1074
  discount?: string;
1806
- /**
1807
- * Details to determine how long the discount should be applied for.
1808
- */
1809
- discount_end?: Discount.DiscountEnd;
1810
1075
  /**
1811
1076
  * ID of the promotion code to create a new discount for.
1812
1077
  */
@@ -1844,38 +1109,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1844
1109
  */
1845
1110
  unit_amount_decimal?: Decimal;
1846
1111
  }
1847
- namespace Discount {
1848
- interface DiscountEnd {
1849
- /**
1850
- * Time span for the redeemed discount.
1851
- */
1852
- duration?: DiscountEnd.Duration;
1853
- /**
1854
- * A precise Unix timestamp for the discount to end. Must be in the future.
1855
- */
1856
- timestamp?: number;
1857
- /**
1858
- * The type of calculation made to determine when the discount ends.
1859
- */
1860
- type: DiscountEnd.Type;
1861
- }
1862
- namespace DiscountEnd {
1863
- interface Duration {
1864
- /**
1865
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1866
- */
1867
- interval: Duration.Interval;
1868
- /**
1869
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1870
- */
1871
- interval_count: number;
1872
- }
1873
- type Type = 'duration' | 'timestamp' | OtherString;
1874
- namespace Duration {
1875
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1876
- }
1877
- }
1878
- }
1879
1112
  namespace Period {
1880
1113
  interface End {
1881
1114
  /**
@@ -1920,87 +1153,7 @@ export declare namespace SubscriptionScheduleCreateParams {
1920
1153
  type: Liability.Type;
1921
1154
  }
1922
1155
  namespace Liability {
1923
- type Type = 'account' | 'application' | 'self' | OtherString;
1924
- }
1925
- }
1926
- namespace Discount {
1927
- interface DiscountEnd {
1928
- /**
1929
- * Time span for the redeemed discount.
1930
- */
1931
- duration?: DiscountEnd.Duration;
1932
- /**
1933
- * A precise Unix timestamp for the discount to end. Must be in the future.
1934
- */
1935
- timestamp?: number;
1936
- /**
1937
- * The type of calculation made to determine when the discount ends.
1938
- */
1939
- type: DiscountEnd.Type;
1940
- }
1941
- interface Settings {
1942
- /**
1943
- * Configures service period cycle anchoring.
1944
- */
1945
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
1946
- /**
1947
- * 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.
1948
- */
1949
- start_date?: Settings.StartDate;
1950
- }
1951
- namespace DiscountEnd {
1952
- interface Duration {
1953
- /**
1954
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1955
- */
1956
- interval: Duration.Interval;
1957
- /**
1958
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1959
- */
1960
- interval_count: number;
1961
- }
1962
- type Type = 'duration' | 'timestamp' | OtherString;
1963
- namespace Duration {
1964
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1965
- }
1966
- }
1967
- namespace Settings {
1968
- interface ServicePeriodAnchorConfig {
1969
- /**
1970
- * Anchor the service period to a custom date. Type must be `custom` to specify.
1971
- */
1972
- custom?: ServicePeriodAnchorConfig.Custom;
1973
- /**
1974
- * The type of service period anchor config. Defaults to `inherit` if omitted.
1975
- */
1976
- type?: ServicePeriodAnchorConfig.Type;
1977
- }
1978
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
1979
- namespace ServicePeriodAnchorConfig {
1980
- interface Custom {
1981
- /**
1982
- * The day of the month the anchor should be. Ranges from 1 to 31.
1983
- */
1984
- day_of_month: number;
1985
- /**
1986
- * The hour of the day the anchor should be. Ranges from 0 to 23.
1987
- */
1988
- hour?: number;
1989
- /**
1990
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
1991
- */
1992
- minute?: number;
1993
- /**
1994
- * The month to start full cycle periods. Ranges from 1 to 12.
1995
- */
1996
- month?: number;
1997
- /**
1998
- * The second of the minute the anchor should be. Ranges from 0 to 59.
1999
- */
2000
- second?: number;
2001
- }
2002
- type Type = 'custom' | 'inherit' | OtherString;
2003
- }
1156
+ type Type = 'account' | 'self' | OtherString;
2004
1157
  }
2005
1158
  }
2006
1159
  namespace Duration {
@@ -2028,7 +1181,7 @@ export declare namespace SubscriptionScheduleCreateParams {
2028
1181
  type: Issuer.Type;
2029
1182
  }
2030
1183
  namespace Issuer {
2031
- type Type = 'account' | 'application' | 'self' | OtherString;
1184
+ type Type = 'account' | 'self' | OtherString;
2032
1185
  }
2033
1186
  }
2034
1187
  namespace Item {
@@ -2047,18 +1200,10 @@ export declare namespace SubscriptionScheduleCreateParams {
2047
1200
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2048
1201
  */
2049
1202
  discount?: string;
2050
- /**
2051
- * Details to determine how long the discount should be applied for.
2052
- */
2053
- discount_end?: Discount.DiscountEnd;
2054
1203
  /**
2055
1204
  * ID of the promotion code to create a new discount for.
2056
1205
  */
2057
1206
  promotion_code?: string;
2058
- /**
2059
- * Settings for discount application including service period anchoring.
2060
- */
2061
- settings?: Discount.Settings;
2062
1207
  }
2063
1208
  interface PriceData {
2064
1209
  /**
@@ -2086,96 +1231,6 @@ export declare namespace SubscriptionScheduleCreateParams {
2086
1231
  */
2087
1232
  unit_amount_decimal?: Decimal;
2088
1233
  }
2089
- interface Trial {
2090
- /**
2091
- * 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.
2092
- */
2093
- converts_to?: Array<string>;
2094
- /**
2095
- * Determines the type of trial for this item.
2096
- */
2097
- type: Trial.Type;
2098
- }
2099
- namespace Discount {
2100
- interface DiscountEnd {
2101
- /**
2102
- * Time span for the redeemed discount.
2103
- */
2104
- duration?: DiscountEnd.Duration;
2105
- /**
2106
- * A precise Unix timestamp for the discount to end. Must be in the future.
2107
- */
2108
- timestamp?: number;
2109
- /**
2110
- * The type of calculation made to determine when the discount ends.
2111
- */
2112
- type: DiscountEnd.Type;
2113
- }
2114
- interface Settings {
2115
- /**
2116
- * Configures service period cycle anchoring.
2117
- */
2118
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
2119
- /**
2120
- * 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.
2121
- */
2122
- start_date?: Settings.StartDate;
2123
- }
2124
- namespace DiscountEnd {
2125
- interface Duration {
2126
- /**
2127
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2128
- */
2129
- interval: Duration.Interval;
2130
- /**
2131
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2132
- */
2133
- interval_count: number;
2134
- }
2135
- type Type = 'duration' | 'timestamp' | OtherString;
2136
- namespace Duration {
2137
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2138
- }
2139
- }
2140
- namespace Settings {
2141
- interface ServicePeriodAnchorConfig {
2142
- /**
2143
- * Anchor the service period to a custom date. Type must be `custom` to specify.
2144
- */
2145
- custom?: ServicePeriodAnchorConfig.Custom;
2146
- /**
2147
- * The type of service period anchor config. Defaults to `inherit` if omitted.
2148
- */
2149
- type?: ServicePeriodAnchorConfig.Type;
2150
- }
2151
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
2152
- namespace ServicePeriodAnchorConfig {
2153
- interface Custom {
2154
- /**
2155
- * The day of the month the anchor should be. Ranges from 1 to 31.
2156
- */
2157
- day_of_month: number;
2158
- /**
2159
- * The hour of the day the anchor should be. Ranges from 0 to 23.
2160
- */
2161
- hour?: number;
2162
- /**
2163
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
2164
- */
2165
- minute?: number;
2166
- /**
2167
- * The month to start full cycle periods. Ranges from 1 to 12.
2168
- */
2169
- month?: number;
2170
- /**
2171
- * The second of the minute the anchor should be. Ranges from 0 to 59.
2172
- */
2173
- second?: number;
2174
- }
2175
- type Type = 'custom' | 'inherit' | OtherString;
2176
- }
2177
- }
2178
- }
2179
1234
  namespace PriceData {
2180
1235
  interface Recurring {
2181
1236
  /**
@@ -2192,28 +1247,8 @@ export declare namespace SubscriptionScheduleCreateParams {
2192
1247
  type Interval = 'day' | 'month' | 'week' | 'year';
2193
1248
  }
2194
1249
  }
2195
- namespace Trial {
2196
- type Type = 'free' | 'paid' | OtherString;
2197
- }
2198
- }
2199
- namespace PauseCollection {
2200
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
2201
- }
2202
- namespace TrialSettings {
2203
- interface EndBehavior {
2204
- /**
2205
- * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
2206
- */
2207
- prorate_up_front?: EndBehavior.ProrateUpFront;
2208
- }
2209
- namespace EndBehavior {
2210
- type ProrateUpFront = 'defer' | 'include' | OtherString;
2211
- }
2212
1250
  }
2213
1251
  }
2214
- namespace Prebilling {
2215
- type UpdateBehavior = 'prebill' | 'reset' | OtherString;
2216
- }
2217
1252
  }
2218
1253
  export interface SubscriptionScheduleRetrieveParams {
2219
1254
  /**
@@ -2222,14 +1257,6 @@ export interface SubscriptionScheduleRetrieveParams {
2222
1257
  expand?: Array<string>;
2223
1258
  }
2224
1259
  export interface SubscriptionScheduleUpdateParams {
2225
- /**
2226
- * 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.
2227
- */
2228
- billing_behavior?: SubscriptionScheduleUpdateParams.BillingBehavior;
2229
- /**
2230
- * Sets the billing schedules for the subscription schedule.
2231
- */
2232
- billing_schedules?: Emptyable<Array<SubscriptionScheduleUpdateParams.BillingSchedule>>;
2233
1260
  /**
2234
1261
  * Object representing the subscription schedule's default settings.
2235
1262
  */
@@ -2246,39 +1273,16 @@ export interface SubscriptionScheduleUpdateParams {
2246
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`.
2247
1274
  */
2248
1275
  metadata?: Emptyable<MetadataParam>;
2249
- /**
2250
- * Sets the pause schedules for the subscription schedule. Include a `key` to update an existing entry or omit it to add a new one. Pass `""` to clear all entries or `[]` to leave them unchanged.
2251
- */
2252
- pause_schedules?: Emptyable<Array<SubscriptionScheduleUpdateParams.PauseSchedule>>;
2253
1276
  /**
2254
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.
2255
1278
  */
2256
1279
  phases?: Array<SubscriptionScheduleUpdateParams.Phase>;
2257
- /**
2258
- * If specified, the invoicing for the given billing cycle iterations will be processed now.
2259
- */
2260
- prebilling?: SubscriptionScheduleUpdateParams.Prebilling;
2261
1280
  /**
2262
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`.
2263
1282
  */
2264
1283
  proration_behavior?: SubscriptionScheduleUpdateParams.ProrationBehavior;
2265
1284
  }
2266
1285
  export declare namespace SubscriptionScheduleUpdateParams {
2267
- type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front';
2268
- interface BillingSchedule {
2269
- /**
2270
- * Configure billing schedule differently for individual subscription items.
2271
- */
2272
- applies_to?: Array<BillingSchedule.AppliesTo>;
2273
- /**
2274
- * The end date for the billing schedule.
2275
- */
2276
- bill_until?: BillingSchedule.BillUntil;
2277
- /**
2278
- * 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.
2279
- */
2280
- key?: string;
2281
- }
2282
1286
  interface DefaultSettings {
2283
1287
  /**
2284
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).
@@ -2316,30 +1320,12 @@ export declare namespace SubscriptionScheduleUpdateParams {
2316
1320
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
2317
1321
  */
2318
1322
  on_behalf_of?: Emptyable<string>;
2319
- /**
2320
- * Configures how the subscription schedule handles billing for phase transitions.
2321
- */
2322
- phase_effective_at?: DefaultSettings.PhaseEffectiveAt;
2323
1323
  /**
2324
1324
  * The data with which to automatically create a Transfer for each of the associated subscription's invoices.
2325
1325
  */
2326
1326
  transfer_data?: Emptyable<DefaultSettings.TransferData>;
2327
1327
  }
2328
1328
  type EndBehavior = 'cancel' | 'none' | 'release' | 'renew' | OtherString;
2329
- interface PauseSchedule {
2330
- /**
2331
- * A unique identifier for this pause schedule entry.
2332
- */
2333
- key?: string;
2334
- /**
2335
- * Configuration for when and how the subscription pauses.
2336
- */
2337
- pause?: PauseSchedule.Pause;
2338
- /**
2339
- * Configuration for when and how the subscription resumes.
2340
- */
2341
- resume?: PauseSchedule.Resume;
2342
- }
2343
1329
  interface Phase {
2344
1330
  /**
2345
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.
@@ -2389,10 +1375,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2389
1375
  * The number of intervals the phase should last. If set, `end_date` must not be set.
2390
1376
  */
2391
1377
  duration?: Phase.Duration;
2392
- /**
2393
- * Configures how the subscription schedule handles billing for phase transitions.
2394
- */
2395
- effective_at?: Phase.EffectiveAt;
2396
1378
  /**
2397
1379
  * The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.
2398
1380
  */
@@ -2413,10 +1395,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2413
1395
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
2414
1396
  */
2415
1397
  on_behalf_of?: string;
2416
- /**
2417
- * 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).
2418
- */
2419
- pause_collection?: Phase.PauseCollection;
2420
1398
  /**
2421
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.
2422
1400
  */
@@ -2433,72 +1411,12 @@ export declare namespace SubscriptionScheduleUpdateParams {
2433
1411
  * If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
2434
1412
  */
2435
1413
  trial?: boolean;
2436
- /**
2437
- * Specify trial behavior when crossing phase boundaries
2438
- */
2439
- trial_continuation?: Phase.TrialContinuation;
2440
1414
  /**
2441
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.
2442
1416
  */
2443
1417
  trial_end?: number | 'now';
2444
- /**
2445
- * Settings related to subscription trials.
2446
- */
2447
- trial_settings?: Phase.TrialSettings;
2448
- }
2449
- interface Prebilling {
2450
- /**
2451
- * This is used to determine the number of billing cycles to prebill.
2452
- */
2453
- iterations: number;
2454
- /**
2455
- * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
2456
- */
2457
- update_behavior?: Prebilling.UpdateBehavior;
2458
1418
  }
2459
1419
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
2460
- namespace BillingSchedule {
2461
- interface AppliesTo {
2462
- /**
2463
- * The ID of the price object.
2464
- */
2465
- price?: string;
2466
- /**
2467
- * Controls which subscription items the billing schedule applies to.
2468
- */
2469
- type: 'price';
2470
- }
2471
- interface BillUntil {
2472
- /**
2473
- * Specifies the billing period.
2474
- */
2475
- duration?: BillUntil.Duration;
2476
- /**
2477
- * The end date of the billing schedule.
2478
- */
2479
- timestamp?: number;
2480
- /**
2481
- * Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
2482
- */
2483
- type: BillUntil.Type;
2484
- }
2485
- namespace BillUntil {
2486
- interface Duration {
2487
- /**
2488
- * Specifies billing duration. Either `day`, `week`, `month` or `year`.
2489
- */
2490
- interval: Duration.Interval;
2491
- /**
2492
- * The multiplier applied to the interval.
2493
- */
2494
- interval_count?: number;
2495
- }
2496
- type Type = 'duration' | 'timestamp' | OtherString;
2497
- namespace Duration {
2498
- type Interval = 'day' | 'month' | 'week' | 'year';
2499
- }
2500
- }
2501
- }
2502
1420
  namespace DefaultSettings {
2503
1421
  interface AutomaticTax {
2504
1422
  /**
@@ -2539,7 +1457,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2539
1457
  */
2540
1458
  issuer?: InvoiceSettings.Issuer;
2541
1459
  }
2542
- type PhaseEffectiveAt = 'billing_period_start' | 'phase_start';
2543
1460
  interface TransferData {
2544
1461
  /**
2545
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.
@@ -2562,7 +1479,7 @@ export declare namespace SubscriptionScheduleUpdateParams {
2562
1479
  type: Liability.Type;
2563
1480
  }
2564
1481
  namespace Liability {
2565
- type Type = 'account' | 'application' | 'self' | OtherString;
1482
+ type Type = 'account' | 'self' | OtherString;
2566
1483
  }
2567
1484
  }
2568
1485
  namespace InvoiceSettings {
@@ -2587,179 +1504,44 @@ export declare namespace SubscriptionScheduleUpdateParams {
2587
1504
  type: Issuer.Type;
2588
1505
  }
2589
1506
  namespace Issuer {
2590
- type Type = 'account' | 'application' | 'self' | OtherString;
1507
+ type Type = 'account' | 'self' | OtherString;
2591
1508
  }
2592
1509
  }
2593
1510
  }
2594
- namespace PauseSchedule {
2595
- interface Pause {
1511
+ namespace Phase {
1512
+ interface AddInvoiceItem {
2596
1513
  /**
2597
- * When to pause the subscription.
1514
+ * Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
2598
1515
  */
2599
- pause_at?: Pause.PauseAt;
1516
+ discountable?: boolean;
2600
1517
  /**
2601
- * Settings controlling billing behavior during the pause.
1518
+ * The coupons to redeem into discounts for the item.
2602
1519
  */
2603
- settings?: Pause.Settings;
2604
- }
2605
- interface Resume {
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;
1525
+ /**
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;
2606
1529
  /**
2607
- * When to resume the subscription.
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.
2608
1539
  */
2609
- resume_at?: Resume.ResumeAt;
1540
+ quantity?: number;
2610
1541
  /**
2611
- * Settings controlling how the subscription resumes.
1542
+ * The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
2612
1543
  */
2613
- settings?: Resume.Settings;
2614
- }
2615
- namespace Pause {
2616
- interface PauseAt {
2617
- /**
2618
- * The Unix timestamp at which to pause the subscription. Required when `type` is `timestamp`.
2619
- */
2620
- timestamp?: number;
2621
- /**
2622
- * When to pause the subscription. Use `now` to pause immediately or `timestamp` to pause at a specific time.
2623
- */
2624
- type: PauseAt.Type;
2625
- }
2626
- interface Settings {
2627
- /**
2628
- * Controls what to bill for when pausing the subscription.
2629
- */
2630
- bill_for?: Settings.BillFor;
2631
- /**
2632
- * Determines whether to generate an invoice for outstanding amounts when pausing.
2633
- */
2634
- invoicing_behavior?: Settings.InvoicingBehavior;
2635
- /**
2636
- * The pause type. Currently only `subscription` is supported.
2637
- */
2638
- type?: 'subscription';
2639
- }
2640
- namespace PauseAt {
2641
- type Type = 'now' | 'timestamp' | OtherString;
2642
- }
2643
- namespace Settings {
2644
- interface BillFor {
2645
- /**
2646
- * Controls whether to collect metered usage accrued up to the pause date.
2647
- */
2648
- outstanding_usage_through?: BillFor.OutstandingUsageThrough;
2649
- /**
2650
- * Controls how unused time on subscription items is credited when pausing.
2651
- */
2652
- unused_time_from?: BillFor.UnusedTimeFrom;
2653
- }
2654
- type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
2655
- namespace BillFor {
2656
- interface OutstandingUsageThrough {
2657
- /**
2658
- * Determines whether to collect metered usage accrued up to the pause date.
2659
- */
2660
- type?: OutstandingUsageThrough.Type;
2661
- }
2662
- interface UnusedTimeFrom {
2663
- /**
2664
- * Determines which point in the billing period unused time is credited from.
2665
- */
2666
- type?: UnusedTimeFrom.Type;
2667
- }
2668
- namespace OutstandingUsageThrough {
2669
- type Type = 'none' | 'pause_at';
2670
- }
2671
- namespace UnusedTimeFrom {
2672
- type Type = 'item_current_period_start' | 'none' | 'pause_at';
2673
- }
2674
- }
2675
- }
2676
- }
2677
- namespace Resume {
2678
- interface ResumeAt {
2679
- /**
2680
- * The duration after which to resume the subscription. Required when `type` is `duration`.
2681
- */
2682
- duration?: ResumeAt.Duration;
2683
- /**
2684
- * The Unix timestamp at which to resume the subscription. Required when `type` is `timestamp`.
2685
- */
2686
- timestamp?: number;
2687
- /**
2688
- * 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.
2689
- */
2690
- type: ResumeAt.Type;
2691
- }
2692
- interface Settings {
2693
- /**
2694
- * Controls the billing cycle anchor when the subscription resumes.
2695
- */
2696
- billing_cycle_anchor?: Settings.BillingCycleAnchor;
2697
- /**
2698
- * Controls whether Stripe attempts payment on the resumption invoice and how payment affects the subscription's status. The default is `resume_on_payment_attempt`.
2699
- */
2700
- payment_behavior?: Settings.PaymentBehavior;
2701
- /**
2702
- * Determines how to handle prorations when the subscription resumes. The default is `create_prorations`.
2703
- */
2704
- proration_behavior?: Settings.ProrationBehavior;
2705
- }
2706
- namespace ResumeAt {
2707
- interface Duration {
2708
- /**
2709
- * The time unit for the resume duration. One of `day`, `week`, `month`, or `year`.
2710
- */
2711
- interval: Duration.Interval;
2712
- /**
2713
- * The number of intervals after which the subscription resumes.
2714
- */
2715
- interval_count?: number;
2716
- }
2717
- type Type = 'duration' | 'now' | 'timestamp' | OtherString;
2718
- namespace Duration {
2719
- type Interval = 'day' | 'month' | 'week' | 'year';
2720
- }
2721
- }
2722
- namespace Settings {
2723
- type BillingCycleAnchor = 'resume_at' | 'unchanged';
2724
- type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success';
2725
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
2726
- }
2727
- }
2728
- }
2729
- namespace Phase {
2730
- interface AddInvoiceItem {
2731
- /**
2732
- * Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
2733
- */
2734
- discountable?: boolean;
2735
- /**
2736
- * The coupons to redeem into discounts for the item.
2737
- */
2738
- discounts?: Array<AddInvoiceItem.Discount>;
2739
- /**
2740
- * 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`.
2741
- */
2742
- metadata?: MetadataParam;
2743
- /**
2744
- * 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`.
2745
- */
2746
- period?: AddInvoiceItem.Period;
2747
- /**
2748
- * The ID of the price object. One of `price` or `price_data` is required.
2749
- */
2750
- price?: string;
2751
- /**
2752
- * Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.
2753
- */
2754
- price_data?: AddInvoiceItem.PriceData;
2755
- /**
2756
- * Quantity for this item. Defaults to 1.
2757
- */
2758
- quantity?: number;
2759
- /**
2760
- * The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
2761
- */
2762
- tax_rates?: Emptyable<Array<string>>;
1544
+ tax_rates?: Emptyable<Array<string>>;
2763
1545
  }
2764
1546
  interface AutomaticTax {
2765
1547
  /**
@@ -2792,18 +1574,10 @@ export declare namespace SubscriptionScheduleUpdateParams {
2792
1574
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2793
1575
  */
2794
1576
  discount?: string;
2795
- /**
2796
- * Details to determine how long the discount should be applied for.
2797
- */
2798
- discount_end?: Discount.DiscountEnd;
2799
1577
  /**
2800
1578
  * ID of the promotion code to create a new discount for.
2801
1579
  */
2802
1580
  promotion_code?: string;
2803
- /**
2804
- * Settings for discount application including service period anchoring.
2805
- */
2806
- settings?: Discount.Settings;
2807
1581
  }
2808
1582
  interface Duration {
2809
1583
  /**
@@ -2815,7 +1589,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2815
1589
  */
2816
1590
  interval_count?: number;
2817
1591
  }
2818
- type EffectiveAt = 'billing_period_start' | 'phase_start';
2819
1592
  interface InvoiceSettings {
2820
1593
  /**
2821
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.
@@ -2875,20 +1648,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2875
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.
2876
1649
  */
2877
1650
  tax_rates?: Emptyable<Array<string>>;
2878
- /**
2879
- * Options that configure the trial on the subscription item.
2880
- */
2881
- trial?: Item.Trial;
2882
- /**
2883
- * The ID of the trial offer to apply to the configuration item.
2884
- */
2885
- trial_offer?: string;
2886
- }
2887
- interface PauseCollection {
2888
- /**
2889
- * The payment collection behavior for this subscription while paused.
2890
- */
2891
- behavior: PauseCollection.Behavior;
2892
1651
  }
2893
1652
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
2894
1653
  interface TransferData {
@@ -2901,13 +1660,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2901
1660
  */
2902
1661
  destination: string;
2903
1662
  }
2904
- type TrialContinuation = 'continue' | 'none' | OtherString;
2905
- interface TrialSettings {
2906
- /**
2907
- * Defines how the subscription should behave when a trial ends.
2908
- */
2909
- end_behavior?: TrialSettings.EndBehavior;
2910
- }
2911
1663
  namespace AddInvoiceItem {
2912
1664
  interface Discount {
2913
1665
  /**
@@ -2918,10 +1670,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2918
1670
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2919
1671
  */
2920
1672
  discount?: string;
2921
- /**
2922
- * Details to determine how long the discount should be applied for.
2923
- */
2924
- discount_end?: Discount.DiscountEnd;
2925
1673
  /**
2926
1674
  * ID of the promotion code to create a new discount for.
2927
1675
  */
@@ -2959,38 +1707,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2959
1707
  */
2960
1708
  unit_amount_decimal?: Decimal;
2961
1709
  }
2962
- namespace Discount {
2963
- interface DiscountEnd {
2964
- /**
2965
- * Time span for the redeemed discount.
2966
- */
2967
- duration?: DiscountEnd.Duration;
2968
- /**
2969
- * A precise Unix timestamp for the discount to end. Must be in the future.
2970
- */
2971
- timestamp?: number;
2972
- /**
2973
- * The type of calculation made to determine when the discount ends.
2974
- */
2975
- type: DiscountEnd.Type;
2976
- }
2977
- namespace DiscountEnd {
2978
- interface Duration {
2979
- /**
2980
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2981
- */
2982
- interval: Duration.Interval;
2983
- /**
2984
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2985
- */
2986
- interval_count: number;
2987
- }
2988
- type Type = 'duration' | 'timestamp' | OtherString;
2989
- namespace Duration {
2990
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2991
- }
2992
- }
2993
- }
2994
1710
  namespace Period {
2995
1711
  interface End {
2996
1712
  /**
@@ -3035,87 +1751,7 @@ export declare namespace SubscriptionScheduleUpdateParams {
3035
1751
  type: Liability.Type;
3036
1752
  }
3037
1753
  namespace Liability {
3038
- type Type = 'account' | 'application' | 'self' | OtherString;
3039
- }
3040
- }
3041
- namespace Discount {
3042
- interface DiscountEnd {
3043
- /**
3044
- * Time span for the redeemed discount.
3045
- */
3046
- duration?: DiscountEnd.Duration;
3047
- /**
3048
- * A precise Unix timestamp for the discount to end. Must be in the future.
3049
- */
3050
- timestamp?: number;
3051
- /**
3052
- * The type of calculation made to determine when the discount ends.
3053
- */
3054
- type: DiscountEnd.Type;
3055
- }
3056
- interface Settings {
3057
- /**
3058
- * Configures service period cycle anchoring.
3059
- */
3060
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3061
- /**
3062
- * 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.
3063
- */
3064
- start_date?: Settings.StartDate;
3065
- }
3066
- namespace DiscountEnd {
3067
- interface Duration {
3068
- /**
3069
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3070
- */
3071
- interval: Duration.Interval;
3072
- /**
3073
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3074
- */
3075
- interval_count: number;
3076
- }
3077
- type Type = 'duration' | 'timestamp' | OtherString;
3078
- namespace Duration {
3079
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3080
- }
3081
- }
3082
- namespace Settings {
3083
- interface ServicePeriodAnchorConfig {
3084
- /**
3085
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3086
- */
3087
- custom?: ServicePeriodAnchorConfig.Custom;
3088
- /**
3089
- * The type of service period anchor config. Defaults to `inherit` if omitted.
3090
- */
3091
- type?: ServicePeriodAnchorConfig.Type;
3092
- }
3093
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
3094
- namespace ServicePeriodAnchorConfig {
3095
- interface Custom {
3096
- /**
3097
- * The day of the month the anchor should be. Ranges from 1 to 31.
3098
- */
3099
- day_of_month: number;
3100
- /**
3101
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3102
- */
3103
- hour?: number;
3104
- /**
3105
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3106
- */
3107
- minute?: number;
3108
- /**
3109
- * The month to start full cycle periods. Ranges from 1 to 12.
3110
- */
3111
- month?: number;
3112
- /**
3113
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3114
- */
3115
- second?: number;
3116
- }
3117
- type Type = 'custom' | 'inherit' | OtherString;
3118
- }
1754
+ type Type = 'account' | 'self' | OtherString;
3119
1755
  }
3120
1756
  }
3121
1757
  namespace Duration {
@@ -3143,7 +1779,7 @@ export declare namespace SubscriptionScheduleUpdateParams {
3143
1779
  type: Issuer.Type;
3144
1780
  }
3145
1781
  namespace Issuer {
3146
- type Type = 'account' | 'application' | 'self' | OtherString;
1782
+ type Type = 'account' | 'self' | OtherString;
3147
1783
  }
3148
1784
  }
3149
1785
  namespace Item {
@@ -3162,18 +1798,10 @@ export declare namespace SubscriptionScheduleUpdateParams {
3162
1798
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
3163
1799
  */
3164
1800
  discount?: string;
3165
- /**
3166
- * Details to determine how long the discount should be applied for.
3167
- */
3168
- discount_end?: Discount.DiscountEnd;
3169
1801
  /**
3170
1802
  * ID of the promotion code to create a new discount for.
3171
1803
  */
3172
1804
  promotion_code?: string;
3173
- /**
3174
- * Settings for discount application including service period anchoring.
3175
- */
3176
- settings?: Discount.Settings;
3177
1805
  }
3178
1806
  interface PriceData {
3179
1807
  /**
@@ -3201,96 +1829,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
3201
1829
  */
3202
1830
  unit_amount_decimal?: Decimal;
3203
1831
  }
3204
- interface Trial {
3205
- /**
3206
- * 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.
3207
- */
3208
- converts_to?: Array<string>;
3209
- /**
3210
- * Determines the type of trial for this item.
3211
- */
3212
- type: Trial.Type;
3213
- }
3214
- namespace Discount {
3215
- interface DiscountEnd {
3216
- /**
3217
- * Time span for the redeemed discount.
3218
- */
3219
- duration?: DiscountEnd.Duration;
3220
- /**
3221
- * A precise Unix timestamp for the discount to end. Must be in the future.
3222
- */
3223
- timestamp?: number;
3224
- /**
3225
- * The type of calculation made to determine when the discount ends.
3226
- */
3227
- type: DiscountEnd.Type;
3228
- }
3229
- interface Settings {
3230
- /**
3231
- * Configures service period cycle anchoring.
3232
- */
3233
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3234
- /**
3235
- * 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.
3236
- */
3237
- start_date?: Settings.StartDate;
3238
- }
3239
- namespace DiscountEnd {
3240
- interface Duration {
3241
- /**
3242
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3243
- */
3244
- interval: Duration.Interval;
3245
- /**
3246
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3247
- */
3248
- interval_count: number;
3249
- }
3250
- type Type = 'duration' | 'timestamp' | OtherString;
3251
- namespace Duration {
3252
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3253
- }
3254
- }
3255
- namespace Settings {
3256
- interface ServicePeriodAnchorConfig {
3257
- /**
3258
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3259
- */
3260
- custom?: ServicePeriodAnchorConfig.Custom;
3261
- /**
3262
- * The type of service period anchor config. Defaults to `inherit` if omitted.
3263
- */
3264
- type?: ServicePeriodAnchorConfig.Type;
3265
- }
3266
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
3267
- namespace ServicePeriodAnchorConfig {
3268
- interface Custom {
3269
- /**
3270
- * The day of the month the anchor should be. Ranges from 1 to 31.
3271
- */
3272
- day_of_month: number;
3273
- /**
3274
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3275
- */
3276
- hour?: number;
3277
- /**
3278
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3279
- */
3280
- minute?: number;
3281
- /**
3282
- * The month to start full cycle periods. Ranges from 1 to 12.
3283
- */
3284
- month?: number;
3285
- /**
3286
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3287
- */
3288
- second?: number;
3289
- }
3290
- type Type = 'custom' | 'inherit' | OtherString;
3291
- }
3292
- }
3293
- }
3294
1832
  namespace PriceData {
3295
1833
  interface Recurring {
3296
1834
  /**
@@ -3307,27 +1845,7 @@ export declare namespace SubscriptionScheduleUpdateParams {
3307
1845
  type Interval = 'day' | 'month' | 'week' | 'year';
3308
1846
  }
3309
1847
  }
3310
- namespace Trial {
3311
- type Type = 'free' | 'paid' | OtherString;
3312
- }
3313
1848
  }
3314
- namespace PauseCollection {
3315
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
3316
- }
3317
- namespace TrialSettings {
3318
- interface EndBehavior {
3319
- /**
3320
- * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
3321
- */
3322
- prorate_up_front?: EndBehavior.ProrateUpFront;
3323
- }
3324
- namespace EndBehavior {
3325
- type ProrateUpFront = 'defer' | 'include' | OtherString;
3326
- }
3327
- }
3328
- }
3329
- namespace Prebilling {
3330
- type UpdateBehavior = 'prebill' | 'reset' | OtherString;
3331
1849
  }
3332
1850
  }
3333
1851
  export interface SubscriptionScheduleListParams extends PaginationParams {
@@ -3364,847 +1882,6 @@ export interface SubscriptionScheduleListParams extends PaginationParams {
3364
1882
  */
3365
1883
  scheduled?: boolean;
3366
1884
  }
3367
- export interface SubscriptionScheduleAmendParams {
3368
- /**
3369
- * Changes to apply to the phases of the subscription schedule, in the order provided.
3370
- */
3371
- amendments?: Array<SubscriptionScheduleAmendParams.Amendment>;
3372
- /**
3373
- * Specifies which fields in the response should be expanded.
3374
- */
3375
- expand?: Array<string>;
3376
- /**
3377
- * Provide any time periods to bill in advance.
3378
- */
3379
- prebilling?: Emptyable<Array<SubscriptionScheduleAmendParams.Prebilling>>;
3380
- /**
3381
- * In cases where the amendment changes the currently active phase,
3382
- * specifies if and how to prorate at the time of the request.
3383
- */
3384
- proration_behavior?: SubscriptionScheduleAmendParams.ProrationBehavior;
3385
- /**
3386
- * Changes to apply to the subscription schedule.
3387
- */
3388
- schedule_settings?: SubscriptionScheduleAmendParams.ScheduleSettings;
3389
- }
3390
- export declare namespace SubscriptionScheduleAmendParams {
3391
- interface Amendment {
3392
- /**
3393
- * 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.
3394
- */
3395
- amendment_end?: Amendment.AmendmentEnd;
3396
- /**
3397
- * Details to identify the earliest timestamp where the proposed change should take effect.
3398
- */
3399
- amendment_start: Amendment.AmendmentStart;
3400
- /**
3401
- * 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.
3402
- */
3403
- billing_cycle_anchor?: Amendment.BillingCycleAnchor;
3404
- /**
3405
- * Actions to apply to the billing schedules.
3406
- */
3407
- billing_schedules_actions?: Array<Amendment.BillingSchedulesAction>;
3408
- /**
3409
- * Changes to the coupons being redeemed or discounts being applied during the amendment time span.
3410
- */
3411
- discount_actions?: Array<Amendment.DiscountAction>;
3412
- /**
3413
- * Configures how the subscription schedule handles billing for phase transitions.
3414
- */
3415
- effective_at?: Amendment.EffectiveAt;
3416
- /**
3417
- * Changes to the subscription items during the amendment time span.
3418
- */
3419
- item_actions?: Array<Amendment.ItemAction>;
3420
- /**
3421
- * Instructions for how to modify phase metadata
3422
- */
3423
- metadata_actions?: Array<Amendment.MetadataAction>;
3424
- /**
3425
- * 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`.
3426
- */
3427
- proration_behavior?: Amendment.ProrationBehavior;
3428
- /**
3429
- * Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
3430
- */
3431
- set_pause_collection?: Amendment.SetPauseCollection;
3432
- /**
3433
- * Ends the subscription schedule early as dictated by either the accompanying amendment's start or end.
3434
- */
3435
- set_schedule_end?: Amendment.SetScheduleEnd;
3436
- /**
3437
- * Settings related to subscription trials.
3438
- */
3439
- trial_settings?: Amendment.TrialSettings;
3440
- }
3441
- interface Prebilling {
3442
- /**
3443
- * The beginning of the prebilled time period. The default value is `now`.
3444
- */
3445
- bill_from?: Prebilling.BillFrom;
3446
- /**
3447
- * The end of the prebilled time period.
3448
- */
3449
- bill_until?: Prebilling.BillUntil;
3450
- /**
3451
- * When the prebilling invoice should be created. The default value is `now`.
3452
- */
3453
- invoice_at?: 'now';
3454
- /**
3455
- * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
3456
- */
3457
- update_behavior?: Prebilling.UpdateBehavior;
3458
- }
3459
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
3460
- interface ScheduleSettings {
3461
- /**
3462
- * Behavior of the subscription schedule and underlying subscription when it ends.
3463
- */
3464
- end_behavior?: ScheduleSettings.EndBehavior;
3465
- }
3466
- namespace Amendment {
3467
- interface AmendmentEnd {
3468
- /**
3469
- * Use the `end` time of a given discount.
3470
- */
3471
- discount_end?: AmendmentEnd.DiscountEnd;
3472
- /**
3473
- * Time span for the amendment starting from the `amendment_start`.
3474
- */
3475
- duration?: AmendmentEnd.Duration;
3476
- /**
3477
- * A precise Unix timestamp for the amendment to end. Must be after the `amendment_start`.
3478
- */
3479
- timestamp?: number;
3480
- /**
3481
- * Select one of three ways to pass the `amendment_end`.
3482
- */
3483
- type: AmendmentEnd.Type;
3484
- }
3485
- interface AmendmentStart {
3486
- /**
3487
- * Details of another amendment in the same array, immediately after which this amendment should begin.
3488
- */
3489
- amendment_end?: AmendmentStart.AmendmentEnd;
3490
- /**
3491
- * Use the `end` time of a given discount.
3492
- */
3493
- discount_end?: AmendmentStart.DiscountEnd;
3494
- /**
3495
- * A precise Unix timestamp for the amendment to start.
3496
- */
3497
- timestamp?: number;
3498
- /**
3499
- * Select one of three ways to pass the `amendment_start`.
3500
- */
3501
- type: AmendmentStart.Type;
3502
- }
3503
- type BillingCycleAnchor = 'amendment_start' | 'automatic' | OtherString;
3504
- interface BillingSchedulesAction {
3505
- /**
3506
- * Specify which subscription items the billing schedule applies to.
3507
- */
3508
- applies_to?: Array<BillingSchedulesAction.AppliesTo>;
3509
- /**
3510
- * Select the action.
3511
- */
3512
- type: BillingSchedulesAction.Type;
3513
- }
3514
- interface DiscountAction {
3515
- /**
3516
- * Details of the discount to add.
3517
- */
3518
- add?: DiscountAction.Add;
3519
- /**
3520
- * Details of the discount to remove.
3521
- */
3522
- remove?: DiscountAction.Remove;
3523
- /**
3524
- * Details of the discount to replace the existing discounts with.
3525
- */
3526
- set?: DiscountAction.Set;
3527
- /**
3528
- * Determines the type of discount action.
3529
- */
3530
- type: DiscountAction.Type;
3531
- }
3532
- type EffectiveAt = 'amendment_start' | 'billing_period_start' | OtherString;
3533
- interface ItemAction {
3534
- /**
3535
- * 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.
3536
- */
3537
- add?: ItemAction.Add;
3538
- /**
3539
- * Details of the subscription item to remove.
3540
- */
3541
- remove?: ItemAction.Remove;
3542
- /**
3543
- * 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.
3544
- */
3545
- set?: ItemAction.Set;
3546
- /**
3547
- * Determines the type of item action.
3548
- */
3549
- type: ItemAction.Type;
3550
- }
3551
- interface MetadataAction {
3552
- /**
3553
- * Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata.
3554
- */
3555
- add?: {
3556
- [key: string]: string;
3557
- };
3558
- /**
3559
- * Keys to remove from schedule phase metadata.
3560
- */
3561
- remove?: Array<string>;
3562
- /**
3563
- * Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten.
3564
- */
3565
- set?: Emptyable<{
3566
- [key: string]: string;
3567
- }>;
3568
- /**
3569
- * Select one of three ways to update phase-level `metadata` on subscription schedules.
3570
- */
3571
- type: MetadataAction.Type;
3572
- }
3573
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
3574
- interface SetPauseCollection {
3575
- /**
3576
- * Details of the pause_collection behavior to apply to the amendment.
3577
- */
3578
- set?: SetPauseCollection.Set;
3579
- /**
3580
- * Determines the type of the pause_collection amendment.
3581
- */
3582
- type: SetPauseCollection.Type;
3583
- }
3584
- type SetScheduleEnd = 'amendment_end' | 'amendment_start' | OtherString;
3585
- interface TrialSettings {
3586
- /**
3587
- * Defines how the subscription should behave when a trial ends.
3588
- */
3589
- end_behavior?: TrialSettings.EndBehavior;
3590
- }
3591
- namespace AmendmentEnd {
3592
- interface DiscountEnd {
3593
- /**
3594
- * The ID of a specific discount.
3595
- */
3596
- discount: string;
3597
- }
3598
- interface Duration {
3599
- /**
3600
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3601
- */
3602
- interval: Duration.Interval;
3603
- /**
3604
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3605
- */
3606
- interval_count: number;
3607
- }
3608
- type Type = 'discount_end' | 'duration' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
3609
- namespace Duration {
3610
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3611
- }
3612
- }
3613
- namespace AmendmentStart {
3614
- interface AmendmentEnd {
3615
- /**
3616
- * 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.
3617
- */
3618
- index: number;
3619
- }
3620
- interface DiscountEnd {
3621
- /**
3622
- * The ID of a specific discount.
3623
- */
3624
- discount: string;
3625
- }
3626
- type Type = 'amendment_end' | 'discount_end' | 'now' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
3627
- }
3628
- namespace BillingSchedulesAction {
3629
- interface AppliesTo {
3630
- /**
3631
- * The ID of the price object.
3632
- */
3633
- price?: string;
3634
- /**
3635
- * Controls which subscription items the billing schedule applies to.
3636
- */
3637
- type: 'price';
3638
- }
3639
- type Type = 'remove' | 'set' | OtherString;
3640
- }
3641
- namespace DiscountAction {
3642
- interface Add {
3643
- /**
3644
- * The coupon code to redeem.
3645
- */
3646
- coupon?: string;
3647
- /**
3648
- * An ID of an existing discount for a coupon that was already redeemed.
3649
- */
3650
- discount?: string;
3651
- /**
3652
- * Details to determine how long the discount should be applied for.
3653
- */
3654
- discount_end?: Add.DiscountEnd;
3655
- /**
3656
- * 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.
3657
- */
3658
- index?: number;
3659
- /**
3660
- * The promotion code to redeem.
3661
- */
3662
- promotion_code?: string;
3663
- /**
3664
- * Settings for discount application including service period anchoring.
3665
- */
3666
- settings?: Add.Settings;
3667
- }
3668
- interface Remove {
3669
- /**
3670
- * The coupon code to remove from the `discounts` array.
3671
- */
3672
- coupon?: string;
3673
- /**
3674
- * The ID of a discount to remove from the `discounts` array.
3675
- */
3676
- discount?: string;
3677
- /**
3678
- * The ID of a promotion code to remove from the `discounts` array.
3679
- */
3680
- promotion_code?: string;
3681
- }
3682
- interface Set {
3683
- /**
3684
- * The coupon code to replace the `discounts` array with.
3685
- */
3686
- coupon?: string;
3687
- /**
3688
- * An ID of an existing discount to replace the `discounts` array with.
3689
- */
3690
- discount?: string;
3691
- /**
3692
- * An ID of an existing promotion code to replace the `discounts` array with.
3693
- */
3694
- promotion_code?: string;
3695
- /**
3696
- * Settings for discount application including service period anchoring.
3697
- */
3698
- settings?: Set.Settings;
3699
- }
3700
- type Type = 'add' | 'remove' | 'set' | OtherString;
3701
- namespace Add {
3702
- interface DiscountEnd {
3703
- /**
3704
- * The type of calculation made to determine when the discount ends.
3705
- */
3706
- type: 'amendment_end';
3707
- }
3708
- interface Settings {
3709
- /**
3710
- * Configures service period cycle anchoring.
3711
- */
3712
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3713
- /**
3714
- * 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.
3715
- */
3716
- start_date?: Settings.StartDate;
3717
- }
3718
- namespace Settings {
3719
- interface ServicePeriodAnchorConfig {
3720
- /**
3721
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3722
- */
3723
- custom?: ServicePeriodAnchorConfig.Custom;
3724
- /**
3725
- * The type of service period anchor config. Defaults to `inherit` if omitted.
3726
- */
3727
- type?: ServicePeriodAnchorConfig.Type;
3728
- }
3729
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
3730
- namespace ServicePeriodAnchorConfig {
3731
- interface Custom {
3732
- /**
3733
- * The day of the month the anchor should be. Ranges from 1 to 31.
3734
- */
3735
- day_of_month: number;
3736
- /**
3737
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3738
- */
3739
- hour?: number;
3740
- /**
3741
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3742
- */
3743
- minute?: number;
3744
- /**
3745
- * The month to start full cycle periods. Ranges from 1 to 12.
3746
- */
3747
- month?: number;
3748
- /**
3749
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3750
- */
3751
- second?: number;
3752
- }
3753
- type Type = 'custom' | 'inherit' | OtherString;
3754
- }
3755
- }
3756
- }
3757
- namespace Set {
3758
- interface Settings {
3759
- /**
3760
- * Configures service period cycle anchoring.
3761
- */
3762
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3763
- /**
3764
- * 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.
3765
- */
3766
- start_date?: Settings.StartDate;
3767
- }
3768
- namespace Settings {
3769
- interface ServicePeriodAnchorConfig {
3770
- /**
3771
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3772
- */
3773
- custom?: ServicePeriodAnchorConfig.Custom;
3774
- /**
3775
- * The type of service period anchor config. Defaults to `inherit` if omitted.
3776
- */
3777
- type?: ServicePeriodAnchorConfig.Type;
3778
- }
3779
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
3780
- namespace ServicePeriodAnchorConfig {
3781
- interface Custom {
3782
- /**
3783
- * The day of the month the anchor should be. Ranges from 1 to 31.
3784
- */
3785
- day_of_month: number;
3786
- /**
3787
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3788
- */
3789
- hour?: number;
3790
- /**
3791
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3792
- */
3793
- minute?: number;
3794
- /**
3795
- * The month to start full cycle periods. Ranges from 1 to 12.
3796
- */
3797
- month?: number;
3798
- /**
3799
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3800
- */
3801
- second?: number;
3802
- }
3803
- type Type = 'custom' | 'inherit' | OtherString;
3804
- }
3805
- }
3806
- }
3807
- }
3808
- namespace ItemAction {
3809
- interface Add {
3810
- /**
3811
- * The discounts applied to the item. Subscription item discounts are applied before subscription discounts.
3812
- */
3813
- discounts?: Array<Add.Discount>;
3814
- /**
3815
- * 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`.
3816
- */
3817
- metadata?: MetadataParam;
3818
- /**
3819
- * The ID of the price object.
3820
- */
3821
- price: string;
3822
- /**
3823
- * Quantity for this item.
3824
- */
3825
- quantity?: number;
3826
- /**
3827
- * 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`.
3828
- */
3829
- tax_rates?: Array<string>;
3830
- /**
3831
- * Options that configure the trial on the subscription item.
3832
- */
3833
- trial?: Add.Trial;
3834
- /**
3835
- * The ID of the trial offer to apply to the configuration item.
3836
- */
3837
- trial_offer?: string;
3838
- }
3839
- interface Remove {
3840
- /**
3841
- * ID of a price to remove.
3842
- */
3843
- price: string;
3844
- }
3845
- interface Set {
3846
- /**
3847
- * 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`.
3848
- */
3849
- discounts?: Array<Set.Discount>;
3850
- /**
3851
- * 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`.
3852
- */
3853
- metadata?: MetadataParam;
3854
- /**
3855
- * The ID of the price object.
3856
- */
3857
- price: string;
3858
- /**
3859
- * 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`.
3860
- */
3861
- quantity?: number;
3862
- /**
3863
- * 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`.
3864
- */
3865
- tax_rates?: Array<string>;
3866
- /**
3867
- * 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`.
3868
- */
3869
- trial?: Set.Trial;
3870
- /**
3871
- * The ID of the trial offer to apply to the configuration item.
3872
- */
3873
- trial_offer?: string;
3874
- }
3875
- type Type = 'add' | 'remove' | 'set' | OtherString;
3876
- namespace Add {
3877
- interface Discount {
3878
- /**
3879
- * ID of the coupon to create a new discount for.
3880
- */
3881
- coupon?: string;
3882
- /**
3883
- * ID of an existing discount on the object (or one of its ancestors) to reuse.
3884
- */
3885
- discount?: string;
3886
- /**
3887
- * Details to determine how long the discount should be applied for.
3888
- */
3889
- discount_end?: Discount.DiscountEnd;
3890
- /**
3891
- * ID of the promotion code to create a new discount for.
3892
- */
3893
- promotion_code?: string;
3894
- /**
3895
- * Settings for discount application including service period anchoring.
3896
- */
3897
- settings?: Discount.Settings;
3898
- }
3899
- interface Trial {
3900
- /**
3901
- * 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.
3902
- */
3903
- converts_to?: Array<string>;
3904
- /**
3905
- * Determines the type of trial for this item.
3906
- */
3907
- type: Trial.Type;
3908
- }
3909
- namespace Discount {
3910
- interface DiscountEnd {
3911
- /**
3912
- * Time span for the redeemed discount.
3913
- */
3914
- duration?: DiscountEnd.Duration;
3915
- /**
3916
- * A precise Unix timestamp for the discount to end. Must be in the future.
3917
- */
3918
- timestamp?: number;
3919
- /**
3920
- * The type of calculation made to determine when the discount ends.
3921
- */
3922
- type: DiscountEnd.Type;
3923
- }
3924
- interface Settings {
3925
- /**
3926
- * Configures service period cycle anchoring.
3927
- */
3928
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3929
- /**
3930
- * 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.
3931
- */
3932
- start_date?: Settings.StartDate;
3933
- }
3934
- namespace DiscountEnd {
3935
- interface Duration {
3936
- /**
3937
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3938
- */
3939
- interval: Duration.Interval;
3940
- /**
3941
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3942
- */
3943
- interval_count: number;
3944
- }
3945
- type Type = 'duration' | 'timestamp' | OtherString;
3946
- namespace Duration {
3947
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3948
- }
3949
- }
3950
- namespace Settings {
3951
- interface ServicePeriodAnchorConfig {
3952
- /**
3953
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3954
- */
3955
- custom?: ServicePeriodAnchorConfig.Custom;
3956
- /**
3957
- * The type of service period anchor config. Defaults to `inherit` if omitted.
3958
- */
3959
- type?: ServicePeriodAnchorConfig.Type;
3960
- }
3961
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
3962
- namespace ServicePeriodAnchorConfig {
3963
- interface Custom {
3964
- /**
3965
- * The day of the month the anchor should be. Ranges from 1 to 31.
3966
- */
3967
- day_of_month: number;
3968
- /**
3969
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3970
- */
3971
- hour?: number;
3972
- /**
3973
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3974
- */
3975
- minute?: number;
3976
- /**
3977
- * The month to start full cycle periods. Ranges from 1 to 12.
3978
- */
3979
- month?: number;
3980
- /**
3981
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3982
- */
3983
- second?: number;
3984
- }
3985
- type Type = 'custom' | 'inherit' | OtherString;
3986
- }
3987
- }
3988
- }
3989
- namespace Trial {
3990
- type Type = 'free' | 'paid' | OtherString;
3991
- }
3992
- }
3993
- namespace Set {
3994
- interface Discount {
3995
- /**
3996
- * ID of the coupon to create a new discount for.
3997
- */
3998
- coupon?: string;
3999
- /**
4000
- * ID of an existing discount on the object (or one of its ancestors) to reuse.
4001
- */
4002
- discount?: string;
4003
- /**
4004
- * Details to determine how long the discount should be applied for.
4005
- */
4006
- discount_end?: Discount.DiscountEnd;
4007
- /**
4008
- * ID of the promotion code to create a new discount for.
4009
- */
4010
- promotion_code?: string;
4011
- /**
4012
- * Settings for discount application including service period anchoring.
4013
- */
4014
- settings?: Discount.Settings;
4015
- }
4016
- interface Trial {
4017
- /**
4018
- * 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.
4019
- */
4020
- converts_to?: Array<string>;
4021
- /**
4022
- * Determines the type of trial for this item.
4023
- */
4024
- type: Trial.Type;
4025
- }
4026
- namespace Discount {
4027
- interface DiscountEnd {
4028
- /**
4029
- * Time span for the redeemed discount.
4030
- */
4031
- duration?: DiscountEnd.Duration;
4032
- /**
4033
- * A precise Unix timestamp for the discount to end. Must be in the future.
4034
- */
4035
- timestamp?: number;
4036
- /**
4037
- * The type of calculation made to determine when the discount ends.
4038
- */
4039
- type: DiscountEnd.Type;
4040
- }
4041
- interface Settings {
4042
- /**
4043
- * Configures service period cycle anchoring.
4044
- */
4045
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
4046
- /**
4047
- * 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.
4048
- */
4049
- start_date?: Settings.StartDate;
4050
- }
4051
- namespace DiscountEnd {
4052
- interface Duration {
4053
- /**
4054
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4055
- */
4056
- interval: Duration.Interval;
4057
- /**
4058
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4059
- */
4060
- interval_count: number;
4061
- }
4062
- type Type = 'duration' | 'timestamp' | OtherString;
4063
- namespace Duration {
4064
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
4065
- }
4066
- }
4067
- namespace Settings {
4068
- interface ServicePeriodAnchorConfig {
4069
- /**
4070
- * Anchor the service period to a custom date. Type must be `custom` to specify.
4071
- */
4072
- custom?: ServicePeriodAnchorConfig.Custom;
4073
- /**
4074
- * The type of service period anchor config. Defaults to `inherit` if omitted.
4075
- */
4076
- type?: ServicePeriodAnchorConfig.Type;
4077
- }
4078
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
4079
- namespace ServicePeriodAnchorConfig {
4080
- interface Custom {
4081
- /**
4082
- * The day of the month the anchor should be. Ranges from 1 to 31.
4083
- */
4084
- day_of_month: number;
4085
- /**
4086
- * The hour of the day the anchor should be. Ranges from 0 to 23.
4087
- */
4088
- hour?: number;
4089
- /**
4090
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
4091
- */
4092
- minute?: number;
4093
- /**
4094
- * The month to start full cycle periods. Ranges from 1 to 12.
4095
- */
4096
- month?: number;
4097
- /**
4098
- * The second of the minute the anchor should be. Ranges from 0 to 59.
4099
- */
4100
- second?: number;
4101
- }
4102
- type Type = 'custom' | 'inherit' | OtherString;
4103
- }
4104
- }
4105
- }
4106
- namespace Trial {
4107
- type Type = 'free' | 'paid' | OtherString;
4108
- }
4109
- }
4110
- }
4111
- namespace MetadataAction {
4112
- type Type = 'add' | 'remove' | 'set' | OtherString;
4113
- }
4114
- namespace SetPauseCollection {
4115
- interface Set {
4116
- /**
4117
- * The payment collection behavior for this subscription while paused.
4118
- */
4119
- behavior: Set.Behavior;
4120
- }
4121
- type Type = 'remove' | 'set' | OtherString;
4122
- namespace Set {
4123
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
4124
- }
4125
- }
4126
- namespace TrialSettings {
4127
- interface EndBehavior {
4128
- /**
4129
- * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
4130
- */
4131
- prorate_up_front?: EndBehavior.ProrateUpFront;
4132
- }
4133
- namespace EndBehavior {
4134
- type ProrateUpFront = 'defer' | 'include' | OtherString;
4135
- }
4136
- }
4137
- }
4138
- namespace Prebilling {
4139
- interface BillFrom {
4140
- /**
4141
- * Start the prebilled period when a specified amendment begins.
4142
- */
4143
- amendment_start?: BillFrom.AmendmentStart;
4144
- /**
4145
- * Start the prebilled period at a precise integer timestamp, starting from the Unix epoch.
4146
- */
4147
- timestamp?: number;
4148
- /**
4149
- * Select one of several ways to pass the `bill_from` value.
4150
- */
4151
- type: BillFrom.Type;
4152
- }
4153
- interface BillUntil {
4154
- /**
4155
- * End the prebilled period when a specified amendment ends.
4156
- */
4157
- amendment_end?: BillUntil.AmendmentEnd;
4158
- /**
4159
- * Time span for prebilling, starting from `bill_from`.
4160
- */
4161
- duration?: BillUntil.Duration;
4162
- /**
4163
- * End the prebilled period at a precise integer timestamp, starting from the Unix epoch.
4164
- */
4165
- timestamp?: number;
4166
- /**
4167
- * Select one of several ways to pass the `bill_until` value.
4168
- */
4169
- type: BillUntil.Type;
4170
- }
4171
- type UpdateBehavior = 'prebill' | 'reset' | OtherString;
4172
- namespace BillFrom {
4173
- interface AmendmentStart {
4174
- /**
4175
- * 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.
4176
- */
4177
- index: number;
4178
- }
4179
- type Type = 'amendment_start' | 'now' | 'timestamp' | OtherString;
4180
- }
4181
- namespace BillUntil {
4182
- interface AmendmentEnd {
4183
- /**
4184
- * 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.
4185
- */
4186
- index: number;
4187
- }
4188
- interface Duration {
4189
- /**
4190
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4191
- */
4192
- interval: Duration.Interval;
4193
- /**
4194
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4195
- */
4196
- interval_count: number;
4197
- }
4198
- type Type = 'amendment_end' | 'duration' | 'schedule_end' | 'timestamp' | OtherString;
4199
- namespace Duration {
4200
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
4201
- }
4202
- }
4203
- }
4204
- namespace ScheduleSettings {
4205
- type EndBehavior = 'cancel' | 'release' | OtherString;
4206
- }
4207
- }
4208
1885
  export interface SubscriptionScheduleCancelParams {
4209
1886
  /**
4210
1887
  * Specifies which fields in the response should be expanded.
@@ -4229,11 +1906,3 @@ export interface SubscriptionScheduleReleaseParams {
4229
1906
  */
4230
1907
  preserve_cancel_date?: boolean;
4231
1908
  }
4232
- export interface SubscriptionScheduleSerializeBatchCancelParams {
4233
- }
4234
- export interface SubscriptionScheduleSerializeBatchCreateParams {
4235
- }
4236
- export interface SubscriptionScheduleSerializeBatchReleaseParams {
4237
- }
4238
- export interface SubscriptionScheduleSerializeBatchUpdateParams {
4239
- }