stripe 22.2.0 → 22.3.0-beta.1

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 (789) hide show
  1. package/CHANGELOG.md +1753 -76
  2. package/README.md +57 -65
  3. package/VERSION +1 -1
  4. package/cjs/Error.d.ts +50 -0
  5. package/cjs/Error.js +125 -1
  6. package/cjs/Error.js.map +1 -1
  7. package/cjs/RequestSender.d.ts +0 -1
  8. package/cjs/RequestSender.js +0 -8
  9. package/cjs/RequestSender.js.map +1 -1
  10. package/cjs/StripeEventNotificationHandler.d.ts +19 -0
  11. package/cjs/StripeEventNotificationHandler.js +148 -0
  12. package/cjs/StripeEventNotificationHandler.js.map +1 -0
  13. package/cjs/Types.d.ts +4 -2
  14. package/cjs/Types.js.map +1 -1
  15. package/cjs/apiVersion.d.ts +1 -2
  16. package/cjs/apiVersion.js +2 -3
  17. package/cjs/apiVersion.js.map +1 -1
  18. package/cjs/resources/AccountLinks.d.ts +1 -1
  19. package/cjs/resources/AccountNotices.d.ts +140 -0
  20. package/cjs/resources/AccountNotices.js +29 -0
  21. package/cjs/resources/AccountNotices.js.map +1 -0
  22. package/cjs/resources/AccountSessions.d.ts +262 -0
  23. package/cjs/resources/AccountSessions.js.map +1 -1
  24. package/cjs/resources/Accounts.d.ts +827 -3
  25. package/cjs/resources/Accounts.js +14 -0
  26. package/cjs/resources/Accounts.js.map +1 -1
  27. package/cjs/resources/Balance.d.ts +67 -0
  28. package/cjs/resources/BankAccounts.d.ts +2 -2
  29. package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -1
  30. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +84 -0
  31. package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
  32. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  33. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
  34. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
  35. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  36. package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
  37. package/cjs/resources/Billing/Analytics/index.js +13 -0
  38. package/cjs/resources/Billing/Analytics/index.js.map +1 -0
  39. package/cjs/resources/Billing/index.d.ts +3 -0
  40. package/cjs/resources/Billing/index.js +2 -0
  41. package/cjs/resources/Billing/index.js.map +1 -1
  42. package/cjs/resources/Capabilities.d.ts +2 -2
  43. package/cjs/resources/Capital/FinancingOffers.d.ts +191 -0
  44. package/cjs/resources/Capital/FinancingOffers.js +30 -0
  45. package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
  46. package/cjs/resources/Capital/FinancingSummary.d.ts +98 -0
  47. package/cjs/resources/Capital/FinancingSummary.js +15 -0
  48. package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
  49. package/cjs/resources/Capital/FinancingTransactions.d.ts +143 -0
  50. package/cjs/resources/Capital/FinancingTransactions.js +24 -0
  51. package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
  52. package/cjs/resources/Capital/index.d.ts +25 -0
  53. package/cjs/resources/Capital/index.js +17 -0
  54. package/cjs/resources/Capital/index.js.map +1 -0
  55. package/cjs/resources/Cards.d.ts +4 -0
  56. package/cjs/resources/Charges.d.ts +3064 -70
  57. package/cjs/resources/Checkout/Sessions.d.ts +390 -4
  58. package/cjs/resources/ConfirmationTokens.d.ts +67 -1
  59. package/cjs/resources/Coupons.d.ts +53 -0
  60. package/cjs/resources/Coupons.js +13 -0
  61. package/cjs/resources/Coupons.js.map +1 -1
  62. package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
  63. package/cjs/resources/CreditNotes.d.ts +1 -1
  64. package/cjs/resources/CustomerSessions.d.ts +68 -0
  65. package/cjs/resources/Customers.d.ts +7 -1
  66. package/cjs/resources/Customers.js +14 -0
  67. package/cjs/resources/Customers.js.map +1 -1
  68. package/cjs/resources/Disputes.d.ts +29 -0
  69. package/cjs/resources/Events.d.ts +547 -2
  70. package/cjs/resources/ExternalAccounts.d.ts +212 -1
  71. package/cjs/resources/ExternalAccounts.js +44 -0
  72. package/cjs/resources/ExternalAccounts.js.map +1 -1
  73. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  74. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
  75. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  76. package/cjs/resources/FinancialConnections/Accounts.d.ts +74 -4
  77. package/cjs/resources/FinancialConnections/Accounts.js +8 -0
  78. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  79. package/cjs/resources/FinancialConnections/Authorizations.d.ts +87 -0
  80. package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
  81. package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
  82. package/cjs/resources/FinancialConnections/Institutions.d.ts +101 -0
  83. package/cjs/resources/FinancialConnections/Institutions.js +23 -0
  84. package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
  85. package/cjs/resources/FinancialConnections/Sessions.d.ts +155 -7
  86. package/cjs/resources/FinancialConnections/index.d.ts +21 -6
  87. package/cjs/resources/FinancialConnections/index.js +4 -0
  88. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  89. package/cjs/resources/FxQuotes.d.ts +212 -0
  90. package/cjs/resources/FxQuotes.js +29 -0
  91. package/cjs/resources/FxQuotes.js.map +1 -0
  92. package/cjs/resources/InvoiceItems.d.ts +85 -0
  93. package/cjs/resources/InvoiceItems.js.map +1 -1
  94. package/cjs/resources/InvoiceLineItems.d.ts +40 -2
  95. package/cjs/resources/Invoices.d.ts +1337 -19
  96. package/cjs/resources/Invoices.js +41 -0
  97. package/cjs/resources/Invoices.js.map +1 -1
  98. package/cjs/resources/Issuing/Cardholders.d.ts +2 -1
  99. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
  100. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
  101. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  102. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
  103. package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
  104. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  105. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  106. package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
  107. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  108. package/cjs/resources/Issuing/Settlements.d.ts +85 -0
  109. package/cjs/resources/Issuing/Settlements.js +4 -0
  110. package/cjs/resources/Issuing/Settlements.js.map +1 -0
  111. package/cjs/resources/Issuing/Transactions.d.ts +9 -0
  112. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  113. package/cjs/resources/Issuing/index.d.ts +47 -22
  114. package/cjs/resources/Issuing/index.js +6 -0
  115. package/cjs/resources/Issuing/index.js.map +1 -1
  116. package/cjs/resources/LineItems.d.ts +29 -2
  117. package/cjs/resources/Mandates.d.ts +33 -1
  118. package/cjs/resources/Mandates.js +8 -0
  119. package/cjs/resources/Mandates.js.map +1 -1
  120. package/cjs/resources/Margins.d.ts +115 -0
  121. package/cjs/resources/Margins.js +35 -0
  122. package/cjs/resources/Margins.js.map +1 -0
  123. package/cjs/resources/Orders.d.ts +4693 -0
  124. package/cjs/resources/Orders.js +457 -0
  125. package/cjs/resources/Orders.js.map +1 -0
  126. package/cjs/resources/PaymentAttemptRecords.d.ts +82 -0
  127. package/cjs/resources/PaymentIntents.d.ts +13239 -2321
  128. package/cjs/resources/PaymentIntents.js +27 -0
  129. package/cjs/resources/PaymentIntents.js.map +1 -1
  130. package/cjs/resources/PaymentLinks.d.ts +19 -3
  131. package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
  132. package/cjs/resources/PaymentMethods.d.ts +151 -3
  133. package/cjs/resources/PaymentMethods.js.map +1 -1
  134. package/cjs/resources/PaymentRecords.d.ts +82 -0
  135. package/cjs/resources/Persons.d.ts +2 -2
  136. package/cjs/resources/Plans.d.ts +16 -0
  137. package/cjs/resources/Prices.d.ts +52 -0
  138. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
  139. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
  140. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  141. package/cjs/resources/Privacy/RedactionJobs.d.ts +229 -0
  142. package/cjs/resources/Privacy/RedactionJobs.js +73 -0
  143. package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
  144. package/cjs/resources/Privacy/index.d.ts +22 -0
  145. package/cjs/resources/Privacy/index.js +13 -0
  146. package/cjs/resources/Privacy/index.js.map +1 -0
  147. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +127 -0
  148. package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
  149. package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
  150. package/cjs/resources/ProductCatalog/index.d.ts +12 -0
  151. package/cjs/resources/ProductCatalog/index.js +13 -0
  152. package/cjs/resources/ProductCatalog/index.js.map +1 -0
  153. package/cjs/resources/Products.d.ts +42 -0
  154. package/cjs/resources/PromotionCodes.d.ts +12 -0
  155. package/cjs/resources/PromotionCodes.js +27 -0
  156. package/cjs/resources/PromotionCodes.js.map +1 -1
  157. package/cjs/resources/QuoteLines.d.ts +507 -0
  158. package/cjs/resources/QuoteLines.js +4 -0
  159. package/cjs/resources/QuoteLines.js.map +1 -0
  160. package/cjs/resources/QuotePreviewInvoices.d.ts +1120 -0
  161. package/cjs/resources/QuotePreviewInvoices.js +4 -0
  162. package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
  163. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +737 -0
  164. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
  165. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  166. package/cjs/resources/Quotes.d.ts +2266 -57
  167. package/cjs/resources/Quotes.js +1184 -16
  168. package/cjs/resources/Quotes.js.map +1 -1
  169. package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
  170. package/cjs/resources/Refunds.d.ts +11 -0
  171. package/cjs/resources/Reserve/Holds.d.ts +53 -1
  172. package/cjs/resources/Reserve/Holds.js +19 -0
  173. package/cjs/resources/Reserve/Holds.js.map +1 -1
  174. package/cjs/resources/Reserve/Plans.d.ts +16 -0
  175. package/cjs/resources/Reserve/Plans.js +11 -0
  176. package/cjs/resources/Reserve/Plans.js.map +1 -1
  177. package/cjs/resources/Reserve/Releases.d.ts +41 -1
  178. package/cjs/resources/Reserve/Releases.js +19 -0
  179. package/cjs/resources/Reserve/Releases.js.map +1 -1
  180. package/cjs/resources/Reserve/index.d.ts +14 -3
  181. package/cjs/resources/Reserve/index.js +10 -2
  182. package/cjs/resources/Reserve/index.js.map +1 -1
  183. package/cjs/resources/SetupAttempts.d.ts +26 -1
  184. package/cjs/resources/SetupIntents.d.ts +330 -11
  185. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1095 -0
  186. package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
  187. package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
  188. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +308 -0
  189. package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
  190. package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
  191. package/cjs/resources/SharedPayment/index.d.ts +19 -0
  192. package/cjs/resources/SharedPayment/index.js +15 -0
  193. package/cjs/resources/SharedPayment/index.js.map +1 -0
  194. package/cjs/resources/Sources.d.ts +16 -1
  195. package/cjs/resources/SubscriptionItems.d.ts +143 -0
  196. package/cjs/resources/SubscriptionSchedules.d.ts +1152 -0
  197. package/cjs/resources/SubscriptionSchedules.js +6 -0
  198. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  199. package/cjs/resources/Subscriptions.d.ts +571 -6
  200. package/cjs/resources/Subscriptions.js +145 -0
  201. package/cjs/resources/Subscriptions.js.map +1 -1
  202. package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
  203. package/cjs/resources/Tax/Calculations.d.ts +7 -3
  204. package/cjs/resources/Tax/Forms.d.ts +230 -0
  205. package/cjs/resources/Tax/Forms.js +32 -0
  206. package/cjs/resources/Tax/Forms.js.map +1 -0
  207. package/cjs/resources/Tax/Locations.d.ts +108 -0
  208. package/cjs/resources/Tax/Locations.js +33 -0
  209. package/cjs/resources/Tax/Locations.js.map +1 -0
  210. package/cjs/resources/Tax/Registrations.d.ts +138 -2
  211. package/cjs/resources/Tax/Transactions.d.ts +2 -2
  212. package/cjs/resources/Tax/index.d.ts +27 -13
  213. package/cjs/resources/Tax/index.js +4 -0
  214. package/cjs/resources/Tax/index.js.map +1 -1
  215. package/cjs/resources/TaxCodes.d.ts +15 -0
  216. package/cjs/resources/Terminal/Configurations.d.ts +27 -0
  217. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +52 -0
  218. package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
  219. package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
  220. package/cjs/resources/Terminal/Readers.d.ts +17 -1
  221. package/cjs/resources/Terminal/index.d.ts +5 -0
  222. package/cjs/resources/Terminal/index.js +2 -0
  223. package/cjs/resources/Terminal/index.js.map +1 -1
  224. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
  225. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
  226. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
  227. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  228. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  229. package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
  230. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  231. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  232. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  233. package/cjs/resources/TestHelpers/index.d.ts +3 -0
  234. package/cjs/resources/TestHelpers/index.js +6 -4
  235. package/cjs/resources/TestHelpers/index.js.map +1 -1
  236. package/cjs/resources/Transfers.d.ts +8 -0
  237. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  238. package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
  239. package/cjs/resources/Treasury/OutboundPayments.d.ts +8 -0
  240. package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
  241. package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
  242. package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
  243. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
  244. package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
  245. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  246. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  247. package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
  248. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  249. package/cjs/resources/V2/Billing/BillSettings.d.ts +284 -0
  250. package/cjs/resources/V2/Billing/BillSettings.js +41 -0
  251. package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
  252. package/cjs/resources/V2/Billing/Cadences.d.ts +951 -0
  253. package/cjs/resources/V2/Billing/Cadences.js +198 -0
  254. package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
  255. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
  256. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
  257. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  258. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  259. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
  260. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  261. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  262. package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
  263. package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
  264. package/cjs/resources/V2/Billing/Profiles.d.ts +166 -0
  265. package/cjs/resources/V2/Billing/Profiles.js +35 -0
  266. package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
  267. package/cjs/resources/V2/Billing/index.d.ts +45 -6
  268. package/cjs/resources/V2/Billing/index.js +8 -0
  269. package/cjs/resources/V2/Billing/index.js.map +1 -1
  270. package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
  271. package/cjs/resources/V2/Core/AccountTokens.d.ts +10 -0
  272. package/cjs/resources/V2/Core/Accounts.d.ts +1177 -167
  273. package/cjs/resources/V2/Core/BatchJobs.d.ts +373 -0
  274. package/cjs/resources/V2/Core/BatchJobs.js +225 -0
  275. package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
  276. package/cjs/resources/V2/Core/Events.d.ts +1123 -4
  277. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
  278. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
  279. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  280. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
  281. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +62 -0
  282. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  283. package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
  284. package/cjs/resources/V2/Core/Vault/index.js +15 -0
  285. package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
  286. package/cjs/resources/V2/Core/index.d.ts +19 -9
  287. package/cjs/resources/V2/Core/index.js +4 -0
  288. package/cjs/resources/V2/Core/index.js.map +1 -1
  289. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -0
  290. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
  291. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  292. package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
  293. package/cjs/resources/V2/Data/Reporting/index.js +13 -0
  294. package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
  295. package/cjs/resources/V2/Data/index.d.ts +10 -0
  296. package/cjs/resources/V2/Data/index.js +13 -0
  297. package/cjs/resources/V2/Data/index.js.map +1 -0
  298. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  299. package/cjs/resources/V2/EventMisc.js +2 -0
  300. package/cjs/resources/V2/EventMisc.js.map +1 -0
  301. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
  302. package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
  303. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  304. package/cjs/resources/V2/Extend/Workflows.d.ts +123 -0
  305. package/cjs/resources/V2/Extend/Workflows.js +30 -0
  306. package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
  307. package/cjs/resources/V2/Extend/index.d.ts +20 -0
  308. package/cjs/resources/V2/Extend/index.js +15 -0
  309. package/cjs/resources/V2/Extend/index.js.map +1 -0
  310. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  311. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
  312. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  313. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  314. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
  315. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  316. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +214 -0
  317. package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
  318. package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
  319. package/cjs/resources/V2/Iam/index.d.ts +13 -0
  320. package/cjs/resources/V2/Iam/index.js +13 -0
  321. package/cjs/resources/V2/Iam/index.js.map +1 -0
  322. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +135 -0
  323. package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
  324. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  325. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +244 -0
  326. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +44 -0
  327. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  328. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +215 -0
  329. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
  330. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  331. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
  332. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
  333. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  334. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +212 -0
  335. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
  336. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  337. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +388 -0
  338. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
  339. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  340. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +300 -0
  341. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
  342. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  343. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +330 -0
  344. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
  345. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  346. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +243 -0
  347. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
  348. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  349. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
  350. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
  351. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  352. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +295 -0
  353. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
  354. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  355. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +161 -0
  356. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
  357. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  358. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +165 -0
  359. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
  360. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  361. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +196 -0
  362. package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
  363. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  364. package/cjs/resources/V2/MoneyManagement/index.d.ts +104 -0
  365. package/cjs/resources/V2/MoneyManagement/index.js +39 -0
  366. package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
  367. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +96 -0
  368. package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
  369. package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
  370. package/cjs/resources/V2/Network/index.d.ts +13 -0
  371. package/cjs/resources/V2/Network/index.js +13 -0
  372. package/cjs/resources/V2/Network/index.js.map +1 -0
  373. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
  374. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
  375. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  376. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  377. package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
  378. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  379. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  380. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
  381. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  382. package/cjs/resources/V2/TestHelpers/index.d.ts +8 -0
  383. package/cjs/resources/V2/TestHelpers/index.js +13 -0
  384. package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
  385. package/cjs/resources/V2/index.d.ts +27 -0
  386. package/cjs/resources/V2/index.js +14 -0
  387. package/cjs/resources/V2/index.js.map +1 -1
  388. package/cjs/resources/WebhookEndpoints.d.ts +2 -2
  389. package/cjs/resources.d.ts +10 -0
  390. package/cjs/resources.js +146 -10
  391. package/cjs/resources.js.map +1 -1
  392. package/cjs/stripe.core.d.ts +61 -24
  393. package/cjs/stripe.core.js +55 -31
  394. package/cjs/stripe.core.js.map +1 -1
  395. package/esm/Error.d.ts +50 -0
  396. package/esm/Error.js +109 -0
  397. package/esm/Error.js.map +1 -1
  398. package/esm/RequestSender.d.ts +0 -1
  399. package/esm/RequestSender.js +0 -8
  400. package/esm/RequestSender.js.map +1 -1
  401. package/esm/StripeEventNotificationHandler.d.ts +19 -0
  402. package/esm/StripeEventNotificationHandler.js +144 -0
  403. package/esm/StripeEventNotificationHandler.js.map +1 -0
  404. package/esm/Types.d.ts +4 -2
  405. package/esm/Types.js.map +1 -1
  406. package/esm/apiVersion.d.ts +1 -2
  407. package/esm/apiVersion.js +1 -2
  408. package/esm/apiVersion.js.map +1 -1
  409. package/esm/resources/AccountLinks.d.ts +1 -1
  410. package/esm/resources/AccountNotices.d.ts +140 -0
  411. package/esm/resources/AccountNotices.js +25 -0
  412. package/esm/resources/AccountNotices.js.map +1 -0
  413. package/esm/resources/AccountSessions.d.ts +262 -0
  414. package/esm/resources/AccountSessions.js.map +1 -1
  415. package/esm/resources/Accounts.d.ts +827 -3
  416. package/esm/resources/Accounts.js +14 -0
  417. package/esm/resources/Accounts.js.map +1 -1
  418. package/esm/resources/Balance.d.ts +67 -0
  419. package/esm/resources/BankAccounts.d.ts +2 -2
  420. package/esm/resources/Billing/AlertTriggereds.d.ts +2 -1
  421. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +84 -0
  422. package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
  423. package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
  424. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
  425. package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
  426. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
  427. package/esm/resources/Billing/Analytics/index.d.ts +15 -0
  428. package/esm/resources/Billing/Analytics/index.js +9 -0
  429. package/esm/resources/Billing/Analytics/index.js.map +1 -0
  430. package/esm/resources/Billing/index.d.ts +3 -0
  431. package/esm/resources/Billing/index.js +2 -0
  432. package/esm/resources/Billing/index.js.map +1 -1
  433. package/esm/resources/Capabilities.d.ts +2 -2
  434. package/esm/resources/Capital/FinancingOffers.d.ts +191 -0
  435. package/esm/resources/Capital/FinancingOffers.js +26 -0
  436. package/esm/resources/Capital/FinancingOffers.js.map +1 -0
  437. package/esm/resources/Capital/FinancingSummary.d.ts +98 -0
  438. package/esm/resources/Capital/FinancingSummary.js +11 -0
  439. package/esm/resources/Capital/FinancingSummary.js.map +1 -0
  440. package/esm/resources/Capital/FinancingTransactions.d.ts +143 -0
  441. package/esm/resources/Capital/FinancingTransactions.js +20 -0
  442. package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
  443. package/esm/resources/Capital/index.d.ts +25 -0
  444. package/esm/resources/Capital/index.js +13 -0
  445. package/esm/resources/Capital/index.js.map +1 -0
  446. package/esm/resources/Cards.d.ts +4 -0
  447. package/esm/resources/Charges.d.ts +3064 -70
  448. package/esm/resources/Checkout/Sessions.d.ts +390 -4
  449. package/esm/resources/ConfirmationTokens.d.ts +67 -1
  450. package/esm/resources/Coupons.d.ts +53 -0
  451. package/esm/resources/Coupons.js +13 -0
  452. package/esm/resources/Coupons.js.map +1 -1
  453. package/esm/resources/CreditNoteLineItems.d.ts +15 -1
  454. package/esm/resources/CreditNotes.d.ts +1 -1
  455. package/esm/resources/CustomerSessions.d.ts +68 -0
  456. package/esm/resources/Customers.d.ts +7 -1
  457. package/esm/resources/Customers.js +14 -0
  458. package/esm/resources/Customers.js.map +1 -1
  459. package/esm/resources/Disputes.d.ts +29 -0
  460. package/esm/resources/Events.d.ts +547 -2
  461. package/esm/resources/ExternalAccounts.d.ts +212 -1
  462. package/esm/resources/ExternalAccounts.js +42 -1
  463. package/esm/resources/ExternalAccounts.js.map +1 -1
  464. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
  465. package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
  466. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
  467. package/esm/resources/FinancialConnections/Accounts.d.ts +74 -4
  468. package/esm/resources/FinancialConnections/Accounts.js +8 -0
  469. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  470. package/esm/resources/FinancialConnections/Authorizations.d.ts +87 -0
  471. package/esm/resources/FinancialConnections/Authorizations.js +11 -0
  472. package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
  473. package/esm/resources/FinancialConnections/Institutions.d.ts +101 -0
  474. package/esm/resources/FinancialConnections/Institutions.js +19 -0
  475. package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
  476. package/esm/resources/FinancialConnections/Sessions.d.ts +155 -7
  477. package/esm/resources/FinancialConnections/index.d.ts +21 -6
  478. package/esm/resources/FinancialConnections/index.js +4 -0
  479. package/esm/resources/FinancialConnections/index.js.map +1 -1
  480. package/esm/resources/FxQuotes.d.ts +212 -0
  481. package/esm/resources/FxQuotes.js +25 -0
  482. package/esm/resources/FxQuotes.js.map +1 -0
  483. package/esm/resources/InvoiceItems.d.ts +85 -0
  484. package/esm/resources/InvoiceItems.js.map +1 -1
  485. package/esm/resources/InvoiceLineItems.d.ts +40 -2
  486. package/esm/resources/Invoices.d.ts +1337 -19
  487. package/esm/resources/Invoices.js +41 -0
  488. package/esm/resources/Invoices.js.map +1 -1
  489. package/esm/resources/Issuing/Cardholders.d.ts +2 -1
  490. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -0
  491. package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
  492. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
  493. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +95 -0
  494. package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
  495. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
  496. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
  497. package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
  498. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
  499. package/esm/resources/Issuing/Settlements.d.ts +85 -0
  500. package/esm/resources/Issuing/Settlements.js +3 -0
  501. package/esm/resources/Issuing/Settlements.js.map +1 -0
  502. package/esm/resources/Issuing/Transactions.d.ts +9 -0
  503. package/esm/resources/Issuing/Transactions.js.map +1 -1
  504. package/esm/resources/Issuing/index.d.ts +47 -22
  505. package/esm/resources/Issuing/index.js +6 -0
  506. package/esm/resources/Issuing/index.js.map +1 -1
  507. package/esm/resources/LineItems.d.ts +29 -2
  508. package/esm/resources/Mandates.d.ts +33 -1
  509. package/esm/resources/Mandates.js +8 -0
  510. package/esm/resources/Mandates.js.map +1 -1
  511. package/esm/resources/Margins.d.ts +115 -0
  512. package/esm/resources/Margins.js +31 -0
  513. package/esm/resources/Margins.js.map +1 -0
  514. package/esm/resources/Orders.d.ts +4693 -0
  515. package/esm/resources/Orders.js +453 -0
  516. package/esm/resources/Orders.js.map +1 -0
  517. package/esm/resources/PaymentAttemptRecords.d.ts +82 -0
  518. package/esm/resources/PaymentIntents.d.ts +13239 -2321
  519. package/esm/resources/PaymentIntents.js +27 -0
  520. package/esm/resources/PaymentIntents.js.map +1 -1
  521. package/esm/resources/PaymentLinks.d.ts +19 -3
  522. package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
  523. package/esm/resources/PaymentMethods.d.ts +151 -3
  524. package/esm/resources/PaymentMethods.js.map +1 -1
  525. package/esm/resources/PaymentRecords.d.ts +82 -0
  526. package/esm/resources/Persons.d.ts +2 -2
  527. package/esm/resources/Plans.d.ts +16 -0
  528. package/esm/resources/Prices.d.ts +52 -0
  529. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -0
  530. package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
  531. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
  532. package/esm/resources/Privacy/RedactionJobs.d.ts +229 -0
  533. package/esm/resources/Privacy/RedactionJobs.js +69 -0
  534. package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
  535. package/esm/resources/Privacy/index.d.ts +22 -0
  536. package/esm/resources/Privacy/index.js +9 -0
  537. package/esm/resources/Privacy/index.js.map +1 -0
  538. package/esm/resources/ProductCatalog/TrialOffers.d.ts +127 -0
  539. package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
  540. package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
  541. package/esm/resources/ProductCatalog/index.d.ts +12 -0
  542. package/esm/resources/ProductCatalog/index.js +9 -0
  543. package/esm/resources/ProductCatalog/index.js.map +1 -0
  544. package/esm/resources/Products.d.ts +42 -0
  545. package/esm/resources/PromotionCodes.d.ts +12 -0
  546. package/esm/resources/PromotionCodes.js +27 -0
  547. package/esm/resources/PromotionCodes.js.map +1 -1
  548. package/esm/resources/QuoteLines.d.ts +507 -0
  549. package/esm/resources/QuoteLines.js +3 -0
  550. package/esm/resources/QuoteLines.js.map +1 -0
  551. package/esm/resources/QuotePreviewInvoices.d.ts +1120 -0
  552. package/esm/resources/QuotePreviewInvoices.js +3 -0
  553. package/esm/resources/QuotePreviewInvoices.js.map +1 -0
  554. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +737 -0
  555. package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
  556. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
  557. package/esm/resources/Quotes.d.ts +2266 -57
  558. package/esm/resources/Quotes.js +1184 -16
  559. package/esm/resources/Quotes.js.map +1 -1
  560. package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
  561. package/esm/resources/Refunds.d.ts +11 -0
  562. package/esm/resources/Reserve/Holds.d.ts +53 -1
  563. package/esm/resources/Reserve/Holds.js +17 -1
  564. package/esm/resources/Reserve/Holds.js.map +1 -1
  565. package/esm/resources/Reserve/Plans.d.ts +16 -0
  566. package/esm/resources/Reserve/Plans.js +9 -1
  567. package/esm/resources/Reserve/Plans.js.map +1 -1
  568. package/esm/resources/Reserve/Releases.d.ts +41 -1
  569. package/esm/resources/Reserve/Releases.js +17 -1
  570. package/esm/resources/Reserve/Releases.js.map +1 -1
  571. package/esm/resources/Reserve/index.d.ts +14 -3
  572. package/esm/resources/Reserve/index.js +10 -2
  573. package/esm/resources/Reserve/index.js.map +1 -1
  574. package/esm/resources/SetupAttempts.d.ts +26 -1
  575. package/esm/resources/SetupIntents.d.ts +330 -11
  576. package/esm/resources/SharedPayment/GrantedTokens.d.ts +1095 -0
  577. package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
  578. package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
  579. package/esm/resources/SharedPayment/IssuedTokens.d.ts +308 -0
  580. package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
  581. package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
  582. package/esm/resources/SharedPayment/index.d.ts +19 -0
  583. package/esm/resources/SharedPayment/index.js +11 -0
  584. package/esm/resources/SharedPayment/index.js.map +1 -0
  585. package/esm/resources/Sources.d.ts +16 -1
  586. package/esm/resources/SubscriptionItems.d.ts +143 -0
  587. package/esm/resources/SubscriptionSchedules.d.ts +1152 -0
  588. package/esm/resources/SubscriptionSchedules.js +6 -0
  589. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  590. package/esm/resources/Subscriptions.d.ts +571 -6
  591. package/esm/resources/Subscriptions.js +145 -0
  592. package/esm/resources/Subscriptions.js.map +1 -1
  593. package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
  594. package/esm/resources/Tax/Calculations.d.ts +7 -3
  595. package/esm/resources/Tax/Forms.d.ts +230 -0
  596. package/esm/resources/Tax/Forms.js +28 -0
  597. package/esm/resources/Tax/Forms.js.map +1 -0
  598. package/esm/resources/Tax/Locations.d.ts +108 -0
  599. package/esm/resources/Tax/Locations.js +29 -0
  600. package/esm/resources/Tax/Locations.js.map +1 -0
  601. package/esm/resources/Tax/Registrations.d.ts +138 -2
  602. package/esm/resources/Tax/Transactions.d.ts +2 -2
  603. package/esm/resources/Tax/index.d.ts +27 -13
  604. package/esm/resources/Tax/index.js +4 -0
  605. package/esm/resources/Tax/index.js.map +1 -1
  606. package/esm/resources/TaxCodes.d.ts +15 -0
  607. package/esm/resources/Terminal/Configurations.d.ts +27 -0
  608. package/esm/resources/Terminal/ReaderCollectedData.d.ts +52 -0
  609. package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
  610. package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
  611. package/esm/resources/Terminal/Readers.d.ts +17 -1
  612. package/esm/resources/Terminal/index.d.ts +5 -0
  613. package/esm/resources/Terminal/index.js +2 -0
  614. package/esm/resources/Terminal/index.js.map +1 -1
  615. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +78 -1
  616. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
  617. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
  618. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
  619. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
  620. package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
  621. package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
  622. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
  623. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
  624. package/esm/resources/TestHelpers/index.d.ts +3 -0
  625. package/esm/resources/TestHelpers/index.js +2 -0
  626. package/esm/resources/TestHelpers/index.js.map +1 -1
  627. package/esm/resources/Transfers.d.ts +8 -0
  628. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
  629. package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
  630. package/esm/resources/Treasury/OutboundPayments.d.ts +8 -0
  631. package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
  632. package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
  633. package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
  634. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +75 -0
  635. package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
  636. package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
  637. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
  638. package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
  639. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
  640. package/esm/resources/V2/Billing/BillSettings.d.ts +284 -0
  641. package/esm/resources/V2/Billing/BillSettings.js +37 -0
  642. package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
  643. package/esm/resources/V2/Billing/Cadences.d.ts +951 -0
  644. package/esm/resources/V2/Billing/Cadences.js +194 -0
  645. package/esm/resources/V2/Billing/Cadences.js.map +1 -0
  646. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +240 -0
  647. package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
  648. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
  649. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
  650. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
  651. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
  652. package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
  653. package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
  654. package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
  655. package/esm/resources/V2/Billing/Profiles.d.ts +166 -0
  656. package/esm/resources/V2/Billing/Profiles.js +31 -0
  657. package/esm/resources/V2/Billing/Profiles.js.map +1 -0
  658. package/esm/resources/V2/Billing/index.d.ts +45 -6
  659. package/esm/resources/V2/Billing/index.js +8 -0
  660. package/esm/resources/V2/Billing/index.js.map +1 -1
  661. package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
  662. package/esm/resources/V2/Core/AccountTokens.d.ts +10 -0
  663. package/esm/resources/V2/Core/Accounts.d.ts +1177 -167
  664. package/esm/resources/V2/Core/BatchJobs.d.ts +373 -0
  665. package/esm/resources/V2/Core/BatchJobs.js +221 -0
  666. package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
  667. package/esm/resources/V2/Core/Events.d.ts +1123 -4
  668. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
  669. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
  670. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
  671. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
  672. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +58 -0
  673. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
  674. package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
  675. package/esm/resources/V2/Core/Vault/index.js +11 -0
  676. package/esm/resources/V2/Core/Vault/index.js.map +1 -0
  677. package/esm/resources/V2/Core/index.d.ts +19 -9
  678. package/esm/resources/V2/Core/index.js +4 -0
  679. package/esm/resources/V2/Core/index.js.map +1 -1
  680. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +156 -0
  681. package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
  682. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
  683. package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
  684. package/esm/resources/V2/Data/Reporting/index.js +9 -0
  685. package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
  686. package/esm/resources/V2/Data/index.d.ts +10 -0
  687. package/esm/resources/V2/Data/index.js +9 -0
  688. package/esm/resources/V2/Data/index.js.map +1 -0
  689. package/esm/resources/V2/EventMisc.d.ts +0 -0
  690. package/esm/resources/V2/EventMisc.js +2 -0
  691. package/esm/resources/V2/EventMisc.js.map +1 -0
  692. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +166 -0
  693. package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
  694. package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
  695. package/esm/resources/V2/Extend/Workflows.d.ts +123 -0
  696. package/esm/resources/V2/Extend/Workflows.js +26 -0
  697. package/esm/resources/V2/Extend/Workflows.js.map +1 -0
  698. package/esm/resources/V2/Extend/index.d.ts +20 -0
  699. package/esm/resources/V2/Extend/index.js +11 -0
  700. package/esm/resources/V2/Extend/index.js.map +1 -0
  701. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +14 -0
  702. package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
  703. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
  704. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
  705. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
  706. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
  707. package/esm/resources/V2/Iam/ActivityLogs.d.ts +214 -0
  708. package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
  709. package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
  710. package/esm/resources/V2/Iam/index.d.ts +13 -0
  711. package/esm/resources/V2/Iam/index.js +9 -0
  712. package/esm/resources/V2/Iam/index.js.map +1 -0
  713. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +135 -0
  714. package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
  715. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
  716. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +244 -0
  717. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +40 -0
  718. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
  719. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +215 -0
  720. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
  721. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
  722. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
  723. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
  724. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
  725. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +212 -0
  726. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
  727. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
  728. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +388 -0
  729. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
  730. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
  731. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +300 -0
  732. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
  733. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
  734. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +330 -0
  735. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
  736. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
  737. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +243 -0
  738. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
  739. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
  740. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
  741. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
  742. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
  743. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +295 -0
  744. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
  745. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
  746. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +161 -0
  747. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
  748. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
  749. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +165 -0
  750. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
  751. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
  752. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +196 -0
  753. package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
  754. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
  755. package/esm/resources/V2/MoneyManagement/index.d.ts +104 -0
  756. package/esm/resources/V2/MoneyManagement/index.js +35 -0
  757. package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
  758. package/esm/resources/V2/Network/BusinessProfiles.d.ts +96 -0
  759. package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
  760. package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
  761. package/esm/resources/V2/Network/index.d.ts +13 -0
  762. package/esm/resources/V2/Network/index.js +9 -0
  763. package/esm/resources/V2/Network/index.js.map +1 -0
  764. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +147 -0
  765. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
  766. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
  767. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
  768. package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
  769. package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
  770. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +44 -0
  771. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
  772. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
  773. package/esm/resources/V2/TestHelpers/index.d.ts +8 -0
  774. package/esm/resources/V2/TestHelpers/index.js +9 -0
  775. package/esm/resources/V2/TestHelpers/index.js.map +1 -0
  776. package/esm/resources/V2/index.d.ts +27 -0
  777. package/esm/resources/V2/index.js +14 -0
  778. package/esm/resources/V2/index.js.map +1 -1
  779. package/esm/resources/WebhookEndpoints.d.ts +2 -2
  780. package/esm/resources.d.ts +10 -0
  781. package/esm/resources.js +131 -0
  782. package/esm/resources.js.map +1 -1
  783. package/esm/stripe.core.d.ts +61 -24
  784. package/esm/stripe.core.js +25 -1
  785. package/esm/stripe.core.js.map +1 -1
  786. package/esm/stripe.esm.node.d.ts +62 -24
  787. package/esm/stripe.esm.node.js +25 -1
  788. package/esm/stripe.esm.node.js.map +1 -1
  789. package/package.json +1 -1
@@ -101,6 +101,84 @@ class QuoteResource extends StripeResource_js_1.StripeResource {
101
101
  },
102
102
  },
103
103
  },
104
+ status_details: {
105
+ kind: 'nullable',
106
+ inner: {
107
+ kind: 'object',
108
+ fields: {
109
+ stale: {
110
+ kind: 'object',
111
+ fields: {
112
+ last_reason: {
113
+ kind: 'nullable',
114
+ inner: {
115
+ kind: 'object',
116
+ fields: {
117
+ subscription_changed: {
118
+ kind: 'object',
119
+ fields: {
120
+ previous_subscription: {
121
+ kind: 'nullable',
122
+ inner: {
123
+ kind: 'object',
124
+ fields: {
125
+ items: {
126
+ kind: 'object',
127
+ fields: {
128
+ data: {
129
+ kind: 'array',
130
+ element: {
131
+ kind: 'object',
132
+ fields: {
133
+ plan: {
134
+ kind: 'object',
135
+ fields: {
136
+ amount_decimal: {
137
+ kind: 'nullable',
138
+ inner: {
139
+ kind: 'decimal_string',
140
+ },
141
+ },
142
+ tiers: {
143
+ kind: 'array',
144
+ element: {
145
+ kind: 'object',
146
+ fields: {
147
+ flat_amount_decimal: {
148
+ kind: 'nullable',
149
+ inner: {
150
+ kind: 'decimal_string',
151
+ },
152
+ },
153
+ unit_amount_decimal: {
154
+ kind: 'nullable',
155
+ inner: {
156
+ kind: 'decimal_string',
157
+ },
158
+ },
159
+ },
160
+ },
161
+ },
162
+ },
163
+ },
164
+ },
165
+ },
166
+ },
167
+ },
168
+ },
169
+ },
170
+ },
171
+ },
172
+ },
173
+ },
174
+ },
175
+ },
176
+ },
177
+ },
178
+ },
179
+ },
180
+ },
181
+ },
104
182
  },
105
183
  },
106
184
  },
@@ -212,6 +290,84 @@ class QuoteResource extends StripeResource_js_1.StripeResource {
212
290
  },
213
291
  },
214
292
  },
293
+ status_details: {
294
+ kind: 'nullable',
295
+ inner: {
296
+ kind: 'object',
297
+ fields: {
298
+ stale: {
299
+ kind: 'object',
300
+ fields: {
301
+ last_reason: {
302
+ kind: 'nullable',
303
+ inner: {
304
+ kind: 'object',
305
+ fields: {
306
+ subscription_changed: {
307
+ kind: 'object',
308
+ fields: {
309
+ previous_subscription: {
310
+ kind: 'nullable',
311
+ inner: {
312
+ kind: 'object',
313
+ fields: {
314
+ items: {
315
+ kind: 'object',
316
+ fields: {
317
+ data: {
318
+ kind: 'array',
319
+ element: {
320
+ kind: 'object',
321
+ fields: {
322
+ plan: {
323
+ kind: 'object',
324
+ fields: {
325
+ amount_decimal: {
326
+ kind: 'nullable',
327
+ inner: {
328
+ kind: 'decimal_string',
329
+ },
330
+ },
331
+ tiers: {
332
+ kind: 'array',
333
+ element: {
334
+ kind: 'object',
335
+ fields: {
336
+ flat_amount_decimal: {
337
+ kind: 'nullable',
338
+ inner: {
339
+ kind: 'decimal_string',
340
+ },
341
+ },
342
+ unit_amount_decimal: {
343
+ kind: 'nullable',
344
+ inner: {
345
+ kind: 'decimal_string',
346
+ },
347
+ },
348
+ },
349
+ },
350
+ },
351
+ },
352
+ },
353
+ },
354
+ },
355
+ },
356
+ },
357
+ },
358
+ },
359
+ },
360
+ },
361
+ },
362
+ },
363
+ },
364
+ },
365
+ },
366
+ },
367
+ },
368
+ },
369
+ },
370
+ },
215
371
  },
216
372
  },
217
373
  });
@@ -303,6 +459,84 @@ class QuoteResource extends StripeResource_js_1.StripeResource {
303
459
  },
304
460
  },
305
461
  },
462
+ status_details: {
463
+ kind: 'nullable',
464
+ inner: {
465
+ kind: 'object',
466
+ fields: {
467
+ stale: {
468
+ kind: 'object',
469
+ fields: {
470
+ last_reason: {
471
+ kind: 'nullable',
472
+ inner: {
473
+ kind: 'object',
474
+ fields: {
475
+ subscription_changed: {
476
+ kind: 'object',
477
+ fields: {
478
+ previous_subscription: {
479
+ kind: 'nullable',
480
+ inner: {
481
+ kind: 'object',
482
+ fields: {
483
+ items: {
484
+ kind: 'object',
485
+ fields: {
486
+ data: {
487
+ kind: 'array',
488
+ element: {
489
+ kind: 'object',
490
+ fields: {
491
+ plan: {
492
+ kind: 'object',
493
+ fields: {
494
+ amount_decimal: {
495
+ kind: 'nullable',
496
+ inner: {
497
+ kind: 'decimal_string',
498
+ },
499
+ },
500
+ tiers: {
501
+ kind: 'array',
502
+ element: {
503
+ kind: 'object',
504
+ fields: {
505
+ flat_amount_decimal: {
506
+ kind: 'nullable',
507
+ inner: {
508
+ kind: 'decimal_string',
509
+ },
510
+ },
511
+ unit_amount_decimal: {
512
+ kind: 'nullable',
513
+ inner: {
514
+ kind: 'decimal_string',
515
+ },
516
+ },
517
+ },
518
+ },
519
+ },
520
+ },
521
+ },
522
+ },
523
+ },
524
+ },
525
+ },
526
+ },
527
+ },
528
+ },
529
+ },
530
+ },
531
+ },
532
+ },
533
+ },
534
+ },
535
+ },
536
+ },
537
+ },
538
+ },
539
+ },
306
540
  },
307
541
  },
308
542
  });
@@ -411,6 +645,84 @@ class QuoteResource extends StripeResource_js_1.StripeResource {
411
645
  },
412
646
  },
413
647
  },
648
+ status_details: {
649
+ kind: 'nullable',
650
+ inner: {
651
+ kind: 'object',
652
+ fields: {
653
+ stale: {
654
+ kind: 'object',
655
+ fields: {
656
+ last_reason: {
657
+ kind: 'nullable',
658
+ inner: {
659
+ kind: 'object',
660
+ fields: {
661
+ subscription_changed: {
662
+ kind: 'object',
663
+ fields: {
664
+ previous_subscription: {
665
+ kind: 'nullable',
666
+ inner: {
667
+ kind: 'object',
668
+ fields: {
669
+ items: {
670
+ kind: 'object',
671
+ fields: {
672
+ data: {
673
+ kind: 'array',
674
+ element: {
675
+ kind: 'object',
676
+ fields: {
677
+ plan: {
678
+ kind: 'object',
679
+ fields: {
680
+ amount_decimal: {
681
+ kind: 'nullable',
682
+ inner: {
683
+ kind: 'decimal_string',
684
+ },
685
+ },
686
+ tiers: {
687
+ kind: 'array',
688
+ element: {
689
+ kind: 'object',
690
+ fields: {
691
+ flat_amount_decimal: {
692
+ kind: 'nullable',
693
+ inner: {
694
+ kind: 'decimal_string',
695
+ },
696
+ },
697
+ unit_amount_decimal: {
698
+ kind: 'nullable',
699
+ inner: {
700
+ kind: 'decimal_string',
701
+ },
702
+ },
703
+ },
704
+ },
705
+ },
706
+ },
707
+ },
708
+ },
709
+ },
710
+ },
711
+ },
712
+ },
713
+ },
714
+ },
715
+ },
716
+ },
717
+ },
718
+ },
719
+ },
720
+ },
721
+ },
722
+ },
723
+ },
724
+ },
725
+ },
414
726
  },
415
727
  },
416
728
  });
@@ -506,6 +818,84 @@ class QuoteResource extends StripeResource_js_1.StripeResource {
506
818
  },
507
819
  },
508
820
  },
821
+ status_details: {
822
+ kind: 'nullable',
823
+ inner: {
824
+ kind: 'object',
825
+ fields: {
826
+ stale: {
827
+ kind: 'object',
828
+ fields: {
829
+ last_reason: {
830
+ kind: 'nullable',
831
+ inner: {
832
+ kind: 'object',
833
+ fields: {
834
+ subscription_changed: {
835
+ kind: 'object',
836
+ fields: {
837
+ previous_subscription: {
838
+ kind: 'nullable',
839
+ inner: {
840
+ kind: 'object',
841
+ fields: {
842
+ items: {
843
+ kind: 'object',
844
+ fields: {
845
+ data: {
846
+ kind: 'array',
847
+ element: {
848
+ kind: 'object',
849
+ fields: {
850
+ plan: {
851
+ kind: 'object',
852
+ fields: {
853
+ amount_decimal: {
854
+ kind: 'nullable',
855
+ inner: {
856
+ kind: 'decimal_string',
857
+ },
858
+ },
859
+ tiers: {
860
+ kind: 'array',
861
+ element: {
862
+ kind: 'object',
863
+ fields: {
864
+ flat_amount_decimal: {
865
+ kind: 'nullable',
866
+ inner: {
867
+ kind: 'decimal_string',
868
+ },
869
+ },
870
+ unit_amount_decimal: {
871
+ kind: 'nullable',
872
+ inner: {
873
+ kind: 'decimal_string',
874
+ },
875
+ },
876
+ },
877
+ },
878
+ },
879
+ },
880
+ },
881
+ },
882
+ },
883
+ },
884
+ },
885
+ },
886
+ },
887
+ },
888
+ },
889
+ },
890
+ },
891
+ },
892
+ },
893
+ },
894
+ },
895
+ },
896
+ },
897
+ },
898
+ },
509
899
  },
510
900
  },
511
901
  });
@@ -601,6 +991,84 @@ class QuoteResource extends StripeResource_js_1.StripeResource {
601
991
  },
602
992
  },
603
993
  },
994
+ status_details: {
995
+ kind: 'nullable',
996
+ inner: {
997
+ kind: 'object',
998
+ fields: {
999
+ stale: {
1000
+ kind: 'object',
1001
+ fields: {
1002
+ last_reason: {
1003
+ kind: 'nullable',
1004
+ inner: {
1005
+ kind: 'object',
1006
+ fields: {
1007
+ subscription_changed: {
1008
+ kind: 'object',
1009
+ fields: {
1010
+ previous_subscription: {
1011
+ kind: 'nullable',
1012
+ inner: {
1013
+ kind: 'object',
1014
+ fields: {
1015
+ items: {
1016
+ kind: 'object',
1017
+ fields: {
1018
+ data: {
1019
+ kind: 'array',
1020
+ element: {
1021
+ kind: 'object',
1022
+ fields: {
1023
+ plan: {
1024
+ kind: 'object',
1025
+ fields: {
1026
+ amount_decimal: {
1027
+ kind: 'nullable',
1028
+ inner: {
1029
+ kind: 'decimal_string',
1030
+ },
1031
+ },
1032
+ tiers: {
1033
+ kind: 'array',
1034
+ element: {
1035
+ kind: 'object',
1036
+ fields: {
1037
+ flat_amount_decimal: {
1038
+ kind: 'nullable',
1039
+ inner: {
1040
+ kind: 'decimal_string',
1041
+ },
1042
+ },
1043
+ unit_amount_decimal: {
1044
+ kind: 'nullable',
1045
+ inner: {
1046
+ kind: 'decimal_string',
1047
+ },
1048
+ },
1049
+ },
1050
+ },
1051
+ },
1052
+ },
1053
+ },
1054
+ },
1055
+ },
1056
+ },
1057
+ },
1058
+ },
1059
+ },
1060
+ },
1061
+ },
1062
+ },
1063
+ },
1064
+ },
1065
+ },
1066
+ },
1067
+ },
1068
+ },
1069
+ },
1070
+ },
1071
+ },
604
1072
  },
605
1073
  },
606
1074
  });
@@ -696,31 +1164,665 @@ class QuoteResource extends StripeResource_js_1.StripeResource {
696
1164
  },
697
1165
  },
698
1166
  },
1167
+ status_details: {
1168
+ kind: 'nullable',
1169
+ inner: {
1170
+ kind: 'object',
1171
+ fields: {
1172
+ stale: {
1173
+ kind: 'object',
1174
+ fields: {
1175
+ last_reason: {
1176
+ kind: 'nullable',
1177
+ inner: {
1178
+ kind: 'object',
1179
+ fields: {
1180
+ subscription_changed: {
1181
+ kind: 'object',
1182
+ fields: {
1183
+ previous_subscription: {
1184
+ kind: 'nullable',
1185
+ inner: {
1186
+ kind: 'object',
1187
+ fields: {
1188
+ items: {
1189
+ kind: 'object',
1190
+ fields: {
1191
+ data: {
1192
+ kind: 'array',
1193
+ element: {
1194
+ kind: 'object',
1195
+ fields: {
1196
+ plan: {
1197
+ kind: 'object',
1198
+ fields: {
1199
+ amount_decimal: {
1200
+ kind: 'nullable',
1201
+ inner: {
1202
+ kind: 'decimal_string',
1203
+ },
1204
+ },
1205
+ tiers: {
1206
+ kind: 'array',
1207
+ element: {
1208
+ kind: 'object',
1209
+ fields: {
1210
+ flat_amount_decimal: {
1211
+ kind: 'nullable',
1212
+ inner: {
1213
+ kind: 'decimal_string',
1214
+ },
1215
+ },
1216
+ unit_amount_decimal: {
1217
+ kind: 'nullable',
1218
+ inner: {
1219
+ kind: 'decimal_string',
1220
+ },
1221
+ },
1222
+ },
1223
+ },
1224
+ },
1225
+ },
1226
+ },
1227
+ },
1228
+ },
1229
+ },
1230
+ },
1231
+ },
1232
+ },
1233
+ },
1234
+ },
1235
+ },
1236
+ },
1237
+ },
1238
+ },
1239
+ },
1240
+ },
1241
+ },
1242
+ },
1243
+ },
1244
+ },
699
1245
  },
700
1246
  },
701
1247
  });
702
1248
  }
703
1249
  /**
704
- * Download the PDF for a finalized quote. Explanation for special handling can be found [here](https://docs.stripe.com/quotes/overview#quote_pdf)
705
- */
706
- pdf(id, params, options) {
707
- return this._makeRequest('GET', `/v1/quotes/${id}/pdf`, params, options, {
708
- apiBase: 'files',
709
- streaming: true,
710
- });
711
- }
712
- /**
713
- * When retrieving a quote, there is an includable [computed.upfront.line_items](https://stripe.com/docs/api/quotes/object#quote_object-computed-upfront-line_items) property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items.
1250
+ * Converts a stale quote to draft.
714
1251
  */
715
- listComputedUpfrontLineItems(id, params, options) {
716
- return this._makeRequest('GET', `/v1/quotes/${id}/computed_upfront_line_items`, params, options, {
717
- methodType: 'list',
1252
+ markDraft(id, params, options) {
1253
+ return this._makeRequest('POST', `/v1/quotes/${id}/mark_draft`, params, options, {
718
1254
  responseSchema: {
719
1255
  kind: 'object',
720
1256
  fields: {
721
- data: {
722
- kind: 'array',
723
- element: {
1257
+ computed: {
1258
+ kind: 'object',
1259
+ fields: {
1260
+ upfront: {
1261
+ kind: 'object',
1262
+ fields: {
1263
+ line_items: {
1264
+ kind: 'object',
1265
+ fields: {
1266
+ data: {
1267
+ kind: 'array',
1268
+ element: {
1269
+ kind: 'object',
1270
+ fields: {
1271
+ price: {
1272
+ kind: 'nullable',
1273
+ inner: {
1274
+ kind: 'object',
1275
+ fields: {
1276
+ currency_options: {
1277
+ kind: 'array',
1278
+ element: {
1279
+ kind: 'object',
1280
+ fields: {
1281
+ tiers: {
1282
+ kind: 'array',
1283
+ element: {
1284
+ kind: 'object',
1285
+ fields: {
1286
+ flat_amount_decimal: {
1287
+ kind: 'nullable',
1288
+ inner: {
1289
+ kind: 'decimal_string',
1290
+ },
1291
+ },
1292
+ unit_amount_decimal: {
1293
+ kind: 'nullable',
1294
+ inner: {
1295
+ kind: 'decimal_string',
1296
+ },
1297
+ },
1298
+ },
1299
+ },
1300
+ },
1301
+ unit_amount_decimal: {
1302
+ kind: 'nullable',
1303
+ inner: { kind: 'decimal_string' },
1304
+ },
1305
+ },
1306
+ },
1307
+ },
1308
+ tiers: {
1309
+ kind: 'array',
1310
+ element: {
1311
+ kind: 'object',
1312
+ fields: {
1313
+ flat_amount_decimal: {
1314
+ kind: 'nullable',
1315
+ inner: { kind: 'decimal_string' },
1316
+ },
1317
+ unit_amount_decimal: {
1318
+ kind: 'nullable',
1319
+ inner: { kind: 'decimal_string' },
1320
+ },
1321
+ },
1322
+ },
1323
+ },
1324
+ unit_amount_decimal: {
1325
+ kind: 'nullable',
1326
+ inner: { kind: 'decimal_string' },
1327
+ },
1328
+ },
1329
+ },
1330
+ },
1331
+ },
1332
+ },
1333
+ },
1334
+ },
1335
+ },
1336
+ },
1337
+ },
1338
+ },
1339
+ },
1340
+ status_details: {
1341
+ kind: 'nullable',
1342
+ inner: {
1343
+ kind: 'object',
1344
+ fields: {
1345
+ stale: {
1346
+ kind: 'object',
1347
+ fields: {
1348
+ last_reason: {
1349
+ kind: 'nullable',
1350
+ inner: {
1351
+ kind: 'object',
1352
+ fields: {
1353
+ subscription_changed: {
1354
+ kind: 'object',
1355
+ fields: {
1356
+ previous_subscription: {
1357
+ kind: 'nullable',
1358
+ inner: {
1359
+ kind: 'object',
1360
+ fields: {
1361
+ items: {
1362
+ kind: 'object',
1363
+ fields: {
1364
+ data: {
1365
+ kind: 'array',
1366
+ element: {
1367
+ kind: 'object',
1368
+ fields: {
1369
+ plan: {
1370
+ kind: 'object',
1371
+ fields: {
1372
+ amount_decimal: {
1373
+ kind: 'nullable',
1374
+ inner: {
1375
+ kind: 'decimal_string',
1376
+ },
1377
+ },
1378
+ tiers: {
1379
+ kind: 'array',
1380
+ element: {
1381
+ kind: 'object',
1382
+ fields: {
1383
+ flat_amount_decimal: {
1384
+ kind: 'nullable',
1385
+ inner: {
1386
+ kind: 'decimal_string',
1387
+ },
1388
+ },
1389
+ unit_amount_decimal: {
1390
+ kind: 'nullable',
1391
+ inner: {
1392
+ kind: 'decimal_string',
1393
+ },
1394
+ },
1395
+ },
1396
+ },
1397
+ },
1398
+ },
1399
+ },
1400
+ },
1401
+ },
1402
+ },
1403
+ },
1404
+ },
1405
+ },
1406
+ },
1407
+ },
1408
+ },
1409
+ },
1410
+ },
1411
+ },
1412
+ },
1413
+ },
1414
+ },
1415
+ },
1416
+ },
1417
+ },
1418
+ },
1419
+ },
1420
+ });
1421
+ }
1422
+ /**
1423
+ * Converts a draft or open quote to stale.
1424
+ */
1425
+ markStale(id, params, options) {
1426
+ return this._makeRequest('POST', `/v1/quotes/${id}/mark_stale`, params, options, {
1427
+ responseSchema: {
1428
+ kind: 'object',
1429
+ fields: {
1430
+ computed: {
1431
+ kind: 'object',
1432
+ fields: {
1433
+ upfront: {
1434
+ kind: 'object',
1435
+ fields: {
1436
+ line_items: {
1437
+ kind: 'object',
1438
+ fields: {
1439
+ data: {
1440
+ kind: 'array',
1441
+ element: {
1442
+ kind: 'object',
1443
+ fields: {
1444
+ price: {
1445
+ kind: 'nullable',
1446
+ inner: {
1447
+ kind: 'object',
1448
+ fields: {
1449
+ currency_options: {
1450
+ kind: 'array',
1451
+ element: {
1452
+ kind: 'object',
1453
+ fields: {
1454
+ tiers: {
1455
+ kind: 'array',
1456
+ element: {
1457
+ kind: 'object',
1458
+ fields: {
1459
+ flat_amount_decimal: {
1460
+ kind: 'nullable',
1461
+ inner: {
1462
+ kind: 'decimal_string',
1463
+ },
1464
+ },
1465
+ unit_amount_decimal: {
1466
+ kind: 'nullable',
1467
+ inner: {
1468
+ kind: 'decimal_string',
1469
+ },
1470
+ },
1471
+ },
1472
+ },
1473
+ },
1474
+ unit_amount_decimal: {
1475
+ kind: 'nullable',
1476
+ inner: { kind: 'decimal_string' },
1477
+ },
1478
+ },
1479
+ },
1480
+ },
1481
+ tiers: {
1482
+ kind: 'array',
1483
+ element: {
1484
+ kind: 'object',
1485
+ fields: {
1486
+ flat_amount_decimal: {
1487
+ kind: 'nullable',
1488
+ inner: { kind: 'decimal_string' },
1489
+ },
1490
+ unit_amount_decimal: {
1491
+ kind: 'nullable',
1492
+ inner: { kind: 'decimal_string' },
1493
+ },
1494
+ },
1495
+ },
1496
+ },
1497
+ unit_amount_decimal: {
1498
+ kind: 'nullable',
1499
+ inner: { kind: 'decimal_string' },
1500
+ },
1501
+ },
1502
+ },
1503
+ },
1504
+ },
1505
+ },
1506
+ },
1507
+ },
1508
+ },
1509
+ },
1510
+ },
1511
+ },
1512
+ },
1513
+ status_details: {
1514
+ kind: 'nullable',
1515
+ inner: {
1516
+ kind: 'object',
1517
+ fields: {
1518
+ stale: {
1519
+ kind: 'object',
1520
+ fields: {
1521
+ last_reason: {
1522
+ kind: 'nullable',
1523
+ inner: {
1524
+ kind: 'object',
1525
+ fields: {
1526
+ subscription_changed: {
1527
+ kind: 'object',
1528
+ fields: {
1529
+ previous_subscription: {
1530
+ kind: 'nullable',
1531
+ inner: {
1532
+ kind: 'object',
1533
+ fields: {
1534
+ items: {
1535
+ kind: 'object',
1536
+ fields: {
1537
+ data: {
1538
+ kind: 'array',
1539
+ element: {
1540
+ kind: 'object',
1541
+ fields: {
1542
+ plan: {
1543
+ kind: 'object',
1544
+ fields: {
1545
+ amount_decimal: {
1546
+ kind: 'nullable',
1547
+ inner: {
1548
+ kind: 'decimal_string',
1549
+ },
1550
+ },
1551
+ tiers: {
1552
+ kind: 'array',
1553
+ element: {
1554
+ kind: 'object',
1555
+ fields: {
1556
+ flat_amount_decimal: {
1557
+ kind: 'nullable',
1558
+ inner: {
1559
+ kind: 'decimal_string',
1560
+ },
1561
+ },
1562
+ unit_amount_decimal: {
1563
+ kind: 'nullable',
1564
+ inner: {
1565
+ kind: 'decimal_string',
1566
+ },
1567
+ },
1568
+ },
1569
+ },
1570
+ },
1571
+ },
1572
+ },
1573
+ },
1574
+ },
1575
+ },
1576
+ },
1577
+ },
1578
+ },
1579
+ },
1580
+ },
1581
+ },
1582
+ },
1583
+ },
1584
+ },
1585
+ },
1586
+ },
1587
+ },
1588
+ },
1589
+ },
1590
+ },
1591
+ },
1592
+ },
1593
+ });
1594
+ }
1595
+ /**
1596
+ * Recompute the upcoming invoice estimate for the quote.
1597
+ */
1598
+ reestimate(id, params, options) {
1599
+ return this._makeRequest('POST', `/v1/quotes/${id}/reestimate`, params, options, {
1600
+ responseSchema: {
1601
+ kind: 'object',
1602
+ fields: {
1603
+ computed: {
1604
+ kind: 'object',
1605
+ fields: {
1606
+ upfront: {
1607
+ kind: 'object',
1608
+ fields: {
1609
+ line_items: {
1610
+ kind: 'object',
1611
+ fields: {
1612
+ data: {
1613
+ kind: 'array',
1614
+ element: {
1615
+ kind: 'object',
1616
+ fields: {
1617
+ price: {
1618
+ kind: 'nullable',
1619
+ inner: {
1620
+ kind: 'object',
1621
+ fields: {
1622
+ currency_options: {
1623
+ kind: 'array',
1624
+ element: {
1625
+ kind: 'object',
1626
+ fields: {
1627
+ tiers: {
1628
+ kind: 'array',
1629
+ element: {
1630
+ kind: 'object',
1631
+ fields: {
1632
+ flat_amount_decimal: {
1633
+ kind: 'nullable',
1634
+ inner: {
1635
+ kind: 'decimal_string',
1636
+ },
1637
+ },
1638
+ unit_amount_decimal: {
1639
+ kind: 'nullable',
1640
+ inner: {
1641
+ kind: 'decimal_string',
1642
+ },
1643
+ },
1644
+ },
1645
+ },
1646
+ },
1647
+ unit_amount_decimal: {
1648
+ kind: 'nullable',
1649
+ inner: { kind: 'decimal_string' },
1650
+ },
1651
+ },
1652
+ },
1653
+ },
1654
+ tiers: {
1655
+ kind: 'array',
1656
+ element: {
1657
+ kind: 'object',
1658
+ fields: {
1659
+ flat_amount_decimal: {
1660
+ kind: 'nullable',
1661
+ inner: { kind: 'decimal_string' },
1662
+ },
1663
+ unit_amount_decimal: {
1664
+ kind: 'nullable',
1665
+ inner: { kind: 'decimal_string' },
1666
+ },
1667
+ },
1668
+ },
1669
+ },
1670
+ unit_amount_decimal: {
1671
+ kind: 'nullable',
1672
+ inner: { kind: 'decimal_string' },
1673
+ },
1674
+ },
1675
+ },
1676
+ },
1677
+ },
1678
+ },
1679
+ },
1680
+ },
1681
+ },
1682
+ },
1683
+ },
1684
+ },
1685
+ },
1686
+ status_details: {
1687
+ kind: 'nullable',
1688
+ inner: {
1689
+ kind: 'object',
1690
+ fields: {
1691
+ stale: {
1692
+ kind: 'object',
1693
+ fields: {
1694
+ last_reason: {
1695
+ kind: 'nullable',
1696
+ inner: {
1697
+ kind: 'object',
1698
+ fields: {
1699
+ subscription_changed: {
1700
+ kind: 'object',
1701
+ fields: {
1702
+ previous_subscription: {
1703
+ kind: 'nullable',
1704
+ inner: {
1705
+ kind: 'object',
1706
+ fields: {
1707
+ items: {
1708
+ kind: 'object',
1709
+ fields: {
1710
+ data: {
1711
+ kind: 'array',
1712
+ element: {
1713
+ kind: 'object',
1714
+ fields: {
1715
+ plan: {
1716
+ kind: 'object',
1717
+ fields: {
1718
+ amount_decimal: {
1719
+ kind: 'nullable',
1720
+ inner: {
1721
+ kind: 'decimal_string',
1722
+ },
1723
+ },
1724
+ tiers: {
1725
+ kind: 'array',
1726
+ element: {
1727
+ kind: 'object',
1728
+ fields: {
1729
+ flat_amount_decimal: {
1730
+ kind: 'nullable',
1731
+ inner: {
1732
+ kind: 'decimal_string',
1733
+ },
1734
+ },
1735
+ unit_amount_decimal: {
1736
+ kind: 'nullable',
1737
+ inner: {
1738
+ kind: 'decimal_string',
1739
+ },
1740
+ },
1741
+ },
1742
+ },
1743
+ },
1744
+ },
1745
+ },
1746
+ },
1747
+ },
1748
+ },
1749
+ },
1750
+ },
1751
+ },
1752
+ },
1753
+ },
1754
+ },
1755
+ },
1756
+ },
1757
+ },
1758
+ },
1759
+ },
1760
+ },
1761
+ },
1762
+ },
1763
+ },
1764
+ },
1765
+ },
1766
+ });
1767
+ }
1768
+ /**
1769
+ * Download the PDF for a finalized quote. Explanation for special handling can be found [here](https://docs.stripe.com/quotes/overview#quote_pdf)
1770
+ */
1771
+ pdf(id, params, options) {
1772
+ return this._makeRequest('GET', `/v1/quotes/${id}/pdf`, params, options, {
1773
+ apiBase: 'files',
1774
+ streaming: true,
1775
+ });
1776
+ }
1777
+ /**
1778
+ * Preview the invoice line items that would be generated by accepting the quote.
1779
+ */
1780
+ listPreviewInvoiceLines(quoteId, id, params, options) {
1781
+ return this._makeRequest('GET', `/v1/quotes/${quoteId}/preview_invoices/${id}/lines`, params, options, {
1782
+ methodType: 'list',
1783
+ responseSchema: {
1784
+ kind: 'object',
1785
+ fields: {
1786
+ data: {
1787
+ kind: 'array',
1788
+ element: {
1789
+ kind: 'object',
1790
+ fields: {
1791
+ pricing: {
1792
+ kind: 'nullable',
1793
+ inner: {
1794
+ kind: 'object',
1795
+ fields: {
1796
+ unit_amount_decimal: {
1797
+ kind: 'nullable',
1798
+ inner: { kind: 'decimal_string' },
1799
+ },
1800
+ },
1801
+ },
1802
+ },
1803
+ quantity_decimal: {
1804
+ kind: 'nullable',
1805
+ inner: { kind: 'decimal_string' },
1806
+ },
1807
+ },
1808
+ },
1809
+ },
1810
+ },
1811
+ },
1812
+ });
1813
+ }
1814
+ /**
1815
+ * When retrieving a quote, there is an includable [computed.upfront.line_items](https://stripe.com/docs/api/quotes/object#quote_object-computed-upfront-line_items) property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items.
1816
+ */
1817
+ listComputedUpfrontLineItems(id, params, options) {
1818
+ return this._makeRequest('GET', `/v1/quotes/${id}/computed_upfront_line_items`, params, options, {
1819
+ methodType: 'list',
1820
+ responseSchema: {
1821
+ kind: 'object',
1822
+ fields: {
1823
+ data: {
1824
+ kind: 'array',
1825
+ element: {
724
1826
  kind: 'object',
725
1827
  fields: {
726
1828
  price: {
@@ -786,6 +1888,14 @@ class QuoteResource extends StripeResource_js_1.StripeResource {
786
1888
  },
787
1889
  });
788
1890
  }
1891
+ /**
1892
+ * Retrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.
1893
+ */
1894
+ listLines(id, params, options) {
1895
+ return this._makeRequest('GET', `/v1/quotes/${id}/lines`, params, options, {
1896
+ methodType: 'list',
1897
+ });
1898
+ }
789
1899
  /**
790
1900
  * When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
791
1901
  */
@@ -863,6 +1973,64 @@ class QuoteResource extends StripeResource_js_1.StripeResource {
863
1973
  },
864
1974
  });
865
1975
  }
1976
+ /**
1977
+ * Preview the invoices that would be generated by accepting the quote.
1978
+ */
1979
+ listPreviewInvoices(id, params, options) {
1980
+ return this._makeRequest('GET', `/v1/quotes/${id}/preview_invoices`, params, options, {
1981
+ methodType: 'list',
1982
+ responseSchema: {
1983
+ kind: 'object',
1984
+ fields: {
1985
+ data: {
1986
+ kind: 'array',
1987
+ element: {
1988
+ kind: 'object',
1989
+ fields: {
1990
+ lines: {
1991
+ kind: 'object',
1992
+ fields: {
1993
+ data: {
1994
+ kind: 'array',
1995
+ element: {
1996
+ kind: 'object',
1997
+ fields: {
1998
+ pricing: {
1999
+ kind: 'nullable',
2000
+ inner: {
2001
+ kind: 'object',
2002
+ fields: {
2003
+ unit_amount_decimal: {
2004
+ kind: 'nullable',
2005
+ inner: { kind: 'decimal_string' },
2006
+ },
2007
+ },
2008
+ },
2009
+ },
2010
+ quantity_decimal: {
2011
+ kind: 'nullable',
2012
+ inner: { kind: 'decimal_string' },
2013
+ },
2014
+ },
2015
+ },
2016
+ },
2017
+ },
2018
+ },
2019
+ },
2020
+ },
2021
+ },
2022
+ },
2023
+ },
2024
+ });
2025
+ }
2026
+ /**
2027
+ * Preview the schedules that would be generated by accepting the quote
2028
+ */
2029
+ listPreviewSubscriptionSchedules(id, params, options) {
2030
+ return this._makeRequest('GET', `/v1/quotes/${id}/preview_subscription_schedules`, params, options, {
2031
+ methodType: 'list',
2032
+ });
2033
+ }
866
2034
  }
867
2035
  exports.QuoteResource = QuoteResource;
868
2036
  //# sourceMappingURL=Quotes.js.map