stripe 22.3.0-beta.1 → 22.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1339) hide show
  1. package/CHANGELOG.md +158 -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 +13 -10
  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/Webhooks.d.ts +2 -2
  14. package/cjs/apiVersion.d.ts +2 -1
  15. package/cjs/apiVersion.js +3 -2
  16. package/cjs/apiVersion.js.map +1 -1
  17. package/cjs/autoPagination.js +27 -2
  18. package/cjs/autoPagination.js.map +1 -1
  19. package/cjs/platform/NodePlatformFunctions.d.ts +3 -0
  20. package/cjs/platform/NodePlatformFunctions.js +36 -2
  21. package/cjs/platform/NodePlatformFunctions.js.map +1 -1
  22. package/cjs/platform/PlatformFunctions.d.ts +1 -0
  23. package/cjs/platform/PlatformFunctions.js +3 -0
  24. package/cjs/platform/PlatformFunctions.js.map +1 -1
  25. package/cjs/resources/AccountLinks.d.ts +1 -1
  26. package/cjs/resources/AccountSessions.d.ts +0 -262
  27. package/cjs/resources/AccountSessions.js.map +1 -1
  28. package/cjs/resources/Accounts.d.ts +5 -829
  29. package/cjs/resources/Accounts.js +18 -32
  30. package/cjs/resources/Accounts.js.map +1 -1
  31. package/cjs/resources/ApplePayDomains.js +2 -2
  32. package/cjs/resources/ApplePayDomains.js.map +1 -1
  33. package/cjs/resources/ApplicationFees.js +5 -5
  34. package/cjs/resources/ApplicationFees.js.map +1 -1
  35. package/cjs/resources/Apps/Secrets.d.ts +14 -16
  36. package/cjs/resources/Apps/index.d.ts +1 -1
  37. package/cjs/resources/Balance.d.ts +0 -67
  38. package/cjs/resources/BalanceTransactions.d.ts +5 -5
  39. package/cjs/resources/BalanceTransactions.js +3 -3
  40. package/cjs/resources/BalanceTransactions.js.map +1 -1
  41. package/cjs/resources/BankAccounts.d.ts +2 -2
  42. package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
  43. package/cjs/resources/Billing/Alerts.d.ts +27 -29
  44. package/cjs/resources/Billing/Alerts.js +4 -4
  45. package/cjs/resources/Billing/Alerts.js.map +1 -1
  46. package/cjs/resources/Billing/CreditBalanceSummary.d.ts +40 -42
  47. package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +74 -76
  48. package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -1
  49. package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  50. package/cjs/resources/Billing/CreditGrants.d.ts +41 -43
  51. package/cjs/resources/Billing/CreditGrants.js +4 -4
  52. package/cjs/resources/Billing/CreditGrants.js.map +1 -1
  53. package/cjs/resources/Billing/MeterEventAdjustments.d.ts +9 -11
  54. package/cjs/resources/Billing/Meters.d.ts +39 -41
  55. package/cjs/resources/Billing/Meters.js +5 -5
  56. package/cjs/resources/Billing/Meters.js.map +1 -1
  57. package/cjs/resources/Billing/index.d.ts +7 -10
  58. package/cjs/resources/Billing/index.js +0 -2
  59. package/cjs/resources/Billing/index.js.map +1 -1
  60. package/cjs/resources/BillingPortal/Configurations.d.ts +132 -134
  61. package/cjs/resources/BillingPortal/Configurations.js +2 -2
  62. package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
  63. package/cjs/resources/BillingPortal/Sessions.d.ts +100 -102
  64. package/cjs/resources/BillingPortal/index.d.ts +2 -2
  65. package/cjs/resources/Capabilities.d.ts +2 -2
  66. package/cjs/resources/Cards.d.ts +0 -4
  67. package/cjs/resources/Charges.d.ts +84 -3066
  68. package/cjs/resources/Charges.js +3 -3
  69. package/cjs/resources/Charges.js.map +1 -1
  70. package/cjs/resources/Checkout/Sessions.d.ts +1598 -1900
  71. package/cjs/resources/Checkout/Sessions.js +4 -4
  72. package/cjs/resources/Checkout/Sessions.js.map +1 -1
  73. package/cjs/resources/Checkout/index.d.ts +1 -1
  74. package/cjs/resources/Climate/Orders.d.ts +47 -49
  75. package/cjs/resources/Climate/Orders.js +3 -3
  76. package/cjs/resources/Climate/Orders.js.map +1 -1
  77. package/cjs/resources/Climate/Products.d.ts +15 -17
  78. package/cjs/resources/Climate/Products.js +1 -1
  79. package/cjs/resources/Climate/Products.js.map +1 -1
  80. package/cjs/resources/Climate/Suppliers.d.ts +25 -27
  81. package/cjs/resources/Climate/Suppliers.js +1 -1
  82. package/cjs/resources/Climate/Suppliers.js.map +1 -1
  83. package/cjs/resources/Climate/index.d.ts +3 -3
  84. package/cjs/resources/ConfirmationTokens.d.ts +13 -67
  85. package/cjs/resources/ConfirmationTokens.js +1 -1
  86. package/cjs/resources/ConfirmationTokens.js.map +1 -1
  87. package/cjs/resources/CountrySpecs.js +1 -1
  88. package/cjs/resources/CountrySpecs.js.map +1 -1
  89. package/cjs/resources/Coupons.d.ts +0 -53
  90. package/cjs/resources/Coupons.js +3 -16
  91. package/cjs/resources/Coupons.js.map +1 -1
  92. package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
  93. package/cjs/resources/CreditNotes.d.ts +8 -5
  94. package/cjs/resources/CreditNotes.js +6 -4
  95. package/cjs/resources/CreditNotes.js.map +1 -1
  96. package/cjs/resources/CustomerSessions.d.ts +0 -68
  97. package/cjs/resources/Customers.d.ts +1 -7
  98. package/cjs/resources/Customers.js +31 -41
  99. package/cjs/resources/Customers.js.map +1 -1
  100. package/cjs/resources/Disputes.d.ts +28 -30
  101. package/cjs/resources/Disputes.js +3 -3
  102. package/cjs/resources/Disputes.js.map +1 -1
  103. package/cjs/resources/Entitlements/ActiveEntitlements.js +1 -1
  104. package/cjs/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  105. package/cjs/resources/Entitlements/Features.js +2 -2
  106. package/cjs/resources/Entitlements/Features.js.map +1 -1
  107. package/cjs/resources/Entitlements/index.d.ts +2 -2
  108. package/cjs/resources/EphemeralKeys.js +1 -1
  109. package/cjs/resources/EphemeralKeys.js.map +1 -1
  110. package/cjs/resources/Events.d.ts +3 -548
  111. package/cjs/resources/Events.js +1 -1
  112. package/cjs/resources/Events.js.map +1 -1
  113. package/cjs/resources/ExchangeRates.js +1 -1
  114. package/cjs/resources/ExchangeRates.js.map +1 -1
  115. package/cjs/resources/ExternalAccounts.d.ts +1 -212
  116. package/cjs/resources/ExternalAccounts.js +0 -44
  117. package/cjs/resources/ExternalAccounts.js.map +1 -1
  118. package/cjs/resources/FileLinks.js +2 -2
  119. package/cjs/resources/FileLinks.js.map +1 -1
  120. package/cjs/resources/Files.js +1 -1
  121. package/cjs/resources/Files.js.map +1 -1
  122. package/cjs/resources/FinancialConnections/Accounts.d.ts +169 -217
  123. package/cjs/resources/FinancialConnections/Accounts.js +6 -14
  124. package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
  125. package/cjs/resources/FinancialConnections/Sessions.d.ts +43 -193
  126. package/cjs/resources/FinancialConnections/Sessions.js +1 -1
  127. package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
  128. package/cjs/resources/FinancialConnections/Transactions.d.ts +13 -15
  129. package/cjs/resources/FinancialConnections/Transactions.js +1 -1
  130. package/cjs/resources/FinancialConnections/Transactions.js.map +1 -1
  131. package/cjs/resources/FinancialConnections/index.d.ts +9 -24
  132. package/cjs/resources/FinancialConnections/index.js +0 -4
  133. package/cjs/resources/FinancialConnections/index.js.map +1 -1
  134. package/cjs/resources/Forwarding/Requests.d.ts +57 -59
  135. package/cjs/resources/Forwarding/Requests.js +1 -1
  136. package/cjs/resources/Forwarding/Requests.js.map +1 -1
  137. package/cjs/resources/Forwarding/index.d.ts +1 -1
  138. package/cjs/resources/Identity/VerificationReports.d.ts +255 -257
  139. package/cjs/resources/Identity/VerificationReports.js +1 -1
  140. package/cjs/resources/Identity/VerificationReports.js.map +1 -1
  141. package/cjs/resources/Identity/VerificationSessions.d.ts +148 -150
  142. package/cjs/resources/Identity/VerificationSessions.js +4 -4
  143. package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
  144. package/cjs/resources/Identity/index.d.ts +2 -2
  145. package/cjs/resources/InvoiceItems.d.ts +0 -85
  146. package/cjs/resources/InvoiceItems.js +3 -3
  147. package/cjs/resources/InvoiceItems.js.map +1 -1
  148. package/cjs/resources/InvoiceLineItems.d.ts +2 -40
  149. package/cjs/resources/InvoicePayments.js +1 -1
  150. package/cjs/resources/InvoicePayments.js.map +1 -1
  151. package/cjs/resources/InvoiceRenderingTemplates.js +3 -3
  152. package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
  153. package/cjs/resources/Invoices.d.ts +23 -1341
  154. package/cjs/resources/Invoices.js +14 -55
  155. package/cjs/resources/Invoices.js.map +1 -1
  156. package/cjs/resources/Issuing/Authorizations.d.ts +354 -356
  157. package/cjs/resources/Issuing/Authorizations.js +4 -4
  158. package/cjs/resources/Issuing/Authorizations.js.map +1 -1
  159. package/cjs/resources/Issuing/Cardholders.d.ts +144 -147
  160. package/cjs/resources/Issuing/Cardholders.js +2 -2
  161. package/cjs/resources/Issuing/Cardholders.js.map +1 -1
  162. package/cjs/resources/Issuing/Cards.d.ts +183 -185
  163. package/cjs/resources/Issuing/Cards.js +2 -2
  164. package/cjs/resources/Issuing/Cards.js.map +1 -1
  165. package/cjs/resources/Issuing/Disputes.d.ts +215 -217
  166. package/cjs/resources/Issuing/Disputes.js +3 -3
  167. package/cjs/resources/Issuing/Disputes.js.map +1 -1
  168. package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +47 -49
  169. package/cjs/resources/Issuing/PersonalizationDesigns.js +2 -2
  170. package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  171. package/cjs/resources/Issuing/PhysicalBundles.d.ts +24 -26
  172. package/cjs/resources/Issuing/PhysicalBundles.js +1 -1
  173. package/cjs/resources/Issuing/PhysicalBundles.js.map +1 -1
  174. package/cjs/resources/Issuing/Tokens.d.ts +130 -132
  175. package/cjs/resources/Issuing/Tokens.js +2 -2
  176. package/cjs/resources/Issuing/Tokens.js.map +1 -1
  177. package/cjs/resources/Issuing/Transactions.d.ts +223 -234
  178. package/cjs/resources/Issuing/Transactions.js +2 -2
  179. package/cjs/resources/Issuing/Transactions.js.map +1 -1
  180. package/cjs/resources/Issuing/index.d.ts +30 -55
  181. package/cjs/resources/Issuing/index.js +0 -6
  182. package/cjs/resources/Issuing/index.js.map +1 -1
  183. package/cjs/resources/LineItems.d.ts +4 -30
  184. package/cjs/resources/Mandates.d.ts +1 -33
  185. package/cjs/resources/Mandates.js +1 -9
  186. package/cjs/resources/Mandates.js.map +1 -1
  187. package/cjs/resources/PaymentAttemptRecords.d.ts +9 -92
  188. package/cjs/resources/PaymentAttemptRecords.js +1 -1
  189. package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
  190. package/cjs/resources/PaymentIntents.d.ts +6495 -17272
  191. package/cjs/resources/PaymentIntents.js +9 -36
  192. package/cjs/resources/PaymentIntents.js.map +1 -1
  193. package/cjs/resources/PaymentLinks.d.ts +6 -19
  194. package/cjs/resources/PaymentLinks.js +3 -3
  195. package/cjs/resources/PaymentLinks.js.map +1 -1
  196. package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -350
  197. package/cjs/resources/PaymentMethodConfigurations.js +2 -2
  198. package/cjs/resources/PaymentMethodConfigurations.js.map +1 -1
  199. package/cjs/resources/PaymentMethodDomains.js +3 -3
  200. package/cjs/resources/PaymentMethodDomains.js.map +1 -1
  201. package/cjs/resources/PaymentMethods.d.ts +16 -152
  202. package/cjs/resources/PaymentMethods.js +4 -4
  203. package/cjs/resources/PaymentMethods.js.map +1 -1
  204. package/cjs/resources/PaymentRecords.d.ts +19 -102
  205. package/cjs/resources/PaymentRecords.js +7 -7
  206. package/cjs/resources/PaymentRecords.js.map +1 -1
  207. package/cjs/resources/Payouts.js +4 -4
  208. package/cjs/resources/Payouts.js.map +1 -1
  209. package/cjs/resources/Persons.d.ts +2 -2
  210. package/cjs/resources/Plans.d.ts +0 -16
  211. package/cjs/resources/Plans.js +3 -3
  212. package/cjs/resources/Plans.js.map +1 -1
  213. package/cjs/resources/Prices.d.ts +0 -52
  214. package/cjs/resources/Prices.js +2 -2
  215. package/cjs/resources/Prices.js.map +1 -1
  216. package/cjs/resources/Products.d.ts +0 -42
  217. package/cjs/resources/Products.js +7 -7
  218. package/cjs/resources/Products.js.map +1 -1
  219. package/cjs/resources/PromotionCodes.d.ts +0 -12
  220. package/cjs/resources/PromotionCodes.js +2 -29
  221. package/cjs/resources/PromotionCodes.js.map +1 -1
  222. package/cjs/resources/Quotes.d.ts +165 -2374
  223. package/cjs/resources/Quotes.js +20 -1180
  224. package/cjs/resources/Quotes.js.map +1 -1
  225. package/cjs/resources/Radar/EarlyFraudWarnings.js +1 -1
  226. package/cjs/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  227. package/cjs/resources/Radar/PaymentEvaluations.d.ts +294 -296
  228. package/cjs/resources/Radar/ValueListItems.d.ts +14 -16
  229. package/cjs/resources/Radar/ValueListItems.js +2 -2
  230. package/cjs/resources/Radar/ValueListItems.js.map +1 -1
  231. package/cjs/resources/Radar/ValueLists.d.ts +18 -20
  232. package/cjs/resources/Radar/ValueLists.js +3 -3
  233. package/cjs/resources/Radar/ValueLists.js.map +1 -1
  234. package/cjs/resources/Radar/index.d.ts +8 -6
  235. package/cjs/resources/Radar/index.js.map +1 -1
  236. package/cjs/resources/Refunds.d.ts +0 -11
  237. package/cjs/resources/Refunds.js +3 -3
  238. package/cjs/resources/Refunds.js.map +1 -1
  239. package/cjs/resources/Reporting/ReportRuns.d.ts +35 -37
  240. package/cjs/resources/Reporting/ReportRuns.js +1 -1
  241. package/cjs/resources/Reporting/ReportRuns.js.map +1 -1
  242. package/cjs/resources/Reporting/ReportTypes.js +1 -1
  243. package/cjs/resources/Reporting/ReportTypes.js.map +1 -1
  244. package/cjs/resources/Reporting/index.d.ts +2 -2
  245. package/cjs/resources/Reserve/Holds.d.ts +24 -64
  246. package/cjs/resources/Reserve/Holds.js +0 -19
  247. package/cjs/resources/Reserve/Holds.js.map +1 -1
  248. package/cjs/resources/Reserve/Plans.d.ts +25 -43
  249. package/cjs/resources/Reserve/Plans.js +0 -11
  250. package/cjs/resources/Reserve/Plans.js.map +1 -1
  251. package/cjs/resources/Reserve/Releases.d.ts +17 -59
  252. package/cjs/resources/Reserve/Releases.js +0 -19
  253. package/cjs/resources/Reserve/Releases.js.map +1 -1
  254. package/cjs/resources/Reserve/index.d.ts +3 -14
  255. package/cjs/resources/Reserve/index.js +0 -9
  256. package/cjs/resources/Reserve/index.js.map +1 -1
  257. package/cjs/resources/Reviews.js +2 -2
  258. package/cjs/resources/Reviews.js.map +1 -1
  259. package/cjs/resources/SetupAttempts.d.ts +8 -26
  260. package/cjs/resources/SetupIntents.d.ts +14 -333
  261. package/cjs/resources/SetupIntents.js +5 -5
  262. package/cjs/resources/SetupIntents.js.map +1 -1
  263. package/cjs/resources/ShippingRates.js +2 -2
  264. package/cjs/resources/ShippingRates.js.map +1 -1
  265. package/cjs/resources/Sigma/ScheduledQueryRuns.d.ts +7 -9
  266. package/cjs/resources/Sigma/ScheduledQueryRuns.js +1 -1
  267. package/cjs/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  268. package/cjs/resources/Sigma/index.d.ts +1 -1
  269. package/cjs/resources/Sources.d.ts +1 -16
  270. package/cjs/resources/Sources.js +4 -4
  271. package/cjs/resources/Sources.js.map +1 -1
  272. package/cjs/resources/SubscriptionItems.d.ts +0 -143
  273. package/cjs/resources/SubscriptionItems.js +3 -3
  274. package/cjs/resources/SubscriptionItems.js.map +1 -1
  275. package/cjs/resources/SubscriptionSchedules.d.ts +4 -1155
  276. package/cjs/resources/SubscriptionSchedules.js +4 -10
  277. package/cjs/resources/SubscriptionSchedules.js.map +1 -1
  278. package/cjs/resources/Subscriptions.d.ts +61 -560
  279. package/cjs/resources/Subscriptions.js +7 -152
  280. package/cjs/resources/Subscriptions.js.map +1 -1
  281. package/cjs/resources/Tax/Associations.d.ts +24 -26
  282. package/cjs/resources/Tax/CalculationLineItems.d.ts +56 -62
  283. package/cjs/resources/Tax/Calculations.d.ts +158 -164
  284. package/cjs/resources/Tax/Calculations.js +2 -2
  285. package/cjs/resources/Tax/Calculations.js.map +1 -1
  286. package/cjs/resources/Tax/Registrations.d.ts +1095 -1233
  287. package/cjs/resources/Tax/Registrations.js +2 -2
  288. package/cjs/resources/Tax/Registrations.js.map +1 -1
  289. package/cjs/resources/Tax/Settings.d.ts +37 -39
  290. package/cjs/resources/Tax/TransactionLineItems.d.ts +11 -13
  291. package/cjs/resources/Tax/Transactions.d.ts +113 -115
  292. package/cjs/resources/Tax/Transactions.js +2 -2
  293. package/cjs/resources/Tax/Transactions.js.map +1 -1
  294. package/cjs/resources/Tax/index.d.ts +18 -32
  295. package/cjs/resources/Tax/index.js +0 -4
  296. package/cjs/resources/Tax/index.js.map +1 -1
  297. package/cjs/resources/TaxCodes.d.ts +0 -15
  298. package/cjs/resources/TaxCodes.js +1 -1
  299. package/cjs/resources/TaxCodes.js.map +1 -1
  300. package/cjs/resources/TaxIds.js +2 -2
  301. package/cjs/resources/TaxIds.js.map +1 -1
  302. package/cjs/resources/TaxRates.js +2 -2
  303. package/cjs/resources/TaxRates.js.map +1 -1
  304. package/cjs/resources/Terminal/Configurations.d.ts +479 -508
  305. package/cjs/resources/Terminal/Configurations.js +3 -3
  306. package/cjs/resources/Terminal/Configurations.js.map +1 -1
  307. package/cjs/resources/Terminal/Locations.d.ts +72 -74
  308. package/cjs/resources/Terminal/Locations.js +3 -3
  309. package/cjs/resources/Terminal/Locations.js.map +1 -1
  310. package/cjs/resources/Terminal/OnboardingLinks.d.ts +16 -18
  311. package/cjs/resources/Terminal/Readers.d.ts +479 -497
  312. package/cjs/resources/Terminal/Readers.js +11 -11
  313. package/cjs/resources/Terminal/Readers.js.map +1 -1
  314. package/cjs/resources/Terminal/index.d.ts +11 -13
  315. package/cjs/resources/Terminal/index.js +0 -2
  316. package/cjs/resources/Terminal/index.js.map +1 -1
  317. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +2 -79
  318. package/cjs/resources/TestHelpers/Customers.js +1 -1
  319. package/cjs/resources/TestHelpers/Customers.js.map +1 -1
  320. package/cjs/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  321. package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  322. package/cjs/resources/TestHelpers/Issuing/Cards.js +5 -5
  323. package/cjs/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  324. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  325. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  326. package/cjs/resources/TestHelpers/Issuing/Transactions.js +1 -1
  327. package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  328. package/cjs/resources/TestHelpers/Refunds.js +1 -1
  329. package/cjs/resources/TestHelpers/Refunds.js.map +1 -1
  330. package/cjs/resources/TestHelpers/Terminal/Readers.js +3 -3
  331. package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  332. package/cjs/resources/TestHelpers/TestClocks.d.ts +27 -29
  333. package/cjs/resources/TestHelpers/TestClocks.js +3 -3
  334. package/cjs/resources/TestHelpers/TestClocks.js.map +1 -1
  335. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  336. package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  337. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  338. package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  339. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  340. package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  341. package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  342. package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  343. package/cjs/resources/TestHelpers/index.d.ts +3 -5
  344. package/cjs/resources/TestHelpers/index.js +4 -6
  345. package/cjs/resources/TestHelpers/index.js.map +1 -1
  346. package/cjs/resources/Tokens.js +1 -1
  347. package/cjs/resources/Tokens.js.map +1 -1
  348. package/cjs/resources/Topups.d.ts +18 -0
  349. package/cjs/resources/Topups.js +3 -3
  350. package/cjs/resources/Topups.js.map +1 -1
  351. package/cjs/resources/Transfers.d.ts +0 -8
  352. package/cjs/resources/Transfers.js +6 -6
  353. package/cjs/resources/Transfers.js.map +1 -1
  354. package/cjs/resources/Treasury/CreditReversals.d.ts +11 -13
  355. package/cjs/resources/Treasury/CreditReversals.js +1 -1
  356. package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
  357. package/cjs/resources/Treasury/DebitReversals.d.ts +18 -20
  358. package/cjs/resources/Treasury/DebitReversals.js +1 -1
  359. package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
  360. package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +252 -259
  361. package/cjs/resources/Treasury/FinancialAccounts.d.ts +88 -123
  362. package/cjs/resources/Treasury/FinancialAccounts.js +5 -5
  363. package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
  364. package/cjs/resources/Treasury/InboundTransfers.d.ts +79 -81
  365. package/cjs/resources/Treasury/InboundTransfers.js +2 -2
  366. package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
  367. package/cjs/resources/Treasury/OutboundPayments.d.ts +125 -135
  368. package/cjs/resources/Treasury/OutboundPayments.js +2 -2
  369. package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
  370. package/cjs/resources/Treasury/OutboundTransfers.d.ts +114 -160
  371. package/cjs/resources/Treasury/OutboundTransfers.js +2 -2
  372. package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
  373. package/cjs/resources/Treasury/ReceivedCredits.d.ts +118 -142
  374. package/cjs/resources/Treasury/ReceivedCredits.js +1 -1
  375. package/cjs/resources/Treasury/ReceivedCredits.js.map +1 -1
  376. package/cjs/resources/Treasury/ReceivedDebits.d.ts +86 -114
  377. package/cjs/resources/Treasury/ReceivedDebits.js +1 -1
  378. package/cjs/resources/Treasury/ReceivedDebits.js.map +1 -1
  379. package/cjs/resources/Treasury/TransactionEntries.d.ts +75 -77
  380. package/cjs/resources/Treasury/TransactionEntries.js +1 -1
  381. package/cjs/resources/Treasury/TransactionEntries.js.map +1 -1
  382. package/cjs/resources/Treasury/Transactions.d.ts +86 -88
  383. package/cjs/resources/Treasury/Transactions.js +1 -1
  384. package/cjs/resources/Treasury/Transactions.js.map +1 -1
  385. package/cjs/resources/Treasury/index.d.ts +10 -10
  386. package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +9 -13
  387. package/cjs/resources/V2/Billing/index.d.ts +9 -48
  388. package/cjs/resources/V2/Billing/index.js +0 -8
  389. package/cjs/resources/V2/Billing/index.js.map +1 -1
  390. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  391. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
  392. package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
  393. package/cjs/resources/V2/Commerce/ProductCatalogImports.d.ts +132 -131
  394. package/cjs/resources/V2/Core/AccountLinks.d.ts +81 -85
  395. package/cjs/resources/V2/Core/AccountPersons.d.ts +369 -373
  396. package/cjs/resources/V2/Core/AccountTokens.d.ts +0 -10
  397. package/cjs/resources/V2/Core/AccountTokens.js +1 -1
  398. package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
  399. package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  400. package/cjs/resources/V2/Core/Accounts/PersonTokens.js +3 -3
  401. package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  402. package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  403. package/cjs/resources/V2/Core/Accounts/Persons.js +7 -7
  404. package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
  405. package/cjs/resources/V2/Core/Accounts.d.ts +3043 -4006
  406. package/cjs/resources/V2/Core/Accounts.js +3 -3
  407. package/cjs/resources/V2/Core/Accounts.js.map +1 -1
  408. package/cjs/resources/V2/Core/EventDestinations.d.ts +78 -82
  409. package/cjs/resources/V2/Core/EventDestinations.js +6 -6
  410. package/cjs/resources/V2/Core/EventDestinations.js.map +1 -1
  411. package/cjs/resources/V2/Core/Events.d.ts +31 -1154
  412. package/cjs/resources/V2/Core/Events.js +1 -1
  413. package/cjs/resources/V2/Core/Events.js.map +1 -1
  414. package/cjs/resources/V2/Core/index.d.ts +14 -24
  415. package/cjs/resources/V2/Core/index.js +0 -4
  416. package/cjs/resources/V2/Core/index.js.map +1 -1
  417. package/cjs/resources/V2/index.d.ts +0 -27
  418. package/cjs/resources/V2/index.js +0 -14
  419. package/cjs/resources/V2/index.js.map +1 -1
  420. package/cjs/resources/WebhookEndpoints.d.ts +3 -3
  421. package/cjs/resources/WebhookEndpoints.js +3 -3
  422. package/cjs/resources/WebhookEndpoints.js.map +1 -1
  423. package/cjs/resources.d.ts +0 -10
  424. package/cjs/resources.js +10 -146
  425. package/cjs/resources.js.map +1 -1
  426. package/cjs/stripe.cjs.node.d.ts +14396 -3
  427. package/cjs/stripe.cjs.node.js +1 -4
  428. package/cjs/stripe.cjs.node.js.map +1 -1
  429. package/cjs/stripe.core.d.ts +81 -62
  430. package/cjs/stripe.core.js +37 -55
  431. package/cjs/stripe.core.js.map +1 -1
  432. package/cjs/utils.d.ts +0 -1
  433. package/cjs/utils.js +1 -6
  434. package/cjs/utils.js.map +1 -1
  435. package/esm/Error.d.ts +0 -50
  436. package/esm/Error.js +0 -109
  437. package/esm/Error.js.map +1 -1
  438. package/esm/RequestSender.d.ts +2 -1
  439. package/esm/RequestSender.js +14 -11
  440. package/esm/RequestSender.js.map +1 -1
  441. package/esm/Types.d.ts +2 -4
  442. package/esm/Types.js.map +1 -1
  443. package/esm/Webhooks.d.ts +2 -2
  444. package/esm/apiVersion.d.ts +2 -1
  445. package/esm/apiVersion.js +2 -1
  446. package/esm/apiVersion.js.map +1 -1
  447. package/esm/autoPagination.js +27 -2
  448. package/esm/autoPagination.js.map +1 -1
  449. package/esm/platform/NodePlatformFunctions.d.ts +3 -0
  450. package/esm/platform/NodePlatformFunctions.js +36 -2
  451. package/esm/platform/NodePlatformFunctions.js.map +1 -1
  452. package/esm/platform/PlatformFunctions.d.ts +1 -0
  453. package/esm/platform/PlatformFunctions.js +3 -0
  454. package/esm/platform/PlatformFunctions.js.map +1 -1
  455. package/esm/resources/AccountLinks.d.ts +1 -1
  456. package/esm/resources/AccountSessions.d.ts +0 -262
  457. package/esm/resources/AccountSessions.js.map +1 -1
  458. package/esm/resources/Accounts.d.ts +5 -829
  459. package/esm/resources/Accounts.js +18 -32
  460. package/esm/resources/Accounts.js.map +1 -1
  461. package/esm/resources/ApplePayDomains.js +2 -2
  462. package/esm/resources/ApplePayDomains.js.map +1 -1
  463. package/esm/resources/ApplicationFees.js +5 -5
  464. package/esm/resources/ApplicationFees.js.map +1 -1
  465. package/esm/resources/Apps/Secrets.d.ts +14 -16
  466. package/esm/resources/Apps/index.d.ts +1 -1
  467. package/esm/resources/Balance.d.ts +0 -67
  468. package/esm/resources/BalanceTransactions.d.ts +5 -5
  469. package/esm/resources/BalanceTransactions.js +3 -3
  470. package/esm/resources/BalanceTransactions.js.map +1 -1
  471. package/esm/resources/BankAccounts.d.ts +2 -2
  472. package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
  473. package/esm/resources/Billing/Alerts.d.ts +27 -29
  474. package/esm/resources/Billing/Alerts.js +4 -4
  475. package/esm/resources/Billing/Alerts.js.map +1 -1
  476. package/esm/resources/Billing/CreditBalanceSummary.d.ts +40 -42
  477. package/esm/resources/Billing/CreditBalanceTransactions.d.ts +74 -76
  478. package/esm/resources/Billing/CreditBalanceTransactions.js +1 -1
  479. package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
  480. package/esm/resources/Billing/CreditGrants.d.ts +41 -43
  481. package/esm/resources/Billing/CreditGrants.js +4 -4
  482. package/esm/resources/Billing/CreditGrants.js.map +1 -1
  483. package/esm/resources/Billing/MeterEventAdjustments.d.ts +9 -11
  484. package/esm/resources/Billing/Meters.d.ts +39 -41
  485. package/esm/resources/Billing/Meters.js +5 -5
  486. package/esm/resources/Billing/Meters.js.map +1 -1
  487. package/esm/resources/Billing/index.d.ts +7 -10
  488. package/esm/resources/Billing/index.js +0 -2
  489. package/esm/resources/Billing/index.js.map +1 -1
  490. package/esm/resources/BillingPortal/Configurations.d.ts +132 -134
  491. package/esm/resources/BillingPortal/Configurations.js +2 -2
  492. package/esm/resources/BillingPortal/Configurations.js.map +1 -1
  493. package/esm/resources/BillingPortal/Sessions.d.ts +100 -102
  494. package/esm/resources/BillingPortal/index.d.ts +2 -2
  495. package/esm/resources/Capabilities.d.ts +2 -2
  496. package/esm/resources/Cards.d.ts +0 -4
  497. package/esm/resources/Charges.d.ts +84 -3066
  498. package/esm/resources/Charges.js +3 -3
  499. package/esm/resources/Charges.js.map +1 -1
  500. package/esm/resources/Checkout/Sessions.d.ts +1598 -1900
  501. package/esm/resources/Checkout/Sessions.js +4 -4
  502. package/esm/resources/Checkout/Sessions.js.map +1 -1
  503. package/esm/resources/Checkout/index.d.ts +1 -1
  504. package/esm/resources/Climate/Orders.d.ts +47 -49
  505. package/esm/resources/Climate/Orders.js +3 -3
  506. package/esm/resources/Climate/Orders.js.map +1 -1
  507. package/esm/resources/Climate/Products.d.ts +15 -17
  508. package/esm/resources/Climate/Products.js +1 -1
  509. package/esm/resources/Climate/Products.js.map +1 -1
  510. package/esm/resources/Climate/Suppliers.d.ts +25 -27
  511. package/esm/resources/Climate/Suppliers.js +1 -1
  512. package/esm/resources/Climate/Suppliers.js.map +1 -1
  513. package/esm/resources/Climate/index.d.ts +3 -3
  514. package/esm/resources/ConfirmationTokens.d.ts +13 -67
  515. package/esm/resources/ConfirmationTokens.js +1 -1
  516. package/esm/resources/ConfirmationTokens.js.map +1 -1
  517. package/esm/resources/CountrySpecs.js +1 -1
  518. package/esm/resources/CountrySpecs.js.map +1 -1
  519. package/esm/resources/Coupons.d.ts +0 -53
  520. package/esm/resources/Coupons.js +3 -16
  521. package/esm/resources/Coupons.js.map +1 -1
  522. package/esm/resources/CreditNoteLineItems.d.ts +1 -15
  523. package/esm/resources/CreditNotes.d.ts +8 -5
  524. package/esm/resources/CreditNotes.js +6 -4
  525. package/esm/resources/CreditNotes.js.map +1 -1
  526. package/esm/resources/CustomerSessions.d.ts +0 -68
  527. package/esm/resources/Customers.d.ts +1 -7
  528. package/esm/resources/Customers.js +31 -41
  529. package/esm/resources/Customers.js.map +1 -1
  530. package/esm/resources/Disputes.d.ts +28 -30
  531. package/esm/resources/Disputes.js +3 -3
  532. package/esm/resources/Disputes.js.map +1 -1
  533. package/esm/resources/Entitlements/ActiveEntitlements.js +1 -1
  534. package/esm/resources/Entitlements/ActiveEntitlements.js.map +1 -1
  535. package/esm/resources/Entitlements/Features.js +2 -2
  536. package/esm/resources/Entitlements/Features.js.map +1 -1
  537. package/esm/resources/Entitlements/index.d.ts +2 -2
  538. package/esm/resources/EphemeralKeys.js +1 -1
  539. package/esm/resources/EphemeralKeys.js.map +1 -1
  540. package/esm/resources/Events.d.ts +3 -548
  541. package/esm/resources/Events.js +1 -1
  542. package/esm/resources/Events.js.map +1 -1
  543. package/esm/resources/ExchangeRates.js +1 -1
  544. package/esm/resources/ExchangeRates.js.map +1 -1
  545. package/esm/resources/ExternalAccounts.d.ts +1 -212
  546. package/esm/resources/ExternalAccounts.js +1 -42
  547. package/esm/resources/ExternalAccounts.js.map +1 -1
  548. package/esm/resources/FileLinks.js +2 -2
  549. package/esm/resources/FileLinks.js.map +1 -1
  550. package/esm/resources/Files.js +1 -1
  551. package/esm/resources/Files.js.map +1 -1
  552. package/esm/resources/FinancialConnections/Accounts.d.ts +169 -217
  553. package/esm/resources/FinancialConnections/Accounts.js +6 -14
  554. package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
  555. package/esm/resources/FinancialConnections/Sessions.d.ts +43 -193
  556. package/esm/resources/FinancialConnections/Sessions.js +1 -1
  557. package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
  558. package/esm/resources/FinancialConnections/Transactions.d.ts +13 -15
  559. package/esm/resources/FinancialConnections/Transactions.js +1 -1
  560. package/esm/resources/FinancialConnections/Transactions.js.map +1 -1
  561. package/esm/resources/FinancialConnections/index.d.ts +9 -24
  562. package/esm/resources/FinancialConnections/index.js +0 -4
  563. package/esm/resources/FinancialConnections/index.js.map +1 -1
  564. package/esm/resources/Forwarding/Requests.d.ts +57 -59
  565. package/esm/resources/Forwarding/Requests.js +1 -1
  566. package/esm/resources/Forwarding/Requests.js.map +1 -1
  567. package/esm/resources/Forwarding/index.d.ts +1 -1
  568. package/esm/resources/Identity/VerificationReports.d.ts +255 -257
  569. package/esm/resources/Identity/VerificationReports.js +1 -1
  570. package/esm/resources/Identity/VerificationReports.js.map +1 -1
  571. package/esm/resources/Identity/VerificationSessions.d.ts +148 -150
  572. package/esm/resources/Identity/VerificationSessions.js +4 -4
  573. package/esm/resources/Identity/VerificationSessions.js.map +1 -1
  574. package/esm/resources/Identity/index.d.ts +2 -2
  575. package/esm/resources/InvoiceItems.d.ts +0 -85
  576. package/esm/resources/InvoiceItems.js +3 -3
  577. package/esm/resources/InvoiceItems.js.map +1 -1
  578. package/esm/resources/InvoiceLineItems.d.ts +2 -40
  579. package/esm/resources/InvoicePayments.js +1 -1
  580. package/esm/resources/InvoicePayments.js.map +1 -1
  581. package/esm/resources/InvoiceRenderingTemplates.js +3 -3
  582. package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
  583. package/esm/resources/Invoices.d.ts +23 -1341
  584. package/esm/resources/Invoices.js +14 -55
  585. package/esm/resources/Invoices.js.map +1 -1
  586. package/esm/resources/Issuing/Authorizations.d.ts +354 -356
  587. package/esm/resources/Issuing/Authorizations.js +4 -4
  588. package/esm/resources/Issuing/Authorizations.js.map +1 -1
  589. package/esm/resources/Issuing/Cardholders.d.ts +144 -147
  590. package/esm/resources/Issuing/Cardholders.js +2 -2
  591. package/esm/resources/Issuing/Cardholders.js.map +1 -1
  592. package/esm/resources/Issuing/Cards.d.ts +183 -185
  593. package/esm/resources/Issuing/Cards.js +2 -2
  594. package/esm/resources/Issuing/Cards.js.map +1 -1
  595. package/esm/resources/Issuing/Disputes.d.ts +215 -217
  596. package/esm/resources/Issuing/Disputes.js +3 -3
  597. package/esm/resources/Issuing/Disputes.js.map +1 -1
  598. package/esm/resources/Issuing/PersonalizationDesigns.d.ts +47 -49
  599. package/esm/resources/Issuing/PersonalizationDesigns.js +2 -2
  600. package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
  601. package/esm/resources/Issuing/PhysicalBundles.d.ts +24 -26
  602. package/esm/resources/Issuing/PhysicalBundles.js +1 -1
  603. package/esm/resources/Issuing/PhysicalBundles.js.map +1 -1
  604. package/esm/resources/Issuing/Tokens.d.ts +130 -132
  605. package/esm/resources/Issuing/Tokens.js +2 -2
  606. package/esm/resources/Issuing/Tokens.js.map +1 -1
  607. package/esm/resources/Issuing/Transactions.d.ts +223 -234
  608. package/esm/resources/Issuing/Transactions.js +2 -2
  609. package/esm/resources/Issuing/Transactions.js.map +1 -1
  610. package/esm/resources/Issuing/index.d.ts +30 -55
  611. package/esm/resources/Issuing/index.js +0 -6
  612. package/esm/resources/Issuing/index.js.map +1 -1
  613. package/esm/resources/LineItems.d.ts +4 -30
  614. package/esm/resources/Mandates.d.ts +1 -33
  615. package/esm/resources/Mandates.js +1 -9
  616. package/esm/resources/Mandates.js.map +1 -1
  617. package/esm/resources/PaymentAttemptRecords.d.ts +9 -92
  618. package/esm/resources/PaymentAttemptRecords.js +1 -1
  619. package/esm/resources/PaymentAttemptRecords.js.map +1 -1
  620. package/esm/resources/PaymentIntents.d.ts +6495 -17272
  621. package/esm/resources/PaymentIntents.js +9 -36
  622. package/esm/resources/PaymentIntents.js.map +1 -1
  623. package/esm/resources/PaymentLinks.d.ts +6 -19
  624. package/esm/resources/PaymentLinks.js +3 -3
  625. package/esm/resources/PaymentLinks.js.map +1 -1
  626. package/esm/resources/PaymentMethodConfigurations.d.ts +0 -350
  627. package/esm/resources/PaymentMethodConfigurations.js +2 -2
  628. package/esm/resources/PaymentMethodConfigurations.js.map +1 -1
  629. package/esm/resources/PaymentMethodDomains.js +3 -3
  630. package/esm/resources/PaymentMethodDomains.js.map +1 -1
  631. package/esm/resources/PaymentMethods.d.ts +16 -152
  632. package/esm/resources/PaymentMethods.js +4 -4
  633. package/esm/resources/PaymentMethods.js.map +1 -1
  634. package/esm/resources/PaymentRecords.d.ts +19 -102
  635. package/esm/resources/PaymentRecords.js +7 -7
  636. package/esm/resources/PaymentRecords.js.map +1 -1
  637. package/esm/resources/Payouts.js +4 -4
  638. package/esm/resources/Payouts.js.map +1 -1
  639. package/esm/resources/Persons.d.ts +2 -2
  640. package/esm/resources/Plans.d.ts +0 -16
  641. package/esm/resources/Plans.js +3 -3
  642. package/esm/resources/Plans.js.map +1 -1
  643. package/esm/resources/Prices.d.ts +0 -52
  644. package/esm/resources/Prices.js +2 -2
  645. package/esm/resources/Prices.js.map +1 -1
  646. package/esm/resources/Products.d.ts +0 -42
  647. package/esm/resources/Products.js +7 -7
  648. package/esm/resources/Products.js.map +1 -1
  649. package/esm/resources/PromotionCodes.d.ts +0 -12
  650. package/esm/resources/PromotionCodes.js +2 -29
  651. package/esm/resources/PromotionCodes.js.map +1 -1
  652. package/esm/resources/Quotes.d.ts +165 -2374
  653. package/esm/resources/Quotes.js +20 -1180
  654. package/esm/resources/Quotes.js.map +1 -1
  655. package/esm/resources/Radar/EarlyFraudWarnings.js +1 -1
  656. package/esm/resources/Radar/EarlyFraudWarnings.js.map +1 -1
  657. package/esm/resources/Radar/PaymentEvaluations.d.ts +294 -296
  658. package/esm/resources/Radar/ValueListItems.d.ts +14 -16
  659. package/esm/resources/Radar/ValueListItems.js +2 -2
  660. package/esm/resources/Radar/ValueListItems.js.map +1 -1
  661. package/esm/resources/Radar/ValueLists.d.ts +18 -20
  662. package/esm/resources/Radar/ValueLists.js +3 -3
  663. package/esm/resources/Radar/ValueLists.js.map +1 -1
  664. package/esm/resources/Radar/index.d.ts +8 -6
  665. package/esm/resources/Radar/index.js.map +1 -1
  666. package/esm/resources/Refunds.d.ts +0 -11
  667. package/esm/resources/Refunds.js +3 -3
  668. package/esm/resources/Refunds.js.map +1 -1
  669. package/esm/resources/Reporting/ReportRuns.d.ts +35 -37
  670. package/esm/resources/Reporting/ReportRuns.js +1 -1
  671. package/esm/resources/Reporting/ReportRuns.js.map +1 -1
  672. package/esm/resources/Reporting/ReportTypes.js +1 -1
  673. package/esm/resources/Reporting/ReportTypes.js.map +1 -1
  674. package/esm/resources/Reporting/index.d.ts +2 -2
  675. package/esm/resources/Reserve/Holds.d.ts +24 -64
  676. package/esm/resources/Reserve/Holds.js +1 -17
  677. package/esm/resources/Reserve/Holds.js.map +1 -1
  678. package/esm/resources/Reserve/Plans.d.ts +25 -43
  679. package/esm/resources/Reserve/Plans.js +1 -9
  680. package/esm/resources/Reserve/Plans.js.map +1 -1
  681. package/esm/resources/Reserve/Releases.d.ts +17 -59
  682. package/esm/resources/Reserve/Releases.js +1 -17
  683. package/esm/resources/Reserve/Releases.js.map +1 -1
  684. package/esm/resources/Reserve/index.d.ts +3 -14
  685. package/esm/resources/Reserve/index.js +0 -9
  686. package/esm/resources/Reserve/index.js.map +1 -1
  687. package/esm/resources/Reviews.js +2 -2
  688. package/esm/resources/Reviews.js.map +1 -1
  689. package/esm/resources/SetupAttempts.d.ts +8 -26
  690. package/esm/resources/SetupIntents.d.ts +14 -333
  691. package/esm/resources/SetupIntents.js +5 -5
  692. package/esm/resources/SetupIntents.js.map +1 -1
  693. package/esm/resources/ShippingRates.js +2 -2
  694. package/esm/resources/ShippingRates.js.map +1 -1
  695. package/esm/resources/Sigma/ScheduledQueryRuns.d.ts +7 -9
  696. package/esm/resources/Sigma/ScheduledQueryRuns.js +1 -1
  697. package/esm/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
  698. package/esm/resources/Sigma/index.d.ts +1 -1
  699. package/esm/resources/Sources.d.ts +1 -16
  700. package/esm/resources/Sources.js +4 -4
  701. package/esm/resources/Sources.js.map +1 -1
  702. package/esm/resources/SubscriptionItems.d.ts +0 -143
  703. package/esm/resources/SubscriptionItems.js +3 -3
  704. package/esm/resources/SubscriptionItems.js.map +1 -1
  705. package/esm/resources/SubscriptionSchedules.d.ts +4 -1155
  706. package/esm/resources/SubscriptionSchedules.js +4 -10
  707. package/esm/resources/SubscriptionSchedules.js.map +1 -1
  708. package/esm/resources/Subscriptions.d.ts +61 -560
  709. package/esm/resources/Subscriptions.js +7 -152
  710. package/esm/resources/Subscriptions.js.map +1 -1
  711. package/esm/resources/Tax/Associations.d.ts +24 -26
  712. package/esm/resources/Tax/CalculationLineItems.d.ts +56 -62
  713. package/esm/resources/Tax/Calculations.d.ts +158 -164
  714. package/esm/resources/Tax/Calculations.js +2 -2
  715. package/esm/resources/Tax/Calculations.js.map +1 -1
  716. package/esm/resources/Tax/Registrations.d.ts +1095 -1233
  717. package/esm/resources/Tax/Registrations.js +2 -2
  718. package/esm/resources/Tax/Registrations.js.map +1 -1
  719. package/esm/resources/Tax/Settings.d.ts +37 -39
  720. package/esm/resources/Tax/TransactionLineItems.d.ts +11 -13
  721. package/esm/resources/Tax/Transactions.d.ts +113 -115
  722. package/esm/resources/Tax/Transactions.js +2 -2
  723. package/esm/resources/Tax/Transactions.js.map +1 -1
  724. package/esm/resources/Tax/index.d.ts +18 -32
  725. package/esm/resources/Tax/index.js +0 -4
  726. package/esm/resources/Tax/index.js.map +1 -1
  727. package/esm/resources/TaxCodes.d.ts +0 -15
  728. package/esm/resources/TaxCodes.js +1 -1
  729. package/esm/resources/TaxCodes.js.map +1 -1
  730. package/esm/resources/TaxIds.js +2 -2
  731. package/esm/resources/TaxIds.js.map +1 -1
  732. package/esm/resources/TaxRates.js +2 -2
  733. package/esm/resources/TaxRates.js.map +1 -1
  734. package/esm/resources/Terminal/Configurations.d.ts +479 -508
  735. package/esm/resources/Terminal/Configurations.js +3 -3
  736. package/esm/resources/Terminal/Configurations.js.map +1 -1
  737. package/esm/resources/Terminal/Locations.d.ts +72 -74
  738. package/esm/resources/Terminal/Locations.js +3 -3
  739. package/esm/resources/Terminal/Locations.js.map +1 -1
  740. package/esm/resources/Terminal/OnboardingLinks.d.ts +16 -18
  741. package/esm/resources/Terminal/Readers.d.ts +479 -497
  742. package/esm/resources/Terminal/Readers.js +11 -11
  743. package/esm/resources/Terminal/Readers.js.map +1 -1
  744. package/esm/resources/Terminal/index.d.ts +11 -13
  745. package/esm/resources/Terminal/index.js +0 -2
  746. package/esm/resources/Terminal/index.js.map +1 -1
  747. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +2 -79
  748. package/esm/resources/TestHelpers/Customers.js +1 -1
  749. package/esm/resources/TestHelpers/Customers.js.map +1 -1
  750. package/esm/resources/TestHelpers/Issuing/Authorizations.js +6 -6
  751. package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
  752. package/esm/resources/TestHelpers/Issuing/Cards.js +5 -5
  753. package/esm/resources/TestHelpers/Issuing/Cards.js.map +1 -1
  754. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
  755. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
  756. package/esm/resources/TestHelpers/Issuing/Transactions.js +1 -1
  757. package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
  758. package/esm/resources/TestHelpers/Refunds.js +1 -1
  759. package/esm/resources/TestHelpers/Refunds.js.map +1 -1
  760. package/esm/resources/TestHelpers/Terminal/Readers.js +3 -3
  761. package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
  762. package/esm/resources/TestHelpers/TestClocks.d.ts +27 -29
  763. package/esm/resources/TestHelpers/TestClocks.js +3 -3
  764. package/esm/resources/TestHelpers/TestClocks.js.map +1 -1
  765. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
  766. package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
  767. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
  768. package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
  769. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
  770. package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
  771. package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
  772. package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
  773. package/esm/resources/TestHelpers/index.d.ts +3 -5
  774. package/esm/resources/TestHelpers/index.js +0 -2
  775. package/esm/resources/TestHelpers/index.js.map +1 -1
  776. package/esm/resources/Tokens.js +1 -1
  777. package/esm/resources/Tokens.js.map +1 -1
  778. package/esm/resources/Topups.d.ts +18 -0
  779. package/esm/resources/Topups.js +3 -3
  780. package/esm/resources/Topups.js.map +1 -1
  781. package/esm/resources/Transfers.d.ts +0 -8
  782. package/esm/resources/Transfers.js +6 -6
  783. package/esm/resources/Transfers.js.map +1 -1
  784. package/esm/resources/Treasury/CreditReversals.d.ts +11 -13
  785. package/esm/resources/Treasury/CreditReversals.js +1 -1
  786. package/esm/resources/Treasury/CreditReversals.js.map +1 -1
  787. package/esm/resources/Treasury/DebitReversals.d.ts +18 -20
  788. package/esm/resources/Treasury/DebitReversals.js +1 -1
  789. package/esm/resources/Treasury/DebitReversals.js.map +1 -1
  790. package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +252 -259
  791. package/esm/resources/Treasury/FinancialAccounts.d.ts +88 -123
  792. package/esm/resources/Treasury/FinancialAccounts.js +5 -5
  793. package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
  794. package/esm/resources/Treasury/InboundTransfers.d.ts +79 -81
  795. package/esm/resources/Treasury/InboundTransfers.js +2 -2
  796. package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
  797. package/esm/resources/Treasury/OutboundPayments.d.ts +125 -135
  798. package/esm/resources/Treasury/OutboundPayments.js +2 -2
  799. package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
  800. package/esm/resources/Treasury/OutboundTransfers.d.ts +114 -160
  801. package/esm/resources/Treasury/OutboundTransfers.js +2 -2
  802. package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
  803. package/esm/resources/Treasury/ReceivedCredits.d.ts +118 -142
  804. package/esm/resources/Treasury/ReceivedCredits.js +1 -1
  805. package/esm/resources/Treasury/ReceivedCredits.js.map +1 -1
  806. package/esm/resources/Treasury/ReceivedDebits.d.ts +86 -114
  807. package/esm/resources/Treasury/ReceivedDebits.js +1 -1
  808. package/esm/resources/Treasury/ReceivedDebits.js.map +1 -1
  809. package/esm/resources/Treasury/TransactionEntries.d.ts +75 -77
  810. package/esm/resources/Treasury/TransactionEntries.js +1 -1
  811. package/esm/resources/Treasury/TransactionEntries.js.map +1 -1
  812. package/esm/resources/Treasury/Transactions.d.ts +86 -88
  813. package/esm/resources/Treasury/Transactions.js +1 -1
  814. package/esm/resources/Treasury/Transactions.js.map +1 -1
  815. package/esm/resources/Treasury/index.d.ts +10 -10
  816. package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +9 -13
  817. package/esm/resources/V2/Billing/index.d.ts +9 -48
  818. package/esm/resources/V2/Billing/index.js +0 -8
  819. package/esm/resources/V2/Billing/index.js.map +1 -1
  820. package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
  821. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
  822. package/esm/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
  823. package/esm/resources/V2/Commerce/ProductCatalogImports.d.ts +132 -131
  824. package/esm/resources/V2/Core/AccountLinks.d.ts +81 -85
  825. package/esm/resources/V2/Core/AccountPersons.d.ts +369 -373
  826. package/esm/resources/V2/Core/AccountTokens.d.ts +0 -10
  827. package/esm/resources/V2/Core/AccountTokens.js +1 -1
  828. package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
  829. package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
  830. package/esm/resources/V2/Core/Accounts/PersonTokens.js +3 -3
  831. package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
  832. package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
  833. package/esm/resources/V2/Core/Accounts/Persons.js +7 -7
  834. package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
  835. package/esm/resources/V2/Core/Accounts.d.ts +3043 -4006
  836. package/esm/resources/V2/Core/Accounts.js +3 -3
  837. package/esm/resources/V2/Core/Accounts.js.map +1 -1
  838. package/esm/resources/V2/Core/EventDestinations.d.ts +78 -82
  839. package/esm/resources/V2/Core/EventDestinations.js +6 -6
  840. package/esm/resources/V2/Core/EventDestinations.js.map +1 -1
  841. package/esm/resources/V2/Core/Events.d.ts +31 -1154
  842. package/esm/resources/V2/Core/Events.js +1 -1
  843. package/esm/resources/V2/Core/Events.js.map +1 -1
  844. package/esm/resources/V2/Core/index.d.ts +14 -24
  845. package/esm/resources/V2/Core/index.js +0 -4
  846. package/esm/resources/V2/Core/index.js.map +1 -1
  847. package/esm/resources/V2/index.d.ts +0 -27
  848. package/esm/resources/V2/index.js +0 -14
  849. package/esm/resources/V2/index.js.map +1 -1
  850. package/esm/resources/WebhookEndpoints.d.ts +3 -3
  851. package/esm/resources/WebhookEndpoints.js +3 -3
  852. package/esm/resources/WebhookEndpoints.js.map +1 -1
  853. package/esm/resources.d.ts +0 -10
  854. package/esm/resources.js +0 -131
  855. package/esm/resources.js.map +1 -1
  856. package/esm/stripe.core.d.ts +81 -62
  857. package/esm/stripe.core.js +7 -25
  858. package/esm/stripe.core.js.map +1 -1
  859. package/esm/stripe.esm.node.d.ts +80 -63
  860. package/esm/stripe.esm.node.js +2 -25
  861. package/esm/stripe.esm.node.js.map +1 -1
  862. package/esm/utils.d.ts +0 -1
  863. package/esm/utils.js +0 -4
  864. package/esm/utils.js.map +1 -1
  865. package/package.json +1 -1
  866. package/cjs/StripeEventNotificationHandler.d.ts +0 -19
  867. package/cjs/StripeEventNotificationHandler.js +0 -148
  868. package/cjs/StripeEventNotificationHandler.js.map +0 -1
  869. package/cjs/resources/AccountNotices.d.ts +0 -140
  870. package/cjs/resources/AccountNotices.js +0 -29
  871. package/cjs/resources/AccountNotices.js.map +0 -1
  872. package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  873. package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
  874. package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  875. package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  876. package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
  877. package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  878. package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
  879. package/cjs/resources/Billing/Analytics/index.js +0 -13
  880. package/cjs/resources/Billing/Analytics/index.js.map +0 -1
  881. package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
  882. package/cjs/resources/Capital/FinancingOffers.js +0 -30
  883. package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
  884. package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
  885. package/cjs/resources/Capital/FinancingSummary.js +0 -15
  886. package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
  887. package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
  888. package/cjs/resources/Capital/FinancingTransactions.js +0 -24
  889. package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
  890. package/cjs/resources/Capital/index.d.ts +0 -25
  891. package/cjs/resources/Capital/index.js +0 -17
  892. package/cjs/resources/Capital/index.js.map +0 -1
  893. package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  894. package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
  895. package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  896. package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
  897. package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
  898. package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
  899. package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
  900. package/cjs/resources/FinancialConnections/Institutions.js +0 -23
  901. package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
  902. package/cjs/resources/FxQuotes.d.ts +0 -212
  903. package/cjs/resources/FxQuotes.js +0 -29
  904. package/cjs/resources/FxQuotes.js.map +0 -1
  905. package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  906. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
  907. package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  908. package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  909. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
  910. package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  911. package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  912. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
  913. package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  914. package/cjs/resources/Issuing/Settlements.d.ts +0 -85
  915. package/cjs/resources/Issuing/Settlements.js +0 -4
  916. package/cjs/resources/Issuing/Settlements.js.map +0 -1
  917. package/cjs/resources/Margins.d.ts +0 -115
  918. package/cjs/resources/Margins.js +0 -35
  919. package/cjs/resources/Margins.js.map +0 -1
  920. package/cjs/resources/Orders.d.ts +0 -4693
  921. package/cjs/resources/Orders.js +0 -457
  922. package/cjs/resources/Orders.js.map +0 -1
  923. package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  924. package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
  925. package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  926. package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
  927. package/cjs/resources/Privacy/RedactionJobs.js +0 -73
  928. package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
  929. package/cjs/resources/Privacy/index.d.ts +0 -22
  930. package/cjs/resources/Privacy/index.js +0 -13
  931. package/cjs/resources/Privacy/index.js.map +0 -1
  932. package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  933. package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
  934. package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
  935. package/cjs/resources/ProductCatalog/index.d.ts +0 -12
  936. package/cjs/resources/ProductCatalog/index.js +0 -13
  937. package/cjs/resources/ProductCatalog/index.js.map +0 -1
  938. package/cjs/resources/QuoteLines.d.ts +0 -507
  939. package/cjs/resources/QuoteLines.js +0 -4
  940. package/cjs/resources/QuoteLines.js.map +0 -1
  941. package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1120
  942. package/cjs/resources/QuotePreviewInvoices.js +0 -4
  943. package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
  944. package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -737
  945. package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
  946. package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  947. package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1095
  948. package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
  949. package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
  950. package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  951. package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
  952. package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
  953. package/cjs/resources/SharedPayment/index.d.ts +0 -19
  954. package/cjs/resources/SharedPayment/index.js +0 -15
  955. package/cjs/resources/SharedPayment/index.js.map +0 -1
  956. package/cjs/resources/Tax/Forms.d.ts +0 -230
  957. package/cjs/resources/Tax/Forms.js +0 -32
  958. package/cjs/resources/Tax/Forms.js.map +0 -1
  959. package/cjs/resources/Tax/Locations.d.ts +0 -108
  960. package/cjs/resources/Tax/Locations.js +0 -33
  961. package/cjs/resources/Tax/Locations.js.map +0 -1
  962. package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  963. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
  964. package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
  965. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  966. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
  967. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  968. package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  969. package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
  970. package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  971. package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  972. package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
  973. package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  974. package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  975. package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
  976. package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  977. package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
  978. package/cjs/resources/V2/Billing/BillSettings.js +0 -41
  979. package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
  980. package/cjs/resources/V2/Billing/Cadences.d.ts +0 -951
  981. package/cjs/resources/V2/Billing/Cadences.js +0 -198
  982. package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
  983. package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  984. package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
  985. package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  986. package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  987. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
  988. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  989. package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  990. package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
  991. package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
  992. package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
  993. package/cjs/resources/V2/Billing/Profiles.js +0 -35
  994. package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
  995. package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
  996. package/cjs/resources/V2/Core/BatchJobs.js +0 -225
  997. package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
  998. package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  999. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
  1000. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  1001. package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  1002. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
  1003. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  1004. package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
  1005. package/cjs/resources/V2/Core/Vault/index.js +0 -15
  1006. package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
  1007. package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  1008. package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
  1009. package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  1010. package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
  1011. package/cjs/resources/V2/Data/Reporting/index.js +0 -13
  1012. package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
  1013. package/cjs/resources/V2/Data/index.d.ts +0 -10
  1014. package/cjs/resources/V2/Data/index.js +0 -13
  1015. package/cjs/resources/V2/Data/index.js.map +0 -1
  1016. package/cjs/resources/V2/EventMisc.d.ts +0 -0
  1017. package/cjs/resources/V2/EventMisc.js +0 -2
  1018. package/cjs/resources/V2/EventMisc.js.map +0 -1
  1019. package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  1020. package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
  1021. package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  1022. package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
  1023. package/cjs/resources/V2/Extend/Workflows.js +0 -30
  1024. package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
  1025. package/cjs/resources/V2/Extend/index.d.ts +0 -20
  1026. package/cjs/resources/V2/Extend/index.js +0 -15
  1027. package/cjs/resources/V2/Extend/index.js.map +0 -1
  1028. package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  1029. package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
  1030. package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  1031. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  1032. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
  1033. package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  1034. package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -214
  1035. package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
  1036. package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
  1037. package/cjs/resources/V2/Iam/index.d.ts +0 -13
  1038. package/cjs/resources/V2/Iam/index.js +0 -13
  1039. package/cjs/resources/V2/Iam/index.js.map +0 -1
  1040. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  1041. package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
  1042. package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  1043. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  1044. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
  1045. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  1046. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  1047. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
  1048. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  1049. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  1050. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
  1051. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  1052. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  1053. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
  1054. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  1055. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  1056. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
  1057. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1058. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -300
  1059. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
  1060. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1061. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  1062. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
  1063. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1064. package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  1065. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
  1066. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1067. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  1068. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
  1069. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1070. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -295
  1071. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
  1072. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1073. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  1074. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
  1075. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1076. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  1077. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
  1078. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1079. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  1080. package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
  1081. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1082. package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
  1083. package/cjs/resources/V2/MoneyManagement/index.js +0 -39
  1084. package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
  1085. package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  1086. package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
  1087. package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1088. package/cjs/resources/V2/Network/index.d.ts +0 -13
  1089. package/cjs/resources/V2/Network/index.js +0 -13
  1090. package/cjs/resources/V2/Network/index.js.map +0 -1
  1091. package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  1092. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
  1093. package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1094. package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1095. package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
  1096. package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1097. package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  1098. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
  1099. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1100. package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
  1101. package/cjs/resources/V2/TestHelpers/index.js +0 -13
  1102. package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
  1103. package/esm/StripeEventNotificationHandler.d.ts +0 -19
  1104. package/esm/StripeEventNotificationHandler.js +0 -144
  1105. package/esm/StripeEventNotificationHandler.js.map +0 -1
  1106. package/esm/resources/AccountNotices.d.ts +0 -140
  1107. package/esm/resources/AccountNotices.js +0 -25
  1108. package/esm/resources/AccountNotices.js.map +0 -1
  1109. package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
  1110. package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
  1111. package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
  1112. package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
  1113. package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
  1114. package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
  1115. package/esm/resources/Billing/Analytics/index.d.ts +0 -15
  1116. package/esm/resources/Billing/Analytics/index.js +0 -9
  1117. package/esm/resources/Billing/Analytics/index.js.map +0 -1
  1118. package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
  1119. package/esm/resources/Capital/FinancingOffers.js +0 -26
  1120. package/esm/resources/Capital/FinancingOffers.js.map +0 -1
  1121. package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
  1122. package/esm/resources/Capital/FinancingSummary.js +0 -11
  1123. package/esm/resources/Capital/FinancingSummary.js.map +0 -1
  1124. package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
  1125. package/esm/resources/Capital/FinancingTransactions.js +0 -20
  1126. package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
  1127. package/esm/resources/Capital/index.d.ts +0 -25
  1128. package/esm/resources/Capital/index.js +0 -13
  1129. package/esm/resources/Capital/index.js.map +0 -1
  1130. package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
  1131. package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
  1132. package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
  1133. package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
  1134. package/esm/resources/FinancialConnections/Authorizations.js +0 -11
  1135. package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
  1136. package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
  1137. package/esm/resources/FinancialConnections/Institutions.js +0 -19
  1138. package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
  1139. package/esm/resources/FxQuotes.d.ts +0 -212
  1140. package/esm/resources/FxQuotes.js +0 -25
  1141. package/esm/resources/FxQuotes.js.map +0 -1
  1142. package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
  1143. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
  1144. package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
  1145. package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
  1146. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
  1147. package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
  1148. package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
  1149. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
  1150. package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
  1151. package/esm/resources/Issuing/Settlements.d.ts +0 -85
  1152. package/esm/resources/Issuing/Settlements.js +0 -3
  1153. package/esm/resources/Issuing/Settlements.js.map +0 -1
  1154. package/esm/resources/Margins.d.ts +0 -115
  1155. package/esm/resources/Margins.js +0 -31
  1156. package/esm/resources/Margins.js.map +0 -1
  1157. package/esm/resources/Orders.d.ts +0 -4693
  1158. package/esm/resources/Orders.js +0 -453
  1159. package/esm/resources/Orders.js.map +0 -1
  1160. package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
  1161. package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
  1162. package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
  1163. package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
  1164. package/esm/resources/Privacy/RedactionJobs.js +0 -69
  1165. package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
  1166. package/esm/resources/Privacy/index.d.ts +0 -22
  1167. package/esm/resources/Privacy/index.js +0 -9
  1168. package/esm/resources/Privacy/index.js.map +0 -1
  1169. package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
  1170. package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
  1171. package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
  1172. package/esm/resources/ProductCatalog/index.d.ts +0 -12
  1173. package/esm/resources/ProductCatalog/index.js +0 -9
  1174. package/esm/resources/ProductCatalog/index.js.map +0 -1
  1175. package/esm/resources/QuoteLines.d.ts +0 -507
  1176. package/esm/resources/QuoteLines.js +0 -3
  1177. package/esm/resources/QuoteLines.js.map +0 -1
  1178. package/esm/resources/QuotePreviewInvoices.d.ts +0 -1120
  1179. package/esm/resources/QuotePreviewInvoices.js +0 -3
  1180. package/esm/resources/QuotePreviewInvoices.js.map +0 -1
  1181. package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -737
  1182. package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
  1183. package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
  1184. package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1095
  1185. package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
  1186. package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
  1187. package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -308
  1188. package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
  1189. package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
  1190. package/esm/resources/SharedPayment/index.d.ts +0 -19
  1191. package/esm/resources/SharedPayment/index.js +0 -11
  1192. package/esm/resources/SharedPayment/index.js.map +0 -1
  1193. package/esm/resources/Tax/Forms.d.ts +0 -230
  1194. package/esm/resources/Tax/Forms.js +0 -28
  1195. package/esm/resources/Tax/Forms.js.map +0 -1
  1196. package/esm/resources/Tax/Locations.d.ts +0 -108
  1197. package/esm/resources/Tax/Locations.js +0 -29
  1198. package/esm/resources/Tax/Locations.js.map +0 -1
  1199. package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
  1200. package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
  1201. package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
  1202. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
  1203. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
  1204. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
  1205. package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
  1206. package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
  1207. package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
  1208. package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
  1209. package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
  1210. package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
  1211. package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
  1212. package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
  1213. package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
  1214. package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
  1215. package/esm/resources/V2/Billing/BillSettings.js +0 -37
  1216. package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
  1217. package/esm/resources/V2/Billing/Cadences.d.ts +0 -951
  1218. package/esm/resources/V2/Billing/Cadences.js +0 -194
  1219. package/esm/resources/V2/Billing/Cadences.js.map +0 -1
  1220. package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
  1221. package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
  1222. package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
  1223. package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
  1224. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
  1225. package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
  1226. package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
  1227. package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
  1228. package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
  1229. package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
  1230. package/esm/resources/V2/Billing/Profiles.js +0 -31
  1231. package/esm/resources/V2/Billing/Profiles.js.map +0 -1
  1232. package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
  1233. package/esm/resources/V2/Core/BatchJobs.js +0 -221
  1234. package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
  1235. package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
  1236. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
  1237. package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
  1238. package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
  1239. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
  1240. package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
  1241. package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
  1242. package/esm/resources/V2/Core/Vault/index.js +0 -11
  1243. package/esm/resources/V2/Core/Vault/index.js.map +0 -1
  1244. package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
  1245. package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
  1246. package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
  1247. package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
  1248. package/esm/resources/V2/Data/Reporting/index.js +0 -9
  1249. package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
  1250. package/esm/resources/V2/Data/index.d.ts +0 -10
  1251. package/esm/resources/V2/Data/index.js +0 -9
  1252. package/esm/resources/V2/Data/index.js.map +0 -1
  1253. package/esm/resources/V2/EventMisc.d.ts +0 -0
  1254. package/esm/resources/V2/EventMisc.js +0 -2
  1255. package/esm/resources/V2/EventMisc.js.map +0 -1
  1256. package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
  1257. package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
  1258. package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
  1259. package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
  1260. package/esm/resources/V2/Extend/Workflows.js +0 -26
  1261. package/esm/resources/V2/Extend/Workflows.js.map +0 -1
  1262. package/esm/resources/V2/Extend/index.d.ts +0 -20
  1263. package/esm/resources/V2/Extend/index.js +0 -11
  1264. package/esm/resources/V2/Extend/index.js.map +0 -1
  1265. package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
  1266. package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
  1267. package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
  1268. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
  1269. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
  1270. package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
  1271. package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -214
  1272. package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
  1273. package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
  1274. package/esm/resources/V2/Iam/index.d.ts +0 -13
  1275. package/esm/resources/V2/Iam/index.js +0 -9
  1276. package/esm/resources/V2/Iam/index.js.map +0 -1
  1277. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
  1278. package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
  1279. package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
  1280. package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
  1281. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
  1282. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
  1283. package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
  1284. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
  1285. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
  1286. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
  1287. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
  1288. package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
  1289. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
  1290. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
  1291. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
  1292. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
  1293. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
  1294. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
  1295. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -300
  1296. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
  1297. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
  1298. package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
  1299. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
  1300. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
  1301. package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
  1302. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
  1303. package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
  1304. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
  1305. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
  1306. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
  1307. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -295
  1308. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
  1309. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
  1310. package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
  1311. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
  1312. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
  1313. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
  1314. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
  1315. package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
  1316. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
  1317. package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
  1318. package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
  1319. package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
  1320. package/esm/resources/V2/MoneyManagement/index.js +0 -35
  1321. package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
  1322. package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
  1323. package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
  1324. package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
  1325. package/esm/resources/V2/Network/index.d.ts +0 -13
  1326. package/esm/resources/V2/Network/index.js +0 -9
  1327. package/esm/resources/V2/Network/index.js.map +0 -1
  1328. package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
  1329. package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
  1330. package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
  1331. package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
  1332. package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
  1333. package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
  1334. package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
  1335. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
  1336. package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
  1337. package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
  1338. package/esm/resources/V2/TestHelpers/index.js +0 -9
  1339. package/esm/resources/V2/TestHelpers/index.js.map +0 -1
@@ -22,7 +22,7 @@ class RegistrationResource extends StripeResource_js_1.StripeResource {
22
22
  * Returns a Tax Registration object.
23
23
  */
24
24
  retrieve(id, params, options) {
25
- return this._makeRequest('GET', `/v1/tax/registrations/${id}`, params, options);
25
+ return this._makeRequest('GET', `/v1/tax/registrations/${encodeURIComponent(id)}`, params, options);
26
26
  }
27
27
  /**
28
28
  * Updates an existing Tax Registration object.
@@ -30,7 +30,7 @@ class RegistrationResource extends StripeResource_js_1.StripeResource {
30
30
  * 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.
31
31
  */
32
32
  update(id, params, options) {
33
- return this._makeRequest('POST', `/v1/tax/registrations/${id}`, params, options);
33
+ return this._makeRequest('POST', `/v1/tax/registrations/${encodeURIComponent(id)}`, params, options);
34
34
  }
35
35
  }
36
36
  exports.RegistrationResource = RegistrationResource;
@@ -1 +1 @@
1
- {"version":3,"file":"Registrations.js","sourceRoot":"","sources":["../../../src/resources/Tax/Registrations.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAIvD,MAAa,oBAAqB,SAAQ,kCAAc;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;AA1DD,oDA0DC"}
1
+ {"version":3,"file":"Registrations.js","sourceRoot":"","sources":["../../../src/resources/Tax/Registrations.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAIvD,MAAa,oBAAqB,SAAQ,kCAAc;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;AA1DD,oDA0DC"}
@@ -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
  }
@@ -8,7 +8,7 @@ class TransactionResource extends StripeResource_js_1.StripeResource {
8
8
  * Retrieves a Tax Transaction object.
9
9
  */
10
10
  retrieve(id, params, options) {
11
- return this._makeRequest('GET', `/v1/tax/transactions/${id}`, params, options);
11
+ return this._makeRequest('GET', `/v1/tax/transactions/${encodeURIComponent(id)}`, params, options);
12
12
  }
13
13
  /**
14
14
  * Creates a Tax Transaction from a calculation, if that calculation hasn't expired. Calculations expire after 90 days.
@@ -26,7 +26,7 @@ class TransactionResource extends StripeResource_js_1.StripeResource {
26
26
  * Retrieves the line items of a committed standalone transaction as a collection.
27
27
  */
28
28
  listLineItems(id, params, options) {
29
- return this._makeRequest('GET', `/v1/tax/transactions/${id}/line_items`, params, options, {
29
+ return this._makeRequest('GET', `/v1/tax/transactions/${encodeURIComponent(id)}/line_items`, params, options, {
30
30
  methodType: 'list',
31
31
  });
32
32
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Transactions.js","sourceRoot":"","sources":["../../../src/resources/Tax/Transactions.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAUvD,MAAa,mBAAoB,SAAQ,kCAAc;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;AA9DD,kDA8DC"}
1
+ {"version":3,"file":"Transactions.js","sourceRoot":"","sources":["../../../src/resources/Tax/Transactions.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAUvD,MAAa,mBAAoB,SAAQ,kCAAc;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;AA9DD,kDA8DC"}
@@ -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
  }
@@ -4,8 +4,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Tax = void 0;
5
5
  const Associations_js_1 = require("./Associations.js");
6
6
  const Calculations_js_1 = require("./Calculations.js");
7
- const Forms_js_1 = require("./Forms.js");
8
- const Locations_js_1 = require("./Locations.js");
9
7
  const Registrations_js_1 = require("./Registrations.js");
10
8
  const Settings_js_1 = require("./Settings.js");
11
9
  const Transactions_js_1 = require("./Transactions.js");
@@ -14,8 +12,6 @@ class Tax {
14
12
  this.stripe = stripe;
15
13
  this.associations = new Associations_js_1.AssociationResource(stripe);
16
14
  this.calculations = new Calculations_js_1.CalculationResource(stripe);
17
- this.forms = new Forms_js_1.FormResource(stripe);
18
- this.locations = new Locations_js_1.LocationResource(stripe);
19
15
  this.registrations = new Registrations_js_1.RegistrationResource(stripe);
20
16
  this.settings = new Settings_js_1.SettingResource(stripe);
21
17
  this.transactions = new Transactions_js_1.TransactionResource(stripe);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Tax/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,uDAI2B;AAC3B,uDAI2B;AAC3B,yCAAoE;AACpE,iDAAgF;AAChF,yDAI4B;AAC5B,+CAA8E;AAC9E,uDAI2B;AAc3B,MAAa,GAAG;IASd,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,YAAY,GAAG,IAAI,qCAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,YAAY,GAAG,IAAI,qCAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,KAAK,GAAG,IAAI,uBAAY,CAAC,MAAM,CAAC,CAAC;QACtC,IAAI,CAAC,SAAS,GAAG,IAAI,+BAAgB,CAAC,MAAM,CAAC,CAAC;QAC9C,IAAI,CAAC,aAAa,GAAG,IAAI,uCAAoB,CAAC,MAAM,CAAC,CAAC;QACtD,IAAI,CAAC,QAAQ,GAAG,IAAI,6BAAe,CAAC,MAAM,CAAC,CAAC;QAC5C,IAAI,CAAC,YAAY,GAAG,IAAI,qCAAmB,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;CACF;AAlBD,kBAkBC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Tax/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,uDAI2B;AAC3B,uDAI2B;AAC3B,yDAI4B;AAC5B,+CAA8E;AAC9E,uDAI2B;AAY3B,MAAa,GAAG;IAOd,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,YAAY,GAAG,IAAI,qCAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,YAAY,GAAG,IAAI,qCAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,aAAa,GAAG,IAAI,uCAAoB,CAAC,MAAM,CAAC,CAAC;QACtD,IAAI,CAAC,QAAQ,GAAG,IAAI,6BAAe,CAAC,MAAM,CAAC,CAAC;QAC5C,IAAI,CAAC,YAAY,GAAG,IAAI,qCAAmB,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;CACF;AAdD,kBAcC"}
@@ -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
  /**
@@ -16,7 +16,7 @@ class TaxCodeResource extends StripeResource_js_1.StripeResource {
16
16
  * Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.
17
17
  */
18
18
  retrieve(id, params, options) {
19
- return this._makeRequest('GET', `/v1/tax_codes/${id}`, params, options);
19
+ return this._makeRequest('GET', `/v1/tax_codes/${encodeURIComponent(id)}`, params, options);
20
20
  }
21
21
  }
22
22
  exports.TaxCodeResource = TaxCodeResource;