@commercelayer/sdk 7.11.0 → 7.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1666) hide show
  1. package/README.md +15 -20
  2. package/lib/api-CiWKv2Ad.d.ts +18181 -0
  3. package/lib/api-DhbS8TfO.d.cts +18181 -0
  4. package/lib/api.cjs +265 -270
  5. package/lib/api.d.cts +1 -1
  6. package/lib/api.d.ts +1 -1
  7. package/lib/api.js +134 -135
  8. package/lib/bundle.cjs +267 -271
  9. package/lib/bundle.cjs.map +1 -1
  10. package/lib/bundle.d.cts +1 -2
  11. package/lib/bundle.d.ts +1 -2
  12. package/lib/bundle.js +135 -139
  13. package/lib/bundle.js.map +1 -1
  14. package/lib/chunk-225RCDGU.cjs +53 -0
  15. package/lib/chunk-225RCDGU.cjs.map +1 -0
  16. package/lib/chunk-2GZROWFO.js +41 -0
  17. package/lib/chunk-2GZROWFO.js.map +1 -0
  18. package/lib/chunk-2LZNXUFY.js +55 -0
  19. package/lib/chunk-2LZNXUFY.js.map +1 -0
  20. package/lib/chunk-2MSMUHNG.js +66 -0
  21. package/lib/chunk-2MSMUHNG.js.map +1 -0
  22. package/lib/chunk-2RW3IPYK.js +60 -0
  23. package/lib/chunk-2RW3IPYK.js.map +1 -0
  24. package/lib/chunk-2SAZMGAW.cjs +50 -0
  25. package/lib/chunk-2SAZMGAW.cjs.map +1 -0
  26. package/lib/chunk-2V4MFNM5.js +41 -0
  27. package/lib/chunk-2V4MFNM5.js.map +1 -0
  28. package/lib/chunk-2YJ4ST4G.cjs +42 -0
  29. package/lib/chunk-2YJ4ST4G.cjs.map +1 -0
  30. package/lib/chunk-33UBXTQO.cjs +77 -0
  31. package/lib/chunk-33UBXTQO.cjs.map +1 -0
  32. package/lib/chunk-3BDF64VW.js +73 -0
  33. package/lib/chunk-3BDF64VW.js.map +1 -0
  34. package/lib/chunk-3EX76AZW.js +3 -0
  35. package/lib/chunk-3EX76AZW.js.map +1 -0
  36. package/lib/chunk-3IMSCYIC.js +41 -0
  37. package/lib/chunk-3IMSCYIC.js.map +1 -0
  38. package/lib/chunk-3JVNXYTI.js +124 -0
  39. package/lib/chunk-3JVNXYTI.js.map +1 -0
  40. package/lib/chunk-3NOES4EX.js +49 -0
  41. package/lib/chunk-3NOES4EX.js.map +1 -0
  42. package/lib/chunk-3QCIWYSW.cjs +51 -0
  43. package/lib/chunk-3QCIWYSW.cjs.map +1 -0
  44. package/lib/chunk-3W33J36Z.js +49 -0
  45. package/lib/chunk-3W33J36Z.js.map +1 -0
  46. package/lib/chunk-3WTTRPSK.js +69 -0
  47. package/lib/chunk-3WTTRPSK.js.map +1 -0
  48. package/lib/chunk-3ZZ6KGDB.cjs +47 -0
  49. package/lib/chunk-3ZZ6KGDB.cjs.map +1 -0
  50. package/lib/chunk-42Y23CRY.cjs +51 -0
  51. package/lib/chunk-42Y23CRY.cjs.map +1 -0
  52. package/lib/chunk-4AZXDT2V.cjs +47 -0
  53. package/lib/chunk-4AZXDT2V.cjs.map +1 -0
  54. package/lib/chunk-4DUH2RXG.js +37 -0
  55. package/lib/chunk-4DUH2RXG.js.map +1 -0
  56. package/lib/chunk-4ESM2OUZ.cjs +50 -0
  57. package/lib/chunk-4ESM2OUZ.cjs.map +1 -0
  58. package/lib/chunk-4IFBXO5W.js +55 -0
  59. package/lib/chunk-4IFBXO5W.js.map +1 -0
  60. package/lib/chunk-4J2ISS7L.cjs +105 -0
  61. package/lib/chunk-4J2ISS7L.cjs.map +1 -0
  62. package/lib/chunk-4JL3Z5QD.cjs +38 -0
  63. package/lib/chunk-4JL3Z5QD.cjs.map +1 -0
  64. package/lib/chunk-4PFYUFSO.cjs +39 -0
  65. package/lib/chunk-4PFYUFSO.cjs.map +1 -0
  66. package/lib/chunk-4RHF7JN2.js +28 -0
  67. package/lib/chunk-4RHF7JN2.js.map +1 -0
  68. package/lib/chunk-52SEULJP.cjs +39 -0
  69. package/lib/chunk-52SEULJP.cjs.map +1 -0
  70. package/lib/chunk-55TQRLLK.js +93 -0
  71. package/lib/chunk-55TQRLLK.js.map +1 -0
  72. package/lib/chunk-5CTTK5G7.cjs +38 -0
  73. package/lib/chunk-5CTTK5G7.cjs.map +1 -0
  74. package/lib/chunk-5HIY5RJQ.cjs +47 -0
  75. package/lib/chunk-5HIY5RJQ.cjs.map +1 -0
  76. package/lib/chunk-5RQOHU5P.js +45 -0
  77. package/lib/chunk-5RQOHU5P.js.map +1 -0
  78. package/lib/chunk-5S4VIVJT.cjs +54 -0
  79. package/lib/chunk-5S4VIVJT.cjs.map +1 -0
  80. package/lib/chunk-5SPLJRDY.js +68 -0
  81. package/lib/chunk-5SPLJRDY.js.map +1 -0
  82. package/lib/chunk-5UWLI25I.js +95 -0
  83. package/lib/chunk-5UWLI25I.js.map +1 -0
  84. package/lib/chunk-5W4UAUXC.js +283 -0
  85. package/lib/chunk-5W4UAUXC.js.map +1 -0
  86. package/lib/chunk-5YMHXTJG.cjs +4 -0
  87. package/lib/chunk-5YMHXTJG.cjs.map +1 -0
  88. package/lib/chunk-5ZBTQIMD.js +53 -0
  89. package/lib/chunk-5ZBTQIMD.js.map +1 -0
  90. package/lib/chunk-62L57UQU.cjs +68 -0
  91. package/lib/chunk-62L57UQU.cjs.map +1 -0
  92. package/lib/chunk-62N4SFGW.js +45 -0
  93. package/lib/chunk-62N4SFGW.js.map +1 -0
  94. package/lib/chunk-62PWL472.cjs +43 -0
  95. package/lib/chunk-62PWL472.cjs.map +1 -0
  96. package/lib/chunk-67DYVCOK.js +45 -0
  97. package/lib/chunk-67DYVCOK.js.map +1 -0
  98. package/lib/chunk-6A63W6IB.js +49 -0
  99. package/lib/chunk-6A63W6IB.js.map +1 -0
  100. package/lib/chunk-6BI2PL4B.cjs +44 -0
  101. package/lib/chunk-6BI2PL4B.cjs.map +1 -0
  102. package/lib/chunk-6H2URCPA.cjs +61 -0
  103. package/lib/chunk-6H2URCPA.cjs.map +1 -0
  104. package/lib/chunk-6OJKY6R2.js +91 -0
  105. package/lib/chunk-6OJKY6R2.js.map +1 -0
  106. package/lib/chunk-6PB2M2MP.js +37 -0
  107. package/lib/chunk-6PB2M2MP.js.map +1 -0
  108. package/lib/chunk-6Q3CIOEF.js +105 -0
  109. package/lib/chunk-6Q3CIOEF.js.map +1 -0
  110. package/lib/chunk-6RISOLQJ.js +49 -0
  111. package/lib/chunk-6RISOLQJ.js.map +1 -0
  112. package/lib/chunk-6TLH43XL.cjs +30 -0
  113. package/lib/chunk-6TLH43XL.cjs.map +1 -0
  114. package/lib/chunk-6ZH7H3BJ.js +61 -0
  115. package/lib/chunk-6ZH7H3BJ.js.map +1 -0
  116. package/lib/chunk-7GMW5BUO.cjs +29 -0
  117. package/lib/chunk-7GMW5BUO.cjs.map +1 -0
  118. package/lib/chunk-7HY2CVJG.cjs +53 -0
  119. package/lib/chunk-7HY2CVJG.cjs.map +1 -0
  120. package/lib/chunk-7IYE2CYM.cjs +39 -0
  121. package/lib/chunk-7IYE2CYM.cjs.map +1 -0
  122. package/lib/chunk-7QTFNA3O.js +45 -0
  123. package/lib/chunk-7QTFNA3O.js.map +1 -0
  124. package/lib/chunk-7TDUZM36.js +48 -0
  125. package/lib/chunk-7TDUZM36.js.map +1 -0
  126. package/lib/chunk-7TN3F3TS.cjs +47 -0
  127. package/lib/chunk-7TN3F3TS.cjs.map +1 -0
  128. package/lib/chunk-7XCMIHK2.js +59 -0
  129. package/lib/chunk-7XCMIHK2.js.map +1 -0
  130. package/lib/chunk-7XI2G4AH.js +68 -0
  131. package/lib/chunk-7XI2G4AH.js.map +1 -0
  132. package/lib/chunk-A6N5NU4Q.cjs +70 -0
  133. package/lib/chunk-A6N5NU4Q.cjs.map +1 -0
  134. package/lib/chunk-AANIDX5T.cjs +101 -0
  135. package/lib/chunk-AANIDX5T.cjs.map +1 -0
  136. package/lib/chunk-ADVFX6Q4.js +45 -0
  137. package/lib/chunk-ADVFX6Q4.js.map +1 -0
  138. package/lib/chunk-AEUJD27H.js +24 -0
  139. package/lib/chunk-AEUJD27H.js.map +1 -0
  140. package/lib/chunk-AFTJ3CBC.js +40 -0
  141. package/lib/chunk-AFTJ3CBC.js.map +1 -0
  142. package/lib/chunk-AHVQFILB.js +45 -0
  143. package/lib/chunk-AHVQFILB.js.map +1 -0
  144. package/lib/chunk-AIRHVW6S.js +49 -0
  145. package/lib/chunk-AIRHVW6S.js.map +1 -0
  146. package/lib/chunk-ATLMNH6A.js +49 -0
  147. package/lib/chunk-ATLMNH6A.js.map +1 -0
  148. package/lib/chunk-ATVY532N.js +93 -0
  149. package/lib/chunk-ATVY532N.js.map +1 -0
  150. package/lib/chunk-AWMC6AUP.js +49 -0
  151. package/lib/chunk-AWMC6AUP.js.map +1 -0
  152. package/lib/chunk-AYUBT6TU.js +89 -0
  153. package/lib/chunk-AYUBT6TU.js.map +1 -0
  154. package/lib/chunk-BOTOHTVE.cjs +51 -0
  155. package/lib/chunk-BOTOHTVE.cjs.map +1 -0
  156. package/lib/chunk-BPAVYFBD.cjs +56 -0
  157. package/lib/chunk-BPAVYFBD.cjs.map +1 -0
  158. package/lib/chunk-BPMQD6S6.cjs +42 -0
  159. package/lib/chunk-BPMQD6S6.cjs.map +1 -0
  160. package/lib/chunk-BPMSXN65.js +93 -0
  161. package/lib/chunk-BPMSXN65.js.map +1 -0
  162. package/lib/chunk-BRL2HVCW.cjs +75 -0
  163. package/lib/chunk-BRL2HVCW.cjs.map +1 -0
  164. package/lib/chunk-BSQCD2TW.cjs +95 -0
  165. package/lib/chunk-BSQCD2TW.cjs.map +1 -0
  166. package/lib/chunk-BW5ZHHDZ.js +37 -0
  167. package/lib/chunk-BW5ZHHDZ.js.map +1 -0
  168. package/lib/chunk-BYE3DAWN.cjs +63 -0
  169. package/lib/chunk-BYE3DAWN.cjs.map +1 -0
  170. package/lib/chunk-BZB7R6N6.js +61 -0
  171. package/lib/chunk-BZB7R6N6.js.map +1 -0
  172. package/lib/chunk-C3S4LUX5.cjs +51 -0
  173. package/lib/chunk-C3S4LUX5.cjs.map +1 -0
  174. package/lib/chunk-C5C3LBW5.js +47 -0
  175. package/lib/chunk-C5C3LBW5.js.map +1 -0
  176. package/lib/chunk-CCBBYTAJ.js +93 -0
  177. package/lib/chunk-CCBBYTAJ.js.map +1 -0
  178. package/lib/chunk-CHMVP6EF.cjs +47 -0
  179. package/lib/chunk-CHMVP6EF.cjs.map +1 -0
  180. package/lib/chunk-CIBRS4EH.cjs +30 -0
  181. package/lib/chunk-CIBRS4EH.cjs.map +1 -0
  182. package/lib/chunk-CK4H22TM.js +49 -0
  183. package/lib/chunk-CK4H22TM.js.map +1 -0
  184. package/lib/chunk-CO3BTLA4.cjs +47 -0
  185. package/lib/chunk-CO3BTLA4.cjs.map +1 -0
  186. package/lib/chunk-CRWGVC3Z.cjs +50 -0
  187. package/lib/chunk-CRWGVC3Z.cjs.map +1 -0
  188. package/lib/chunk-CSDHXRCC.cjs +43 -0
  189. package/lib/chunk-CSDHXRCC.cjs.map +1 -0
  190. package/lib/chunk-CW5BKX63.js +49 -0
  191. package/lib/chunk-CW5BKX63.js.map +1 -0
  192. package/lib/chunk-CXKK7PCG.js +59 -0
  193. package/lib/chunk-CXKK7PCG.js.map +1 -0
  194. package/lib/chunk-CXLQBCS4.js +47 -0
  195. package/lib/chunk-CXLQBCS4.js.map +1 -0
  196. package/lib/chunk-D23IE5HE.cjs +34 -0
  197. package/lib/chunk-D23IE5HE.cjs.map +1 -0
  198. package/lib/chunk-D253IBYC.cjs +285 -0
  199. package/lib/chunk-D253IBYC.cjs.map +1 -0
  200. package/lib/chunk-D2TATW5F.cjs +550 -0
  201. package/lib/chunk-D2TATW5F.cjs.map +1 -0
  202. package/lib/chunk-D3IOT5UK.js +54 -0
  203. package/lib/chunk-D3IOT5UK.js.map +1 -0
  204. package/lib/chunk-D72VXGOI.js +57 -0
  205. package/lib/chunk-D72VXGOI.js.map +1 -0
  206. package/lib/chunk-DALCPLML.cjs +56 -0
  207. package/lib/chunk-DALCPLML.cjs.map +1 -0
  208. package/lib/chunk-DCEQF4SO.cjs +49 -0
  209. package/lib/chunk-DCEQF4SO.cjs.map +1 -0
  210. package/lib/chunk-DJXJIVYA.js +40 -0
  211. package/lib/chunk-DJXJIVYA.js.map +1 -0
  212. package/lib/chunk-DKUADGYA.js +37 -0
  213. package/lib/chunk-DKUADGYA.js.map +1 -0
  214. package/lib/chunk-DOSBGZZR.cjs +61 -0
  215. package/lib/chunk-DOSBGZZR.cjs.map +1 -0
  216. package/lib/chunk-DSJFQTYA.cjs +55 -0
  217. package/lib/chunk-DSJFQTYA.cjs.map +1 -0
  218. package/lib/chunk-DX4A53QM.js +49 -0
  219. package/lib/chunk-DX4A53QM.js.map +1 -0
  220. package/lib/chunk-DYSUBTJJ.js +44 -0
  221. package/lib/chunk-DYSUBTJJ.js.map +1 -0
  222. package/lib/chunk-E24MPITG.cjs +39 -0
  223. package/lib/chunk-E24MPITG.cjs.map +1 -0
  224. package/lib/chunk-E3UAM5IG.js +51 -0
  225. package/lib/chunk-E3UAM5IG.js.map +1 -0
  226. package/lib/chunk-E4UQRXQX.js +37 -0
  227. package/lib/chunk-E4UQRXQX.js.map +1 -0
  228. package/lib/chunk-EH5M6YWR.cjs +47 -0
  229. package/lib/chunk-EH5M6YWR.cjs.map +1 -0
  230. package/lib/chunk-EZMKXDCD.cjs +50 -0
  231. package/lib/chunk-EZMKXDCD.cjs.map +1 -0
  232. package/lib/chunk-F2S3T7C7.js +93 -0
  233. package/lib/chunk-F2S3T7C7.js.map +1 -0
  234. package/lib/chunk-FHQSNPMZ.js +49 -0
  235. package/lib/chunk-FHQSNPMZ.js.map +1 -0
  236. package/lib/chunk-FJL7GQH5.cjs +51 -0
  237. package/lib/chunk-FJL7GQH5.cjs.map +1 -0
  238. package/lib/chunk-FLTE7T5O.cjs +51 -0
  239. package/lib/chunk-FLTE7T5O.cjs.map +1 -0
  240. package/lib/chunk-FNQRYCRE.js +51 -0
  241. package/lib/chunk-FNQRYCRE.js.map +1 -0
  242. package/lib/chunk-FRB2QR5J.js +96 -0
  243. package/lib/chunk-FRB2QR5J.js.map +1 -0
  244. package/lib/chunk-FUT3LCHP.cjs +56 -0
  245. package/lib/chunk-FUT3LCHP.cjs.map +1 -0
  246. package/lib/chunk-GJ2M5XUU.js +45 -0
  247. package/lib/chunk-GJ2M5XUU.js.map +1 -0
  248. package/lib/chunk-GJVFOJKS.cjs +26 -0
  249. package/lib/chunk-GJVFOJKS.cjs.map +1 -0
  250. package/lib/chunk-GQWPXVMQ.js +53 -0
  251. package/lib/chunk-GQWPXVMQ.js.map +1 -0
  252. package/lib/chunk-GXSSWG6Z.cjs +52 -0
  253. package/lib/chunk-GXSSWG6Z.cjs.map +1 -0
  254. package/lib/chunk-GY35DVJ7.cjs +51 -0
  255. package/lib/chunk-GY35DVJ7.cjs.map +1 -0
  256. package/lib/chunk-GYWUTAVE.cjs +46 -0
  257. package/lib/chunk-GYWUTAVE.cjs.map +1 -0
  258. package/lib/chunk-GZGQSKLF.js +59 -0
  259. package/lib/chunk-GZGQSKLF.js.map +1 -0
  260. package/lib/chunk-HJ3RDHVN.cjs +34 -0
  261. package/lib/chunk-HJ3RDHVN.cjs.map +1 -0
  262. package/lib/chunk-HJFTJL3E.js +54 -0
  263. package/lib/chunk-HJFTJL3E.js.map +1 -0
  264. package/lib/chunk-HJIVGKWG.cjs +46 -0
  265. package/lib/chunk-HJIVGKWG.cjs.map +1 -0
  266. package/lib/chunk-HL6MEEU5.js +154 -0
  267. package/lib/chunk-HL6MEEU5.js.map +1 -0
  268. package/lib/chunk-HWDD4SMM.js +103 -0
  269. package/lib/chunk-HWDD4SMM.js.map +1 -0
  270. package/lib/chunk-HWOQQNX3.cjs +63 -0
  271. package/lib/chunk-HWOQQNX3.cjs.map +1 -0
  272. package/lib/chunk-HZIRPRFN.cjs +47 -0
  273. package/lib/chunk-HZIRPRFN.cjs.map +1 -0
  274. package/lib/chunk-HZLPTAKA.js +45 -0
  275. package/lib/chunk-HZLPTAKA.js.map +1 -0
  276. package/lib/chunk-I4A63K2Q.js +45 -0
  277. package/lib/chunk-I4A63K2Q.js.map +1 -0
  278. package/lib/chunk-IHYX6NQH.js +51 -0
  279. package/lib/chunk-IHYX6NQH.js.map +1 -0
  280. package/lib/chunk-IP5HITFS.cjs +70 -0
  281. package/lib/chunk-IP5HITFS.cjs.map +1 -0
  282. package/lib/chunk-IPS6QJLO.cjs +57 -0
  283. package/lib/chunk-IPS6QJLO.cjs.map +1 -0
  284. package/lib/chunk-IRFX6LWG.js +37 -0
  285. package/lib/chunk-IRFX6LWG.js.map +1 -0
  286. package/lib/chunk-IYCURPP5.cjs +107 -0
  287. package/lib/chunk-IYCURPP5.cjs.map +1 -0
  288. package/lib/chunk-J26HOFAI.cjs +47 -0
  289. package/lib/chunk-J26HOFAI.cjs.map +1 -0
  290. package/lib/chunk-JCI5Z3SY.js +59 -0
  291. package/lib/chunk-JCI5Z3SY.js.map +1 -0
  292. package/lib/chunk-JF6PN4CF.js +75 -0
  293. package/lib/chunk-JF6PN4CF.js.map +1 -0
  294. package/lib/chunk-JGQSZ4FV.cjs +75 -0
  295. package/lib/chunk-JGQSZ4FV.cjs.map +1 -0
  296. package/lib/chunk-JO56R3TP.cjs +54 -0
  297. package/lib/chunk-JO56R3TP.cjs.map +1 -0
  298. package/lib/chunk-JVEOQPIP.cjs +56 -0
  299. package/lib/chunk-JVEOQPIP.cjs.map +1 -0
  300. package/lib/chunk-K6QROUP2.js +45 -0
  301. package/lib/chunk-K6QROUP2.js.map +1 -0
  302. package/lib/chunk-KA3ARL4M.cjs +47 -0
  303. package/lib/chunk-KA3ARL4M.cjs.map +1 -0
  304. package/lib/chunk-KACVNOCD.cjs +53 -0
  305. package/lib/chunk-KACVNOCD.cjs.map +1 -0
  306. package/lib/chunk-KBHOKNEY.cjs +55 -0
  307. package/lib/chunk-KBHOKNEY.cjs.map +1 -0
  308. package/lib/chunk-KNAQ4UMU.cjs +51 -0
  309. package/lib/chunk-KNAQ4UMU.cjs.map +1 -0
  310. package/lib/chunk-KX2TRARQ.js +54 -0
  311. package/lib/chunk-KX2TRARQ.js.map +1 -0
  312. package/lib/chunk-KXU3VOOJ.js +73 -0
  313. package/lib/chunk-KXU3VOOJ.js.map +1 -0
  314. package/lib/chunk-LA43RTZ4.js +49 -0
  315. package/lib/chunk-LA43RTZ4.js.map +1 -0
  316. package/lib/chunk-LAYXKEVY.js +45 -0
  317. package/lib/chunk-LAYXKEVY.js.map +1 -0
  318. package/lib/chunk-LBISZHJS.js +45 -0
  319. package/lib/chunk-LBISZHJS.js.map +1 -0
  320. package/lib/chunk-LGIROVQI.js +32 -0
  321. package/lib/chunk-LGIROVQI.js.map +1 -0
  322. package/lib/chunk-LL2RPBAA.js +50 -0
  323. package/lib/chunk-LL2RPBAA.js.map +1 -0
  324. package/lib/chunk-LL3M46A5.cjs +42 -0
  325. package/lib/chunk-LL3M46A5.cjs.map +1 -0
  326. package/lib/chunk-LXLCAD45.js +66 -0
  327. package/lib/chunk-LXLCAD45.js.map +1 -0
  328. package/lib/chunk-M5JX4ITG.cjs +59 -0
  329. package/lib/chunk-M5JX4ITG.cjs.map +1 -0
  330. package/lib/chunk-M7L2QTCA.cjs +47 -0
  331. package/lib/chunk-M7L2QTCA.cjs.map +1 -0
  332. package/lib/chunk-MANWK2IC.cjs +62 -0
  333. package/lib/chunk-MANWK2IC.cjs.map +1 -0
  334. package/lib/chunk-MIYTWFUU.js +45 -0
  335. package/lib/chunk-MIYTWFUU.js.map +1 -0
  336. package/lib/chunk-MMTE4ANB.cjs +39 -0
  337. package/lib/chunk-MMTE4ANB.cjs.map +1 -0
  338. package/lib/chunk-MQZYAWYA.cjs +55 -0
  339. package/lib/chunk-MQZYAWYA.cjs.map +1 -0
  340. package/lib/chunk-MSHBNBYN.cjs +47 -0
  341. package/lib/chunk-MSHBNBYN.cjs.map +1 -0
  342. package/lib/chunk-MYVVTZRG.cjs +51 -0
  343. package/lib/chunk-MYVVTZRG.cjs.map +1 -0
  344. package/lib/chunk-N4VDOIED.cjs +43 -0
  345. package/lib/chunk-N4VDOIED.cjs.map +1 -0
  346. package/lib/chunk-NDSFGWQP.cjs +67 -0
  347. package/lib/chunk-NDSFGWQP.cjs.map +1 -0
  348. package/lib/chunk-NIVC56IB.cjs +56 -0
  349. package/lib/chunk-NIVC56IB.cjs.map +1 -0
  350. package/lib/chunk-NZVKSLMS.js +49 -0
  351. package/lib/chunk-NZVKSLMS.js.map +1 -0
  352. package/lib/chunk-O35AP4HQ.js +102 -0
  353. package/lib/chunk-O35AP4HQ.js.map +1 -0
  354. package/lib/chunk-O43NEDTK.cjs +61 -0
  355. package/lib/chunk-O43NEDTK.cjs.map +1 -0
  356. package/lib/chunk-OAYIA3K5.js +52 -0
  357. package/lib/chunk-OAYIA3K5.js.map +1 -0
  358. package/lib/chunk-OCVGJZXG.cjs +51 -0
  359. package/lib/chunk-OCVGJZXG.cjs.map +1 -0
  360. package/lib/chunk-ODMNRKW7.js +54 -0
  361. package/lib/chunk-ODMNRKW7.js.map +1 -0
  362. package/lib/chunk-OK6YNH74.cjs +51 -0
  363. package/lib/chunk-OK6YNH74.cjs.map +1 -0
  364. package/lib/chunk-OVIWTYUN.cjs +57 -0
  365. package/lib/chunk-OVIWTYUN.cjs.map +1 -0
  366. package/lib/chunk-P45FTR27.js +45 -0
  367. package/lib/chunk-P45FTR27.js.map +1 -0
  368. package/lib/chunk-PBVIPSHG.cjs +43 -0
  369. package/lib/chunk-PBVIPSHG.cjs.map +1 -0
  370. package/lib/chunk-PCTX2ZF3.js +44 -0
  371. package/lib/chunk-PCTX2ZF3.js.map +1 -0
  372. package/lib/chunk-PF2U2L6L.js +28 -0
  373. package/lib/chunk-PF2U2L6L.js.map +1 -0
  374. package/lib/chunk-PHOVUFZ4.cjs +47 -0
  375. package/lib/chunk-PHOVUFZ4.cjs.map +1 -0
  376. package/lib/chunk-PNUZIK2G.js +36 -0
  377. package/lib/chunk-PNUZIK2G.js.map +1 -0
  378. package/lib/chunk-PUJN7S4J.cjs +51 -0
  379. package/lib/chunk-PUJN7S4J.cjs.map +1 -0
  380. package/lib/chunk-PUTFLUDX.js +31 -0
  381. package/lib/chunk-PUTFLUDX.js.map +1 -0
  382. package/lib/chunk-PVDC6VVA.cjs +50 -0
  383. package/lib/chunk-PVDC6VVA.cjs.map +1 -0
  384. package/lib/chunk-PVUVUM5B.cjs +47 -0
  385. package/lib/chunk-PVUVUM5B.cjs.map +1 -0
  386. package/lib/chunk-Q5U3QQ6L.cjs +71 -0
  387. package/lib/chunk-Q5U3QQ6L.cjs.map +1 -0
  388. package/lib/chunk-QSSLQRDU.js +51 -0
  389. package/lib/chunk-QSSLQRDU.js.map +1 -0
  390. package/lib/chunk-QYM7OXUQ.cjs +68 -0
  391. package/lib/chunk-QYM7OXUQ.cjs.map +1 -0
  392. package/lib/chunk-QZ7R3CGB.cjs +42 -0
  393. package/lib/chunk-QZ7R3CGB.cjs.map +1 -0
  394. package/lib/chunk-RAXA7MPX.js +40 -0
  395. package/lib/chunk-RAXA7MPX.js.map +1 -0
  396. package/lib/chunk-RDOB2GZT.cjs +95 -0
  397. package/lib/chunk-RDOB2GZT.cjs.map +1 -0
  398. package/lib/chunk-RJPVLWBM.cjs +38 -0
  399. package/lib/chunk-RJPVLWBM.cjs.map +1 -0
  400. package/lib/chunk-RM2WFVF5.cjs +61 -0
  401. package/lib/chunk-RM2WFVF5.cjs.map +1 -0
  402. package/lib/chunk-RSS5IWAB.cjs +49 -0
  403. package/lib/chunk-RSS5IWAB.cjs.map +1 -0
  404. package/lib/chunk-RX3HJ7IR.js +36 -0
  405. package/lib/chunk-RX3HJ7IR.js.map +1 -0
  406. package/lib/chunk-RYNUHEGX.js +32 -0
  407. package/lib/chunk-RYNUHEGX.js.map +1 -0
  408. package/lib/chunk-RZGKZSXT.js +54 -0
  409. package/lib/chunk-RZGKZSXT.js.map +1 -0
  410. package/lib/chunk-S4AILUR7.js +536 -0
  411. package/lib/chunk-S4AILUR7.js.map +1 -0
  412. package/lib/chunk-S4TPKIG5.js +41 -0
  413. package/lib/chunk-S4TPKIG5.js.map +1 -0
  414. package/lib/chunk-S7Q42BBG.cjs +42 -0
  415. package/lib/chunk-S7Q42BBG.cjs.map +1 -0
  416. package/lib/chunk-SERRVB25.cjs +51 -0
  417. package/lib/chunk-SERRVB25.cjs.map +1 -0
  418. package/lib/chunk-SWSX4KRR.js +27 -0
  419. package/lib/chunk-SWSX4KRR.js.map +1 -0
  420. package/lib/chunk-SYSNGHEG.js +40 -0
  421. package/lib/chunk-SYSNGHEG.js.map +1 -0
  422. package/lib/chunk-T23Y2QTM.cjs +107 -0
  423. package/lib/chunk-T23Y2QTM.cjs.map +1 -0
  424. package/lib/chunk-T3OBEDI4.cjs +56 -0
  425. package/lib/chunk-T3OBEDI4.cjs.map +1 -0
  426. package/lib/chunk-T7QXZHTL.cjs +53 -0
  427. package/lib/chunk-T7QXZHTL.cjs.map +1 -0
  428. package/lib/chunk-TIA53DAH.js +54 -0
  429. package/lib/chunk-TIA53DAH.js.map +1 -0
  430. package/lib/chunk-TJEA37RN.cjs +39 -0
  431. package/lib/chunk-TJEA37RN.cjs.map +1 -0
  432. package/lib/chunk-TPO5GEA3.cjs +91 -0
  433. package/lib/chunk-TPO5GEA3.cjs.map +1 -0
  434. package/lib/chunk-TUT5DSFS.cjs +49 -0
  435. package/lib/chunk-TUT5DSFS.cjs.map +1 -0
  436. package/lib/chunk-U2QBVG5P.js +48 -0
  437. package/lib/chunk-U2QBVG5P.js.map +1 -0
  438. package/lib/chunk-U3UQ2KCY.js +59 -0
  439. package/lib/chunk-U3UQ2KCY.js.map +1 -0
  440. package/lib/chunk-U7NPDLRU.js +54 -0
  441. package/lib/chunk-U7NPDLRU.js.map +1 -0
  442. package/lib/chunk-UB5WDQ5P.cjs +55 -0
  443. package/lib/chunk-UB5WDQ5P.cjs.map +1 -0
  444. package/lib/chunk-UFTGYB2P.js +67 -0
  445. package/lib/chunk-UFTGYB2P.js.map +1 -0
  446. package/lib/chunk-UW6CNKMD.cjs +56 -0
  447. package/lib/chunk-UW6CNKMD.cjs.map +1 -0
  448. package/lib/chunk-UXGOWL37.cjs +47 -0
  449. package/lib/chunk-UXGOWL37.cjs.map +1 -0
  450. package/lib/chunk-UZGOFUD6.js +36 -0
  451. package/lib/chunk-UZGOFUD6.js.map +1 -0
  452. package/lib/chunk-V2O6SHTJ.js +53 -0
  453. package/lib/chunk-V2O6SHTJ.js.map +1 -0
  454. package/lib/chunk-V2SVBB32.js +54 -0
  455. package/lib/chunk-V2SVBB32.js.map +1 -0
  456. package/lib/chunk-VBECGZ7Y.js +48 -0
  457. package/lib/chunk-VBECGZ7Y.js.map +1 -0
  458. package/lib/chunk-VG5QRLCS.cjs +42 -0
  459. package/lib/chunk-VG5QRLCS.cjs.map +1 -0
  460. package/lib/chunk-VJCI73KC.cjs +156 -0
  461. package/lib/chunk-VJCI73KC.cjs.map +1 -0
  462. package/lib/chunk-VNX3YIZW.js +40 -0
  463. package/lib/chunk-VNX3YIZW.js.map +1 -0
  464. package/lib/chunk-VRRJS3ZM.cjs +284 -0
  465. package/lib/chunk-VRRJS3ZM.cjs.map +1 -0
  466. package/lib/chunk-VZWZ2NTW.js +99 -0
  467. package/lib/chunk-VZWZ2NTW.js.map +1 -0
  468. package/lib/chunk-W2T4MBV4.js +47 -0
  469. package/lib/chunk-W2T4MBV4.js.map +1 -0
  470. package/lib/chunk-W4CBHKYP.cjs +47 -0
  471. package/lib/chunk-W4CBHKYP.cjs.map +1 -0
  472. package/lib/chunk-W4M3OCH3.js +51 -0
  473. package/lib/chunk-W4M3OCH3.js.map +1 -0
  474. package/lib/chunk-W5RMMV5S.js +53 -0
  475. package/lib/chunk-W5RMMV5S.js.map +1 -0
  476. package/lib/chunk-WEQGEKUT.cjs +51 -0
  477. package/lib/chunk-WEQGEKUT.cjs.map +1 -0
  478. package/lib/chunk-WHGWYAWD.cjs +33 -0
  479. package/lib/chunk-WHGWYAWD.cjs.map +1 -0
  480. package/lib/chunk-WIM4ZWWT.js +40 -0
  481. package/lib/chunk-WIM4ZWWT.js.map +1 -0
  482. package/lib/chunk-WISHL4PL.js +48 -0
  483. package/lib/chunk-WISHL4PL.js.map +1 -0
  484. package/lib/chunk-WIVDPOV2.js +53 -0
  485. package/lib/chunk-WIVDPOV2.js.map +1 -0
  486. package/lib/chunk-WL267QRV.cjs +54 -0
  487. package/lib/chunk-WL267QRV.cjs.map +1 -0
  488. package/lib/chunk-WL6XIY5R.js +52 -0
  489. package/lib/chunk-WL6XIY5R.js.map +1 -0
  490. package/lib/chunk-WYHH5QI4.js +65 -0
  491. package/lib/chunk-WYHH5QI4.js.map +1 -0
  492. package/lib/chunk-WYMOOVYG.js +96 -0
  493. package/lib/chunk-WYMOOVYG.js.map +1 -0
  494. package/lib/chunk-XBFVGK3J.js +48 -0
  495. package/lib/chunk-XBFVGK3J.js.map +1 -0
  496. package/lib/chunk-XBXYSL5J.cjs +98 -0
  497. package/lib/chunk-XBXYSL5J.cjs.map +1 -0
  498. package/lib/chunk-XCJM3XRN.cjs +53 -0
  499. package/lib/chunk-XCJM3XRN.cjs.map +1 -0
  500. package/lib/chunk-XDRKC6JM.js +276 -0
  501. package/lib/chunk-XDRKC6JM.js.map +1 -0
  502. package/lib/chunk-XECAN3XD.cjs +55 -0
  503. package/lib/chunk-XECAN3XD.cjs.map +1 -0
  504. package/lib/chunk-XIRWNWMI.cjs +42 -0
  505. package/lib/chunk-XIRWNWMI.cjs.map +1 -0
  506. package/lib/chunk-XLEJ2PV3.cjs +61 -0
  507. package/lib/chunk-XLEJ2PV3.cjs.map +1 -0
  508. package/lib/chunk-XMSZHD4G.js +45 -0
  509. package/lib/chunk-XMSZHD4G.js.map +1 -0
  510. package/lib/chunk-XND3VBYX.cjs +55 -0
  511. package/lib/chunk-XND3VBYX.cjs.map +1 -0
  512. package/lib/chunk-XTQHJJJ7.cjs +95 -0
  513. package/lib/chunk-XTQHJJJ7.cjs.map +1 -0
  514. package/lib/chunk-XVHODDX7.js +49 -0
  515. package/lib/chunk-XVHODDX7.js.map +1 -0
  516. package/lib/chunk-XXTRCYWK.cjs +47 -0
  517. package/lib/chunk-XXTRCYWK.cjs.map +1 -0
  518. package/lib/chunk-Y6CYBNR2.cjs +52 -0
  519. package/lib/chunk-Y6CYBNR2.cjs.map +1 -0
  520. package/lib/chunk-Y6QGYCKB.js +87 -0
  521. package/lib/chunk-Y6QGYCKB.js.map +1 -0
  522. package/lib/chunk-Y6ULTGRO.cjs +56 -0
  523. package/lib/chunk-Y6ULTGRO.cjs.map +1 -0
  524. package/lib/chunk-YDOTSBF3.js +52 -0
  525. package/lib/chunk-YDOTSBF3.js.map +1 -0
  526. package/lib/chunk-YEPVAW3U.cjs +97 -0
  527. package/lib/chunk-YEPVAW3U.cjs.map +1 -0
  528. package/lib/chunk-YJXFSO4R.js +40 -0
  529. package/lib/chunk-YJXFSO4R.js.map +1 -0
  530. package/lib/chunk-YLT2R3ZO.cjs +69 -0
  531. package/lib/chunk-YLT2R3ZO.cjs.map +1 -0
  532. package/lib/chunk-YMEGKTEP.js +53 -0
  533. package/lib/chunk-YMEGKTEP.js.map +1 -0
  534. package/lib/chunk-Z2DSJJDB.cjs +89 -0
  535. package/lib/chunk-Z2DSJJDB.cjs.map +1 -0
  536. package/lib/chunk-Z2XON3QS.js +45 -0
  537. package/lib/chunk-Z2XON3QS.js.map +1 -0
  538. package/lib/chunk-Z66KN6BV.cjs +93 -0
  539. package/lib/chunk-Z66KN6BV.cjs.map +1 -0
  540. package/lib/chunk-ZCDDPJN5.js +50 -0
  541. package/lib/chunk-ZCDDPJN5.js.map +1 -0
  542. package/lib/chunk-ZERO5UUI.cjs +95 -0
  543. package/lib/chunk-ZERO5UUI.cjs.map +1 -0
  544. package/lib/chunk-ZGLO72NX.cjs +98 -0
  545. package/lib/chunk-ZGLO72NX.cjs.map +1 -0
  546. package/lib/chunk-ZJ5UZTQT.js +45 -0
  547. package/lib/chunk-ZJ5UZTQT.js.map +1 -0
  548. package/lib/chunk-ZMSILIKP.cjs +95 -0
  549. package/lib/chunk-ZMSILIKP.cjs.map +1 -0
  550. package/lib/chunk-ZOASE2AV.cjs +47 -0
  551. package/lib/chunk-ZOASE2AV.cjs.map +1 -0
  552. package/lib/chunk-ZRAHMGDW.js +42 -0
  553. package/lib/chunk-ZRAHMGDW.js.map +1 -0
  554. package/lib/chunk-ZRZ4KAEU.js +45 -0
  555. package/lib/chunk-ZRZ4KAEU.js.map +1 -0
  556. package/lib/chunk-ZTYYOE7T.cjs +126 -0
  557. package/lib/chunk-ZTYYOE7T.cjs.map +1 -0
  558. package/lib/commercelayer.cjs +7 -7
  559. package/lib/commercelayer.d.cts +3 -3
  560. package/lib/commercelayer.d.ts +3 -3
  561. package/lib/commercelayer.js +3 -3
  562. package/lib/enum.cjs +14 -22
  563. package/lib/enum.d.cts +1 -1
  564. package/lib/enum.d.ts +1 -1
  565. package/lib/enum.js +1 -1
  566. package/lib/index.cjs +270 -275
  567. package/lib/index.d.cts +1 -1
  568. package/lib/index.d.ts +1 -1
  569. package/lib/index.js +136 -137
  570. package/lib/jsonapi.cjs +4 -4
  571. package/lib/jsonapi.d.cts +1 -1
  572. package/lib/jsonapi.d.ts +1 -1
  573. package/lib/jsonapi.js +2 -2
  574. package/lib/model.d.cts +1 -1
  575. package/lib/model.d.ts +1 -1
  576. package/lib/query.d.cts +1 -1
  577. package/lib/query.d.ts +1 -1
  578. package/lib/resource.cjs +7 -7
  579. package/lib/resource.d.cts +1 -1
  580. package/lib/resource.d.ts +1 -1
  581. package/lib/resource.js +2 -2
  582. package/lib/resources/addresses.cjs +4 -4
  583. package/lib/resources/addresses.d.cts +2 -2
  584. package/lib/resources/addresses.d.ts +1 -1
  585. package/lib/resources/addresses.js +3 -3
  586. package/lib/resources/adjustments.cjs +4 -4
  587. package/lib/resources/adjustments.d.cts +2 -2
  588. package/lib/resources/adjustments.d.ts +1 -1
  589. package/lib/resources/adjustments.js +3 -3
  590. package/lib/resources/adyen_gateways.cjs +4 -4
  591. package/lib/resources/adyen_gateways.d.cts +2 -2
  592. package/lib/resources/adyen_gateways.d.ts +1 -1
  593. package/lib/resources/adyen_gateways.js +3 -3
  594. package/lib/resources/adyen_payments.cjs +4 -4
  595. package/lib/resources/adyen_payments.d.cts +2 -2
  596. package/lib/resources/adyen_payments.d.ts +1 -1
  597. package/lib/resources/adyen_payments.js +3 -3
  598. package/lib/resources/applications.cjs +4 -4
  599. package/lib/resources/applications.d.cts +2 -2
  600. package/lib/resources/applications.d.ts +1 -1
  601. package/lib/resources/applications.js +3 -3
  602. package/lib/resources/attachments.cjs +4 -4
  603. package/lib/resources/attachments.d.cts +2 -2
  604. package/lib/resources/attachments.d.ts +1 -1
  605. package/lib/resources/attachments.js +3 -3
  606. package/lib/resources/authorizations.cjs +4 -4
  607. package/lib/resources/authorizations.d.cts +2 -2
  608. package/lib/resources/authorizations.d.ts +1 -1
  609. package/lib/resources/authorizations.js +3 -3
  610. package/lib/resources/avalara_accounts.cjs +4 -4
  611. package/lib/resources/avalara_accounts.d.cts +2 -2
  612. package/lib/resources/avalara_accounts.d.ts +1 -1
  613. package/lib/resources/avalara_accounts.js +3 -3
  614. package/lib/resources/axerve_gateways.cjs +4 -4
  615. package/lib/resources/axerve_gateways.d.cts +2 -2
  616. package/lib/resources/axerve_gateways.d.ts +1 -1
  617. package/lib/resources/axerve_gateways.js +3 -3
  618. package/lib/resources/axerve_payments.cjs +4 -4
  619. package/lib/resources/axerve_payments.d.cts +2 -2
  620. package/lib/resources/axerve_payments.d.ts +1 -1
  621. package/lib/resources/axerve_payments.js +3 -3
  622. package/lib/resources/bing_geocoders.cjs +4 -4
  623. package/lib/resources/bing_geocoders.d.cts +2 -2
  624. package/lib/resources/bing_geocoders.d.ts +1 -1
  625. package/lib/resources/bing_geocoders.js +3 -3
  626. package/lib/resources/braintree_gateways.cjs +4 -4
  627. package/lib/resources/braintree_gateways.d.cts +2 -2
  628. package/lib/resources/braintree_gateways.d.ts +1 -1
  629. package/lib/resources/braintree_gateways.js +3 -3
  630. package/lib/resources/braintree_payments.cjs +4 -4
  631. package/lib/resources/braintree_payments.d.cts +2 -2
  632. package/lib/resources/braintree_payments.d.ts +1 -1
  633. package/lib/resources/braintree_payments.js +3 -3
  634. package/lib/resources/bundles.cjs +4 -4
  635. package/lib/resources/bundles.d.cts +2 -2
  636. package/lib/resources/bundles.d.ts +1 -1
  637. package/lib/resources/bundles.js +3 -3
  638. package/lib/resources/buy_x_pay_y_promotions.cjs +4 -4
  639. package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -2
  640. package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
  641. package/lib/resources/buy_x_pay_y_promotions.js +3 -3
  642. package/lib/resources/captures.cjs +4 -4
  643. package/lib/resources/captures.d.cts +2 -2
  644. package/lib/resources/captures.d.ts +1 -1
  645. package/lib/resources/captures.js +3 -3
  646. package/lib/resources/carrier_accounts.cjs +4 -4
  647. package/lib/resources/carrier_accounts.d.cts +2 -2
  648. package/lib/resources/carrier_accounts.d.ts +1 -1
  649. package/lib/resources/carrier_accounts.js +3 -3
  650. package/lib/resources/checkout_com_gateways.cjs +4 -4
  651. package/lib/resources/checkout_com_gateways.d.cts +2 -2
  652. package/lib/resources/checkout_com_gateways.d.ts +1 -1
  653. package/lib/resources/checkout_com_gateways.js +3 -3
  654. package/lib/resources/checkout_com_payments.cjs +4 -4
  655. package/lib/resources/checkout_com_payments.d.cts +2 -2
  656. package/lib/resources/checkout_com_payments.d.ts +1 -1
  657. package/lib/resources/checkout_com_payments.js +3 -3
  658. package/lib/resources/cleanups.cjs +4 -4
  659. package/lib/resources/cleanups.d.cts +2 -2
  660. package/lib/resources/cleanups.d.ts +1 -1
  661. package/lib/resources/cleanups.js +3 -3
  662. package/lib/resources/coupon_codes_promotion_rules.cjs +4 -4
  663. package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -2
  664. package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
  665. package/lib/resources/coupon_codes_promotion_rules.js +3 -3
  666. package/lib/resources/coupon_recipients.cjs +4 -4
  667. package/lib/resources/coupon_recipients.d.cts +2 -2
  668. package/lib/resources/coupon_recipients.d.ts +1 -1
  669. package/lib/resources/coupon_recipients.js +3 -3
  670. package/lib/resources/coupons.cjs +4 -4
  671. package/lib/resources/coupons.d.cts +2 -2
  672. package/lib/resources/coupons.d.ts +1 -1
  673. package/lib/resources/coupons.js +3 -3
  674. package/lib/resources/custom_promotion_rules.cjs +4 -4
  675. package/lib/resources/custom_promotion_rules.d.cts +2 -2
  676. package/lib/resources/custom_promotion_rules.d.ts +1 -1
  677. package/lib/resources/custom_promotion_rules.js +3 -3
  678. package/lib/resources/customer_addresses.cjs +4 -4
  679. package/lib/resources/customer_addresses.d.cts +2 -2
  680. package/lib/resources/customer_addresses.d.ts +1 -1
  681. package/lib/resources/customer_addresses.js +3 -3
  682. package/lib/resources/customer_groups.cjs +4 -4
  683. package/lib/resources/customer_groups.d.cts +2 -2
  684. package/lib/resources/customer_groups.d.ts +1 -1
  685. package/lib/resources/customer_groups.js +3 -3
  686. package/lib/resources/customer_password_resets.cjs +4 -4
  687. package/lib/resources/customer_password_resets.d.cts +2 -2
  688. package/lib/resources/customer_password_resets.d.ts +1 -1
  689. package/lib/resources/customer_password_resets.js +3 -3
  690. package/lib/resources/customer_payment_sources.cjs +4 -4
  691. package/lib/resources/customer_payment_sources.d.cts +2 -2
  692. package/lib/resources/customer_payment_sources.d.ts +1 -1
  693. package/lib/resources/customer_payment_sources.js +3 -3
  694. package/lib/resources/customer_subscriptions.cjs +4 -4
  695. package/lib/resources/customer_subscriptions.d.cts +2 -2
  696. package/lib/resources/customer_subscriptions.d.ts +1 -1
  697. package/lib/resources/customer_subscriptions.js +3 -3
  698. package/lib/resources/customers.cjs +4 -4
  699. package/lib/resources/customers.d.cts +2 -2
  700. package/lib/resources/customers.d.ts +1 -1
  701. package/lib/resources/customers.js +3 -3
  702. package/lib/resources/delivery_lead_times.cjs +4 -4
  703. package/lib/resources/delivery_lead_times.d.cts +2 -2
  704. package/lib/resources/delivery_lead_times.d.ts +1 -1
  705. package/lib/resources/delivery_lead_times.js +3 -3
  706. package/lib/resources/discount_engine_items.cjs +4 -4
  707. package/lib/resources/discount_engine_items.d.cts +2 -2
  708. package/lib/resources/discount_engine_items.d.ts +1 -1
  709. package/lib/resources/discount_engine_items.js +3 -3
  710. package/lib/resources/discount_engines.cjs +4 -4
  711. package/lib/resources/discount_engines.d.cts +2 -2
  712. package/lib/resources/discount_engines.d.ts +1 -1
  713. package/lib/resources/discount_engines.js +3 -3
  714. package/lib/resources/easypost_pickups.cjs +4 -4
  715. package/lib/resources/easypost_pickups.d.cts +2 -2
  716. package/lib/resources/easypost_pickups.d.ts +1 -1
  717. package/lib/resources/easypost_pickups.js +3 -3
  718. package/lib/resources/event_callbacks.cjs +4 -4
  719. package/lib/resources/event_callbacks.d.cts +2 -2
  720. package/lib/resources/event_callbacks.d.ts +1 -1
  721. package/lib/resources/event_callbacks.js +3 -3
  722. package/lib/resources/event_stores.cjs +4 -4
  723. package/lib/resources/event_stores.d.cts +2 -2
  724. package/lib/resources/event_stores.d.ts +1 -1
  725. package/lib/resources/event_stores.js +3 -3
  726. package/lib/resources/events.cjs +4 -4
  727. package/lib/resources/events.d.cts +2 -2
  728. package/lib/resources/events.d.ts +1 -1
  729. package/lib/resources/events.js +3 -3
  730. package/lib/resources/exports.cjs +4 -4
  731. package/lib/resources/exports.d.cts +2 -2
  732. package/lib/resources/exports.d.ts +1 -1
  733. package/lib/resources/exports.js +3 -3
  734. package/lib/resources/external_gateways.cjs +4 -4
  735. package/lib/resources/external_gateways.d.cts +2 -2
  736. package/lib/resources/external_gateways.d.ts +1 -1
  737. package/lib/resources/external_gateways.js +3 -3
  738. package/lib/resources/external_payments.cjs +4 -4
  739. package/lib/resources/external_payments.d.cts +2 -2
  740. package/lib/resources/external_payments.d.ts +1 -1
  741. package/lib/resources/external_payments.js +3 -3
  742. package/lib/resources/external_promotions.cjs +4 -4
  743. package/lib/resources/external_promotions.d.cts +2 -2
  744. package/lib/resources/external_promotions.d.ts +1 -1
  745. package/lib/resources/external_promotions.js +3 -3
  746. package/lib/resources/external_tax_calculators.cjs +4 -4
  747. package/lib/resources/external_tax_calculators.d.cts +2 -2
  748. package/lib/resources/external_tax_calculators.d.ts +1 -1
  749. package/lib/resources/external_tax_calculators.js +3 -3
  750. package/lib/resources/fixed_amount_promotions.cjs +4 -4
  751. package/lib/resources/fixed_amount_promotions.d.cts +2 -2
  752. package/lib/resources/fixed_amount_promotions.d.ts +1 -1
  753. package/lib/resources/fixed_amount_promotions.js +3 -3
  754. package/lib/resources/fixed_price_promotions.cjs +4 -4
  755. package/lib/resources/fixed_price_promotions.d.cts +2 -2
  756. package/lib/resources/fixed_price_promotions.d.ts +1 -1
  757. package/lib/resources/fixed_price_promotions.js +3 -3
  758. package/lib/resources/flex_promotions.cjs +4 -4
  759. package/lib/resources/flex_promotions.d.cts +2 -2
  760. package/lib/resources/flex_promotions.d.ts +1 -1
  761. package/lib/resources/flex_promotions.js +3 -3
  762. package/lib/resources/free_gift_promotions.cjs +4 -4
  763. package/lib/resources/free_gift_promotions.d.cts +2 -2
  764. package/lib/resources/free_gift_promotions.d.ts +1 -1
  765. package/lib/resources/free_gift_promotions.js +3 -3
  766. package/lib/resources/free_shipping_promotions.cjs +4 -4
  767. package/lib/resources/free_shipping_promotions.d.cts +2 -2
  768. package/lib/resources/free_shipping_promotions.d.ts +1 -1
  769. package/lib/resources/free_shipping_promotions.js +3 -3
  770. package/lib/resources/geocoders.cjs +4 -4
  771. package/lib/resources/geocoders.d.cts +2 -2
  772. package/lib/resources/geocoders.d.ts +1 -1
  773. package/lib/resources/geocoders.js +3 -3
  774. package/lib/resources/gift_card_recipients.cjs +4 -4
  775. package/lib/resources/gift_card_recipients.d.cts +2 -2
  776. package/lib/resources/gift_card_recipients.d.ts +1 -1
  777. package/lib/resources/gift_card_recipients.js +3 -3
  778. package/lib/resources/gift_cards.cjs +4 -4
  779. package/lib/resources/gift_cards.d.cts +2 -2
  780. package/lib/resources/gift_cards.d.ts +1 -1
  781. package/lib/resources/gift_cards.js +3 -3
  782. package/lib/resources/google_geocoders.cjs +4 -4
  783. package/lib/resources/google_geocoders.d.cts +2 -2
  784. package/lib/resources/google_geocoders.d.ts +1 -1
  785. package/lib/resources/google_geocoders.js +3 -3
  786. package/lib/resources/imports.cjs +4 -4
  787. package/lib/resources/imports.d.cts +2 -2
  788. package/lib/resources/imports.d.ts +1 -1
  789. package/lib/resources/imports.js +3 -3
  790. package/lib/resources/in_stock_subscriptions.cjs +4 -4
  791. package/lib/resources/in_stock_subscriptions.d.cts +2 -2
  792. package/lib/resources/in_stock_subscriptions.d.ts +1 -1
  793. package/lib/resources/in_stock_subscriptions.js +3 -3
  794. package/lib/resources/inventory_models.cjs +4 -4
  795. package/lib/resources/inventory_models.d.cts +2 -2
  796. package/lib/resources/inventory_models.d.ts +1 -1
  797. package/lib/resources/inventory_models.js +3 -3
  798. package/lib/resources/inventory_return_locations.cjs +4 -4
  799. package/lib/resources/inventory_return_locations.d.cts +2 -2
  800. package/lib/resources/inventory_return_locations.d.ts +1 -1
  801. package/lib/resources/inventory_return_locations.js +3 -3
  802. package/lib/resources/inventory_stock_locations.cjs +4 -4
  803. package/lib/resources/inventory_stock_locations.d.cts +2 -2
  804. package/lib/resources/inventory_stock_locations.d.ts +1 -1
  805. package/lib/resources/inventory_stock_locations.js +3 -3
  806. package/lib/resources/klarna_gateways.cjs +4 -4
  807. package/lib/resources/klarna_gateways.d.cts +2 -2
  808. package/lib/resources/klarna_gateways.d.ts +1 -1
  809. package/lib/resources/klarna_gateways.js +3 -3
  810. package/lib/resources/klarna_payments.cjs +4 -4
  811. package/lib/resources/klarna_payments.d.cts +2 -2
  812. package/lib/resources/klarna_payments.d.ts +1 -1
  813. package/lib/resources/klarna_payments.js +3 -3
  814. package/lib/resources/line_item_options.cjs +4 -4
  815. package/lib/resources/line_item_options.d.cts +2 -2
  816. package/lib/resources/line_item_options.d.ts +1 -1
  817. package/lib/resources/line_item_options.js +3 -3
  818. package/lib/resources/line_items.cjs +4 -4
  819. package/lib/resources/line_items.d.cts +2 -2
  820. package/lib/resources/line_items.d.ts +1 -1
  821. package/lib/resources/line_items.js +3 -3
  822. package/lib/resources/links.cjs +4 -4
  823. package/lib/resources/links.d.cts +2 -2
  824. package/lib/resources/links.d.ts +1 -1
  825. package/lib/resources/links.js +3 -3
  826. package/lib/resources/manual_gateways.cjs +4 -4
  827. package/lib/resources/manual_gateways.d.cts +2 -2
  828. package/lib/resources/manual_gateways.d.ts +1 -1
  829. package/lib/resources/manual_gateways.js +3 -3
  830. package/lib/resources/manual_tax_calculators.cjs +4 -4
  831. package/lib/resources/manual_tax_calculators.d.cts +2 -2
  832. package/lib/resources/manual_tax_calculators.d.ts +1 -1
  833. package/lib/resources/manual_tax_calculators.js +3 -3
  834. package/lib/resources/markets.cjs +4 -4
  835. package/lib/resources/markets.d.cts +2 -2
  836. package/lib/resources/markets.d.ts +1 -1
  837. package/lib/resources/markets.js +3 -3
  838. package/lib/resources/merchants.cjs +4 -4
  839. package/lib/resources/merchants.d.cts +2 -2
  840. package/lib/resources/merchants.d.ts +1 -1
  841. package/lib/resources/merchants.js +3 -3
  842. package/lib/resources/notifications.cjs +4 -4
  843. package/lib/resources/notifications.d.cts +2 -2
  844. package/lib/resources/notifications.d.ts +1 -1
  845. package/lib/resources/notifications.js +3 -3
  846. package/lib/resources/order_amount_promotion_rules.cjs +4 -4
  847. package/lib/resources/order_amount_promotion_rules.d.cts +2 -2
  848. package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
  849. package/lib/resources/order_amount_promotion_rules.js +3 -3
  850. package/lib/resources/order_copies.cjs +4 -4
  851. package/lib/resources/order_copies.d.cts +2 -2
  852. package/lib/resources/order_copies.d.ts +1 -1
  853. package/lib/resources/order_copies.js +3 -3
  854. package/lib/resources/order_factories.cjs +4 -4
  855. package/lib/resources/order_factories.d.cts +2 -2
  856. package/lib/resources/order_factories.d.ts +1 -1
  857. package/lib/resources/order_factories.js +3 -3
  858. package/lib/resources/order_subscription_items.cjs +4 -4
  859. package/lib/resources/order_subscription_items.d.cts +2 -2
  860. package/lib/resources/order_subscription_items.d.ts +1 -1
  861. package/lib/resources/order_subscription_items.js +3 -3
  862. package/lib/resources/order_subscriptions.cjs +4 -4
  863. package/lib/resources/order_subscriptions.d.cts +2 -2
  864. package/lib/resources/order_subscriptions.d.ts +1 -1
  865. package/lib/resources/order_subscriptions.js +3 -3
  866. package/lib/resources/orders.cjs +4 -4
  867. package/lib/resources/orders.d.cts +2 -2
  868. package/lib/resources/orders.d.ts +1 -1
  869. package/lib/resources/orders.js +3 -3
  870. package/lib/resources/organizations.cjs +4 -4
  871. package/lib/resources/organizations.d.cts +2 -2
  872. package/lib/resources/organizations.d.ts +1 -1
  873. package/lib/resources/organizations.js +3 -3
  874. package/lib/resources/packages.cjs +4 -4
  875. package/lib/resources/packages.d.cts +2 -2
  876. package/lib/resources/packages.d.ts +1 -1
  877. package/lib/resources/packages.js +3 -3
  878. package/lib/resources/parcel_line_items.cjs +4 -4
  879. package/lib/resources/parcel_line_items.d.cts +2 -2
  880. package/lib/resources/parcel_line_items.d.ts +1 -1
  881. package/lib/resources/parcel_line_items.js +3 -3
  882. package/lib/resources/parcels.cjs +4 -4
  883. package/lib/resources/parcels.d.cts +2 -2
  884. package/lib/resources/parcels.d.ts +1 -1
  885. package/lib/resources/parcels.js +3 -3
  886. package/lib/resources/payment_gateways.cjs +4 -4
  887. package/lib/resources/payment_gateways.d.cts +2 -2
  888. package/lib/resources/payment_gateways.d.ts +1 -1
  889. package/lib/resources/payment_gateways.js +3 -3
  890. package/lib/resources/payment_methods.cjs +4 -4
  891. package/lib/resources/payment_methods.d.cts +2 -2
  892. package/lib/resources/payment_methods.d.ts +1 -1
  893. package/lib/resources/payment_methods.js +3 -3
  894. package/lib/resources/payment_options.cjs +4 -4
  895. package/lib/resources/payment_options.d.cts +2 -2
  896. package/lib/resources/payment_options.d.ts +1 -1
  897. package/lib/resources/payment_options.js +3 -3
  898. package/lib/resources/paypal_gateways.cjs +4 -4
  899. package/lib/resources/paypal_gateways.d.cts +2 -2
  900. package/lib/resources/paypal_gateways.d.ts +1 -1
  901. package/lib/resources/paypal_gateways.js +3 -3
  902. package/lib/resources/paypal_payments.cjs +4 -4
  903. package/lib/resources/paypal_payments.d.cts +2 -2
  904. package/lib/resources/paypal_payments.d.ts +1 -1
  905. package/lib/resources/paypal_payments.js +3 -3
  906. package/lib/resources/percentage_discount_promotions.cjs +4 -4
  907. package/lib/resources/percentage_discount_promotions.d.cts +2 -2
  908. package/lib/resources/percentage_discount_promotions.d.ts +1 -1
  909. package/lib/resources/percentage_discount_promotions.js +3 -3
  910. package/lib/resources/pickups.cjs +4 -4
  911. package/lib/resources/pickups.d.cts +2 -2
  912. package/lib/resources/pickups.d.ts +1 -1
  913. package/lib/resources/pickups.js +3 -3
  914. package/lib/resources/price_frequency_tiers.cjs +4 -4
  915. package/lib/resources/price_frequency_tiers.d.cts +2 -2
  916. package/lib/resources/price_frequency_tiers.d.ts +1 -1
  917. package/lib/resources/price_frequency_tiers.js +3 -3
  918. package/lib/resources/price_list_schedulers.cjs +4 -4
  919. package/lib/resources/price_list_schedulers.d.cts +2 -2
  920. package/lib/resources/price_list_schedulers.d.ts +1 -1
  921. package/lib/resources/price_list_schedulers.js +3 -3
  922. package/lib/resources/price_lists.cjs +4 -4
  923. package/lib/resources/price_lists.d.cts +2 -2
  924. package/lib/resources/price_lists.d.ts +1 -1
  925. package/lib/resources/price_lists.js +3 -3
  926. package/lib/resources/price_tiers.cjs +4 -4
  927. package/lib/resources/price_tiers.d.cts +2 -2
  928. package/lib/resources/price_tiers.d.ts +1 -1
  929. package/lib/resources/price_tiers.js +3 -3
  930. package/lib/resources/price_volume_tiers.cjs +4 -4
  931. package/lib/resources/price_volume_tiers.d.cts +2 -2
  932. package/lib/resources/price_volume_tiers.d.ts +1 -1
  933. package/lib/resources/price_volume_tiers.js +3 -3
  934. package/lib/resources/prices.cjs +4 -4
  935. package/lib/resources/prices.d.cts +2 -2
  936. package/lib/resources/prices.d.ts +1 -1
  937. package/lib/resources/prices.js +3 -3
  938. package/lib/resources/promotion_rules.cjs +4 -4
  939. package/lib/resources/promotion_rules.d.cts +2 -2
  940. package/lib/resources/promotion_rules.d.ts +1 -1
  941. package/lib/resources/promotion_rules.js +3 -3
  942. package/lib/resources/promotions.cjs +4 -4
  943. package/lib/resources/promotions.d.cts +2 -2
  944. package/lib/resources/promotions.d.ts +1 -1
  945. package/lib/resources/promotions.js +3 -3
  946. package/lib/resources/recurring_order_copies.cjs +4 -4
  947. package/lib/resources/recurring_order_copies.d.cts +2 -2
  948. package/lib/resources/recurring_order_copies.d.ts +1 -1
  949. package/lib/resources/recurring_order_copies.js +3 -3
  950. package/lib/resources/refunds.cjs +4 -4
  951. package/lib/resources/refunds.d.cts +2 -2
  952. package/lib/resources/refunds.d.ts +1 -1
  953. package/lib/resources/refunds.js +3 -3
  954. package/lib/resources/reserved_stocks.cjs +4 -4
  955. package/lib/resources/reserved_stocks.d.cts +2 -2
  956. package/lib/resources/reserved_stocks.d.ts +1 -1
  957. package/lib/resources/reserved_stocks.js +3 -3
  958. package/lib/resources/resource_errors.cjs +4 -4
  959. package/lib/resources/resource_errors.d.cts +2 -2
  960. package/lib/resources/resource_errors.d.ts +1 -1
  961. package/lib/resources/resource_errors.js +3 -3
  962. package/lib/resources/return_line_items.cjs +4 -4
  963. package/lib/resources/return_line_items.d.cts +2 -2
  964. package/lib/resources/return_line_items.d.ts +1 -1
  965. package/lib/resources/return_line_items.js +3 -3
  966. package/lib/resources/returns.cjs +4 -4
  967. package/lib/resources/returns.d.cts +2 -2
  968. package/lib/resources/returns.d.ts +1 -1
  969. package/lib/resources/returns.js +3 -3
  970. package/lib/resources/satispay_gateways.cjs +4 -4
  971. package/lib/resources/satispay_gateways.d.cts +2 -2
  972. package/lib/resources/satispay_gateways.d.ts +1 -1
  973. package/lib/resources/satispay_gateways.js +3 -3
  974. package/lib/resources/satispay_payments.cjs +4 -4
  975. package/lib/resources/satispay_payments.d.cts +2 -2
  976. package/lib/resources/satispay_payments.d.ts +1 -1
  977. package/lib/resources/satispay_payments.js +3 -3
  978. package/lib/resources/shipments.cjs +4 -4
  979. package/lib/resources/shipments.d.cts +2 -2
  980. package/lib/resources/shipments.d.ts +1 -1
  981. package/lib/resources/shipments.js +3 -3
  982. package/lib/resources/shipping_categories.cjs +4 -4
  983. package/lib/resources/shipping_categories.d.cts +2 -2
  984. package/lib/resources/shipping_categories.d.ts +1 -1
  985. package/lib/resources/shipping_categories.js +3 -3
  986. package/lib/resources/shipping_method_tiers.cjs +4 -4
  987. package/lib/resources/shipping_method_tiers.d.cts +2 -2
  988. package/lib/resources/shipping_method_tiers.d.ts +1 -1
  989. package/lib/resources/shipping_method_tiers.js +3 -3
  990. package/lib/resources/shipping_methods.cjs +4 -4
  991. package/lib/resources/shipping_methods.d.cts +2 -2
  992. package/lib/resources/shipping_methods.d.ts +1 -1
  993. package/lib/resources/shipping_methods.js +3 -3
  994. package/lib/resources/shipping_weight_tiers.cjs +4 -4
  995. package/lib/resources/shipping_weight_tiers.d.cts +2 -2
  996. package/lib/resources/shipping_weight_tiers.d.ts +1 -1
  997. package/lib/resources/shipping_weight_tiers.js +3 -3
  998. package/lib/resources/shipping_zones.cjs +4 -4
  999. package/lib/resources/shipping_zones.d.cts +2 -2
  1000. package/lib/resources/shipping_zones.d.ts +1 -1
  1001. package/lib/resources/shipping_zones.js +3 -3
  1002. package/lib/resources/sku_list_items.cjs +4 -4
  1003. package/lib/resources/sku_list_items.d.cts +2 -2
  1004. package/lib/resources/sku_list_items.d.ts +1 -1
  1005. package/lib/resources/sku_list_items.js +3 -3
  1006. package/lib/resources/sku_list_promotion_rules.cjs +4 -4
  1007. package/lib/resources/sku_list_promotion_rules.d.cts +2 -2
  1008. package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
  1009. package/lib/resources/sku_list_promotion_rules.js +3 -3
  1010. package/lib/resources/sku_lists.cjs +4 -4
  1011. package/lib/resources/sku_lists.d.cts +2 -2
  1012. package/lib/resources/sku_lists.d.ts +1 -1
  1013. package/lib/resources/sku_lists.js +3 -3
  1014. package/lib/resources/sku_options.cjs +4 -4
  1015. package/lib/resources/sku_options.d.cts +2 -2
  1016. package/lib/resources/sku_options.d.ts +1 -1
  1017. package/lib/resources/sku_options.js +3 -3
  1018. package/lib/resources/skus.cjs +4 -4
  1019. package/lib/resources/skus.d.cts +2 -2
  1020. package/lib/resources/skus.d.ts +1 -1
  1021. package/lib/resources/skus.js +3 -3
  1022. package/lib/resources/stock_items.cjs +4 -4
  1023. package/lib/resources/stock_items.d.cts +2 -2
  1024. package/lib/resources/stock_items.d.ts +1 -1
  1025. package/lib/resources/stock_items.js +3 -3
  1026. package/lib/resources/stock_line_items.cjs +4 -4
  1027. package/lib/resources/stock_line_items.d.cts +2 -2
  1028. package/lib/resources/stock_line_items.d.ts +1 -1
  1029. package/lib/resources/stock_line_items.js +3 -3
  1030. package/lib/resources/stock_locations.cjs +4 -4
  1031. package/lib/resources/stock_locations.d.cts +2 -2
  1032. package/lib/resources/stock_locations.d.ts +1 -1
  1033. package/lib/resources/stock_locations.js +3 -3
  1034. package/lib/resources/stock_reservations.cjs +4 -4
  1035. package/lib/resources/stock_reservations.d.cts +2 -2
  1036. package/lib/resources/stock_reservations.d.ts +1 -1
  1037. package/lib/resources/stock_reservations.js +3 -3
  1038. package/lib/resources/stock_transfers.cjs +4 -4
  1039. package/lib/resources/stock_transfers.d.cts +2 -2
  1040. package/lib/resources/stock_transfers.d.ts +1 -1
  1041. package/lib/resources/stock_transfers.js +3 -3
  1042. package/lib/resources/stores.cjs +4 -4
  1043. package/lib/resources/stores.d.cts +2 -2
  1044. package/lib/resources/stores.d.ts +1 -1
  1045. package/lib/resources/stores.js +3 -3
  1046. package/lib/resources/stripe_gateways.cjs +4 -4
  1047. package/lib/resources/stripe_gateways.d.cts +2 -2
  1048. package/lib/resources/stripe_gateways.d.ts +1 -1
  1049. package/lib/resources/stripe_gateways.js +3 -3
  1050. package/lib/resources/stripe_payments.cjs +4 -4
  1051. package/lib/resources/stripe_payments.d.cts +2 -2
  1052. package/lib/resources/stripe_payments.d.ts +1 -1
  1053. package/lib/resources/stripe_payments.js +3 -3
  1054. package/lib/resources/stripe_tax_accounts.cjs +4 -4
  1055. package/lib/resources/stripe_tax_accounts.d.cts +2 -2
  1056. package/lib/resources/stripe_tax_accounts.d.ts +1 -1
  1057. package/lib/resources/stripe_tax_accounts.js +3 -3
  1058. package/lib/resources/subscription_models.cjs +4 -4
  1059. package/lib/resources/subscription_models.d.cts +2 -2
  1060. package/lib/resources/subscription_models.d.ts +1 -1
  1061. package/lib/resources/subscription_models.js +3 -3
  1062. package/lib/resources/tags.cjs +4 -4
  1063. package/lib/resources/tags.d.cts +2 -2
  1064. package/lib/resources/tags.d.ts +1 -1
  1065. package/lib/resources/tags.js +3 -3
  1066. package/lib/resources/talon_one_accounts.cjs +4 -4
  1067. package/lib/resources/talon_one_accounts.d.cts +2 -2
  1068. package/lib/resources/talon_one_accounts.d.ts +1 -1
  1069. package/lib/resources/talon_one_accounts.js +3 -3
  1070. package/lib/resources/tax_calculators.cjs +4 -4
  1071. package/lib/resources/tax_calculators.d.cts +2 -2
  1072. package/lib/resources/tax_calculators.d.ts +1 -1
  1073. package/lib/resources/tax_calculators.js +3 -3
  1074. package/lib/resources/tax_categories.cjs +4 -4
  1075. package/lib/resources/tax_categories.d.cts +2 -2
  1076. package/lib/resources/tax_categories.d.ts +1 -1
  1077. package/lib/resources/tax_categories.js +3 -3
  1078. package/lib/resources/tax_rules.cjs +4 -4
  1079. package/lib/resources/tax_rules.d.cts +2 -2
  1080. package/lib/resources/tax_rules.d.ts +1 -1
  1081. package/lib/resources/tax_rules.js +3 -3
  1082. package/lib/resources/taxjar_accounts.cjs +4 -4
  1083. package/lib/resources/taxjar_accounts.d.cts +2 -2
  1084. package/lib/resources/taxjar_accounts.d.ts +1 -1
  1085. package/lib/resources/taxjar_accounts.js +3 -3
  1086. package/lib/resources/transactions.cjs +4 -4
  1087. package/lib/resources/transactions.d.cts +2 -2
  1088. package/lib/resources/transactions.d.ts +1 -1
  1089. package/lib/resources/transactions.js +3 -3
  1090. package/lib/resources/vertex_accounts.cjs +4 -4
  1091. package/lib/resources/vertex_accounts.d.cts +2 -2
  1092. package/lib/resources/vertex_accounts.d.ts +1 -1
  1093. package/lib/resources/vertex_accounts.js +3 -3
  1094. package/lib/resources/voids.cjs +4 -4
  1095. package/lib/resources/voids.d.cts +2 -2
  1096. package/lib/resources/voids.d.ts +1 -1
  1097. package/lib/resources/voids.js +3 -3
  1098. package/lib/resources/webhooks.cjs +4 -4
  1099. package/lib/resources/webhooks.d.cts +2 -2
  1100. package/lib/resources/webhooks.d.ts +1 -1
  1101. package/lib/resources/webhooks.js +3 -3
  1102. package/lib/resources/wire_transfers.cjs +4 -4
  1103. package/lib/resources/wire_transfers.d.cts +2 -2
  1104. package/lib/resources/wire_transfers.d.ts +1 -1
  1105. package/lib/resources/wire_transfers.js +3 -3
  1106. package/lib/static.cjs +5 -5
  1107. package/lib/static.d.cts +1 -2
  1108. package/lib/static.d.ts +1 -2
  1109. package/lib/static.js +4 -4
  1110. package/package.json +9 -9
  1111. package/lib/api-C0NFQ-CQ.d.ts +0 -18311
  1112. package/lib/api-CG-sKBsP.d.cts +0 -18311
  1113. package/lib/chunk-22YZMDGS.js +0 -73
  1114. package/lib/chunk-22YZMDGS.js.map +0 -1
  1115. package/lib/chunk-24DYX22L.cjs +0 -34
  1116. package/lib/chunk-24DYX22L.cjs.map +0 -1
  1117. package/lib/chunk-25LV6XNE.js +0 -57
  1118. package/lib/chunk-25LV6XNE.js.map +0 -1
  1119. package/lib/chunk-25SYMOHP.js +0 -63
  1120. package/lib/chunk-25SYMOHP.js.map +0 -1
  1121. package/lib/chunk-26IU3VMW.cjs +0 -73
  1122. package/lib/chunk-26IU3VMW.cjs.map +0 -1
  1123. package/lib/chunk-2COD7SFI.js +0 -24
  1124. package/lib/chunk-2COD7SFI.js.map +0 -1
  1125. package/lib/chunk-2TD56UNA.js +0 -97
  1126. package/lib/chunk-2TD56UNA.js.map +0 -1
  1127. package/lib/chunk-2UBHGJAR.cjs +0 -30
  1128. package/lib/chunk-2UBHGJAR.cjs.map +0 -1
  1129. package/lib/chunk-353DTUT5.js +0 -56
  1130. package/lib/chunk-353DTUT5.js.map +0 -1
  1131. package/lib/chunk-3AQSJH4T.js +0 -53
  1132. package/lib/chunk-3AQSJH4T.js.map +0 -1
  1133. package/lib/chunk-3CYUKNAO.js +0 -48
  1134. package/lib/chunk-3CYUKNAO.js.map +0 -1
  1135. package/lib/chunk-3F4JHN42.cjs +0 -72
  1136. package/lib/chunk-3F4JHN42.cjs.map +0 -1
  1137. package/lib/chunk-3KCHHQTI.js +0 -97
  1138. package/lib/chunk-3KCHHQTI.js.map +0 -1
  1139. package/lib/chunk-3QSWUE22.cjs +0 -43
  1140. package/lib/chunk-3QSWUE22.cjs.map +0 -1
  1141. package/lib/chunk-3R5E4QEL.cjs +0 -57
  1142. package/lib/chunk-3R5E4QEL.cjs.map +0 -1
  1143. package/lib/chunk-3XPKZ3WM.js +0 -77
  1144. package/lib/chunk-3XPKZ3WM.js.map +0 -1
  1145. package/lib/chunk-42TXSEGY.js +0 -53
  1146. package/lib/chunk-42TXSEGY.js.map +0 -1
  1147. package/lib/chunk-42VXKVD6.js +0 -53
  1148. package/lib/chunk-42VXKVD6.js.map +0 -1
  1149. package/lib/chunk-4KIM2UAJ.cjs +0 -72
  1150. package/lib/chunk-4KIM2UAJ.cjs.map +0 -1
  1151. package/lib/chunk-4KPMQG57.js +0 -49
  1152. package/lib/chunk-4KPMQG57.js.map +0 -1
  1153. package/lib/chunk-4QMCNTO4.js +0 -44
  1154. package/lib/chunk-4QMCNTO4.js.map +0 -1
  1155. package/lib/chunk-4W5EFFJ5.js +0 -48
  1156. package/lib/chunk-4W5EFFJ5.js.map +0 -1
  1157. package/lib/chunk-4WQKP2HI.js +0 -44
  1158. package/lib/chunk-4WQKP2HI.js.map +0 -1
  1159. package/lib/chunk-4YEJFKWN.cjs +0 -55
  1160. package/lib/chunk-4YEJFKWN.cjs.map +0 -1
  1161. package/lib/chunk-4YS4H4WH.cjs +0 -54
  1162. package/lib/chunk-4YS4H4WH.cjs.map +0 -1
  1163. package/lib/chunk-52L77NN2.js +0 -59
  1164. package/lib/chunk-52L77NN2.js.map +0 -1
  1165. package/lib/chunk-53R4X7QD.js +0 -49
  1166. package/lib/chunk-53R4X7QD.js.map +0 -1
  1167. package/lib/chunk-54765SFP.js +0 -55
  1168. package/lib/chunk-54765SFP.js.map +0 -1
  1169. package/lib/chunk-56DPVYQJ.js +0 -41
  1170. package/lib/chunk-56DPVYQJ.js.map +0 -1
  1171. package/lib/chunk-57EVDZVF.js +0 -63
  1172. package/lib/chunk-57EVDZVF.js.map +0 -1
  1173. package/lib/chunk-5CXQ67TT.js +0 -53
  1174. package/lib/chunk-5CXQ67TT.js.map +0 -1
  1175. package/lib/chunk-5FZ57V3M.cjs +0 -93
  1176. package/lib/chunk-5FZ57V3M.cjs.map +0 -1
  1177. package/lib/chunk-5NX7MHXP.cjs +0 -51
  1178. package/lib/chunk-5NX7MHXP.cjs.map +0 -1
  1179. package/lib/chunk-5QA264ZF.cjs +0 -74
  1180. package/lib/chunk-5QA264ZF.cjs.map +0 -1
  1181. package/lib/chunk-5QFZLLE2.js +0 -37
  1182. package/lib/chunk-5QFZLLE2.js.map +0 -1
  1183. package/lib/chunk-5T44TAQU.cjs +0 -130
  1184. package/lib/chunk-5T44TAQU.cjs.map +0 -1
  1185. package/lib/chunk-5UPTFJAY.cjs +0 -51
  1186. package/lib/chunk-5UPTFJAY.cjs.map +0 -1
  1187. package/lib/chunk-5WLMMRAX.js +0 -93
  1188. package/lib/chunk-5WLMMRAX.js.map +0 -1
  1189. package/lib/chunk-5Z47LT7L.js +0 -53
  1190. package/lib/chunk-5Z47LT7L.js.map +0 -1
  1191. package/lib/chunk-5ZWOLVB6.js +0 -128
  1192. package/lib/chunk-5ZWOLVB6.js.map +0 -1
  1193. package/lib/chunk-65QUR5IL.js +0 -97
  1194. package/lib/chunk-65QUR5IL.js.map +0 -1
  1195. package/lib/chunk-66BQF7RB.cjs +0 -61
  1196. package/lib/chunk-66BQF7RB.cjs.map +0 -1
  1197. package/lib/chunk-6EY5MW3N.js +0 -53
  1198. package/lib/chunk-6EY5MW3N.js.map +0 -1
  1199. package/lib/chunk-6GB4YMFB.js +0 -52
  1200. package/lib/chunk-6GB4YMFB.js.map +0 -1
  1201. package/lib/chunk-6RLGIXTB.cjs +0 -61
  1202. package/lib/chunk-6RLGIXTB.cjs.map +0 -1
  1203. package/lib/chunk-6YX6BZB6.js +0 -55
  1204. package/lib/chunk-6YX6BZB6.js.map +0 -1
  1205. package/lib/chunk-73IEITRE.js +0 -44
  1206. package/lib/chunk-73IEITRE.js.map +0 -1
  1207. package/lib/chunk-73XFO6GL.cjs +0 -51
  1208. package/lib/chunk-73XFO6GL.cjs.map +0 -1
  1209. package/lib/chunk-76RBIF4U.cjs +0 -79
  1210. package/lib/chunk-76RBIF4U.cjs.map +0 -1
  1211. package/lib/chunk-7FKCICOI.js +0 -55
  1212. package/lib/chunk-7FKCICOI.js.map +0 -1
  1213. package/lib/chunk-7N7KBV6L.js +0 -158
  1214. package/lib/chunk-7N7KBV6L.js.map +0 -1
  1215. package/lib/chunk-7UCAVCXA.cjs +0 -99
  1216. package/lib/chunk-7UCAVCXA.cjs.map +0 -1
  1217. package/lib/chunk-7XIPWO7I.cjs +0 -61
  1218. package/lib/chunk-7XIPWO7I.cjs.map +0 -1
  1219. package/lib/chunk-A7PIWL4I.js +0 -58
  1220. package/lib/chunk-A7PIWL4I.js.map +0 -1
  1221. package/lib/chunk-AGJQ5BMW.cjs +0 -107
  1222. package/lib/chunk-AGJQ5BMW.cjs.map +0 -1
  1223. package/lib/chunk-AHJQVBKB.cjs +0 -160
  1224. package/lib/chunk-AHJQVBKB.cjs.map +0 -1
  1225. package/lib/chunk-AJ5YOH5P.cjs +0 -30
  1226. package/lib/chunk-AJ5YOH5P.cjs.map +0 -1
  1227. package/lib/chunk-AQHMSOPU.js +0 -45
  1228. package/lib/chunk-AQHMSOPU.js.map +0 -1
  1229. package/lib/chunk-ASRC3G5N.cjs +0 -42
  1230. package/lib/chunk-ASRC3G5N.cjs.map +0 -1
  1231. package/lib/chunk-B3IWIR5W.cjs +0 -46
  1232. package/lib/chunk-B3IWIR5W.cjs.map +0 -1
  1233. package/lib/chunk-B4ASY4NL.js +0 -45
  1234. package/lib/chunk-B4ASY4NL.js.map +0 -1
  1235. package/lib/chunk-B6IY37XK.js +0 -70
  1236. package/lib/chunk-B6IY37XK.js.map +0 -1
  1237. package/lib/chunk-B6RRN2R4.cjs +0 -51
  1238. package/lib/chunk-B6RRN2R4.cjs.map +0 -1
  1239. package/lib/chunk-BBNWP52Z.cjs +0 -44
  1240. package/lib/chunk-BBNWP52Z.cjs.map +0 -1
  1241. package/lib/chunk-BCFDI5BB.cjs +0 -51
  1242. package/lib/chunk-BCFDI5BB.cjs.map +0 -1
  1243. package/lib/chunk-BE7FUFTL.js +0 -53
  1244. package/lib/chunk-BE7FUFTL.js.map +0 -1
  1245. package/lib/chunk-BGS3XVZ5.js +0 -107
  1246. package/lib/chunk-BGS3XVZ5.js.map +0 -1
  1247. package/lib/chunk-BLZ627KE.js +0 -59
  1248. package/lib/chunk-BLZ627KE.js.map +0 -1
  1249. package/lib/chunk-BOFLUBPB.js +0 -55
  1250. package/lib/chunk-BOFLUBPB.js.map +0 -1
  1251. package/lib/chunk-BUCTRSWS.js +0 -45
  1252. package/lib/chunk-BUCTRSWS.js.map +0 -1
  1253. package/lib/chunk-BUKCNQRD.cjs +0 -43
  1254. package/lib/chunk-BUKCNQRD.cjs.map +0 -1
  1255. package/lib/chunk-C2JKMWGR.cjs +0 -51
  1256. package/lib/chunk-C2JKMWGR.cjs.map +0 -1
  1257. package/lib/chunk-C5ML5FMX.cjs +0 -53
  1258. package/lib/chunk-C5ML5FMX.cjs.map +0 -1
  1259. package/lib/chunk-C77T7SV5.js +0 -49
  1260. package/lib/chunk-C77T7SV5.js.map +0 -1
  1261. package/lib/chunk-C7QY2RS6.js +0 -102
  1262. package/lib/chunk-C7QY2RS6.js.map +0 -1
  1263. package/lib/chunk-CD4WJZWD.js +0 -49
  1264. package/lib/chunk-CD4WJZWD.js.map +0 -1
  1265. package/lib/chunk-CHJOIVWT.cjs +0 -51
  1266. package/lib/chunk-CHJOIVWT.cjs.map +0 -1
  1267. package/lib/chunk-CIEVYLNA.cjs +0 -57
  1268. package/lib/chunk-CIEVYLNA.cjs.map +0 -1
  1269. package/lib/chunk-CRRVMIDJ.js +0 -32
  1270. package/lib/chunk-CRRVMIDJ.js.map +0 -1
  1271. package/lib/chunk-CSRXWHGF.cjs +0 -662
  1272. package/lib/chunk-CSRXWHGF.cjs.map +0 -1
  1273. package/lib/chunk-CXDNL2TL.cjs +0 -57
  1274. package/lib/chunk-CXDNL2TL.cjs.map +0 -1
  1275. package/lib/chunk-CZVJWKHF.cjs +0 -51
  1276. package/lib/chunk-CZVJWKHF.cjs.map +0 -1
  1277. package/lib/chunk-D5KCXRAI.js +0 -57
  1278. package/lib/chunk-D5KCXRAI.js.map +0 -1
  1279. package/lib/chunk-DGYQ3LEP.cjs +0 -34
  1280. package/lib/chunk-DGYQ3LEP.cjs.map +0 -1
  1281. package/lib/chunk-DHT6PN4S.js +0 -72
  1282. package/lib/chunk-DHT6PN4S.js.map +0 -1
  1283. package/lib/chunk-DKKVAVBN.cjs +0 -99
  1284. package/lib/chunk-DKKVAVBN.cjs.map +0 -1
  1285. package/lib/chunk-DKUONF23.cjs +0 -56
  1286. package/lib/chunk-DKUONF23.cjs.map +0 -1
  1287. package/lib/chunk-DZ6EOOOY.js +0 -41
  1288. package/lib/chunk-DZ6EOOOY.js.map +0 -1
  1289. package/lib/chunk-E2GOZ7ZV.js +0 -55
  1290. package/lib/chunk-E2GOZ7ZV.js.map +0 -1
  1291. package/lib/chunk-E4RUQPMF.js +0 -40
  1292. package/lib/chunk-E4RUQPMF.js.map +0 -1
  1293. package/lib/chunk-ED72HDOR.js +0 -31
  1294. package/lib/chunk-ED72HDOR.js.map +0 -1
  1295. package/lib/chunk-EGM5WCK7.js +0 -40
  1296. package/lib/chunk-EGM5WCK7.js.map +0 -1
  1297. package/lib/chunk-EN3E3X22.cjs +0 -46
  1298. package/lib/chunk-EN3E3X22.cjs.map +0 -1
  1299. package/lib/chunk-EOSTJ3GG.cjs +0 -50
  1300. package/lib/chunk-EOSTJ3GG.cjs.map +0 -1
  1301. package/lib/chunk-ESUFQPT7.cjs +0 -71
  1302. package/lib/chunk-ESUFQPT7.cjs.map +0 -1
  1303. package/lib/chunk-ESW2GV47.js +0 -100
  1304. package/lib/chunk-ESW2GV47.js.map +0 -1
  1305. package/lib/chunk-ETO33E5U.js +0 -51
  1306. package/lib/chunk-ETO33E5U.js.map +0 -1
  1307. package/lib/chunk-EV7JAD4X.js +0 -91
  1308. package/lib/chunk-EV7JAD4X.js.map +0 -1
  1309. package/lib/chunk-EY3D7ONH.cjs +0 -109
  1310. package/lib/chunk-EY3D7ONH.cjs.map +0 -1
  1311. package/lib/chunk-EZQHOZI2.js +0 -49
  1312. package/lib/chunk-EZQHOZI2.js.map +0 -1
  1313. package/lib/chunk-F3P63HYI.cjs +0 -65
  1314. package/lib/chunk-F3P63HYI.cjs.map +0 -1
  1315. package/lib/chunk-F6J4CRBZ.cjs +0 -38
  1316. package/lib/chunk-F6J4CRBZ.cjs.map +0 -1
  1317. package/lib/chunk-FBGHKFDZ.js +0 -68
  1318. package/lib/chunk-FBGHKFDZ.js.map +0 -1
  1319. package/lib/chunk-FEKNIG3W.js +0 -99
  1320. package/lib/chunk-FEKNIG3W.js.map +0 -1
  1321. package/lib/chunk-FKAKFPAS.js +0 -61
  1322. package/lib/chunk-FKAKFPAS.js.map +0 -1
  1323. package/lib/chunk-FSXKG62A.js +0 -100
  1324. package/lib/chunk-FSXKG62A.js.map +0 -1
  1325. package/lib/chunk-FT2UGQVD.js +0 -54
  1326. package/lib/chunk-FT2UGQVD.js.map +0 -1
  1327. package/lib/chunk-FUYP7J3H.js +0 -53
  1328. package/lib/chunk-FUYP7J3H.js.map +0 -1
  1329. package/lib/chunk-FWRDLTUT.cjs +0 -53
  1330. package/lib/chunk-FWRDLTUT.cjs.map +0 -1
  1331. package/lib/chunk-FYI5M2XM.cjs +0 -57
  1332. package/lib/chunk-FYI5M2XM.cjs.map +0 -1
  1333. package/lib/chunk-FYKH5NLF.cjs +0 -50
  1334. package/lib/chunk-FYKH5NLF.cjs.map +0 -1
  1335. package/lib/chunk-G2XGWVV4.cjs +0 -81
  1336. package/lib/chunk-G2XGWVV4.cjs.map +0 -1
  1337. package/lib/chunk-GH7OO6KJ.js +0 -27
  1338. package/lib/chunk-GH7OO6KJ.js.map +0 -1
  1339. package/lib/chunk-GNLY3HQ4.js +0 -105
  1340. package/lib/chunk-GNLY3HQ4.js.map +0 -1
  1341. package/lib/chunk-GRKXRJZE.js +0 -65
  1342. package/lib/chunk-GRKXRJZE.js.map +0 -1
  1343. package/lib/chunk-GSHDLOHZ.js +0 -97
  1344. package/lib/chunk-GSHDLOHZ.js.map +0 -1
  1345. package/lib/chunk-GSTAUOVL.js +0 -57
  1346. package/lib/chunk-GSTAUOVL.js.map +0 -1
  1347. package/lib/chunk-H3IBVZVF.js +0 -28
  1348. package/lib/chunk-H3IBVZVF.js.map +0 -1
  1349. package/lib/chunk-H4MPRTXI.js +0 -37
  1350. package/lib/chunk-H4MPRTXI.js.map +0 -1
  1351. package/lib/chunk-H5JOZYXN.cjs +0 -51
  1352. package/lib/chunk-H5JOZYXN.cjs.map +0 -1
  1353. package/lib/chunk-H7ZINK52.cjs +0 -93
  1354. package/lib/chunk-H7ZINK52.cjs.map +0 -1
  1355. package/lib/chunk-HFAQPY4K.cjs +0 -42
  1356. package/lib/chunk-HFAQPY4K.cjs.map +0 -1
  1357. package/lib/chunk-HLL6WIIC.js +0 -91
  1358. package/lib/chunk-HLL6WIIC.js.map +0 -1
  1359. package/lib/chunk-HLPUCTAZ.js +0 -103
  1360. package/lib/chunk-HLPUCTAZ.js.map +0 -1
  1361. package/lib/chunk-HNADBQ2G.cjs +0 -55
  1362. package/lib/chunk-HNADBQ2G.cjs.map +0 -1
  1363. package/lib/chunk-HOKEKQDI.js +0 -49
  1364. package/lib/chunk-HOKEKQDI.js.map +0 -1
  1365. package/lib/chunk-HP2WA7CM.cjs +0 -59
  1366. package/lib/chunk-HP2WA7CM.cjs.map +0 -1
  1367. package/lib/chunk-HQZ3S65M.js +0 -44
  1368. package/lib/chunk-HQZ3S65M.js.map +0 -1
  1369. package/lib/chunk-HR6ZQP3L.cjs +0 -66
  1370. package/lib/chunk-HR6ZQP3L.cjs.map +0 -1
  1371. package/lib/chunk-HR773LV5.cjs +0 -54
  1372. package/lib/chunk-HR773LV5.cjs.map +0 -1
  1373. package/lib/chunk-HTQJYP75.cjs +0 -46
  1374. package/lib/chunk-HTQJYP75.cjs.map +0 -1
  1375. package/lib/chunk-HWEIUKPN.cjs +0 -57
  1376. package/lib/chunk-HWEIUKPN.cjs.map +0 -1
  1377. package/lib/chunk-HWL3MJQJ.cjs +0 -60
  1378. package/lib/chunk-HWL3MJQJ.cjs.map +0 -1
  1379. package/lib/chunk-HZB22SU2.cjs +0 -51
  1380. package/lib/chunk-HZB22SU2.cjs.map +0 -1
  1381. package/lib/chunk-I22GQQSK.js +0 -97
  1382. package/lib/chunk-I22GQQSK.js.map +0 -1
  1383. package/lib/chunk-IESEQGGO.js +0 -65
  1384. package/lib/chunk-IESEQGGO.js.map +0 -1
  1385. package/lib/chunk-IFLQJWJG.cjs +0 -55
  1386. package/lib/chunk-IFLQJWJG.cjs.map +0 -1
  1387. package/lib/chunk-IGK3AET6.cjs +0 -47
  1388. package/lib/chunk-IGK3AET6.cjs.map +0 -1
  1389. package/lib/chunk-IJT6ADCT.cjs +0 -70
  1390. package/lib/chunk-IJT6ADCT.cjs.map +0 -1
  1391. package/lib/chunk-IMZ67YBL.cjs +0 -55
  1392. package/lib/chunk-IMZ67YBL.cjs.map +0 -1
  1393. package/lib/chunk-IR7ERHZU.js +0 -57
  1394. package/lib/chunk-IR7ERHZU.js.map +0 -1
  1395. package/lib/chunk-IWQQN4E4.js +0 -47
  1396. package/lib/chunk-IWQQN4E4.js.map +0 -1
  1397. package/lib/chunk-J3K32YXQ.js +0 -49
  1398. package/lib/chunk-J3K32YXQ.js.map +0 -1
  1399. package/lib/chunk-J5QKU3U7.cjs +0 -54
  1400. package/lib/chunk-J5QKU3U7.cjs.map +0 -1
  1401. package/lib/chunk-JAL5VEJ4.cjs +0 -51
  1402. package/lib/chunk-JAL5VEJ4.cjs.map +0 -1
  1403. package/lib/chunk-JBNN5FLR.cjs +0 -99
  1404. package/lib/chunk-JBNN5FLR.cjs.map +0 -1
  1405. package/lib/chunk-JEFXEO7O.js +0 -49
  1406. package/lib/chunk-JEFXEO7O.js.map +0 -1
  1407. package/lib/chunk-JIAAPIJS.js +0 -69
  1408. package/lib/chunk-JIAAPIJS.js.map +0 -1
  1409. package/lib/chunk-JMGGWZOQ.js +0 -287
  1410. package/lib/chunk-JMGGWZOQ.js.map +0 -1
  1411. package/lib/chunk-JNDUIJGS.js +0 -32
  1412. package/lib/chunk-JNDUIJGS.js.map +0 -1
  1413. package/lib/chunk-JTECSGQK.cjs +0 -95
  1414. package/lib/chunk-JTECSGQK.cjs.map +0 -1
  1415. package/lib/chunk-JU2GYUKV.js +0 -54
  1416. package/lib/chunk-JU2GYUKV.js.map +0 -1
  1417. package/lib/chunk-JW3TKFSF.cjs +0 -99
  1418. package/lib/chunk-JW3TKFSF.cjs.map +0 -1
  1419. package/lib/chunk-JWW6RX2L.cjs +0 -47
  1420. package/lib/chunk-JWW6RX2L.cjs.map +0 -1
  1421. package/lib/chunk-K4FGKWEQ.js +0 -36
  1422. package/lib/chunk-K4FGKWEQ.js.map +0 -1
  1423. package/lib/chunk-KAARRP5O.js +0 -59
  1424. package/lib/chunk-KAARRP5O.js.map +0 -1
  1425. package/lib/chunk-KDCQAUUV.js +0 -48
  1426. package/lib/chunk-KDCQAUUV.js.map +0 -1
  1427. package/lib/chunk-KMPHWFCV.cjs +0 -47
  1428. package/lib/chunk-KMPHWFCV.cjs.map +0 -1
  1429. package/lib/chunk-KRNU2FZC.js +0 -53
  1430. package/lib/chunk-KRNU2FZC.js.map +0 -1
  1431. package/lib/chunk-KUX4X636.js +0 -49
  1432. package/lib/chunk-KUX4X636.js.map +0 -1
  1433. package/lib/chunk-KWIFQC7H.js +0 -52
  1434. package/lib/chunk-KWIFQC7H.js.map +0 -1
  1435. package/lib/chunk-KZNM2CKM.cjs +0 -59
  1436. package/lib/chunk-KZNM2CKM.cjs.map +0 -1
  1437. package/lib/chunk-L27E3EGQ.js +0 -49
  1438. package/lib/chunk-L27E3EGQ.js.map +0 -1
  1439. package/lib/chunk-L2R5G3V5.js +0 -276
  1440. package/lib/chunk-L2R5G3V5.js.map +0 -1
  1441. package/lib/chunk-L655OQHH.cjs +0 -29
  1442. package/lib/chunk-L655OQHH.cjs.map +0 -1
  1443. package/lib/chunk-L6OLNB6W.js +0 -41
  1444. package/lib/chunk-L6OLNB6W.js.map +0 -1
  1445. package/lib/chunk-L7VZ5ST5.cjs +0 -60
  1446. package/lib/chunk-L7VZ5ST5.cjs.map +0 -1
  1447. package/lib/chunk-LBY2RHI4.js +0 -45
  1448. package/lib/chunk-LBY2RHI4.js.map +0 -1
  1449. package/lib/chunk-LLRE4DNW.cjs +0 -55
  1450. package/lib/chunk-LLRE4DNW.cjs.map +0 -1
  1451. package/lib/chunk-MAU4GMOM.js +0 -52
  1452. package/lib/chunk-MAU4GMOM.js.map +0 -1
  1453. package/lib/chunk-MBDEK4FD.cjs +0 -51
  1454. package/lib/chunk-MBDEK4FD.cjs.map +0 -1
  1455. package/lib/chunk-MDT7RJZY.cjs +0 -39
  1456. package/lib/chunk-MDT7RJZY.cjs.map +0 -1
  1457. package/lib/chunk-MF72Q5LL.cjs +0 -39
  1458. package/lib/chunk-MF72Q5LL.cjs.map +0 -1
  1459. package/lib/chunk-MGIOWUKO.cjs +0 -38
  1460. package/lib/chunk-MGIOWUKO.cjs.map +0 -1
  1461. package/lib/chunk-MIBC5G27.js +0 -77
  1462. package/lib/chunk-MIBC5G27.js.map +0 -1
  1463. package/lib/chunk-MVNE63MT.cjs +0 -67
  1464. package/lib/chunk-MVNE63MT.cjs.map +0 -1
  1465. package/lib/chunk-MWDZBQOU.cjs +0 -47
  1466. package/lib/chunk-MWDZBQOU.cjs.map +0 -1
  1467. package/lib/chunk-NAPSK4CV.js +0 -48
  1468. package/lib/chunk-NAPSK4CV.js.map +0 -1
  1469. package/lib/chunk-NEZXHBGE.js +0 -3
  1470. package/lib/chunk-NEZXHBGE.js.map +0 -1
  1471. package/lib/chunk-NKPMXNFW.js +0 -49
  1472. package/lib/chunk-NKPMXNFW.js.map +0 -1
  1473. package/lib/chunk-NKSXB523.js +0 -42
  1474. package/lib/chunk-NKSXB523.js.map +0 -1
  1475. package/lib/chunk-NL65GQHX.cjs +0 -39
  1476. package/lib/chunk-NL65GQHX.cjs.map +0 -1
  1477. package/lib/chunk-NM2TVMKS.cjs +0 -43
  1478. package/lib/chunk-NM2TVMKS.cjs.map +0 -1
  1479. package/lib/chunk-NNRS7BTT.cjs +0 -107
  1480. package/lib/chunk-NNRS7BTT.cjs.map +0 -1
  1481. package/lib/chunk-NUQ5KNXC.cjs +0 -63
  1482. package/lib/chunk-NUQ5KNXC.cjs.map +0 -1
  1483. package/lib/chunk-OIKRKTUG.cjs +0 -50
  1484. package/lib/chunk-OIKRKTUG.cjs.map +0 -1
  1485. package/lib/chunk-OQ3ZPPCE.js +0 -55
  1486. package/lib/chunk-OQ3ZPPCE.js.map +0 -1
  1487. package/lib/chunk-OR5ULL43.js +0 -55
  1488. package/lib/chunk-OR5ULL43.js.map +0 -1
  1489. package/lib/chunk-OSGNFURJ.js +0 -63
  1490. package/lib/chunk-OSGNFURJ.js.map +0 -1
  1491. package/lib/chunk-OSPDLBK7.cjs +0 -57
  1492. package/lib/chunk-OSPDLBK7.cjs.map +0 -1
  1493. package/lib/chunk-OTJ3AG3G.js +0 -45
  1494. package/lib/chunk-OTJ3AG3G.js.map +0 -1
  1495. package/lib/chunk-OUZO3UT3.cjs +0 -65
  1496. package/lib/chunk-OUZO3UT3.cjs.map +0 -1
  1497. package/lib/chunk-OXMHLYDD.js +0 -49
  1498. package/lib/chunk-OXMHLYDD.js.map +0 -1
  1499. package/lib/chunk-P2B3G2TZ.js +0 -44
  1500. package/lib/chunk-P2B3G2TZ.js.map +0 -1
  1501. package/lib/chunk-P3AQZNTG.js +0 -79
  1502. package/lib/chunk-P3AQZNTG.js.map +0 -1
  1503. package/lib/chunk-P3C4DMT6.cjs +0 -57
  1504. package/lib/chunk-P3C4DMT6.cjs.map +0 -1
  1505. package/lib/chunk-P6H53BD7.cjs +0 -102
  1506. package/lib/chunk-P6H53BD7.cjs.map +0 -1
  1507. package/lib/chunk-PAWJTO7I.js +0 -49
  1508. package/lib/chunk-PAWJTO7I.js.map +0 -1
  1509. package/lib/chunk-PD4I73FB.cjs +0 -105
  1510. package/lib/chunk-PD4I73FB.cjs.map +0 -1
  1511. package/lib/chunk-PGXMLN7A.js +0 -49
  1512. package/lib/chunk-PGXMLN7A.js.map +0 -1
  1513. package/lib/chunk-PUX7CAAV.js +0 -53
  1514. package/lib/chunk-PUX7CAAV.js.map +0 -1
  1515. package/lib/chunk-QE7S4OUZ.cjs +0 -51
  1516. package/lib/chunk-QE7S4OUZ.cjs.map +0 -1
  1517. package/lib/chunk-QKCTP2RD.cjs +0 -55
  1518. package/lib/chunk-QKCTP2RD.cjs.map +0 -1
  1519. package/lib/chunk-QNFZBJFQ.cjs +0 -58
  1520. package/lib/chunk-QNFZBJFQ.cjs.map +0 -1
  1521. package/lib/chunk-QU4NPZQC.cjs +0 -56
  1522. package/lib/chunk-QU4NPZQC.cjs.map +0 -1
  1523. package/lib/chunk-QVJTWTUN.cjs +0 -54
  1524. package/lib/chunk-QVJTWTUN.cjs.map +0 -1
  1525. package/lib/chunk-R3PNGGDR.cjs +0 -55
  1526. package/lib/chunk-R3PNGGDR.cjs.map +0 -1
  1527. package/lib/chunk-R7PR3V6Z.cjs +0 -51
  1528. package/lib/chunk-R7PR3V6Z.cjs.map +0 -1
  1529. package/lib/chunk-RH363QI7.cjs +0 -99
  1530. package/lib/chunk-RH363QI7.cjs.map +0 -1
  1531. package/lib/chunk-RLZGD4WS.cjs +0 -57
  1532. package/lib/chunk-RLZGD4WS.cjs.map +0 -1
  1533. package/lib/chunk-RNCWBCHU.js +0 -55
  1534. package/lib/chunk-RNCWBCHU.js.map +0 -1
  1535. package/lib/chunk-SEY2W62A.js +0 -53
  1536. package/lib/chunk-SEY2W62A.js.map +0 -1
  1537. package/lib/chunk-SGJTWE5I.js +0 -40
  1538. package/lib/chunk-SGJTWE5I.js.map +0 -1
  1539. package/lib/chunk-SK7SIING.cjs +0 -42
  1540. package/lib/chunk-SK7SIING.cjs.map +0 -1
  1541. package/lib/chunk-SNHW3YC5.cjs +0 -55
  1542. package/lib/chunk-SNHW3YC5.cjs.map +0 -1
  1543. package/lib/chunk-SRYEFARJ.cjs +0 -4
  1544. package/lib/chunk-SRYEFARJ.cjs.map +0 -1
  1545. package/lib/chunk-SXCTTGYT.cjs +0 -50
  1546. package/lib/chunk-SXCTTGYT.cjs.map +0 -1
  1547. package/lib/chunk-SXQSMTHR.js +0 -58
  1548. package/lib/chunk-SXQSMTHR.js.map +0 -1
  1549. package/lib/chunk-SZYWVDPJ.cjs +0 -42
  1550. package/lib/chunk-SZYWVDPJ.cjs.map +0 -1
  1551. package/lib/chunk-T4SW2CZX.cjs +0 -67
  1552. package/lib/chunk-T4SW2CZX.cjs.map +0 -1
  1553. package/lib/chunk-TE54DOJ6.cjs +0 -75
  1554. package/lib/chunk-TE54DOJ6.cjs.map +0 -1
  1555. package/lib/chunk-TJGZYDVV.js +0 -58
  1556. package/lib/chunk-TJGZYDVV.js.map +0 -1
  1557. package/lib/chunk-U43UPLTK.cjs +0 -42
  1558. package/lib/chunk-U43UPLTK.cjs.map +0 -1
  1559. package/lib/chunk-U5ZUHRP7.cjs +0 -65
  1560. package/lib/chunk-U5ZUHRP7.cjs.map +0 -1
  1561. package/lib/chunk-U7NVUYAO.js +0 -71
  1562. package/lib/chunk-U7NVUYAO.js.map +0 -1
  1563. package/lib/chunk-UBH2EC5P.cjs +0 -284
  1564. package/lib/chunk-UBH2EC5P.cjs.map +0 -1
  1565. package/lib/chunk-UMIZNUUK.js +0 -45
  1566. package/lib/chunk-UMIZNUUK.js.map +0 -1
  1567. package/lib/chunk-UR35VE5O.js +0 -53
  1568. package/lib/chunk-UR35VE5O.js.map +0 -1
  1569. package/lib/chunk-UTJX7SU6.cjs +0 -55
  1570. package/lib/chunk-UTJX7SU6.cjs.map +0 -1
  1571. package/lib/chunk-V2JFGTP4.cjs +0 -33
  1572. package/lib/chunk-V2JFGTP4.cjs.map +0 -1
  1573. package/lib/chunk-V3VI5SLU.cjs +0 -58
  1574. package/lib/chunk-V3VI5SLU.cjs.map +0 -1
  1575. package/lib/chunk-V57VEB52.cjs +0 -51
  1576. package/lib/chunk-V57VEB52.cjs.map +0 -1
  1577. package/lib/chunk-VCJOH3IE.js +0 -63
  1578. package/lib/chunk-VCJOH3IE.js.map +0 -1
  1579. package/lib/chunk-W5HJOZUZ.js +0 -55
  1580. package/lib/chunk-W5HJOZUZ.js.map +0 -1
  1581. package/lib/chunk-W6D7ACVK.cjs +0 -26
  1582. package/lib/chunk-W6D7ACVK.cjs.map +0 -1
  1583. package/lib/chunk-W76GDFLA.cjs +0 -49
  1584. package/lib/chunk-W76GDFLA.cjs.map +0 -1
  1585. package/lib/chunk-W7A5TBOT.js +0 -37
  1586. package/lib/chunk-W7A5TBOT.js.map +0 -1
  1587. package/lib/chunk-W7QZ4IET.js +0 -55
  1588. package/lib/chunk-W7QZ4IET.js.map +0 -1
  1589. package/lib/chunk-WAXSMT74.js +0 -49
  1590. package/lib/chunk-WAXSMT74.js.map +0 -1
  1591. package/lib/chunk-WENVZ7YQ.cjs +0 -60
  1592. package/lib/chunk-WENVZ7YQ.cjs.map +0 -1
  1593. package/lib/chunk-WN4NEQG3.cjs +0 -47
  1594. package/lib/chunk-WN4NEQG3.cjs.map +0 -1
  1595. package/lib/chunk-WPMZGCSL.js +0 -49
  1596. package/lib/chunk-WPMZGCSL.js.map +0 -1
  1597. package/lib/chunk-WVXUXB6M.cjs +0 -51
  1598. package/lib/chunk-WVXUXB6M.cjs.map +0 -1
  1599. package/lib/chunk-WYSCB65K.cjs +0 -65
  1600. package/lib/chunk-WYSCB65K.cjs.map +0 -1
  1601. package/lib/chunk-WZKB5BTI.cjs +0 -57
  1602. package/lib/chunk-WZKB5BTI.cjs.map +0 -1
  1603. package/lib/chunk-X3FOQEIP.cjs +0 -57
  1604. package/lib/chunk-X3FOQEIP.cjs.map +0 -1
  1605. package/lib/chunk-X435FPBT.js +0 -70
  1606. package/lib/chunk-X435FPBT.js.map +0 -1
  1607. package/lib/chunk-XAWZYCIT.cjs +0 -51
  1608. package/lib/chunk-XAWZYCIT.cjs.map +0 -1
  1609. package/lib/chunk-XFOVGIFM.cjs +0 -59
  1610. package/lib/chunk-XFOVGIFM.cjs.map +0 -1
  1611. package/lib/chunk-XGQYAM2O.cjs +0 -102
  1612. package/lib/chunk-XGQYAM2O.cjs.map +0 -1
  1613. package/lib/chunk-XHRLLOTH.cjs +0 -46
  1614. package/lib/chunk-XHRLLOTH.cjs.map +0 -1
  1615. package/lib/chunk-XLHGFYJD.js +0 -40
  1616. package/lib/chunk-XLHGFYJD.js.map +0 -1
  1617. package/lib/chunk-XLSIK3Q5.js +0 -40
  1618. package/lib/chunk-XLSIK3Q5.js.map +0 -1
  1619. package/lib/chunk-XMOZVHO7.js +0 -56
  1620. package/lib/chunk-XMOZVHO7.js.map +0 -1
  1621. package/lib/chunk-YDYPUEOW.js +0 -52
  1622. package/lib/chunk-YDYPUEOW.js.map +0 -1
  1623. package/lib/chunk-YF5IJQZK.cjs +0 -55
  1624. package/lib/chunk-YF5IJQZK.cjs.map +0 -1
  1625. package/lib/chunk-YI3IDZIR.js +0 -646
  1626. package/lib/chunk-YI3IDZIR.js.map +0 -1
  1627. package/lib/chunk-YNFTOIKI.cjs +0 -47
  1628. package/lib/chunk-YNFTOIKI.cjs.map +0 -1
  1629. package/lib/chunk-YOAULZCB.js +0 -28
  1630. package/lib/chunk-YOAULZCB.js.map +0 -1
  1631. package/lib/chunk-YOH56Z73.js +0 -64
  1632. package/lib/chunk-YOH56Z73.js.map +0 -1
  1633. package/lib/chunk-YYFNNQAF.js +0 -49
  1634. package/lib/chunk-YYFNNQAF.js.map +0 -1
  1635. package/lib/chunk-Z7FWE3KQ.cjs +0 -55
  1636. package/lib/chunk-Z7FWE3KQ.cjs.map +0 -1
  1637. package/lib/chunk-ZA4UM7JC.js +0 -36
  1638. package/lib/chunk-ZA4UM7JC.js.map +0 -1
  1639. package/lib/chunk-ZBKA7LEU.js +0 -51
  1640. package/lib/chunk-ZBKA7LEU.js.map +0 -1
  1641. package/lib/chunk-ZDO4C624.cjs +0 -79
  1642. package/lib/chunk-ZDO4C624.cjs.map +0 -1
  1643. package/lib/chunk-ZDPMTK4O.js +0 -49
  1644. package/lib/chunk-ZDPMTK4O.js.map +0 -1
  1645. package/lib/chunk-ZJKC6474.cjs +0 -289
  1646. package/lib/chunk-ZJKC6474.cjs.map +0 -1
  1647. package/lib/chunk-ZKTVCW5B.cjs +0 -51
  1648. package/lib/chunk-ZKTVCW5B.cjs.map +0 -1
  1649. package/lib/chunk-ZKZLRD43.cjs +0 -46
  1650. package/lib/chunk-ZKZLRD43.cjs.map +0 -1
  1651. package/lib/chunk-ZNRKFQBN.cjs +0 -59
  1652. package/lib/chunk-ZNRKFQBN.cjs.map +0 -1
  1653. package/lib/chunk-ZU3CNZKE.cjs +0 -51
  1654. package/lib/chunk-ZU3CNZKE.cjs.map +0 -1
  1655. package/lib/chunk-ZUURLADK.cjs +0 -55
  1656. package/lib/chunk-ZUURLADK.cjs.map +0 -1
  1657. package/lib/chunk-ZWTMB75R.js +0 -49
  1658. package/lib/chunk-ZWTMB75R.js.map +0 -1
  1659. package/lib/chunk-ZYU4XA7Z.cjs +0 -101
  1660. package/lib/chunk-ZYU4XA7Z.cjs.map +0 -1
  1661. package/lib/resources/versions.cjs +0 -20
  1662. package/lib/resources/versions.cjs.map +0 -1
  1663. package/lib/resources/versions.d.cts +0 -7
  1664. package/lib/resources/versions.d.ts +0 -4
  1665. package/lib/resources/versions.js +0 -12
  1666. package/lib/resources/versions.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/stores.ts"],"names":[],"mappings":";;;AAyFA,IAAM,MAAA,GAAN,MAAM,OAAA,SAAe,WAAA,CAAmB;AAAA,EAEvC,OAAgB,IAAA,GAAkB,QAAA;AAAA,EAElC,MAAM,MAAA,CAAO,QAAA,EAAuB,MAAA,EAAqC,OAAA,EAA2C;AACnH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,OAAA,CAAO,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACrG;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAuB,MAAA,EAAqC,OAAA,EAA2C;AACnH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,OAAA,CAAO,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACrG;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EA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EAA2B;AAChD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAgC,GAAG,GAAG,CAAA;AAAA,EACpD;AAAA,EAGA,IAAA,GAAkB;AACjB,IAAA,OAAO,OAAA,CAAO,IAAA;AAAA,EACf;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,MAAA,EAAO;AAC5B,IAAO,cAAA,GAAQ","file":"chunk-BZB7R6N6.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market, MarketType } from './markets'\nimport type { Merchant, MerchantType } from './merchants'\nimport type { Order } from './orders'\nimport type { PaymentMethod } from './payment_methods'\nimport type { StockLocation, StockLocationType } from './stock_locations'\n\n\ntype StoreType = 'stores'\ntype StoreRel = ResourceRel & { type: StoreType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype MerchantRel = ResourceRel & { type: MerchantType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\n\n\nexport type StoreSort = Pick<Store, 'id' | 'name' | 'code'> & ResourceSort\n// export type StoreFilter = Pick<Store, 'id' | 'name' | 'code'> & ResourceFilter\n\n\ninterface Store extends Resource {\n\t\n\treadonly type: StoreType\n\n\t/** \n\t * The store's internal name.\n\t * @example ```\"Rome Shop\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the store (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\n\tmarket?: Market | null\n\tmerchant?: Merchant | null\n\tstock_location?: StockLocation | null\n\torders?: Order[] | null\n\tpayment_methods?: PaymentMethod[] | null\n\tevents?: Event[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface StoreCreate extends ResourceCreate {\n\t\n\t/** \n\t * The store's internal name.\n\t * @example ```\"Rome Shop\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the store (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\n\tmarket: MarketRel\n\tmerchant?: MerchantRel | null\n\tstock_location?: StockLocationRel | null\n\n}\n\n\ninterface StoreUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The store's internal name.\n\t * @example ```\"Rome Shop\"```\n\t */\n\tname?: string | null\n\t/** \n\t * A string that you can use to identify the store (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\n\tmarket?: MarketRel | null\n\tmerchant?: MerchantRel | null\n\tstock_location?: StockLocationRel | null\n\n}\n\n\nclass Stores extends ApiResource<Store> {\n\n\tstatic readonly TYPE: StoreType = 'stores' as const\n\n\tasync create(resource: StoreCreate, params?: QueryParamsRetrieve<Store>, options?: ResourcesConfig): Promise<Store> {\n\t\treturn this.resources.create<StoreCreate, Store>({ ...resource, type: Stores.TYPE }, params, options)\n\t}\n\n\tasync update(resource: StoreUpdate, params?: QueryParamsRetrieve<Store>, options?: ResourcesConfig): Promise<Store> {\n\t\treturn this.resources.update<StoreUpdate, Store>({ ...resource, type: Stores.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: Stores.TYPE } : id, options)\n\t}\n\n\tasync market(storeId: string | Store, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _storeId = (storeId as Store).id || storeId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `stores/${_storeId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync merchant(storeId: string | Store, params?: QueryParamsRetrieve<Merchant>, options?: ResourcesConfig): Promise<Merchant> {\n\t\tconst _storeId = (storeId as Store).id || storeId as string\n\t\treturn this.resources.fetch<Merchant>({ type: 'merchants' }, `stores/${_storeId}/merchant`, params, options) as unknown as Merchant\n\t}\n\n\tasync stock_location(storeId: string | Store, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation> {\n\t\tconst _storeId = (storeId as Store).id || storeId as string\n\t\treturn this.resources.fetch<StockLocation>({ type: 'stock_locations' }, `stores/${_storeId}/stock_location`, params, options) as unknown as StockLocation\n\t}\n\n\tasync orders(storeId: string | Store, params?: QueryParamsList<Order>, options?: ResourcesConfig): Promise<ListResponse<Order>> {\n\t\tconst _storeId = (storeId as Store).id || storeId as string\n\t\treturn this.resources.fetch<Order>({ type: 'orders' }, `stores/${_storeId}/orders`, params, options) as unknown as ListResponse<Order>\n\t}\n\n\tasync payment_methods(storeId: string | Store, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _storeId = (storeId as Store).id || storeId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `stores/${_storeId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync events(storeId: string | Store, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _storeId = (storeId as Store).id || storeId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `stores/${_storeId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync event_stores(storeId: string | Store, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _storeId = (storeId as Store).id || storeId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `stores/${_storeId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisStore(resource: any): resource is Store {\n\t\treturn resource.type && (resource.type === Stores.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): StoreRel {\n\t\treturn super.relationshipOneToOne<StoreRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): StoreRel[] {\n\t\treturn super.relationshipOneToMany<StoreRel>(...ids)\n\t}\n\n\n\ttype(): StoreType {\n\t\treturn Stores.TYPE\n\t}\n\n}\n\n\nconst instance = new Stores()\nexport default instance\n\nexport type { Store, StoreCreate, Stores, StoreType, StoreUpdate }\n"]}
@@ -0,0 +1,51 @@
1
+ 'use strict';
2
+
3
+ var chunkVRRJS3ZM_cjs = require('./chunk-VRRJS3ZM.cjs');
4
+
5
+ // src/resources/inventory_models.ts
6
+ var InventoryModels = class _InventoryModels extends chunkVRRJS3ZM_cjs.ApiResource {
7
+ static TYPE = "inventory_models";
8
+ async create(resource, params, options) {
9
+ return this.resources.create({ ...resource, type: _InventoryModels.TYPE }, params, options);
10
+ }
11
+ async update(resource, params, options) {
12
+ return this.resources.update({ ...resource, type: _InventoryModels.TYPE }, params, options);
13
+ }
14
+ async delete(id, options) {
15
+ await this.resources.delete(typeof id === "string" ? { id, type: _InventoryModels.TYPE } : id, options);
16
+ }
17
+ async inventory_stock_locations(inventoryModelId, params, options) {
18
+ const _inventoryModelId = inventoryModelId.id || inventoryModelId;
19
+ return this.resources.fetch({ type: "inventory_stock_locations" }, `inventory_models/${_inventoryModelId}/inventory_stock_locations`, params, options);
20
+ }
21
+ async inventory_return_locations(inventoryModelId, params, options) {
22
+ const _inventoryModelId = inventoryModelId.id || inventoryModelId;
23
+ return this.resources.fetch({ type: "inventory_return_locations" }, `inventory_models/${_inventoryModelId}/inventory_return_locations`, params, options);
24
+ }
25
+ async attachments(inventoryModelId, params, options) {
26
+ const _inventoryModelId = inventoryModelId.id || inventoryModelId;
27
+ return this.resources.fetch({ type: "attachments" }, `inventory_models/${_inventoryModelId}/attachments`, params, options);
28
+ }
29
+ async event_stores(inventoryModelId, params, options) {
30
+ const _inventoryModelId = inventoryModelId.id || inventoryModelId;
31
+ return this.resources.fetch({ type: "event_stores" }, `inventory_models/${_inventoryModelId}/event_stores`, params, options);
32
+ }
33
+ isInventoryModel(resource) {
34
+ return resource.type && resource.type === _InventoryModels.TYPE;
35
+ }
36
+ relationship(id) {
37
+ return super.relationshipOneToOne(id);
38
+ }
39
+ relationshipToMany(...ids) {
40
+ return super.relationshipOneToMany(...ids);
41
+ }
42
+ type() {
43
+ return _InventoryModels.TYPE;
44
+ }
45
+ };
46
+ var instance = new InventoryModels();
47
+ var inventory_models_default = instance;
48
+
49
+ exports.inventory_models_default = inventory_models_default;
50
+ //# sourceMappingURL=chunk-C3S4LUX5.cjs.map
51
+ //# sourceMappingURL=chunk-C3S4LUX5.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/inventory_models.ts"],"names":["ApiResource"],"mappings":";;;;;AAoIA,IAAM,eAAA,GAAN,MAAM,gBAAA,SAAwBA,6BAAA,CAA4B;AAAA,EAEzD,OAAgB,IAAA,GAA2B,kBAAA;AAAA,EAE3C,MAAM,MAAA,CAAO,QAAA,EAAgC,MAAA,EAA8C,OAAA,EAAoD;AAC9I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,gBAAA,CAAgB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAChI;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAgC,MAAA,EAA8C,OAAA,EAAoD;AAC9I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,gBAAA,CAAgB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAChI;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,gBAAA,CAAgB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACvG;AAAA,EAEA,MAAM,yBAAA,CAA0B,gBAAA,EAA2C,MAAA,EAAkD,OA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,EAA2C;AAC3D,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,gBAAA,CAAgB,IAAA;AAAA,EAC5D;AAAA,EAGA,aAAa,EAAA,EAAmD;AAC/D,IAAA,OAAO,KAAA,CAAM,qBAAwC,EAAE,CAAA;AAAA,EACxD;AAAA,EAEA,sBAAsB,GAAA,EAAoC;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAyC,GAAG,GAAG,CAAA;AAAA,EAC7D;AAAA,EAGA,IAAA,GAA2B;AAC1B,IAAA,OAAO,gBAAA,CAAgB,IAAA;AAAA,EACxB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,eAAA,EAAgB;AACrC,IAAO,wBAAA,GAAQ","file":"chunk-C3S4LUX5.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { InventoryReturnLocation } from './inventory_return_locations'\nimport type { InventoryStockLocation } from './inventory_stock_locations'\n\n\ntype InventoryModelType = 'inventory_models'\ntype InventoryModelRel = ResourceRel & { type: InventoryModelType }\n\n\nexport type InventoryModelSort = Pick<InventoryModel, 'id' | 'name' | 'strategy' | 'stock_locations_cutoff' | 'stock_reservation_cutoff'> & ResourceSort\n// export type InventoryModelFilter = Pick<InventoryModel, 'id' | 'name' | 'strategy' | 'stock_locations_cutoff' | 'stock_reservation_cutoff'> & ResourceFilter\n\n\ninterface InventoryModel extends Resource {\n\t\n\treadonly type: InventoryModelType\n\n\t/** \n\t * The inventory model's internal name.\n\t * @example ```\"EU Inventory Model\"```\n\t */\n\tname: string\n\t/** \n\t * The inventory model's shipping strategy: one between 'no_split' (default), 'split_shipments', 'ship_from_primary' and 'ship_from_first_available_or_primary'.\n\t * @example ```\"no_split\"```\n\t */\n\tstrategy?: string | null\n\t/** \n\t * The maximum number of stock locations used for inventory computation.\n\t * @example ```3```\n\t */\n\tstock_locations_cutoff?: number | null\n\t/** \n\t * The duration in seconds of the generated stock reservations.\n\t * @example ```3600```\n\t */\n\tstock_reservation_cutoff?: number | null\n\t/** \n\t * Indicates if the the stock transfers must be put on hold automatically with the associated shipment.\n\t * @example ```true```\n\t */\n\tput_stock_transfers_on_hold?: boolean | null\n\t/** \n\t * Indicates if the the stock will be decremented manually after the order approval.\n\t * @example ```true```\n\t */\n\tmanual_stock_decrement?: boolean | null\n\n\tinventory_stock_locations?: InventoryStockLocation[] | null\n\tinventory_return_locations?: InventoryReturnLocation[] | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface InventoryModelCreate extends ResourceCreate {\n\t\n\t/** \n\t * The inventory model's internal name.\n\t * @example ```\"EU Inventory Model\"```\n\t */\n\tname: string\n\t/** \n\t * The inventory model's shipping strategy: one between 'no_split' (default), 'split_shipments', 'ship_from_primary' and 'ship_from_first_available_or_primary'.\n\t * @example ```\"no_split\"```\n\t */\n\tstrategy?: string | null\n\t/** \n\t * The maximum number of stock locations used for inventory computation.\n\t * @example ```3```\n\t */\n\tstock_locations_cutoff?: number | null\n\t/** \n\t * The duration in seconds of the generated stock reservations.\n\t * @example ```3600```\n\t */\n\tstock_reservation_cutoff?: number | null\n\t/** \n\t * Indicates if the the stock transfers must be put on hold automatically with the associated shipment.\n\t * @example ```true```\n\t */\n\tput_stock_transfers_on_hold?: boolean | null\n\t/** \n\t * Indicates if the the stock will be decremented manually after the order approval.\n\t * @example ```true```\n\t */\n\tmanual_stock_decrement?: boolean | null\n\t\n}\n\n\ninterface InventoryModelUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The inventory model's internal name.\n\t * @example ```\"EU Inventory Model\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The inventory model's shipping strategy: one between 'no_split' (default), 'split_shipments', 'ship_from_primary' and 'ship_from_first_available_or_primary'.\n\t * @example ```\"no_split\"```\n\t */\n\tstrategy?: string | null\n\t/** \n\t * The maximum number of stock locations used for inventory computation.\n\t * @example ```3```\n\t */\n\tstock_locations_cutoff?: number | null\n\t/** \n\t * The duration in seconds of the generated stock reservations.\n\t * @example ```3600```\n\t */\n\tstock_reservation_cutoff?: number | null\n\t/** \n\t * Indicates if the the stock transfers must be put on hold automatically with the associated shipment.\n\t * @example ```true```\n\t */\n\tput_stock_transfers_on_hold?: boolean | null\n\t/** \n\t * Indicates if the the stock will be decremented manually after the order approval.\n\t * @example ```true```\n\t */\n\tmanual_stock_decrement?: boolean | null\n\t\n}\n\n\nclass InventoryModels extends ApiResource<InventoryModel> {\n\n\tstatic readonly TYPE: InventoryModelType = 'inventory_models' as const\n\n\tasync create(resource: InventoryModelCreate, params?: QueryParamsRetrieve<InventoryModel>, options?: ResourcesConfig): Promise<InventoryModel> {\n\t\treturn this.resources.create<InventoryModelCreate, InventoryModel>({ ...resource, type: InventoryModels.TYPE }, params, options)\n\t}\n\n\tasync update(resource: InventoryModelUpdate, params?: QueryParamsRetrieve<InventoryModel>, options?: ResourcesConfig): Promise<InventoryModel> {\n\t\treturn this.resources.update<InventoryModelUpdate, InventoryModel>({ ...resource, type: InventoryModels.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: InventoryModels.TYPE } : id, options)\n\t}\n\n\tasync inventory_stock_locations(inventoryModelId: string | InventoryModel, params?: QueryParamsList<InventoryStockLocation>, options?: ResourcesConfig): Promise<ListResponse<InventoryStockLocation>> {\n\t\tconst _inventoryModelId = (inventoryModelId as InventoryModel).id || inventoryModelId as string\n\t\treturn this.resources.fetch<InventoryStockLocation>({ type: 'inventory_stock_locations' }, `inventory_models/${_inventoryModelId}/inventory_stock_locations`, params, options) as unknown as ListResponse<InventoryStockLocation>\n\t}\n\n\tasync inventory_return_locations(inventoryModelId: string | InventoryModel, params?: QueryParamsList<InventoryReturnLocation>, options?: ResourcesConfig): Promise<ListResponse<InventoryReturnLocation>> {\n\t\tconst _inventoryModelId = (inventoryModelId as InventoryModel).id || inventoryModelId as string\n\t\treturn this.resources.fetch<InventoryReturnLocation>({ type: 'inventory_return_locations' }, `inventory_models/${_inventoryModelId}/inventory_return_locations`, params, options) as unknown as ListResponse<InventoryReturnLocation>\n\t}\n\n\tasync attachments(inventoryModelId: string | InventoryModel, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _inventoryModelId = (inventoryModelId as InventoryModel).id || inventoryModelId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `inventory_models/${_inventoryModelId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(inventoryModelId: string | InventoryModel, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _inventoryModelId = (inventoryModelId as InventoryModel).id || inventoryModelId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `inventory_models/${_inventoryModelId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisInventoryModel(resource: any): resource is InventoryModel {\n\t\treturn resource.type && (resource.type === InventoryModels.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): InventoryModelRel {\n\t\treturn super.relationshipOneToOne<InventoryModelRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): InventoryModelRel[] {\n\t\treturn super.relationshipOneToMany<InventoryModelRel>(...ids)\n\t}\n\n\n\ttype(): InventoryModelType {\n\t\treturn InventoryModels.TYPE\n\t}\n\n}\n\n\nconst instance = new InventoryModels()\nexport default instance\n\nexport type { InventoryModel, InventoryModelCreate, InventoryModels, InventoryModelType, InventoryModelUpdate }\n"]}
@@ -0,0 +1,47 @@
1
+ import { ApiResource } from './chunk-XDRKC6JM.js';
2
+
3
+ // src/resources/exports.ts
4
+ var Exports = class _Exports extends ApiResource {
5
+ static TYPE = "exports";
6
+ async create(resource, params, options) {
7
+ return this.resources.create({ ...resource, type: _Exports.TYPE }, params, options);
8
+ }
9
+ async update(resource, params, options) {
10
+ return this.resources.update({ ...resource, type: _Exports.TYPE }, params, options);
11
+ }
12
+ async delete(id, options) {
13
+ await this.resources.delete(typeof id === "string" ? { id, type: _Exports.TYPE } : id, options);
14
+ }
15
+ async events(exportId, params, options) {
16
+ const _exportId = exportId.id || exportId;
17
+ return this.resources.fetch({ type: "events" }, `exports/${_exportId}/events`, params, options);
18
+ }
19
+ async event_stores(exportId, params, options) {
20
+ const _exportId = exportId.id || exportId;
21
+ return this.resources.fetch({ type: "event_stores" }, `exports/${_exportId}/event_stores`, params, options);
22
+ }
23
+ async _start(id, params, options) {
24
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Exports.TYPE, _start: true }, params, options);
25
+ }
26
+ async _interrupt(id, params, options) {
27
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Exports.TYPE, _interrupt: true }, params, options);
28
+ }
29
+ isExport(resource) {
30
+ return resource.type && resource.type === _Exports.TYPE;
31
+ }
32
+ relationship(id) {
33
+ return super.relationshipOneToOne(id);
34
+ }
35
+ relationshipToMany(...ids) {
36
+ return super.relationshipOneToMany(...ids);
37
+ }
38
+ type() {
39
+ return _Exports.TYPE;
40
+ }
41
+ };
42
+ var instance = new Exports();
43
+ var exports_default = instance;
44
+
45
+ export { exports_default };
46
+ //# sourceMappingURL=chunk-C5C3LBW5.js.map
47
+ //# sourceMappingURL=chunk-C5C3LBW5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/exports.ts"],"names":[],"mappings":";;;AAsKA,IAAM,OAAA,GAAN,MAAM,QAAA,SAAgB,WAAA,CAAoB;AAAA,EAEzC,OAAgB,IAAA,GAAmB,SAAA;AAAA,EAEnC,MAAM,MAAA,CAAO,QAAA,EAAwB,MAAA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AAO,CAAA;AAAA,EACvH;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAqB,MAAA,EAAsC,OAAA,EAA4C;AACnH,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAA6B,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,QAAA,CAAQ,IAAA,EAAM,QAAQ,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EAClJ;AAAA,EAEA,MAAM,UAAA,CAAW,EAAA,EAAqB,MAAA,EAAsC,OAAA,EAA4C;AACvH,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAA6B,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,QAAA,CAAQ,IAAA,EAAM,YAAY,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACtJ;AAAA,EAGA,SAAS,QAAA,EAAmC;AAC3C,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,QAAA,CAAQ,IAAA;AAAA,EACpD;AAAA,EAGA,aAAa,EAAA,EAA2C;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAgC,EAAE,CAAA;AAAA,EAChD;AAAA,EAEA,sBAAsB,GAAA,EAA4B;AACjD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAiC,GAAG,GAAG,CAAA;AAAA,EACrD;AAAA,EAGA,IAAA,GAAmB;AAClB,IAAA,OAAO,QAAA,CAAQ,IAAA;AAAA,EAChB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,OAAA,EAAQ;AAC7B,IAAO,eAAA,GAAQ","file":"chunk-C5C3LBW5.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\n\n\ntype ExportType = 'exports'\ntype ExportRel = ResourceRel & { type: ExportType }\n\n\nexport type ExportSort = Pick<Export, 'id' | 'resource_type' | 'format' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'records_count' | 'processed_count' | 'attachment_url'> & ResourceSort\n// export type ExportFilter = Pick<Export, 'id' | 'resource_type' | 'format' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'records_count' | 'processed_count' | 'attachment_url' | 'errors_log'> & ResourceFilter\n\n\ninterface Export extends Resource {\n\t\n\treadonly type: ExportType\n\n\t/** \n\t * The type of resource being exported. One of 'applications', 'event_stores', 'organizations', 'addresses', 'geocoders', 'events', 'tags', 'adjustments', 'price_lists', 'payment_gateways', 'payment_methods', 'markets', 'customer_groups', 'line_items', 'discount_engine_items', 'promotions', 'adyen_payments', 'orders', 'transactions', 'order_factories', 'attachments', 'tax_calculators', 'tax_categories', 'skus', 'shipping_categories', 'axerve_payments', 'order_validation_rules', 'braintree_payments', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'promotion_rules', 'coupons', 'returns', 'carrier_accounts', 'checkout_com_payments', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'order_subscriptions', 'customer_password_resets', 'delivery_lead_times', 'shipping_methods', 'shipments', 'discount_engines', 'pickups', 'parcels', 'webhooks', 'event_callbacks', 'external_payments', 'gift_cards', 'in_stock_subscriptions', 'inventory_models', 'inventory_stock_locations', 'inventory_return_locations', 'klarna_payments', 'line_item_options', 'return_line_items', 'stock_line_items', 'stock_reservations', 'stock_transfers', 'notifications', 'sku_options', 'links', 'tax_rules', 'merchants', 'subscription_models', 'stores', 'price_list_schedulers', 'order_subscription_items', 'payment_options', 'resource_errors', 'paypal_payments', 'packages', 'parcel_line_items', 'prices', 'price_tiers', 'reserved_stocks', 'satispay_payments', 'shipping_method_tiers', 'shipping_zones', 'stripe_payments', or 'wire_transfers'.\n\t * @example ```\"skus\"```\n\t */\n\tresource_type: 'applications' | 'event_stores' | 'organizations' | 'addresses' | 'geocoders' | 'events' | 'tags' | 'adjustments' | 'price_lists' | 'payment_gateways' | 'payment_methods' | 'markets' | 'customer_groups' | 'line_items' | 'discount_engine_items' | 'promotions' | 'adyen_payments' | 'orders' | 'transactions' | 'order_factories' | 'attachments' | 'tax_calculators' | 'tax_categories' | 'skus' | 'shipping_categories' | 'axerve_payments' | 'order_validation_rules' | 'braintree_payments' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'promotion_rules' | 'coupons' | 'returns' | 'carrier_accounts' | 'checkout_com_payments' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'order_subscriptions' | 'customer_password_resets' | 'delivery_lead_times' | 'shipping_methods' | 'shipments' | 'discount_engines' | 'pickups' | 'parcels' | 'webhooks' | 'event_callbacks' | 'external_payments' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_stock_locations' | 'inventory_return_locations' | 'klarna_payments' | 'line_item_options' | 'return_line_items' | 'stock_line_items' | 'stock_reservations' | 'stock_transfers' | 'notifications' | 'sku_options' | 'links' | 'tax_rules' | 'merchants' | 'subscription_models' | 'stores' | 'price_list_schedulers' | 'order_subscription_items' | 'payment_options' | 'resource_errors' | 'paypal_payments' | 'packages' | 'parcel_line_items' | 'prices' | 'price_tiers' | 'reserved_stocks' | 'satispay_payments' | 'shipping_method_tiers' | 'shipping_zones' | 'stripe_payments' | 'wire_transfers'\n\t/** \n\t * The format of the export. One of 'csv', or 'json' (default).\n\t * @example ```\"json\"```\n\t */\n\tformat?: 'csv' | 'json' | null\n\t/** \n\t * The export job status. One of 'pending' (default), 'in_progress', 'interrupted', 'completed', or 'failed'.\n\t * @example ```\"in_progress\"```\n\t */\n\tstatus: 'pending' | 'in_progress' | 'interrupted' | 'completed' | 'failed'\n\t/** \n\t * List of related resources that should be included in the export (redundant when 'fields' are specified).\n\t * @example ```[\"prices.price_tiers\"]```\n\t */\n\tincludes?: string[] | null\n\t/** \n\t * List of fields to export for the main and related resources (automatically included). Pass the asterisk '*' to include all exportable fields for the main and related resources.\n\t * @example ```[\"code\",\"name\",\"prices.*\",\"prices.price_tiers.price_amount_cents\"]```\n\t */\n\tfields?: string[] | null\n\t/** \n\t * The filters used to select the records to be exported.\n\t * @example ```{\"code_eq\":\"AAA\"}```\n\t */\n\tfilters?: Record<string, any> | null\n\t/** \n\t * Send this attribute if you want to skip exporting redundant attributes (IDs, timestamps, blanks, etc.), useful when combining export and import to duplicate your dataset.\n\t */\n\tdry_data?: boolean | null\n\t/** \n\t * Send this attribute to apply JWT scope–based sales channel filtering to the exported data.\n\t * @example ```true```\n\t */\n\tjwt_filters?: boolean | null\n\t/** \n\t * Time at which the export was started.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarted_at?: string | null\n\t/** \n\t * Time at which the export was completed.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tcompleted_at?: string | null\n\t/** \n\t * Estimated time at which the export should complete (dynamically refres^hed).\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\testimated_completion_at?: string | null\n\t/** \n\t * Time at which the export was interrupted.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tinterrupted_at?: string | null\n\t/** \n\t * Indicates the number of records to be exported.\n\t * @example ```300```\n\t */\n\trecords_count?: number | null\n\t/** \n\t * Indicates how many records have been processed in real time.\n\t * @example ```270```\n\t */\n\tprocessed_count?: number | null\n\t/** \n\t * The percentage of progress of the export.\n\t * @example ```30```\n\t */\n\tprogress?: number | null\n\t/** \n\t * The URL to the output file, which will be generated upon export completion.\n\t * @example ```\"http://cl_exports.s3.amazonaws.com/\"```\n\t */\n\tattachment_url?: string | null\n\t/** \n\t * Contains the exports errors, if any.\n\t * @example ```{\"RuntimeError\":\"query timeout\"}```\n\t */\n\terrors_log?: Record<string, any> | null\n\n\tevents?: Event[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface ExportCreate extends ResourceCreate {\n\t\n\t/** \n\t * The type of resource being exported. One of 'applications', 'event_stores', 'organizations', 'addresses', 'geocoders', 'events', 'tags', 'adjustments', 'price_lists', 'payment_gateways', 'payment_methods', 'markets', 'customer_groups', 'line_items', 'discount_engine_items', 'promotions', 'adyen_payments', 'orders', 'transactions', 'order_factories', 'attachments', 'tax_calculators', 'tax_categories', 'skus', 'shipping_categories', 'axerve_payments', 'order_validation_rules', 'braintree_payments', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'promotion_rules', 'coupons', 'returns', 'carrier_accounts', 'checkout_com_payments', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'order_subscriptions', 'customer_password_resets', 'delivery_lead_times', 'shipping_methods', 'shipments', 'discount_engines', 'pickups', 'parcels', 'webhooks', 'event_callbacks', 'external_payments', 'gift_cards', 'in_stock_subscriptions', 'inventory_models', 'inventory_stock_locations', 'inventory_return_locations', 'klarna_payments', 'line_item_options', 'return_line_items', 'stock_line_items', 'stock_reservations', 'stock_transfers', 'notifications', 'sku_options', 'links', 'tax_rules', 'merchants', 'subscription_models', 'stores', 'price_list_schedulers', 'order_subscription_items', 'payment_options', 'resource_errors', 'paypal_payments', 'packages', 'parcel_line_items', 'prices', 'price_tiers', 'reserved_stocks', 'satispay_payments', 'shipping_method_tiers', 'shipping_zones', 'stripe_payments', or 'wire_transfers'.\n\t * @example ```\"skus\"```\n\t */\n\tresource_type: 'applications' | 'event_stores' | 'organizations' | 'addresses' | 'geocoders' | 'events' | 'tags' | 'adjustments' | 'price_lists' | 'payment_gateways' | 'payment_methods' | 'markets' | 'customer_groups' | 'line_items' | 'discount_engine_items' | 'promotions' | 'adyen_payments' | 'orders' | 'transactions' | 'order_factories' | 'attachments' | 'tax_calculators' | 'tax_categories' | 'skus' | 'shipping_categories' | 'axerve_payments' | 'order_validation_rules' | 'braintree_payments' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'promotion_rules' | 'coupons' | 'returns' | 'carrier_accounts' | 'checkout_com_payments' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'order_subscriptions' | 'customer_password_resets' | 'delivery_lead_times' | 'shipping_methods' | 'shipments' | 'discount_engines' | 'pickups' | 'parcels' | 'webhooks' | 'event_callbacks' | 'external_payments' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_stock_locations' | 'inventory_return_locations' | 'klarna_payments' | 'line_item_options' | 'return_line_items' | 'stock_line_items' | 'stock_reservations' | 'stock_transfers' | 'notifications' | 'sku_options' | 'links' | 'tax_rules' | 'merchants' | 'subscription_models' | 'stores' | 'price_list_schedulers' | 'order_subscription_items' | 'payment_options' | 'resource_errors' | 'paypal_payments' | 'packages' | 'parcel_line_items' | 'prices' | 'price_tiers' | 'reserved_stocks' | 'satispay_payments' | 'shipping_method_tiers' | 'shipping_zones' | 'stripe_payments' | 'wire_transfers'\n\t/** \n\t * The format of the export. One of 'csv', or 'json' (default).\n\t * @example ```\"json\"```\n\t */\n\tformat?: 'csv' | 'json' | null\n\t/** \n\t * List of related resources that should be included in the export (redundant when 'fields' are specified).\n\t * @example ```[\"prices.price_tiers\"]```\n\t */\n\tincludes?: string[] | null\n\t/** \n\t * List of fields to export for the main and related resources (automatically included). Pass the asterisk '*' to include all exportable fields for the main and related resources.\n\t * @example ```[\"code\",\"name\",\"prices.*\",\"prices.price_tiers.price_amount_cents\"]```\n\t */\n\tfields?: string[] | null\n\t/** \n\t * The filters used to select the records to be exported.\n\t * @example ```{\"code_eq\":\"AAA\"}```\n\t */\n\tfilters?: Record<string, any> | null\n\t/** \n\t * Send this attribute if you want to skip exporting redundant attributes (IDs, timestamps, blanks, etc.), useful when combining export and import to duplicate your dataset.\n\t */\n\tdry_data?: boolean | null\n\t/** \n\t * Send this attribute to apply JWT scope–based sales channel filtering to the exported data.\n\t * @example ```true```\n\t */\n\tjwt_filters?: boolean | null\n\t\n}\n\n\ninterface ExportUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * Send this attribute if you want to restart an 'interrupted' export.\n\t * @example ```true```\n\t */\n\t_start?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark status as 'interrupted'.\n\t * @example ```true```\n\t */\n\t_interrupt?: boolean | null\n\t\n}\n\n\nclass Exports extends ApiResource<Export> {\n\n\tstatic readonly TYPE: ExportType = 'exports' as const\n\n\tasync create(resource: ExportCreate, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export> {\n\t\treturn this.resources.create<ExportCreate, Export>({ ...resource, type: Exports.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ExportUpdate, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export> {\n\t\treturn this.resources.update<ExportUpdate, Export>({ ...resource, type: Exports.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: Exports.TYPE } : id, options)\n\t}\n\n\tasync events(exportId: string | Export, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _exportId = (exportId as Export).id || exportId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `exports/${_exportId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync event_stores(exportId: string | Export, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _exportId = (exportId as Export).id || exportId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `exports/${_exportId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _start(id: string | Export, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export> {\n\t\treturn this.resources.update<ExportUpdate, Export>({ id: (typeof id === 'string')? id: id.id, type: Exports.TYPE, _start: true }, params, options)\n\t}\n\n\tasync _interrupt(id: string | Export, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export> {\n\t\treturn this.resources.update<ExportUpdate, Export>({ id: (typeof id === 'string')? id: id.id, type: Exports.TYPE, _interrupt: true }, params, options)\n\t}\n\n\n\tisExport(resource: any): resource is Export {\n\t\treturn resource.type && (resource.type === Exports.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ExportRel {\n\t\treturn super.relationshipOneToOne<ExportRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ExportRel[] {\n\t\treturn super.relationshipOneToMany<ExportRel>(...ids)\n\t}\n\n\n\ttype(): ExportType {\n\t\treturn Exports.TYPE\n\t}\n\n}\n\n\nconst instance = new Exports()\nexport default instance\n\nexport type { Export, ExportCreate, Exports, ExportType, ExportUpdate }\n"]}
@@ -0,0 +1,93 @@
1
+ import { ApiResource } from './chunk-XDRKC6JM.js';
2
+
3
+ // src/resources/fixed_price_promotions.ts
4
+ var FixedPricePromotions = class _FixedPricePromotions extends ApiResource {
5
+ static TYPE = "fixed_price_promotions";
6
+ async create(resource, params, options) {
7
+ return this.resources.create({ ...resource, type: _FixedPricePromotions.TYPE }, params, options);
8
+ }
9
+ async update(resource, params, options) {
10
+ return this.resources.update({ ...resource, type: _FixedPricePromotions.TYPE }, params, options);
11
+ }
12
+ async delete(id, options) {
13
+ await this.resources.delete(typeof id === "string" ? { id, type: _FixedPricePromotions.TYPE } : id, options);
14
+ }
15
+ async market(fixedPricePromotionId, params, options) {
16
+ const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
17
+ return this.resources.fetch({ type: "markets" }, `fixed_price_promotions/${_fixedPricePromotionId}/market`, params, options);
18
+ }
19
+ async order_amount_promotion_rule(fixedPricePromotionId, params, options) {
20
+ const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
21
+ return this.resources.fetch({ type: "order_amount_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/order_amount_promotion_rule`, params, options);
22
+ }
23
+ async sku_list_promotion_rule(fixedPricePromotionId, params, options) {
24
+ const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
25
+ return this.resources.fetch({ type: "sku_list_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list_promotion_rule`, params, options);
26
+ }
27
+ async coupon_codes_promotion_rule(fixedPricePromotionId, params, options) {
28
+ const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
29
+ return this.resources.fetch({ type: "coupon_codes_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/coupon_codes_promotion_rule`, params, options);
30
+ }
31
+ async custom_promotion_rule(fixedPricePromotionId, params, options) {
32
+ const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
33
+ return this.resources.fetch({ type: "custom_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/custom_promotion_rule`, params, options);
34
+ }
35
+ async sku_list(fixedPricePromotionId, params, options) {
36
+ const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
37
+ return this.resources.fetch({ type: "sku_lists" }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list`, params, options);
38
+ }
39
+ async coupons(fixedPricePromotionId, params, options) {
40
+ const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
41
+ return this.resources.fetch({ type: "coupons" }, `fixed_price_promotions/${_fixedPricePromotionId}/coupons`, params, options);
42
+ }
43
+ async attachments(fixedPricePromotionId, params, options) {
44
+ const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
45
+ return this.resources.fetch({ type: "attachments" }, `fixed_price_promotions/${_fixedPricePromotionId}/attachments`, params, options);
46
+ }
47
+ async events(fixedPricePromotionId, params, options) {
48
+ const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
49
+ return this.resources.fetch({ type: "events" }, `fixed_price_promotions/${_fixedPricePromotionId}/events`, params, options);
50
+ }
51
+ async tags(fixedPricePromotionId, params, options) {
52
+ const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
53
+ return this.resources.fetch({ type: "tags" }, `fixed_price_promotions/${_fixedPricePromotionId}/tags`, params, options);
54
+ }
55
+ async event_stores(fixedPricePromotionId, params, options) {
56
+ const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
57
+ return this.resources.fetch({ type: "event_stores" }, `fixed_price_promotions/${_fixedPricePromotionId}/event_stores`, params, options);
58
+ }
59
+ async skus(fixedPricePromotionId, params, options) {
60
+ const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
61
+ return this.resources.fetch({ type: "skus" }, `fixed_price_promotions/${_fixedPricePromotionId}/skus`, params, options);
62
+ }
63
+ async _disable(id, params, options) {
64
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _disable: true }, params, options);
65
+ }
66
+ async _enable(id, params, options) {
67
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _enable: true }, params, options);
68
+ }
69
+ async _add_tags(id, triggerValue, params, options) {
70
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _add_tags: triggerValue }, params, options);
71
+ }
72
+ async _remove_tags(id, triggerValue, params, options) {
73
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _remove_tags: triggerValue }, params, options);
74
+ }
75
+ isFixedPricePromotion(resource) {
76
+ return resource.type && resource.type === _FixedPricePromotions.TYPE;
77
+ }
78
+ relationship(id) {
79
+ return super.relationshipOneToOne(id);
80
+ }
81
+ relationshipToMany(...ids) {
82
+ return super.relationshipOneToMany(...ids);
83
+ }
84
+ type() {
85
+ return _FixedPricePromotions.TYPE;
86
+ }
87
+ };
88
+ var instance = new FixedPricePromotions();
89
+ var fixed_price_promotions_default = instance;
90
+
91
+ export { fixed_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AA,EAEA,sBAAsB,GAAA,EAAyC;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA8C,GAAG,GAAG,CAAA;AAAA,EAClE;AAAA,EAGA,IAAA,GAAgC;AAC/B,IAAA,OAAO,qBAAA,CAAqB,IAAA;AAAA,EAC7B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,oBAAA,EAAqB;AAC1C,IAAO,8BAAA,GAAQ","file":"chunk-CCBBYTAJ.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { Coupon } from './coupons'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { PromotionRule } from './promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Sku } from './skus'\nimport type { Tag, TagType } from './tags'\n\n\ntype FixedPricePromotionType = 'fixed_price_promotions'\ntype FixedPricePromotionRel = ResourceRel & { type: FixedPricePromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type FixedPricePromotionSort = Pick<FixedPricePromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort\n// export type FixedPricePromotionFilter = Pick<FixedPricePromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceFilter\n\n\ninterface FixedPricePromotion extends Resource {\n\t\n\treadonly type: FixedPricePromotionType\n\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * The number of times this promotion has been applied.\n\t * @example ```2```\n\t */\n\ttotal_usage_count?: number | null\n\t/** \n\t * Indicates if the promotion has been applied the total number of allowed times.\n\t */\n\ttotal_usage_reached?: boolean | null\n\t/** \n\t * Indicates if the promotion is active (enabled and not expired).\n\t * @example ```true```\n\t */\n\tactive?: boolean | null\n\t/** \n\t * The promotion status. One of 'disabled', 'expired', 'pending', 'active', or 'inactive'.\n\t * @example ```\"pending\"```\n\t */\n\tstatus?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null\n\t/** \n\t * The weight of the promotion, computed by exclusivity, priority, type and start time. Determines the order of application, higher weight apply first.\n\t * @example ```112```\n\t */\n\tweight?: number | null\n\t/** \n\t * The total number of coupons created for this promotion.\n\t * @example ```2```\n\t */\n\tcoupons_count?: number | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The price fixed amount to be applied on matching SKUs, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents: number\n\t/** \n\t * The discount fixed amount to be applied, float.\n\t * @example ```10```\n\t */\n\tfixed_amount_float?: number | null\n\t/** \n\t * The discount fixed amount to be applied, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_fixed_amount?: string | null\n\n\tmarket?: Market | null\n\tpromotion_rules?: PromotionRule[] | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRule | null\n\tsku_list_promotion_rule?: SkuListPromotionRule | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n\tcustom_promotion_rule?: CustomPromotionRule | null\n\tsku_list?: SkuList | null\n\tcoupons?: Coupon[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tevent_stores?: EventStore[] | null\n\tskus?: Sku[] | null\n\n}\n\n\ninterface FixedPricePromotionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The price fixed amount to be applied on matching SKUs, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents: number\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list: SkuListRel\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface FixedPricePromotionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at?: string | null\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\t/** \n\t * The price fixed amount to be applied on matching SKUs, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents?: number | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass FixedPricePromotions extends ApiResource<FixedPricePromotion> {\n\n\tstatic readonly TYPE: FixedPricePromotionType = 'fixed_price_promotions' as const\n\n\tasync create(resource: FixedPricePromotionCreate, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.create<FixedPricePromotionCreate, FixedPricePromotion>({ ...resource, type: FixedPricePromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: FixedPricePromotionUpdate, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ ...resource, type: FixedPricePromotions.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: FixedPricePromotions.TYPE } : id, options)\n\t}\n\n\tasync market(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `fixed_price_promotions/${_fixedPricePromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `fixed_price_promotions/${_fixedPricePromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `fixed_price_promotions/${_fixedPricePromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `fixed_price_promotions/${_fixedPricePromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `fixed_price_promotions/${_fixedPricePromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync event_stores(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `fixed_price_promotions/${_fixedPricePromotionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync skus(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `fixed_price_promotions/${_fixedPricePromotionId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync _disable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | FixedPricePromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | FixedPricePromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisFixedPricePromotion(resource: any): resource is FixedPricePromotion {\n\t\treturn resource.type && (resource.type === FixedPricePromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): FixedPricePromotionRel {\n\t\treturn super.relationshipOneToOne<FixedPricePromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): FixedPricePromotionRel[] {\n\t\treturn super.relationshipOneToMany<FixedPricePromotionRel>(...ids)\n\t}\n\n\n\ttype(): FixedPricePromotionType {\n\t\treturn FixedPricePromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new FixedPricePromotions()\nexport default instance\n\nexport type { FixedPricePromotion, FixedPricePromotionCreate, FixedPricePromotions, FixedPricePromotionType, FixedPricePromotionUpdate }\n"]}
@@ -0,0 +1,47 @@
1
+ 'use strict';
2
+
3
+ var chunkVRRJS3ZM_cjs = require('./chunk-VRRJS3ZM.cjs');
4
+
5
+ // src/resources/tax_categories.ts
6
+ var TaxCategories = class _TaxCategories extends chunkVRRJS3ZM_cjs.ApiResource {
7
+ static TYPE = "tax_categories";
8
+ async create(resource, params, options) {
9
+ return this.resources.create({ ...resource, type: _TaxCategories.TYPE }, params, options);
10
+ }
11
+ async update(resource, params, options) {
12
+ return this.resources.update({ ...resource, type: _TaxCategories.TYPE }, params, options);
13
+ }
14
+ async delete(id, options) {
15
+ await this.resources.delete(typeof id === "string" ? { id, type: _TaxCategories.TYPE } : id, options);
16
+ }
17
+ async sku(taxCategoryId, params, options) {
18
+ const _taxCategoryId = taxCategoryId.id || taxCategoryId;
19
+ return this.resources.fetch({ type: "skus" }, `tax_categories/${_taxCategoryId}/sku`, params, options);
20
+ }
21
+ async attachments(taxCategoryId, params, options) {
22
+ const _taxCategoryId = taxCategoryId.id || taxCategoryId;
23
+ return this.resources.fetch({ type: "attachments" }, `tax_categories/${_taxCategoryId}/attachments`, params, options);
24
+ }
25
+ async event_stores(taxCategoryId, params, options) {
26
+ const _taxCategoryId = taxCategoryId.id || taxCategoryId;
27
+ return this.resources.fetch({ type: "event_stores" }, `tax_categories/${_taxCategoryId}/event_stores`, params, options);
28
+ }
29
+ isTaxCategory(resource) {
30
+ return resource.type && resource.type === _TaxCategories.TYPE;
31
+ }
32
+ relationship(id) {
33
+ return super.relationshipOneToOne(id);
34
+ }
35
+ relationshipToMany(...ids) {
36
+ return super.relationshipOneToMany(...ids);
37
+ }
38
+ type() {
39
+ return _TaxCategories.TYPE;
40
+ }
41
+ };
42
+ var instance = new TaxCategories();
43
+ var tax_categories_default = instance;
44
+
45
+ exports.tax_categories_default = tax_categories_default;
46
+ //# sourceMappingURL=chunk-CHMVP6EF.cjs.map
47
+ //# sourceMappingURL=chunk-CHMVP6EF.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/tax_categories.ts"],"names":["ApiResource"],"mappings":";;;;;AAyFA,IAAM,aAAA,GAAN,MAAM,cAAA,SAAsBA,6BAAA,C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AE,IAAA,EAAM,aAAA,EAAc,EAAG,CAAA,eAAA,EAAkB,cAAc,CAAA,YAAA,CAAA,EAAgB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACjI;AAAA,EAEA,MAAM,YAAA,CAAa,aAAA,EAAqC,MAAA,EAAsC,OAAA,EAA8D;AAC3J,IAAA,MAAM,cAAA,GAAkB,cAA8B,EAAA,IAAM,aAAA;AAC5D,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,eAAA,EAAkB,cAAc,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACnI;AAAA,EAGA,cAAc,QAAA,EAAwC;AACrD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,cAAA,CAAc,IAAA;AAAA,EAC1D;AAAA,EAGA,aAAa,EAAA,EAAgD;AAC5D,IAAA,OAAO,KAAA,CAAM,qBAAqC,EAAE,CAAA;AAAA,EACrD;AAAA,EAEA,sBAAsB,GAAA,EAAiC;AACtD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAsC,GAAG,GAAG,CAAA;AAAA,EAC1D;AAAA,EAGA,IAAA,GAAwB;AACvB,IAAA,OAAO,cAAA,CAAc,IAAA;AAAA,EACtB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,aAAA,EAAc;AACnC,IAAO,sBAAA,GAAQ","file":"chunk-CHMVP6EF.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { AvalaraAccount, AvalaraAccountType } from './avalara_accounts'\nimport type { EventStore } from './event_stores'\nimport type { ExternalTaxCalculator, ExternalTaxCalculatorType } from './external_tax_calculators'\nimport type { ManualTaxCalculator, ManualTaxCalculatorType } from './manual_tax_calculators'\nimport type { Sku, SkuType } from './skus'\nimport type { StripeTaxAccount, StripeTaxAccountType } from './stripe_tax_accounts'\nimport type { TaxjarAccount, TaxjarAccountType } from './taxjar_accounts'\nimport type { VertexAccount, VertexAccountType } from './vertex_accounts'\n\n\ntype TaxCategoryType = 'tax_categories'\ntype TaxCategoryRel = ResourceRel & { type: TaxCategoryType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype AvalaraAccountRel = ResourceRel & { type: AvalaraAccountType }\ntype StripeTaxAccountRel = ResourceRel & { type: StripeTaxAccountType }\ntype VertexAccountRel = ResourceRel & { type: VertexAccountType }\ntype TaxjarAccountRel = ResourceRel & { type: TaxjarAccountType }\ntype ManualTaxCalculatorRel = ResourceRel & { type: ManualTaxCalculatorType }\ntype ExternalTaxCalculatorRel = ResourceRel & { type: ExternalTaxCalculatorType }\n\n\nexport type TaxCategorySort = Pick<TaxCategory, 'id' | 'code'> & ResourceSort\n// export type TaxCategoryFilter = Pick<TaxCategory, 'id' | 'code'> & ResourceFilter\n\n\ninterface TaxCategory extends Resource {\n\t\n\treadonly type: TaxCategoryType\n\n\t/** \n\t * The tax category identifier code, specific for a particular tax calculator.\n\t * @example ```\"31000\"```\n\t */\n\tcode: string\n\t/** \n\t * The code of the associated SKU.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\n\tsku?: Sku | null\n\ttax_calculator?: AvalaraAccount | StripeTaxAccount | VertexAccount | TaxjarAccount | ManualTaxCalculator | ExternalTaxCalculator | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface TaxCategoryCreate extends ResourceCreate {\n\t\n\t/** \n\t * The tax category identifier code, specific for a particular tax calculator.\n\t * @example ```\"31000\"```\n\t */\n\tcode: string\n\t/** \n\t * The code of the associated SKU.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\n\tsku: SkuRel\n\ttax_calculator: AvalaraAccountRel | StripeTaxAccountRel | VertexAccountRel | TaxjarAccountRel | ManualTaxCalculatorRel | ExternalTaxCalculatorRel\n\n}\n\n\ninterface TaxCategoryUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The tax category identifier code, specific for a particular tax calculator.\n\t * @example ```\"31000\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The code of the associated SKU.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\n\tsku?: SkuRel | null\n\n}\n\n\nclass TaxCategories extends ApiResource<TaxCategory> {\n\n\tstatic readonly TYPE: TaxCategoryType = 'tax_categories' as const\n\n\tasync create(resource: TaxCategoryCreate, params?: QueryParamsRetrieve<TaxCategory>, options?: ResourcesConfig): Promise<TaxCategory> {\n\t\treturn this.resources.create<TaxCategoryCreate, TaxCategory>({ ...resource, type: TaxCategories.TYPE }, params, options)\n\t}\n\n\tasync update(resource: TaxCategoryUpdate, params?: QueryParamsRetrieve<TaxCategory>, options?: ResourcesConfig): Promise<TaxCategory> {\n\t\treturn this.resources.update<TaxCategoryUpdate, TaxCategory>({ ...resource, type: TaxCategories.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: TaxCategories.TYPE } : id, options)\n\t}\n\n\tasync sku(taxCategoryId: string | TaxCategory, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku> {\n\t\tconst _taxCategoryId = (taxCategoryId as TaxCategory).id || taxCategoryId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `tax_categories/${_taxCategoryId}/sku`, params, options) as unknown as Sku\n\t}\n\n\tasync attachments(taxCategoryId: string | TaxCategory, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _taxCategoryId = (taxCategoryId as TaxCategory).id || taxCategoryId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `tax_categories/${_taxCategoryId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(taxCategoryId: string | TaxCategory, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _taxCategoryId = (taxCategoryId as TaxCategory).id || taxCategoryId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `tax_categories/${_taxCategoryId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisTaxCategory(resource: any): resource is TaxCategory {\n\t\treturn resource.type && (resource.type === TaxCategories.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): TaxCategoryRel {\n\t\treturn super.relationshipOneToOne<TaxCategoryRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): TaxCategoryRel[] {\n\t\treturn super.relationshipOneToMany<TaxCategoryRel>(...ids)\n\t}\n\n\n\ttype(): TaxCategoryType {\n\t\treturn TaxCategories.TYPE\n\t}\n\n}\n\n\nconst instance = new TaxCategories()\nexport default instance\n\nexport type { TaxCategories, TaxCategory, TaxCategoryCreate, TaxCategoryType, TaxCategoryUpdate }\n"]}
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+ var chunkVRRJS3ZM_cjs = require('./chunk-VRRJS3ZM.cjs');
4
+
5
+ // src/resources/resource_errors.ts
6
+ var ResourceErrors = class _ResourceErrors extends chunkVRRJS3ZM_cjs.ApiResource {
7
+ static TYPE = "resource_errors";
8
+ async event_stores(resourceErrorId, params, options) {
9
+ const _resourceErrorId = resourceErrorId.id || resourceErrorId;
10
+ return this.resources.fetch({ type: "event_stores" }, `resource_errors/${_resourceErrorId}/event_stores`, params, options);
11
+ }
12
+ isResourceError(resource) {
13
+ return resource.type && resource.type === _ResourceErrors.TYPE;
14
+ }
15
+ relationship(id) {
16
+ return super.relationshipOneToOne(id);
17
+ }
18
+ relationshipToMany(...ids) {
19
+ return super.relationshipOneToMany(...ids);
20
+ }
21
+ type() {
22
+ return _ResourceErrors.TYPE;
23
+ }
24
+ };
25
+ var instance = new ResourceErrors();
26
+ var resource_errors_default = instance;
27
+
28
+ exports.resource_errors_default = resource_errors_default;
29
+ //# sourceMappingURL=chunk-CIBRS4EH.cjs.map
30
+ //# sourceMappingURL=chunk-CIBRS4EH.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/resource_errors.ts"],"names":["ApiResource"],"mappings":";;;;;AA2CA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuBA,6BAAA,CAA2B;AAAA,EAEvD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,YAAA,CAAa,eAAA,EAAyC,MAAA,EAAsC,OAAA,EAA8D;AAC/J,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACtI;AAAA,EAGA,gBAAgB,QAAA,EAA0C;AACzD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,eAAA,CAAe,IAAA;AAAA,EAC3D;AAAA,EAGA,aAAa,EAAA,EAAkD;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAuC,EAAE,CAAA;AAAA,EACvD;AAAA,EAEA,sBAAsB,GAAA,EAAmC;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAwC,GAAG,GAAG,CAAA;AAAA,EAC5D;AAAA,EAGA,IAAA,GAA0B;AACzB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACvB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-CIBRS4EH.cjs","sourcesContent":["import type { QueryParamsList } from '../query'\nimport type { ListResponse, Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, } from '../resource'\nimport { ApiResource } from '../resource'\n\nimport type { EventStore } from './event_stores'\nimport type { Order } from './orders'\nimport type { Return } from './returns'\n\n\ntype ResourceErrorType = 'resource_errors'\ntype ResourceErrorRel = ResourceRel & { type: ResourceErrorType }\n\n\nexport type ResourceErrorSort = Pick<ResourceError, 'id' | 'name' | 'code'> & ResourceSort\n// export type ResourceErrorFilter = Pick<ResourceError, 'id' | 'name' | 'code' | 'message'> & ResourceFilter\n\n\ninterface ResourceError extends Resource {\n\t\n\treadonly type: ResourceErrorType\n\n\t/** \n\t * The resource attribute name related to the error.\n\t * @example ```\"number\"```\n\t */\n\tname: string\n\t/** \n\t * The error code.\n\t * @example ```\"BLANK\"```\n\t */\n\tcode: string\n\t/** \n\t * The error message.\n\t * @example ```\"can't be blank\"```\n\t */\n\tmessage: string\n\n\tresource?: Order | Return | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\nclass ResourceErrors extends ApiResource<ResourceError> {\n\n\tstatic readonly TYPE: ResourceErrorType = 'resource_errors' as const\n\n\tasync event_stores(resourceErrorId: string | ResourceError, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _resourceErrorId = (resourceErrorId as ResourceError).id || resourceErrorId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `resource_errors/${_resourceErrorId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisResourceError(resource: any): resource is ResourceError {\n\t\treturn resource.type && (resource.type === ResourceErrors.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ResourceErrorRel {\n\t\treturn super.relationshipOneToOne<ResourceErrorRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ResourceErrorRel[] {\n\t\treturn super.relationshipOneToMany<ResourceErrorRel>(...ids)\n\t}\n\n\n\ttype(): ResourceErrorType {\n\t\treturn ResourceErrors.TYPE\n\t}\n\n}\n\n\nconst instance = new ResourceErrors()\nexport default instance\n\nexport type { ResourceError, ResourceErrors, ResourceErrorType }\n"]}
@@ -0,0 +1,49 @@
1
+ import { ApiResource } from './chunk-XDRKC6JM.js';
2
+
3
+ // src/resources/bing_geocoders.ts
4
+ var BingGeocoders = class _BingGeocoders extends ApiResource {
5
+ static TYPE = "bing_geocoders";
6
+ async create(resource, params, options) {
7
+ return this.resources.create({ ...resource, type: _BingGeocoders.TYPE }, params, options);
8
+ }
9
+ async update(resource, params, options) {
10
+ return this.resources.update({ ...resource, type: _BingGeocoders.TYPE }, params, options);
11
+ }
12
+ async delete(id, options) {
13
+ await this.resources.delete(typeof id === "string" ? { id, type: _BingGeocoders.TYPE } : id, options);
14
+ }
15
+ async markets(bingGeocoderId, params, options) {
16
+ const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
17
+ return this.resources.fetch({ type: "markets" }, `bing_geocoders/${_bingGeocoderId}/markets`, params, options);
18
+ }
19
+ async addresses(bingGeocoderId, params, options) {
20
+ const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
21
+ return this.resources.fetch({ type: "addresses" }, `bing_geocoders/${_bingGeocoderId}/addresses`, params, options);
22
+ }
23
+ async attachments(bingGeocoderId, params, options) {
24
+ const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
25
+ return this.resources.fetch({ type: "attachments" }, `bing_geocoders/${_bingGeocoderId}/attachments`, params, options);
26
+ }
27
+ async event_stores(bingGeocoderId, params, options) {
28
+ const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
29
+ return this.resources.fetch({ type: "event_stores" }, `bing_geocoders/${_bingGeocoderId}/event_stores`, params, options);
30
+ }
31
+ isBingGeocoder(resource) {
32
+ return resource.type && resource.type === _BingGeocoders.TYPE;
33
+ }
34
+ relationship(id) {
35
+ return super.relationshipOneToOne(id);
36
+ }
37
+ relationshipToMany(...ids) {
38
+ return super.relationshipOneToMany(...ids);
39
+ }
40
+ type() {
41
+ return _BingGeocoders.TYPE;
42
+ }
43
+ };
44
+ var instance = new BingGeocoders();
45
+ var bing_geocoders_default = instance;
46
+
47
+ export { bing_geocoders_default };
48
+ //# sourceMappingURL=chunk-CK4H22TM.js.map
49
+ //# sourceMappingURL=chunk-CK4H22TM.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/bing_geocoders.ts"],"names":[],"mappings":";;;AAmEA,IAAM,aAAA,GAAN,MAAM,cAAA,SAAsB,WAAA,CAA0B;AAAA,EAErD,OAAgB,IAAA,GAAyB,gBAAA;AAAA,EAEzC,MAAM,MAAA,CAAO,QAAA,EAA8B,MAAA,EAA4C,OAAA,EAAkD;AACxI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAyC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,cAAA,CAAc,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC1H;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA8B,MAAA,EAA4C,OAAA,EAAkD;AACxI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAyC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,cAAA,CAAc,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC1H;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,cAAA,CAAc,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACrG;AAAA,EAEA,MAAM,OAAA,CAAQ,cAAA,EAAuC,MAAA,EAAkC,OAAA,EAA0D;AAChJ,IAAA,MAAM,eAAA,GAAmB,eAA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IAAA;AAAA,EAC1D;AAAA,EAGA,aAAa,EAAA,EAAiD;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAsC,EAAE,CAAA;AAAA,EACtD;AAAA,EAEA,sBAAsB,GAAA,EAAkC;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAuC,GAAG,GAAG,CAAA;AAAA,EAC3D;AAAA,EAGA,IAAA,GAAyB;AACxB,IAAA,OAAO,cAAA,CAAc,IAAA;AAAA,EACtB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,aAAA,EAAc;AACnC,IAAO,sBAAA,GAAQ","file":"chunk-CK4H22TM.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Address } from './addresses'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Market } from './markets'\n\n\ntype BingGeocoderType = 'bing_geocoders'\ntype BingGeocoderRel = ResourceRel & { type: BingGeocoderType }\n\n\nexport type BingGeocoderSort = Pick<BingGeocoder, 'id' | 'name'> & ResourceSort\n// export type BingGeocoderFilter = Pick<BingGeocoder, 'id' | 'name'> & ResourceFilter\n\n\ninterface BingGeocoder extends Resource {\n\t\n\treadonly type: BingGeocoderType\n\n\t/** \n\t * The geocoder's internal name.\n\t * @example ```\"Default geocoder\"```\n\t */\n\tname: string\n\n\tmarkets?: Market[] | null\n\taddresses?: Address[] | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface BingGeocoderCreate extends ResourceCreate {\n\t\n\t/** \n\t * The geocoder's internal name.\n\t * @example ```\"Default geocoder\"```\n\t */\n\tname: string\n\t/** \n\t * The Bing Virtualearth key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tkey: string\n\t\n}\n\n\ninterface BingGeocoderUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The geocoder's internal name.\n\t * @example ```\"Default geocoder\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The Bing Virtualearth key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tkey?: string | null\n\t\n}\n\n\nclass BingGeocoders extends ApiResource<BingGeocoder> {\n\n\tstatic readonly TYPE: BingGeocoderType = 'bing_geocoders' as const\n\n\tasync create(resource: BingGeocoderCreate, params?: QueryParamsRetrieve<BingGeocoder>, options?: ResourcesConfig): Promise<BingGeocoder> {\n\t\treturn this.resources.create<BingGeocoderCreate, BingGeocoder>({ ...resource, type: BingGeocoders.TYPE }, params, options)\n\t}\n\n\tasync update(resource: BingGeocoderUpdate, params?: QueryParamsRetrieve<BingGeocoder>, options?: ResourcesConfig): Promise<BingGeocoder> {\n\t\treturn this.resources.update<BingGeocoderUpdate, BingGeocoder>({ ...resource, type: BingGeocoders.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: BingGeocoders.TYPE } : id, options)\n\t}\n\n\tasync markets(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>> {\n\t\tconst _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || bingGeocoderId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `bing_geocoders/${_bingGeocoderId}/markets`, params, options) as unknown as ListResponse<Market>\n\t}\n\n\tasync addresses(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Address>, options?: ResourcesConfig): Promise<ListResponse<Address>> {\n\t\tconst _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || bingGeocoderId as string\n\t\treturn this.resources.fetch<Address>({ type: 'addresses' }, `bing_geocoders/${_bingGeocoderId}/addresses`, params, options) as unknown as ListResponse<Address>\n\t}\n\n\tasync attachments(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || bingGeocoderId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `bing_geocoders/${_bingGeocoderId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || bingGeocoderId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `bing_geocoders/${_bingGeocoderId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisBingGeocoder(resource: any): resource is BingGeocoder {\n\t\treturn resource.type && (resource.type === BingGeocoders.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): BingGeocoderRel {\n\t\treturn super.relationshipOneToOne<BingGeocoderRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): BingGeocoderRel[] {\n\t\treturn super.relationshipOneToMany<BingGeocoderRel>(...ids)\n\t}\n\n\n\ttype(): BingGeocoderType {\n\t\treturn BingGeocoders.TYPE\n\t}\n\n}\n\n\nconst instance = new BingGeocoders()\nexport default instance\n\nexport type { BingGeocoder, BingGeocoderCreate, BingGeocoders, BingGeocoderType, BingGeocoderUpdate }\n"]}
@@ -0,0 +1,47 @@
1
+ 'use strict';
2
+
3
+ var chunkVRRJS3ZM_cjs = require('./chunk-VRRJS3ZM.cjs');
4
+
5
+ // src/resources/parcel_line_items.ts
6
+ var ParcelLineItems = class _ParcelLineItems extends chunkVRRJS3ZM_cjs.ApiResource {
7
+ static TYPE = "parcel_line_items";
8
+ async create(resource, params, options) {
9
+ return this.resources.create({ ...resource, type: _ParcelLineItems.TYPE }, params, options);
10
+ }
11
+ async update(resource, params, options) {
12
+ return this.resources.update({ ...resource, type: _ParcelLineItems.TYPE }, params, options);
13
+ }
14
+ async delete(id, options) {
15
+ await this.resources.delete(typeof id === "string" ? { id, type: _ParcelLineItems.TYPE } : id, options);
16
+ }
17
+ async parcel(parcelLineItemId, params, options) {
18
+ const _parcelLineItemId = parcelLineItemId.id || parcelLineItemId;
19
+ return this.resources.fetch({ type: "parcels" }, `parcel_line_items/${_parcelLineItemId}/parcel`, params, options);
20
+ }
21
+ async stock_line_item(parcelLineItemId, params, options) {
22
+ const _parcelLineItemId = parcelLineItemId.id || parcelLineItemId;
23
+ return this.resources.fetch({ type: "stock_line_items" }, `parcel_line_items/${_parcelLineItemId}/stock_line_item`, params, options);
24
+ }
25
+ async event_stores(parcelLineItemId, params, options) {
26
+ const _parcelLineItemId = parcelLineItemId.id || parcelLineItemId;
27
+ return this.resources.fetch({ type: "event_stores" }, `parcel_line_items/${_parcelLineItemId}/event_stores`, params, options);
28
+ }
29
+ isParcelLineItem(resource) {
30
+ return resource.type && resource.type === _ParcelLineItems.TYPE;
31
+ }
32
+ relationship(id) {
33
+ return super.relationshipOneToOne(id);
34
+ }
35
+ relationshipToMany(...ids) {
36
+ return super.relationshipOneToMany(...ids);
37
+ }
38
+ type() {
39
+ return _ParcelLineItems.TYPE;
40
+ }
41
+ };
42
+ var instance = new ParcelLineItems();
43
+ var parcel_line_items_default = instance;
44
+
45
+ exports.parcel_line_items_default = parcel_line_items_default;
46
+ //# sourceMappingURL=chunk-CO3BTLA4.cjs.map
47
+ //# sourceMappingURL=chunk-CO3BTLA4.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/parcel_line_items.ts"],"names":["ApiResource"],"mappings":";;;;;AAwEA,IAAM,eAAA,GAAN,MAAM,gBAAA,SAAwBA,6BAAA,CAA4B;AAAA,EAEzD,OAAgB,IAAA,GAA2B,mBAAA;AAAA,EAE3C,MAAM,MAAA,CAAO,QAAA,EAAgC,MAAA,EAA8C,OAAA,EAAoD;AAC9I,IAAA,OAAO,IAAA,CAAK,S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AAA,EAEA,MAAM,YAAA,CAAa,gBAAA,EAA2C,MAAA,EAAsC,OAAA,EAA8D;AACjK,IAAA,MAAM,iBAAA,GAAqB,iBAAoC,EAAA,IAAM,gBAAA;AACrE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,kBAAA,EAAqB,iBAAiB,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACzI;AAAA,EAGA,iBAAiB,QAAA,EAA2C;AAC3D,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,gBAAA,CAAgB,IAAA;AAAA,EAC5D;AAAA,EAGA,aAAa,EAAA,EAAmD;AAC/D,IAAA,OAAO,KAAA,CAAM,qBAAwC,EAAE,CAAA;AAAA,EACxD;AAAA,EAEA,sBAAsB,GAAA,EAAoC;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAyC,GAAG,GAAG,CAAA;AAAA,EAC7D;AAAA,EAGA,IAAA,GAA2B;AAC1B,IAAA,OAAO,gBAAA,CAAgB,IAAA;AAAA,EACxB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,eAAA,EAAgB;AACrC,IAAO,yBAAA,GAAQ","file":"chunk-CO3BTLA4.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { EventStore } from './event_stores'\nimport type { Parcel, ParcelType } from './parcels'\nimport type { StockLineItem, StockLineItemType } from './stock_line_items'\n\n\ntype ParcelLineItemType = 'parcel_line_items'\ntype ParcelLineItemRel = ResourceRel & { type: ParcelLineItemType }\ntype ParcelRel = ResourceRel & { type: ParcelType }\ntype StockLineItemRel = ResourceRel & { type: StockLineItemType }\n\n\nexport type ParcelLineItemSort = Pick<ParcelLineItem, 'id' | 'quantity'> & ResourceSort\n// export type ParcelLineItemFilter = Pick<ParcelLineItem, 'id' | 'quantity'> & ResourceFilter\n\n\ninterface ParcelLineItem extends Resource {\n\t\n\treadonly type: ParcelLineItemType\n\n\t/** \n\t * The code of the associated SKU.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The code of the associated bundle.\n\t * @example ```\"BUNDLEMM000000FFFFFFXLXX\"```\n\t */\n\tbundle_code?: string | null\n\t/** \n\t * The parcel line item quantity.\n\t * @example ```4```\n\t */\n\tquantity: number\n\t/** \n\t * The internal name of the associated line item.\n\t * @example ```\"Men's Black T-shirt with White Logo (XL)\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The image_url of the associated line item.\n\t * @example ```\"https://img.yourdomain.com/skus/xYZkjABcde.png\"```\n\t */\n\timage_url?: string | null\n\n\tparcel?: Parcel | null\n\tstock_line_item?: StockLineItem | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface ParcelLineItemCreate extends ResourceCreate {\n\t\n\t/** \n\t * The parcel line item quantity.\n\t * @example ```4```\n\t */\n\tquantity: number\n\n\tparcel: ParcelRel\n\tstock_line_item: StockLineItemRel\n\n}\n\n\ntype ParcelLineItemUpdate = ResourceUpdate\n\n\nclass ParcelLineItems extends ApiResource<ParcelLineItem> {\n\n\tstatic readonly TYPE: ParcelLineItemType = 'parcel_line_items' as const\n\n\tasync create(resource: ParcelLineItemCreate, params?: QueryParamsRetrieve<ParcelLineItem>, options?: ResourcesConfig): Promise<ParcelLineItem> {\n\t\treturn this.resources.create<ParcelLineItemCreate, ParcelLineItem>({ ...resource, type: ParcelLineItems.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ParcelLineItemUpdate, params?: QueryParamsRetrieve<ParcelLineItem>, options?: ResourcesConfig): Promise<ParcelLineItem> {\n\t\treturn this.resources.update<ParcelLineItemUpdate, ParcelLineItem>({ ...resource, type: ParcelLineItems.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: ParcelLineItems.TYPE } : id, options)\n\t}\n\n\tasync parcel(parcelLineItemId: string | ParcelLineItem, params?: QueryParamsRetrieve<Parcel>, options?: ResourcesConfig): Promise<Parcel> {\n\t\tconst _parcelLineItemId = (parcelLineItemId as ParcelLineItem).id || parcelLineItemId as string\n\t\treturn this.resources.fetch<Parcel>({ type: 'parcels' }, `parcel_line_items/${_parcelLineItemId}/parcel`, params, options) as unknown as Parcel\n\t}\n\n\tasync stock_line_item(parcelLineItemId: string | ParcelLineItem, params?: QueryParamsRetrieve<StockLineItem>, options?: ResourcesConfig): Promise<StockLineItem> {\n\t\tconst _parcelLineItemId = (parcelLineItemId as ParcelLineItem).id || parcelLineItemId as string\n\t\treturn this.resources.fetch<StockLineItem>({ type: 'stock_line_items' }, `parcel_line_items/${_parcelLineItemId}/stock_line_item`, params, options) as unknown as StockLineItem\n\t}\n\n\tasync event_stores(parcelLineItemId: string | ParcelLineItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _parcelLineItemId = (parcelLineItemId as ParcelLineItem).id || parcelLineItemId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `parcel_line_items/${_parcelLineItemId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisParcelLineItem(resource: any): resource is ParcelLineItem {\n\t\treturn resource.type && (resource.type === ParcelLineItems.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ParcelLineItemRel {\n\t\treturn super.relationshipOneToOne<ParcelLineItemRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ParcelLineItemRel[] {\n\t\treturn super.relationshipOneToMany<ParcelLineItemRel>(...ids)\n\t}\n\n\n\ttype(): ParcelLineItemType {\n\t\treturn ParcelLineItems.TYPE\n\t}\n\n}\n\n\nconst instance = new ParcelLineItems()\nexport default instance\n\nexport type { ParcelLineItem, ParcelLineItemCreate, ParcelLineItems, ParcelLineItemType, ParcelLineItemUpdate }\n"]}