stripe 22.4.0-alpha.5 → 22.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1584) hide show
  1. package/CHANGELOG.md +55 -3084
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +60 -44
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +0 -58
  6. package/cjs/Error.js +1 -135
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/Types.d.ts +2 -9
  9. package/cjs/Types.js.map +1 -1
  10. package/cjs/apiVersion.d.ts +2 -1
  11. package/cjs/apiVersion.js +3 -2
  12. package/cjs/apiVersion.js.map +1 -1
  13. package/cjs/resources/AccountLinks.d.ts +1 -5
  14. package/cjs/resources/AccountSessions.d.ts +16 -564
  15. package/cjs/resources/AccountSessions.js.map +1 -1
  16. package/cjs/resources/Accounts.d.ts +33 -1034
  17. package/cjs/resources/Accounts.js +9 -46
  18. package/cjs/resources/Accounts.js.map +1 -1
  19. package/cjs/resources/ApplicationFees.d.ts +1 -28
  20. package/cjs/resources/Balance.d.ts +0 -134
  21. package/cjs/resources/BalanceSettings.d.ts +0 -18
  22. package/cjs/resources/BalanceTransactions.d.ts +1 -1
  23. package/cjs/resources/BankAccounts.d.ts +2 -2
  24. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -55
  25. package/cjs/resources/Billing/Alerts.d.ts +5 -448
  26. package/cjs/resources/Billing/Alerts.js +5 -329
  27. package/cjs/resources/Billing/Alerts.js.map +1 -1
  28. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +3 -126
  29. package/cjs/resources/Billing/CreditBalanceSummary.js +1 -39
  30. package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
  31. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +3 -97
  32. package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -100
  33. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  34. package/cjs/resources/Billing/CreditGrants.d.ts +3 -85
  35. package/cjs/resources/Billing/CreditGrants.js +5 -134
  36. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  37. package/cjs/resources/Billing/MeterEventSummaries.d.ts +0 -6
  38. package/cjs/resources/Billing/Meters.d.ts +0 -31
  39. package/cjs/resources/Billing/index.d.ts +0 -10
  40. package/cjs/resources/Billing/index.js +0 -2
  41. package/cjs/resources/Billing/index.js.map +1 -1
  42. package/cjs/resources/Capabilities.d.ts +2 -25
  43. package/cjs/resources/Cards.d.ts +0 -28
  44. package/cjs/resources/Charges.d.ts +70 -3352
  45. package/cjs/resources/Charges.js.map +1 -1
  46. package/cjs/resources/Checkout/Sessions.d.ts +31 -1172
  47. package/cjs/resources/Checkout/Sessions.js +0 -115
  48. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  49. package/cjs/resources/Checkout/index.d.ts +0 -1
  50. package/cjs/resources/ConfirmationTokens.d.ts +1 -142
  51. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  52. package/cjs/resources/Coupons.d.ts +2 -128
  53. package/cjs/resources/Coupons.js +0 -41
  54. package/cjs/resources/Coupons.js.map +1 -1
  55. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  56. package/cjs/resources/CreditNotes.d.ts +1 -7
  57. package/cjs/resources/CreditNotes.js +0 -13
  58. package/cjs/resources/CreditNotes.js.map +1 -1
  59. package/cjs/resources/CustomerSessions.d.ts +0 -74
  60. package/cjs/resources/CustomerSessions.js +0 -13
  61. package/cjs/resources/CustomerSessions.js.map +1 -1
  62. package/cjs/resources/Customers.d.ts +5 -102
  63. package/cjs/resources/Customers.js +0 -195
  64. package/cjs/resources/Customers.js.map +1 -1
  65. package/cjs/resources/Discounts.d.ts +0 -19
  66. package/cjs/resources/Disputes.d.ts +0 -43
  67. package/cjs/resources/Disputes.js +0 -14
  68. package/cjs/resources/Disputes.js.map +1 -1
  69. package/cjs/resources/Events.d.ts +3 -574
  70. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  71. package/cjs/resources/ExternalAccounts.js +0 -44
  72. package/cjs/resources/ExternalAccounts.js.map +1 -1
  73. package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -69
  74. package/cjs/resources/FinancialConnections/Accounts.js +0 -8
  75. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  76. package/cjs/resources/FinancialConnections/Authorizations.d.ts +1 -46
  77. package/cjs/resources/FinancialConnections/Authorizations.js +0 -11
  78. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
  79. package/cjs/resources/FinancialConnections/Sessions.d.ts +36 -122
  80. package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
  81. package/cjs/resources/FinancialConnections/index.d.ts +9 -21
  82. package/cjs/resources/FinancialConnections/index.js +0 -4
  83. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  84. package/cjs/resources/Identity/VerificationReports.d.ts +2 -33
  85. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  86. package/cjs/resources/Identity/VerificationSessions.d.ts +3 -11
  87. package/cjs/resources/Identity/index.d.ts +10 -18
  88. package/cjs/resources/Identity/index.js +0 -2
  89. package/cjs/resources/Identity/index.js.map +1 -1
  90. package/cjs/resources/InvoiceItems.d.ts +3 -204
  91. package/cjs/resources/InvoiceItems.js +0 -41
  92. package/cjs/resources/InvoiceItems.js.map +1 -1
  93. package/cjs/resources/InvoiceLineItems.d.ts +4 -174
  94. package/cjs/resources/InvoiceRenderingTemplates.d.ts +0 -12
  95. package/cjs/resources/InvoiceRenderingTemplates.js +0 -28
  96. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  97. package/cjs/resources/Invoices.d.ts +28 -2128
  98. package/cjs/resources/Invoices.js +0 -221
  99. package/cjs/resources/Invoices.js.map +1 -1
  100. package/cjs/resources/Issuing/Authorizations.d.ts +1 -482
  101. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  102. package/cjs/resources/Issuing/Cardholders.d.ts +4 -18
  103. package/cjs/resources/Issuing/Cards.d.ts +8 -53
  104. package/cjs/resources/Issuing/Disputes.d.ts +0 -246
  105. package/cjs/resources/Issuing/Tokens.d.ts +0 -26
  106. package/cjs/resources/Issuing/Transactions.d.ts +0 -233
  107. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  108. package/cjs/resources/Issuing/index.d.ts +22 -56
  109. package/cjs/resources/Issuing/index.js +0 -8
  110. package/cjs/resources/Issuing/index.js.map +1 -1
  111. package/cjs/resources/LineItems.d.ts +2 -29
  112. package/cjs/resources/Mandates.d.ts +2 -47
  113. package/cjs/resources/Mandates.js +0 -8
  114. package/cjs/resources/Mandates.js.map +1 -1
  115. package/cjs/resources/PaymentAttemptRecords.d.ts +2 -664
  116. package/cjs/resources/PaymentAttemptRecords.js +0 -48
  117. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  118. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +0 -52
  119. package/cjs/resources/PaymentIntents.d.ts +6379 -20025
  120. package/cjs/resources/PaymentIntents.js +0 -46
  121. package/cjs/resources/PaymentIntents.js.map +1 -1
  122. package/cjs/resources/PaymentLinks.d.ts +75 -75
  123. package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -420
  124. package/cjs/resources/PaymentMethods.d.ts +4 -300
  125. package/cjs/resources/PaymentMethods.js +0 -20
  126. package/cjs/resources/PaymentMethods.js.map +1 -1
  127. package/cjs/resources/PaymentRecords.d.ts +31 -719
  128. package/cjs/resources/PaymentRecords.js +7 -17
  129. package/cjs/resources/PaymentRecords.js.map +1 -1
  130. package/cjs/resources/Persons.d.ts +2 -25
  131. package/cjs/resources/Plans.d.ts +0 -16
  132. package/cjs/resources/Prices.d.ts +1 -77
  133. package/cjs/resources/Prices.js +0 -27
  134. package/cjs/resources/Prices.js.map +1 -1
  135. package/cjs/resources/Products.d.ts +1 -199
  136. package/cjs/resources/Products.js +0 -69
  137. package/cjs/resources/Products.js.map +1 -1
  138. package/cjs/resources/PromotionCodes.d.ts +0 -12
  139. package/cjs/resources/PromotionCodes.js +0 -27
  140. package/cjs/resources/PromotionCodes.js.map +1 -1
  141. package/cjs/resources/Quotes.d.ts +139 -3389
  142. package/cjs/resources/Quotes.js +13 -1181
  143. package/cjs/resources/Quotes.js.map +1 -1
  144. package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -85
  145. package/cjs/resources/Radar/ValueListItems.d.ts +1 -39
  146. package/cjs/resources/Radar/ValueListItems.js +0 -13
  147. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  148. package/cjs/resources/Radar/index.d.ts +16 -36
  149. package/cjs/resources/Radar/index.js +0 -6
  150. package/cjs/resources/Radar/index.js.map +1 -1
  151. package/cjs/resources/Refunds.d.ts +14 -39
  152. package/cjs/resources/Refunds.js +0 -27
  153. package/cjs/resources/Refunds.js.map +1 -1
  154. package/cjs/resources/Reserve/Holds.d.ts +1 -53
  155. package/cjs/resources/Reserve/Holds.js +0 -19
  156. package/cjs/resources/Reserve/Holds.js.map +1 -1
  157. package/cjs/resources/Reserve/Plans.d.ts +0 -16
  158. package/cjs/resources/Reserve/Plans.js +0 -11
  159. package/cjs/resources/Reserve/Plans.js.map +1 -1
  160. package/cjs/resources/Reserve/Releases.d.ts +1 -41
  161. package/cjs/resources/Reserve/Releases.js +0 -19
  162. package/cjs/resources/Reserve/Releases.js.map +1 -1
  163. package/cjs/resources/Reserve/index.d.ts +6 -17
  164. package/cjs/resources/Reserve/index.js +0 -9
  165. package/cjs/resources/Reserve/index.js.map +1 -1
  166. package/cjs/resources/SetupAttempts.d.ts +1 -35
  167. package/cjs/resources/SetupAttempts.js.map +1 -1
  168. package/cjs/resources/SetupIntents.d.ts +34 -630
  169. package/cjs/resources/SetupIntents.js.map +1 -1
  170. package/cjs/resources/Sources.d.ts +1 -29
  171. package/cjs/resources/SubscriptionItems.d.ts +1 -266
  172. package/cjs/resources/SubscriptionItems.js +0 -41
  173. package/cjs/resources/SubscriptionItems.js.map +1 -1
  174. package/cjs/resources/SubscriptionSchedules.d.ts +116 -2377
  175. package/cjs/resources/SubscriptionSchedules.js +0 -61
  176. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  177. package/cjs/resources/Subscriptions.d.ts +13 -966
  178. package/cjs/resources/Subscriptions.js +0 -289
  179. package/cjs/resources/Subscriptions.js.map +1 -1
  180. package/cjs/resources/Tax/CalculationLineItems.d.ts +3 -14
  181. package/cjs/resources/Tax/Calculations.d.ts +7 -49
  182. package/cjs/resources/Tax/Registrations.d.ts +10 -159
  183. package/cjs/resources/Tax/Registrations.js +0 -27
  184. package/cjs/resources/Tax/Registrations.js.map +1 -1
  185. package/cjs/resources/Tax/Settings.d.ts +0 -8
  186. package/cjs/resources/Tax/Settings.js +0 -13
  187. package/cjs/resources/Tax/Settings.js.map +1 -1
  188. package/cjs/resources/Tax/Transactions.d.ts +2 -10
  189. package/cjs/resources/Tax/Transactions.js +0 -13
  190. package/cjs/resources/Tax/Transactions.js.map +1 -1
  191. package/cjs/resources/Tax/index.d.ts +13 -31
  192. package/cjs/resources/Tax/index.js +0 -4
  193. package/cjs/resources/Tax/index.js.map +1 -1
  194. package/cjs/resources/TaxCodes.d.ts +1 -16
  195. package/cjs/resources/TaxIds.d.ts +4 -10
  196. package/cjs/resources/TaxIds.js +0 -13
  197. package/cjs/resources/TaxIds.js.map +1 -1
  198. package/cjs/resources/TaxRates.d.ts +4 -16
  199. package/cjs/resources/TaxRates.js +0 -27
  200. package/cjs/resources/TaxRates.js.map +1 -1
  201. package/cjs/resources/Terminal/Configurations.d.ts +0 -27
  202. package/cjs/resources/Terminal/Readers.d.ts +2 -219
  203. package/cjs/resources/Terminal/Readers.js +0 -24
  204. package/cjs/resources/Terminal/Readers.js.map +1 -1
  205. package/cjs/resources/Terminal/index.d.ts +0 -9
  206. package/cjs/resources/Terminal/index.js +0 -2
  207. package/cjs/resources/Terminal/index.js.map +1 -1
  208. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +2 -101
  209. package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +0 -18
  210. package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +0 -26
  211. package/cjs/resources/TestHelpers/Issuing/index.d.ts +0 -2
  212. package/cjs/resources/TestHelpers/Issuing/index.js +0 -2
  213. package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
  214. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  215. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  216. package/cjs/resources/TestHelpers/index.d.ts +6 -14
  217. package/cjs/resources/TestHelpers/index.js +6 -12
  218. package/cjs/resources/TestHelpers/index.js.map +1 -1
  219. package/cjs/resources/Tokens.d.ts +2 -76
  220. package/cjs/resources/Topups.d.ts +28 -0
  221. package/cjs/resources/Topups.js.map +1 -1
  222. package/cjs/resources/Transfers.d.ts +0 -12
  223. package/cjs/resources/Transfers.js.map +1 -1
  224. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  225. package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
  226. package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
  227. package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
  228. package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
  229. package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
  230. package/cjs/resources/V2/Billing/index.d.ts +6 -175
  231. package/cjs/resources/V2/Billing/index.js +0 -32
  232. package/cjs/resources/V2/Billing/index.js.map +1 -1
  233. package/cjs/resources/V2/Core/AccountLinks.d.ts +6 -158
  234. package/cjs/resources/V2/Core/AccountPersons.d.ts +1 -1
  235. package/cjs/resources/V2/Core/AccountTokens.d.ts +43 -220
  236. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  237. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  238. package/cjs/resources/V2/Core/Accounts.d.ts +3626 -17599
  239. package/cjs/resources/V2/Core/Accounts.js +38 -10364
  240. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  241. package/cjs/resources/V2/Core/Events.d.ts +234 -7743
  242. package/cjs/resources/V2/Core/index.d.ts +14 -66
  243. package/cjs/resources/V2/Core/index.js +0 -18
  244. package/cjs/resources/V2/Core/index.js.map +1 -1
  245. package/cjs/resources/V2/index.d.ts +0 -39
  246. package/cjs/resources/V2/index.js +0 -22
  247. package/cjs/resources/V2/index.js.map +1 -1
  248. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  249. package/cjs/resources.d.ts +0 -19
  250. package/cjs/resources.js +18 -282
  251. package/cjs/resources.js.map +1 -1
  252. package/cjs/stripe.cjs.node.d.ts +607 -14367
  253. package/cjs/stripe.cjs.node.js.map +1 -1
  254. package/cjs/stripe.core.d.ts +54 -158
  255. package/cjs/stripe.core.js +31 -72
  256. package/cjs/stripe.core.js.map +1 -1
  257. package/esm/Error.d.ts +0 -58
  258. package/esm/Error.js +0 -118
  259. package/esm/Error.js.map +1 -1
  260. package/esm/Types.d.ts +2 -9
  261. package/esm/Types.js.map +1 -1
  262. package/esm/apiVersion.d.ts +2 -1
  263. package/esm/apiVersion.js +2 -1
  264. package/esm/apiVersion.js.map +1 -1
  265. package/esm/resources/AccountLinks.d.ts +1 -5
  266. package/esm/resources/AccountSessions.d.ts +16 -564
  267. package/esm/resources/AccountSessions.js.map +1 -1
  268. package/esm/resources/Accounts.d.ts +33 -1034
  269. package/esm/resources/Accounts.js +9 -46
  270. package/esm/resources/Accounts.js.map +1 -1
  271. package/esm/resources/ApplicationFees.d.ts +1 -28
  272. package/esm/resources/Balance.d.ts +0 -134
  273. package/esm/resources/BalanceSettings.d.ts +0 -18
  274. package/esm/resources/BalanceTransactions.d.ts +1 -1
  275. package/esm/resources/BankAccounts.d.ts +2 -2
  276. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -55
  277. package/esm/resources/Billing/Alerts.d.ts +5 -448
  278. package/esm/resources/Billing/Alerts.js +5 -329
  279. package/esm/resources/Billing/Alerts.js.map +1 -1
  280. package/esm/resources/Billing/CreditBalanceSummary.d.ts +3 -126
  281. package/esm/resources/Billing/CreditBalanceSummary.js +1 -39
  282. package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
  283. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +3 -97
  284. package/esm/resources/Billing/CreditBalanceTransactions.js +1 -100
  285. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  286. package/esm/resources/Billing/CreditGrants.d.ts +3 -85
  287. package/esm/resources/Billing/CreditGrants.js +5 -134
  288. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  289. package/esm/resources/Billing/MeterEventSummaries.d.ts +0 -6
  290. package/esm/resources/Billing/Meters.d.ts +0 -31
  291. package/esm/resources/Billing/index.d.ts +0 -10
  292. package/esm/resources/Billing/index.js +0 -2
  293. package/esm/resources/Billing/index.js.map +1 -1
  294. package/esm/resources/Capabilities.d.ts +2 -25
  295. package/esm/resources/Cards.d.ts +0 -28
  296. package/esm/resources/Charges.d.ts +70 -3352
  297. package/esm/resources/Charges.js.map +1 -1
  298. package/esm/resources/Checkout/Sessions.d.ts +31 -1172
  299. package/esm/resources/Checkout/Sessions.js +0 -115
  300. package/esm/resources/Checkout/Sessions.js.map +1 -1
  301. package/esm/resources/Checkout/index.d.ts +0 -1
  302. package/esm/resources/ConfirmationTokens.d.ts +1 -142
  303. package/esm/resources/ConfirmationTokens.js.map +1 -1
  304. package/esm/resources/Coupons.d.ts +2 -128
  305. package/esm/resources/Coupons.js +0 -41
  306. package/esm/resources/Coupons.js.map +1 -1
  307. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  308. package/esm/resources/CreditNotes.d.ts +1 -7
  309. package/esm/resources/CreditNotes.js +0 -13
  310. package/esm/resources/CreditNotes.js.map +1 -1
  311. package/esm/resources/CustomerSessions.d.ts +0 -74
  312. package/esm/resources/CustomerSessions.js +0 -13
  313. package/esm/resources/CustomerSessions.js.map +1 -1
  314. package/esm/resources/Customers.d.ts +5 -102
  315. package/esm/resources/Customers.js +0 -195
  316. package/esm/resources/Customers.js.map +1 -1
  317. package/esm/resources/Discounts.d.ts +0 -19
  318. package/esm/resources/Disputes.d.ts +0 -43
  319. package/esm/resources/Disputes.js +0 -14
  320. package/esm/resources/Disputes.js.map +1 -1
  321. package/esm/resources/Events.d.ts +3 -574
  322. package/esm/resources/ExternalAccounts.d.ts +1 -212
  323. package/esm/resources/ExternalAccounts.js +1 -42
  324. package/esm/resources/ExternalAccounts.js.map +1 -1
  325. package/esm/resources/FinancialConnections/Accounts.d.ts +4 -69
  326. package/esm/resources/FinancialConnections/Accounts.js +0 -8
  327. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  328. package/esm/resources/FinancialConnections/Authorizations.d.ts +1 -46
  329. package/esm/resources/FinancialConnections/Authorizations.js +1 -9
  330. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
  331. package/esm/resources/FinancialConnections/Sessions.d.ts +36 -122
  332. package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
  333. package/esm/resources/FinancialConnections/index.d.ts +9 -21
  334. package/esm/resources/FinancialConnections/index.js +0 -4
  335. package/esm/resources/FinancialConnections/index.js.map +1 -1
  336. package/esm/resources/Identity/VerificationReports.d.ts +2 -33
  337. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  338. package/esm/resources/Identity/VerificationSessions.d.ts +3 -11
  339. package/esm/resources/Identity/index.d.ts +10 -18
  340. package/esm/resources/Identity/index.js +0 -2
  341. package/esm/resources/Identity/index.js.map +1 -1
  342. package/esm/resources/InvoiceItems.d.ts +3 -204
  343. package/esm/resources/InvoiceItems.js +0 -41
  344. package/esm/resources/InvoiceItems.js.map +1 -1
  345. package/esm/resources/InvoiceLineItems.d.ts +4 -174
  346. package/esm/resources/InvoiceRenderingTemplates.d.ts +0 -12
  347. package/esm/resources/InvoiceRenderingTemplates.js +0 -28
  348. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  349. package/esm/resources/Invoices.d.ts +28 -2128
  350. package/esm/resources/Invoices.js +0 -221
  351. package/esm/resources/Invoices.js.map +1 -1
  352. package/esm/resources/Issuing/Authorizations.d.ts +1 -482
  353. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  354. package/esm/resources/Issuing/Cardholders.d.ts +4 -18
  355. package/esm/resources/Issuing/Cards.d.ts +8 -53
  356. package/esm/resources/Issuing/Disputes.d.ts +0 -246
  357. package/esm/resources/Issuing/Tokens.d.ts +0 -26
  358. package/esm/resources/Issuing/Transactions.d.ts +0 -233
  359. package/esm/resources/Issuing/Transactions.js.map +1 -1
  360. package/esm/resources/Issuing/index.d.ts +22 -56
  361. package/esm/resources/Issuing/index.js +0 -8
  362. package/esm/resources/Issuing/index.js.map +1 -1
  363. package/esm/resources/LineItems.d.ts +2 -29
  364. package/esm/resources/Mandates.d.ts +2 -47
  365. package/esm/resources/Mandates.js +0 -8
  366. package/esm/resources/Mandates.js.map +1 -1
  367. package/esm/resources/PaymentAttemptRecords.d.ts +2 -664
  368. package/esm/resources/PaymentAttemptRecords.js +0 -48
  369. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  370. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +0 -52
  371. package/esm/resources/PaymentIntents.d.ts +6379 -20025
  372. package/esm/resources/PaymentIntents.js +0 -46
  373. package/esm/resources/PaymentIntents.js.map +1 -1
  374. package/esm/resources/PaymentLinks.d.ts +75 -75
  375. package/esm/resources/PaymentMethodConfigurations.d.ts +0 -420
  376. package/esm/resources/PaymentMethods.d.ts +4 -300
  377. package/esm/resources/PaymentMethods.js +0 -20
  378. package/esm/resources/PaymentMethods.js.map +1 -1
  379. package/esm/resources/PaymentRecords.d.ts +31 -719
  380. package/esm/resources/PaymentRecords.js +7 -17
  381. package/esm/resources/PaymentRecords.js.map +1 -1
  382. package/esm/resources/Persons.d.ts +2 -25
  383. package/esm/resources/Plans.d.ts +0 -16
  384. package/esm/resources/Prices.d.ts +1 -77
  385. package/esm/resources/Prices.js +0 -27
  386. package/esm/resources/Prices.js.map +1 -1
  387. package/esm/resources/Products.d.ts +1 -199
  388. package/esm/resources/Products.js +0 -69
  389. package/esm/resources/Products.js.map +1 -1
  390. package/esm/resources/PromotionCodes.d.ts +0 -12
  391. package/esm/resources/PromotionCodes.js +0 -27
  392. package/esm/resources/PromotionCodes.js.map +1 -1
  393. package/esm/resources/Quotes.d.ts +139 -3389
  394. package/esm/resources/Quotes.js +13 -1181
  395. package/esm/resources/Quotes.js.map +1 -1
  396. package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -85
  397. package/esm/resources/Radar/ValueListItems.d.ts +1 -39
  398. package/esm/resources/Radar/ValueListItems.js +0 -13
  399. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  400. package/esm/resources/Radar/index.d.ts +16 -36
  401. package/esm/resources/Radar/index.js +0 -6
  402. package/esm/resources/Radar/index.js.map +1 -1
  403. package/esm/resources/Refunds.d.ts +14 -39
  404. package/esm/resources/Refunds.js +0 -27
  405. package/esm/resources/Refunds.js.map +1 -1
  406. package/esm/resources/Reserve/Holds.d.ts +1 -53
  407. package/esm/resources/Reserve/Holds.js +1 -17
  408. package/esm/resources/Reserve/Holds.js.map +1 -1
  409. package/esm/resources/Reserve/Plans.d.ts +0 -16
  410. package/esm/resources/Reserve/Plans.js +1 -9
  411. package/esm/resources/Reserve/Plans.js.map +1 -1
  412. package/esm/resources/Reserve/Releases.d.ts +1 -41
  413. package/esm/resources/Reserve/Releases.js +1 -17
  414. package/esm/resources/Reserve/Releases.js.map +1 -1
  415. package/esm/resources/Reserve/index.d.ts +6 -17
  416. package/esm/resources/Reserve/index.js +0 -9
  417. package/esm/resources/Reserve/index.js.map +1 -1
  418. package/esm/resources/SetupAttempts.d.ts +1 -35
  419. package/esm/resources/SetupAttempts.js.map +1 -1
  420. package/esm/resources/SetupIntents.d.ts +34 -630
  421. package/esm/resources/SetupIntents.js.map +1 -1
  422. package/esm/resources/Sources.d.ts +1 -29
  423. package/esm/resources/SubscriptionItems.d.ts +1 -266
  424. package/esm/resources/SubscriptionItems.js +0 -41
  425. package/esm/resources/SubscriptionItems.js.map +1 -1
  426. package/esm/resources/SubscriptionSchedules.d.ts +116 -2377
  427. package/esm/resources/SubscriptionSchedules.js +0 -61
  428. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  429. package/esm/resources/Subscriptions.d.ts +13 -966
  430. package/esm/resources/Subscriptions.js +0 -289
  431. package/esm/resources/Subscriptions.js.map +1 -1
  432. package/esm/resources/Tax/CalculationLineItems.d.ts +3 -14
  433. package/esm/resources/Tax/Calculations.d.ts +7 -49
  434. package/esm/resources/Tax/Registrations.d.ts +10 -159
  435. package/esm/resources/Tax/Registrations.js +0 -27
  436. package/esm/resources/Tax/Registrations.js.map +1 -1
  437. package/esm/resources/Tax/Settings.d.ts +0 -8
  438. package/esm/resources/Tax/Settings.js +0 -13
  439. package/esm/resources/Tax/Settings.js.map +1 -1
  440. package/esm/resources/Tax/Transactions.d.ts +2 -10
  441. package/esm/resources/Tax/Transactions.js +0 -13
  442. package/esm/resources/Tax/Transactions.js.map +1 -1
  443. package/esm/resources/Tax/index.d.ts +13 -31
  444. package/esm/resources/Tax/index.js +0 -4
  445. package/esm/resources/Tax/index.js.map +1 -1
  446. package/esm/resources/TaxCodes.d.ts +1 -16
  447. package/esm/resources/TaxIds.d.ts +4 -10
  448. package/esm/resources/TaxIds.js +0 -13
  449. package/esm/resources/TaxIds.js.map +1 -1
  450. package/esm/resources/TaxRates.d.ts +4 -16
  451. package/esm/resources/TaxRates.js +0 -27
  452. package/esm/resources/TaxRates.js.map +1 -1
  453. package/esm/resources/Terminal/Configurations.d.ts +0 -27
  454. package/esm/resources/Terminal/Readers.d.ts +2 -219
  455. package/esm/resources/Terminal/Readers.js +0 -24
  456. package/esm/resources/Terminal/Readers.js.map +1 -1
  457. package/esm/resources/Terminal/index.d.ts +0 -9
  458. package/esm/resources/Terminal/index.js +0 -2
  459. package/esm/resources/Terminal/index.js.map +1 -1
  460. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +2 -101
  461. package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +0 -18
  462. package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +0 -26
  463. package/esm/resources/TestHelpers/Issuing/index.d.ts +0 -2
  464. package/esm/resources/TestHelpers/Issuing/index.js +0 -2
  465. package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
  466. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  467. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  468. package/esm/resources/TestHelpers/index.d.ts +6 -14
  469. package/esm/resources/TestHelpers/index.js +0 -6
  470. package/esm/resources/TestHelpers/index.js.map +1 -1
  471. package/esm/resources/Tokens.d.ts +2 -76
  472. package/esm/resources/Topups.d.ts +28 -0
  473. package/esm/resources/Topups.js.map +1 -1
  474. package/esm/resources/Transfers.d.ts +0 -12
  475. package/esm/resources/Transfers.js.map +1 -1
  476. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
  477. package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
  478. package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
  479. package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
  480. package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
  481. package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
  482. package/esm/resources/V2/Billing/index.d.ts +6 -175
  483. package/esm/resources/V2/Billing/index.js +0 -32
  484. package/esm/resources/V2/Billing/index.js.map +1 -1
  485. package/esm/resources/V2/Core/AccountLinks.d.ts +6 -158
  486. package/esm/resources/V2/Core/AccountPersons.d.ts +1 -1
  487. package/esm/resources/V2/Core/AccountTokens.d.ts +43 -220
  488. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  489. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  490. package/esm/resources/V2/Core/Accounts.d.ts +3626 -17599
  491. package/esm/resources/V2/Core/Accounts.js +38 -10364
  492. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  493. package/esm/resources/V2/Core/Events.d.ts +234 -7743
  494. package/esm/resources/V2/Core/index.d.ts +14 -66
  495. package/esm/resources/V2/Core/index.js +0 -18
  496. package/esm/resources/V2/Core/index.js.map +1 -1
  497. package/esm/resources/V2/index.d.ts +0 -39
  498. package/esm/resources/V2/index.js +0 -22
  499. package/esm/resources/V2/index.js.map +1 -1
  500. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  501. package/esm/resources.d.ts +0 -19
  502. package/esm/resources.js +0 -253
  503. package/esm/resources.js.map +1 -1
  504. package/esm/stripe.core.d.ts +54 -158
  505. package/esm/stripe.core.js +2 -43
  506. package/esm/stripe.core.js.map +1 -1
  507. package/esm/stripe.esm.node.d.ts +54 -158
  508. package/esm/stripe.esm.node.js +2 -43
  509. package/esm/stripe.esm.node.js.map +1 -1
  510. package/package.json +1 -1
  511. package/cjs/StripeEventNotificationHandler.d.ts +0 -19
  512. package/cjs/StripeEventNotificationHandler.js +0 -481
  513. package/cjs/StripeEventNotificationHandler.js.map +0 -1
  514. package/cjs/resources/AccountNotices.d.ts +0 -140
  515. package/cjs/resources/AccountNotices.js +0 -29
  516. package/cjs/resources/AccountNotices.js.map +0 -1
  517. package/cjs/resources/AccountSignals.d.ts +0 -111
  518. package/cjs/resources/AccountSignals.js +0 -4
  519. package/cjs/resources/AccountSignals.js.map +0 -1
  520. package/cjs/resources/BalanceTransfers.d.ts +0 -160
  521. package/cjs/resources/BalanceTransfers.js +0 -15
  522. package/cjs/resources/BalanceTransfers.js.map +0 -1
  523. package/cjs/resources/Billing/AlertNotifications.d.ts +0 -75
  524. package/cjs/resources/Billing/AlertNotifications.js +0 -4
  525. package/cjs/resources/Billing/AlertNotifications.js.map +0 -1
  526. package/cjs/resources/Billing/AlertRecovereds.d.ts +0 -56
  527. package/cjs/resources/Billing/AlertRecovereds.js +0 -4
  528. package/cjs/resources/Billing/AlertRecovereds.js.map +0 -1
  529. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -88
  530. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  531. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  532. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -38
  533. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  534. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  535. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  536. package/cjs/resources/Billing/Analytics/index.js +0 -13
  537. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  538. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -194
  539. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  540. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  541. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -102
  542. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  543. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  544. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -141
  545. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  546. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  547. package/cjs/resources/Capital/index.d.ts +0 -25
  548. package/cjs/resources/Capital/index.js +0 -17
  549. package/cjs/resources/Capital/index.js.map +0 -1
  550. package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +0 -30
  551. package/cjs/resources/Crypto/CustomerConsumerWallets.js +0 -4
  552. package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +0 -1
  553. package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +0 -80
  554. package/cjs/resources/Crypto/CustomerPaymentTokens.js +0 -4
  555. package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +0 -1
  556. package/cjs/resources/Crypto/Customers.d.ts +0 -111
  557. package/cjs/resources/Crypto/Customers.js +0 -31
  558. package/cjs/resources/Crypto/Customers.js.map +0 -1
  559. package/cjs/resources/Crypto/DepositAddresses.d.ts +0 -89
  560. package/cjs/resources/Crypto/DepositAddresses.js +0 -31
  561. package/cjs/resources/Crypto/DepositAddresses.js.map +0 -1
  562. package/cjs/resources/Crypto/OnrampSessions.d.ts +0 -417
  563. package/cjs/resources/Crypto/OnrampSessions.js +0 -47
  564. package/cjs/resources/Crypto/OnrampSessions.js.map +0 -1
  565. package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +0 -61
  566. package/cjs/resources/Crypto/OnrampTransactionLimits.js +0 -15
  567. package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +0 -1
  568. package/cjs/resources/Crypto/index.d.ts +0 -41
  569. package/cjs/resources/Crypto/index.js +0 -19
  570. package/cjs/resources/Crypto/index.js.map +0 -1
  571. package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +0 -129
  572. package/cjs/resources/DelegatedCheckout/OrderEvents.js +0 -4
  573. package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +0 -1
  574. package/cjs/resources/DelegatedCheckout/Orders.d.ts +0 -159
  575. package/cjs/resources/DelegatedCheckout/Orders.js +0 -15
  576. package/cjs/resources/DelegatedCheckout/Orders.js.map +0 -1
  577. package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +0 -1420
  578. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +0 -47
  579. package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +0 -1
  580. package/cjs/resources/DelegatedCheckout/index.d.ts +0 -25
  581. package/cjs/resources/DelegatedCheckout/index.js +0 -15
  582. package/cjs/resources/DelegatedCheckout/index.js.map +0 -1
  583. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  584. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  585. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  586. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -99
  587. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  588. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  589. package/cjs/resources/FxQuotes.d.ts +0 -212
  590. package/cjs/resources/FxQuotes.js +0 -29
  591. package/cjs/resources/FxQuotes.js.map +0 -1
  592. package/cjs/resources/GiftCardOperations.d.ts +0 -249
  593. package/cjs/resources/GiftCardOperations.js +0 -15
  594. package/cjs/resources/GiftCardOperations.js.map +0 -1
  595. package/cjs/resources/GiftCards.d.ts +0 -187
  596. package/cjs/resources/GiftCards.js +0 -51
  597. package/cjs/resources/GiftCards.js.map +0 -1
  598. package/cjs/resources/Identity/BlocklistEntries.d.ts +0 -155
  599. package/cjs/resources/Identity/BlocklistEntries.js +0 -54
  600. package/cjs/resources/Identity/BlocklistEntries.js.map +0 -1
  601. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -654
  602. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -53
  603. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  604. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
  605. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  606. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  607. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  608. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  609. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  610. package/cjs/resources/Issuing/Programs.d.ts +0 -95
  611. package/cjs/resources/Issuing/Programs.js +0 -35
  612. package/cjs/resources/Issuing/Programs.js.map +0 -1
  613. package/cjs/resources/Issuing/Settlements.d.ts +0 -83
  614. package/cjs/resources/Issuing/Settlements.js +0 -4
  615. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  616. package/cjs/resources/Margins.d.ts +0 -115
  617. package/cjs/resources/Margins.js +0 -35
  618. package/cjs/resources/Margins.js.map +0 -1
  619. package/cjs/resources/Orchestration/PaymentAttempts.d.ts +0 -34
  620. package/cjs/resources/Orchestration/PaymentAttempts.js +0 -15
  621. package/cjs/resources/Orchestration/PaymentAttempts.js.map +0 -1
  622. package/cjs/resources/Orchestration/index.d.ts +0 -12
  623. package/cjs/resources/Orchestration/index.js +0 -13
  624. package/cjs/resources/Orchestration/index.js.map +0 -1
  625. package/cjs/resources/Orders.d.ts +0 -4773
  626. package/cjs/resources/Orders.js +0 -457
  627. package/cjs/resources/Orders.js.map +0 -1
  628. package/cjs/resources/PaymentLocationCapabilities.d.ts +0 -123
  629. package/cjs/resources/PaymentLocationCapabilities.js +0 -29
  630. package/cjs/resources/PaymentLocationCapabilities.js.map +0 -1
  631. package/cjs/resources/PaymentLocations.d.ts +0 -178
  632. package/cjs/resources/PaymentLocations.js +0 -41
  633. package/cjs/resources/PaymentLocations.js.map +0 -1
  634. package/cjs/resources/PaymentMethodBalances.d.ts +0 -46
  635. package/cjs/resources/PaymentMethodBalances.js +0 -4
  636. package/cjs/resources/PaymentMethodBalances.js.map +0 -1
  637. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
  638. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  639. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  640. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -227
  641. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  642. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  643. package/cjs/resources/Privacy/index.d.ts +0 -22
  644. package/cjs/resources/Privacy/index.js +0 -13
  645. package/cjs/resources/Privacy/index.js.map +0 -1
  646. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -126
  647. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
  648. package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
  649. package/cjs/resources/ProductCatalog/index.d.ts +0 -12
  650. package/cjs/resources/ProductCatalog/index.js +0 -13
  651. package/cjs/resources/ProductCatalog/index.js.map +0 -1
  652. package/cjs/resources/Profiles.d.ts +0 -68
  653. package/cjs/resources/Profiles.js +0 -4
  654. package/cjs/resources/Profiles.js.map +0 -1
  655. package/cjs/resources/QuoteLines.d.ts +0 -684
  656. package/cjs/resources/QuoteLines.js +0 -4
  657. package/cjs/resources/QuoteLines.js.map +0 -1
  658. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1179
  659. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  660. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  661. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -1045
  662. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  663. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  664. package/cjs/resources/Radar/AccountEvaluations.d.ts +0 -308
  665. package/cjs/resources/Radar/AccountEvaluations.js +0 -27
  666. package/cjs/resources/Radar/AccountEvaluations.js.map +0 -1
  667. package/cjs/resources/Radar/CustomerEvaluations.d.ts +0 -245
  668. package/cjs/resources/Radar/CustomerEvaluations.js +0 -27
  669. package/cjs/resources/Radar/CustomerEvaluations.js.map +0 -1
  670. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +0 -433
  671. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +0 -15
  672. package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +0 -1
  673. package/cjs/resources/RiskSignals.d.ts +0 -10
  674. package/cjs/resources/RiskSignals.js +0 -4
  675. package/cjs/resources/RiskSignals.js.map +0 -1
  676. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -425
  677. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  678. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  679. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -336
  680. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  681. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  682. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  683. package/cjs/resources/SharedPayment/index.js +0 -15
  684. package/cjs/resources/SharedPayment/index.js.map +0 -1
  685. package/cjs/resources/Tax/Forms.d.ts +0 -228
  686. package/cjs/resources/Tax/Forms.js +0 -32
  687. package/cjs/resources/Tax/Forms.js.map +0 -1
  688. package/cjs/resources/Tax/Locations.d.ts +0 -108
  689. package/cjs/resources/Tax/Locations.js +0 -33
  690. package/cjs/resources/Tax/Locations.js.map +0 -1
  691. package/cjs/resources/TaxFunds.d.ts +0 -174
  692. package/cjs/resources/TaxFunds.js +0 -23
  693. package/cjs/resources/TaxFunds.js.map +0 -1
  694. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -50
  695. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  696. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  697. package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +0 -81
  698. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +0 -21
  699. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +0 -1
  700. package/cjs/resources/TestHelpers/Capital/index.d.ts +0 -8
  701. package/cjs/resources/TestHelpers/Capital/index.js +0 -13
  702. package/cjs/resources/TestHelpers/Capital/index.js.map +0 -1
  703. package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +0 -127
  704. package/cjs/resources/TestHelpers/Issuing/Disputes.js +0 -39
  705. package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +0 -1
  706. package/cjs/resources/TestHelpers/PaymentIntents.d.ts +0 -38
  707. package/cjs/resources/TestHelpers/PaymentIntents.js +0 -15
  708. package/cjs/resources/TestHelpers/PaymentIntents.js.map +0 -1
  709. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -75
  710. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  711. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  712. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  713. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  714. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  715. package/cjs/resources/TransitBalances.d.ts +0 -25
  716. package/cjs/resources/TransitBalances.js +0 -4
  717. package/cjs/resources/TransitBalances.js.map +0 -1
  718. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
  719. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  720. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  721. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  722. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  723. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  724. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -281
  725. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  726. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  727. package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +0 -84
  728. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +0 -4
  729. package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +0 -1
  730. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +0 -37
  731. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +0 -23
  732. package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +0 -1
  733. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -1011
  734. package/cjs/resources/V2/Billing/Cadences.js +0 -264
  735. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  736. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
  737. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  738. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  739. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  740. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  741. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  742. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -776
  743. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  744. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  745. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +0 -47
  746. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +0 -4
  747. package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +0 -1
  748. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +0 -23
  749. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +0 -29
  750. package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +0 -1
  751. package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +0 -8
  752. package/cjs/resources/V2/Billing/Contracts/PricingLines.js +0 -15
  753. package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +0 -1
  754. package/cjs/resources/V2/Billing/Contracts.d.ts +0 -1484
  755. package/cjs/resources/V2/Billing/Contracts.js +0 -331
  756. package/cjs/resources/V2/Billing/Contracts.js.map +0 -1
  757. package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +0 -125
  758. package/cjs/resources/V2/Billing/CustomPricingUnits.js +0 -35
  759. package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +0 -1
  760. package/cjs/resources/V2/Billing/IntentActions.d.ts +0 -603
  761. package/cjs/resources/V2/Billing/IntentActions.js +0 -4
  762. package/cjs/resources/V2/Billing/IntentActions.js.map +0 -1
  763. package/cjs/resources/V2/Billing/Intents/Actions.d.ts +0 -33
  764. package/cjs/resources/V2/Billing/Intents/Actions.js +0 -70
  765. package/cjs/resources/V2/Billing/Intents/Actions.js.map +0 -1
  766. package/cjs/resources/V2/Billing/Intents.d.ts +0 -1253
  767. package/cjs/resources/V2/Billing/Intents.js +0 -87
  768. package/cjs/resources/V2/Billing/Intents.js.map +0 -1
  769. package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +0 -78
  770. package/cjs/resources/V2/Billing/LicenseFeeVersions.js +0 -4
  771. package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +0 -1
  772. package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +0 -33
  773. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -64
  774. package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +0 -1
  775. package/cjs/resources/V2/Billing/LicenseFees.d.ts +0 -360
  776. package/cjs/resources/V2/Billing/LicenseFees.js +0 -148
  777. package/cjs/resources/V2/Billing/LicenseFees.js.map +0 -1
  778. package/cjs/resources/V2/Billing/LicensedItems.d.ts +0 -170
  779. package/cjs/resources/V2/Billing/LicensedItems.js +0 -35
  780. package/cjs/resources/V2/Billing/LicensedItems.js.map +0 -1
  781. package/cjs/resources/V2/Billing/MeteredItems.d.ts +0 -218
  782. package/cjs/resources/V2/Billing/MeteredItems.js +0 -35
  783. package/cjs/resources/V2/Billing/MeteredItems.js.map +0 -1
  784. package/cjs/resources/V2/Billing/OneTimeItems.d.ts +0 -170
  785. package/cjs/resources/V2/Billing/OneTimeItems.js +0 -35
  786. package/cjs/resources/V2/Billing/OneTimeItems.js.map +0 -1
  787. package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +0 -80
  788. package/cjs/resources/V2/Billing/PricingPlanComponents.js +0 -4
  789. package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +0 -1
  790. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +0 -620
  791. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -296
  792. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +0 -1
  793. package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +0 -30
  794. package/cjs/resources/V2/Billing/PricingPlanVersions.js +0 -4
  795. package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +0 -1
  796. package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +0 -142
  797. package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -41
  798. package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +0 -1
  799. package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +0 -33
  800. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -23
  801. package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +0 -1
  802. package/cjs/resources/V2/Billing/PricingPlans.d.ts +0 -169
  803. package/cjs/resources/V2/Billing/PricingPlans.js +0 -43
  804. package/cjs/resources/V2/Billing/PricingPlans.js.map +0 -1
  805. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -162
  806. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  807. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  808. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +0 -45
  809. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +0 -4
  810. package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +0 -1
  811. package/cjs/resources/V2/Billing/RateCardRates.d.ts +0 -111
  812. package/cjs/resources/V2/Billing/RateCardRates.js +0 -4
  813. package/cjs/resources/V2/Billing/RateCardRates.js.map +0 -1
  814. package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +0 -215
  815. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -41
  816. package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +0 -1
  817. package/cjs/resources/V2/Billing/RateCardVersions.d.ts +0 -22
  818. package/cjs/resources/V2/Billing/RateCardVersions.js +0 -4
  819. package/cjs/resources/V2/Billing/RateCardVersions.js.map +0 -1
  820. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +0 -79
  821. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +0 -35
  822. package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +0 -1
  823. package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +0 -145
  824. package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -110
  825. package/cjs/resources/V2/Billing/RateCards/Rates.js.map +0 -1
  826. package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +0 -33
  827. package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -23
  828. package/cjs/resources/V2/Billing/RateCards/Versions.js.map +0 -1
  829. package/cjs/resources/V2/Billing/RateCards.d.ts +0 -336
  830. package/cjs/resources/V2/Billing/RateCards.js +0 -76
  831. package/cjs/resources/V2/Billing/RateCards.js.map +0 -1
  832. package/cjs/resources/V2/Billing/ServiceActions.d.ts +0 -510
  833. package/cjs/resources/V2/Billing/ServiceActions.js +0 -162
  834. package/cjs/resources/V2/Billing/ServiceActions.js.map +0 -1
  835. package/cjs/resources/V2/Core/AccountEvaluations.d.ts +0 -156
  836. package/cjs/resources/V2/Core/AccountEvaluations.js +0 -15
  837. package/cjs/resources/V2/Core/AccountEvaluations.js.map +0 -1
  838. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +0 -331
  839. package/cjs/resources/V2/Core/ApprovalRequests.js +0 -46
  840. package/cjs/resources/V2/Core/ApprovalRequests.js.map +0 -1
  841. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -360
  842. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  843. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  844. package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +0 -225
  845. package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -31
  846. package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +0 -1
  847. package/cjs/resources/V2/Core/ConnectionSessions.d.ts +0 -86
  848. package/cjs/resources/V2/Core/ConnectionSessions.js +0 -21
  849. package/cjs/resources/V2/Core/ConnectionSessions.js.map +0 -1
  850. package/cjs/resources/V2/Core/FeeBatches.d.ts +0 -234
  851. package/cjs/resources/V2/Core/FeeBatches.js +0 -23
  852. package/cjs/resources/V2/Core/FeeBatches.js.map +0 -1
  853. package/cjs/resources/V2/Core/FeeEntries.d.ts +0 -200
  854. package/cjs/resources/V2/Core/FeeEntries.js +0 -23
  855. package/cjs/resources/V2/Core/FeeEntries.js.map +0 -1
  856. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +0 -416
  857. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +0 -4
  858. package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +0 -1
  859. package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +0 -23
  860. package/cjs/resources/V2/Core/Health/Alerts/History.js +0 -101
  861. package/cjs/resources/V2/Core/Health/Alerts/History.js.map +0 -1
  862. package/cjs/resources/V2/Core/Health/Alerts.d.ts +0 -530
  863. package/cjs/resources/V2/Core/Health/Alerts.js +0 -182
  864. package/cjs/resources/V2/Core/Health/Alerts.js.map +0 -1
  865. package/cjs/resources/V2/Core/Health/index.d.ts +0 -16
  866. package/cjs/resources/V2/Core/Health/index.js +0 -13
  867. package/cjs/resources/V2/Core/Health/index.js.map +0 -1
  868. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -280
  869. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  870. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  871. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -252
  872. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -65
  873. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  874. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  875. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  876. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  877. package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +0 -74
  878. package/cjs/resources/V2/Data/Analytics/MetricQuery.js +0 -36
  879. package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +0 -1
  880. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +0 -76
  881. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +0 -4
  882. package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +0 -1
  883. package/cjs/resources/V2/Data/Analytics/index.d.ts +0 -12
  884. package/cjs/resources/V2/Data/Analytics/index.js +0 -13
  885. package/cjs/resources/V2/Data/Analytics/index.js.map +0 -1
  886. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -172
  887. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  888. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  889. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  890. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  891. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  892. package/cjs/resources/V2/Data/index.d.ts +0 -13
  893. package/cjs/resources/V2/Data/index.js +0 -15
  894. package/cjs/resources/V2/Data/index.js.map +0 -1
  895. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
  896. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  897. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  898. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -120
  899. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  900. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  901. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  902. package/cjs/resources/V2/Extend/index.js +0 -15
  903. package/cjs/resources/V2/Extend/index.js.map +0 -1
  904. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  905. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  906. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  907. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  908. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  909. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  910. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -211
  911. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
  912. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  913. package/cjs/resources/V2/Iam/ApiKeys.d.ts +0 -305
  914. package/cjs/resources/V2/Iam/ApiKeys.js +0 -47
  915. package/cjs/resources/V2/Iam/ApiKeys.js.map +0 -1
  916. package/cjs/resources/V2/Iam/index.d.ts +0 -23
  917. package/cjs/resources/V2/Iam/index.js +0 -15
  918. package/cjs/resources/V2/Iam/index.js.map +0 -1
  919. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  920. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  921. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  922. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +0 -131
  923. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +0 -31
  924. package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +0 -1
  925. package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +0 -168
  926. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +0 -29
  927. package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +0 -1
  928. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +0 -99
  929. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +0 -4
  930. package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +0 -1
  931. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +0 -44
  932. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +0 -53
  933. package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +0 -1
  934. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -449
  935. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -50
  936. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  937. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +0 -14
  938. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +0 -4
  939. package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +0 -1
  940. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -304
  941. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  942. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  943. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -251
  944. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  945. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  946. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -219
  947. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  948. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  949. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -638
  950. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  951. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  952. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -318
  953. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  954. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  955. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -394
  956. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  957. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  958. package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +0 -525
  959. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +0 -44
  960. package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +0 -1
  961. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -277
  962. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
  963. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  964. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
  965. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  966. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  967. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -481
  968. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  969. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  970. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -264
  971. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  972. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  973. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +0 -116
  974. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +0 -27
  975. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +0 -1
  976. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +0 -30
  977. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -15
  978. package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +0 -1
  979. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
  980. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +0 -13
  981. package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
  982. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -266
  983. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  984. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  985. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -297
  986. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
  987. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  988. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -143
  989. package/cjs/resources/V2/MoneyManagement/index.js +0 -49
  990. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  991. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -92
  992. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  993. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  994. package/cjs/resources/V2/Network/index.d.ts +0 -13
  995. package/cjs/resources/V2/Network/index.js +0 -13
  996. package/cjs/resources/V2/Network/index.js.map +0 -1
  997. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
  998. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  999. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1000. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1001. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  1002. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1003. package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +0 -823
  1004. package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -53
  1005. package/cjs/resources/V2/Payments/OffSessionPayments.js.map +0 -1
  1006. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +0 -73
  1007. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +0 -4
  1008. package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +0 -1
  1009. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +0 -85
  1010. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +0 -35
  1011. package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +0 -1
  1012. package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +0 -209
  1013. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +0 -53
  1014. package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +0 -1
  1015. package/cjs/resources/V2/Payments/index.d.ts +0 -31
  1016. package/cjs/resources/V2/Payments/index.js +0 -15
  1017. package/cjs/resources/V2/Payments/index.js.map +0 -1
  1018. package/cjs/resources/V2/Reporting/ReportRuns.d.ts +0 -191
  1019. package/cjs/resources/V2/Reporting/ReportRuns.js +0 -50
  1020. package/cjs/resources/V2/Reporting/ReportRuns.js.map +0 -1
  1021. package/cjs/resources/V2/Reporting/Reports.d.ts +0 -106
  1022. package/cjs/resources/V2/Reporting/Reports.js +0 -17
  1023. package/cjs/resources/V2/Reporting/Reports.js.map +0 -1
  1024. package/cjs/resources/V2/Reporting/index.d.ts +0 -18
  1025. package/cjs/resources/V2/Reporting/index.js +0 -15
  1026. package/cjs/resources/V2/Reporting/index.js.map +0 -1
  1027. package/cjs/resources/V2/Signals/AccountSignals.d.ts +0 -172
  1028. package/cjs/resources/V2/Signals/AccountSignals.js +0 -58
  1029. package/cjs/resources/V2/Signals/AccountSignals.js.map +0 -1
  1030. package/cjs/resources/V2/Signals/index.d.ts +0 -13
  1031. package/cjs/resources/V2/Signals/index.js +0 -13
  1032. package/cjs/resources/V2/Signals/index.js.map +0 -1
  1033. package/cjs/resources/V2/Tax/ManualRules.d.ts +0 -331
  1034. package/cjs/resources/V2/Tax/ManualRules.js +0 -193
  1035. package/cjs/resources/V2/Tax/ManualRules.js.map +0 -1
  1036. package/cjs/resources/V2/Tax/index.d.ts +0 -16
  1037. package/cjs/resources/V2/Tax/index.js +0 -13
  1038. package/cjs/resources/V2/Tax/index.js.map +0 -1
  1039. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
  1040. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  1041. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1042. package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +0 -31
  1043. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +0 -15
  1044. package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +0 -1
  1045. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -10
  1046. package/cjs/resources/V2/TestHelpers/index.js +0 -15
  1047. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  1048. package/esm/StripeEventNotificationHandler.d.ts +0 -19
  1049. package/esm/StripeEventNotificationHandler.js +0 -477
  1050. package/esm/StripeEventNotificationHandler.js.map +0 -1
  1051. package/esm/resources/AccountNotices.d.ts +0 -140
  1052. package/esm/resources/AccountNotices.js +0 -25
  1053. package/esm/resources/AccountNotices.js.map +0 -1
  1054. package/esm/resources/AccountSignals.d.ts +0 -111
  1055. package/esm/resources/AccountSignals.js +0 -3
  1056. package/esm/resources/AccountSignals.js.map +0 -1
  1057. package/esm/resources/BalanceTransfers.d.ts +0 -160
  1058. package/esm/resources/BalanceTransfers.js +0 -11
  1059. package/esm/resources/BalanceTransfers.js.map +0 -1
  1060. package/esm/resources/Billing/AlertNotifications.d.ts +0 -75
  1061. package/esm/resources/Billing/AlertNotifications.js +0 -3
  1062. package/esm/resources/Billing/AlertNotifications.js.map +0 -1
  1063. package/esm/resources/Billing/AlertRecovereds.d.ts +0 -56
  1064. package/esm/resources/Billing/AlertRecovereds.js +0 -3
  1065. package/esm/resources/Billing/AlertRecovereds.js.map +0 -1
  1066. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -88
  1067. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  1068. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  1069. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -38
  1070. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  1071. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  1072. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  1073. package/esm/resources/Billing/Analytics/index.js +0 -9
  1074. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  1075. package/esm/resources/Capital/FinancingOffers.d.ts +0 -194
  1076. package/esm/resources/Capital/FinancingOffers.js +0 -26
  1077. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  1078. package/esm/resources/Capital/FinancingSummary.d.ts +0 -102
  1079. package/esm/resources/Capital/FinancingSummary.js +0 -11
  1080. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  1081. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -141
  1082. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  1083. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  1084. package/esm/resources/Capital/index.d.ts +0 -25
  1085. package/esm/resources/Capital/index.js +0 -13
  1086. package/esm/resources/Capital/index.js.map +0 -1
  1087. package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +0 -30
  1088. package/esm/resources/Crypto/CustomerConsumerWallets.js +0 -3
  1089. package/esm/resources/Crypto/CustomerConsumerWallets.js.map +0 -1
  1090. package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +0 -80
  1091. package/esm/resources/Crypto/CustomerPaymentTokens.js +0 -3
  1092. package/esm/resources/Crypto/CustomerPaymentTokens.js.map +0 -1
  1093. package/esm/resources/Crypto/Customers.d.ts +0 -111
  1094. package/esm/resources/Crypto/Customers.js +0 -27
  1095. package/esm/resources/Crypto/Customers.js.map +0 -1
  1096. package/esm/resources/Crypto/DepositAddresses.d.ts +0 -89
  1097. package/esm/resources/Crypto/DepositAddresses.js +0 -27
  1098. package/esm/resources/Crypto/DepositAddresses.js.map +0 -1
  1099. package/esm/resources/Crypto/OnrampSessions.d.ts +0 -417
  1100. package/esm/resources/Crypto/OnrampSessions.js +0 -43
  1101. package/esm/resources/Crypto/OnrampSessions.js.map +0 -1
  1102. package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +0 -61
  1103. package/esm/resources/Crypto/OnrampTransactionLimits.js +0 -11
  1104. package/esm/resources/Crypto/OnrampTransactionLimits.js.map +0 -1
  1105. package/esm/resources/Crypto/index.d.ts +0 -41
  1106. package/esm/resources/Crypto/index.js +0 -15
  1107. package/esm/resources/Crypto/index.js.map +0 -1
  1108. package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +0 -129
  1109. package/esm/resources/DelegatedCheckout/OrderEvents.js +0 -3
  1110. package/esm/resources/DelegatedCheckout/OrderEvents.js.map +0 -1
  1111. package/esm/resources/DelegatedCheckout/Orders.d.ts +0 -159
  1112. package/esm/resources/DelegatedCheckout/Orders.js +0 -11
  1113. package/esm/resources/DelegatedCheckout/Orders.js.map +0 -1
  1114. package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +0 -1420
  1115. package/esm/resources/DelegatedCheckout/RequestedSessions.js +0 -43
  1116. package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +0 -1
  1117. package/esm/resources/DelegatedCheckout/index.d.ts +0 -25
  1118. package/esm/resources/DelegatedCheckout/index.js +0 -11
  1119. package/esm/resources/DelegatedCheckout/index.js.map +0 -1
  1120. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  1121. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  1122. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  1123. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -99
  1124. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  1125. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  1126. package/esm/resources/FxQuotes.d.ts +0 -212
  1127. package/esm/resources/FxQuotes.js +0 -25
  1128. package/esm/resources/FxQuotes.js.map +0 -1
  1129. package/esm/resources/GiftCardOperations.d.ts +0 -249
  1130. package/esm/resources/GiftCardOperations.js +0 -11
  1131. package/esm/resources/GiftCardOperations.js.map +0 -1
  1132. package/esm/resources/GiftCards.d.ts +0 -187
  1133. package/esm/resources/GiftCards.js +0 -47
  1134. package/esm/resources/GiftCards.js.map +0 -1
  1135. package/esm/resources/Identity/BlocklistEntries.d.ts +0 -155
  1136. package/esm/resources/Identity/BlocklistEntries.js +0 -50
  1137. package/esm/resources/Identity/BlocklistEntries.js.map +0 -1
  1138. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -654
  1139. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -49
  1140. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  1141. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
  1142. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  1143. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  1144. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  1145. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  1146. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  1147. package/esm/resources/Issuing/Programs.d.ts +0 -95
  1148. package/esm/resources/Issuing/Programs.js +0 -31
  1149. package/esm/resources/Issuing/Programs.js.map +0 -1
  1150. package/esm/resources/Issuing/Settlements.d.ts +0 -83
  1151. package/esm/resources/Issuing/Settlements.js +0 -3
  1152. package/esm/resources/Issuing/Settlements.js.map +0 -1
  1153. package/esm/resources/Margins.d.ts +0 -115
  1154. package/esm/resources/Margins.js +0 -31
  1155. package/esm/resources/Margins.js.map +0 -1
  1156. package/esm/resources/Orchestration/PaymentAttempts.d.ts +0 -34
  1157. package/esm/resources/Orchestration/PaymentAttempts.js +0 -11
  1158. package/esm/resources/Orchestration/PaymentAttempts.js.map +0 -1
  1159. package/esm/resources/Orchestration/index.d.ts +0 -12
  1160. package/esm/resources/Orchestration/index.js +0 -9
  1161. package/esm/resources/Orchestration/index.js.map +0 -1
  1162. package/esm/resources/Orders.d.ts +0 -4773
  1163. package/esm/resources/Orders.js +0 -453
  1164. package/esm/resources/Orders.js.map +0 -1
  1165. package/esm/resources/PaymentLocationCapabilities.d.ts +0 -123
  1166. package/esm/resources/PaymentLocationCapabilities.js +0 -25
  1167. package/esm/resources/PaymentLocationCapabilities.js.map +0 -1
  1168. package/esm/resources/PaymentLocations.d.ts +0 -178
  1169. package/esm/resources/PaymentLocations.js +0 -37
  1170. package/esm/resources/PaymentLocations.js.map +0 -1
  1171. package/esm/resources/PaymentMethodBalances.d.ts +0 -46
  1172. package/esm/resources/PaymentMethodBalances.js +0 -3
  1173. package/esm/resources/PaymentMethodBalances.js.map +0 -1
  1174. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
  1175. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  1176. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  1177. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -227
  1178. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  1179. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  1180. package/esm/resources/Privacy/index.d.ts +0 -22
  1181. package/esm/resources/Privacy/index.js +0 -9
  1182. package/esm/resources/Privacy/index.js.map +0 -1
  1183. package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -126
  1184. package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
  1185. package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
  1186. package/esm/resources/ProductCatalog/index.d.ts +0 -12
  1187. package/esm/resources/ProductCatalog/index.js +0 -9
  1188. package/esm/resources/ProductCatalog/index.js.map +0 -1
  1189. package/esm/resources/Profiles.d.ts +0 -68
  1190. package/esm/resources/Profiles.js +0 -3
  1191. package/esm/resources/Profiles.js.map +0 -1
  1192. package/esm/resources/QuoteLines.d.ts +0 -684
  1193. package/esm/resources/QuoteLines.js +0 -3
  1194. package/esm/resources/QuoteLines.js.map +0 -1
  1195. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1179
  1196. package/esm/resources/QuotePreviewInvoices.js +0 -3
  1197. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  1198. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -1045
  1199. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  1200. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  1201. package/esm/resources/Radar/AccountEvaluations.d.ts +0 -308
  1202. package/esm/resources/Radar/AccountEvaluations.js +0 -23
  1203. package/esm/resources/Radar/AccountEvaluations.js.map +0 -1
  1204. package/esm/resources/Radar/CustomerEvaluations.d.ts +0 -245
  1205. package/esm/resources/Radar/CustomerEvaluations.js +0 -23
  1206. package/esm/resources/Radar/CustomerEvaluations.js.map +0 -1
  1207. package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +0 -433
  1208. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +0 -11
  1209. package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +0 -1
  1210. package/esm/resources/RiskSignals.d.ts +0 -10
  1211. package/esm/resources/RiskSignals.js +0 -3
  1212. package/esm/resources/RiskSignals.js.map +0 -1
  1213. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -425
  1214. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  1215. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  1216. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -336
  1217. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  1218. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  1219. package/esm/resources/SharedPayment/index.d.ts +0 -19
  1220. package/esm/resources/SharedPayment/index.js +0 -11
  1221. package/esm/resources/SharedPayment/index.js.map +0 -1
  1222. package/esm/resources/Tax/Forms.d.ts +0 -228
  1223. package/esm/resources/Tax/Forms.js +0 -28
  1224. package/esm/resources/Tax/Forms.js.map +0 -1
  1225. package/esm/resources/Tax/Locations.d.ts +0 -108
  1226. package/esm/resources/Tax/Locations.js +0 -29
  1227. package/esm/resources/Tax/Locations.js.map +0 -1
  1228. package/esm/resources/TaxFunds.d.ts +0 -174
  1229. package/esm/resources/TaxFunds.js +0 -19
  1230. package/esm/resources/TaxFunds.js.map +0 -1
  1231. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -50
  1232. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  1233. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  1234. package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +0 -81
  1235. package/esm/resources/TestHelpers/Capital/FinancingOffers.js +0 -17
  1236. package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +0 -1
  1237. package/esm/resources/TestHelpers/Capital/index.d.ts +0 -8
  1238. package/esm/resources/TestHelpers/Capital/index.js +0 -9
  1239. package/esm/resources/TestHelpers/Capital/index.js.map +0 -1
  1240. package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +0 -127
  1241. package/esm/resources/TestHelpers/Issuing/Disputes.js +0 -35
  1242. package/esm/resources/TestHelpers/Issuing/Disputes.js.map +0 -1
  1243. package/esm/resources/TestHelpers/PaymentIntents.d.ts +0 -38
  1244. package/esm/resources/TestHelpers/PaymentIntents.js +0 -11
  1245. package/esm/resources/TestHelpers/PaymentIntents.js.map +0 -1
  1246. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -75
  1247. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  1248. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  1249. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  1250. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  1251. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  1252. package/esm/resources/TransitBalances.d.ts +0 -25
  1253. package/esm/resources/TransitBalances.js +0 -3
  1254. package/esm/resources/TransitBalances.js.map +0 -1
  1255. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
  1256. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  1257. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  1258. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  1259. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  1260. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  1261. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -281
  1262. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  1263. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  1264. package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +0 -84
  1265. package/esm/resources/V2/Billing/CadenceSpendModifiers.js +0 -3
  1266. package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +0 -1
  1267. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +0 -37
  1268. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +0 -19
  1269. package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +0 -1
  1270. package/esm/resources/V2/Billing/Cadences.d.ts +0 -1011
  1271. package/esm/resources/V2/Billing/Cadences.js +0 -260
  1272. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  1273. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
  1274. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  1275. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  1276. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  1277. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  1278. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  1279. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -776
  1280. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  1281. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  1282. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +0 -47
  1283. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +0 -3
  1284. package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +0 -1
  1285. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +0 -23
  1286. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +0 -25
  1287. package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +0 -1
  1288. package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +0 -8
  1289. package/esm/resources/V2/Billing/Contracts/PricingLines.js +0 -11
  1290. package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +0 -1
  1291. package/esm/resources/V2/Billing/Contracts.d.ts +0 -1484
  1292. package/esm/resources/V2/Billing/Contracts.js +0 -327
  1293. package/esm/resources/V2/Billing/Contracts.js.map +0 -1
  1294. package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +0 -125
  1295. package/esm/resources/V2/Billing/CustomPricingUnits.js +0 -31
  1296. package/esm/resources/V2/Billing/CustomPricingUnits.js.map +0 -1
  1297. package/esm/resources/V2/Billing/IntentActions.d.ts +0 -603
  1298. package/esm/resources/V2/Billing/IntentActions.js +0 -3
  1299. package/esm/resources/V2/Billing/IntentActions.js.map +0 -1
  1300. package/esm/resources/V2/Billing/Intents/Actions.d.ts +0 -33
  1301. package/esm/resources/V2/Billing/Intents/Actions.js +0 -66
  1302. package/esm/resources/V2/Billing/Intents/Actions.js.map +0 -1
  1303. package/esm/resources/V2/Billing/Intents.d.ts +0 -1253
  1304. package/esm/resources/V2/Billing/Intents.js +0 -83
  1305. package/esm/resources/V2/Billing/Intents.js.map +0 -1
  1306. package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +0 -78
  1307. package/esm/resources/V2/Billing/LicenseFeeVersions.js +0 -3
  1308. package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +0 -1
  1309. package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +0 -33
  1310. package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -60
  1311. package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +0 -1
  1312. package/esm/resources/V2/Billing/LicenseFees.d.ts +0 -360
  1313. package/esm/resources/V2/Billing/LicenseFees.js +0 -144
  1314. package/esm/resources/V2/Billing/LicenseFees.js.map +0 -1
  1315. package/esm/resources/V2/Billing/LicensedItems.d.ts +0 -170
  1316. package/esm/resources/V2/Billing/LicensedItems.js +0 -31
  1317. package/esm/resources/V2/Billing/LicensedItems.js.map +0 -1
  1318. package/esm/resources/V2/Billing/MeteredItems.d.ts +0 -218
  1319. package/esm/resources/V2/Billing/MeteredItems.js +0 -31
  1320. package/esm/resources/V2/Billing/MeteredItems.js.map +0 -1
  1321. package/esm/resources/V2/Billing/OneTimeItems.d.ts +0 -170
  1322. package/esm/resources/V2/Billing/OneTimeItems.js +0 -31
  1323. package/esm/resources/V2/Billing/OneTimeItems.js.map +0 -1
  1324. package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +0 -80
  1325. package/esm/resources/V2/Billing/PricingPlanComponents.js +0 -3
  1326. package/esm/resources/V2/Billing/PricingPlanComponents.js.map +0 -1
  1327. package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +0 -620
  1328. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -292
  1329. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +0 -1
  1330. package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +0 -30
  1331. package/esm/resources/V2/Billing/PricingPlanVersions.js +0 -3
  1332. package/esm/resources/V2/Billing/PricingPlanVersions.js.map +0 -1
  1333. package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +0 -142
  1334. package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -37
  1335. package/esm/resources/V2/Billing/PricingPlans/Components.js.map +0 -1
  1336. package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +0 -33
  1337. package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -19
  1338. package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +0 -1
  1339. package/esm/resources/V2/Billing/PricingPlans.d.ts +0 -169
  1340. package/esm/resources/V2/Billing/PricingPlans.js +0 -39
  1341. package/esm/resources/V2/Billing/PricingPlans.js.map +0 -1
  1342. package/esm/resources/V2/Billing/Profiles.d.ts +0 -162
  1343. package/esm/resources/V2/Billing/Profiles.js +0 -31
  1344. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  1345. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +0 -45
  1346. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +0 -3
  1347. package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +0 -1
  1348. package/esm/resources/V2/Billing/RateCardRates.d.ts +0 -111
  1349. package/esm/resources/V2/Billing/RateCardRates.js +0 -3
  1350. package/esm/resources/V2/Billing/RateCardRates.js.map +0 -1
  1351. package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +0 -215
  1352. package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -37
  1353. package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +0 -1
  1354. package/esm/resources/V2/Billing/RateCardVersions.d.ts +0 -22
  1355. package/esm/resources/V2/Billing/RateCardVersions.js +0 -3
  1356. package/esm/resources/V2/Billing/RateCardVersions.js.map +0 -1
  1357. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +0 -79
  1358. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +0 -31
  1359. package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +0 -1
  1360. package/esm/resources/V2/Billing/RateCards/Rates.d.ts +0 -145
  1361. package/esm/resources/V2/Billing/RateCards/Rates.js +0 -106
  1362. package/esm/resources/V2/Billing/RateCards/Rates.js.map +0 -1
  1363. package/esm/resources/V2/Billing/RateCards/Versions.d.ts +0 -33
  1364. package/esm/resources/V2/Billing/RateCards/Versions.js +0 -19
  1365. package/esm/resources/V2/Billing/RateCards/Versions.js.map +0 -1
  1366. package/esm/resources/V2/Billing/RateCards.d.ts +0 -336
  1367. package/esm/resources/V2/Billing/RateCards.js +0 -72
  1368. package/esm/resources/V2/Billing/RateCards.js.map +0 -1
  1369. package/esm/resources/V2/Billing/ServiceActions.d.ts +0 -510
  1370. package/esm/resources/V2/Billing/ServiceActions.js +0 -158
  1371. package/esm/resources/V2/Billing/ServiceActions.js.map +0 -1
  1372. package/esm/resources/V2/Core/AccountEvaluations.d.ts +0 -156
  1373. package/esm/resources/V2/Core/AccountEvaluations.js +0 -11
  1374. package/esm/resources/V2/Core/AccountEvaluations.js.map +0 -1
  1375. package/esm/resources/V2/Core/ApprovalRequests.d.ts +0 -331
  1376. package/esm/resources/V2/Core/ApprovalRequests.js +0 -42
  1377. package/esm/resources/V2/Core/ApprovalRequests.js.map +0 -1
  1378. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -360
  1379. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  1380. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  1381. package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +0 -225
  1382. package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -27
  1383. package/esm/resources/V2/Core/ClaimableSandboxes.js.map +0 -1
  1384. package/esm/resources/V2/Core/ConnectionSessions.d.ts +0 -86
  1385. package/esm/resources/V2/Core/ConnectionSessions.js +0 -17
  1386. package/esm/resources/V2/Core/ConnectionSessions.js.map +0 -1
  1387. package/esm/resources/V2/Core/FeeBatches.d.ts +0 -234
  1388. package/esm/resources/V2/Core/FeeBatches.js +0 -19
  1389. package/esm/resources/V2/Core/FeeBatches.js.map +0 -1
  1390. package/esm/resources/V2/Core/FeeEntries.d.ts +0 -200
  1391. package/esm/resources/V2/Core/FeeEntries.js +0 -19
  1392. package/esm/resources/V2/Core/FeeEntries.js.map +0 -1
  1393. package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +0 -416
  1394. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +0 -3
  1395. package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +0 -1
  1396. package/esm/resources/V2/Core/Health/Alerts/History.d.ts +0 -23
  1397. package/esm/resources/V2/Core/Health/Alerts/History.js +0 -97
  1398. package/esm/resources/V2/Core/Health/Alerts/History.js.map +0 -1
  1399. package/esm/resources/V2/Core/Health/Alerts.d.ts +0 -530
  1400. package/esm/resources/V2/Core/Health/Alerts.js +0 -178
  1401. package/esm/resources/V2/Core/Health/Alerts.js.map +0 -1
  1402. package/esm/resources/V2/Core/Health/index.d.ts +0 -16
  1403. package/esm/resources/V2/Core/Health/index.js +0 -9
  1404. package/esm/resources/V2/Core/Health/index.js.map +0 -1
  1405. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -280
  1406. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  1407. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  1408. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -252
  1409. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -61
  1410. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  1411. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  1412. package/esm/resources/V2/Core/Vault/index.js +0 -11
  1413. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  1414. package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +0 -74
  1415. package/esm/resources/V2/Data/Analytics/MetricQuery.js +0 -32
  1416. package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +0 -1
  1417. package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +0 -76
  1418. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +0 -3
  1419. package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +0 -1
  1420. package/esm/resources/V2/Data/Analytics/index.d.ts +0 -12
  1421. package/esm/resources/V2/Data/Analytics/index.js +0 -9
  1422. package/esm/resources/V2/Data/Analytics/index.js.map +0 -1
  1423. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -172
  1424. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  1425. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  1426. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  1427. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  1428. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  1429. package/esm/resources/V2/Data/index.d.ts +0 -13
  1430. package/esm/resources/V2/Data/index.js +0 -11
  1431. package/esm/resources/V2/Data/index.js.map +0 -1
  1432. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
  1433. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  1434. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  1435. package/esm/resources/V2/Extend/Workflows.d.ts +0 -120
  1436. package/esm/resources/V2/Extend/Workflows.js +0 -26
  1437. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  1438. package/esm/resources/V2/Extend/index.d.ts +0 -20
  1439. package/esm/resources/V2/Extend/index.js +0 -11
  1440. package/esm/resources/V2/Extend/index.js.map +0 -1
  1441. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  1442. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  1443. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  1444. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  1445. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  1446. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  1447. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -211
  1448. package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
  1449. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  1450. package/esm/resources/V2/Iam/ApiKeys.d.ts +0 -305
  1451. package/esm/resources/V2/Iam/ApiKeys.js +0 -43
  1452. package/esm/resources/V2/Iam/ApiKeys.js.map +0 -1
  1453. package/esm/resources/V2/Iam/index.d.ts +0 -23
  1454. package/esm/resources/V2/Iam/index.js +0 -11
  1455. package/esm/resources/V2/Iam/index.js.map +0 -1
  1456. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  1457. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  1458. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  1459. package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +0 -131
  1460. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +0 -27
  1461. package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +0 -1
  1462. package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +0 -168
  1463. package/esm/resources/V2/MoneyManagement/DebitDisputes.js +0 -25
  1464. package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +0 -1
  1465. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +0 -99
  1466. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +0 -3
  1467. package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +0 -1
  1468. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +0 -44
  1469. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +0 -49
  1470. package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +0 -1
  1471. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -449
  1472. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -46
  1473. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  1474. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +0 -14
  1475. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +0 -3
  1476. package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +0 -1
  1477. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -304
  1478. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  1479. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  1480. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -251
  1481. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  1482. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  1483. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -219
  1484. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  1485. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  1486. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -638
  1487. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  1488. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1489. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -318
  1490. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  1491. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1492. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -394
  1493. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  1494. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1495. package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +0 -525
  1496. package/esm/resources/V2/MoneyManagement/PayoutIntents.js +0 -40
  1497. package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +0 -1
  1498. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -277
  1499. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
  1500. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1501. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
  1502. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  1503. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1504. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -481
  1505. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  1506. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1507. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -264
  1508. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  1509. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1510. package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +0 -116
  1511. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +0 -23
  1512. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +0 -1
  1513. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +0 -30
  1514. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -11
  1515. package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +0 -1
  1516. package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
  1517. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +0 -9
  1518. package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
  1519. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -266
  1520. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  1521. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1522. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -297
  1523. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
  1524. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1525. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -143
  1526. package/esm/resources/V2/MoneyManagement/index.js +0 -45
  1527. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  1528. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -92
  1529. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  1530. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1531. package/esm/resources/V2/Network/index.d.ts +0 -13
  1532. package/esm/resources/V2/Network/index.js +0 -9
  1533. package/esm/resources/V2/Network/index.js.map +0 -1
  1534. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
  1535. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  1536. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1537. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1538. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  1539. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1540. package/esm/resources/V2/Payments/OffSessionPayments.d.ts +0 -823
  1541. package/esm/resources/V2/Payments/OffSessionPayments.js +0 -49
  1542. package/esm/resources/V2/Payments/OffSessionPayments.js.map +0 -1
  1543. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +0 -73
  1544. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +0 -3
  1545. package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +0 -1
  1546. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +0 -85
  1547. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +0 -31
  1548. package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +0 -1
  1549. package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +0 -209
  1550. package/esm/resources/V2/Payments/SettlementAllocationIntents.js +0 -49
  1551. package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +0 -1
  1552. package/esm/resources/V2/Payments/index.d.ts +0 -31
  1553. package/esm/resources/V2/Payments/index.js +0 -11
  1554. package/esm/resources/V2/Payments/index.js.map +0 -1
  1555. package/esm/resources/V2/Reporting/ReportRuns.d.ts +0 -191
  1556. package/esm/resources/V2/Reporting/ReportRuns.js +0 -46
  1557. package/esm/resources/V2/Reporting/ReportRuns.js.map +0 -1
  1558. package/esm/resources/V2/Reporting/Reports.d.ts +0 -106
  1559. package/esm/resources/V2/Reporting/Reports.js +0 -13
  1560. package/esm/resources/V2/Reporting/Reports.js.map +0 -1
  1561. package/esm/resources/V2/Reporting/index.d.ts +0 -18
  1562. package/esm/resources/V2/Reporting/index.js +0 -11
  1563. package/esm/resources/V2/Reporting/index.js.map +0 -1
  1564. package/esm/resources/V2/Signals/AccountSignals.d.ts +0 -172
  1565. package/esm/resources/V2/Signals/AccountSignals.js +0 -54
  1566. package/esm/resources/V2/Signals/AccountSignals.js.map +0 -1
  1567. package/esm/resources/V2/Signals/index.d.ts +0 -13
  1568. package/esm/resources/V2/Signals/index.js +0 -9
  1569. package/esm/resources/V2/Signals/index.js.map +0 -1
  1570. package/esm/resources/V2/Tax/ManualRules.d.ts +0 -331
  1571. package/esm/resources/V2/Tax/ManualRules.js +0 -189
  1572. package/esm/resources/V2/Tax/ManualRules.js.map +0 -1
  1573. package/esm/resources/V2/Tax/index.d.ts +0 -16
  1574. package/esm/resources/V2/Tax/index.js +0 -9
  1575. package/esm/resources/V2/Tax/index.js.map +0 -1
  1576. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
  1577. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  1578. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1579. package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +0 -31
  1580. package/esm/resources/V2/TestHelpers/MoneyManagement.js +0 -11
  1581. package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +0 -1
  1582. package/esm/resources/V2/TestHelpers/index.d.ts +0 -10
  1583. package/esm/resources/V2/TestHelpers/index.js +0 -11
  1584. package/esm/resources/V2/TestHelpers/index.js.map +0 -1
@@ -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
  /**
@@ -1412,16 +847,18 @@ export declare namespace SubscriptionScheduleCreateParams {
1412
847
  * The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.
1413
848
  */
1414
849
  account_tax_ids?: Emptyable<Array<string>>;
850
+ custom_fields?: Emptyable<Array<InvoiceSettings.CustomField>>;
1415
851
  /**
1416
852
  * Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `collection_method=charge_automatically`.
1417
853
  */
1418
854
  days_until_due?: number;
855
+ description?: Emptyable<string>;
856
+ footer?: Emptyable<string>;
1419
857
  /**
1420
858
  * The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
1421
859
  */
1422
860
  issuer?: InvoiceSettings.Issuer;
1423
861
  }
1424
- type PhaseEffectiveAt = 'billing_period_start' | 'phase_start';
1425
862
  interface TransferData {
1426
863
  /**
1427
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.
@@ -1444,10 +881,20 @@ export declare namespace SubscriptionScheduleCreateParams {
1444
881
  type: Liability.Type;
1445
882
  }
1446
883
  namespace Liability {
1447
- type Type = 'account' | 'application' | 'self' | OtherString;
884
+ type Type = 'account' | 'self' | OtherString;
1448
885
  }
1449
886
  }
1450
887
  namespace InvoiceSettings {
888
+ interface CustomField {
889
+ /**
890
+ * The name of the custom field. This may be up to 40 characters.
891
+ */
892
+ name: string;
893
+ /**
894
+ * The value of the custom field. This may be up to 140 characters.
895
+ */
896
+ value: string;
897
+ }
1451
898
  interface Issuer {
1452
899
  /**
1453
900
  * The connected account being referenced when `type` is `account`.
@@ -1459,161 +906,26 @@ export declare namespace SubscriptionScheduleCreateParams {
1459
906
  type: Issuer.Type;
1460
907
  }
1461
908
  namespace Issuer {
1462
- type Type = 'account' | 'application' | 'self' | OtherString;
909
+ type Type = 'account' | 'self' | OtherString;
1463
910
  }
1464
911
  }
1465
912
  }
1466
- namespace PauseSchedule {
1467
- interface Pause {
913
+ namespace Phase {
914
+ interface AddInvoiceItem {
1468
915
  /**
1469
- * When to pause the subscription.
916
+ * Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
1470
917
  */
1471
- pause_at: Pause.PauseAt;
918
+ discountable?: boolean;
1472
919
  /**
1473
- * Settings controlling billing behavior during the pause.
920
+ * The coupons to redeem into discounts for the item.
1474
921
  */
1475
- settings?: Pause.Settings;
1476
- }
1477
- interface Resume {
922
+ discounts?: Array<AddInvoiceItem.Discount>;
1478
923
  /**
1479
- * When to resume the subscription.
924
+ * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1480
925
  */
1481
- resume_at: Resume.ResumeAt;
926
+ metadata?: MetadataParam;
1482
927
  /**
1483
- * Settings controlling how the subscription resumes.
1484
- */
1485
- settings?: Resume.Settings;
1486
- }
1487
- namespace Pause {
1488
- interface PauseAt {
1489
- /**
1490
- * The Unix timestamp at which to pause the subscription. Required when `type` is `timestamp`.
1491
- */
1492
- timestamp?: number;
1493
- /**
1494
- * When to pause the subscription. Use `now` to pause immediately or `timestamp` to pause at a specific time.
1495
- */
1496
- type: PauseAt.Type;
1497
- }
1498
- interface Settings {
1499
- /**
1500
- * Controls what to bill for when pausing the subscription.
1501
- */
1502
- bill_for?: Settings.BillFor;
1503
- /**
1504
- * Determines whether to generate an invoice for outstanding amounts when pausing.
1505
- */
1506
- invoicing_behavior?: Settings.InvoicingBehavior;
1507
- /**
1508
- * The pause type. Currently only `subscription` is supported.
1509
- */
1510
- type?: 'subscription';
1511
- }
1512
- namespace PauseAt {
1513
- type Type = 'now' | 'timestamp' | OtherString;
1514
- }
1515
- namespace Settings {
1516
- interface BillFor {
1517
- /**
1518
- * Controls whether to collect metered usage accrued up to the pause date.
1519
- */
1520
- outstanding_usage_through?: BillFor.OutstandingUsageThrough;
1521
- /**
1522
- * Controls how unused time on subscription items is credited when pausing.
1523
- */
1524
- unused_time_from?: BillFor.UnusedTimeFrom;
1525
- }
1526
- type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
1527
- namespace BillFor {
1528
- interface OutstandingUsageThrough {
1529
- /**
1530
- * Determines whether to collect metered usage accrued up to the pause date.
1531
- */
1532
- type?: OutstandingUsageThrough.Type;
1533
- }
1534
- interface UnusedTimeFrom {
1535
- /**
1536
- * Determines which point in the billing period unused time is credited from.
1537
- */
1538
- type?: UnusedTimeFrom.Type;
1539
- }
1540
- namespace OutstandingUsageThrough {
1541
- type Type = 'none' | 'pause_at';
1542
- }
1543
- namespace UnusedTimeFrom {
1544
- type Type = 'item_current_period_start' | 'none' | 'pause_at';
1545
- }
1546
- }
1547
- }
1548
- }
1549
- namespace Resume {
1550
- interface ResumeAt {
1551
- /**
1552
- * The duration after which to resume the subscription. Required when `type` is `duration`.
1553
- */
1554
- duration?: ResumeAt.Duration;
1555
- /**
1556
- * The Unix timestamp at which to resume the subscription. Required when `type` is `timestamp`.
1557
- */
1558
- timestamp?: number;
1559
- /**
1560
- * 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.
1561
- */
1562
- type: ResumeAt.Type;
1563
- }
1564
- interface Settings {
1565
- /**
1566
- * Controls the billing cycle anchor when the subscription resumes.
1567
- */
1568
- billing_cycle_anchor?: Settings.BillingCycleAnchor;
1569
- /**
1570
- * Controls whether Stripe attempts payment on the resumption invoice and how payment affects the subscription's status. The default is `resume_on_payment_attempt`.
1571
- */
1572
- payment_behavior?: Settings.PaymentBehavior;
1573
- /**
1574
- * Determines how to handle prorations when the subscription resumes. The default is `create_prorations`.
1575
- */
1576
- proration_behavior?: Settings.ProrationBehavior;
1577
- }
1578
- namespace ResumeAt {
1579
- interface Duration {
1580
- /**
1581
- * The time unit for the resume duration. One of `day`, `week`, `month`, or `year`.
1582
- */
1583
- interval: Duration.Interval;
1584
- /**
1585
- * The number of intervals after which the subscription resumes.
1586
- */
1587
- interval_count?: number;
1588
- }
1589
- type Type = 'duration' | 'now' | 'timestamp' | OtherString;
1590
- namespace Duration {
1591
- type Interval = 'day' | 'month' | 'week' | 'year';
1592
- }
1593
- }
1594
- namespace Settings {
1595
- type BillingCycleAnchor = 'resume_at' | 'unchanged';
1596
- type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success';
1597
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
1598
- }
1599
- }
1600
- }
1601
- namespace Phase {
1602
- interface AddInvoiceItem {
1603
- /**
1604
- * Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
1605
- */
1606
- discountable?: boolean;
1607
- /**
1608
- * The coupons to redeem into discounts for the item.
1609
- */
1610
- discounts?: Array<AddInvoiceItem.Discount>;
1611
- /**
1612
- * 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`.
1613
- */
1614
- metadata?: MetadataParam;
1615
- /**
1616
- * The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.
928
+ * The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.
1617
929
  */
1618
930
  period?: AddInvoiceItem.Period;
1619
931
  /**
@@ -1664,18 +976,10 @@ export declare namespace SubscriptionScheduleCreateParams {
1664
976
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1665
977
  */
1666
978
  discount?: string;
1667
- /**
1668
- * Details to determine how long the discount should be applied for.
1669
- */
1670
- discount_end?: Discount.DiscountEnd;
1671
979
  /**
1672
980
  * ID of the promotion code to create a new discount for.
1673
981
  */
1674
982
  promotion_code?: string;
1675
- /**
1676
- * Settings for discount application including service period anchoring.
1677
- */
1678
- settings?: Discount.Settings;
1679
983
  }
1680
984
  interface Duration {
1681
985
  /**
@@ -1687,16 +991,27 @@ export declare namespace SubscriptionScheduleCreateParams {
1687
991
  */
1688
992
  interval_count?: number;
1689
993
  }
1690
- type EffectiveAt = 'billing_period_start' | 'phase_start';
1691
994
  interface InvoiceSettings {
1692
995
  /**
1693
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.
1694
997
  */
1695
998
  account_tax_ids?: Emptyable<Array<string>>;
999
+ /**
1000
+ * A list of up to 4 custom fields to be displayed on the invoice.
1001
+ */
1002
+ custom_fields?: Emptyable<Array<InvoiceSettings.CustomField>>;
1696
1003
  /**
1697
1004
  * Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `collection_method=charge_automatically`.
1698
1005
  */
1699
1006
  days_until_due?: number;
1007
+ /**
1008
+ * An arbitrary string attached to the object. Often useful for displaying to users.
1009
+ */
1010
+ description?: Emptyable<string>;
1011
+ /**
1012
+ * Footer to be displayed on the invoice.
1013
+ */
1014
+ footer?: Emptyable<string>;
1700
1015
  /**
1701
1016
  * The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
1702
1017
  */
@@ -1735,20 +1050,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1735
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.
1736
1051
  */
1737
1052
  tax_rates?: Emptyable<Array<string>>;
1738
- /**
1739
- * Options that configure the trial on the subscription item.
1740
- */
1741
- trial?: Item.Trial;
1742
- /**
1743
- * The ID of the trial offer to apply to the configuration item.
1744
- */
1745
- trial_offer?: string;
1746
- }
1747
- interface PauseCollection {
1748
- /**
1749
- * The payment collection behavior for this subscription while paused.
1750
- */
1751
- behavior: PauseCollection.Behavior;
1752
1053
  }
1753
1054
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
1754
1055
  interface TransferData {
@@ -1761,13 +1062,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1761
1062
  */
1762
1063
  destination: string;
1763
1064
  }
1764
- type TrialContinuation = 'continue' | 'none' | OtherString;
1765
- interface TrialSettings {
1766
- /**
1767
- * Defines how the subscription should behave when a trial ends.
1768
- */
1769
- end_behavior?: TrialSettings.EndBehavior;
1770
- }
1771
1065
  namespace AddInvoiceItem {
1772
1066
  interface Discount {
1773
1067
  /**
@@ -1778,10 +1072,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1778
1072
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
1779
1073
  */
1780
1074
  discount?: string;
1781
- /**
1782
- * Details to determine how long the discount should be applied for.
1783
- */
1784
- discount_end?: Discount.DiscountEnd;
1785
1075
  /**
1786
1076
  * ID of the promotion code to create a new discount for.
1787
1077
  */
@@ -1819,38 +1109,6 @@ export declare namespace SubscriptionScheduleCreateParams {
1819
1109
  */
1820
1110
  unit_amount_decimal?: Decimal;
1821
1111
  }
1822
- namespace Discount {
1823
- interface DiscountEnd {
1824
- /**
1825
- * Time span for the redeemed discount.
1826
- */
1827
- duration?: DiscountEnd.Duration;
1828
- /**
1829
- * A precise Unix timestamp for the discount to end. Must be in the future.
1830
- */
1831
- timestamp?: number;
1832
- /**
1833
- * The type of calculation made to determine when the discount ends.
1834
- */
1835
- type: DiscountEnd.Type;
1836
- }
1837
- namespace DiscountEnd {
1838
- interface Duration {
1839
- /**
1840
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1841
- */
1842
- interval: Duration.Interval;
1843
- /**
1844
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1845
- */
1846
- interval_count: number;
1847
- }
1848
- type Type = 'duration' | 'timestamp' | OtherString;
1849
- namespace Duration {
1850
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1851
- }
1852
- }
1853
- }
1854
1112
  namespace Period {
1855
1113
  interface End {
1856
1114
  /**
@@ -1895,93 +1153,23 @@ export declare namespace SubscriptionScheduleCreateParams {
1895
1153
  type: Liability.Type;
1896
1154
  }
1897
1155
  namespace Liability {
1898
- type Type = 'account' | 'application' | 'self' | OtherString;
1156
+ type Type = 'account' | 'self' | OtherString;
1899
1157
  }
1900
1158
  }
1901
- namespace Discount {
1902
- interface DiscountEnd {
1903
- /**
1904
- * Time span for the redeemed discount.
1905
- */
1906
- duration?: DiscountEnd.Duration;
1907
- /**
1908
- * A precise Unix timestamp for the discount to end. Must be in the future.
1909
- */
1910
- timestamp?: number;
1911
- /**
1912
- * The type of calculation made to determine when the discount ends.
1913
- */
1914
- type: DiscountEnd.Type;
1915
- }
1916
- interface Settings {
1159
+ namespace Duration {
1160
+ type Interval = 'day' | 'month' | 'week' | 'year';
1161
+ }
1162
+ namespace InvoiceSettings {
1163
+ interface CustomField {
1917
1164
  /**
1918
- * Configures service period cycle anchoring.
1165
+ * The name of the custom field. This may be up to 40 characters.
1919
1166
  */
1920
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
1167
+ name: string;
1921
1168
  /**
1922
- * 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.
1169
+ * The value of the custom field. This may be up to 140 characters.
1923
1170
  */
1924
- start_date?: Settings.StartDate;
1925
- }
1926
- namespace DiscountEnd {
1927
- interface Duration {
1928
- /**
1929
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1930
- */
1931
- interval: Duration.Interval;
1932
- /**
1933
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1934
- */
1935
- interval_count: number;
1936
- }
1937
- type Type = 'duration' | 'timestamp' | OtherString;
1938
- namespace Duration {
1939
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
1940
- }
1941
- }
1942
- namespace Settings {
1943
- interface ServicePeriodAnchorConfig {
1944
- /**
1945
- * Anchor the service period to a custom date. Type must be `custom` to specify.
1946
- */
1947
- custom?: ServicePeriodAnchorConfig.Custom;
1948
- /**
1949
- * The type of service period anchor config. Defaults to `inherit` if omitted.
1950
- */
1951
- type?: ServicePeriodAnchorConfig.Type;
1952
- }
1953
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
1954
- namespace ServicePeriodAnchorConfig {
1955
- interface Custom {
1956
- /**
1957
- * The day of the month the anchor should be. Ranges from 1 to 31.
1958
- */
1959
- day_of_month: number;
1960
- /**
1961
- * The hour of the day the anchor should be. Ranges from 0 to 23.
1962
- */
1963
- hour?: number;
1964
- /**
1965
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
1966
- */
1967
- minute?: number;
1968
- /**
1969
- * The month to start full cycle periods. Ranges from 1 to 12.
1970
- */
1971
- month?: number;
1972
- /**
1973
- * The second of the minute the anchor should be. Ranges from 0 to 59.
1974
- */
1975
- second?: number;
1976
- }
1977
- type Type = 'custom' | 'inherit' | OtherString;
1978
- }
1171
+ value: string;
1979
1172
  }
1980
- }
1981
- namespace Duration {
1982
- type Interval = 'day' | 'month' | 'week' | 'year';
1983
- }
1984
- namespace InvoiceSettings {
1985
1173
  interface Issuer {
1986
1174
  /**
1987
1175
  * The connected account being referenced when `type` is `account`.
@@ -1993,7 +1181,7 @@ export declare namespace SubscriptionScheduleCreateParams {
1993
1181
  type: Issuer.Type;
1994
1182
  }
1995
1183
  namespace Issuer {
1996
- type Type = 'account' | 'application' | 'self' | OtherString;
1184
+ type Type = 'account' | 'self' | OtherString;
1997
1185
  }
1998
1186
  }
1999
1187
  namespace Item {
@@ -2012,18 +1200,10 @@ export declare namespace SubscriptionScheduleCreateParams {
2012
1200
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2013
1201
  */
2014
1202
  discount?: string;
2015
- /**
2016
- * Details to determine how long the discount should be applied for.
2017
- */
2018
- discount_end?: Discount.DiscountEnd;
2019
1203
  /**
2020
1204
  * ID of the promotion code to create a new discount for.
2021
1205
  */
2022
1206
  promotion_code?: string;
2023
- /**
2024
- * Settings for discount application including service period anchoring.
2025
- */
2026
- settings?: Discount.Settings;
2027
1207
  }
2028
1208
  interface PriceData {
2029
1209
  /**
@@ -2051,96 +1231,6 @@ export declare namespace SubscriptionScheduleCreateParams {
2051
1231
  */
2052
1232
  unit_amount_decimal?: Decimal;
2053
1233
  }
2054
- interface Trial {
2055
- /**
2056
- * 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.
2057
- */
2058
- converts_to?: Array<string>;
2059
- /**
2060
- * Determines the type of trial for this item.
2061
- */
2062
- type: Trial.Type;
2063
- }
2064
- namespace Discount {
2065
- interface DiscountEnd {
2066
- /**
2067
- * Time span for the redeemed discount.
2068
- */
2069
- duration?: DiscountEnd.Duration;
2070
- /**
2071
- * A precise Unix timestamp for the discount to end. Must be in the future.
2072
- */
2073
- timestamp?: number;
2074
- /**
2075
- * The type of calculation made to determine when the discount ends.
2076
- */
2077
- type: DiscountEnd.Type;
2078
- }
2079
- interface Settings {
2080
- /**
2081
- * Configures service period cycle anchoring.
2082
- */
2083
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
2084
- /**
2085
- * 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.
2086
- */
2087
- start_date?: Settings.StartDate;
2088
- }
2089
- namespace DiscountEnd {
2090
- interface Duration {
2091
- /**
2092
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2093
- */
2094
- interval: Duration.Interval;
2095
- /**
2096
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2097
- */
2098
- interval_count: number;
2099
- }
2100
- type Type = 'duration' | 'timestamp' | OtherString;
2101
- namespace Duration {
2102
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2103
- }
2104
- }
2105
- namespace Settings {
2106
- interface ServicePeriodAnchorConfig {
2107
- /**
2108
- * Anchor the service period to a custom date. Type must be `custom` to specify.
2109
- */
2110
- custom?: ServicePeriodAnchorConfig.Custom;
2111
- /**
2112
- * The type of service period anchor config. Defaults to `inherit` if omitted.
2113
- */
2114
- type?: ServicePeriodAnchorConfig.Type;
2115
- }
2116
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
2117
- namespace ServicePeriodAnchorConfig {
2118
- interface Custom {
2119
- /**
2120
- * The day of the month the anchor should be. Ranges from 1 to 31.
2121
- */
2122
- day_of_month: number;
2123
- /**
2124
- * The hour of the day the anchor should be. Ranges from 0 to 23.
2125
- */
2126
- hour?: number;
2127
- /**
2128
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
2129
- */
2130
- minute?: number;
2131
- /**
2132
- * The month to start full cycle periods. Ranges from 1 to 12.
2133
- */
2134
- month?: number;
2135
- /**
2136
- * The second of the minute the anchor should be. Ranges from 0 to 59.
2137
- */
2138
- second?: number;
2139
- }
2140
- type Type = 'custom' | 'inherit' | OtherString;
2141
- }
2142
- }
2143
- }
2144
1234
  namespace PriceData {
2145
1235
  interface Recurring {
2146
1236
  /**
@@ -2157,28 +1247,8 @@ export declare namespace SubscriptionScheduleCreateParams {
2157
1247
  type Interval = 'day' | 'month' | 'week' | 'year';
2158
1248
  }
2159
1249
  }
2160
- namespace Trial {
2161
- type Type = 'free' | 'paid' | OtherString;
2162
- }
2163
- }
2164
- namespace PauseCollection {
2165
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
2166
- }
2167
- namespace TrialSettings {
2168
- interface EndBehavior {
2169
- /**
2170
- * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
2171
- */
2172
- prorate_up_front?: EndBehavior.ProrateUpFront;
2173
- }
2174
- namespace EndBehavior {
2175
- type ProrateUpFront = 'defer' | 'include' | OtherString;
2176
- }
2177
1250
  }
2178
1251
  }
2179
- namespace Prebilling {
2180
- type UpdateBehavior = 'prebill' | 'reset' | OtherString;
2181
- }
2182
1252
  }
2183
1253
  export interface SubscriptionScheduleRetrieveParams {
2184
1254
  /**
@@ -2187,14 +1257,6 @@ export interface SubscriptionScheduleRetrieveParams {
2187
1257
  expand?: Array<string>;
2188
1258
  }
2189
1259
  export interface SubscriptionScheduleUpdateParams {
2190
- /**
2191
- * 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.
2192
- */
2193
- billing_behavior?: SubscriptionScheduleUpdateParams.BillingBehavior;
2194
- /**
2195
- * Sets the billing schedules for the subscription schedule.
2196
- */
2197
- billing_schedules?: Emptyable<Array<SubscriptionScheduleUpdateParams.BillingSchedule>>;
2198
1260
  /**
2199
1261
  * Object representing the subscription schedule's default settings.
2200
1262
  */
@@ -2211,39 +1273,16 @@ export interface SubscriptionScheduleUpdateParams {
2211
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`.
2212
1274
  */
2213
1275
  metadata?: Emptyable<MetadataParam>;
2214
- /**
2215
- * 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.
2216
- */
2217
- pause_schedules?: Emptyable<Array<SubscriptionScheduleUpdateParams.PauseSchedule>>;
2218
1276
  /**
2219
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.
2220
1278
  */
2221
1279
  phases?: Array<SubscriptionScheduleUpdateParams.Phase>;
2222
- /**
2223
- * If specified, the invoicing for the given billing cycle iterations will be processed now.
2224
- */
2225
- prebilling?: SubscriptionScheduleUpdateParams.Prebilling;
2226
1280
  /**
2227
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`.
2228
1282
  */
2229
1283
  proration_behavior?: SubscriptionScheduleUpdateParams.ProrationBehavior;
2230
1284
  }
2231
1285
  export declare namespace SubscriptionScheduleUpdateParams {
2232
- type BillingBehavior = 'prorate_on_next_phase' | 'prorate_up_front';
2233
- interface BillingSchedule {
2234
- /**
2235
- * Configure billing schedule differently for individual subscription items.
2236
- */
2237
- applies_to?: Array<BillingSchedule.AppliesTo>;
2238
- /**
2239
- * The end date for the billing schedule.
2240
- */
2241
- bill_until?: BillingSchedule.BillUntil;
2242
- /**
2243
- * 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.
2244
- */
2245
- key?: string;
2246
- }
2247
1286
  interface DefaultSettings {
2248
1287
  /**
2249
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).
@@ -2281,30 +1320,12 @@ export declare namespace SubscriptionScheduleUpdateParams {
2281
1320
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
2282
1321
  */
2283
1322
  on_behalf_of?: Emptyable<string>;
2284
- /**
2285
- * Configures how the subscription schedule handles billing for phase transitions.
2286
- */
2287
- phase_effective_at?: DefaultSettings.PhaseEffectiveAt;
2288
1323
  /**
2289
1324
  * The data with which to automatically create a Transfer for each of the associated subscription's invoices.
2290
1325
  */
2291
1326
  transfer_data?: Emptyable<DefaultSettings.TransferData>;
2292
1327
  }
2293
1328
  type EndBehavior = 'cancel' | 'none' | 'release' | 'renew' | OtherString;
2294
- interface PauseSchedule {
2295
- /**
2296
- * A unique identifier for this pause schedule entry.
2297
- */
2298
- key?: string;
2299
- /**
2300
- * Configuration for when and how the subscription pauses.
2301
- */
2302
- pause?: PauseSchedule.Pause;
2303
- /**
2304
- * Configuration for when and how the subscription resumes.
2305
- */
2306
- resume?: PauseSchedule.Resume;
2307
- }
2308
1329
  interface Phase {
2309
1330
  /**
2310
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.
@@ -2354,10 +1375,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2354
1375
  * The number of intervals the phase should last. If set, `end_date` must not be set.
2355
1376
  */
2356
1377
  duration?: Phase.Duration;
2357
- /**
2358
- * Configures how the subscription schedule handles billing for phase transitions.
2359
- */
2360
- effective_at?: Phase.EffectiveAt;
2361
1378
  /**
2362
1379
  * The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.
2363
1380
  */
@@ -2378,10 +1395,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2378
1395
  * The account on behalf of which to charge, for each of the associated subscription's invoices.
2379
1396
  */
2380
1397
  on_behalf_of?: string;
2381
- /**
2382
- * 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).
2383
- */
2384
- pause_collection?: Phase.PauseCollection;
2385
1398
  /**
2386
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.
2387
1400
  */
@@ -2398,72 +1411,12 @@ export declare namespace SubscriptionScheduleUpdateParams {
2398
1411
  * If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
2399
1412
  */
2400
1413
  trial?: boolean;
2401
- /**
2402
- * Specify trial behavior when crossing phase boundaries
2403
- */
2404
- trial_continuation?: Phase.TrialContinuation;
2405
1414
  /**
2406
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.
2407
1416
  */
2408
1417
  trial_end?: number | 'now';
2409
- /**
2410
- * Settings related to subscription trials.
2411
- */
2412
- trial_settings?: Phase.TrialSettings;
2413
- }
2414
- interface Prebilling {
2415
- /**
2416
- * This is used to determine the number of billing cycles to prebill.
2417
- */
2418
- iterations: number;
2419
- /**
2420
- * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
2421
- */
2422
- update_behavior?: Prebilling.UpdateBehavior;
2423
1418
  }
2424
1419
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
2425
- namespace BillingSchedule {
2426
- interface AppliesTo {
2427
- /**
2428
- * The ID of the price object.
2429
- */
2430
- price?: string;
2431
- /**
2432
- * Controls which subscription items the billing schedule applies to.
2433
- */
2434
- type: 'price';
2435
- }
2436
- interface BillUntil {
2437
- /**
2438
- * Specifies the billing period.
2439
- */
2440
- duration?: BillUntil.Duration;
2441
- /**
2442
- * The end date of the billing schedule.
2443
- */
2444
- timestamp?: number;
2445
- /**
2446
- * Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
2447
- */
2448
- type: BillUntil.Type;
2449
- }
2450
- namespace BillUntil {
2451
- interface Duration {
2452
- /**
2453
- * Specifies billing duration. Either `day`, `week`, `month` or `year`.
2454
- */
2455
- interval: Duration.Interval;
2456
- /**
2457
- * The multiplier applied to the interval.
2458
- */
2459
- interval_count?: number;
2460
- }
2461
- type Type = 'duration' | 'timestamp' | OtherString;
2462
- namespace Duration {
2463
- type Interval = 'day' | 'month' | 'week' | 'year';
2464
- }
2465
- }
2466
- }
2467
1420
  namespace DefaultSettings {
2468
1421
  interface AutomaticTax {
2469
1422
  /**
@@ -2492,16 +1445,18 @@ export declare namespace SubscriptionScheduleUpdateParams {
2492
1445
  * The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.
2493
1446
  */
2494
1447
  account_tax_ids?: Emptyable<Array<string>>;
1448
+ custom_fields?: Emptyable<Array<InvoiceSettings.CustomField>>;
2495
1449
  /**
2496
1450
  * Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `collection_method=charge_automatically`.
2497
1451
  */
2498
1452
  days_until_due?: number;
1453
+ description?: Emptyable<string>;
1454
+ footer?: Emptyable<string>;
2499
1455
  /**
2500
1456
  * The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
2501
1457
  */
2502
1458
  issuer?: InvoiceSettings.Issuer;
2503
1459
  }
2504
- type PhaseEffectiveAt = 'billing_period_start' | 'phase_start';
2505
1460
  interface TransferData {
2506
1461
  /**
2507
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.
@@ -2524,10 +1479,20 @@ export declare namespace SubscriptionScheduleUpdateParams {
2524
1479
  type: Liability.Type;
2525
1480
  }
2526
1481
  namespace Liability {
2527
- type Type = 'account' | 'application' | 'self' | OtherString;
1482
+ type Type = 'account' | 'self' | OtherString;
2528
1483
  }
2529
1484
  }
2530
1485
  namespace InvoiceSettings {
1486
+ interface CustomField {
1487
+ /**
1488
+ * The name of the custom field. This may be up to 40 characters.
1489
+ */
1490
+ name: string;
1491
+ /**
1492
+ * The value of the custom field. This may be up to 140 characters.
1493
+ */
1494
+ value: string;
1495
+ }
2531
1496
  interface Issuer {
2532
1497
  /**
2533
1498
  * The connected account being referenced when `type` is `account`.
@@ -2539,179 +1504,44 @@ export declare namespace SubscriptionScheduleUpdateParams {
2539
1504
  type: Issuer.Type;
2540
1505
  }
2541
1506
  namespace Issuer {
2542
- type Type = 'account' | 'application' | 'self' | OtherString;
1507
+ type Type = 'account' | 'self' | OtherString;
2543
1508
  }
2544
1509
  }
2545
1510
  }
2546
- namespace PauseSchedule {
2547
- interface Pause {
1511
+ namespace Phase {
1512
+ interface AddInvoiceItem {
2548
1513
  /**
2549
- * When to pause the subscription.
1514
+ * Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
2550
1515
  */
2551
- pause_at?: Pause.PauseAt;
1516
+ discountable?: boolean;
2552
1517
  /**
2553
- * Settings controlling billing behavior during the pause.
1518
+ * The coupons to redeem into discounts for the item.
2554
1519
  */
2555
- settings?: Pause.Settings;
2556
- }
2557
- 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;
1529
+ /**
1530
+ * The ID of the price object. One of `price` or `price_data` is required.
1531
+ */
1532
+ price?: string;
1533
+ /**
1534
+ * Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.
1535
+ */
1536
+ price_data?: AddInvoiceItem.PriceData;
2558
1537
  /**
2559
- * When to resume the subscription.
1538
+ * Quantity for this item. Defaults to 1.
2560
1539
  */
2561
- resume_at?: Resume.ResumeAt;
1540
+ quantity?: number;
2562
1541
  /**
2563
- * 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.
2564
1543
  */
2565
- settings?: Resume.Settings;
2566
- }
2567
- namespace Pause {
2568
- interface PauseAt {
2569
- /**
2570
- * The Unix timestamp at which to pause the subscription. Required when `type` is `timestamp`.
2571
- */
2572
- timestamp?: number;
2573
- /**
2574
- * When to pause the subscription. Use `now` to pause immediately or `timestamp` to pause at a specific time.
2575
- */
2576
- type: PauseAt.Type;
2577
- }
2578
- interface Settings {
2579
- /**
2580
- * Controls what to bill for when pausing the subscription.
2581
- */
2582
- bill_for?: Settings.BillFor;
2583
- /**
2584
- * Determines whether to generate an invoice for outstanding amounts when pausing.
2585
- */
2586
- invoicing_behavior?: Settings.InvoicingBehavior;
2587
- /**
2588
- * The pause type. Currently only `subscription` is supported.
2589
- */
2590
- type?: 'subscription';
2591
- }
2592
- namespace PauseAt {
2593
- type Type = 'now' | 'timestamp' | OtherString;
2594
- }
2595
- namespace Settings {
2596
- interface BillFor {
2597
- /**
2598
- * Controls whether to collect metered usage accrued up to the pause date.
2599
- */
2600
- outstanding_usage_through?: BillFor.OutstandingUsageThrough;
2601
- /**
2602
- * Controls how unused time on subscription items is credited when pausing.
2603
- */
2604
- unused_time_from?: BillFor.UnusedTimeFrom;
2605
- }
2606
- type InvoicingBehavior = 'invoice' | 'pending_invoice_item' | OtherString;
2607
- namespace BillFor {
2608
- interface OutstandingUsageThrough {
2609
- /**
2610
- * Determines whether to collect metered usage accrued up to the pause date.
2611
- */
2612
- type?: OutstandingUsageThrough.Type;
2613
- }
2614
- interface UnusedTimeFrom {
2615
- /**
2616
- * Determines which point in the billing period unused time is credited from.
2617
- */
2618
- type?: UnusedTimeFrom.Type;
2619
- }
2620
- namespace OutstandingUsageThrough {
2621
- type Type = 'none' | 'pause_at';
2622
- }
2623
- namespace UnusedTimeFrom {
2624
- type Type = 'item_current_period_start' | 'none' | 'pause_at';
2625
- }
2626
- }
2627
- }
2628
- }
2629
- namespace Resume {
2630
- interface ResumeAt {
2631
- /**
2632
- * The duration after which to resume the subscription. Required when `type` is `duration`.
2633
- */
2634
- duration?: ResumeAt.Duration;
2635
- /**
2636
- * The Unix timestamp at which to resume the subscription. Required when `type` is `timestamp`.
2637
- */
2638
- timestamp?: number;
2639
- /**
2640
- * 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.
2641
- */
2642
- type: ResumeAt.Type;
2643
- }
2644
- interface Settings {
2645
- /**
2646
- * Controls the billing cycle anchor when the subscription resumes.
2647
- */
2648
- billing_cycle_anchor?: Settings.BillingCycleAnchor;
2649
- /**
2650
- * Controls whether Stripe attempts payment on the resumption invoice and how payment affects the subscription's status. The default is `resume_on_payment_attempt`.
2651
- */
2652
- payment_behavior?: Settings.PaymentBehavior;
2653
- /**
2654
- * Determines how to handle prorations when the subscription resumes. The default is `create_prorations`.
2655
- */
2656
- proration_behavior?: Settings.ProrationBehavior;
2657
- }
2658
- namespace ResumeAt {
2659
- interface Duration {
2660
- /**
2661
- * The time unit for the resume duration. One of `day`, `week`, `month`, or `year`.
2662
- */
2663
- interval: Duration.Interval;
2664
- /**
2665
- * The number of intervals after which the subscription resumes.
2666
- */
2667
- interval_count?: number;
2668
- }
2669
- type Type = 'duration' | 'now' | 'timestamp' | OtherString;
2670
- namespace Duration {
2671
- type Interval = 'day' | 'month' | 'week' | 'year';
2672
- }
2673
- }
2674
- namespace Settings {
2675
- type BillingCycleAnchor = 'resume_at' | 'unchanged';
2676
- type PaymentBehavior = 'resume_on_payment_attempt' | 'resume_on_payment_success';
2677
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
2678
- }
2679
- }
2680
- }
2681
- namespace Phase {
2682
- interface AddInvoiceItem {
2683
- /**
2684
- * Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
2685
- */
2686
- discountable?: boolean;
2687
- /**
2688
- * The coupons to redeem into discounts for the item.
2689
- */
2690
- discounts?: Array<AddInvoiceItem.Discount>;
2691
- /**
2692
- * 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`.
2693
- */
2694
- metadata?: MetadataParam;
2695
- /**
2696
- * 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`.
2697
- */
2698
- period?: AddInvoiceItem.Period;
2699
- /**
2700
- * The ID of the price object. One of `price` or `price_data` is required.
2701
- */
2702
- price?: string;
2703
- /**
2704
- * Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.
2705
- */
2706
- price_data?: AddInvoiceItem.PriceData;
2707
- /**
2708
- * Quantity for this item. Defaults to 1.
2709
- */
2710
- quantity?: number;
2711
- /**
2712
- * The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
2713
- */
2714
- tax_rates?: Emptyable<Array<string>>;
1544
+ tax_rates?: Emptyable<Array<string>>;
2715
1545
  }
2716
1546
  interface AutomaticTax {
2717
1547
  /**
@@ -2744,18 +1574,10 @@ export declare namespace SubscriptionScheduleUpdateParams {
2744
1574
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2745
1575
  */
2746
1576
  discount?: string;
2747
- /**
2748
- * Details to determine how long the discount should be applied for.
2749
- */
2750
- discount_end?: Discount.DiscountEnd;
2751
1577
  /**
2752
1578
  * ID of the promotion code to create a new discount for.
2753
1579
  */
2754
1580
  promotion_code?: string;
2755
- /**
2756
- * Settings for discount application including service period anchoring.
2757
- */
2758
- settings?: Discount.Settings;
2759
1581
  }
2760
1582
  interface Duration {
2761
1583
  /**
@@ -2767,16 +1589,27 @@ export declare namespace SubscriptionScheduleUpdateParams {
2767
1589
  */
2768
1590
  interval_count?: number;
2769
1591
  }
2770
- type EffectiveAt = 'billing_period_start' | 'phase_start';
2771
1592
  interface InvoiceSettings {
2772
1593
  /**
2773
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.
2774
1595
  */
2775
1596
  account_tax_ids?: Emptyable<Array<string>>;
1597
+ /**
1598
+ * A list of up to 4 custom fields to be displayed on the invoice.
1599
+ */
1600
+ custom_fields?: Emptyable<Array<InvoiceSettings.CustomField>>;
2776
1601
  /**
2777
1602
  * Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `collection_method=charge_automatically`.
2778
1603
  */
2779
1604
  days_until_due?: number;
1605
+ /**
1606
+ * An arbitrary string attached to the object. Often useful for displaying to users.
1607
+ */
1608
+ description?: Emptyable<string>;
1609
+ /**
1610
+ * Footer to be displayed on the invoice.
1611
+ */
1612
+ footer?: Emptyable<string>;
2780
1613
  /**
2781
1614
  * The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
2782
1615
  */
@@ -2815,20 +1648,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2815
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.
2816
1649
  */
2817
1650
  tax_rates?: Emptyable<Array<string>>;
2818
- /**
2819
- * Options that configure the trial on the subscription item.
2820
- */
2821
- trial?: Item.Trial;
2822
- /**
2823
- * The ID of the trial offer to apply to the configuration item.
2824
- */
2825
- trial_offer?: string;
2826
- }
2827
- interface PauseCollection {
2828
- /**
2829
- * The payment collection behavior for this subscription while paused.
2830
- */
2831
- behavior: PauseCollection.Behavior;
2832
1651
  }
2833
1652
  type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
2834
1653
  interface TransferData {
@@ -2841,13 +1660,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2841
1660
  */
2842
1661
  destination: string;
2843
1662
  }
2844
- type TrialContinuation = 'continue' | 'none' | OtherString;
2845
- interface TrialSettings {
2846
- /**
2847
- * Defines how the subscription should behave when a trial ends.
2848
- */
2849
- end_behavior?: TrialSettings.EndBehavior;
2850
- }
2851
1663
  namespace AddInvoiceItem {
2852
1664
  interface Discount {
2853
1665
  /**
@@ -2858,10 +1670,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2858
1670
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
2859
1671
  */
2860
1672
  discount?: string;
2861
- /**
2862
- * Details to determine how long the discount should be applied for.
2863
- */
2864
- discount_end?: Discount.DiscountEnd;
2865
1673
  /**
2866
1674
  * ID of the promotion code to create a new discount for.
2867
1675
  */
@@ -2899,38 +1707,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
2899
1707
  */
2900
1708
  unit_amount_decimal?: Decimal;
2901
1709
  }
2902
- namespace Discount {
2903
- interface DiscountEnd {
2904
- /**
2905
- * Time span for the redeemed discount.
2906
- */
2907
- duration?: DiscountEnd.Duration;
2908
- /**
2909
- * A precise Unix timestamp for the discount to end. Must be in the future.
2910
- */
2911
- timestamp?: number;
2912
- /**
2913
- * The type of calculation made to determine when the discount ends.
2914
- */
2915
- type: DiscountEnd.Type;
2916
- }
2917
- namespace DiscountEnd {
2918
- interface Duration {
2919
- /**
2920
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2921
- */
2922
- interval: Duration.Interval;
2923
- /**
2924
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2925
- */
2926
- interval_count: number;
2927
- }
2928
- type Type = 'duration' | 'timestamp' | OtherString;
2929
- namespace Duration {
2930
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
2931
- }
2932
- }
2933
- }
2934
1710
  namespace Period {
2935
1711
  interface End {
2936
1712
  /**
@@ -2975,93 +1751,23 @@ export declare namespace SubscriptionScheduleUpdateParams {
2975
1751
  type: Liability.Type;
2976
1752
  }
2977
1753
  namespace Liability {
2978
- type Type = 'account' | 'application' | 'self' | OtherString;
1754
+ type Type = 'account' | 'self' | OtherString;
2979
1755
  }
2980
1756
  }
2981
- namespace Discount {
2982
- interface DiscountEnd {
2983
- /**
2984
- * Time span for the redeemed discount.
2985
- */
2986
- duration?: DiscountEnd.Duration;
2987
- /**
2988
- * A precise Unix timestamp for the discount to end. Must be in the future.
2989
- */
2990
- timestamp?: number;
2991
- /**
2992
- * The type of calculation made to determine when the discount ends.
2993
- */
2994
- type: DiscountEnd.Type;
2995
- }
2996
- interface Settings {
1757
+ namespace Duration {
1758
+ type Interval = 'day' | 'month' | 'week' | 'year';
1759
+ }
1760
+ namespace InvoiceSettings {
1761
+ interface CustomField {
2997
1762
  /**
2998
- * Configures service period cycle anchoring.
1763
+ * The name of the custom field. This may be up to 40 characters.
2999
1764
  */
3000
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
1765
+ name: string;
3001
1766
  /**
3002
- * 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.
1767
+ * The value of the custom field. This may be up to 140 characters.
3003
1768
  */
3004
- start_date?: Settings.StartDate;
3005
- }
3006
- namespace DiscountEnd {
3007
- interface Duration {
3008
- /**
3009
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3010
- */
3011
- interval: Duration.Interval;
3012
- /**
3013
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3014
- */
3015
- interval_count: number;
3016
- }
3017
- type Type = 'duration' | 'timestamp' | OtherString;
3018
- namespace Duration {
3019
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3020
- }
3021
- }
3022
- namespace Settings {
3023
- interface ServicePeriodAnchorConfig {
3024
- /**
3025
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3026
- */
3027
- custom?: ServicePeriodAnchorConfig.Custom;
3028
- /**
3029
- * The type of service period anchor config. Defaults to `inherit` if omitted.
3030
- */
3031
- type?: ServicePeriodAnchorConfig.Type;
3032
- }
3033
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
3034
- namespace ServicePeriodAnchorConfig {
3035
- interface Custom {
3036
- /**
3037
- * The day of the month the anchor should be. Ranges from 1 to 31.
3038
- */
3039
- day_of_month: number;
3040
- /**
3041
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3042
- */
3043
- hour?: number;
3044
- /**
3045
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3046
- */
3047
- minute?: number;
3048
- /**
3049
- * The month to start full cycle periods. Ranges from 1 to 12.
3050
- */
3051
- month?: number;
3052
- /**
3053
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3054
- */
3055
- second?: number;
3056
- }
3057
- type Type = 'custom' | 'inherit' | OtherString;
3058
- }
1769
+ value: string;
3059
1770
  }
3060
- }
3061
- namespace Duration {
3062
- type Interval = 'day' | 'month' | 'week' | 'year';
3063
- }
3064
- namespace InvoiceSettings {
3065
1771
  interface Issuer {
3066
1772
  /**
3067
1773
  * The connected account being referenced when `type` is `account`.
@@ -3073,7 +1779,7 @@ export declare namespace SubscriptionScheduleUpdateParams {
3073
1779
  type: Issuer.Type;
3074
1780
  }
3075
1781
  namespace Issuer {
3076
- type Type = 'account' | 'application' | 'self' | OtherString;
1782
+ type Type = 'account' | 'self' | OtherString;
3077
1783
  }
3078
1784
  }
3079
1785
  namespace Item {
@@ -3092,18 +1798,10 @@ export declare namespace SubscriptionScheduleUpdateParams {
3092
1798
  * ID of an existing discount on the object (or one of its ancestors) to reuse.
3093
1799
  */
3094
1800
  discount?: string;
3095
- /**
3096
- * Details to determine how long the discount should be applied for.
3097
- */
3098
- discount_end?: Discount.DiscountEnd;
3099
1801
  /**
3100
1802
  * ID of the promotion code to create a new discount for.
3101
1803
  */
3102
1804
  promotion_code?: string;
3103
- /**
3104
- * Settings for discount application including service period anchoring.
3105
- */
3106
- settings?: Discount.Settings;
3107
1805
  }
3108
1806
  interface PriceData {
3109
1807
  /**
@@ -3131,96 +1829,6 @@ export declare namespace SubscriptionScheduleUpdateParams {
3131
1829
  */
3132
1830
  unit_amount_decimal?: Decimal;
3133
1831
  }
3134
- interface Trial {
3135
- /**
3136
- * 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.
3137
- */
3138
- converts_to?: Array<string>;
3139
- /**
3140
- * Determines the type of trial for this item.
3141
- */
3142
- type: Trial.Type;
3143
- }
3144
- namespace Discount {
3145
- interface DiscountEnd {
3146
- /**
3147
- * Time span for the redeemed discount.
3148
- */
3149
- duration?: DiscountEnd.Duration;
3150
- /**
3151
- * A precise Unix timestamp for the discount to end. Must be in the future.
3152
- */
3153
- timestamp?: number;
3154
- /**
3155
- * The type of calculation made to determine when the discount ends.
3156
- */
3157
- type: DiscountEnd.Type;
3158
- }
3159
- interface Settings {
3160
- /**
3161
- * Configures service period cycle anchoring.
3162
- */
3163
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3164
- /**
3165
- * 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.
3166
- */
3167
- start_date?: Settings.StartDate;
3168
- }
3169
- namespace DiscountEnd {
3170
- interface Duration {
3171
- /**
3172
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3173
- */
3174
- interval: Duration.Interval;
3175
- /**
3176
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3177
- */
3178
- interval_count: number;
3179
- }
3180
- type Type = 'duration' | 'timestamp' | OtherString;
3181
- namespace Duration {
3182
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3183
- }
3184
- }
3185
- namespace Settings {
3186
- interface ServicePeriodAnchorConfig {
3187
- /**
3188
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3189
- */
3190
- custom?: ServicePeriodAnchorConfig.Custom;
3191
- /**
3192
- * The type of service period anchor config. Defaults to `inherit` if omitted.
3193
- */
3194
- type?: ServicePeriodAnchorConfig.Type;
3195
- }
3196
- type StartDate = 'current_period_end' | 'current_period_start' | 'phase_start' | OtherString;
3197
- namespace ServicePeriodAnchorConfig {
3198
- interface Custom {
3199
- /**
3200
- * The day of the month the anchor should be. Ranges from 1 to 31.
3201
- */
3202
- day_of_month: number;
3203
- /**
3204
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3205
- */
3206
- hour?: number;
3207
- /**
3208
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3209
- */
3210
- minute?: number;
3211
- /**
3212
- * The month to start full cycle periods. Ranges from 1 to 12.
3213
- */
3214
- month?: number;
3215
- /**
3216
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3217
- */
3218
- second?: number;
3219
- }
3220
- type Type = 'custom' | 'inherit' | OtherString;
3221
- }
3222
- }
3223
- }
3224
1832
  namespace PriceData {
3225
1833
  interface Recurring {
3226
1834
  /**
@@ -3237,28 +1845,8 @@ export declare namespace SubscriptionScheduleUpdateParams {
3237
1845
  type Interval = 'day' | 'month' | 'week' | 'year';
3238
1846
  }
3239
1847
  }
3240
- namespace Trial {
3241
- type Type = 'free' | 'paid' | OtherString;
3242
- }
3243
- }
3244
- namespace PauseCollection {
3245
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
3246
- }
3247
- namespace TrialSettings {
3248
- interface EndBehavior {
3249
- /**
3250
- * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
3251
- */
3252
- prorate_up_front?: EndBehavior.ProrateUpFront;
3253
- }
3254
- namespace EndBehavior {
3255
- type ProrateUpFront = 'defer' | 'include' | OtherString;
3256
- }
3257
1848
  }
3258
1849
  }
3259
- namespace Prebilling {
3260
- type UpdateBehavior = 'prebill' | 'reset' | OtherString;
3261
- }
3262
1850
  }
3263
1851
  export interface SubscriptionScheduleListParams extends PaginationParams {
3264
1852
  /**
@@ -3294,847 +1882,6 @@ export interface SubscriptionScheduleListParams extends PaginationParams {
3294
1882
  */
3295
1883
  scheduled?: boolean;
3296
1884
  }
3297
- export interface SubscriptionScheduleAmendParams {
3298
- /**
3299
- * Changes to apply to the phases of the subscription schedule, in the order provided.
3300
- */
3301
- amendments?: Array<SubscriptionScheduleAmendParams.Amendment>;
3302
- /**
3303
- * Specifies which fields in the response should be expanded.
3304
- */
3305
- expand?: Array<string>;
3306
- /**
3307
- * Provide any time periods to bill in advance.
3308
- */
3309
- prebilling?: Emptyable<Array<SubscriptionScheduleAmendParams.Prebilling>>;
3310
- /**
3311
- * In cases where the amendment changes the currently active phase,
3312
- * specifies if and how to prorate at the time of the request.
3313
- */
3314
- proration_behavior?: SubscriptionScheduleAmendParams.ProrationBehavior;
3315
- /**
3316
- * Changes to apply to the subscription schedule.
3317
- */
3318
- schedule_settings?: SubscriptionScheduleAmendParams.ScheduleSettings;
3319
- }
3320
- export declare namespace SubscriptionScheduleAmendParams {
3321
- interface Amendment {
3322
- /**
3323
- * 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.
3324
- */
3325
- amendment_end?: Amendment.AmendmentEnd;
3326
- /**
3327
- * Details to identify the earliest timestamp where the proposed change should take effect.
3328
- */
3329
- amendment_start: Amendment.AmendmentStart;
3330
- /**
3331
- * 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.
3332
- */
3333
- billing_cycle_anchor?: Amendment.BillingCycleAnchor;
3334
- /**
3335
- * Actions to apply to the billing schedules.
3336
- */
3337
- billing_schedules_actions?: Array<Amendment.BillingSchedulesAction>;
3338
- /**
3339
- * Changes to the coupons being redeemed or discounts being applied during the amendment time span.
3340
- */
3341
- discount_actions?: Array<Amendment.DiscountAction>;
3342
- /**
3343
- * Configures how the subscription schedule handles billing for phase transitions.
3344
- */
3345
- effective_at?: Amendment.EffectiveAt;
3346
- /**
3347
- * Changes to the subscription items during the amendment time span.
3348
- */
3349
- item_actions?: Array<Amendment.ItemAction>;
3350
- /**
3351
- * Instructions for how to modify phase metadata
3352
- */
3353
- metadata_actions?: Array<Amendment.MetadataAction>;
3354
- /**
3355
- * 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`.
3356
- */
3357
- proration_behavior?: Amendment.ProrationBehavior;
3358
- /**
3359
- * Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
3360
- */
3361
- set_pause_collection?: Amendment.SetPauseCollection;
3362
- /**
3363
- * Ends the subscription schedule early as dictated by either the accompanying amendment's start or end.
3364
- */
3365
- set_schedule_end?: Amendment.SetScheduleEnd;
3366
- /**
3367
- * Settings related to subscription trials.
3368
- */
3369
- trial_settings?: Amendment.TrialSettings;
3370
- }
3371
- interface Prebilling {
3372
- /**
3373
- * The beginning of the prebilled time period. The default value is `now`.
3374
- */
3375
- bill_from?: Prebilling.BillFrom;
3376
- /**
3377
- * The end of the prebilled time period.
3378
- */
3379
- bill_until?: Prebilling.BillUntil;
3380
- /**
3381
- * When the prebilling invoice should be created. The default value is `now`.
3382
- */
3383
- invoice_at?: 'now';
3384
- /**
3385
- * Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
3386
- */
3387
- update_behavior?: Prebilling.UpdateBehavior;
3388
- }
3389
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
3390
- interface ScheduleSettings {
3391
- /**
3392
- * Behavior of the subscription schedule and underlying subscription when it ends.
3393
- */
3394
- end_behavior?: ScheduleSettings.EndBehavior;
3395
- }
3396
- namespace Amendment {
3397
- interface AmendmentEnd {
3398
- /**
3399
- * Use the `end` time of a given discount.
3400
- */
3401
- discount_end?: AmendmentEnd.DiscountEnd;
3402
- /**
3403
- * Time span for the amendment starting from the `amendment_start`.
3404
- */
3405
- duration?: AmendmentEnd.Duration;
3406
- /**
3407
- * A precise Unix timestamp for the amendment to end. Must be after the `amendment_start`.
3408
- */
3409
- timestamp?: number;
3410
- /**
3411
- * Select one of three ways to pass the `amendment_end`.
3412
- */
3413
- type: AmendmentEnd.Type;
3414
- }
3415
- interface AmendmentStart {
3416
- /**
3417
- * Details of another amendment in the same array, immediately after which this amendment should begin.
3418
- */
3419
- amendment_end?: AmendmentStart.AmendmentEnd;
3420
- /**
3421
- * Use the `end` time of a given discount.
3422
- */
3423
- discount_end?: AmendmentStart.DiscountEnd;
3424
- /**
3425
- * A precise Unix timestamp for the amendment to start.
3426
- */
3427
- timestamp?: number;
3428
- /**
3429
- * Select one of three ways to pass the `amendment_start`.
3430
- */
3431
- type: AmendmentStart.Type;
3432
- }
3433
- type BillingCycleAnchor = 'amendment_start' | 'automatic' | OtherString;
3434
- interface BillingSchedulesAction {
3435
- /**
3436
- * Specify which subscription items the billing schedule applies to.
3437
- */
3438
- applies_to?: Array<BillingSchedulesAction.AppliesTo>;
3439
- /**
3440
- * Select the action.
3441
- */
3442
- type: BillingSchedulesAction.Type;
3443
- }
3444
- interface DiscountAction {
3445
- /**
3446
- * Details of the discount to add.
3447
- */
3448
- add?: DiscountAction.Add;
3449
- /**
3450
- * Details of the discount to remove.
3451
- */
3452
- remove?: DiscountAction.Remove;
3453
- /**
3454
- * Details of the discount to replace the existing discounts with.
3455
- */
3456
- set?: DiscountAction.Set;
3457
- /**
3458
- * Determines the type of discount action.
3459
- */
3460
- type: DiscountAction.Type;
3461
- }
3462
- type EffectiveAt = 'amendment_start' | 'billing_period_start' | OtherString;
3463
- interface ItemAction {
3464
- /**
3465
- * 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.
3466
- */
3467
- add?: ItemAction.Add;
3468
- /**
3469
- * Details of the subscription item to remove.
3470
- */
3471
- remove?: ItemAction.Remove;
3472
- /**
3473
- * 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.
3474
- */
3475
- set?: ItemAction.Set;
3476
- /**
3477
- * Determines the type of item action.
3478
- */
3479
- type: ItemAction.Type;
3480
- }
3481
- interface MetadataAction {
3482
- /**
3483
- * Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata.
3484
- */
3485
- add?: {
3486
- [key: string]: string;
3487
- };
3488
- /**
3489
- * Keys to remove from schedule phase metadata.
3490
- */
3491
- remove?: Array<string>;
3492
- /**
3493
- * Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten.
3494
- */
3495
- set?: Emptyable<{
3496
- [key: string]: string;
3497
- }>;
3498
- /**
3499
- * Select one of three ways to update phase-level `metadata` on subscription schedules.
3500
- */
3501
- type: MetadataAction.Type;
3502
- }
3503
- type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none' | OtherString;
3504
- interface SetPauseCollection {
3505
- /**
3506
- * Details of the pause_collection behavior to apply to the amendment.
3507
- */
3508
- set?: SetPauseCollection.Set;
3509
- /**
3510
- * Determines the type of the pause_collection amendment.
3511
- */
3512
- type: SetPauseCollection.Type;
3513
- }
3514
- type SetScheduleEnd = 'amendment_end' | 'amendment_start' | OtherString;
3515
- interface TrialSettings {
3516
- /**
3517
- * Defines how the subscription should behave when a trial ends.
3518
- */
3519
- end_behavior?: TrialSettings.EndBehavior;
3520
- }
3521
- namespace AmendmentEnd {
3522
- interface DiscountEnd {
3523
- /**
3524
- * The ID of a specific discount.
3525
- */
3526
- discount: string;
3527
- }
3528
- interface Duration {
3529
- /**
3530
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3531
- */
3532
- interval: Duration.Interval;
3533
- /**
3534
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3535
- */
3536
- interval_count: number;
3537
- }
3538
- type Type = 'discount_end' | 'duration' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
3539
- namespace Duration {
3540
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3541
- }
3542
- }
3543
- namespace AmendmentStart {
3544
- interface AmendmentEnd {
3545
- /**
3546
- * 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.
3547
- */
3548
- index: number;
3549
- }
3550
- interface DiscountEnd {
3551
- /**
3552
- * The ID of a specific discount.
3553
- */
3554
- discount: string;
3555
- }
3556
- type Type = 'amendment_end' | 'discount_end' | 'now' | 'schedule_end' | 'timestamp' | 'trial_end' | 'trial_start' | 'upcoming_invoice' | OtherString;
3557
- }
3558
- namespace BillingSchedulesAction {
3559
- interface AppliesTo {
3560
- /**
3561
- * The ID of the price object.
3562
- */
3563
- price?: string;
3564
- /**
3565
- * Controls which subscription items the billing schedule applies to.
3566
- */
3567
- type: 'price';
3568
- }
3569
- type Type = 'remove' | 'set' | OtherString;
3570
- }
3571
- namespace DiscountAction {
3572
- interface Add {
3573
- /**
3574
- * The coupon code to redeem.
3575
- */
3576
- coupon?: string;
3577
- /**
3578
- * An ID of an existing discount for a coupon that was already redeemed.
3579
- */
3580
- discount?: string;
3581
- /**
3582
- * Details to determine how long the discount should be applied for.
3583
- */
3584
- discount_end?: Add.DiscountEnd;
3585
- /**
3586
- * 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.
3587
- */
3588
- index?: number;
3589
- /**
3590
- * The promotion code to redeem.
3591
- */
3592
- promotion_code?: string;
3593
- /**
3594
- * Settings for discount application including service period anchoring.
3595
- */
3596
- settings?: Add.Settings;
3597
- }
3598
- interface Remove {
3599
- /**
3600
- * The coupon code to remove from the `discounts` array.
3601
- */
3602
- coupon?: string;
3603
- /**
3604
- * The ID of a discount to remove from the `discounts` array.
3605
- */
3606
- discount?: string;
3607
- /**
3608
- * The ID of a promotion code to remove from the `discounts` array.
3609
- */
3610
- promotion_code?: string;
3611
- }
3612
- interface Set {
3613
- /**
3614
- * The coupon code to replace the `discounts` array with.
3615
- */
3616
- coupon?: string;
3617
- /**
3618
- * An ID of an existing discount to replace the `discounts` array with.
3619
- */
3620
- discount?: string;
3621
- /**
3622
- * An ID of an existing promotion code to replace the `discounts` array with.
3623
- */
3624
- promotion_code?: string;
3625
- /**
3626
- * Settings for discount application including service period anchoring.
3627
- */
3628
- settings?: Set.Settings;
3629
- }
3630
- type Type = 'add' | 'remove' | 'set' | OtherString;
3631
- namespace Add {
3632
- interface DiscountEnd {
3633
- /**
3634
- * The type of calculation made to determine when the discount ends.
3635
- */
3636
- type: 'amendment_end';
3637
- }
3638
- interface Settings {
3639
- /**
3640
- * Configures service period cycle anchoring.
3641
- */
3642
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3643
- /**
3644
- * 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.
3645
- */
3646
- start_date?: Settings.StartDate;
3647
- }
3648
- namespace Settings {
3649
- interface ServicePeriodAnchorConfig {
3650
- /**
3651
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3652
- */
3653
- custom?: ServicePeriodAnchorConfig.Custom;
3654
- /**
3655
- * The type of service period anchor config. Defaults to `inherit` if omitted.
3656
- */
3657
- type?: ServicePeriodAnchorConfig.Type;
3658
- }
3659
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
3660
- namespace ServicePeriodAnchorConfig {
3661
- interface Custom {
3662
- /**
3663
- * The day of the month the anchor should be. Ranges from 1 to 31.
3664
- */
3665
- day_of_month: number;
3666
- /**
3667
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3668
- */
3669
- hour?: number;
3670
- /**
3671
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3672
- */
3673
- minute?: number;
3674
- /**
3675
- * The month to start full cycle periods. Ranges from 1 to 12.
3676
- */
3677
- month?: number;
3678
- /**
3679
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3680
- */
3681
- second?: number;
3682
- }
3683
- type Type = 'custom' | 'inherit' | OtherString;
3684
- }
3685
- }
3686
- }
3687
- namespace Set {
3688
- interface Settings {
3689
- /**
3690
- * Configures service period cycle anchoring.
3691
- */
3692
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3693
- /**
3694
- * 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.
3695
- */
3696
- start_date?: Settings.StartDate;
3697
- }
3698
- namespace Settings {
3699
- interface ServicePeriodAnchorConfig {
3700
- /**
3701
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3702
- */
3703
- custom?: ServicePeriodAnchorConfig.Custom;
3704
- /**
3705
- * The type of service period anchor config. Defaults to `inherit` if omitted.
3706
- */
3707
- type?: ServicePeriodAnchorConfig.Type;
3708
- }
3709
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
3710
- namespace ServicePeriodAnchorConfig {
3711
- interface Custom {
3712
- /**
3713
- * The day of the month the anchor should be. Ranges from 1 to 31.
3714
- */
3715
- day_of_month: number;
3716
- /**
3717
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3718
- */
3719
- hour?: number;
3720
- /**
3721
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3722
- */
3723
- minute?: number;
3724
- /**
3725
- * The month to start full cycle periods. Ranges from 1 to 12.
3726
- */
3727
- month?: number;
3728
- /**
3729
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3730
- */
3731
- second?: number;
3732
- }
3733
- type Type = 'custom' | 'inherit' | OtherString;
3734
- }
3735
- }
3736
- }
3737
- }
3738
- namespace ItemAction {
3739
- interface Add {
3740
- /**
3741
- * The discounts applied to the item. Subscription item discounts are applied before subscription discounts.
3742
- */
3743
- discounts?: Array<Add.Discount>;
3744
- /**
3745
- * 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`.
3746
- */
3747
- metadata?: MetadataParam;
3748
- /**
3749
- * The ID of the price object.
3750
- */
3751
- price: string;
3752
- /**
3753
- * Quantity for this item.
3754
- */
3755
- quantity?: number;
3756
- /**
3757
- * 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`.
3758
- */
3759
- tax_rates?: Array<string>;
3760
- /**
3761
- * Options that configure the trial on the subscription item.
3762
- */
3763
- trial?: Add.Trial;
3764
- /**
3765
- * The ID of the trial offer to apply to the configuration item.
3766
- */
3767
- trial_offer?: string;
3768
- }
3769
- interface Remove {
3770
- /**
3771
- * ID of a price to remove.
3772
- */
3773
- price: string;
3774
- }
3775
- interface Set {
3776
- /**
3777
- * 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`.
3778
- */
3779
- discounts?: Array<Set.Discount>;
3780
- /**
3781
- * 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`.
3782
- */
3783
- metadata?: MetadataParam;
3784
- /**
3785
- * The ID of the price object.
3786
- */
3787
- price: string;
3788
- /**
3789
- * 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`.
3790
- */
3791
- quantity?: number;
3792
- /**
3793
- * 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`.
3794
- */
3795
- tax_rates?: Array<string>;
3796
- /**
3797
- * 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`.
3798
- */
3799
- trial?: Set.Trial;
3800
- /**
3801
- * The ID of the trial offer to apply to the configuration item.
3802
- */
3803
- trial_offer?: string;
3804
- }
3805
- type Type = 'add' | 'remove' | 'set' | OtherString;
3806
- namespace Add {
3807
- interface Discount {
3808
- /**
3809
- * ID of the coupon to create a new discount for.
3810
- */
3811
- coupon?: string;
3812
- /**
3813
- * ID of an existing discount on the object (or one of its ancestors) to reuse.
3814
- */
3815
- discount?: string;
3816
- /**
3817
- * Details to determine how long the discount should be applied for.
3818
- */
3819
- discount_end?: Discount.DiscountEnd;
3820
- /**
3821
- * ID of the promotion code to create a new discount for.
3822
- */
3823
- promotion_code?: string;
3824
- /**
3825
- * Settings for discount application including service period anchoring.
3826
- */
3827
- settings?: Discount.Settings;
3828
- }
3829
- interface Trial {
3830
- /**
3831
- * 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.
3832
- */
3833
- converts_to?: Array<string>;
3834
- /**
3835
- * Determines the type of trial for this item.
3836
- */
3837
- type: Trial.Type;
3838
- }
3839
- namespace Discount {
3840
- interface DiscountEnd {
3841
- /**
3842
- * Time span for the redeemed discount.
3843
- */
3844
- duration?: DiscountEnd.Duration;
3845
- /**
3846
- * A precise Unix timestamp for the discount to end. Must be in the future.
3847
- */
3848
- timestamp?: number;
3849
- /**
3850
- * The type of calculation made to determine when the discount ends.
3851
- */
3852
- type: DiscountEnd.Type;
3853
- }
3854
- interface Settings {
3855
- /**
3856
- * Configures service period cycle anchoring.
3857
- */
3858
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3859
- /**
3860
- * 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.
3861
- */
3862
- start_date?: Settings.StartDate;
3863
- }
3864
- namespace DiscountEnd {
3865
- interface Duration {
3866
- /**
3867
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3868
- */
3869
- interval: Duration.Interval;
3870
- /**
3871
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3872
- */
3873
- interval_count: number;
3874
- }
3875
- type Type = 'duration' | 'timestamp' | OtherString;
3876
- namespace Duration {
3877
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3878
- }
3879
- }
3880
- namespace Settings {
3881
- interface ServicePeriodAnchorConfig {
3882
- /**
3883
- * Anchor the service period to a custom date. Type must be `custom` to specify.
3884
- */
3885
- custom?: ServicePeriodAnchorConfig.Custom;
3886
- /**
3887
- * The type of service period anchor config. Defaults to `inherit` if omitted.
3888
- */
3889
- type?: ServicePeriodAnchorConfig.Type;
3890
- }
3891
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
3892
- namespace ServicePeriodAnchorConfig {
3893
- interface Custom {
3894
- /**
3895
- * The day of the month the anchor should be. Ranges from 1 to 31.
3896
- */
3897
- day_of_month: number;
3898
- /**
3899
- * The hour of the day the anchor should be. Ranges from 0 to 23.
3900
- */
3901
- hour?: number;
3902
- /**
3903
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
3904
- */
3905
- minute?: number;
3906
- /**
3907
- * The month to start full cycle periods. Ranges from 1 to 12.
3908
- */
3909
- month?: number;
3910
- /**
3911
- * The second of the minute the anchor should be. Ranges from 0 to 59.
3912
- */
3913
- second?: number;
3914
- }
3915
- type Type = 'custom' | 'inherit' | OtherString;
3916
- }
3917
- }
3918
- }
3919
- namespace Trial {
3920
- type Type = 'free' | 'paid' | OtherString;
3921
- }
3922
- }
3923
- namespace Set {
3924
- interface Discount {
3925
- /**
3926
- * ID of the coupon to create a new discount for.
3927
- */
3928
- coupon?: string;
3929
- /**
3930
- * ID of an existing discount on the object (or one of its ancestors) to reuse.
3931
- */
3932
- discount?: string;
3933
- /**
3934
- * Details to determine how long the discount should be applied for.
3935
- */
3936
- discount_end?: Discount.DiscountEnd;
3937
- /**
3938
- * ID of the promotion code to create a new discount for.
3939
- */
3940
- promotion_code?: string;
3941
- /**
3942
- * Settings for discount application including service period anchoring.
3943
- */
3944
- settings?: Discount.Settings;
3945
- }
3946
- interface Trial {
3947
- /**
3948
- * 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.
3949
- */
3950
- converts_to?: Array<string>;
3951
- /**
3952
- * Determines the type of trial for this item.
3953
- */
3954
- type: Trial.Type;
3955
- }
3956
- namespace Discount {
3957
- interface DiscountEnd {
3958
- /**
3959
- * Time span for the redeemed discount.
3960
- */
3961
- duration?: DiscountEnd.Duration;
3962
- /**
3963
- * A precise Unix timestamp for the discount to end. Must be in the future.
3964
- */
3965
- timestamp?: number;
3966
- /**
3967
- * The type of calculation made to determine when the discount ends.
3968
- */
3969
- type: DiscountEnd.Type;
3970
- }
3971
- interface Settings {
3972
- /**
3973
- * Configures service period cycle anchoring.
3974
- */
3975
- service_period_anchor_config?: Settings.ServicePeriodAnchorConfig;
3976
- /**
3977
- * 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.
3978
- */
3979
- start_date?: Settings.StartDate;
3980
- }
3981
- namespace DiscountEnd {
3982
- interface Duration {
3983
- /**
3984
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3985
- */
3986
- interval: Duration.Interval;
3987
- /**
3988
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3989
- */
3990
- interval_count: number;
3991
- }
3992
- type Type = 'duration' | 'timestamp' | OtherString;
3993
- namespace Duration {
3994
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
3995
- }
3996
- }
3997
- namespace Settings {
3998
- interface ServicePeriodAnchorConfig {
3999
- /**
4000
- * Anchor the service period to a custom date. Type must be `custom` to specify.
4001
- */
4002
- custom?: ServicePeriodAnchorConfig.Custom;
4003
- /**
4004
- * The type of service period anchor config. Defaults to `inherit` if omitted.
4005
- */
4006
- type?: ServicePeriodAnchorConfig.Type;
4007
- }
4008
- type StartDate = 'amendment_start' | 'current_period_end' | 'current_period_start' | OtherString;
4009
- namespace ServicePeriodAnchorConfig {
4010
- interface Custom {
4011
- /**
4012
- * The day of the month the anchor should be. Ranges from 1 to 31.
4013
- */
4014
- day_of_month: number;
4015
- /**
4016
- * The hour of the day the anchor should be. Ranges from 0 to 23.
4017
- */
4018
- hour?: number;
4019
- /**
4020
- * The minute of the hour the anchor should be. Ranges from 0 to 59.
4021
- */
4022
- minute?: number;
4023
- /**
4024
- * The month to start full cycle periods. Ranges from 1 to 12.
4025
- */
4026
- month?: number;
4027
- /**
4028
- * The second of the minute the anchor should be. Ranges from 0 to 59.
4029
- */
4030
- second?: number;
4031
- }
4032
- type Type = 'custom' | 'inherit' | OtherString;
4033
- }
4034
- }
4035
- }
4036
- namespace Trial {
4037
- type Type = 'free' | 'paid' | OtherString;
4038
- }
4039
- }
4040
- }
4041
- namespace MetadataAction {
4042
- type Type = 'add' | 'remove' | 'set' | OtherString;
4043
- }
4044
- namespace SetPauseCollection {
4045
- interface Set {
4046
- /**
4047
- * The payment collection behavior for this subscription while paused.
4048
- */
4049
- behavior: Set.Behavior;
4050
- }
4051
- type Type = 'remove' | 'set' | OtherString;
4052
- namespace Set {
4053
- type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void' | OtherString;
4054
- }
4055
- }
4056
- namespace TrialSettings {
4057
- interface EndBehavior {
4058
- /**
4059
- * Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
4060
- */
4061
- prorate_up_front?: EndBehavior.ProrateUpFront;
4062
- }
4063
- namespace EndBehavior {
4064
- type ProrateUpFront = 'defer' | 'include' | OtherString;
4065
- }
4066
- }
4067
- }
4068
- namespace Prebilling {
4069
- interface BillFrom {
4070
- /**
4071
- * Start the prebilled period when a specified amendment begins.
4072
- */
4073
- amendment_start?: BillFrom.AmendmentStart;
4074
- /**
4075
- * Start the prebilled period at a precise integer timestamp, starting from the Unix epoch.
4076
- */
4077
- timestamp?: number;
4078
- /**
4079
- * Select one of several ways to pass the `bill_from` value.
4080
- */
4081
- type: BillFrom.Type;
4082
- }
4083
- interface BillUntil {
4084
- /**
4085
- * End the prebilled period when a specified amendment ends.
4086
- */
4087
- amendment_end?: BillUntil.AmendmentEnd;
4088
- /**
4089
- * Time span for prebilling, starting from `bill_from`.
4090
- */
4091
- duration?: BillUntil.Duration;
4092
- /**
4093
- * End the prebilled period at a precise integer timestamp, starting from the Unix epoch.
4094
- */
4095
- timestamp?: number;
4096
- /**
4097
- * Select one of several ways to pass the `bill_until` value.
4098
- */
4099
- type: BillUntil.Type;
4100
- }
4101
- type UpdateBehavior = 'prebill' | 'reset' | OtherString;
4102
- namespace BillFrom {
4103
- interface AmendmentStart {
4104
- /**
4105
- * 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.
4106
- */
4107
- index: number;
4108
- }
4109
- type Type = 'amendment_start' | 'now' | 'timestamp' | OtherString;
4110
- }
4111
- namespace BillUntil {
4112
- interface AmendmentEnd {
4113
- /**
4114
- * 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.
4115
- */
4116
- index: number;
4117
- }
4118
- interface Duration {
4119
- /**
4120
- * Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4121
- */
4122
- interval: Duration.Interval;
4123
- /**
4124
- * The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4125
- */
4126
- interval_count: number;
4127
- }
4128
- type Type = 'amendment_end' | 'duration' | 'schedule_end' | 'timestamp' | OtherString;
4129
- namespace Duration {
4130
- type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
4131
- }
4132
- }
4133
- }
4134
- namespace ScheduleSettings {
4135
- type EndBehavior = 'cancel' | 'release' | OtherString;
4136
- }
4137
- }
4138
1885
  export interface SubscriptionScheduleCancelParams {
4139
1886
  /**
4140
1887
  * Specifies which fields in the response should be expanded.
@@ -4159,11 +1906,3 @@ export interface SubscriptionScheduleReleaseParams {
4159
1906
  */
4160
1907
  preserve_cancel_date?: boolean;
4161
1908
  }
4162
- export interface SubscriptionScheduleSerializeBatchCancelParams {
4163
- }
4164
- export interface SubscriptionScheduleSerializeBatchCreateParams {
4165
- }
4166
- export interface SubscriptionScheduleSerializeBatchReleaseParams {
4167
- }
4168
- export interface SubscriptionScheduleSerializeBatchUpdateParams {
4169
- }