stripe 22.3.0-beta.1 → 22.3.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 (1337) hide show
  1. package/CHANGELOG.md +151 -1770
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +73 -58
  4. package/VERSION +1 -1
  5. package/cjs/Error.d.ts +0 -50
  6. package/cjs/Error.js +1 -125
  7. package/cjs/Error.js.map +1 -1
  8. package/cjs/RequestSender.d.ts +2 -1
  9. package/cjs/RequestSender.js +10 -2
  10. package/cjs/RequestSender.js.map +1 -1
  11. package/cjs/Types.d.ts +2 -4
  12. package/cjs/Types.js.map +1 -1
  13. package/cjs/apiVersion.d.ts +2 -1
  14. package/cjs/apiVersion.js +3 -2
  15. package/cjs/apiVersion.js.map +1 -1
  16. package/cjs/autoPagination.js +27 -2
  17. package/cjs/autoPagination.js.map +1 -1
  18. package/cjs/platform/NodePlatformFunctions.d.ts +3 -0
  19. package/cjs/platform/NodePlatformFunctions.js +36 -2
  20. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  21. package/cjs/platform/PlatformFunctions.d.ts +1 -0
  22. package/cjs/platform/PlatformFunctions.js +3 -0
  23. package/cjs/platform/PlatformFunctions.js.map +1 -1
  24. package/cjs/resources/AccountLinks.d.ts +1 -1
  25. package/cjs/resources/AccountSessions.d.ts +0 -262
  26. package/cjs/resources/AccountSessions.js.map +1 -1
  27. package/cjs/resources/Accounts.d.ts +5 -829
  28. package/cjs/resources/Accounts.js +18 -32
  29. package/cjs/resources/Accounts.js.map +1 -1
  30. package/cjs/resources/ApplePayDomains.js +2 -2
  31. package/cjs/resources/ApplePayDomains.js.map +1 -1
  32. package/cjs/resources/ApplicationFees.js +5 -5
  33. package/cjs/resources/ApplicationFees.js.map +1 -1
  34. package/cjs/resources/Apps/Secrets.d.ts +14 -16
  35. package/cjs/resources/Apps/index.d.ts +1 -1
  36. package/cjs/resources/Balance.d.ts +0 -67
  37. package/cjs/resources/BalanceTransactions.d.ts +5 -5
  38. package/cjs/resources/BalanceTransactions.js +3 -3
  39. package/cjs/resources/BalanceTransactions.js.map +1 -1
  40. package/cjs/resources/BankAccounts.d.ts +2 -2
  41. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
  42. package/cjs/resources/Billing/Alerts.d.ts +27 -29
  43. package/cjs/resources/Billing/Alerts.js +4 -4
  44. package/cjs/resources/Billing/Alerts.js.map +1 -1
  45. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +40 -42
  46. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +74 -76
  47. package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -1
  48. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  49. package/cjs/resources/Billing/CreditGrants.d.ts +41 -43
  50. package/cjs/resources/Billing/CreditGrants.js +4 -4
  51. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  52. package/cjs/resources/Billing/MeterEventAdjustments.d.ts +9 -11
  53. package/cjs/resources/Billing/Meters.d.ts +39 -41
  54. package/cjs/resources/Billing/Meters.js +5 -5
  55. package/cjs/resources/Billing/Meters.js.map +1 -1
  56. package/cjs/resources/Billing/index.d.ts +7 -10
  57. package/cjs/resources/Billing/index.js +0 -2
  58. package/cjs/resources/Billing/index.js.map +1 -1
  59. package/cjs/resources/BillingPortal/Configurations.d.ts +132 -134
  60. package/cjs/resources/BillingPortal/Configurations.js +2 -2
  61. package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
  62. package/cjs/resources/BillingPortal/Sessions.d.ts +100 -102
  63. package/cjs/resources/BillingPortal/index.d.ts +2 -2
  64. package/cjs/resources/Capabilities.d.ts +2 -2
  65. package/cjs/resources/Cards.d.ts +0 -4
  66. package/cjs/resources/Charges.d.ts +84 -3066
  67. package/cjs/resources/Charges.js +3 -3
  68. package/cjs/resources/Charges.js.map +1 -1
  69. package/cjs/resources/Checkout/Sessions.d.ts +1598 -1900
  70. package/cjs/resources/Checkout/Sessions.js +4 -4
  71. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  72. package/cjs/resources/Checkout/index.d.ts +1 -1
  73. package/cjs/resources/Climate/Orders.d.ts +47 -49
  74. package/cjs/resources/Climate/Orders.js +3 -3
  75. package/cjs/resources/Climate/Orders.js.map +1 -1
  76. package/cjs/resources/Climate/Products.d.ts +15 -17
  77. package/cjs/resources/Climate/Products.js +1 -1
  78. package/cjs/resources/Climate/Products.js.map +1 -1
  79. package/cjs/resources/Climate/Suppliers.d.ts +25 -27
  80. package/cjs/resources/Climate/Suppliers.js +1 -1
  81. package/cjs/resources/Climate/Suppliers.js.map +1 -1
  82. package/cjs/resources/Climate/index.d.ts +3 -3
  83. package/cjs/resources/ConfirmationTokens.d.ts +13 -67
  84. package/cjs/resources/ConfirmationTokens.js +1 -1
  85. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  86. package/cjs/resources/CountrySpecs.js +1 -1
  87. package/cjs/resources/CountrySpecs.js.map +1 -1
  88. package/cjs/resources/Coupons.d.ts +0 -53
  89. package/cjs/resources/Coupons.js +3 -16
  90. package/cjs/resources/Coupons.js.map +1 -1
  91. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  92. package/cjs/resources/CreditNotes.d.ts +8 -5
  93. package/cjs/resources/CreditNotes.js +6 -4
  94. package/cjs/resources/CreditNotes.js.map +1 -1
  95. package/cjs/resources/CustomerSessions.d.ts +0 -68
  96. package/cjs/resources/Customers.d.ts +1 -7
  97. package/cjs/resources/Customers.js +31 -41
  98. package/cjs/resources/Customers.js.map +1 -1
  99. package/cjs/resources/Disputes.d.ts +28 -30
  100. package/cjs/resources/Disputes.js +3 -3
  101. package/cjs/resources/Disputes.js.map +1 -1
  102. package/cjs/resources/Entitlements/ActiveEntitlements.js +1 -1
  103. package/cjs/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  104. package/cjs/resources/Entitlements/Features.js +2 -2
  105. package/cjs/resources/Entitlements/Features.js.map +1 -1
  106. package/cjs/resources/Entitlements/index.d.ts +2 -2
  107. package/cjs/resources/EphemeralKeys.js +1 -1
  108. package/cjs/resources/EphemeralKeys.js.map +1 -1
  109. package/cjs/resources/Events.d.ts +3 -548
  110. package/cjs/resources/Events.js +1 -1
  111. package/cjs/resources/Events.js.map +1 -1
  112. package/cjs/resources/ExchangeRates.js +1 -1
  113. package/cjs/resources/ExchangeRates.js.map +1 -1
  114. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  115. package/cjs/resources/ExternalAccounts.js +0 -44
  116. package/cjs/resources/ExternalAccounts.js.map +1 -1
  117. package/cjs/resources/FileLinks.js +2 -2
  118. package/cjs/resources/FileLinks.js.map +1 -1
  119. package/cjs/resources/Files.js +1 -1
  120. package/cjs/resources/Files.js.map +1 -1
  121. package/cjs/resources/FinancialConnections/Accounts.d.ts +169 -217
  122. package/cjs/resources/FinancialConnections/Accounts.js +6 -14
  123. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  124. package/cjs/resources/FinancialConnections/Sessions.d.ts +43 -193
  125. package/cjs/resources/FinancialConnections/Sessions.js +1 -1
  126. package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
  127. package/cjs/resources/FinancialConnections/Transactions.d.ts +13 -15
  128. package/cjs/resources/FinancialConnections/Transactions.js +1 -1
  129. package/cjs/resources/FinancialConnections/Transactions.js.map +1 -1
  130. package/cjs/resources/FinancialConnections/index.d.ts +9 -24
  131. package/cjs/resources/FinancialConnections/index.js +0 -4
  132. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  133. package/cjs/resources/Forwarding/Requests.d.ts +57 -59
  134. package/cjs/resources/Forwarding/Requests.js +1 -1
  135. package/cjs/resources/Forwarding/Requests.js.map +1 -1
  136. package/cjs/resources/Forwarding/index.d.ts +1 -1
  137. package/cjs/resources/Identity/VerificationReports.d.ts +255 -257
  138. package/cjs/resources/Identity/VerificationReports.js +1 -1
  139. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  140. package/cjs/resources/Identity/VerificationSessions.d.ts +148 -150
  141. package/cjs/resources/Identity/VerificationSessions.js +4 -4
  142. package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
  143. package/cjs/resources/Identity/index.d.ts +2 -2
  144. package/cjs/resources/InvoiceItems.d.ts +0 -85
  145. package/cjs/resources/InvoiceItems.js +3 -3
  146. package/cjs/resources/InvoiceItems.js.map +1 -1
  147. package/cjs/resources/InvoiceLineItems.d.ts +2 -40
  148. package/cjs/resources/InvoicePayments.js +1 -1
  149. package/cjs/resources/InvoicePayments.js.map +1 -1
  150. package/cjs/resources/InvoiceRenderingTemplates.js +3 -3
  151. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  152. package/cjs/resources/Invoices.d.ts +23 -1341
  153. package/cjs/resources/Invoices.js +14 -55
  154. package/cjs/resources/Invoices.js.map +1 -1
  155. package/cjs/resources/Issuing/Authorizations.d.ts +354 -356
  156. package/cjs/resources/Issuing/Authorizations.js +4 -4
  157. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  158. package/cjs/resources/Issuing/Cardholders.d.ts +144 -147
  159. package/cjs/resources/Issuing/Cardholders.js +2 -2
  160. package/cjs/resources/Issuing/Cardholders.js.map +1 -1
  161. package/cjs/resources/Issuing/Cards.d.ts +183 -185
  162. package/cjs/resources/Issuing/Cards.js +2 -2
  163. package/cjs/resources/Issuing/Cards.js.map +1 -1
  164. package/cjs/resources/Issuing/Disputes.d.ts +215 -217
  165. package/cjs/resources/Issuing/Disputes.js +3 -3
  166. package/cjs/resources/Issuing/Disputes.js.map +1 -1
  167. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +47 -49
  168. package/cjs/resources/Issuing/PersonalizationDesigns.js +2 -2
  169. package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  170. package/cjs/resources/Issuing/PhysicalBundles.d.ts +24 -26
  171. package/cjs/resources/Issuing/PhysicalBundles.js +1 -1
  172. package/cjs/resources/Issuing/PhysicalBundles.js.map +1 -1
  173. package/cjs/resources/Issuing/Tokens.d.ts +130 -132
  174. package/cjs/resources/Issuing/Tokens.js +2 -2
  175. package/cjs/resources/Issuing/Tokens.js.map +1 -1
  176. package/cjs/resources/Issuing/Transactions.d.ts +223 -234
  177. package/cjs/resources/Issuing/Transactions.js +2 -2
  178. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  179. package/cjs/resources/Issuing/index.d.ts +30 -55
  180. package/cjs/resources/Issuing/index.js +0 -6
  181. package/cjs/resources/Issuing/index.js.map +1 -1
  182. package/cjs/resources/LineItems.d.ts +4 -30
  183. package/cjs/resources/Mandates.d.ts +1 -33
  184. package/cjs/resources/Mandates.js +1 -9
  185. package/cjs/resources/Mandates.js.map +1 -1
  186. package/cjs/resources/PaymentAttemptRecords.d.ts +9 -92
  187. package/cjs/resources/PaymentAttemptRecords.js +1 -1
  188. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  189. package/cjs/resources/PaymentIntents.d.ts +6495 -17272
  190. package/cjs/resources/PaymentIntents.js +9 -36
  191. package/cjs/resources/PaymentIntents.js.map +1 -1
  192. package/cjs/resources/PaymentLinks.d.ts +6 -19
  193. package/cjs/resources/PaymentLinks.js +3 -3
  194. package/cjs/resources/PaymentLinks.js.map +1 -1
  195. package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -350
  196. package/cjs/resources/PaymentMethodConfigurations.js +2 -2
  197. package/cjs/resources/PaymentMethodConfigurations.js.map +1 -1
  198. package/cjs/resources/PaymentMethodDomains.js +3 -3
  199. package/cjs/resources/PaymentMethodDomains.js.map +1 -1
  200. package/cjs/resources/PaymentMethods.d.ts +16 -152
  201. package/cjs/resources/PaymentMethods.js +4 -4
  202. package/cjs/resources/PaymentMethods.js.map +1 -1
  203. package/cjs/resources/PaymentRecords.d.ts +19 -102
  204. package/cjs/resources/PaymentRecords.js +7 -7
  205. package/cjs/resources/PaymentRecords.js.map +1 -1
  206. package/cjs/resources/Payouts.js +4 -4
  207. package/cjs/resources/Payouts.js.map +1 -1
  208. package/cjs/resources/Persons.d.ts +2 -2
  209. package/cjs/resources/Plans.d.ts +0 -16
  210. package/cjs/resources/Plans.js +3 -3
  211. package/cjs/resources/Plans.js.map +1 -1
  212. package/cjs/resources/Prices.d.ts +0 -52
  213. package/cjs/resources/Prices.js +2 -2
  214. package/cjs/resources/Prices.js.map +1 -1
  215. package/cjs/resources/Products.d.ts +0 -42
  216. package/cjs/resources/Products.js +7 -7
  217. package/cjs/resources/Products.js.map +1 -1
  218. package/cjs/resources/PromotionCodes.d.ts +0 -12
  219. package/cjs/resources/PromotionCodes.js +2 -29
  220. package/cjs/resources/PromotionCodes.js.map +1 -1
  221. package/cjs/resources/Quotes.d.ts +165 -2374
  222. package/cjs/resources/Quotes.js +20 -1180
  223. package/cjs/resources/Quotes.js.map +1 -1
  224. package/cjs/resources/Radar/EarlyFraudWarnings.js +1 -1
  225. package/cjs/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  226. package/cjs/resources/Radar/PaymentEvaluations.d.ts +294 -296
  227. package/cjs/resources/Radar/ValueListItems.d.ts +14 -16
  228. package/cjs/resources/Radar/ValueListItems.js +2 -2
  229. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  230. package/cjs/resources/Radar/ValueLists.d.ts +18 -20
  231. package/cjs/resources/Radar/ValueLists.js +3 -3
  232. package/cjs/resources/Radar/ValueLists.js.map +1 -1
  233. package/cjs/resources/Radar/index.d.ts +8 -6
  234. package/cjs/resources/Radar/index.js.map +1 -1
  235. package/cjs/resources/Refunds.d.ts +0 -11
  236. package/cjs/resources/Refunds.js +3 -3
  237. package/cjs/resources/Refunds.js.map +1 -1
  238. package/cjs/resources/Reporting/ReportRuns.d.ts +35 -37
  239. package/cjs/resources/Reporting/ReportRuns.js +1 -1
  240. package/cjs/resources/Reporting/ReportRuns.js.map +1 -1
  241. package/cjs/resources/Reporting/ReportTypes.js +1 -1
  242. package/cjs/resources/Reporting/ReportTypes.js.map +1 -1
  243. package/cjs/resources/Reporting/index.d.ts +2 -2
  244. package/cjs/resources/Reserve/Holds.d.ts +24 -64
  245. package/cjs/resources/Reserve/Holds.js +0 -19
  246. package/cjs/resources/Reserve/Holds.js.map +1 -1
  247. package/cjs/resources/Reserve/Plans.d.ts +25 -43
  248. package/cjs/resources/Reserve/Plans.js +0 -11
  249. package/cjs/resources/Reserve/Plans.js.map +1 -1
  250. package/cjs/resources/Reserve/Releases.d.ts +17 -59
  251. package/cjs/resources/Reserve/Releases.js +0 -19
  252. package/cjs/resources/Reserve/Releases.js.map +1 -1
  253. package/cjs/resources/Reserve/index.d.ts +3 -14
  254. package/cjs/resources/Reserve/index.js +0 -9
  255. package/cjs/resources/Reserve/index.js.map +1 -1
  256. package/cjs/resources/Reviews.js +2 -2
  257. package/cjs/resources/Reviews.js.map +1 -1
  258. package/cjs/resources/SetupAttempts.d.ts +8 -26
  259. package/cjs/resources/SetupIntents.d.ts +14 -333
  260. package/cjs/resources/SetupIntents.js +5 -5
  261. package/cjs/resources/SetupIntents.js.map +1 -1
  262. package/cjs/resources/ShippingRates.js +2 -2
  263. package/cjs/resources/ShippingRates.js.map +1 -1
  264. package/cjs/resources/Sigma/ScheduledQueryRuns.d.ts +7 -9
  265. package/cjs/resources/Sigma/ScheduledQueryRuns.js +1 -1
  266. package/cjs/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  267. package/cjs/resources/Sigma/index.d.ts +1 -1
  268. package/cjs/resources/Sources.d.ts +1 -16
  269. package/cjs/resources/Sources.js +4 -4
  270. package/cjs/resources/Sources.js.map +1 -1
  271. package/cjs/resources/SubscriptionItems.d.ts +0 -143
  272. package/cjs/resources/SubscriptionItems.js +3 -3
  273. package/cjs/resources/SubscriptionItems.js.map +1 -1
  274. package/cjs/resources/SubscriptionSchedules.d.ts +4 -1155
  275. package/cjs/resources/SubscriptionSchedules.js +4 -10
  276. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  277. package/cjs/resources/Subscriptions.d.ts +61 -560
  278. package/cjs/resources/Subscriptions.js +7 -152
  279. package/cjs/resources/Subscriptions.js.map +1 -1
  280. package/cjs/resources/Tax/Associations.d.ts +24 -26
  281. package/cjs/resources/Tax/CalculationLineItems.d.ts +56 -62
  282. package/cjs/resources/Tax/Calculations.d.ts +158 -164
  283. package/cjs/resources/Tax/Calculations.js +2 -2
  284. package/cjs/resources/Tax/Calculations.js.map +1 -1
  285. package/cjs/resources/Tax/Registrations.d.ts +1095 -1233
  286. package/cjs/resources/Tax/Registrations.js +2 -2
  287. package/cjs/resources/Tax/Registrations.js.map +1 -1
  288. package/cjs/resources/Tax/Settings.d.ts +37 -39
  289. package/cjs/resources/Tax/TransactionLineItems.d.ts +11 -13
  290. package/cjs/resources/Tax/Transactions.d.ts +113 -115
  291. package/cjs/resources/Tax/Transactions.js +2 -2
  292. package/cjs/resources/Tax/Transactions.js.map +1 -1
  293. package/cjs/resources/Tax/index.d.ts +18 -32
  294. package/cjs/resources/Tax/index.js +0 -4
  295. package/cjs/resources/Tax/index.js.map +1 -1
  296. package/cjs/resources/TaxCodes.d.ts +0 -15
  297. package/cjs/resources/TaxCodes.js +1 -1
  298. package/cjs/resources/TaxCodes.js.map +1 -1
  299. package/cjs/resources/TaxIds.js +2 -2
  300. package/cjs/resources/TaxIds.js.map +1 -1
  301. package/cjs/resources/TaxRates.js +2 -2
  302. package/cjs/resources/TaxRates.js.map +1 -1
  303. package/cjs/resources/Terminal/Configurations.d.ts +479 -508
  304. package/cjs/resources/Terminal/Configurations.js +3 -3
  305. package/cjs/resources/Terminal/Configurations.js.map +1 -1
  306. package/cjs/resources/Terminal/Locations.d.ts +72 -74
  307. package/cjs/resources/Terminal/Locations.js +3 -3
  308. package/cjs/resources/Terminal/Locations.js.map +1 -1
  309. package/cjs/resources/Terminal/OnboardingLinks.d.ts +16 -18
  310. package/cjs/resources/Terminal/Readers.d.ts +479 -497
  311. package/cjs/resources/Terminal/Readers.js +11 -11
  312. package/cjs/resources/Terminal/Readers.js.map +1 -1
  313. package/cjs/resources/Terminal/index.d.ts +11 -13
  314. package/cjs/resources/Terminal/index.js +0 -2
  315. package/cjs/resources/Terminal/index.js.map +1 -1
  316. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +2 -79
  317. package/cjs/resources/TestHelpers/Customers.js +1 -1
  318. package/cjs/resources/TestHelpers/Customers.js.map +1 -1
  319. package/cjs/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  320. package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  321. package/cjs/resources/TestHelpers/Issuing/Cards.js +5 -5
  322. package/cjs/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  323. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  324. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  325. package/cjs/resources/TestHelpers/Issuing/Transactions.js +1 -1
  326. package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  327. package/cjs/resources/TestHelpers/Refunds.js +1 -1
  328. package/cjs/resources/TestHelpers/Refunds.js.map +1 -1
  329. package/cjs/resources/TestHelpers/Terminal/Readers.js +3 -3
  330. package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  331. package/cjs/resources/TestHelpers/TestClocks.d.ts +27 -29
  332. package/cjs/resources/TestHelpers/TestClocks.js +3 -3
  333. package/cjs/resources/TestHelpers/TestClocks.js.map +1 -1
  334. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  335. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  336. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  337. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  338. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  339. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  340. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  341. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  342. package/cjs/resources/TestHelpers/index.d.ts +3 -5
  343. package/cjs/resources/TestHelpers/index.js +4 -6
  344. package/cjs/resources/TestHelpers/index.js.map +1 -1
  345. package/cjs/resources/Tokens.js +1 -1
  346. package/cjs/resources/Tokens.js.map +1 -1
  347. package/cjs/resources/Topups.d.ts +18 -0
  348. package/cjs/resources/Topups.js +3 -3
  349. package/cjs/resources/Topups.js.map +1 -1
  350. package/cjs/resources/Transfers.d.ts +0 -8
  351. package/cjs/resources/Transfers.js +6 -6
  352. package/cjs/resources/Transfers.js.map +1 -1
  353. package/cjs/resources/Treasury/CreditReversals.d.ts +11 -13
  354. package/cjs/resources/Treasury/CreditReversals.js +1 -1
  355. package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
  356. package/cjs/resources/Treasury/DebitReversals.d.ts +18 -20
  357. package/cjs/resources/Treasury/DebitReversals.js +1 -1
  358. package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
  359. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +252 -259
  360. package/cjs/resources/Treasury/FinancialAccounts.d.ts +88 -123
  361. package/cjs/resources/Treasury/FinancialAccounts.js +5 -5
  362. package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
  363. package/cjs/resources/Treasury/InboundTransfers.d.ts +79 -81
  364. package/cjs/resources/Treasury/InboundTransfers.js +2 -2
  365. package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
  366. package/cjs/resources/Treasury/OutboundPayments.d.ts +125 -135
  367. package/cjs/resources/Treasury/OutboundPayments.js +2 -2
  368. package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
  369. package/cjs/resources/Treasury/OutboundTransfers.d.ts +114 -160
  370. package/cjs/resources/Treasury/OutboundTransfers.js +2 -2
  371. package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
  372. package/cjs/resources/Treasury/ReceivedCredits.d.ts +118 -142
  373. package/cjs/resources/Treasury/ReceivedCredits.js +1 -1
  374. package/cjs/resources/Treasury/ReceivedCredits.js.map +1 -1
  375. package/cjs/resources/Treasury/ReceivedDebits.d.ts +86 -114
  376. package/cjs/resources/Treasury/ReceivedDebits.js +1 -1
  377. package/cjs/resources/Treasury/ReceivedDebits.js.map +1 -1
  378. package/cjs/resources/Treasury/TransactionEntries.d.ts +75 -77
  379. package/cjs/resources/Treasury/TransactionEntries.js +1 -1
  380. package/cjs/resources/Treasury/TransactionEntries.js.map +1 -1
  381. package/cjs/resources/Treasury/Transactions.d.ts +86 -88
  382. package/cjs/resources/Treasury/Transactions.js +1 -1
  383. package/cjs/resources/Treasury/Transactions.js.map +1 -1
  384. package/cjs/resources/Treasury/index.d.ts +10 -10
  385. package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +9 -13
  386. package/cjs/resources/V2/Billing/index.d.ts +9 -48
  387. package/cjs/resources/V2/Billing/index.js +0 -8
  388. package/cjs/resources/V2/Billing/index.js.map +1 -1
  389. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  390. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
  391. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
  392. package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +132 -131
  393. package/cjs/resources/V2/Core/AccountLinks.d.ts +81 -85
  394. package/cjs/resources/V2/Core/AccountPersons.d.ts +369 -373
  395. package/cjs/resources/V2/Core/AccountTokens.d.ts +0 -10
  396. package/cjs/resources/V2/Core/AccountTokens.js +1 -1
  397. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  398. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  399. package/cjs/resources/V2/Core/Accounts/PersonTokens.js +3 -3
  400. package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  401. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  402. package/cjs/resources/V2/Core/Accounts/Persons.js +7 -7
  403. package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
  404. package/cjs/resources/V2/Core/Accounts.d.ts +3043 -4006
  405. package/cjs/resources/V2/Core/Accounts.js +3 -3
  406. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  407. package/cjs/resources/V2/Core/EventDestinations.d.ts +78 -82
  408. package/cjs/resources/V2/Core/EventDestinations.js +6 -6
  409. package/cjs/resources/V2/Core/EventDestinations.js.map +1 -1
  410. package/cjs/resources/V2/Core/Events.d.ts +31 -1154
  411. package/cjs/resources/V2/Core/Events.js +1 -1
  412. package/cjs/resources/V2/Core/Events.js.map +1 -1
  413. package/cjs/resources/V2/Core/index.d.ts +14 -24
  414. package/cjs/resources/V2/Core/index.js +0 -4
  415. package/cjs/resources/V2/Core/index.js.map +1 -1
  416. package/cjs/resources/V2/index.d.ts +0 -27
  417. package/cjs/resources/V2/index.js +0 -14
  418. package/cjs/resources/V2/index.js.map +1 -1
  419. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  420. package/cjs/resources/WebhookEndpoints.js +3 -3
  421. package/cjs/resources/WebhookEndpoints.js.map +1 -1
  422. package/cjs/resources.d.ts +0 -10
  423. package/cjs/resources.js +10 -146
  424. package/cjs/resources.js.map +1 -1
  425. package/cjs/stripe.cjs.node.d.ts +14384 -3
  426. package/cjs/stripe.cjs.node.js +1 -4
  427. package/cjs/stripe.cjs.node.js.map +1 -1
  428. package/cjs/stripe.core.d.ts +69 -62
  429. package/cjs/stripe.core.js +37 -55
  430. package/cjs/stripe.core.js.map +1 -1
  431. package/cjs/utils.d.ts +1 -1
  432. package/cjs/utils.js +13 -2
  433. package/cjs/utils.js.map +1 -1
  434. package/esm/Error.d.ts +0 -50
  435. package/esm/Error.js +0 -109
  436. package/esm/Error.js.map +1 -1
  437. package/esm/RequestSender.d.ts +2 -1
  438. package/esm/RequestSender.js +10 -2
  439. package/esm/RequestSender.js.map +1 -1
  440. package/esm/Types.d.ts +2 -4
  441. package/esm/Types.js.map +1 -1
  442. package/esm/apiVersion.d.ts +2 -1
  443. package/esm/apiVersion.js +2 -1
  444. package/esm/apiVersion.js.map +1 -1
  445. package/esm/autoPagination.js +27 -2
  446. package/esm/autoPagination.js.map +1 -1
  447. package/esm/platform/NodePlatformFunctions.d.ts +3 -0
  448. package/esm/platform/NodePlatformFunctions.js +36 -2
  449. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  450. package/esm/platform/PlatformFunctions.d.ts +1 -0
  451. package/esm/platform/PlatformFunctions.js +3 -0
  452. package/esm/platform/PlatformFunctions.js.map +1 -1
  453. package/esm/resources/AccountLinks.d.ts +1 -1
  454. package/esm/resources/AccountSessions.d.ts +0 -262
  455. package/esm/resources/AccountSessions.js.map +1 -1
  456. package/esm/resources/Accounts.d.ts +5 -829
  457. package/esm/resources/Accounts.js +18 -32
  458. package/esm/resources/Accounts.js.map +1 -1
  459. package/esm/resources/ApplePayDomains.js +2 -2
  460. package/esm/resources/ApplePayDomains.js.map +1 -1
  461. package/esm/resources/ApplicationFees.js +5 -5
  462. package/esm/resources/ApplicationFees.js.map +1 -1
  463. package/esm/resources/Apps/Secrets.d.ts +14 -16
  464. package/esm/resources/Apps/index.d.ts +1 -1
  465. package/esm/resources/Balance.d.ts +0 -67
  466. package/esm/resources/BalanceTransactions.d.ts +5 -5
  467. package/esm/resources/BalanceTransactions.js +3 -3
  468. package/esm/resources/BalanceTransactions.js.map +1 -1
  469. package/esm/resources/BankAccounts.d.ts +2 -2
  470. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
  471. package/esm/resources/Billing/Alerts.d.ts +27 -29
  472. package/esm/resources/Billing/Alerts.js +4 -4
  473. package/esm/resources/Billing/Alerts.js.map +1 -1
  474. package/esm/resources/Billing/CreditBalanceSummary.d.ts +40 -42
  475. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +74 -76
  476. package/esm/resources/Billing/CreditBalanceTransactions.js +1 -1
  477. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  478. package/esm/resources/Billing/CreditGrants.d.ts +41 -43
  479. package/esm/resources/Billing/CreditGrants.js +4 -4
  480. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  481. package/esm/resources/Billing/MeterEventAdjustments.d.ts +9 -11
  482. package/esm/resources/Billing/Meters.d.ts +39 -41
  483. package/esm/resources/Billing/Meters.js +5 -5
  484. package/esm/resources/Billing/Meters.js.map +1 -1
  485. package/esm/resources/Billing/index.d.ts +7 -10
  486. package/esm/resources/Billing/index.js +0 -2
  487. package/esm/resources/Billing/index.js.map +1 -1
  488. package/esm/resources/BillingPortal/Configurations.d.ts +132 -134
  489. package/esm/resources/BillingPortal/Configurations.js +2 -2
  490. package/esm/resources/BillingPortal/Configurations.js.map +1 -1
  491. package/esm/resources/BillingPortal/Sessions.d.ts +100 -102
  492. package/esm/resources/BillingPortal/index.d.ts +2 -2
  493. package/esm/resources/Capabilities.d.ts +2 -2
  494. package/esm/resources/Cards.d.ts +0 -4
  495. package/esm/resources/Charges.d.ts +84 -3066
  496. package/esm/resources/Charges.js +3 -3
  497. package/esm/resources/Charges.js.map +1 -1
  498. package/esm/resources/Checkout/Sessions.d.ts +1598 -1900
  499. package/esm/resources/Checkout/Sessions.js +4 -4
  500. package/esm/resources/Checkout/Sessions.js.map +1 -1
  501. package/esm/resources/Checkout/index.d.ts +1 -1
  502. package/esm/resources/Climate/Orders.d.ts +47 -49
  503. package/esm/resources/Climate/Orders.js +3 -3
  504. package/esm/resources/Climate/Orders.js.map +1 -1
  505. package/esm/resources/Climate/Products.d.ts +15 -17
  506. package/esm/resources/Climate/Products.js +1 -1
  507. package/esm/resources/Climate/Products.js.map +1 -1
  508. package/esm/resources/Climate/Suppliers.d.ts +25 -27
  509. package/esm/resources/Climate/Suppliers.js +1 -1
  510. package/esm/resources/Climate/Suppliers.js.map +1 -1
  511. package/esm/resources/Climate/index.d.ts +3 -3
  512. package/esm/resources/ConfirmationTokens.d.ts +13 -67
  513. package/esm/resources/ConfirmationTokens.js +1 -1
  514. package/esm/resources/ConfirmationTokens.js.map +1 -1
  515. package/esm/resources/CountrySpecs.js +1 -1
  516. package/esm/resources/CountrySpecs.js.map +1 -1
  517. package/esm/resources/Coupons.d.ts +0 -53
  518. package/esm/resources/Coupons.js +3 -16
  519. package/esm/resources/Coupons.js.map +1 -1
  520. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  521. package/esm/resources/CreditNotes.d.ts +8 -5
  522. package/esm/resources/CreditNotes.js +6 -4
  523. package/esm/resources/CreditNotes.js.map +1 -1
  524. package/esm/resources/CustomerSessions.d.ts +0 -68
  525. package/esm/resources/Customers.d.ts +1 -7
  526. package/esm/resources/Customers.js +31 -41
  527. package/esm/resources/Customers.js.map +1 -1
  528. package/esm/resources/Disputes.d.ts +28 -30
  529. package/esm/resources/Disputes.js +3 -3
  530. package/esm/resources/Disputes.js.map +1 -1
  531. package/esm/resources/Entitlements/ActiveEntitlements.js +1 -1
  532. package/esm/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  533. package/esm/resources/Entitlements/Features.js +2 -2
  534. package/esm/resources/Entitlements/Features.js.map +1 -1
  535. package/esm/resources/Entitlements/index.d.ts +2 -2
  536. package/esm/resources/EphemeralKeys.js +1 -1
  537. package/esm/resources/EphemeralKeys.js.map +1 -1
  538. package/esm/resources/Events.d.ts +3 -548
  539. package/esm/resources/Events.js +1 -1
  540. package/esm/resources/Events.js.map +1 -1
  541. package/esm/resources/ExchangeRates.js +1 -1
  542. package/esm/resources/ExchangeRates.js.map +1 -1
  543. package/esm/resources/ExternalAccounts.d.ts +1 -212
  544. package/esm/resources/ExternalAccounts.js +1 -42
  545. package/esm/resources/ExternalAccounts.js.map +1 -1
  546. package/esm/resources/FileLinks.js +2 -2
  547. package/esm/resources/FileLinks.js.map +1 -1
  548. package/esm/resources/Files.js +1 -1
  549. package/esm/resources/Files.js.map +1 -1
  550. package/esm/resources/FinancialConnections/Accounts.d.ts +169 -217
  551. package/esm/resources/FinancialConnections/Accounts.js +6 -14
  552. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  553. package/esm/resources/FinancialConnections/Sessions.d.ts +43 -193
  554. package/esm/resources/FinancialConnections/Sessions.js +1 -1
  555. package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
  556. package/esm/resources/FinancialConnections/Transactions.d.ts +13 -15
  557. package/esm/resources/FinancialConnections/Transactions.js +1 -1
  558. package/esm/resources/FinancialConnections/Transactions.js.map +1 -1
  559. package/esm/resources/FinancialConnections/index.d.ts +9 -24
  560. package/esm/resources/FinancialConnections/index.js +0 -4
  561. package/esm/resources/FinancialConnections/index.js.map +1 -1
  562. package/esm/resources/Forwarding/Requests.d.ts +57 -59
  563. package/esm/resources/Forwarding/Requests.js +1 -1
  564. package/esm/resources/Forwarding/Requests.js.map +1 -1
  565. package/esm/resources/Forwarding/index.d.ts +1 -1
  566. package/esm/resources/Identity/VerificationReports.d.ts +255 -257
  567. package/esm/resources/Identity/VerificationReports.js +1 -1
  568. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  569. package/esm/resources/Identity/VerificationSessions.d.ts +148 -150
  570. package/esm/resources/Identity/VerificationSessions.js +4 -4
  571. package/esm/resources/Identity/VerificationSessions.js.map +1 -1
  572. package/esm/resources/Identity/index.d.ts +2 -2
  573. package/esm/resources/InvoiceItems.d.ts +0 -85
  574. package/esm/resources/InvoiceItems.js +3 -3
  575. package/esm/resources/InvoiceItems.js.map +1 -1
  576. package/esm/resources/InvoiceLineItems.d.ts +2 -40
  577. package/esm/resources/InvoicePayments.js +1 -1
  578. package/esm/resources/InvoicePayments.js.map +1 -1
  579. package/esm/resources/InvoiceRenderingTemplates.js +3 -3
  580. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  581. package/esm/resources/Invoices.d.ts +23 -1341
  582. package/esm/resources/Invoices.js +14 -55
  583. package/esm/resources/Invoices.js.map +1 -1
  584. package/esm/resources/Issuing/Authorizations.d.ts +354 -356
  585. package/esm/resources/Issuing/Authorizations.js +4 -4
  586. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  587. package/esm/resources/Issuing/Cardholders.d.ts +144 -147
  588. package/esm/resources/Issuing/Cardholders.js +2 -2
  589. package/esm/resources/Issuing/Cardholders.js.map +1 -1
  590. package/esm/resources/Issuing/Cards.d.ts +183 -185
  591. package/esm/resources/Issuing/Cards.js +2 -2
  592. package/esm/resources/Issuing/Cards.js.map +1 -1
  593. package/esm/resources/Issuing/Disputes.d.ts +215 -217
  594. package/esm/resources/Issuing/Disputes.js +3 -3
  595. package/esm/resources/Issuing/Disputes.js.map +1 -1
  596. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +47 -49
  597. package/esm/resources/Issuing/PersonalizationDesigns.js +2 -2
  598. package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  599. package/esm/resources/Issuing/PhysicalBundles.d.ts +24 -26
  600. package/esm/resources/Issuing/PhysicalBundles.js +1 -1
  601. package/esm/resources/Issuing/PhysicalBundles.js.map +1 -1
  602. package/esm/resources/Issuing/Tokens.d.ts +130 -132
  603. package/esm/resources/Issuing/Tokens.js +2 -2
  604. package/esm/resources/Issuing/Tokens.js.map +1 -1
  605. package/esm/resources/Issuing/Transactions.d.ts +223 -234
  606. package/esm/resources/Issuing/Transactions.js +2 -2
  607. package/esm/resources/Issuing/Transactions.js.map +1 -1
  608. package/esm/resources/Issuing/index.d.ts +30 -55
  609. package/esm/resources/Issuing/index.js +0 -6
  610. package/esm/resources/Issuing/index.js.map +1 -1
  611. package/esm/resources/LineItems.d.ts +4 -30
  612. package/esm/resources/Mandates.d.ts +1 -33
  613. package/esm/resources/Mandates.js +1 -9
  614. package/esm/resources/Mandates.js.map +1 -1
  615. package/esm/resources/PaymentAttemptRecords.d.ts +9 -92
  616. package/esm/resources/PaymentAttemptRecords.js +1 -1
  617. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  618. package/esm/resources/PaymentIntents.d.ts +6495 -17272
  619. package/esm/resources/PaymentIntents.js +9 -36
  620. package/esm/resources/PaymentIntents.js.map +1 -1
  621. package/esm/resources/PaymentLinks.d.ts +6 -19
  622. package/esm/resources/PaymentLinks.js +3 -3
  623. package/esm/resources/PaymentLinks.js.map +1 -1
  624. package/esm/resources/PaymentMethodConfigurations.d.ts +0 -350
  625. package/esm/resources/PaymentMethodConfigurations.js +2 -2
  626. package/esm/resources/PaymentMethodConfigurations.js.map +1 -1
  627. package/esm/resources/PaymentMethodDomains.js +3 -3
  628. package/esm/resources/PaymentMethodDomains.js.map +1 -1
  629. package/esm/resources/PaymentMethods.d.ts +16 -152
  630. package/esm/resources/PaymentMethods.js +4 -4
  631. package/esm/resources/PaymentMethods.js.map +1 -1
  632. package/esm/resources/PaymentRecords.d.ts +19 -102
  633. package/esm/resources/PaymentRecords.js +7 -7
  634. package/esm/resources/PaymentRecords.js.map +1 -1
  635. package/esm/resources/Payouts.js +4 -4
  636. package/esm/resources/Payouts.js.map +1 -1
  637. package/esm/resources/Persons.d.ts +2 -2
  638. package/esm/resources/Plans.d.ts +0 -16
  639. package/esm/resources/Plans.js +3 -3
  640. package/esm/resources/Plans.js.map +1 -1
  641. package/esm/resources/Prices.d.ts +0 -52
  642. package/esm/resources/Prices.js +2 -2
  643. package/esm/resources/Prices.js.map +1 -1
  644. package/esm/resources/Products.d.ts +0 -42
  645. package/esm/resources/Products.js +7 -7
  646. package/esm/resources/Products.js.map +1 -1
  647. package/esm/resources/PromotionCodes.d.ts +0 -12
  648. package/esm/resources/PromotionCodes.js +2 -29
  649. package/esm/resources/PromotionCodes.js.map +1 -1
  650. package/esm/resources/Quotes.d.ts +165 -2374
  651. package/esm/resources/Quotes.js +20 -1180
  652. package/esm/resources/Quotes.js.map +1 -1
  653. package/esm/resources/Radar/EarlyFraudWarnings.js +1 -1
  654. package/esm/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  655. package/esm/resources/Radar/PaymentEvaluations.d.ts +294 -296
  656. package/esm/resources/Radar/ValueListItems.d.ts +14 -16
  657. package/esm/resources/Radar/ValueListItems.js +2 -2
  658. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  659. package/esm/resources/Radar/ValueLists.d.ts +18 -20
  660. package/esm/resources/Radar/ValueLists.js +3 -3
  661. package/esm/resources/Radar/ValueLists.js.map +1 -1
  662. package/esm/resources/Radar/index.d.ts +8 -6
  663. package/esm/resources/Radar/index.js.map +1 -1
  664. package/esm/resources/Refunds.d.ts +0 -11
  665. package/esm/resources/Refunds.js +3 -3
  666. package/esm/resources/Refunds.js.map +1 -1
  667. package/esm/resources/Reporting/ReportRuns.d.ts +35 -37
  668. package/esm/resources/Reporting/ReportRuns.js +1 -1
  669. package/esm/resources/Reporting/ReportRuns.js.map +1 -1
  670. package/esm/resources/Reporting/ReportTypes.js +1 -1
  671. package/esm/resources/Reporting/ReportTypes.js.map +1 -1
  672. package/esm/resources/Reporting/index.d.ts +2 -2
  673. package/esm/resources/Reserve/Holds.d.ts +24 -64
  674. package/esm/resources/Reserve/Holds.js +1 -17
  675. package/esm/resources/Reserve/Holds.js.map +1 -1
  676. package/esm/resources/Reserve/Plans.d.ts +25 -43
  677. package/esm/resources/Reserve/Plans.js +1 -9
  678. package/esm/resources/Reserve/Plans.js.map +1 -1
  679. package/esm/resources/Reserve/Releases.d.ts +17 -59
  680. package/esm/resources/Reserve/Releases.js +1 -17
  681. package/esm/resources/Reserve/Releases.js.map +1 -1
  682. package/esm/resources/Reserve/index.d.ts +3 -14
  683. package/esm/resources/Reserve/index.js +0 -9
  684. package/esm/resources/Reserve/index.js.map +1 -1
  685. package/esm/resources/Reviews.js +2 -2
  686. package/esm/resources/Reviews.js.map +1 -1
  687. package/esm/resources/SetupAttempts.d.ts +8 -26
  688. package/esm/resources/SetupIntents.d.ts +14 -333
  689. package/esm/resources/SetupIntents.js +5 -5
  690. package/esm/resources/SetupIntents.js.map +1 -1
  691. package/esm/resources/ShippingRates.js +2 -2
  692. package/esm/resources/ShippingRates.js.map +1 -1
  693. package/esm/resources/Sigma/ScheduledQueryRuns.d.ts +7 -9
  694. package/esm/resources/Sigma/ScheduledQueryRuns.js +1 -1
  695. package/esm/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  696. package/esm/resources/Sigma/index.d.ts +1 -1
  697. package/esm/resources/Sources.d.ts +1 -16
  698. package/esm/resources/Sources.js +4 -4
  699. package/esm/resources/Sources.js.map +1 -1
  700. package/esm/resources/SubscriptionItems.d.ts +0 -143
  701. package/esm/resources/SubscriptionItems.js +3 -3
  702. package/esm/resources/SubscriptionItems.js.map +1 -1
  703. package/esm/resources/SubscriptionSchedules.d.ts +4 -1155
  704. package/esm/resources/SubscriptionSchedules.js +4 -10
  705. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  706. package/esm/resources/Subscriptions.d.ts +61 -560
  707. package/esm/resources/Subscriptions.js +7 -152
  708. package/esm/resources/Subscriptions.js.map +1 -1
  709. package/esm/resources/Tax/Associations.d.ts +24 -26
  710. package/esm/resources/Tax/CalculationLineItems.d.ts +56 -62
  711. package/esm/resources/Tax/Calculations.d.ts +158 -164
  712. package/esm/resources/Tax/Calculations.js +2 -2
  713. package/esm/resources/Tax/Calculations.js.map +1 -1
  714. package/esm/resources/Tax/Registrations.d.ts +1095 -1233
  715. package/esm/resources/Tax/Registrations.js +2 -2
  716. package/esm/resources/Tax/Registrations.js.map +1 -1
  717. package/esm/resources/Tax/Settings.d.ts +37 -39
  718. package/esm/resources/Tax/TransactionLineItems.d.ts +11 -13
  719. package/esm/resources/Tax/Transactions.d.ts +113 -115
  720. package/esm/resources/Tax/Transactions.js +2 -2
  721. package/esm/resources/Tax/Transactions.js.map +1 -1
  722. package/esm/resources/Tax/index.d.ts +18 -32
  723. package/esm/resources/Tax/index.js +0 -4
  724. package/esm/resources/Tax/index.js.map +1 -1
  725. package/esm/resources/TaxCodes.d.ts +0 -15
  726. package/esm/resources/TaxCodes.js +1 -1
  727. package/esm/resources/TaxCodes.js.map +1 -1
  728. package/esm/resources/TaxIds.js +2 -2
  729. package/esm/resources/TaxIds.js.map +1 -1
  730. package/esm/resources/TaxRates.js +2 -2
  731. package/esm/resources/TaxRates.js.map +1 -1
  732. package/esm/resources/Terminal/Configurations.d.ts +479 -508
  733. package/esm/resources/Terminal/Configurations.js +3 -3
  734. package/esm/resources/Terminal/Configurations.js.map +1 -1
  735. package/esm/resources/Terminal/Locations.d.ts +72 -74
  736. package/esm/resources/Terminal/Locations.js +3 -3
  737. package/esm/resources/Terminal/Locations.js.map +1 -1
  738. package/esm/resources/Terminal/OnboardingLinks.d.ts +16 -18
  739. package/esm/resources/Terminal/Readers.d.ts +479 -497
  740. package/esm/resources/Terminal/Readers.js +11 -11
  741. package/esm/resources/Terminal/Readers.js.map +1 -1
  742. package/esm/resources/Terminal/index.d.ts +11 -13
  743. package/esm/resources/Terminal/index.js +0 -2
  744. package/esm/resources/Terminal/index.js.map +1 -1
  745. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +2 -79
  746. package/esm/resources/TestHelpers/Customers.js +1 -1
  747. package/esm/resources/TestHelpers/Customers.js.map +1 -1
  748. package/esm/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  749. package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  750. package/esm/resources/TestHelpers/Issuing/Cards.js +5 -5
  751. package/esm/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  752. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  753. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  754. package/esm/resources/TestHelpers/Issuing/Transactions.js +1 -1
  755. package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  756. package/esm/resources/TestHelpers/Refunds.js +1 -1
  757. package/esm/resources/TestHelpers/Refunds.js.map +1 -1
  758. package/esm/resources/TestHelpers/Terminal/Readers.js +3 -3
  759. package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  760. package/esm/resources/TestHelpers/TestClocks.d.ts +27 -29
  761. package/esm/resources/TestHelpers/TestClocks.js +3 -3
  762. package/esm/resources/TestHelpers/TestClocks.js.map +1 -1
  763. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  764. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  765. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  766. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  767. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  768. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  769. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  770. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  771. package/esm/resources/TestHelpers/index.d.ts +3 -5
  772. package/esm/resources/TestHelpers/index.js +0 -2
  773. package/esm/resources/TestHelpers/index.js.map +1 -1
  774. package/esm/resources/Tokens.js +1 -1
  775. package/esm/resources/Tokens.js.map +1 -1
  776. package/esm/resources/Topups.d.ts +18 -0
  777. package/esm/resources/Topups.js +3 -3
  778. package/esm/resources/Topups.js.map +1 -1
  779. package/esm/resources/Transfers.d.ts +0 -8
  780. package/esm/resources/Transfers.js +6 -6
  781. package/esm/resources/Transfers.js.map +1 -1
  782. package/esm/resources/Treasury/CreditReversals.d.ts +11 -13
  783. package/esm/resources/Treasury/CreditReversals.js +1 -1
  784. package/esm/resources/Treasury/CreditReversals.js.map +1 -1
  785. package/esm/resources/Treasury/DebitReversals.d.ts +18 -20
  786. package/esm/resources/Treasury/DebitReversals.js +1 -1
  787. package/esm/resources/Treasury/DebitReversals.js.map +1 -1
  788. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +252 -259
  789. package/esm/resources/Treasury/FinancialAccounts.d.ts +88 -123
  790. package/esm/resources/Treasury/FinancialAccounts.js +5 -5
  791. package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
  792. package/esm/resources/Treasury/InboundTransfers.d.ts +79 -81
  793. package/esm/resources/Treasury/InboundTransfers.js +2 -2
  794. package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
  795. package/esm/resources/Treasury/OutboundPayments.d.ts +125 -135
  796. package/esm/resources/Treasury/OutboundPayments.js +2 -2
  797. package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
  798. package/esm/resources/Treasury/OutboundTransfers.d.ts +114 -160
  799. package/esm/resources/Treasury/OutboundTransfers.js +2 -2
  800. package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
  801. package/esm/resources/Treasury/ReceivedCredits.d.ts +118 -142
  802. package/esm/resources/Treasury/ReceivedCredits.js +1 -1
  803. package/esm/resources/Treasury/ReceivedCredits.js.map +1 -1
  804. package/esm/resources/Treasury/ReceivedDebits.d.ts +86 -114
  805. package/esm/resources/Treasury/ReceivedDebits.js +1 -1
  806. package/esm/resources/Treasury/ReceivedDebits.js.map +1 -1
  807. package/esm/resources/Treasury/TransactionEntries.d.ts +75 -77
  808. package/esm/resources/Treasury/TransactionEntries.js +1 -1
  809. package/esm/resources/Treasury/TransactionEntries.js.map +1 -1
  810. package/esm/resources/Treasury/Transactions.d.ts +86 -88
  811. package/esm/resources/Treasury/Transactions.js +1 -1
  812. package/esm/resources/Treasury/Transactions.js.map +1 -1
  813. package/esm/resources/Treasury/index.d.ts +10 -10
  814. package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +9 -13
  815. package/esm/resources/V2/Billing/index.d.ts +9 -48
  816. package/esm/resources/V2/Billing/index.js +0 -8
  817. package/esm/resources/V2/Billing/index.js.map +1 -1
  818. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  819. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
  820. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
  821. package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +132 -131
  822. package/esm/resources/V2/Core/AccountLinks.d.ts +81 -85
  823. package/esm/resources/V2/Core/AccountPersons.d.ts +369 -373
  824. package/esm/resources/V2/Core/AccountTokens.d.ts +0 -10
  825. package/esm/resources/V2/Core/AccountTokens.js +1 -1
  826. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  827. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  828. package/esm/resources/V2/Core/Accounts/PersonTokens.js +3 -3
  829. package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  830. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  831. package/esm/resources/V2/Core/Accounts/Persons.js +7 -7
  832. package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
  833. package/esm/resources/V2/Core/Accounts.d.ts +3043 -4006
  834. package/esm/resources/V2/Core/Accounts.js +3 -3
  835. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  836. package/esm/resources/V2/Core/EventDestinations.d.ts +78 -82
  837. package/esm/resources/V2/Core/EventDestinations.js +6 -6
  838. package/esm/resources/V2/Core/EventDestinations.js.map +1 -1
  839. package/esm/resources/V2/Core/Events.d.ts +31 -1154
  840. package/esm/resources/V2/Core/Events.js +1 -1
  841. package/esm/resources/V2/Core/Events.js.map +1 -1
  842. package/esm/resources/V2/Core/index.d.ts +14 -24
  843. package/esm/resources/V2/Core/index.js +0 -4
  844. package/esm/resources/V2/Core/index.js.map +1 -1
  845. package/esm/resources/V2/index.d.ts +0 -27
  846. package/esm/resources/V2/index.js +0 -14
  847. package/esm/resources/V2/index.js.map +1 -1
  848. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  849. package/esm/resources/WebhookEndpoints.js +3 -3
  850. package/esm/resources/WebhookEndpoints.js.map +1 -1
  851. package/esm/resources.d.ts +0 -10
  852. package/esm/resources.js +0 -131
  853. package/esm/resources.js.map +1 -1
  854. package/esm/stripe.core.d.ts +69 -62
  855. package/esm/stripe.core.js +7 -25
  856. package/esm/stripe.core.js.map +1 -1
  857. package/esm/stripe.esm.node.d.ts +68 -63
  858. package/esm/stripe.esm.node.js +2 -25
  859. package/esm/stripe.esm.node.js.map +1 -1
  860. package/esm/utils.d.ts +1 -1
  861. package/esm/utils.js +13 -2
  862. package/esm/utils.js.map +1 -1
  863. package/package.json +1 -1
  864. package/cjs/StripeEventNotificationHandler.d.ts +0 -19
  865. package/cjs/StripeEventNotificationHandler.js +0 -148
  866. package/cjs/StripeEventNotificationHandler.js.map +0 -1
  867. package/cjs/resources/AccountNotices.d.ts +0 -140
  868. package/cjs/resources/AccountNotices.js +0 -29
  869. package/cjs/resources/AccountNotices.js.map +0 -1
  870. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  871. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  872. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  873. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  874. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  875. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  876. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  877. package/cjs/resources/Billing/Analytics/index.js +0 -13
  878. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  879. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
  880. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  881. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  882. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
  883. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  884. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  885. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
  886. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  887. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  888. package/cjs/resources/Capital/index.d.ts +0 -25
  889. package/cjs/resources/Capital/index.js +0 -17
  890. package/cjs/resources/Capital/index.js.map +0 -1
  891. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  892. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  893. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  894. package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
  895. package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
  896. package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
  897. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
  898. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  899. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  900. package/cjs/resources/FxQuotes.d.ts +0 -212
  901. package/cjs/resources/FxQuotes.js +0 -29
  902. package/cjs/resources/FxQuotes.js.map +0 -1
  903. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  904. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
  905. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  906. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  907. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  908. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  909. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  910. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  911. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  912. package/cjs/resources/Issuing/Settlements.d.ts +0 -85
  913. package/cjs/resources/Issuing/Settlements.js +0 -4
  914. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  915. package/cjs/resources/Margins.d.ts +0 -115
  916. package/cjs/resources/Margins.js +0 -35
  917. package/cjs/resources/Margins.js.map +0 -1
  918. package/cjs/resources/Orders.d.ts +0 -4693
  919. package/cjs/resources/Orders.js +0 -457
  920. package/cjs/resources/Orders.js.map +0 -1
  921. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  922. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  923. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  924. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
  925. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  926. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  927. package/cjs/resources/Privacy/index.d.ts +0 -22
  928. package/cjs/resources/Privacy/index.js +0 -13
  929. package/cjs/resources/Privacy/index.js.map +0 -1
  930. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  931. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
  932. package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
  933. package/cjs/resources/ProductCatalog/index.d.ts +0 -12
  934. package/cjs/resources/ProductCatalog/index.js +0 -13
  935. package/cjs/resources/ProductCatalog/index.js.map +0 -1
  936. package/cjs/resources/QuoteLines.d.ts +0 -507
  937. package/cjs/resources/QuoteLines.js +0 -4
  938. package/cjs/resources/QuoteLines.js.map +0 -1
  939. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1120
  940. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  941. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  942. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -737
  943. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  944. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  945. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1095
  946. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  947. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  948. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  949. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  950. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  951. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  952. package/cjs/resources/SharedPayment/index.js +0 -15
  953. package/cjs/resources/SharedPayment/index.js.map +0 -1
  954. package/cjs/resources/Tax/Forms.d.ts +0 -230
  955. package/cjs/resources/Tax/Forms.js +0 -32
  956. package/cjs/resources/Tax/Forms.js.map +0 -1
  957. package/cjs/resources/Tax/Locations.d.ts +0 -108
  958. package/cjs/resources/Tax/Locations.js +0 -33
  959. package/cjs/resources/Tax/Locations.js.map +0 -1
  960. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  961. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  962. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  963. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  964. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  965. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  966. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  967. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  968. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  969. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  970. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  971. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  972. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  973. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  974. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  975. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
  976. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  977. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  978. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -951
  979. package/cjs/resources/V2/Billing/Cadences.js +0 -198
  980. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  981. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  982. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  983. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  984. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  985. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  986. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  987. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  988. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  989. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  990. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
  991. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  992. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  993. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
  994. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  995. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  996. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  997. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  998. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  999. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  1000. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
  1001. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  1002. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  1003. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  1004. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  1005. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  1006. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  1007. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  1008. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  1009. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  1010. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  1011. package/cjs/resources/V2/Data/index.d.ts +0 -10
  1012. package/cjs/resources/V2/Data/index.js +0 -13
  1013. package/cjs/resources/V2/Data/index.js.map +0 -1
  1014. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  1015. package/cjs/resources/V2/EventMisc.js +0 -2
  1016. package/cjs/resources/V2/EventMisc.js.map +0 -1
  1017. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  1018. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  1019. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  1020. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
  1021. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  1022. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  1023. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  1024. package/cjs/resources/V2/Extend/index.js +0 -15
  1025. package/cjs/resources/V2/Extend/index.js.map +0 -1
  1026. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  1027. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  1028. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  1029. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  1030. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  1031. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  1032. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -214
  1033. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
  1034. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  1035. package/cjs/resources/V2/Iam/index.d.ts +0 -13
  1036. package/cjs/resources/V2/Iam/index.js +0 -13
  1037. package/cjs/resources/V2/Iam/index.js.map +0 -1
  1038. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  1039. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  1040. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  1041. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  1042. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
  1043. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  1044. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  1045. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  1046. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  1047. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  1048. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  1049. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  1050. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  1051. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  1052. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  1053. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  1054. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  1055. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1056. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -300
  1057. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  1058. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1059. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  1060. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  1061. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1062. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  1063. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
  1064. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1065. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  1066. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  1067. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1068. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -295
  1069. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  1070. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1071. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  1072. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  1073. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1074. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  1075. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  1076. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1077. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  1078. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
  1079. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1080. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
  1081. package/cjs/resources/V2/MoneyManagement/index.js +0 -39
  1082. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  1083. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  1084. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  1085. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1086. package/cjs/resources/V2/Network/index.d.ts +0 -13
  1087. package/cjs/resources/V2/Network/index.js +0 -13
  1088. package/cjs/resources/V2/Network/index.js.map +0 -1
  1089. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  1090. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  1091. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1092. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1093. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  1094. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1095. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  1096. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  1097. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1098. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
  1099. package/cjs/resources/V2/TestHelpers/index.js +0 -13
  1100. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  1101. package/esm/StripeEventNotificationHandler.d.ts +0 -19
  1102. package/esm/StripeEventNotificationHandler.js +0 -144
  1103. package/esm/StripeEventNotificationHandler.js.map +0 -1
  1104. package/esm/resources/AccountNotices.d.ts +0 -140
  1105. package/esm/resources/AccountNotices.js +0 -25
  1106. package/esm/resources/AccountNotices.js.map +0 -1
  1107. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  1108. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  1109. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  1110. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  1111. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  1112. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  1113. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  1114. package/esm/resources/Billing/Analytics/index.js +0 -9
  1115. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  1116. package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
  1117. package/esm/resources/Capital/FinancingOffers.js +0 -26
  1118. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  1119. package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
  1120. package/esm/resources/Capital/FinancingSummary.js +0 -11
  1121. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  1122. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
  1123. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  1124. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  1125. package/esm/resources/Capital/index.d.ts +0 -25
  1126. package/esm/resources/Capital/index.js +0 -13
  1127. package/esm/resources/Capital/index.js.map +0 -1
  1128. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  1129. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  1130. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  1131. package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
  1132. package/esm/resources/FinancialConnections/Authorizations.js +0 -11
  1133. package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
  1134. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
  1135. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  1136. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  1137. package/esm/resources/FxQuotes.d.ts +0 -212
  1138. package/esm/resources/FxQuotes.js +0 -25
  1139. package/esm/resources/FxQuotes.js.map +0 -1
  1140. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  1141. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
  1142. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  1143. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  1144. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  1145. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  1146. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  1147. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  1148. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  1149. package/esm/resources/Issuing/Settlements.d.ts +0 -85
  1150. package/esm/resources/Issuing/Settlements.js +0 -3
  1151. package/esm/resources/Issuing/Settlements.js.map +0 -1
  1152. package/esm/resources/Margins.d.ts +0 -115
  1153. package/esm/resources/Margins.js +0 -31
  1154. package/esm/resources/Margins.js.map +0 -1
  1155. package/esm/resources/Orders.d.ts +0 -4693
  1156. package/esm/resources/Orders.js +0 -453
  1157. package/esm/resources/Orders.js.map +0 -1
  1158. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  1159. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  1160. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  1161. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
  1162. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  1163. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  1164. package/esm/resources/Privacy/index.d.ts +0 -22
  1165. package/esm/resources/Privacy/index.js +0 -9
  1166. package/esm/resources/Privacy/index.js.map +0 -1
  1167. package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  1168. package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
  1169. package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
  1170. package/esm/resources/ProductCatalog/index.d.ts +0 -12
  1171. package/esm/resources/ProductCatalog/index.js +0 -9
  1172. package/esm/resources/ProductCatalog/index.js.map +0 -1
  1173. package/esm/resources/QuoteLines.d.ts +0 -507
  1174. package/esm/resources/QuoteLines.js +0 -3
  1175. package/esm/resources/QuoteLines.js.map +0 -1
  1176. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1120
  1177. package/esm/resources/QuotePreviewInvoices.js +0 -3
  1178. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  1179. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -737
  1180. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  1181. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  1182. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1095
  1183. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  1184. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  1185. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  1186. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  1187. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  1188. package/esm/resources/SharedPayment/index.d.ts +0 -19
  1189. package/esm/resources/SharedPayment/index.js +0 -11
  1190. package/esm/resources/SharedPayment/index.js.map +0 -1
  1191. package/esm/resources/Tax/Forms.d.ts +0 -230
  1192. package/esm/resources/Tax/Forms.js +0 -28
  1193. package/esm/resources/Tax/Forms.js.map +0 -1
  1194. package/esm/resources/Tax/Locations.d.ts +0 -108
  1195. package/esm/resources/Tax/Locations.js +0 -29
  1196. package/esm/resources/Tax/Locations.js.map +0 -1
  1197. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  1198. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  1199. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  1200. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  1201. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  1202. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  1203. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  1204. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  1205. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  1206. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  1207. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  1208. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  1209. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  1210. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  1211. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  1212. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
  1213. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  1214. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  1215. package/esm/resources/V2/Billing/Cadences.d.ts +0 -951
  1216. package/esm/resources/V2/Billing/Cadences.js +0 -194
  1217. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  1218. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  1219. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  1220. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  1221. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  1222. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  1223. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  1224. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  1225. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  1226. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  1227. package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
  1228. package/esm/resources/V2/Billing/Profiles.js +0 -31
  1229. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  1230. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
  1231. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  1232. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  1233. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  1234. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  1235. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  1236. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  1237. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
  1238. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  1239. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  1240. package/esm/resources/V2/Core/Vault/index.js +0 -11
  1241. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  1242. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  1243. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  1244. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  1245. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  1246. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  1247. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  1248. package/esm/resources/V2/Data/index.d.ts +0 -10
  1249. package/esm/resources/V2/Data/index.js +0 -9
  1250. package/esm/resources/V2/Data/index.js.map +0 -1
  1251. package/esm/resources/V2/EventMisc.d.ts +0 -0
  1252. package/esm/resources/V2/EventMisc.js +0 -2
  1253. package/esm/resources/V2/EventMisc.js.map +0 -1
  1254. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  1255. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  1256. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  1257. package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
  1258. package/esm/resources/V2/Extend/Workflows.js +0 -26
  1259. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  1260. package/esm/resources/V2/Extend/index.d.ts +0 -20
  1261. package/esm/resources/V2/Extend/index.js +0 -11
  1262. package/esm/resources/V2/Extend/index.js.map +0 -1
  1263. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  1264. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  1265. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  1266. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  1267. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  1268. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  1269. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -214
  1270. package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
  1271. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  1272. package/esm/resources/V2/Iam/index.d.ts +0 -13
  1273. package/esm/resources/V2/Iam/index.js +0 -9
  1274. package/esm/resources/V2/Iam/index.js.map +0 -1
  1275. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  1276. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  1277. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  1278. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  1279. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
  1280. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  1281. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  1282. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  1283. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  1284. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  1285. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  1286. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  1287. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  1288. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  1289. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  1290. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  1291. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  1292. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1293. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -300
  1294. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  1295. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1296. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  1297. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  1298. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1299. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  1300. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
  1301. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1302. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  1303. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  1304. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1305. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -295
  1306. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  1307. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1308. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  1309. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  1310. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1311. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  1312. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  1313. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1314. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  1315. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
  1316. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1317. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
  1318. package/esm/resources/V2/MoneyManagement/index.js +0 -35
  1319. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  1320. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  1321. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  1322. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1323. package/esm/resources/V2/Network/index.d.ts +0 -13
  1324. package/esm/resources/V2/Network/index.js +0 -9
  1325. package/esm/resources/V2/Network/index.js.map +0 -1
  1326. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  1327. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  1328. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1329. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1330. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  1331. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1332. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  1333. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  1334. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1335. package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
  1336. package/esm/resources/V2/TestHelpers/index.js +0 -9
  1337. package/esm/resources/V2/TestHelpers/index.js.map +0 -1
@@ -19,7 +19,7 @@ export class RegistrationResource extends StripeResource {
19
19
  * Returns a Tax Registration object.
20
20
  */
21
21
  retrieve(id, params, options) {
22
- return this._makeRequest('GET', `/v1/tax/registrations/${id}`, params, options);
22
+ return this._makeRequest('GET', `/v1/tax/registrations/${encodeURIComponent(id)}`, params, options);
23
23
  }
24
24
  /**
25
25
  * Updates an existing Tax Registration object.
@@ -27,7 +27,7 @@ export class RegistrationResource extends StripeResource {
27
27
  * A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting expires_at.
28
28
  */
29
29
  update(id, params, options) {
30
- return this._makeRequest('POST', `/v1/tax/registrations/${id}`, params, options);
30
+ return this._makeRequest('POST', `/v1/tax/registrations/${encodeURIComponent(id)}`, params, options);
31
31
  }
32
32
  }
33
33
  //# sourceMappingURL=Registrations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Registrations.js","sourceRoot":"","sources":["../../../src/resources/Tax/Registrations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAIvD,MAAM,OAAO,oBAAqB,SAAQ,cAAc;IACtD;;OAEG;IACH,IAAI,CACF,MAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,uBAAuB,EAAE,MAAM,EAAE,OAAO,EAAE;YACxE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,MAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uBAAuB,EACvB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,yBAAyB,EAAE,EAAE,EAC7B,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;OAIG;IACH,MAAM,CACJ,EAAU,EACV,MAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,yBAAyB,EAAE,EAAE,EAC7B,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
1
+ {"version":3,"file":"Registrations.js","sourceRoot":"","sources":["../../../src/resources/Tax/Registrations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAIvD,MAAM,OAAO,oBAAqB,SAAQ,cAAc;IACtD;;OAEG;IACH,IAAI,CACF,MAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,uBAAuB,EAAE,MAAM,EAAE,OAAO,EAAE;YACxE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,MAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uBAAuB,EACvB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,yBAAyB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACjD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;OAIG;IACH,MAAM,CACJ,EAAU,EACV,MAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,yBAAyB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACjD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
@@ -16,11 +16,11 @@ export interface Settings {
16
16
  * String representing the object's type. Objects of the same type share the same value.
17
17
  */
18
18
  object: 'tax.settings';
19
- defaults: Tax.Settings.Defaults;
19
+ defaults: Settings.Defaults;
20
20
  /**
21
21
  * The place where your business is located.
22
22
  */
23
- head_office: Tax.Settings.HeadOffice | null;
23
+ head_office: Settings.HeadOffice | null;
24
24
  /**
25
25
  * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
26
26
  */
@@ -28,46 +28,44 @@ export interface Settings {
28
28
  /**
29
29
  * The status of the Tax `Settings`.
30
30
  */
31
- status: Tax.Settings.Status;
32
- status_details: Tax.Settings.StatusDetails;
31
+ status: Settings.Status;
32
+ status_details: Settings.StatusDetails;
33
33
  }
34
- export declare namespace Tax {
35
- namespace Settings {
36
- interface Defaults {
37
- /**
38
- * The tax calculation provider this account uses. Defaults to `stripe` when not using a [third-party provider](https://docs.stripe.com/tax/third-party-apps).
39
- */
40
- provider: Defaults.Provider;
41
- /**
42
- * Default [tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#tax-behavior) used to specify whether the price is considered inclusive of taxes or exclusive of taxes. If the item's price has a tax behavior set, it will take precedence over the default tax behavior.
43
- */
44
- tax_behavior: Defaults.TaxBehavior | null;
34
+ export declare namespace Settings {
35
+ interface Defaults {
36
+ /**
37
+ * The tax calculation provider this account uses. Defaults to `stripe` when not using a [third-party provider](https://docs.stripe.com/tax/third-party-apps).
38
+ */
39
+ provider: Defaults.Provider;
40
+ /**
41
+ * Default [tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#tax-behavior) used to specify whether the price is considered inclusive of taxes or exclusive of taxes. If the item's price has a tax behavior set, it will take precedence over the default tax behavior.
42
+ */
43
+ tax_behavior: Defaults.TaxBehavior | null;
44
+ /**
45
+ * Default [tax code](https://stripe.com/docs/tax/tax-categories) used to classify your products and prices.
46
+ */
47
+ tax_code: string | null;
48
+ }
49
+ interface HeadOffice {
50
+ address: Address;
51
+ }
52
+ type Status = 'active' | 'pending';
53
+ interface StatusDetails {
54
+ active?: StatusDetails.Active;
55
+ pending?: StatusDetails.Pending;
56
+ }
57
+ namespace Defaults {
58
+ type Provider = 'anrok' | 'avalara' | 'sphere' | 'stripe';
59
+ type TaxBehavior = 'exclusive' | 'inclusive' | 'inferred_by_currency';
60
+ }
61
+ namespace StatusDetails {
62
+ interface Active {
63
+ }
64
+ interface Pending {
45
65
  /**
46
- * Default [tax code](https://stripe.com/docs/tax/tax-categories) used to classify your products and prices.
66
+ * The list of missing fields that are required to perform calculations. It includes the entry `head_office` when the status is `pending`. It is recommended to set the optional values even if they aren't listed as required for calculating taxes. Calculations can fail if missing fields aren't explicitly provided on every call.
47
67
  */
48
- tax_code: string | null;
49
- }
50
- interface HeadOffice {
51
- address: Address;
52
- }
53
- type Status = 'active' | 'pending';
54
- interface StatusDetails {
55
- active?: StatusDetails.Active;
56
- pending?: StatusDetails.Pending;
57
- }
58
- namespace Defaults {
59
- type Provider = 'anrok' | 'avalara' | 'sphere' | 'stripe';
60
- type TaxBehavior = 'exclusive' | 'inclusive' | 'inferred_by_currency';
61
- }
62
- namespace StatusDetails {
63
- interface Active {
64
- }
65
- interface Pending {
66
- /**
67
- * The list of missing fields that are required to perform calculations. It includes the entry `head_office` when the status is `pending`. It is recommended to set the optional values even if they aren't listed as required for calculating taxes. Calculations can fail if missing fields aren't explicitly provided on every call.
68
- */
69
- missing_fields: Array<string> | null;
70
- }
68
+ missing_fields: Array<string> | null;
71
69
  }
72
70
  }
73
71
  }
@@ -39,11 +39,11 @@ export interface TransactionLineItem {
39
39
  /**
40
40
  * If `type=reversal`, contains information about what was reversed.
41
41
  */
42
- reversal: Tax.TransactionLineItem.Reversal | null;
42
+ reversal: TransactionLineItem.Reversal | null;
43
43
  /**
44
44
  * Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.
45
45
  */
46
- tax_behavior: Tax.TransactionLineItem.TaxBehavior;
46
+ tax_behavior: TransactionLineItem.TaxBehavior;
47
47
  /**
48
48
  * The [tax code](https://docs.stripe.com/tax/tax-categories) ID used for this resource.
49
49
  */
@@ -51,17 +51,15 @@ export interface TransactionLineItem {
51
51
  /**
52
52
  * If `reversal`, this line item reverses an earlier transaction.
53
53
  */
54
- type: Tax.TransactionLineItem.Type;
54
+ type: TransactionLineItem.Type;
55
55
  }
56
- export declare namespace Tax {
57
- namespace TransactionLineItem {
58
- interface Reversal {
59
- /**
60
- * The `id` of the line item to reverse in the original transaction.
61
- */
62
- original_line_item: string;
63
- }
64
- type TaxBehavior = 'exclusive' | 'inclusive';
65
- type Type = 'reversal' | 'transaction';
56
+ export declare namespace TransactionLineItem {
57
+ interface Reversal {
58
+ /**
59
+ * The `id` of the line item to reverse in the original transaction.
60
+ */
61
+ original_line_item: string;
66
62
  }
63
+ type TaxBehavior = 'exclusive' | 'inclusive';
64
+ type Type = 'reversal' | 'transaction';
67
65
  }
@@ -41,7 +41,7 @@ export interface Transaction {
41
41
  * The ID of an existing [Customer](https://docs.stripe.com/api/customers/object) used for the resource.
42
42
  */
43
43
  customer: string | null;
44
- customer_details: Tax.Transaction.CustomerDetails;
44
+ customer_details: Transaction.CustomerDetails;
45
45
  /**
46
46
  * The tax collected or refunded, by line item.
47
47
  */
@@ -65,15 +65,15 @@ export interface Transaction {
65
65
  /**
66
66
  * If `type=reversal`, contains information about what was reversed.
67
67
  */
68
- reversal: Tax.Transaction.Reversal | null;
68
+ reversal: Transaction.Reversal | null;
69
69
  /**
70
70
  * The details of the ship from location, such as the address.
71
71
  */
72
- ship_from_details: Tax.Transaction.ShipFromDetails | null;
72
+ ship_from_details: Transaction.ShipFromDetails | null;
73
73
  /**
74
74
  * The shipping cost details for the transaction.
75
75
  */
76
- shipping_cost: Tax.Transaction.ShippingCost | null;
76
+ shipping_cost: Transaction.ShippingCost | null;
77
77
  /**
78
78
  * The calculation uses the tax rules and rates that are in effect at this timestamp. You can use a date up to 31 days in the past or up to 31 days in the future. If you use a future date, Stripe doesn't guarantee that the expected tax rules and rate being used match the actual rules and rate that will be in effect on that date. We deploy tax changes before their effective date, but not within a fixed window.
79
79
  */
@@ -81,151 +81,149 @@ export interface Transaction {
81
81
  /**
82
82
  * If `reversal`, this transaction reverses an earlier transaction.
83
83
  */
84
- type: Tax.Transaction.Type;
84
+ type: Transaction.Type;
85
85
  }
86
- export declare namespace Tax {
87
- namespace Transaction {
88
- interface CustomerDetails {
89
- /**
90
- * The customer's postal address (for example, home or business location).
91
- */
92
- address: Address | null;
93
- /**
94
- * The type of customer address provided.
95
- */
96
- address_source: CustomerDetails.AddressSource | null;
97
- /**
98
- * The customer's IP address (IPv4 or IPv6).
99
- */
100
- ip_address: string | null;
101
- /**
102
- * The customer's tax IDs (for example, EU VAT numbers).
103
- */
104
- tax_ids: Array<CustomerDetails.TaxId>;
86
+ export declare namespace Transaction {
87
+ interface CustomerDetails {
88
+ /**
89
+ * The customer's postal address (for example, home or business location).
90
+ */
91
+ address: Address | null;
92
+ /**
93
+ * The type of customer address provided.
94
+ */
95
+ address_source: CustomerDetails.AddressSource | null;
96
+ /**
97
+ * The customer's IP address (IPv4 or IPv6).
98
+ */
99
+ ip_address: string | null;
100
+ /**
101
+ * The customer's tax IDs (for example, EU VAT numbers).
102
+ */
103
+ tax_ids: Array<CustomerDetails.TaxId>;
104
+ /**
105
+ * The taxability override used for taxation.
106
+ */
107
+ taxability_override: CustomerDetails.TaxabilityOverride;
108
+ }
109
+ interface Reversal {
110
+ /**
111
+ * The `id` of the reversed `Transaction` object.
112
+ */
113
+ original_transaction: string | null;
114
+ }
115
+ interface ShipFromDetails {
116
+ address: Address;
117
+ }
118
+ interface ShippingCost {
119
+ /**
120
+ * The shipping amount in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.
121
+ */
122
+ amount: number;
123
+ /**
124
+ * The amount of tax calculated for shipping, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
125
+ */
126
+ amount_tax: number;
127
+ /**
128
+ * The ID of an existing [ShippingRate](https://docs.stripe.com/api/shipping_rates/object).
129
+ */
130
+ shipping_rate?: string;
131
+ /**
132
+ * Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.
133
+ */
134
+ tax_behavior: ShippingCost.TaxBehavior;
135
+ /**
136
+ * Detailed account of taxes relevant to shipping cost. (It is not populated for the transaction resource object and will be removed in the next API version.)
137
+ */
138
+ tax_breakdown?: Array<ShippingCost.TaxBreakdown>;
139
+ /**
140
+ * The [tax code](https://docs.stripe.com/tax/tax-categories) ID used for shipping.
141
+ */
142
+ tax_code: string;
143
+ }
144
+ type Type = 'reversal' | 'transaction';
145
+ namespace CustomerDetails {
146
+ type AddressSource = 'billing' | 'shipping';
147
+ interface TaxId {
105
148
  /**
106
- * The taxability override used for taxation.
149
+ * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
107
150
  */
108
- taxability_override: CustomerDetails.TaxabilityOverride;
109
- }
110
- interface Reversal {
151
+ type: TaxId.Type;
111
152
  /**
112
- * The `id` of the reversed `Transaction` object.
153
+ * The value of the tax ID.
113
154
  */
114
- original_transaction: string | null;
155
+ value: string;
115
156
  }
116
- interface ShipFromDetails {
117
- address: Address;
157
+ type TaxabilityOverride = 'customer_exempt' | 'none' | 'reverse_charge';
158
+ namespace TaxId {
159
+ type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'bf_ifu' | 'bg_uic' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'gb_vat' | 'ge_vat' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'unknown' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin';
118
160
  }
119
- interface ShippingCost {
161
+ }
162
+ namespace ShippingCost {
163
+ type TaxBehavior = 'exclusive' | 'inclusive';
164
+ interface TaxBreakdown {
120
165
  /**
121
- * The shipping amount in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.
166
+ * The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
122
167
  */
123
168
  amount: number;
169
+ jurisdiction: TaxBreakdown.Jurisdiction;
124
170
  /**
125
- * The amount of tax calculated for shipping, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
126
- */
127
- amount_tax: number;
128
- /**
129
- * The ID of an existing [ShippingRate](https://docs.stripe.com/api/shipping_rates/object).
171
+ * Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address).
130
172
  */
131
- shipping_rate?: string;
173
+ sourcing: TaxBreakdown.Sourcing;
132
174
  /**
133
- * Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.
175
+ * Details regarding the rate for this tax. This field will be `null` when the tax is not imposed, for example if the product is exempt from tax.
134
176
  */
135
- tax_behavior: ShippingCost.TaxBehavior;
177
+ tax_rate_details: TaxBreakdown.TaxRateDetails | null;
136
178
  /**
137
- * Detailed account of taxes relevant to shipping cost. (It is not populated for the transaction resource object and will be removed in the next API version.)
179
+ * The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.
138
180
  */
139
- tax_breakdown?: Array<ShippingCost.TaxBreakdown>;
181
+ taxability_reason: TaxBreakdown.TaxabilityReason;
140
182
  /**
141
- * The [tax code](https://docs.stripe.com/tax/tax-categories) ID used for shipping.
183
+ * The amount on which tax is calculated, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
142
184
  */
143
- tax_code: string;
185
+ taxable_amount: number;
144
186
  }
145
- type Type = 'reversal' | 'transaction';
146
- namespace CustomerDetails {
147
- type AddressSource = 'billing' | 'shipping';
148
- interface TaxId {
187
+ namespace TaxBreakdown {
188
+ interface Jurisdiction {
149
189
  /**
150
- * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
190
+ * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
151
191
  */
152
- type: TaxId.Type;
192
+ country: string;
153
193
  /**
154
- * The value of the tax ID.
194
+ * A human-readable name for the jurisdiction imposing the tax.
155
195
  */
156
- value: string;
157
- }
158
- type TaxabilityOverride = 'customer_exempt' | 'none' | 'reverse_charge';
159
- namespace TaxId {
160
- type Type = 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'bf_ifu' | 'bg_uic' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'et_tin' | 'eu_oss_vat' | 'eu_vat' | 'fo_vat' | 'gb_vat' | 'ge_vat' | 'gi_tin' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_cf' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_nip' | 'py_ruc' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'unknown' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin';
161
- }
162
- }
163
- namespace ShippingCost {
164
- type TaxBehavior = 'exclusive' | 'inclusive';
165
- interface TaxBreakdown {
196
+ display_name: string;
166
197
  /**
167
- * The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
198
+ * Indicates the level of the jurisdiction imposing the tax.
168
199
  */
169
- amount: number;
170
- jurisdiction: TaxBreakdown.Jurisdiction;
200
+ level: Jurisdiction.Level;
171
201
  /**
172
- * Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address).
202
+ * [ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, "NY" for New York, United States.
173
203
  */
174
- sourcing: TaxBreakdown.Sourcing;
204
+ state: string | null;
205
+ }
206
+ type Sourcing = 'destination' | 'origin';
207
+ interface TaxRateDetails {
175
208
  /**
176
- * Details regarding the rate for this tax. This field will be `null` when the tax is not imposed, for example if the product is exempt from tax.
209
+ * A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)".
177
210
  */
178
- tax_rate_details: TaxBreakdown.TaxRateDetails | null;
211
+ display_name: string;
179
212
  /**
180
- * The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.
213
+ * The tax rate percentage as a string. For example, 8.5% is represented as "8.5".
181
214
  */
182
- taxability_reason: TaxBreakdown.TaxabilityReason;
215
+ percentage_decimal: string;
183
216
  /**
184
- * The amount on which tax is calculated, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
217
+ * The tax type, such as `vat` or `sales_tax`.
185
218
  */
186
- taxable_amount: number;
219
+ tax_type: TaxRateDetails.TaxType;
220
+ }
221
+ type TaxabilityReason = 'customer_exempt' | 'not_collecting' | 'not_subject_to_tax' | 'not_supported' | 'portion_product_exempt' | 'portion_reduced_rated' | 'portion_standard_rated' | 'product_exempt' | 'product_exempt_holiday' | 'proportionally_rated' | 'reduced_rated' | 'reverse_charge' | 'standard_rated' | 'taxable_basis_reduced' | 'zero_rated';
222
+ namespace Jurisdiction {
223
+ type Level = 'city' | 'country' | 'county' | 'district' | 'state';
187
224
  }
188
- namespace TaxBreakdown {
189
- interface Jurisdiction {
190
- /**
191
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
192
- */
193
- country: string;
194
- /**
195
- * A human-readable name for the jurisdiction imposing the tax.
196
- */
197
- display_name: string;
198
- /**
199
- * Indicates the level of the jurisdiction imposing the tax.
200
- */
201
- level: Jurisdiction.Level;
202
- /**
203
- * [ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, "NY" for New York, United States.
204
- */
205
- state: string | null;
206
- }
207
- type Sourcing = 'destination' | 'origin' | 'performance';
208
- interface TaxRateDetails {
209
- /**
210
- * A localized display name for tax type, intended to be human-readable. For example, "Local Sales and Use Tax", "Value-added tax (VAT)", or "Umsatzsteuer (USt.)".
211
- */
212
- display_name: string;
213
- /**
214
- * The tax rate percentage as a string. For example, 8.5% is represented as "8.5".
215
- */
216
- percentage_decimal: string;
217
- /**
218
- * The tax type, such as `vat` or `sales_tax`.
219
- */
220
- tax_type: TaxRateDetails.TaxType;
221
- }
222
- type TaxabilityReason = 'customer_exempt' | 'not_collecting' | 'not_subject_to_tax' | 'not_supported' | 'portion_product_exempt' | 'portion_reduced_rated' | 'portion_standard_rated' | 'product_exempt' | 'product_exempt_holiday' | 'proportionally_rated' | 'reduced_rated' | 'reverse_charge' | 'standard_rated' | 'taxable_basis_reduced' | 'zero_rated';
223
- namespace Jurisdiction {
224
- type Level = 'city' | 'country' | 'county' | 'district' | 'state';
225
- }
226
- namespace TaxRateDetails {
227
- type TaxType = 'admissions_tax' | 'amusement_tax' | 'attendance_tax' | 'communications_tax' | 'entertainment_tax' | 'gross_receipts_tax' | 'gst' | 'hospitality_tax' | 'hst' | 'igst' | 'jct' | 'lease_tax' | 'luxury_tax' | 'pst' | 'qst' | 'resort_tax' | 'retail_delivery_fee' | 'rst' | 'sales_tax' | 'service_tax' | 'tourism_tax' | 'vat';
228
- }
225
+ namespace TaxRateDetails {
226
+ type TaxType = 'amusement_tax' | 'communications_tax' | 'gst' | 'hst' | 'igst' | 'jct' | 'lease_tax' | 'pst' | 'qst' | 'retail_delivery_fee' | 'rst' | 'sales_tax' | 'service_tax' | 'vat';
229
227
  }
230
228
  }
231
229
  }
@@ -5,7 +5,7 @@ export class TransactionResource extends StripeResource {
5
5
  * Retrieves a Tax Transaction object.
6
6
  */
7
7
  retrieve(id, params, options) {
8
- return this._makeRequest('GET', `/v1/tax/transactions/${id}`, params, options);
8
+ return this._makeRequest('GET', `/v1/tax/transactions/${encodeURIComponent(id)}`, params, options);
9
9
  }
10
10
  /**
11
11
  * Creates a Tax Transaction from a calculation, if that calculation hasn't expired. Calculations expire after 90 days.
@@ -23,7 +23,7 @@ export class TransactionResource extends StripeResource {
23
23
  * Retrieves the line items of a committed standalone transaction as a collection.
24
24
  */
25
25
  listLineItems(id, params, options) {
26
- return this._makeRequest('GET', `/v1/tax/transactions/${id}/line_items`, params, options, {
26
+ return this._makeRequest('GET', `/v1/tax/transactions/${encodeURIComponent(id)}/line_items`, params, options, {
27
27
  methodType: 'list',
28
28
  });
29
29
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Transactions.js","sourceRoot":"","sources":["../../../src/resources/Tax/Transactions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAUvD,MAAM,OAAO,mBAAoB,SAAQ,cAAc;IACrD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,EAAE,EAAE,EAC5B,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,qBAAqB,CACnB,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,8CAA8C,EAC9C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,cAAc,CACZ,MAA2C,EAC3C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sCAAsC,EACtC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,aAAa,CACX,EAAU,EACV,MAA2C,EAC3C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,EAAE,aAAa,EACvC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;CACF"}
1
+ {"version":3,"file":"Transactions.js","sourceRoot":"","sources":["../../../src/resources/Tax/Transactions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAUvD,MAAM,OAAO,mBAAoB,SAAQ,cAAc;IACrD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAChD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,qBAAqB,CACnB,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,8CAA8C,EAC9C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,cAAc,CACZ,MAA2C,EAC3C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sCAAsC,EACtC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,aAAa,CACX,EAAU,EACV,MAA2C,EAC3C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,aAAa,EAC3D,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;CACF"}
@@ -1,17 +1,13 @@
1
1
  import { Stripe } from '../../stripe.core.js';
2
2
  import { Tax as TaxNamespace0, Association, AssociationResource } from './Associations.js';
3
3
  import { Tax as TaxNamespace1, Calculation, CalculationResource } from './Calculations.js';
4
- import { Tax as TaxNamespace2, Form, FormResource } from './Forms.js';
5
- import { Tax as TaxNamespace3, Location, LocationResource } from './Locations.js';
6
- import { Tax as TaxNamespace4, Registration, RegistrationResource } from './Registrations.js';
7
- import { Tax as TaxNamespace5, Settings, SettingResource } from './Settings.js';
8
- import { Tax as TaxNamespace6, Transaction, TransactionResource } from './Transactions.js';
4
+ import { Tax as TaxNamespace2, Registration, RegistrationResource } from './Registrations.js';
5
+ import { Tax as TaxNamespace3, Settings, SettingResource } from './Settings.js';
6
+ import { Tax as TaxNamespace4, Transaction, TransactionResource } from './Transactions.js';
9
7
  import { CalculationLineItem } from './CalculationLineItems.js';
10
8
  import { TransactionLineItem } from './TransactionLineItems.js';
11
9
  export { Association } from './Associations.js';
12
10
  export { Calculation } from './Calculations.js';
13
- export { Form } from './Forms.js';
14
- export { Location } from './Locations.js';
15
11
  export { Registration } from './Registrations.js';
16
12
  export { Settings } from './Settings.js';
17
13
  export { Transaction } from './Transactions.js';
@@ -21,8 +17,6 @@ export declare class Tax {
21
17
  private readonly stripe;
22
18
  associations: AssociationResource;
23
19
  calculations: CalculationResource;
24
- forms: FormResource;
25
- locations: LocationResource;
26
20
  registrations: RegistrationResource;
27
21
  settings: SettingResource;
28
22
  transactions: TransactionResource;
@@ -30,32 +24,24 @@ export declare class Tax {
30
24
  }
31
25
  export declare namespace Tax {
32
26
  export import AssociationFindParams = TaxNamespace0.AssociationFindParams;
33
- export { Association };
27
+ export { Association, AssociationResource };
34
28
  export import CalculationRetrieveParams = TaxNamespace1.CalculationRetrieveParams;
35
29
  export import CalculationCreateParams = TaxNamespace1.CalculationCreateParams;
36
30
  export import CalculationListLineItemsParams = TaxNamespace1.CalculationListLineItemsParams;
37
- export { Calculation };
38
- export import FormListParams = TaxNamespace2.FormListParams;
39
- export import FormRetrieveParams = TaxNamespace2.FormRetrieveParams;
40
- export import FormPdfParams = TaxNamespace2.FormPdfParams;
41
- export { Form };
42
- export import LocationListParams = TaxNamespace3.LocationListParams;
43
- export import LocationCreateParams = TaxNamespace3.LocationCreateParams;
44
- export import LocationRetrieveParams = TaxNamespace3.LocationRetrieveParams;
45
- export { Location };
46
- export import RegistrationListParams = TaxNamespace4.RegistrationListParams;
47
- export import RegistrationCreateParams = TaxNamespace4.RegistrationCreateParams;
48
- export import RegistrationRetrieveParams = TaxNamespace4.RegistrationRetrieveParams;
49
- export import RegistrationUpdateParams = TaxNamespace4.RegistrationUpdateParams;
50
- export { Registration };
51
- export import SettingsRetrieveParams = TaxNamespace5.SettingsRetrieveParams;
52
- export import SettingsUpdateParams = TaxNamespace5.SettingsUpdateParams;
53
- export { Settings };
54
- export import TransactionRetrieveParams = TaxNamespace6.TransactionRetrieveParams;
55
- export import TransactionCreateFromCalculationParams = TaxNamespace6.TransactionCreateFromCalculationParams;
56
- export import TransactionCreateReversalParams = TaxNamespace6.TransactionCreateReversalParams;
57
- export import TransactionListLineItemsParams = TaxNamespace6.TransactionListLineItemsParams;
58
- export { Transaction };
31
+ export { Calculation, CalculationResource };
32
+ export import RegistrationListParams = TaxNamespace2.RegistrationListParams;
33
+ export import RegistrationCreateParams = TaxNamespace2.RegistrationCreateParams;
34
+ export import RegistrationRetrieveParams = TaxNamespace2.RegistrationRetrieveParams;
35
+ export import RegistrationUpdateParams = TaxNamespace2.RegistrationUpdateParams;
36
+ export { Registration, RegistrationResource };
37
+ export import SettingsRetrieveParams = TaxNamespace3.SettingsRetrieveParams;
38
+ export import SettingsUpdateParams = TaxNamespace3.SettingsUpdateParams;
39
+ export { Settings, SettingResource };
40
+ export import TransactionRetrieveParams = TaxNamespace4.TransactionRetrieveParams;
41
+ export import TransactionCreateFromCalculationParams = TaxNamespace4.TransactionCreateFromCalculationParams;
42
+ export import TransactionCreateReversalParams = TaxNamespace4.TransactionCreateReversalParams;
43
+ export import TransactionListLineItemsParams = TaxNamespace4.TransactionListLineItemsParams;
44
+ export { Transaction, TransactionResource };
59
45
  export { CalculationLineItem };
60
46
  export { TransactionLineItem };
61
47
  }
@@ -1,8 +1,6 @@
1
1
  // File generated from our OpenAPI spec
2
2
  import { AssociationResource, } from './Associations.js';
3
3
  import { CalculationResource, } from './Calculations.js';
4
- import { FormResource } from './Forms.js';
5
- import { LocationResource } from './Locations.js';
6
4
  import { RegistrationResource, } from './Registrations.js';
7
5
  import { SettingResource } from './Settings.js';
8
6
  import { TransactionResource, } from './Transactions.js';
@@ -11,8 +9,6 @@ export class Tax {
11
9
  this.stripe = stripe;
12
10
  this.associations = new AssociationResource(stripe);
13
11
  this.calculations = new CalculationResource(stripe);
14
- this.forms = new FormResource(stripe);
15
- this.locations = new LocationResource(stripe);
16
12
  this.registrations = new RegistrationResource(stripe);
17
13
  this.settings = new SettingResource(stripe);
18
14
  this.transactions = new TransactionResource(stripe);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Tax/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAGvC,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA6B,YAAY,EAAC,MAAM,YAAY,CAAC;AACpE,OAAO,EAAiC,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAGL,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAiC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9E,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAc3B,MAAM,OAAO,GAAG;IASd,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,YAAY,GAAG,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,YAAY,GAAG,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,KAAK,GAAG,IAAI,YAAY,CAAC,MAAM,CAAC,CAAC;QACtC,IAAI,CAAC,SAAS,GAAG,IAAI,gBAAgB,CAAC,MAAM,CAAC,CAAC;QAC9C,IAAI,CAAC,aAAa,GAAG,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC;QACtD,IAAI,CAAC,QAAQ,GAAG,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;QAC5C,IAAI,CAAC,YAAY,GAAG,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;CACF"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Tax/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAGvC,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAiC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9E,OAAO,EAGL,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAY3B,MAAM,OAAO,GAAG;IAOd,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,YAAY,GAAG,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,YAAY,GAAG,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,aAAa,GAAG,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC;QACtD,IAAI,CAAC,QAAQ,GAAG,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;QAC5C,IAAI,CAAC,YAAY,GAAG,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;CACF"}
@@ -28,21 +28,6 @@ export interface TaxCode {
28
28
  * A short name for the tax code.
29
29
  */
30
30
  name: string;
31
- /**
32
- * An object that describes more information about the tax location required for this tax code. Some [tax codes](https://docs.stripe.com/tax/tax-for-tickets/integration-guide#types-of-products) require a tax location of type `performance` to calculate tax correctly.
33
- */
34
- requirements?: TaxCode.Requirements | null;
35
- }
36
- export declare namespace TaxCode {
37
- interface Requirements {
38
- /**
39
- * Describes whether a performance location is required for a successful tax calculation with a tax code.
40
- */
41
- performance_location?: Requirements.PerformanceLocation;
42
- }
43
- namespace Requirements {
44
- type PerformanceLocation = 'optional' | 'required';
45
- }
46
31
  }
47
32
  export interface TaxCodeRetrieveParams {
48
33
  /**
@@ -13,7 +13,7 @@ export class TaxCodeResource extends StripeResource {
13
13
  * Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.
14
14
  */
15
15
  retrieve(id, params, options) {
16
- return this._makeRequest('GET', `/v1/tax_codes/${id}`, params, options);
16
+ return this._makeRequest('GET', `/v1/tax_codes/${encodeURIComponent(id)}`, params, options);
17
17
  }
18
18
  }
19
19
  //# sourceMappingURL=TaxCodes.js.map