@commercelayer/sdk 8.0.0-beta.13 → 8.0.0-beta.14
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.
- package/README.md +15 -6
- package/lib/api-4uV55RpN.d.cts +19350 -0
- package/lib/api-4uV55RpN.d.ts +19350 -0
- package/lib/api.cjs +271 -271
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +137 -137
- package/lib/binding.cjs +3 -3
- package/lib/binding.d.cts +2 -2
- package/lib/binding.d.ts +2 -2
- package/lib/binding.js +2 -2
- package/lib/bundle-compat.cjs +140 -140
- package/lib/bundle-compat.d.cts +1 -1
- package/lib/bundle-compat.d.ts +1 -1
- package/lib/bundle-compat.js +139 -139
- package/lib/bundle.cjs +141 -141
- package/lib/bundle.d.cts +1 -1
- package/lib/bundle.d.ts +1 -1
- package/lib/bundle.js +139 -139
- package/lib/chunk-25D5ZVR2.js +177 -0
- package/lib/chunk-25D5ZVR2.js.map +1 -0
- package/lib/chunk-2EYKVZCB.cjs +170 -0
- package/lib/chunk-2EYKVZCB.cjs.map +1 -0
- package/lib/chunk-2K74GAIU.cjs +70 -0
- package/lib/chunk-2K74GAIU.cjs.map +1 -0
- package/lib/chunk-2MI6HRRV.js +612 -0
- package/lib/chunk-2MI6HRRV.js.map +1 -0
- package/lib/chunk-2NJSINZ3.cjs +62 -0
- package/lib/chunk-2NJSINZ3.cjs.map +1 -0
- package/lib/chunk-2PRDAKM3.cjs +179 -0
- package/lib/chunk-2PRDAKM3.cjs.map +1 -0
- package/lib/chunk-2QEIDCVT.cjs +182 -0
- package/lib/chunk-2QEIDCVT.cjs.map +1 -0
- package/lib/chunk-2T56DJXS.cjs +71 -0
- package/lib/chunk-2T56DJXS.cjs.map +1 -0
- package/lib/chunk-32LHWWBB.js +68 -0
- package/lib/chunk-32LHWWBB.js.map +1 -0
- package/lib/chunk-3CU7A5JM.js +86 -0
- package/lib/chunk-3CU7A5JM.js.map +1 -0
- package/lib/chunk-3FNDKOAV.cjs +89 -0
- package/lib/chunk-3FNDKOAV.cjs.map +1 -0
- package/lib/chunk-3PJQL244.cjs +90 -0
- package/lib/chunk-3PJQL244.cjs.map +1 -0
- package/lib/chunk-3T5U7WV6.cjs +63 -0
- package/lib/chunk-3T5U7WV6.cjs.map +1 -0
- package/lib/chunk-3YSDFPGS.js +92 -0
- package/lib/chunk-3YSDFPGS.js.map +1 -0
- package/lib/chunk-42DR24WF.js +36 -0
- package/lib/chunk-42DR24WF.js.map +1 -0
- package/lib/chunk-44FLLGHI.js +68 -0
- package/lib/chunk-44FLLGHI.js.map +1 -0
- package/lib/chunk-44P4BKJG.cjs +62 -0
- package/lib/chunk-44P4BKJG.cjs.map +1 -0
- package/lib/chunk-4CO6FLDM.js +177 -0
- package/lib/chunk-4CO6FLDM.js.map +1 -0
- package/lib/chunk-4KJ5APVH.js +60 -0
- package/lib/chunk-4KJ5APVH.js.map +1 -0
- package/lib/chunk-4XKF3BDB.cjs +98 -0
- package/lib/chunk-4XKF3BDB.cjs.map +1 -0
- package/lib/chunk-4ZHCZ5GM.js +177 -0
- package/lib/chunk-4ZHCZ5GM.js.map +1 -0
- package/lib/chunk-54VXAZR2.js +27 -0
- package/lib/chunk-54VXAZR2.js.map +1 -0
- package/lib/chunk-5BWEJEF6.js +68 -0
- package/lib/chunk-5BWEJEF6.js.map +1 -0
- package/lib/chunk-5DSDZZBV.cjs +102 -0
- package/lib/chunk-5DSDZZBV.cjs.map +1 -0
- package/lib/chunk-5F2LJTLS.js +33 -0
- package/lib/chunk-5F2LJTLS.js.map +1 -0
- package/lib/chunk-5XO3T77C.cjs +70 -0
- package/lib/chunk-5XO3T77C.cjs.map +1 -0
- package/lib/chunk-66NRNQSI.js +96 -0
- package/lib/chunk-66NRNQSI.js.map +1 -0
- package/lib/chunk-674BXKJQ.cjs +179 -0
- package/lib/chunk-674BXKJQ.cjs.map +1 -0
- package/lib/chunk-67ZD4YVY.js +82 -0
- package/lib/chunk-67ZD4YVY.js.map +1 -0
- package/lib/chunk-6B7CYQHN.cjs +85 -0
- package/lib/chunk-6B7CYQHN.cjs.map +1 -0
- package/lib/chunk-6E4FMYAD.cjs +26 -0
- package/lib/chunk-6E4FMYAD.cjs.map +1 -0
- package/lib/chunk-6M46LK2D.cjs +55 -0
- package/lib/chunk-6M46LK2D.cjs.map +1 -0
- package/lib/chunk-6QI2KHWP.js +94 -0
- package/lib/chunk-6QI2KHWP.js.map +1 -0
- package/lib/chunk-6TJYUK5N.cjs +29 -0
- package/lib/chunk-6TJYUK5N.cjs.map +1 -0
- package/lib/chunk-72E5CJ4E.cjs +70 -0
- package/lib/chunk-72E5CJ4E.cjs.map +1 -0
- package/lib/chunk-72ZIHGYQ.js +68 -0
- package/lib/chunk-72ZIHGYQ.js.map +1 -0
- package/lib/chunk-73SKXOEE.js +75 -0
- package/lib/chunk-73SKXOEE.js.map +1 -0
- package/lib/chunk-746YRI6I.cjs +70 -0
- package/lib/chunk-746YRI6I.cjs.map +1 -0
- package/lib/chunk-753RVC67.cjs +35 -0
- package/lib/chunk-753RVC67.cjs.map +1 -0
- package/lib/chunk-7BGB33R4.js +60 -0
- package/lib/chunk-7BGB33R4.js.map +1 -0
- package/lib/chunk-7DC66BEG.cjs +70 -0
- package/lib/chunk-7DC66BEG.cjs.map +1 -0
- package/lib/chunk-7L2LIS32.cjs +60 -0
- package/lib/chunk-7L2LIS32.cjs.map +1 -0
- package/lib/chunk-7L2WD7KA.cjs +79 -0
- package/lib/chunk-7L2WD7KA.cjs.map +1 -0
- package/lib/chunk-7PJVV4KJ.js +77 -0
- package/lib/chunk-7PJVV4KJ.js.map +1 -0
- package/lib/chunk-7SWZH6L4.js +132 -0
- package/lib/chunk-7SWZH6L4.js.map +1 -0
- package/lib/chunk-7VHT5XVN.js +83 -0
- package/lib/chunk-7VHT5XVN.js.map +1 -0
- package/lib/chunk-7YC5C4UR.cjs +79 -0
- package/lib/chunk-7YC5C4UR.cjs.map +1 -0
- package/lib/chunk-AJLZDLLE.cjs +60 -0
- package/lib/chunk-AJLZDLLE.cjs.map +1 -0
- package/lib/chunk-AKMOSWME.cjs +122 -0
- package/lib/chunk-AKMOSWME.cjs.map +1 -0
- package/lib/chunk-AL2F25GH.js +59 -0
- package/lib/chunk-AL2F25GH.js.map +1 -0
- package/lib/chunk-ANS5U6HN.cjs +821 -0
- package/lib/chunk-ANS5U6HN.cjs.map +1 -0
- package/lib/chunk-AVQRCIRB.js +77 -0
- package/lib/chunk-AVQRCIRB.js.map +1 -0
- package/lib/chunk-AYJDBWOD.cjs +205 -0
- package/lib/chunk-AYJDBWOD.cjs.map +1 -0
- package/lib/chunk-B5ITCWIL.cjs +79 -0
- package/lib/chunk-B5ITCWIL.cjs.map +1 -0
- package/lib/chunk-BCIHHXDP.cjs +79 -0
- package/lib/chunk-BCIHHXDP.cjs.map +1 -0
- package/lib/chunk-BLTM2ZY3.cjs +70 -0
- package/lib/chunk-BLTM2ZY3.cjs.map +1 -0
- package/lib/chunk-BOIW5QBY.js +77 -0
- package/lib/chunk-BOIW5QBY.js.map +1 -0
- package/lib/chunk-BOSILMEN.cjs +243 -0
- package/lib/chunk-BOSILMEN.cjs.map +1 -0
- package/lib/chunk-BWZUXRXA.js +42 -0
- package/lib/chunk-BWZUXRXA.js.map +1 -0
- package/lib/chunk-C3T6WKOY.cjs +62 -0
- package/lib/chunk-C3T6WKOY.cjs.map +1 -0
- package/lib/chunk-C4KBIK5W.js +77 -0
- package/lib/chunk-C4KBIK5W.js.map +1 -0
- package/lib/chunk-CCCZBOHT.js +60 -0
- package/lib/chunk-CCCZBOHT.js.map +1 -0
- package/lib/chunk-CCIQESPS.js +100 -0
- package/lib/chunk-CCIQESPS.js.map +1 -0
- package/lib/chunk-CCTV2SUY.js +60 -0
- package/lib/chunk-CCTV2SUY.js.map +1 -0
- package/lib/chunk-CSL4GSNS.js +42 -0
- package/lib/chunk-CSL4GSNS.js.map +1 -0
- package/lib/chunk-CUG6C3D6.cjs +125 -0
- package/lib/chunk-CUG6C3D6.cjs.map +1 -0
- package/lib/chunk-D5J4IPGQ.js +58 -0
- package/lib/chunk-D5J4IPGQ.js.map +1 -0
- package/lib/chunk-D77C3UBG.cjs +93 -0
- package/lib/chunk-D77C3UBG.cjs.map +1 -0
- package/lib/chunk-DADIL57I.cjs +84 -0
- package/lib/chunk-DADIL57I.cjs.map +1 -0
- package/lib/chunk-DBOWYO7Z.cjs +62 -0
- package/lib/chunk-DBOWYO7Z.cjs.map +1 -0
- package/lib/chunk-DDTKROAA.cjs +179 -0
- package/lib/chunk-DDTKROAA.cjs.map +1 -0
- package/lib/chunk-DDXD55CP.js +61 -0
- package/lib/chunk-DDXD55CP.js.map +1 -0
- package/lib/chunk-DJQ6VM7P.cjs +126 -0
- package/lib/chunk-DJQ6VM7P.cjs.map +1 -0
- package/lib/chunk-DQPRZW2H.cjs +193 -0
- package/lib/chunk-DQPRZW2H.cjs.map +1 -0
- package/lib/chunk-DVB2JF2W.js +88 -0
- package/lib/chunk-DVB2JF2W.js.map +1 -0
- package/lib/chunk-E5LUN6JP.js +86 -0
- package/lib/chunk-E5LUN6JP.js.map +1 -0
- package/lib/chunk-E77RQCL4.js +86 -0
- package/lib/chunk-E77RQCL4.js.map +1 -0
- package/lib/chunk-EGVINKCX.js +60 -0
- package/lib/chunk-EGVINKCX.js.map +1 -0
- package/lib/chunk-EHCC27Z4.js +68 -0
- package/lib/chunk-EHCC27Z4.js.map +1 -0
- package/lib/chunk-EHCMEI5H.cjs +62 -0
- package/lib/chunk-EHCMEI5H.cjs.map +1 -0
- package/lib/chunk-EMCR7ZMZ.js +67 -0
- package/lib/chunk-EMCR7ZMZ.js.map +1 -0
- package/lib/chunk-EMHKYDFK.js +124 -0
- package/lib/chunk-EMHKYDFK.js.map +1 -0
- package/lib/chunk-EPDHBXW3.cjs +179 -0
- package/lib/chunk-EPDHBXW3.cjs.map +1 -0
- package/lib/chunk-ERINOMI3.cjs +61 -0
- package/lib/chunk-ERINOMI3.cjs.map +1 -0
- package/lib/chunk-EWJDXCCT.js +89 -0
- package/lib/chunk-EWJDXCCT.js.map +1 -0
- package/lib/chunk-EWKLAHV4.js +86 -0
- package/lib/chunk-EWKLAHV4.js.map +1 -0
- package/lib/chunk-F5HPM5QM.cjs +44 -0
- package/lib/chunk-F5HPM5QM.cjs.map +1 -0
- package/lib/chunk-F5UQQDH5.cjs +88 -0
- package/lib/chunk-F5UQQDH5.cjs.map +1 -0
- package/lib/chunk-FATBGRCR.cjs +52 -0
- package/lib/chunk-FATBGRCR.cjs.map +1 -0
- package/lib/chunk-FDQIXIWG.js +177 -0
- package/lib/chunk-FDQIXIWG.js.map +1 -0
- package/lib/chunk-FERVWKZI.cjs +94 -0
- package/lib/chunk-FERVWKZI.cjs.map +1 -0
- package/lib/chunk-FGPGZE4B.js +84 -0
- package/lib/chunk-FGPGZE4B.js.map +1 -0
- package/lib/chunk-FHXBUULD.cjs +53 -0
- package/lib/chunk-FHXBUULD.cjs.map +1 -0
- package/lib/chunk-FKBKI6ST.cjs +71 -0
- package/lib/chunk-FKBKI6ST.cjs.map +1 -0
- package/lib/chunk-FKDO2L5E.cjs +84 -0
- package/lib/chunk-FKDO2L5E.cjs.map +1 -0
- package/lib/chunk-FSGYZQHP.js +203 -0
- package/lib/chunk-FSGYZQHP.js.map +1 -0
- package/lib/chunk-FUYWWIW6.js +191 -0
- package/lib/chunk-FUYWWIW6.js.map +1 -0
- package/lib/chunk-FV4HFT5H.cjs +81 -0
- package/lib/chunk-FV4HFT5H.cjs.map +1 -0
- package/lib/chunk-FWYNZRGB.cjs +179 -0
- package/lib/chunk-FWYNZRGB.cjs.map +1 -0
- package/lib/chunk-FZBKOIQQ.js +191 -0
- package/lib/chunk-FZBKOIQQ.js.map +1 -0
- package/lib/chunk-G3IIUIN6.cjs +120 -0
- package/lib/chunk-G3IIUIN6.cjs.map +1 -0
- package/lib/chunk-GDDBAKJC.js +51 -0
- package/lib/chunk-GDDBAKJC.js.map +1 -0
- package/lib/chunk-GUTY5ZFM.js +68 -0
- package/lib/chunk-GUTY5ZFM.js.map +1 -0
- package/lib/chunk-GVDO7NHL.js +96 -0
- package/lib/chunk-GVDO7NHL.js.map +1 -0
- package/lib/chunk-GVHU45OI.cjs +98 -0
- package/lib/chunk-GVHU45OI.cjs.map +1 -0
- package/lib/chunk-H4PX4ZRV.cjs +77 -0
- package/lib/chunk-H4PX4ZRV.cjs.map +1 -0
- package/lib/chunk-HCDGITBJ.js +82 -0
- package/lib/chunk-HCDGITBJ.js.map +1 -0
- package/lib/chunk-HCNTS34X.js +89 -0
- package/lib/chunk-HCNTS34X.js.map +1 -0
- package/lib/chunk-HHOW2X3N.cjs +79 -0
- package/lib/chunk-HHOW2X3N.cjs.map +1 -0
- package/lib/chunk-HJECU7AM.js +79 -0
- package/lib/chunk-HJECU7AM.js.map +1 -0
- package/lib/chunk-HJKNANYH.cjs +166 -0
- package/lib/chunk-HJKNANYH.cjs.map +1 -0
- package/lib/chunk-HKAG43JM.js +44 -0
- package/lib/chunk-HKAG43JM.js.map +1 -0
- package/lib/chunk-HPDS2MG6.cjs +120 -0
- package/lib/chunk-HPDS2MG6.cjs.map +1 -0
- package/lib/chunk-HPRQ5EXZ.js +86 -0
- package/lib/chunk-HPRQ5EXZ.js.map +1 -0
- package/lib/chunk-HR3V62E6.js +24 -0
- package/lib/chunk-HR3V62E6.js.map +1 -0
- package/lib/chunk-HTAUO7I3.cjs +77 -0
- package/lib/chunk-HTAUO7I3.cjs.map +1 -0
- package/lib/chunk-HUTWKXDX.js +78 -0
- package/lib/chunk-HUTWKXDX.js.map +1 -0
- package/lib/chunk-HVELTV2C.cjs +62 -0
- package/lib/chunk-HVELTV2C.cjs.map +1 -0
- package/lib/chunk-HWKPYOQI.js +89 -0
- package/lib/chunk-HWKPYOQI.js.map +1 -0
- package/lib/chunk-IAHFPA76.cjs +80 -0
- package/lib/chunk-IAHFPA76.cjs.map +1 -0
- package/lib/chunk-IDMFUGIN.cjs +118 -0
- package/lib/chunk-IDMFUGIN.cjs.map +1 -0
- package/lib/chunk-IIXNZ3EB.js +80 -0
- package/lib/chunk-IIXNZ3EB.js.map +1 -0
- package/lib/chunk-IJZCB247.cjs +102 -0
- package/lib/chunk-IJZCB247.cjs.map +1 -0
- package/lib/chunk-IOATZR7U.cjs +70 -0
- package/lib/chunk-IOATZR7U.cjs.map +1 -0
- package/lib/chunk-ISY5VEBN.js +89 -0
- package/lib/chunk-ISY5VEBN.js.map +1 -0
- package/lib/chunk-ITMPEFBW.cjs +52 -0
- package/lib/chunk-ITMPEFBW.cjs.map +1 -0
- package/lib/chunk-IZHUTEUC.js +77 -0
- package/lib/chunk-IZHUTEUC.js.map +1 -0
- package/lib/chunk-JJQKLDEP.js +180 -0
- package/lib/chunk-JJQKLDEP.js.map +1 -0
- package/lib/chunk-JKYGNN7X.js +42 -0
- package/lib/chunk-JKYGNN7X.js.map +1 -0
- package/lib/chunk-K47VZHVD.cjs +102 -0
- package/lib/chunk-K47VZHVD.cjs.map +1 -0
- package/lib/chunk-KEXCP6NQ.cjs +38 -0
- package/lib/chunk-KEXCP6NQ.cjs.map +1 -0
- package/lib/chunk-KN32THOR.cjs +88 -0
- package/lib/chunk-KN32THOR.cjs.map +1 -0
- package/lib/chunk-KOZPYZGS.js +68 -0
- package/lib/chunk-KOZPYZGS.js.map +1 -0
- package/lib/chunk-KPAIESGY.cjs +75 -0
- package/lib/chunk-KPAIESGY.cjs.map +1 -0
- package/lib/chunk-KPIGAZNN.js +177 -0
- package/lib/chunk-KPIGAZNN.js.map +1 -0
- package/lib/chunk-KUXAW6CG.js +68 -0
- package/lib/chunk-KUXAW6CG.js.map +1 -0
- package/lib/chunk-KVGVMIDU.cjs +117 -0
- package/lib/chunk-KVGVMIDU.cjs.map +1 -0
- package/lib/chunk-KVQC54IQ.js +75 -0
- package/lib/chunk-KVQC54IQ.js.map +1 -0
- package/lib/chunk-KYY4AHBZ.cjs +69 -0
- package/lib/chunk-KYY4AHBZ.cjs.map +1 -0
- package/lib/chunk-KZ4D6YDP.js +77 -0
- package/lib/chunk-KZ4D6YDP.js.map +1 -0
- package/lib/chunk-L6HNR7M3.js +59 -0
- package/lib/chunk-L6HNR7M3.js.map +1 -0
- package/lib/chunk-LBLW267D.cjs +91 -0
- package/lib/chunk-LBLW267D.cjs.map +1 -0
- package/lib/chunk-LDD7EB32.js +51 -0
- package/lib/chunk-LDD7EB32.js.map +1 -0
- package/lib/chunk-LNIUJPOS.cjs +91 -0
- package/lib/chunk-LNIUJPOS.cjs.map +1 -0
- package/lib/chunk-LSC2W44B.cjs +88 -0
- package/lib/chunk-LSC2W44B.cjs.map +1 -0
- package/lib/chunk-LYLVCIMU.js +50 -0
- package/lib/chunk-LYLVCIMU.js.map +1 -0
- package/lib/chunk-M4RTWZ4I.cjs +79 -0
- package/lib/chunk-M4RTWZ4I.cjs.map +1 -0
- package/lib/chunk-MGHSMJIS.js +77 -0
- package/lib/chunk-MGHSMJIS.js.map +1 -0
- package/lib/chunk-MJG5BVDO.js +87 -0
- package/lib/chunk-MJG5BVDO.js.map +1 -0
- package/lib/chunk-MLAX3D7X.js +69 -0
- package/lib/chunk-MLAX3D7X.js.map +1 -0
- package/lib/chunk-MQVT3VPC.cjs +70 -0
- package/lib/chunk-MQVT3VPC.cjs.map +1 -0
- package/lib/chunk-MRLSVW3D.js +79 -0
- package/lib/chunk-MRLSVW3D.js.map +1 -0
- package/lib/chunk-MSSO6T7A.js +96 -0
- package/lib/chunk-MSSO6T7A.js.map +1 -0
- package/lib/chunk-MXCBK5M2.js +196 -0
- package/lib/chunk-MXCBK5M2.js.map +1 -0
- package/lib/chunk-MZ24ORA6.js +100 -0
- package/lib/chunk-MZ24ORA6.js.map +1 -0
- package/lib/chunk-N4OTE7Q2.js +77 -0
- package/lib/chunk-N4OTE7Q2.js.map +1 -0
- package/lib/chunk-N7DZ6KVL.js +12 -0
- package/lib/chunk-N7DZ6KVL.js.map +1 -0
- package/lib/chunk-NHI5TEEF.js +118 -0
- package/lib/chunk-NHI5TEEF.js.map +1 -0
- package/lib/chunk-NKXLOF2U.cjs +77 -0
- package/lib/chunk-NKXLOF2U.cjs.map +1 -0
- package/lib/chunk-NNSPUQVJ.js +241 -0
- package/lib/chunk-NNSPUQVJ.js.map +1 -0
- package/lib/chunk-NNXYVRLX.cjs +53 -0
- package/lib/chunk-NNXYVRLX.cjs.map +1 -0
- package/lib/chunk-NPBPQZA3.cjs +323 -0
- package/lib/chunk-NPBPQZA3.cjs.map +1 -0
- package/lib/chunk-NPUHWMF2.cjs +88 -0
- package/lib/chunk-NPUHWMF2.cjs.map +1 -0
- package/lib/chunk-NSQOTXAO.js +96 -0
- package/lib/chunk-NSQOTXAO.js.map +1 -0
- package/lib/chunk-NWOMG62Z.js +77 -0
- package/lib/chunk-NWOMG62Z.js.map +1 -0
- package/lib/chunk-NYZCE3FC.js +123 -0
- package/lib/chunk-NYZCE3FC.js.map +1 -0
- package/lib/chunk-O23RLSCB.js +73 -0
- package/lib/chunk-O23RLSCB.js.map +1 -0
- package/lib/chunk-O6RXUU62.cjs +80 -0
- package/lib/chunk-O6RXUU62.cjs.map +1 -0
- package/lib/chunk-OHBBN74L.cjs +91 -0
- package/lib/chunk-OHBBN74L.cjs.map +1 -0
- package/lib/chunk-OKA5HBWQ.cjs +61 -0
- package/lib/chunk-OKA5HBWQ.cjs.map +1 -0
- package/lib/chunk-OKDGOGU6.cjs +193 -0
- package/lib/chunk-OKDGOGU6.cjs.map +1 -0
- package/lib/chunk-OQ4SNPPU.cjs +79 -0
- package/lib/chunk-OQ4SNPPU.cjs.map +1 -0
- package/lib/chunk-OU43MGQH.js +68 -0
- package/lib/chunk-OU43MGQH.js.map +1 -0
- package/lib/chunk-P2FQZ6H3.cjs +614 -0
- package/lib/chunk-P2FQZ6H3.cjs.map +1 -0
- package/lib/chunk-P5ZRKOPU.js +75 -0
- package/lib/chunk-P5ZRKOPU.js.map +1 -0
- package/lib/chunk-P63U3I7Q.js +65 -0
- package/lib/chunk-P63U3I7Q.js.map +1 -0
- package/lib/chunk-P6SOKAOW.cjs +96 -0
- package/lib/chunk-P6SOKAOW.cjs.map +1 -0
- package/lib/chunk-P7OAPGHO.js +168 -0
- package/lib/chunk-P7OAPGHO.js.map +1 -0
- package/lib/chunk-PA3J4KYS.cjs +70 -0
- package/lib/chunk-PA3J4KYS.cjs.map +1 -0
- package/lib/chunk-PGNQC2R3.cjs +62 -0
- package/lib/chunk-PGNQC2R3.cjs.map +1 -0
- package/lib/chunk-PINPJ2NA.cjs +61 -0
- package/lib/chunk-PINPJ2NA.cjs.map +1 -0
- package/lib/chunk-PJ7Y2GYR.js +709 -0
- package/lib/chunk-PJ7Y2GYR.js.map +1 -0
- package/lib/chunk-PKYUH2ZS.js +129 -0
- package/lib/chunk-PKYUH2ZS.js.map +1 -0
- package/lib/chunk-POL4QIWZ.js +59 -0
- package/lib/chunk-POL4QIWZ.js.map +1 -0
- package/lib/chunk-POTVEZUQ.js +77 -0
- package/lib/chunk-POTVEZUQ.js.map +1 -0
- package/lib/chunk-PQBGPTOJ.cjs +19 -0
- package/lib/chunk-PQBGPTOJ.cjs.map +1 -0
- package/lib/chunk-PQQIGMD7.js +60 -0
- package/lib/chunk-PQQIGMD7.js.map +1 -0
- package/lib/chunk-PRCBBQRH.cjs +91 -0
- package/lib/chunk-PRCBBQRH.cjs.map +1 -0
- package/lib/chunk-PSXWC4S6.js +17 -0
- package/lib/chunk-PSXWC4S6.js.map +1 -0
- package/lib/chunk-PSYBG4ZQ.js +51 -0
- package/lib/chunk-PSYBG4ZQ.js.map +1 -0
- package/lib/chunk-PTM5Q2FG.js +82 -0
- package/lib/chunk-PTM5Q2FG.js.map +1 -0
- package/lib/chunk-PXS5YQQ6.js +68 -0
- package/lib/chunk-PXS5YQQ6.js.map +1 -0
- package/lib/chunk-PZVUW2GS.js +89 -0
- package/lib/chunk-PZVUW2GS.js.map +1 -0
- package/lib/chunk-QBZNI7VF.js +77 -0
- package/lib/chunk-QBZNI7VF.js.map +1 -0
- package/lib/chunk-QFXTX5XI.cjs +81 -0
- package/lib/chunk-QFXTX5XI.cjs.map +1 -0
- package/lib/chunk-QMCZABU3.cjs +98 -0
- package/lib/chunk-QMCZABU3.cjs.map +1 -0
- package/lib/chunk-QMR7DLJD.cjs +179 -0
- package/lib/chunk-QMR7DLJD.cjs.map +1 -0
- package/lib/chunk-QQQANZCI.cjs +712 -0
- package/lib/chunk-QQQANZCI.cjs.map +1 -0
- package/lib/chunk-QS7U3TPY.cjs +79 -0
- package/lib/chunk-QS7U3TPY.cjs.map +1 -0
- package/lib/chunk-QTXJKFN3.cjs +70 -0
- package/lib/chunk-QTXJKFN3.cjs.map +1 -0
- package/lib/chunk-QXHH2YOE.cjs +198 -0
- package/lib/chunk-QXHH2YOE.cjs.map +1 -0
- package/lib/chunk-R7YN7SWM.cjs +81 -0
- package/lib/chunk-R7YN7SWM.cjs.map +1 -0
- package/lib/chunk-RD46C7Z4.js +77 -0
- package/lib/chunk-RD46C7Z4.js.map +1 -0
- package/lib/chunk-RE3EFX65.js +79 -0
- package/lib/chunk-RE3EFX65.js.map +1 -0
- package/lib/chunk-RF6WGNIQ.js +60 -0
- package/lib/chunk-RF6WGNIQ.js.map +1 -0
- package/lib/chunk-RJDAVQCA.cjs +91 -0
- package/lib/chunk-RJDAVQCA.cjs.map +1 -0
- package/lib/chunk-RL7TDCQ2.cjs +53 -0
- package/lib/chunk-RL7TDCQ2.cjs.map +1 -0
- package/lib/chunk-RORDQ6YZ.cjs +84 -0
- package/lib/chunk-RORDQ6YZ.cjs.map +1 -0
- package/lib/chunk-RQGEK6TE.cjs +79 -0
- package/lib/chunk-RQGEK6TE.cjs.map +1 -0
- package/lib/chunk-RR2HU5GK.js +53 -0
- package/lib/chunk-RR2HU5GK.js.map +1 -0
- package/lib/chunk-S5PJVKFI.cjs +67 -0
- package/lib/chunk-S5PJVKFI.cjs.map +1 -0
- package/lib/chunk-SCNBKRHS.js +100 -0
- package/lib/chunk-SCNBKRHS.js.map +1 -0
- package/lib/chunk-SEE27EFR.js +92 -0
- package/lib/chunk-SEE27EFR.js.map +1 -0
- package/lib/chunk-SEW53C26.cjs +86 -0
- package/lib/chunk-SEW53C26.cjs.map +1 -0
- package/lib/chunk-SHG7P7NT.cjs +70 -0
- package/lib/chunk-SHG7P7NT.cjs.map +1 -0
- package/lib/chunk-SQHPSCRP.js +120 -0
- package/lib/chunk-SQHPSCRP.js.map +1 -0
- package/lib/chunk-SUUDUB3X.js +113 -0
- package/lib/chunk-SUUDUB3X.js.map +1 -0
- package/lib/chunk-SWYYA4FR.js +68 -0
- package/lib/chunk-SWYYA4FR.js.map +1 -0
- package/lib/chunk-SXTWRNI6.cjs +70 -0
- package/lib/chunk-SXTWRNI6.cjs.map +1 -0
- package/lib/chunk-T4325KSJ.js +321 -0
- package/lib/chunk-T4325KSJ.js.map +1 -0
- package/lib/chunk-T5NAWBDO.js +82 -0
- package/lib/chunk-T5NAWBDO.js.map +1 -0
- package/lib/chunk-T6RNUJMQ.cjs +44 -0
- package/lib/chunk-T6RNUJMQ.cjs.map +1 -0
- package/lib/chunk-TKYJIIGI.js +91 -0
- package/lib/chunk-TKYJIIGI.js.map +1 -0
- package/lib/chunk-TLSEYEBH.js +58 -0
- package/lib/chunk-TLSEYEBH.js.map +1 -0
- package/lib/chunk-TPEMOQOL.cjs +53 -0
- package/lib/chunk-TPEMOQOL.cjs.map +1 -0
- package/lib/chunk-TQJGD45D.js +75 -0
- package/lib/chunk-TQJGD45D.js.map +1 -0
- package/lib/chunk-TSZONATI.js +84 -0
- package/lib/chunk-TSZONATI.js.map +1 -0
- package/lib/chunk-U4FBXT2F.cjs +122 -0
- package/lib/chunk-U4FBXT2F.cjs.map +1 -0
- package/lib/chunk-UAUVBT3S.cjs +134 -0
- package/lib/chunk-UAUVBT3S.cjs.map +1 -0
- package/lib/chunk-UJIG26XD.cjs +70 -0
- package/lib/chunk-UJIG26XD.cjs.map +1 -0
- package/lib/chunk-UKJXPSKC.js +50 -0
- package/lib/chunk-UKJXPSKC.js.map +1 -0
- package/lib/chunk-UMNPMJ57.cjs +70 -0
- package/lib/chunk-UMNPMJ57.cjs.map +1 -0
- package/lib/chunk-UMRMI3HK.cjs +53 -0
- package/lib/chunk-UMRMI3HK.cjs.map +1 -0
- package/lib/chunk-URP73X3X.cjs +84 -0
- package/lib/chunk-URP73X3X.cjs.map +1 -0
- package/lib/chunk-UTDHJESB.js +164 -0
- package/lib/chunk-UTDHJESB.js.map +1 -0
- package/lib/chunk-UTXFDPKF.cjs +79 -0
- package/lib/chunk-UTXFDPKF.cjs.map +1 -0
- package/lib/chunk-UUIBIS6X.cjs +52 -0
- package/lib/chunk-UUIBIS6X.cjs.map +1 -0
- package/lib/chunk-V7ZC3G5B.js +65 -0
- package/lib/chunk-V7ZC3G5B.js.map +1 -0
- package/lib/chunk-VJQUG5QC.js +51 -0
- package/lib/chunk-VJQUG5QC.js.map +1 -0
- package/lib/chunk-VK4LIX4D.cjs +16 -0
- package/lib/chunk-VK4LIX4D.cjs.map +1 -0
- package/lib/chunk-VNDCGVQM.js +113 -0
- package/lib/chunk-VNDCGVQM.js.map +1 -0
- package/lib/chunk-VNLVHJIL.js +68 -0
- package/lib/chunk-VNLVHJIL.js.map +1 -0
- package/lib/chunk-VQTSOS42.js +68 -0
- package/lib/chunk-VQTSOS42.js.map +1 -0
- package/lib/chunk-VSZ7P2R5.cjs +193 -0
- package/lib/chunk-VSZ7P2R5.cjs.map +1 -0
- package/lib/chunk-VXLBWTBV.cjs +131 -0
- package/lib/chunk-VXLBWTBV.cjs.map +1 -0
- package/lib/chunk-VZIU54KN.js +191 -0
- package/lib/chunk-VZIU54KN.js.map +1 -0
- package/lib/chunk-W3KXJFVJ.js +813 -0
- package/lib/chunk-W3KXJFVJ.js.map +1 -0
- package/lib/chunk-W3W57LH5.js +68 -0
- package/lib/chunk-W3W57LH5.js.map +1 -0
- package/lib/chunk-WDFPSCFZ.cjs +98 -0
- package/lib/chunk-WDFPSCFZ.cjs.map +1 -0
- package/lib/chunk-WQDCIQDI.cjs +70 -0
- package/lib/chunk-WQDCIQDI.cjs.map +1 -0
- package/lib/chunk-WY4VJFBS.js +38 -0
- package/lib/chunk-WY4VJFBS.js.map +1 -0
- package/lib/chunk-XCZ7SCGZ.cjs +46 -0
- package/lib/chunk-XCZ7SCGZ.cjs.map +1 -0
- package/lib/chunk-XF2L23Y7.js +120 -0
- package/lib/chunk-XF2L23Y7.js.map +1 -0
- package/lib/chunk-XJKOLFNZ.cjs +40 -0
- package/lib/chunk-XJKOLFNZ.cjs.map +1 -0
- package/lib/chunk-XSEO66DF.cjs +86 -0
- package/lib/chunk-XSEO66DF.cjs.map +1 -0
- package/lib/chunk-XVBJXWBB.cjs +77 -0
- package/lib/chunk-XVBJXWBB.cjs.map +1 -0
- package/lib/chunk-XX2PAZJX.js +51 -0
- package/lib/chunk-XX2PAZJX.js.map +1 -0
- package/lib/chunk-Y34WPAQC.js +118 -0
- package/lib/chunk-Y34WPAQC.js.map +1 -0
- package/lib/chunk-Y5WYSBOQ.cjs +79 -0
- package/lib/chunk-Y5WYSBOQ.cjs.map +1 -0
- package/lib/chunk-YGQPKPK2.cjs +94 -0
- package/lib/chunk-YGQPKPK2.cjs.map +1 -0
- package/lib/chunk-YIWC6CCI.cjs +44 -0
- package/lib/chunk-YIWC6CCI.cjs.map +1 -0
- package/lib/chunk-YKNQ6EIS.cjs +79 -0
- package/lib/chunk-YKNQ6EIS.cjs.map +1 -0
- package/lib/chunk-YM3ZFPNY.cjs +91 -0
- package/lib/chunk-YM3ZFPNY.cjs.map +1 -0
- package/lib/chunk-YMXBPTQS.js +68 -0
- package/lib/chunk-YMXBPTQS.js.map +1 -0
- package/lib/chunk-YOJXKYBK.js +89 -0
- package/lib/chunk-YOJXKYBK.js.map +1 -0
- package/lib/chunk-YU3TTXAU.js +42 -0
- package/lib/chunk-YU3TTXAU.js.map +1 -0
- package/lib/chunk-YY4VB3IR.js +91 -0
- package/lib/chunk-YY4VB3IR.js.map +1 -0
- package/lib/chunk-YYOUFGJJ.js +50 -0
- package/lib/chunk-YYOUFGJJ.js.map +1 -0
- package/lib/chunk-YZSE2VMS.cjs +67 -0
- package/lib/chunk-YZSE2VMS.cjs.map +1 -0
- package/lib/chunk-YZXCDYZV.cjs +93 -0
- package/lib/chunk-YZXCDYZV.cjs.map +1 -0
- package/lib/chunk-Z2OKSWCC.cjs +77 -0
- package/lib/chunk-Z2OKSWCC.cjs.map +1 -0
- package/lib/chunk-Z4ZLBACE.js +177 -0
- package/lib/chunk-Z4ZLBACE.js.map +1 -0
- package/lib/chunk-Z7H7AL6T.cjs +44 -0
- package/lib/chunk-Z7H7AL6T.cjs.map +1 -0
- package/lib/chunk-ZBH4BP2W.js +116 -0
- package/lib/chunk-ZBH4BP2W.js.map +1 -0
- package/lib/chunk-ZDW7TONK.js +75 -0
- package/lib/chunk-ZDW7TONK.js.map +1 -0
- package/lib/chunk-ZHL76PHZ.cjs +82 -0
- package/lib/chunk-ZHL76PHZ.cjs.map +1 -0
- package/lib/chunk-ZU3MOHUG.js +69 -0
- package/lib/chunk-ZU3MOHUG.js.map +1 -0
- package/lib/chunk-ZVTNA5EV.cjs +115 -0
- package/lib/chunk-ZVTNA5EV.cjs.map +1 -0
- package/lib/chunk-ZX6K6XFH.cjs +88 -0
- package/lib/chunk-ZX6K6XFH.cjs.map +1 -0
- package/lib/chunk-ZYAKX7CC.js +78 -0
- package/lib/chunk-ZYAKX7CC.js.map +1 -0
- package/lib/commercelayer.cjs +10 -10
- package/lib/commercelayer.d.cts +1 -1
- package/lib/commercelayer.d.ts +1 -1
- package/lib/commercelayer.js +4 -4
- package/lib/enum.d.cts +1 -1
- package/lib/enum.d.ts +1 -1
- package/lib/index.cjs +146 -146
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +141 -141
- package/lib/model.d.cts +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/resources/addresses.cjs +5 -5
- package/lib/resources/addresses.d.cts +2 -2
- package/lib/resources/addresses.d.ts +1 -1
- package/lib/resources/addresses.js +4 -4
- package/lib/resources/adjustments.cjs +5 -5
- package/lib/resources/adjustments.d.cts +2 -2
- package/lib/resources/adjustments.d.ts +1 -1
- package/lib/resources/adjustments.js +4 -4
- package/lib/resources/adyen_gateways.cjs +5 -5
- package/lib/resources/adyen_gateways.d.cts +2 -2
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_gateways.js +4 -4
- package/lib/resources/adyen_payments.cjs +5 -5
- package/lib/resources/adyen_payments.d.cts +2 -2
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/adyen_payments.js +4 -4
- package/lib/resources/applications.cjs +5 -5
- package/lib/resources/applications.d.cts +2 -2
- package/lib/resources/applications.d.ts +1 -1
- package/lib/resources/applications.js +4 -4
- package/lib/resources/attachments.cjs +5 -5
- package/lib/resources/attachments.d.cts +2 -2
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/attachments.js +4 -4
- package/lib/resources/authorizations.cjs +5 -5
- package/lib/resources/authorizations.d.cts +2 -2
- package/lib/resources/authorizations.d.ts +1 -1
- package/lib/resources/authorizations.js +4 -4
- package/lib/resources/avalara_accounts.cjs +5 -5
- package/lib/resources/avalara_accounts.d.cts +2 -2
- package/lib/resources/avalara_accounts.d.ts +1 -1
- package/lib/resources/avalara_accounts.js +4 -4
- package/lib/resources/axerve_gateways.cjs +5 -5
- package/lib/resources/axerve_gateways.d.cts +2 -2
- package/lib/resources/axerve_gateways.d.ts +1 -1
- package/lib/resources/axerve_gateways.js +4 -4
- package/lib/resources/axerve_payments.cjs +5 -5
- package/lib/resources/axerve_payments.d.cts +2 -2
- package/lib/resources/axerve_payments.d.ts +1 -1
- package/lib/resources/axerve_payments.js +4 -4
- package/lib/resources/billing_info_validation_rules.cjs +5 -5
- package/lib/resources/billing_info_validation_rules.d.cts +2 -2
- package/lib/resources/billing_info_validation_rules.d.ts +1 -1
- package/lib/resources/billing_info_validation_rules.js +4 -4
- package/lib/resources/bing_geocoders.cjs +5 -5
- package/lib/resources/bing_geocoders.d.cts +2 -2
- package/lib/resources/bing_geocoders.d.ts +1 -1
- package/lib/resources/bing_geocoders.js +4 -4
- package/lib/resources/braintree_gateways.cjs +5 -5
- package/lib/resources/braintree_gateways.d.cts +2 -2
- package/lib/resources/braintree_gateways.d.ts +1 -1
- package/lib/resources/braintree_gateways.js +4 -4
- package/lib/resources/braintree_payments.cjs +5 -5
- package/lib/resources/braintree_payments.d.cts +2 -2
- package/lib/resources/braintree_payments.d.ts +1 -1
- package/lib/resources/braintree_payments.js +4 -4
- package/lib/resources/bundles.cjs +5 -5
- package/lib/resources/bundles.d.cts +2 -2
- package/lib/resources/bundles.d.ts +1 -1
- package/lib/resources/bundles.js +4 -4
- package/lib/resources/buy_x_pay_y_promotions.cjs +5 -5
- package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -2
- package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
- package/lib/resources/buy_x_pay_y_promotions.js +4 -4
- package/lib/resources/captures.cjs +5 -5
- package/lib/resources/captures.d.cts +2 -2
- package/lib/resources/captures.d.ts +1 -1
- package/lib/resources/captures.js +4 -4
- package/lib/resources/carrier_accounts.cjs +5 -5
- package/lib/resources/carrier_accounts.d.cts +2 -2
- package/lib/resources/carrier_accounts.d.ts +1 -1
- package/lib/resources/carrier_accounts.js +4 -4
- package/lib/resources/checkout_com_gateways.cjs +5 -5
- package/lib/resources/checkout_com_gateways.d.cts +2 -2
- package/lib/resources/checkout_com_gateways.d.ts +1 -1
- package/lib/resources/checkout_com_gateways.js +4 -4
- package/lib/resources/checkout_com_payments.cjs +5 -5
- package/lib/resources/checkout_com_payments.d.cts +2 -2
- package/lib/resources/checkout_com_payments.d.ts +1 -1
- package/lib/resources/checkout_com_payments.js +4 -4
- package/lib/resources/cleanups.cjs +5 -5
- package/lib/resources/cleanups.d.cts +2 -2
- package/lib/resources/cleanups.d.ts +1 -1
- package/lib/resources/cleanups.js +4 -4
- package/lib/resources/coupon_codes_promotion_rules.cjs +5 -5
- package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -2
- package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
- package/lib/resources/coupon_codes_promotion_rules.js +4 -4
- package/lib/resources/coupon_recipients.cjs +5 -5
- package/lib/resources/coupon_recipients.d.cts +2 -2
- package/lib/resources/coupon_recipients.d.ts +1 -1
- package/lib/resources/coupon_recipients.js +4 -4
- package/lib/resources/coupons.cjs +5 -5
- package/lib/resources/coupons.d.cts +2 -2
- package/lib/resources/coupons.d.ts +1 -1
- package/lib/resources/coupons.js +4 -4
- package/lib/resources/custom_promotion_rules.cjs +5 -5
- package/lib/resources/custom_promotion_rules.d.cts +2 -2
- package/lib/resources/custom_promotion_rules.d.ts +1 -1
- package/lib/resources/custom_promotion_rules.js +4 -4
- package/lib/resources/customer_addresses.cjs +5 -5
- package/lib/resources/customer_addresses.d.cts +2 -2
- package/lib/resources/customer_addresses.d.ts +1 -1
- package/lib/resources/customer_addresses.js +4 -4
- package/lib/resources/customer_groups.cjs +5 -5
- package/lib/resources/customer_groups.d.cts +2 -2
- package/lib/resources/customer_groups.d.ts +1 -1
- package/lib/resources/customer_groups.js +4 -4
- package/lib/resources/customer_password_resets.cjs +5 -5
- package/lib/resources/customer_password_resets.d.cts +2 -2
- package/lib/resources/customer_password_resets.d.ts +1 -1
- package/lib/resources/customer_password_resets.js +4 -4
- package/lib/resources/customer_payment_sources.cjs +5 -5
- package/lib/resources/customer_payment_sources.d.cts +2 -2
- package/lib/resources/customer_payment_sources.d.ts +1 -1
- package/lib/resources/customer_payment_sources.js +4 -4
- package/lib/resources/customer_subscriptions.cjs +5 -5
- package/lib/resources/customer_subscriptions.d.cts +2 -2
- package/lib/resources/customer_subscriptions.d.ts +1 -1
- package/lib/resources/customer_subscriptions.js +4 -4
- package/lib/resources/customers.cjs +5 -5
- package/lib/resources/customers.d.cts +2 -2
- package/lib/resources/customers.d.ts +1 -1
- package/lib/resources/customers.js +4 -4
- package/lib/resources/delivery_lead_times.cjs +5 -5
- package/lib/resources/delivery_lead_times.d.cts +2 -2
- package/lib/resources/delivery_lead_times.d.ts +1 -1
- package/lib/resources/delivery_lead_times.js +4 -4
- package/lib/resources/discount_engine_items.cjs +5 -5
- package/lib/resources/discount_engine_items.d.cts +2 -2
- package/lib/resources/discount_engine_items.d.ts +1 -1
- package/lib/resources/discount_engine_items.js +4 -4
- package/lib/resources/discount_engines.cjs +5 -5
- package/lib/resources/discount_engines.d.cts +2 -2
- package/lib/resources/discount_engines.d.ts +1 -1
- package/lib/resources/discount_engines.js +4 -4
- package/lib/resources/easypost_pickups.cjs +5 -5
- package/lib/resources/easypost_pickups.d.cts +2 -2
- package/lib/resources/easypost_pickups.d.ts +1 -1
- package/lib/resources/easypost_pickups.js +4 -4
- package/lib/resources/event_callbacks.cjs +5 -5
- package/lib/resources/event_callbacks.d.cts +2 -2
- package/lib/resources/event_callbacks.d.ts +1 -1
- package/lib/resources/event_callbacks.js +4 -4
- package/lib/resources/event_stores.cjs +5 -5
- package/lib/resources/event_stores.d.cts +2 -2
- package/lib/resources/event_stores.d.ts +1 -1
- package/lib/resources/event_stores.js +4 -4
- package/lib/resources/events.cjs +5 -5
- package/lib/resources/events.d.cts +2 -2
- package/lib/resources/events.d.ts +1 -1
- package/lib/resources/events.js +4 -4
- package/lib/resources/exports.cjs +5 -5
- package/lib/resources/exports.d.cts +2 -2
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/exports.js +4 -4
- package/lib/resources/external_gateways.cjs +5 -5
- package/lib/resources/external_gateways.d.cts +2 -2
- package/lib/resources/external_gateways.d.ts +1 -1
- package/lib/resources/external_gateways.js +4 -4
- package/lib/resources/external_payments.cjs +5 -5
- package/lib/resources/external_payments.d.cts +2 -2
- package/lib/resources/external_payments.d.ts +1 -1
- package/lib/resources/external_payments.js +4 -4
- package/lib/resources/external_promotions.cjs +5 -5
- package/lib/resources/external_promotions.d.cts +2 -2
- package/lib/resources/external_promotions.d.ts +1 -1
- package/lib/resources/external_promotions.js +4 -4
- package/lib/resources/external_tax_calculators.cjs +5 -5
- package/lib/resources/external_tax_calculators.d.cts +2 -2
- package/lib/resources/external_tax_calculators.d.ts +1 -1
- package/lib/resources/external_tax_calculators.js +4 -4
- package/lib/resources/fixed_amount_promotions.cjs +5 -5
- package/lib/resources/fixed_amount_promotions.d.cts +2 -2
- package/lib/resources/fixed_amount_promotions.d.ts +1 -1
- package/lib/resources/fixed_amount_promotions.js +4 -4
- package/lib/resources/fixed_price_promotions.cjs +5 -5
- package/lib/resources/fixed_price_promotions.d.cts +2 -2
- package/lib/resources/fixed_price_promotions.d.ts +1 -1
- package/lib/resources/fixed_price_promotions.js +4 -4
- package/lib/resources/flex_promotions.cjs +5 -5
- package/lib/resources/flex_promotions.d.cts +2 -2
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.js +4 -4
- package/lib/resources/free_gift_promotions.cjs +5 -5
- package/lib/resources/free_gift_promotions.d.cts +2 -2
- package/lib/resources/free_gift_promotions.d.ts +1 -1
- package/lib/resources/free_gift_promotions.js +4 -4
- package/lib/resources/free_shipping_promotions.cjs +5 -5
- package/lib/resources/free_shipping_promotions.d.cts +2 -2
- package/lib/resources/free_shipping_promotions.d.ts +1 -1
- package/lib/resources/free_shipping_promotions.js +4 -4
- package/lib/resources/geocoders.cjs +5 -5
- package/lib/resources/geocoders.d.cts +2 -2
- package/lib/resources/geocoders.d.ts +1 -1
- package/lib/resources/geocoders.js +4 -4
- package/lib/resources/gift_card_recipients.cjs +5 -5
- package/lib/resources/gift_card_recipients.d.cts +2 -2
- package/lib/resources/gift_card_recipients.d.ts +1 -1
- package/lib/resources/gift_card_recipients.js +4 -4
- package/lib/resources/gift_cards.cjs +5 -5
- package/lib/resources/gift_cards.d.cts +2 -2
- package/lib/resources/gift_cards.d.ts +1 -1
- package/lib/resources/gift_cards.js +4 -4
- package/lib/resources/google_geocoders.cjs +5 -5
- package/lib/resources/google_geocoders.d.cts +2 -2
- package/lib/resources/google_geocoders.d.ts +1 -1
- package/lib/resources/google_geocoders.js +4 -4
- package/lib/resources/imports.cjs +5 -5
- package/lib/resources/imports.d.cts +2 -2
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/imports.js +4 -4
- package/lib/resources/in_stock_subscriptions.cjs +5 -5
- package/lib/resources/in_stock_subscriptions.d.cts +2 -2
- package/lib/resources/in_stock_subscriptions.d.ts +1 -1
- package/lib/resources/in_stock_subscriptions.js +4 -4
- package/lib/resources/inventory_models.cjs +5 -5
- package/lib/resources/inventory_models.d.cts +2 -2
- package/lib/resources/inventory_models.d.ts +1 -1
- package/lib/resources/inventory_models.js +4 -4
- package/lib/resources/inventory_return_locations.cjs +5 -5
- package/lib/resources/inventory_return_locations.d.cts +2 -2
- package/lib/resources/inventory_return_locations.d.ts +1 -1
- package/lib/resources/inventory_return_locations.js +4 -4
- package/lib/resources/inventory_stock_locations.cjs +5 -5
- package/lib/resources/inventory_stock_locations.d.cts +2 -2
- package/lib/resources/inventory_stock_locations.d.ts +1 -1
- package/lib/resources/inventory_stock_locations.js +4 -4
- package/lib/resources/klarna_gateways.cjs +5 -5
- package/lib/resources/klarna_gateways.d.cts +2 -2
- package/lib/resources/klarna_gateways.d.ts +1 -1
- package/lib/resources/klarna_gateways.js +4 -4
- package/lib/resources/klarna_payments.cjs +5 -5
- package/lib/resources/klarna_payments.d.cts +2 -2
- package/lib/resources/klarna_payments.d.ts +1 -1
- package/lib/resources/klarna_payments.js +4 -4
- package/lib/resources/line_item_options.cjs +5 -5
- package/lib/resources/line_item_options.d.cts +2 -2
- package/lib/resources/line_item_options.d.ts +1 -1
- package/lib/resources/line_item_options.js +4 -4
- package/lib/resources/line_items.cjs +5 -5
- package/lib/resources/line_items.d.cts +2 -2
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/line_items.js +4 -4
- package/lib/resources/links.cjs +5 -5
- package/lib/resources/links.d.cts +2 -2
- package/lib/resources/links.d.ts +1 -1
- package/lib/resources/links.js +4 -4
- package/lib/resources/manual_gateways.cjs +5 -5
- package/lib/resources/manual_gateways.d.cts +2 -2
- package/lib/resources/manual_gateways.d.ts +1 -1
- package/lib/resources/manual_gateways.js +4 -4
- package/lib/resources/manual_tax_calculators.cjs +5 -5
- package/lib/resources/manual_tax_calculators.d.cts +2 -2
- package/lib/resources/manual_tax_calculators.d.ts +1 -1
- package/lib/resources/manual_tax_calculators.js +4 -4
- package/lib/resources/markets.cjs +5 -5
- package/lib/resources/markets.d.cts +2 -2
- package/lib/resources/markets.d.ts +1 -1
- package/lib/resources/markets.js +4 -4
- package/lib/resources/merchants.cjs +5 -5
- package/lib/resources/merchants.d.cts +2 -2
- package/lib/resources/merchants.d.ts +1 -1
- package/lib/resources/merchants.js +4 -4
- package/lib/resources/notifications.cjs +5 -5
- package/lib/resources/notifications.d.cts +2 -2
- package/lib/resources/notifications.d.ts +1 -1
- package/lib/resources/notifications.js +4 -4
- package/lib/resources/order_amount_promotion_rules.cjs +5 -5
- package/lib/resources/order_amount_promotion_rules.d.cts +2 -2
- package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
- package/lib/resources/order_amount_promotion_rules.js +4 -4
- package/lib/resources/order_copies.cjs +5 -5
- package/lib/resources/order_copies.d.cts +2 -2
- package/lib/resources/order_copies.d.ts +1 -1
- package/lib/resources/order_copies.js +4 -4
- package/lib/resources/order_factories.cjs +5 -5
- package/lib/resources/order_factories.d.cts +2 -2
- package/lib/resources/order_factories.d.ts +1 -1
- package/lib/resources/order_factories.js +4 -4
- package/lib/resources/order_subscription_items.cjs +5 -5
- package/lib/resources/order_subscription_items.d.cts +2 -2
- package/lib/resources/order_subscription_items.d.ts +1 -1
- package/lib/resources/order_subscription_items.js +4 -4
- package/lib/resources/order_subscriptions.cjs +5 -5
- package/lib/resources/order_subscriptions.d.cts +2 -2
- package/lib/resources/order_subscriptions.d.ts +1 -1
- package/lib/resources/order_subscriptions.js +4 -4
- package/lib/resources/order_validation_rules.cjs +5 -5
- package/lib/resources/order_validation_rules.d.cts +2 -2
- package/lib/resources/order_validation_rules.d.ts +1 -1
- package/lib/resources/order_validation_rules.js +4 -4
- package/lib/resources/orders.cjs +5 -5
- package/lib/resources/orders.d.cts +2 -2
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/orders.js +4 -4
- package/lib/resources/organizations.cjs +5 -5
- package/lib/resources/organizations.d.cts +2 -2
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/organizations.js +4 -4
- package/lib/resources/packages.cjs +5 -5
- package/lib/resources/packages.d.cts +2 -2
- package/lib/resources/packages.d.ts +1 -1
- package/lib/resources/packages.js +4 -4
- package/lib/resources/parcel_line_items.cjs +5 -5
- package/lib/resources/parcel_line_items.d.cts +2 -2
- package/lib/resources/parcel_line_items.d.ts +1 -1
- package/lib/resources/parcel_line_items.js +4 -4
- package/lib/resources/parcels.cjs +5 -5
- package/lib/resources/parcels.d.cts +2 -2
- package/lib/resources/parcels.d.ts +1 -1
- package/lib/resources/parcels.js +4 -4
- package/lib/resources/payment_gateways.cjs +5 -5
- package/lib/resources/payment_gateways.d.cts +2 -2
- package/lib/resources/payment_gateways.d.ts +1 -1
- package/lib/resources/payment_gateways.js +4 -4
- package/lib/resources/payment_methods.cjs +5 -5
- package/lib/resources/payment_methods.d.cts +2 -2
- package/lib/resources/payment_methods.d.ts +1 -1
- package/lib/resources/payment_methods.js +4 -4
- package/lib/resources/payment_options.cjs +5 -5
- package/lib/resources/payment_options.d.cts +2 -2
- package/lib/resources/payment_options.d.ts +1 -1
- package/lib/resources/payment_options.js +4 -4
- package/lib/resources/paypal_gateways.cjs +5 -5
- package/lib/resources/paypal_gateways.d.cts +2 -2
- package/lib/resources/paypal_gateways.d.ts +1 -1
- package/lib/resources/paypal_gateways.js +4 -4
- package/lib/resources/paypal_payments.cjs +5 -5
- package/lib/resources/paypal_payments.d.cts +2 -2
- package/lib/resources/paypal_payments.d.ts +1 -1
- package/lib/resources/paypal_payments.js +4 -4
- package/lib/resources/percentage_discount_promotions.cjs +5 -5
- package/lib/resources/percentage_discount_promotions.d.cts +2 -2
- package/lib/resources/percentage_discount_promotions.d.ts +1 -1
- package/lib/resources/percentage_discount_promotions.js +4 -4
- package/lib/resources/pickups.cjs +5 -5
- package/lib/resources/pickups.d.cts +2 -2
- package/lib/resources/pickups.d.ts +1 -1
- package/lib/resources/pickups.js +4 -4
- package/lib/resources/price_frequency_tiers.cjs +5 -5
- package/lib/resources/price_frequency_tiers.d.cts +2 -2
- package/lib/resources/price_frequency_tiers.d.ts +1 -1
- package/lib/resources/price_frequency_tiers.js +4 -4
- package/lib/resources/price_list_schedulers.cjs +5 -5
- package/lib/resources/price_list_schedulers.d.cts +2 -2
- package/lib/resources/price_list_schedulers.d.ts +1 -1
- package/lib/resources/price_list_schedulers.js +4 -4
- package/lib/resources/price_lists.cjs +5 -5
- package/lib/resources/price_lists.d.cts +2 -2
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_lists.js +4 -4
- package/lib/resources/price_tiers.cjs +5 -5
- package/lib/resources/price_tiers.d.cts +2 -2
- package/lib/resources/price_tiers.d.ts +1 -1
- package/lib/resources/price_tiers.js +4 -4
- package/lib/resources/price_volume_tiers.cjs +5 -5
- package/lib/resources/price_volume_tiers.d.cts +2 -2
- package/lib/resources/price_volume_tiers.d.ts +1 -1
- package/lib/resources/price_volume_tiers.js +4 -4
- package/lib/resources/prices.cjs +5 -5
- package/lib/resources/prices.d.cts +2 -2
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/prices.js +4 -4
- package/lib/resources/promotion_rules.cjs +5 -5
- package/lib/resources/promotion_rules.d.cts +2 -2
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotion_rules.js +4 -4
- package/lib/resources/promotions.cjs +5 -5
- package/lib/resources/promotions.d.cts +2 -2
- package/lib/resources/promotions.d.ts +1 -1
- package/lib/resources/promotions.js +4 -4
- package/lib/resources/recurring_order_copies.cjs +5 -5
- package/lib/resources/recurring_order_copies.d.cts +2 -2
- package/lib/resources/recurring_order_copies.d.ts +1 -1
- package/lib/resources/recurring_order_copies.js +4 -4
- package/lib/resources/refunds.cjs +5 -5
- package/lib/resources/refunds.d.cts +2 -2
- package/lib/resources/refunds.d.ts +1 -1
- package/lib/resources/refunds.js +4 -4
- package/lib/resources/reserved_stocks.cjs +5 -5
- package/lib/resources/reserved_stocks.d.cts +2 -2
- package/lib/resources/reserved_stocks.d.ts +1 -1
- package/lib/resources/reserved_stocks.js +4 -4
- package/lib/resources/resource_errors.cjs +5 -5
- package/lib/resources/resource_errors.d.cts +2 -2
- package/lib/resources/resource_errors.d.ts +1 -1
- package/lib/resources/resource_errors.js +4 -4
- package/lib/resources/return_line_items.cjs +5 -5
- package/lib/resources/return_line_items.d.cts +2 -2
- package/lib/resources/return_line_items.d.ts +1 -1
- package/lib/resources/return_line_items.js +4 -4
- package/lib/resources/returns.cjs +5 -5
- package/lib/resources/returns.d.cts +2 -2
- package/lib/resources/returns.d.ts +1 -1
- package/lib/resources/returns.js +4 -4
- package/lib/resources/satispay_gateways.cjs +5 -5
- package/lib/resources/satispay_gateways.d.cts +2 -2
- package/lib/resources/satispay_gateways.d.ts +1 -1
- package/lib/resources/satispay_gateways.js +4 -4
- package/lib/resources/satispay_payments.cjs +5 -5
- package/lib/resources/satispay_payments.d.cts +2 -2
- package/lib/resources/satispay_payments.d.ts +1 -1
- package/lib/resources/satispay_payments.js +4 -4
- package/lib/resources/shipment_line_items.cjs +5 -5
- package/lib/resources/shipment_line_items.d.cts +2 -2
- package/lib/resources/shipment_line_items.d.ts +1 -1
- package/lib/resources/shipment_line_items.js +4 -4
- package/lib/resources/shipments.cjs +5 -5
- package/lib/resources/shipments.d.cts +2 -2
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipments.js +4 -4
- package/lib/resources/shipping_categories.cjs +5 -5
- package/lib/resources/shipping_categories.d.cts +2 -2
- package/lib/resources/shipping_categories.d.ts +1 -1
- package/lib/resources/shipping_categories.js +4 -4
- package/lib/resources/shipping_method_tiers.cjs +5 -5
- package/lib/resources/shipping_method_tiers.d.cts +2 -2
- package/lib/resources/shipping_method_tiers.d.ts +1 -1
- package/lib/resources/shipping_method_tiers.js +4 -4
- package/lib/resources/shipping_methods.cjs +5 -5
- package/lib/resources/shipping_methods.d.cts +2 -2
- package/lib/resources/shipping_methods.d.ts +1 -1
- package/lib/resources/shipping_methods.js +4 -4
- package/lib/resources/shipping_weight_tiers.cjs +5 -5
- package/lib/resources/shipping_weight_tiers.d.cts +2 -2
- package/lib/resources/shipping_weight_tiers.d.ts +1 -1
- package/lib/resources/shipping_weight_tiers.js +4 -4
- package/lib/resources/shipping_zones.cjs +5 -5
- package/lib/resources/shipping_zones.d.cts +2 -2
- package/lib/resources/shipping_zones.d.ts +1 -1
- package/lib/resources/shipping_zones.js +4 -4
- package/lib/resources/sku_list_items.cjs +5 -5
- package/lib/resources/sku_list_items.d.cts +2 -2
- package/lib/resources/sku_list_items.d.ts +1 -1
- package/lib/resources/sku_list_items.js +4 -4
- package/lib/resources/sku_list_promotion_rules.cjs +5 -5
- package/lib/resources/sku_list_promotion_rules.d.cts +2 -2
- package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
- package/lib/resources/sku_list_promotion_rules.js +4 -4
- package/lib/resources/sku_lists.cjs +5 -5
- package/lib/resources/sku_lists.d.cts +2 -2
- package/lib/resources/sku_lists.d.ts +1 -1
- package/lib/resources/sku_lists.js +4 -4
- package/lib/resources/sku_options.cjs +5 -5
- package/lib/resources/sku_options.d.cts +2 -2
- package/lib/resources/sku_options.d.ts +1 -1
- package/lib/resources/sku_options.js +4 -4
- package/lib/resources/skus.cjs +5 -5
- package/lib/resources/skus.d.cts +2 -2
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/skus.js +4 -4
- package/lib/resources/stock_items.cjs +5 -5
- package/lib/resources/stock_items.d.cts +2 -2
- package/lib/resources/stock_items.d.ts +1 -1
- package/lib/resources/stock_items.js +4 -4
- package/lib/resources/stock_line_items.cjs +5 -5
- package/lib/resources/stock_line_items.d.cts +2 -2
- package/lib/resources/stock_line_items.d.ts +1 -1
- package/lib/resources/stock_line_items.js +4 -4
- package/lib/resources/stock_locations.cjs +5 -5
- package/lib/resources/stock_locations.d.cts +2 -2
- package/lib/resources/stock_locations.d.ts +1 -1
- package/lib/resources/stock_locations.js +4 -4
- package/lib/resources/stock_reservations.cjs +5 -5
- package/lib/resources/stock_reservations.d.cts +2 -2
- package/lib/resources/stock_reservations.d.ts +1 -1
- package/lib/resources/stock_reservations.js +4 -4
- package/lib/resources/stock_transfers.cjs +5 -5
- package/lib/resources/stock_transfers.d.cts +2 -2
- package/lib/resources/stock_transfers.d.ts +1 -1
- package/lib/resources/stock_transfers.js +4 -4
- package/lib/resources/stores.cjs +5 -5
- package/lib/resources/stores.d.cts +2 -2
- package/lib/resources/stores.d.ts +1 -1
- package/lib/resources/stores.js +4 -4
- package/lib/resources/stripe_gateways.cjs +5 -5
- package/lib/resources/stripe_gateways.d.cts +2 -2
- package/lib/resources/stripe_gateways.d.ts +1 -1
- package/lib/resources/stripe_gateways.js +4 -4
- package/lib/resources/stripe_payments.cjs +5 -5
- package/lib/resources/stripe_payments.d.cts +2 -2
- package/lib/resources/stripe_payments.d.ts +1 -1
- package/lib/resources/stripe_payments.js +4 -4
- package/lib/resources/stripe_tax_accounts.cjs +5 -5
- package/lib/resources/stripe_tax_accounts.d.cts +2 -2
- package/lib/resources/stripe_tax_accounts.d.ts +1 -1
- package/lib/resources/stripe_tax_accounts.js +4 -4
- package/lib/resources/subscription_models.cjs +5 -5
- package/lib/resources/subscription_models.d.cts +2 -2
- package/lib/resources/subscription_models.d.ts +1 -1
- package/lib/resources/subscription_models.js +4 -4
- package/lib/resources/tags.cjs +5 -5
- package/lib/resources/tags.d.cts +2 -2
- package/lib/resources/tags.d.ts +1 -1
- package/lib/resources/tags.js +4 -4
- package/lib/resources/talon_one_accounts.cjs +5 -5
- package/lib/resources/talon_one_accounts.d.cts +2 -2
- package/lib/resources/talon_one_accounts.d.ts +1 -1
- package/lib/resources/talon_one_accounts.js +4 -4
- package/lib/resources/tax_calculators.cjs +5 -5
- package/lib/resources/tax_calculators.d.cts +2 -2
- package/lib/resources/tax_calculators.d.ts +1 -1
- package/lib/resources/tax_calculators.js +4 -4
- package/lib/resources/tax_categories.cjs +5 -5
- package/lib/resources/tax_categories.d.cts +2 -2
- package/lib/resources/tax_categories.d.ts +1 -1
- package/lib/resources/tax_categories.js +4 -4
- package/lib/resources/tax_rules.cjs +5 -5
- package/lib/resources/tax_rules.d.cts +2 -2
- package/lib/resources/tax_rules.d.ts +1 -1
- package/lib/resources/tax_rules.js +4 -4
- package/lib/resources/taxjar_accounts.cjs +5 -5
- package/lib/resources/taxjar_accounts.d.cts +2 -2
- package/lib/resources/taxjar_accounts.d.ts +1 -1
- package/lib/resources/taxjar_accounts.js +4 -4
- package/lib/resources/transactions.cjs +5 -5
- package/lib/resources/transactions.d.cts +2 -2
- package/lib/resources/transactions.d.ts +1 -1
- package/lib/resources/transactions.js +4 -4
- package/lib/resources/vertex_accounts.cjs +5 -5
- package/lib/resources/vertex_accounts.d.cts +2 -2
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/vertex_accounts.js +4 -4
- package/lib/resources/voids.cjs +5 -5
- package/lib/resources/voids.d.cts +2 -2
- package/lib/resources/voids.d.ts +1 -1
- package/lib/resources/voids.js +4 -4
- package/lib/resources/webhooks.cjs +5 -5
- package/lib/resources/webhooks.d.cts +2 -2
- package/lib/resources/webhooks.d.ts +1 -1
- package/lib/resources/webhooks.js +4 -4
- package/lib/resources/wire_transfers.cjs +5 -5
- package/lib/resources/wire_transfers.d.cts +2 -2
- package/lib/resources/wire_transfers.d.ts +1 -1
- package/lib/resources/wire_transfers.js +4 -4
- package/lib/single-client.cjs +279 -279
- package/lib/single-client.d.cts +1 -1
- package/lib/single-client.d.ts +1 -1
- package/lib/single-client.js +140 -140
- package/lib/static.cjs +6 -6
- package/lib/static.d.cts +1 -1
- package/lib/static.d.ts +1 -1
- package/lib/static.js +5 -5
- package/lib/version.cjs +4 -4
- package/lib/version.js +1 -1
- package/package.json +10 -12
- package/lib/api-B1BMXFo6.d.cts +0 -19348
- package/lib/api-B1BMXFo6.d.ts +0 -19348
- package/lib/chunk-22QEVU7O.js +0 -118
- package/lib/chunk-22QEVU7O.js.map +0 -1
- package/lib/chunk-23N7ZNJN.cjs +0 -85
- package/lib/chunk-23N7ZNJN.cjs.map +0 -1
- package/lib/chunk-24FKVY4W.js +0 -53
- package/lib/chunk-24FKVY4W.js.map +0 -1
- package/lib/chunk-27C4F3SM.cjs +0 -91
- package/lib/chunk-27C4F3SM.cjs.map +0 -1
- package/lib/chunk-2BDFFEBL.js +0 -168
- package/lib/chunk-2BDFFEBL.js.map +0 -1
- package/lib/chunk-2DLE4OHU.js +0 -91
- package/lib/chunk-2DLE4OHU.js.map +0 -1
- package/lib/chunk-2EFMY5ID.js +0 -60
- package/lib/chunk-2EFMY5ID.js.map +0 -1
- package/lib/chunk-2GWJ3F3V.js +0 -177
- package/lib/chunk-2GWJ3F3V.js.map +0 -1
- package/lib/chunk-2JGAWCSO.js +0 -68
- package/lib/chunk-2JGAWCSO.js.map +0 -1
- package/lib/chunk-2P72JFW6.js +0 -68
- package/lib/chunk-2P72JFW6.js.map +0 -1
- package/lib/chunk-2P7JGV3T.cjs +0 -70
- package/lib/chunk-2P7JGV3T.cjs.map +0 -1
- package/lib/chunk-2R7IRINK.js +0 -79
- package/lib/chunk-2R7IRINK.js.map +0 -1
- package/lib/chunk-3GCSAK5R.cjs +0 -77
- package/lib/chunk-3GCSAK5R.cjs.map +0 -1
- package/lib/chunk-3OJL5XNH.js +0 -77
- package/lib/chunk-3OJL5XNH.js.map +0 -1
- package/lib/chunk-3TT3ZNWR.cjs +0 -71
- package/lib/chunk-3TT3ZNWR.cjs.map +0 -1
- package/lib/chunk-3Y3P26RJ.js +0 -86
- package/lib/chunk-3Y3P26RJ.js.map +0 -1
- package/lib/chunk-43XLD2HN.cjs +0 -70
- package/lib/chunk-43XLD2HN.cjs.map +0 -1
- package/lib/chunk-4RIOLWWG.js +0 -82
- package/lib/chunk-4RIOLWWG.js.map +0 -1
- package/lib/chunk-4SH4UNDF.cjs +0 -98
- package/lib/chunk-4SH4UNDF.cjs.map +0 -1
- package/lib/chunk-4ZIHEYP7.cjs +0 -70
- package/lib/chunk-4ZIHEYP7.cjs.map +0 -1
- package/lib/chunk-57BH3H7I.cjs +0 -79
- package/lib/chunk-57BH3H7I.cjs.map +0 -1
- package/lib/chunk-5AXTTRTZ.cjs +0 -166
- package/lib/chunk-5AXTTRTZ.cjs.map +0 -1
- package/lib/chunk-5BLV7QCQ.js +0 -177
- package/lib/chunk-5BLV7QCQ.js.map +0 -1
- package/lib/chunk-5E7XDFEY.cjs +0 -70
- package/lib/chunk-5E7XDFEY.cjs.map +0 -1
- package/lib/chunk-5GCRDWIT.cjs +0 -53
- package/lib/chunk-5GCRDWIT.cjs.map +0 -1
- package/lib/chunk-5H4QQYLL.cjs +0 -29
- package/lib/chunk-5H4QQYLL.cjs.map +0 -1
- package/lib/chunk-5JC7I6QJ.js +0 -177
- package/lib/chunk-5JC7I6QJ.js.map +0 -1
- package/lib/chunk-5N2UKZQB.cjs +0 -44
- package/lib/chunk-5N2UKZQB.cjs.map +0 -1
- package/lib/chunk-5OBBF2XZ.js +0 -118
- package/lib/chunk-5OBBF2XZ.js.map +0 -1
- package/lib/chunk-5OFBIQYL.js +0 -60
- package/lib/chunk-5OFBIQYL.js.map +0 -1
- package/lib/chunk-5WEDRZPL.cjs +0 -44
- package/lib/chunk-5WEDRZPL.cjs.map +0 -1
- package/lib/chunk-5WTAGYRE.cjs +0 -88
- package/lib/chunk-5WTAGYRE.cjs.map +0 -1
- package/lib/chunk-5YV2MUSC.js +0 -75
- package/lib/chunk-5YV2MUSC.js.map +0 -1
- package/lib/chunk-65VX4PJL.cjs +0 -79
- package/lib/chunk-65VX4PJL.cjs.map +0 -1
- package/lib/chunk-6KP5YH6F.js +0 -68
- package/lib/chunk-6KP5YH6F.js.map +0 -1
- package/lib/chunk-73PDTWDI.js +0 -83
- package/lib/chunk-73PDTWDI.js.map +0 -1
- package/lib/chunk-756AJG23.cjs +0 -61
- package/lib/chunk-756AJG23.cjs.map +0 -1
- package/lib/chunk-7CWPDL7D.cjs +0 -71
- package/lib/chunk-7CWPDL7D.cjs.map +0 -1
- package/lib/chunk-7WOEETZZ.cjs +0 -79
- package/lib/chunk-7WOEETZZ.cjs.map +0 -1
- package/lib/chunk-A3W5ZTHY.js +0 -77
- package/lib/chunk-A3W5ZTHY.js.map +0 -1
- package/lib/chunk-A3XAAY6I.js +0 -123
- package/lib/chunk-A3XAAY6I.js.map +0 -1
- package/lib/chunk-ADQDVME4.js +0 -42
- package/lib/chunk-ADQDVME4.js.map +0 -1
- package/lib/chunk-AFCRSRTJ.js +0 -75
- package/lib/chunk-AFCRSRTJ.js.map +0 -1
- package/lib/chunk-AM3F6VLX.cjs +0 -193
- package/lib/chunk-AM3F6VLX.cjs.map +0 -1
- package/lib/chunk-AVDVPECB.cjs +0 -122
- package/lib/chunk-AVDVPECB.cjs.map +0 -1
- package/lib/chunk-AXGILGEL.js +0 -42
- package/lib/chunk-AXGILGEL.js.map +0 -1
- package/lib/chunk-AZXCR5YI.cjs +0 -79
- package/lib/chunk-AZXCR5YI.cjs.map +0 -1
- package/lib/chunk-B4WLQFDI.cjs +0 -120
- package/lib/chunk-B4WLQFDI.cjs.map +0 -1
- package/lib/chunk-B6WVZLF2.cjs +0 -79
- package/lib/chunk-B6WVZLF2.cjs.map +0 -1
- package/lib/chunk-BALL5SQ4.cjs +0 -131
- package/lib/chunk-BALL5SQ4.cjs.map +0 -1
- package/lib/chunk-BBI33EU4.cjs +0 -102
- package/lib/chunk-BBI33EU4.cjs.map +0 -1
- package/lib/chunk-BHL3OK33.cjs +0 -118
- package/lib/chunk-BHL3OK33.cjs.map +0 -1
- package/lib/chunk-BOM4XWDX.cjs +0 -79
- package/lib/chunk-BOM4XWDX.cjs.map +0 -1
- package/lib/chunk-BROHUUMK.cjs +0 -62
- package/lib/chunk-BROHUUMK.cjs.map +0 -1
- package/lib/chunk-BTWAXIAN.js +0 -86
- package/lib/chunk-BTWAXIAN.js.map +0 -1
- package/lib/chunk-BVP4O5YT.js +0 -12
- package/lib/chunk-BVP4O5YT.js.map +0 -1
- package/lib/chunk-C2HCNUWI.js +0 -86
- package/lib/chunk-C2HCNUWI.js.map +0 -1
- package/lib/chunk-C4LEK74I.cjs +0 -67
- package/lib/chunk-C4LEK74I.cjs.map +0 -1
- package/lib/chunk-C4OIX7FQ.js +0 -65
- package/lib/chunk-C4OIX7FQ.js.map +0 -1
- package/lib/chunk-CAFLLUM3.js +0 -75
- package/lib/chunk-CAFLLUM3.js.map +0 -1
- package/lib/chunk-CBEDD5XV.cjs +0 -179
- package/lib/chunk-CBEDD5XV.cjs.map +0 -1
- package/lib/chunk-CCBZH2BZ.js +0 -177
- package/lib/chunk-CCBZH2BZ.js.map +0 -1
- package/lib/chunk-CEPPOT75.js +0 -59
- package/lib/chunk-CEPPOT75.js.map +0 -1
- package/lib/chunk-CLX2MA3D.cjs +0 -77
- package/lib/chunk-CLX2MA3D.cjs.map +0 -1
- package/lib/chunk-CNFMQUCE.js +0 -68
- package/lib/chunk-CNFMQUCE.js.map +0 -1
- package/lib/chunk-CTXGAWSA.cjs +0 -55
- package/lib/chunk-CTXGAWSA.cjs.map +0 -1
- package/lib/chunk-CWH7I3BL.js +0 -68
- package/lib/chunk-CWH7I3BL.js.map +0 -1
- package/lib/chunk-D3U7JSGR.cjs +0 -60
- package/lib/chunk-D3U7JSGR.cjs.map +0 -1
- package/lib/chunk-D6YW3NMU.cjs +0 -86
- package/lib/chunk-D6YW3NMU.cjs.map +0 -1
- package/lib/chunk-DCFZLBUH.js +0 -60
- package/lib/chunk-DCFZLBUH.js.map +0 -1
- package/lib/chunk-DD42A7RW.cjs +0 -88
- package/lib/chunk-DD42A7RW.cjs.map +0 -1
- package/lib/chunk-DH4MWJA5.js +0 -50
- package/lib/chunk-DH4MWJA5.js.map +0 -1
- package/lib/chunk-DMKFUBUL.cjs +0 -79
- package/lib/chunk-DMKFUBUL.cjs.map +0 -1
- package/lib/chunk-DODU3HR5.js +0 -68
- package/lib/chunk-DODU3HR5.js.map +0 -1
- package/lib/chunk-DPEMEKMH.js +0 -91
- package/lib/chunk-DPEMEKMH.js.map +0 -1
- package/lib/chunk-DQTUZXNM.cjs +0 -60
- package/lib/chunk-DQTUZXNM.cjs.map +0 -1
- package/lib/chunk-DSHKV2DU.cjs +0 -614
- package/lib/chunk-DSHKV2DU.cjs.map +0 -1
- package/lib/chunk-DVR45EYD.js +0 -69
- package/lib/chunk-DVR45EYD.js.map +0 -1
- package/lib/chunk-DYS7XVRH.js +0 -92
- package/lib/chunk-DYS7XVRH.js.map +0 -1
- package/lib/chunk-DZFJO4LF.cjs +0 -816
- package/lib/chunk-DZFJO4LF.cjs.map +0 -1
- package/lib/chunk-DZGXCZVF.cjs +0 -53
- package/lib/chunk-DZGXCZVF.cjs.map +0 -1
- package/lib/chunk-E6AATN7Y.cjs +0 -70
- package/lib/chunk-E6AATN7Y.cjs.map +0 -1
- package/lib/chunk-E7VI2SVA.cjs +0 -93
- package/lib/chunk-E7VI2SVA.cjs.map +0 -1
- package/lib/chunk-EB66RJXX.cjs +0 -90
- package/lib/chunk-EB66RJXX.cjs.map +0 -1
- package/lib/chunk-ECFRQWZF.js +0 -77
- package/lib/chunk-ECFRQWZF.js.map +0 -1
- package/lib/chunk-EDLY6XW6.cjs +0 -61
- package/lib/chunk-EDLY6XW6.cjs.map +0 -1
- package/lib/chunk-EHIRQORB.js +0 -113
- package/lib/chunk-EHIRQORB.js.map +0 -1
- package/lib/chunk-EN5IKIGN.cjs +0 -53
- package/lib/chunk-EN5IKIGN.cjs.map +0 -1
- package/lib/chunk-EORYVMG7.cjs +0 -102
- package/lib/chunk-EORYVMG7.cjs.map +0 -1
- package/lib/chunk-EP353ENQ.js +0 -17
- package/lib/chunk-EP353ENQ.js.map +0 -1
- package/lib/chunk-EPWU4GMQ.cjs +0 -84
- package/lib/chunk-EPWU4GMQ.cjs.map +0 -1
- package/lib/chunk-EQ7F256D.js +0 -180
- package/lib/chunk-EQ7F256D.js.map +0 -1
- package/lib/chunk-EVBJLO37.js +0 -60
- package/lib/chunk-EVBJLO37.js.map +0 -1
- package/lib/chunk-F3S2D4XA.js +0 -44
- package/lib/chunk-F3S2D4XA.js.map +0 -1
- package/lib/chunk-F6G7TTJP.js +0 -42
- package/lib/chunk-F6G7TTJP.js.map +0 -1
- package/lib/chunk-FAONDNFT.js +0 -82
- package/lib/chunk-FAONDNFT.js.map +0 -1
- package/lib/chunk-FGHB6SIM.cjs +0 -122
- package/lib/chunk-FGHB6SIM.cjs.map +0 -1
- package/lib/chunk-FKMQZNBZ.js +0 -51
- package/lib/chunk-FKMQZNBZ.js.map +0 -1
- package/lib/chunk-FSJ5ASJO.js +0 -68
- package/lib/chunk-FSJ5ASJO.js.map +0 -1
- package/lib/chunk-FYRSCQAT.js +0 -100
- package/lib/chunk-FYRSCQAT.js.map +0 -1
- package/lib/chunk-GDFQYZF4.js +0 -94
- package/lib/chunk-GDFQYZF4.js.map +0 -1
- package/lib/chunk-GDLOUNY7.cjs +0 -88
- package/lib/chunk-GDLOUNY7.cjs.map +0 -1
- package/lib/chunk-GDYUR3M5.cjs +0 -91
- package/lib/chunk-GDYUR3M5.cjs.map +0 -1
- package/lib/chunk-GH5VQCDT.cjs +0 -179
- package/lib/chunk-GH5VQCDT.cjs.map +0 -1
- package/lib/chunk-GLQ55MH2.cjs +0 -77
- package/lib/chunk-GLQ55MH2.cjs.map +0 -1
- package/lib/chunk-GXID6I4X.cjs +0 -62
- package/lib/chunk-GXID6I4X.cjs.map +0 -1
- package/lib/chunk-HAVNDSL3.js +0 -68
- package/lib/chunk-HAVNDSL3.js.map +0 -1
- package/lib/chunk-HAWT3AVI.cjs +0 -35
- package/lib/chunk-HAWT3AVI.cjs.map +0 -1
- package/lib/chunk-HAZOMHMN.js +0 -80
- package/lib/chunk-HAZOMHMN.js.map +0 -1
- package/lib/chunk-HBQQF3YE.js +0 -84
- package/lib/chunk-HBQQF3YE.js.map +0 -1
- package/lib/chunk-HBXGDXPS.cjs +0 -198
- package/lib/chunk-HBXGDXPS.cjs.map +0 -1
- package/lib/chunk-HETS5MDK.js +0 -100
- package/lib/chunk-HETS5MDK.js.map +0 -1
- package/lib/chunk-HIFEJ3UD.js +0 -89
- package/lib/chunk-HIFEJ3UD.js.map +0 -1
- package/lib/chunk-HOK4CEEE.js +0 -69
- package/lib/chunk-HOK4CEEE.js.map +0 -1
- package/lib/chunk-HQSUDPLN.js +0 -42
- package/lib/chunk-HQSUDPLN.js.map +0 -1
- package/lib/chunk-HRXF5PYG.js +0 -191
- package/lib/chunk-HRXF5PYG.js.map +0 -1
- package/lib/chunk-HVE6MLV2.cjs +0 -63
- package/lib/chunk-HVE6MLV2.cjs.map +0 -1
- package/lib/chunk-HVMK64MS.cjs +0 -77
- package/lib/chunk-HVMK64MS.cjs.map +0 -1
- package/lib/chunk-I663QZHP.js +0 -60
- package/lib/chunk-I663QZHP.js.map +0 -1
- package/lib/chunk-I6QA5OLE.cjs +0 -98
- package/lib/chunk-I6QA5OLE.cjs.map +0 -1
- package/lib/chunk-IBO6CPGX.cjs +0 -98
- package/lib/chunk-IBO6CPGX.cjs.map +0 -1
- package/lib/chunk-IBVEEQKC.js +0 -89
- package/lib/chunk-IBVEEQKC.js.map +0 -1
- package/lib/chunk-IERQWZMB.cjs +0 -70
- package/lib/chunk-IERQWZMB.cjs.map +0 -1
- package/lib/chunk-ILK4A253.cjs +0 -179
- package/lib/chunk-ILK4A253.cjs.map +0 -1
- package/lib/chunk-INWIFJOG.cjs +0 -94
- package/lib/chunk-INWIFJOG.cjs.map +0 -1
- package/lib/chunk-IOFM4JEN.cjs +0 -44
- package/lib/chunk-IOFM4JEN.cjs.map +0 -1
- package/lib/chunk-IOHDRJKA.cjs +0 -80
- package/lib/chunk-IOHDRJKA.cjs.map +0 -1
- package/lib/chunk-IVP2QAEE.js +0 -77
- package/lib/chunk-IVP2QAEE.js.map +0 -1
- package/lib/chunk-J4CIIZ7K.js +0 -58
- package/lib/chunk-J4CIIZ7K.js.map +0 -1
- package/lib/chunk-J5RQQEG7.js +0 -89
- package/lib/chunk-J5RQQEG7.js.map +0 -1
- package/lib/chunk-JDZMUJEG.js +0 -100
- package/lib/chunk-JDZMUJEG.js.map +0 -1
- package/lib/chunk-JGRWFQIK.cjs +0 -52
- package/lib/chunk-JGRWFQIK.cjs.map +0 -1
- package/lib/chunk-JHQLDVWP.cjs +0 -67
- package/lib/chunk-JHQLDVWP.cjs.map +0 -1
- package/lib/chunk-JIDUW5OL.js +0 -82
- package/lib/chunk-JIDUW5OL.js.map +0 -1
- package/lib/chunk-JR3KXI2J.cjs +0 -117
- package/lib/chunk-JR3KXI2J.cjs.map +0 -1
- package/lib/chunk-JROMCT3R.cjs +0 -88
- package/lib/chunk-JROMCT3R.cjs.map +0 -1
- package/lib/chunk-JTCQISTA.cjs +0 -91
- package/lib/chunk-JTCQISTA.cjs.map +0 -1
- package/lib/chunk-K6R2EBBD.cjs +0 -70
- package/lib/chunk-K6R2EBBD.cjs.map +0 -1
- package/lib/chunk-KAAL3X72.cjs +0 -84
- package/lib/chunk-KAAL3X72.cjs.map +0 -1
- package/lib/chunk-KAFJIMKH.js +0 -88
- package/lib/chunk-KAFJIMKH.js.map +0 -1
- package/lib/chunk-KD6CL5CK.cjs +0 -81
- package/lib/chunk-KD6CL5CK.cjs.map +0 -1
- package/lib/chunk-KGDYXOHY.js +0 -51
- package/lib/chunk-KGDYXOHY.js.map +0 -1
- package/lib/chunk-KITEAEYA.js +0 -96
- package/lib/chunk-KITEAEYA.js.map +0 -1
- package/lib/chunk-KLQVXFFS.cjs +0 -179
- package/lib/chunk-KLQVXFFS.cjs.map +0 -1
- package/lib/chunk-KNYGM6CD.cjs +0 -79
- package/lib/chunk-KNYGM6CD.cjs.map +0 -1
- package/lib/chunk-L2CAYREK.js +0 -68
- package/lib/chunk-L2CAYREK.js.map +0 -1
- package/lib/chunk-L3Q2TFM3.js +0 -191
- package/lib/chunk-L3Q2TFM3.js.map +0 -1
- package/lib/chunk-L6UNI64M.cjs +0 -91
- package/lib/chunk-L6UNI64M.cjs.map +0 -1
- package/lib/chunk-LCAZRGON.js +0 -116
- package/lib/chunk-LCAZRGON.js.map +0 -1
- package/lib/chunk-LDE7CC7L.js +0 -196
- package/lib/chunk-LDE7CC7L.js.map +0 -1
- package/lib/chunk-LFCHI43P.cjs +0 -46
- package/lib/chunk-LFCHI43P.cjs.map +0 -1
- package/lib/chunk-LIBKAWDY.cjs +0 -712
- package/lib/chunk-LIBKAWDY.cjs.map +0 -1
- package/lib/chunk-LKDWO346.js +0 -68
- package/lib/chunk-LKDWO346.js.map +0 -1
- package/lib/chunk-LLYSQ5JX.js +0 -60
- package/lib/chunk-LLYSQ5JX.js.map +0 -1
- package/lib/chunk-LP4HCCSP.js +0 -132
- package/lib/chunk-LP4HCCSP.js.map +0 -1
- package/lib/chunk-LVZUJ6IN.js +0 -120
- package/lib/chunk-LVZUJ6IN.js.map +0 -1
- package/lib/chunk-M2TFEBGP.cjs +0 -75
- package/lib/chunk-M2TFEBGP.cjs.map +0 -1
- package/lib/chunk-MITMRRX2.cjs +0 -19
- package/lib/chunk-MITMRRX2.cjs.map +0 -1
- package/lib/chunk-MMF27PU7.js +0 -612
- package/lib/chunk-MMF27PU7.js.map +0 -1
- package/lib/chunk-MRVEUGPI.cjs +0 -52
- package/lib/chunk-MRVEUGPI.cjs.map +0 -1
- package/lib/chunk-MUBD6YPJ.cjs +0 -70
- package/lib/chunk-MUBD6YPJ.cjs.map +0 -1
- package/lib/chunk-N5FS2DVM.js +0 -75
- package/lib/chunk-N5FS2DVM.js.map +0 -1
- package/lib/chunk-N6HG6W3R.js +0 -92
- package/lib/chunk-N6HG6W3R.js.map +0 -1
- package/lib/chunk-NBXYK3NQ.js +0 -164
- package/lib/chunk-NBXYK3NQ.js.map +0 -1
- package/lib/chunk-NDP7Z7DS.cjs +0 -205
- package/lib/chunk-NDP7Z7DS.cjs.map +0 -1
- package/lib/chunk-NGNKJ6WL.js +0 -96
- package/lib/chunk-NGNKJ6WL.js.map +0 -1
- package/lib/chunk-NIRFJABJ.js +0 -51
- package/lib/chunk-NIRFJABJ.js.map +0 -1
- package/lib/chunk-NJ6UVTYG.cjs +0 -61
- package/lib/chunk-NJ6UVTYG.cjs.map +0 -1
- package/lib/chunk-NMXOO64W.cjs +0 -182
- package/lib/chunk-NMXOO64W.cjs.map +0 -1
- package/lib/chunk-NOYJYNWI.cjs +0 -38
- package/lib/chunk-NOYJYNWI.cjs.map +0 -1
- package/lib/chunk-NT2DAUSV.cjs +0 -243
- package/lib/chunk-NT2DAUSV.cjs.map +0 -1
- package/lib/chunk-NVAGPUU6.cjs +0 -115
- package/lib/chunk-NVAGPUU6.cjs.map +0 -1
- package/lib/chunk-NX2T5UXY.js +0 -120
- package/lib/chunk-NX2T5UXY.js.map +0 -1
- package/lib/chunk-NYP4VNBV.cjs +0 -91
- package/lib/chunk-NYP4VNBV.cjs.map +0 -1
- package/lib/chunk-NZMCLORF.cjs +0 -70
- package/lib/chunk-NZMCLORF.cjs.map +0 -1
- package/lib/chunk-O26QPADM.js +0 -77
- package/lib/chunk-O26QPADM.js.map +0 -1
- package/lib/chunk-O2OH2BOI.js +0 -82
- package/lib/chunk-O2OH2BOI.js.map +0 -1
- package/lib/chunk-O6DODGY7.js +0 -241
- package/lib/chunk-O6DODGY7.js.map +0 -1
- package/lib/chunk-OCMOWAHV.cjs +0 -80
- package/lib/chunk-OCMOWAHV.cjs.map +0 -1
- package/lib/chunk-OF2GTDJ3.js +0 -50
- package/lib/chunk-OF2GTDJ3.js.map +0 -1
- package/lib/chunk-OGY4DULR.cjs +0 -193
- package/lib/chunk-OGY4DULR.cjs.map +0 -1
- package/lib/chunk-OM2AZYLG.cjs +0 -91
- package/lib/chunk-OM2AZYLG.cjs.map +0 -1
- package/lib/chunk-OONH6WXN.cjs +0 -79
- package/lib/chunk-OONH6WXN.cjs.map +0 -1
- package/lib/chunk-OULDY4YE.cjs +0 -44
- package/lib/chunk-OULDY4YE.cjs.map +0 -1
- package/lib/chunk-OWPG3FNI.cjs +0 -53
- package/lib/chunk-OWPG3FNI.cjs.map +0 -1
- package/lib/chunk-OZIR3YWA.js +0 -86
- package/lib/chunk-OZIR3YWA.js.map +0 -1
- package/lib/chunk-P2JPRBHZ.js +0 -51
- package/lib/chunk-P2JPRBHZ.js.map +0 -1
- package/lib/chunk-P3H7TCQO.cjs +0 -70
- package/lib/chunk-P3H7TCQO.cjs.map +0 -1
- package/lib/chunk-P4IHC45V.js +0 -68
- package/lib/chunk-P4IHC45V.js.map +0 -1
- package/lib/chunk-P7ROLPCU.js +0 -77
- package/lib/chunk-P7ROLPCU.js.map +0 -1
- package/lib/chunk-PCGH6UJQ.js +0 -50
- package/lib/chunk-PCGH6UJQ.js.map +0 -1
- package/lib/chunk-PKE3BBFP.js +0 -68
- package/lib/chunk-PKE3BBFP.js.map +0 -1
- package/lib/chunk-PMERNCSJ.js +0 -203
- package/lib/chunk-PMERNCSJ.js.map +0 -1
- package/lib/chunk-PNTX6XU2.cjs +0 -323
- package/lib/chunk-PNTX6XU2.cjs.map +0 -1
- package/lib/chunk-PQ75J3RB.js +0 -58
- package/lib/chunk-PQ75J3RB.js.map +0 -1
- package/lib/chunk-PSBMKEZE.js +0 -89
- package/lib/chunk-PSBMKEZE.js.map +0 -1
- package/lib/chunk-PWWE7OPX.js +0 -51
- package/lib/chunk-PWWE7OPX.js.map +0 -1
- package/lib/chunk-PZST5ZSQ.cjs +0 -79
- package/lib/chunk-PZST5ZSQ.cjs.map +0 -1
- package/lib/chunk-Q6NZ4ERM.js +0 -808
- package/lib/chunk-Q6NZ4ERM.js.map +0 -1
- package/lib/chunk-Q7HH3WAF.js +0 -89
- package/lib/chunk-Q7HH3WAF.js.map +0 -1
- package/lib/chunk-QC7VOWFK.cjs +0 -70
- package/lib/chunk-QC7VOWFK.cjs.map +0 -1
- package/lib/chunk-QDAZS5P4.js +0 -77
- package/lib/chunk-QDAZS5P4.js.map +0 -1
- package/lib/chunk-QF6NWTGQ.cjs +0 -79
- package/lib/chunk-QF6NWTGQ.cjs.map +0 -1
- package/lib/chunk-QULKMJNT.cjs +0 -16
- package/lib/chunk-QULKMJNT.cjs.map +0 -1
- package/lib/chunk-QUW37EJH.js +0 -36
- package/lib/chunk-QUW37EJH.js.map +0 -1
- package/lib/chunk-QVZAZNT7.js +0 -96
- package/lib/chunk-QVZAZNT7.js.map +0 -1
- package/lib/chunk-R2ZRTQ47.cjs +0 -88
- package/lib/chunk-R2ZRTQ47.cjs.map +0 -1
- package/lib/chunk-R6FQFTXL.cjs +0 -70
- package/lib/chunk-R6FQFTXL.cjs.map +0 -1
- package/lib/chunk-RHP23EX4.cjs +0 -62
- package/lib/chunk-RHP23EX4.cjs.map +0 -1
- package/lib/chunk-RIEJBKV5.cjs +0 -82
- package/lib/chunk-RIEJBKV5.cjs.map +0 -1
- package/lib/chunk-RRKI2DT7.cjs +0 -62
- package/lib/chunk-RRKI2DT7.cjs.map +0 -1
- package/lib/chunk-RSQTDLUZ.js +0 -27
- package/lib/chunk-RSQTDLUZ.js.map +0 -1
- package/lib/chunk-RT734KX6.cjs +0 -179
- package/lib/chunk-RT734KX6.cjs.map +0 -1
- package/lib/chunk-RZB3YT7E.js +0 -86
- package/lib/chunk-RZB3YT7E.js.map +0 -1
- package/lib/chunk-RZZZDMV4.js +0 -77
- package/lib/chunk-RZZZDMV4.js.map +0 -1
- package/lib/chunk-S3NUL3KA.js +0 -68
- package/lib/chunk-S3NUL3KA.js.map +0 -1
- package/lib/chunk-S43GW2P2.js +0 -75
- package/lib/chunk-S43GW2P2.js.map +0 -1
- package/lib/chunk-SC6RW7TX.cjs +0 -193
- package/lib/chunk-SC6RW7TX.cjs.map +0 -1
- package/lib/chunk-SFLFBJYM.js +0 -177
- package/lib/chunk-SFLFBJYM.js.map +0 -1
- package/lib/chunk-SGCLUVCE.js +0 -24
- package/lib/chunk-SGCLUVCE.js.map +0 -1
- package/lib/chunk-SHQ5WPWB.cjs +0 -62
- package/lib/chunk-SHQ5WPWB.cjs.map +0 -1
- package/lib/chunk-SJTDKSSV.cjs +0 -179
- package/lib/chunk-SJTDKSSV.cjs.map +0 -1
- package/lib/chunk-SNVAKY6A.js +0 -79
- package/lib/chunk-SNVAKY6A.js.map +0 -1
- package/lib/chunk-SVNPIPNB.cjs +0 -96
- package/lib/chunk-SVNPIPNB.cjs.map +0 -1
- package/lib/chunk-SWAKRVXF.js +0 -84
- package/lib/chunk-SWAKRVXF.js.map +0 -1
- package/lib/chunk-SXDLEQXQ.cjs +0 -94
- package/lib/chunk-SXDLEQXQ.cjs.map +0 -1
- package/lib/chunk-T2O6ZEDI.js +0 -78
- package/lib/chunk-T2O6ZEDI.js.map +0 -1
- package/lib/chunk-T7KEDNBP.js +0 -96
- package/lib/chunk-T7KEDNBP.js.map +0 -1
- package/lib/chunk-TBKNPEXT.cjs +0 -70
- package/lib/chunk-TBKNPEXT.cjs.map +0 -1
- package/lib/chunk-TBTPGODY.cjs +0 -86
- package/lib/chunk-TBTPGODY.cjs.map +0 -1
- package/lib/chunk-TGUDVMKA.js +0 -124
- package/lib/chunk-TGUDVMKA.js.map +0 -1
- package/lib/chunk-TJMXOSWV.cjs +0 -89
- package/lib/chunk-TJMXOSWV.cjs.map +0 -1
- package/lib/chunk-TXO5TNAN.cjs +0 -70
- package/lib/chunk-TXO5TNAN.cjs.map +0 -1
- package/lib/chunk-U5HAYP73.js +0 -87
- package/lib/chunk-U5HAYP73.js.map +0 -1
- package/lib/chunk-UAHOAAF5.cjs +0 -102
- package/lib/chunk-UAHOAAF5.cjs.map +0 -1
- package/lib/chunk-UC4EBIEP.cjs +0 -40
- package/lib/chunk-UC4EBIEP.cjs.map +0 -1
- package/lib/chunk-UFB5C7RB.js +0 -79
- package/lib/chunk-UFB5C7RB.js.map +0 -1
- package/lib/chunk-UKPP3NJH.js +0 -67
- package/lib/chunk-UKPP3NJH.js.map +0 -1
- package/lib/chunk-USDSZN37.cjs +0 -120
- package/lib/chunk-USDSZN37.cjs.map +0 -1
- package/lib/chunk-USF6ZXAU.js +0 -33
- package/lib/chunk-USF6ZXAU.js.map +0 -1
- package/lib/chunk-UTEWVMUY.js +0 -78
- package/lib/chunk-UTEWVMUY.js.map +0 -1
- package/lib/chunk-UTIVMNMW.js +0 -73
- package/lib/chunk-UTIVMNMW.js.map +0 -1
- package/lib/chunk-VBISYOF4.cjs +0 -77
- package/lib/chunk-VBISYOF4.cjs.map +0 -1
- package/lib/chunk-VEG7LLQB.js +0 -59
- package/lib/chunk-VEG7LLQB.js.map +0 -1
- package/lib/chunk-VNZTHEHI.cjs +0 -52
- package/lib/chunk-VNZTHEHI.cjs.map +0 -1
- package/lib/chunk-VSBNV5XE.js +0 -77
- package/lib/chunk-VSBNV5XE.js.map +0 -1
- package/lib/chunk-VSIPPK7O.cjs +0 -81
- package/lib/chunk-VSIPPK7O.cjs.map +0 -1
- package/lib/chunk-VUET2RHO.js +0 -177
- package/lib/chunk-VUET2RHO.js.map +0 -1
- package/lib/chunk-VUVWOQW3.cjs +0 -170
- package/lib/chunk-VUVWOQW3.cjs.map +0 -1
- package/lib/chunk-VWWMNMVU.js +0 -60
- package/lib/chunk-VWWMNMVU.js.map +0 -1
- package/lib/chunk-VWZTYMTS.js +0 -709
- package/lib/chunk-VWZTYMTS.js.map +0 -1
- package/lib/chunk-W4PGH4JH.js +0 -113
- package/lib/chunk-W4PGH4JH.js.map +0 -1
- package/lib/chunk-W7WL44ZO.cjs +0 -84
- package/lib/chunk-W7WL44ZO.cjs.map +0 -1
- package/lib/chunk-WDPGYKKY.cjs +0 -126
- package/lib/chunk-WDPGYKKY.cjs.map +0 -1
- package/lib/chunk-WNKENBNE.cjs +0 -53
- package/lib/chunk-WNKENBNE.cjs.map +0 -1
- package/lib/chunk-WNM4AOJM.cjs +0 -98
- package/lib/chunk-WNM4AOJM.cjs.map +0 -1
- package/lib/chunk-WXVWQXDZ.js +0 -129
- package/lib/chunk-WXVWQXDZ.js.map +0 -1
- package/lib/chunk-X3KKVQ4B.js +0 -89
- package/lib/chunk-X3KKVQ4B.js.map +0 -1
- package/lib/chunk-XARE43DB.js +0 -191
- package/lib/chunk-XARE43DB.js.map +0 -1
- package/lib/chunk-XIAEDILF.cjs +0 -70
- package/lib/chunk-XIAEDILF.cjs.map +0 -1
- package/lib/chunk-XMDSMUH4.js +0 -65
- package/lib/chunk-XMDSMUH4.js.map +0 -1
- package/lib/chunk-XOMDOKUR.js +0 -77
- package/lib/chunk-XOMDOKUR.js.map +0 -1
- package/lib/chunk-XU2TLA7E.js +0 -59
- package/lib/chunk-XU2TLA7E.js.map +0 -1
- package/lib/chunk-XVJ74AKI.js +0 -321
- package/lib/chunk-XVJ74AKI.js.map +0 -1
- package/lib/chunk-Y5LFT7RG.js +0 -77
- package/lib/chunk-Y5LFT7RG.js.map +0 -1
- package/lib/chunk-YAEFTHO3.cjs +0 -93
- package/lib/chunk-YAEFTHO3.cjs.map +0 -1
- package/lib/chunk-YENWKHWP.cjs +0 -26
- package/lib/chunk-YENWKHWP.cjs.map +0 -1
- package/lib/chunk-YG7QYI34.cjs +0 -134
- package/lib/chunk-YG7QYI34.cjs.map +0 -1
- package/lib/chunk-YJIBX2CK.cjs +0 -81
- package/lib/chunk-YJIBX2CK.cjs.map +0 -1
- package/lib/chunk-YOACNJYE.cjs +0 -79
- package/lib/chunk-YOACNJYE.cjs.map +0 -1
- package/lib/chunk-YSSUMXAB.cjs +0 -62
- package/lib/chunk-YSSUMXAB.cjs.map +0 -1
- package/lib/chunk-YWJTC2WA.cjs +0 -69
- package/lib/chunk-YWJTC2WA.cjs.map +0 -1
- package/lib/chunk-Z2E5OBDM.js +0 -68
- package/lib/chunk-Z2E5OBDM.js.map +0 -1
- package/lib/chunk-ZAFGXVIP.js +0 -61
- package/lib/chunk-ZAFGXVIP.js.map +0 -1
- package/lib/chunk-ZBGZB2ON.cjs +0 -62
- package/lib/chunk-ZBGZB2ON.cjs.map +0 -1
- package/lib/chunk-ZC5CIFZU.js +0 -77
- package/lib/chunk-ZC5CIFZU.js.map +0 -1
- package/lib/chunk-ZEHBZXJ5.cjs +0 -84
- package/lib/chunk-ZEHBZXJ5.cjs.map +0 -1
- package/lib/chunk-ZI6LGD3R.js +0 -38
- package/lib/chunk-ZI6LGD3R.js.map +0 -1
- package/lib/chunk-ZLQH6Q4K.cjs +0 -125
- package/lib/chunk-ZLQH6Q4K.cjs.map +0 -1
- package/lib/chunk-ZPQ775KO.js +0 -68
- package/lib/chunk-ZPQ775KO.js.map +0 -1
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-W3KXJFVJ.js';
|
|
2
|
+
|
|
3
|
+
// gen/resources/stock_transfers.ts
|
|
4
|
+
var StockTransfers = class _StockTransfers extends ApiResource {
|
|
5
|
+
static TYPE = "stock_transfers";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create(
|
|
8
|
+
{ ...resource, type: _StockTransfers.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _StockTransfers.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _StockTransfers.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async sku(stockTransferId, params, options) {
|
|
24
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "skus" },
|
|
27
|
+
`stock_transfers/${_stockTransferId}/sku`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
async origin_stock_location(stockTransferId, params, options) {
|
|
33
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
34
|
+
return this.resources.fetch(
|
|
35
|
+
{ type: "stock_locations" },
|
|
36
|
+
`stock_transfers/${_stockTransferId}/origin_stock_location`,
|
|
37
|
+
params,
|
|
38
|
+
options
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
async destination_stock_location(stockTransferId, params, options) {
|
|
42
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
43
|
+
return this.resources.fetch(
|
|
44
|
+
{ type: "stock_locations" },
|
|
45
|
+
`stock_transfers/${_stockTransferId}/destination_stock_location`,
|
|
46
|
+
params,
|
|
47
|
+
options
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
async shipment(stockTransferId, params, options) {
|
|
51
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
52
|
+
return this.resources.fetch(
|
|
53
|
+
{ type: "shipments" },
|
|
54
|
+
`stock_transfers/${_stockTransferId}/shipment`,
|
|
55
|
+
params,
|
|
56
|
+
options
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
async line_item(stockTransferId, params, options) {
|
|
60
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
61
|
+
return this.resources.fetch(
|
|
62
|
+
{ type: "line_items" },
|
|
63
|
+
`stock_transfers/${_stockTransferId}/line_item`,
|
|
64
|
+
params,
|
|
65
|
+
options
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
async stock_reservation(stockTransferId, params, options) {
|
|
69
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
70
|
+
return this.resources.fetch(
|
|
71
|
+
{ type: "stock_reservations" },
|
|
72
|
+
`stock_transfers/${_stockTransferId}/stock_reservation`,
|
|
73
|
+
params,
|
|
74
|
+
options
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
async attachments(stockTransferId, params, options) {
|
|
78
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
79
|
+
return this.resources.fetch(
|
|
80
|
+
{ type: "attachments" },
|
|
81
|
+
`stock_transfers/${_stockTransferId}/attachments`,
|
|
82
|
+
params,
|
|
83
|
+
options
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
async events(stockTransferId, params, options) {
|
|
87
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
88
|
+
return this.resources.fetch(
|
|
89
|
+
{ type: "events" },
|
|
90
|
+
`stock_transfers/${_stockTransferId}/events`,
|
|
91
|
+
params,
|
|
92
|
+
options
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
async event_stores(stockTransferId, params, options) {
|
|
96
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
97
|
+
return this.resources.fetch(
|
|
98
|
+
{ type: "event_stores" },
|
|
99
|
+
`stock_transfers/${_stockTransferId}/event_stores`,
|
|
100
|
+
params,
|
|
101
|
+
options
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
async _upcoming(id, params, options) {
|
|
105
|
+
return this.resources.update(
|
|
106
|
+
{ id: typeof id === "string" ? id : id.id, type: _StockTransfers.TYPE, _upcoming: true },
|
|
107
|
+
params,
|
|
108
|
+
options
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
async _on_hold(id, params, options) {
|
|
112
|
+
return this.resources.update(
|
|
113
|
+
{ id: typeof id === "string" ? id : id.id, type: _StockTransfers.TYPE, _on_hold: true },
|
|
114
|
+
params,
|
|
115
|
+
options
|
|
116
|
+
);
|
|
117
|
+
}
|
|
118
|
+
async _picking(id, params, options) {
|
|
119
|
+
return this.resources.update(
|
|
120
|
+
{ id: typeof id === "string" ? id : id.id, type: _StockTransfers.TYPE, _picking: true },
|
|
121
|
+
params,
|
|
122
|
+
options
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
async _in_transit(id, params, options) {
|
|
126
|
+
return this.resources.update(
|
|
127
|
+
{ id: typeof id === "string" ? id : id.id, type: _StockTransfers.TYPE, _in_transit: true },
|
|
128
|
+
params,
|
|
129
|
+
options
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
async _complete(id, params, options) {
|
|
133
|
+
return this.resources.update(
|
|
134
|
+
{ id: typeof id === "string" ? id : id.id, type: _StockTransfers.TYPE, _complete: true },
|
|
135
|
+
params,
|
|
136
|
+
options
|
|
137
|
+
);
|
|
138
|
+
}
|
|
139
|
+
async _cancel(id, params, options) {
|
|
140
|
+
return this.resources.update(
|
|
141
|
+
{ id: typeof id === "string" ? id : id.id, type: _StockTransfers.TYPE, _cancel: true },
|
|
142
|
+
params,
|
|
143
|
+
options
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
isStockTransfer(resource) {
|
|
147
|
+
return resource.type && resource.type === _StockTransfers.TYPE;
|
|
148
|
+
}
|
|
149
|
+
relationship(id) {
|
|
150
|
+
return super.relationshipOneToOne(id);
|
|
151
|
+
}
|
|
152
|
+
relationshipToMany(...ids) {
|
|
153
|
+
return super.relationshipOneToMany(...ids);
|
|
154
|
+
}
|
|
155
|
+
type() {
|
|
156
|
+
return _StockTransfers.TYPE;
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
var instance = new StockTransfers();
|
|
160
|
+
var stock_transfers_default = instance;
|
|
161
|
+
|
|
162
|
+
export { stock_transfers_default };
|
|
163
|
+
//# sourceMappingURL=chunk-UTDHJESB.js.map
|
|
164
|
+
//# sourceMappingURL=chunk-UTDHJESB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/stock_transfers.ts"],"names":[],"mappings":"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","file":"chunk-UTDHJESB.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { LineItem, LineItemType } from './line_items'\nimport type { Shipment, ShipmentType } from './shipments'\nimport type { Sku, SkuType } from './skus'\nimport type { StockLocation, StockLocationType } from './stock_locations'\nimport type { StockReservation } from './stock_reservations'\n\ntype StockTransferType = 'stock_transfers'\ntype StockTransferRel = ResourceRel & { type: StockTransferType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype LineItemRel = ResourceRel & { type: LineItemType }\n\nexport type StockTransferSort = Pick<\n StockTransfer,\n | 'id'\n | 'number'\n | 'status'\n | 'quantity'\n | 'on_hold_at'\n | 'picking_at'\n | 'in_transit_at'\n | 'completed_at'\n | 'cancelled_at'\n> &\n ResourceSort\n// export type StockTransferFilter = Pick<StockTransfer, 'id' | 'number' | 'status' | 'quantity' | 'on_hold_at' | 'picking_at' | 'in_transit_at' | 'completed_at' | 'cancelled_at'> & ResourceFilter\n\n/**\n * The Stock transfer object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/stock_transfers endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/stock_transfers/object\n */\ninterface StockTransfer extends Resource {\n readonly type: StockTransferType\n\n /**\n * Unique identifier for the stock transfer (numeric).\n * @example ```\"1234\"```\n */\n number?: string | null\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The stock transfer status. One of 'draft' (default), 'upcoming', 'on_hold', 'picking', 'in_transit', 'completed', or 'cancelled'.\n * @example ```\"draft\"```\n */\n status: 'draft' | 'upcoming' | 'on_hold' | 'picking' | 'in_transit' | 'completed' | 'cancelled'\n /**\n * The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability.\n * @example ```2```\n */\n quantity: number\n /**\n * Time at which the stock transfer was put on hold.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n on_hold_at?: string | null\n /**\n * Time at which the stock transfer was picking.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n picking_at?: string | null\n /**\n * Time at which the stock transfer was in transit.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n in_transit_at?: string | null\n /**\n * Time at which the stock transfer was completed.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n completed_at?: string | null\n /**\n * Time at which the stock transfer was cancelled.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n cancelled_at?: string | null\n\n sku?: Sku | null\n origin_stock_location?: StockLocation | null\n destination_stock_location?: StockLocation | null\n shipment?: Shipment | null\n line_item?: LineItem | null\n stock_reservation?: StockReservation | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface StockTransferCreate extends ResourceCreate {\n /**\n * Unique identifier for the stock transfer (numeric).\n * @example ```\"1234\"```\n */\n number?: string | null\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability.\n * @example ```2```\n */\n quantity: number\n\n sku: SkuRel\n origin_stock_location: StockLocationRel\n destination_stock_location: StockLocationRel\n shipment?: ShipmentRel | null\n line_item?: LineItemRel | null\n}\n\ninterface StockTransferUpdate extends ResourceUpdate {\n /**\n * Unique identifier for the stock transfer (numeric).\n * @example ```\"1234\"```\n */\n number?: string | null\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability.\n * @example ```2```\n */\n quantity?: number | null\n /**\n * Send this attribute if you want to mark this stock transfer as upcoming.\n * @example ```true```\n */\n _upcoming?: boolean | null\n /**\n * Send this attribute if you want to put this stock transfer on hold.\n * @example ```true```\n */\n _on_hold?: boolean | null\n /**\n * Send this attribute if you want to start picking this stock transfer.\n * @example ```true```\n */\n _picking?: boolean | null\n /**\n * Send this attribute if you want to mark this stock transfer as in transit.\n * @example ```true```\n */\n _in_transit?: boolean | null\n /**\n * Send this attribute if you want to complete this stock transfer.\n * @example ```true```\n */\n _complete?: boolean | null\n /**\n * Send this attribute if you want to cancel this stock transfer.\n * @example ```true```\n */\n _cancel?: boolean | null\n\n sku?: SkuRel | null\n origin_stock_location?: StockLocationRel | null\n destination_stock_location?: StockLocationRel | null\n shipment?: ShipmentRel | null\n line_item?: LineItemRel | null\n}\n\nclass StockTransfers extends ApiResource<StockTransfer> {\n static readonly TYPE: StockTransferType = 'stock_transfers' as const\n\n async create(\n resource: StockTransferCreate,\n params?: QueryParamsRetrieve<StockTransfer>,\n options?: ResourcesConfig,\n ): Promise<StockTransfer> {\n return this.resources.create<StockTransferCreate, StockTransfer>(\n { ...resource, type: StockTransfers.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: StockTransferUpdate,\n params?: QueryParamsRetrieve<StockTransfer>,\n options?: ResourcesConfig,\n ): Promise<StockTransfer> {\n return this.resources.update<StockTransferUpdate, StockTransfer>(\n { ...resource, type: StockTransfers.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: StockTransfers.TYPE } : id, options)\n }\n\n async sku(\n stockTransferId: string | StockTransfer,\n params?: QueryParamsRetrieve<Sku>,\n options?: ResourcesConfig,\n ): Promise<Sku> {\n const _stockTransferId = (stockTransferId as StockTransfer).id || (stockTransferId as string)\n return this.resources.fetch<Sku>(\n { type: 'skus' },\n `stock_transfers/${_stockTransferId}/sku`,\n params,\n options,\n ) as unknown as Sku\n }\n\n async origin_stock_location(\n stockTransferId: string | StockTransfer,\n params?: QueryParamsRetrieve<StockLocation>,\n options?: ResourcesConfig,\n ): Promise<StockLocation> {\n const _stockTransferId = (stockTransferId as StockTransfer).id || (stockTransferId as string)\n return this.resources.fetch<StockLocation>(\n { type: 'stock_locations' },\n `stock_transfers/${_stockTransferId}/origin_stock_location`,\n params,\n options,\n ) as unknown as StockLocation\n }\n\n async destination_stock_location(\n stockTransferId: string | StockTransfer,\n params?: QueryParamsRetrieve<StockLocation>,\n options?: ResourcesConfig,\n ): Promise<StockLocation> {\n const _stockTransferId = (stockTransferId as StockTransfer).id || (stockTransferId as string)\n return this.resources.fetch<StockLocation>(\n { type: 'stock_locations' },\n `stock_transfers/${_stockTransferId}/destination_stock_location`,\n params,\n options,\n ) as unknown as StockLocation\n }\n\n async shipment(\n stockTransferId: string | StockTransfer,\n params?: QueryParamsRetrieve<Shipment>,\n options?: ResourcesConfig,\n ): Promise<Shipment> {\n const _stockTransferId = (stockTransferId as StockTransfer).id || (stockTransferId as string)\n return this.resources.fetch<Shipment>(\n { type: 'shipments' },\n `stock_transfers/${_stockTransferId}/shipment`,\n params,\n options,\n ) as unknown as Shipment\n }\n\n async line_item(\n stockTransferId: string | StockTransfer,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n const _stockTransferId = (stockTransferId as StockTransfer).id || (stockTransferId as string)\n return this.resources.fetch<LineItem>(\n { type: 'line_items' },\n `stock_transfers/${_stockTransferId}/line_item`,\n params,\n options,\n ) as unknown as LineItem\n }\n\n async stock_reservation(\n stockTransferId: string | StockTransfer,\n params?: QueryParamsRetrieve<StockReservation>,\n options?: ResourcesConfig,\n ): Promise<StockReservation> {\n const _stockTransferId = (stockTransferId as StockTransfer).id || (stockTransferId as string)\n return this.resources.fetch<StockReservation>(\n { type: 'stock_reservations' },\n `stock_transfers/${_stockTransferId}/stock_reservation`,\n params,\n options,\n ) as unknown as StockReservation\n }\n\n async attachments(\n stockTransferId: string | StockTransfer,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _stockTransferId = (stockTransferId as StockTransfer).id || (stockTransferId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `stock_transfers/${_stockTransferId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n stockTransferId: string | StockTransfer,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _stockTransferId = (stockTransferId as StockTransfer).id || (stockTransferId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `stock_transfers/${_stockTransferId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n stockTransferId: string | StockTransfer,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _stockTransferId = (stockTransferId as StockTransfer).id || (stockTransferId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `stock_transfers/${_stockTransferId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _upcoming(\n id: string | StockTransfer,\n params?: QueryParamsRetrieve<StockTransfer>,\n options?: ResourcesConfig,\n ): Promise<StockTransfer> {\n return this.resources.update<StockTransferUpdate, StockTransfer>(\n { id: typeof id === 'string' ? id : id.id, type: StockTransfers.TYPE, _upcoming: true },\n params,\n options,\n )\n }\n\n async _on_hold(\n id: string | StockTransfer,\n params?: QueryParamsRetrieve<StockTransfer>,\n options?: ResourcesConfig,\n ): Promise<StockTransfer> {\n return this.resources.update<StockTransferUpdate, StockTransfer>(\n { id: typeof id === 'string' ? id : id.id, type: StockTransfers.TYPE, _on_hold: true },\n params,\n options,\n )\n }\n\n async _picking(\n id: string | StockTransfer,\n params?: QueryParamsRetrieve<StockTransfer>,\n options?: ResourcesConfig,\n ): Promise<StockTransfer> {\n return this.resources.update<StockTransferUpdate, StockTransfer>(\n { id: typeof id === 'string' ? id : id.id, type: StockTransfers.TYPE, _picking: true },\n params,\n options,\n )\n }\n\n async _in_transit(\n id: string | StockTransfer,\n params?: QueryParamsRetrieve<StockTransfer>,\n options?: ResourcesConfig,\n ): Promise<StockTransfer> {\n return this.resources.update<StockTransferUpdate, StockTransfer>(\n { id: typeof id === 'string' ? id : id.id, type: StockTransfers.TYPE, _in_transit: true },\n params,\n options,\n )\n }\n\n async _complete(\n id: string | StockTransfer,\n params?: QueryParamsRetrieve<StockTransfer>,\n options?: ResourcesConfig,\n ): Promise<StockTransfer> {\n return this.resources.update<StockTransferUpdate, StockTransfer>(\n { id: typeof id === 'string' ? id : id.id, type: StockTransfers.TYPE, _complete: true },\n params,\n options,\n )\n }\n\n async _cancel(\n id: string | StockTransfer,\n params?: QueryParamsRetrieve<StockTransfer>,\n options?: ResourcesConfig,\n ): Promise<StockTransfer> {\n return this.resources.update<StockTransferUpdate, StockTransfer>(\n { id: typeof id === 'string' ? id : id.id, type: StockTransfers.TYPE, _cancel: true },\n params,\n options,\n )\n }\n\n isStockTransfer(resource: any): resource is StockTransfer {\n return resource.type && resource.type === StockTransfers.TYPE\n }\n\n relationship(id: string | ResourceId | null): StockTransferRel {\n return super.relationshipOneToOne<StockTransferRel>(id)\n }\n\n relationshipToMany(...ids: string[]): StockTransferRel[] {\n return super.relationshipOneToMany<StockTransferRel>(...ids)\n }\n\n type(): StockTransferType {\n return StockTransfers.TYPE\n }\n}\n\nconst instance = new StockTransfers()\nexport default instance\n\nexport type { StockTransfer, StockTransferCreate, StockTransfers, StockTransferType, StockTransferUpdate }\n"]}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkANS5U6HN_cjs = require('./chunk-ANS5U6HN.cjs');
|
|
4
|
+
|
|
5
|
+
// gen/resources/customer_groups.ts
|
|
6
|
+
var CustomerGroups = class _CustomerGroups extends chunkANS5U6HN_cjs.ApiResource {
|
|
7
|
+
static TYPE = "customer_groups";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create(
|
|
10
|
+
{ ...resource, type: _CustomerGroups.TYPE },
|
|
11
|
+
params,
|
|
12
|
+
options
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
async update(resource, params, options) {
|
|
16
|
+
return this.resources.update(
|
|
17
|
+
{ ...resource, type: _CustomerGroups.TYPE },
|
|
18
|
+
params,
|
|
19
|
+
options
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
async delete(id, options) {
|
|
23
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CustomerGroups.TYPE } : id, options);
|
|
24
|
+
}
|
|
25
|
+
async customers(customerGroupId, params, options) {
|
|
26
|
+
const _customerGroupId = customerGroupId.id || customerGroupId;
|
|
27
|
+
return this.resources.fetch(
|
|
28
|
+
{ type: "customers" },
|
|
29
|
+
`customer_groups/${_customerGroupId}/customers`,
|
|
30
|
+
params,
|
|
31
|
+
options
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
async markets(customerGroupId, params, options) {
|
|
35
|
+
const _customerGroupId = customerGroupId.id || customerGroupId;
|
|
36
|
+
return this.resources.fetch(
|
|
37
|
+
{ type: "markets" },
|
|
38
|
+
`customer_groups/${_customerGroupId}/markets`,
|
|
39
|
+
params,
|
|
40
|
+
options
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
async attachments(customerGroupId, params, options) {
|
|
44
|
+
const _customerGroupId = customerGroupId.id || customerGroupId;
|
|
45
|
+
return this.resources.fetch(
|
|
46
|
+
{ type: "attachments" },
|
|
47
|
+
`customer_groups/${_customerGroupId}/attachments`,
|
|
48
|
+
params,
|
|
49
|
+
options
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
async event_stores(customerGroupId, params, options) {
|
|
53
|
+
const _customerGroupId = customerGroupId.id || customerGroupId;
|
|
54
|
+
return this.resources.fetch(
|
|
55
|
+
{ type: "event_stores" },
|
|
56
|
+
`customer_groups/${_customerGroupId}/event_stores`,
|
|
57
|
+
params,
|
|
58
|
+
options
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
isCustomerGroup(resource) {
|
|
62
|
+
return resource.type && resource.type === _CustomerGroups.TYPE;
|
|
63
|
+
}
|
|
64
|
+
relationship(id) {
|
|
65
|
+
return super.relationshipOneToOne(id);
|
|
66
|
+
}
|
|
67
|
+
relationshipToMany(...ids) {
|
|
68
|
+
return super.relationshipOneToMany(...ids);
|
|
69
|
+
}
|
|
70
|
+
type() {
|
|
71
|
+
return _CustomerGroups.TYPE;
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
var instance = new CustomerGroups();
|
|
75
|
+
var customer_groups_default = instance;
|
|
76
|
+
|
|
77
|
+
exports.customer_groups_default = customer_groups_default;
|
|
78
|
+
//# sourceMappingURL=chunk-UTXFDPKF.cjs.map
|
|
79
|
+
//# sourceMappingURL=chunk-UTXFDPKF.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/customer_groups.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-UTXFDPKF.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { Customer } from './customers'\nimport type { EventStore } from './event_stores'\nimport type { Market } from './markets'\n\ntype CustomerGroupType = 'customer_groups'\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\n\nexport type CustomerGroupSort = Pick<CustomerGroup, 'id' | 'name' | 'code'> & ResourceSort\n// export type CustomerGroupFilter = Pick<CustomerGroup, 'id' | 'name' | 'code'> & ResourceFilter\n\n/**\n * The Customer group object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/customer_groups endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/customer_groups/object\n */\ninterface CustomerGroup extends Resource {\n readonly type: CustomerGroupType\n\n /**\n * The customer group's internal name.\n * @example ```\"VIP\"```\n */\n name: string\n /**\n * A string that you can use to identify the customer group (must be unique within the environment).\n * @example ```\"vip1\"```\n */\n code?: string | null\n\n customers?: Customer[] | null\n markets?: Market[] | null\n attachments?: Attachment[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomerGroupCreate extends ResourceCreate {\n /**\n * The customer group's internal name.\n * @example ```\"VIP\"```\n */\n name: string\n /**\n * A string that you can use to identify the customer group (must be unique within the environment).\n * @example ```\"vip1\"```\n */\n code?: string | null\n}\n\ninterface CustomerGroupUpdate extends ResourceUpdate {\n /**\n * The customer group's internal name.\n * @example ```\"VIP\"```\n */\n name?: string | null\n /**\n * A string that you can use to identify the customer group (must be unique within the environment).\n * @example ```\"vip1\"```\n */\n code?: string | null\n}\n\nclass CustomerGroups extends ApiResource<CustomerGroup> {\n static readonly TYPE: CustomerGroupType = 'customer_groups' as const\n\n async create(\n resource: CustomerGroupCreate,\n params?: QueryParamsRetrieve<CustomerGroup>,\n options?: ResourcesConfig,\n ): Promise<CustomerGroup> {\n return this.resources.create<CustomerGroupCreate, CustomerGroup>(\n { ...resource, type: CustomerGroups.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CustomerGroupUpdate,\n params?: QueryParamsRetrieve<CustomerGroup>,\n options?: ResourcesConfig,\n ): Promise<CustomerGroup> {\n return this.resources.update<CustomerGroupUpdate, CustomerGroup>(\n { ...resource, type: CustomerGroups.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: CustomerGroups.TYPE } : id, options)\n }\n\n async customers(\n customerGroupId: string | CustomerGroup,\n params?: QueryParamsList<Customer>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Customer>> {\n const _customerGroupId = (customerGroupId as CustomerGroup).id || (customerGroupId as string)\n return this.resources.fetch<Customer>(\n { type: 'customers' },\n `customer_groups/${_customerGroupId}/customers`,\n params,\n options,\n ) as unknown as ListResponse<Customer>\n }\n\n async markets(\n customerGroupId: string | CustomerGroup,\n params?: QueryParamsList<Market>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Market>> {\n const _customerGroupId = (customerGroupId as CustomerGroup).id || (customerGroupId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `customer_groups/${_customerGroupId}/markets`,\n params,\n options,\n ) as unknown as ListResponse<Market>\n }\n\n async attachments(\n customerGroupId: string | CustomerGroup,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _customerGroupId = (customerGroupId as CustomerGroup).id || (customerGroupId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `customer_groups/${_customerGroupId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async event_stores(\n customerGroupId: string | CustomerGroup,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customerGroupId = (customerGroupId as CustomerGroup).id || (customerGroupId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `customer_groups/${_customerGroupId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isCustomerGroup(resource: any): resource is CustomerGroup {\n return resource.type && resource.type === CustomerGroups.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomerGroupRel {\n return super.relationshipOneToOne<CustomerGroupRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomerGroupRel[] {\n return super.relationshipOneToMany<CustomerGroupRel>(...ids)\n }\n\n type(): CustomerGroupType {\n return CustomerGroups.TYPE\n }\n}\n\nconst instance = new CustomerGroups()\nexport default instance\n\nexport type { CustomerGroup, CustomerGroupCreate, CustomerGroups, CustomerGroupType, CustomerGroupUpdate }\n"]}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkANS5U6HN_cjs = require('./chunk-ANS5U6HN.cjs');
|
|
4
|
+
|
|
5
|
+
// gen/resources/custom_promotion_rules.ts
|
|
6
|
+
var CustomPromotionRules = class _CustomPromotionRules extends chunkANS5U6HN_cjs.ApiResource {
|
|
7
|
+
static TYPE = "custom_promotion_rules";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create(
|
|
10
|
+
{ ...resource, type: _CustomPromotionRules.TYPE },
|
|
11
|
+
params,
|
|
12
|
+
options
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
async update(resource, params, options) {
|
|
16
|
+
return this.resources.update(
|
|
17
|
+
{ ...resource, type: _CustomPromotionRules.TYPE },
|
|
18
|
+
params,
|
|
19
|
+
options
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
async delete(id, options) {
|
|
23
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CustomPromotionRules.TYPE } : id, options);
|
|
24
|
+
}
|
|
25
|
+
async event_stores(customPromotionRuleId, params, options) {
|
|
26
|
+
const _customPromotionRuleId = customPromotionRuleId.id || customPromotionRuleId;
|
|
27
|
+
return this.resources.fetch(
|
|
28
|
+
{ type: "event_stores" },
|
|
29
|
+
`custom_promotion_rules/${_customPromotionRuleId}/event_stores`,
|
|
30
|
+
params,
|
|
31
|
+
options
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
isCustomPromotionRule(resource) {
|
|
35
|
+
return resource.type && resource.type === _CustomPromotionRules.TYPE;
|
|
36
|
+
}
|
|
37
|
+
relationship(id) {
|
|
38
|
+
return super.relationshipOneToOne(id);
|
|
39
|
+
}
|
|
40
|
+
relationshipToMany(...ids) {
|
|
41
|
+
return super.relationshipOneToMany(...ids);
|
|
42
|
+
}
|
|
43
|
+
type() {
|
|
44
|
+
return _CustomPromotionRules.TYPE;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
var instance = new CustomPromotionRules();
|
|
48
|
+
var custom_promotion_rules_default = instance;
|
|
49
|
+
|
|
50
|
+
exports.custom_promotion_rules_default = custom_promotion_rules_default;
|
|
51
|
+
//# sourceMappingURL=chunk-UUIBIS6X.cjs.map
|
|
52
|
+
//# sourceMappingURL=chunk-UUIBIS6X.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/custom_promotion_rules.ts"],"names":["ApiResource"],"mappings":";;;;;AAoGA,IAAM,oBAAA,GAAN,MAAM,qBAAA,SAA6BA,6BAAA,CAAiC;AAAA,EAClE,OAAgB,IAAA,GAAgC,wBAAA;AAAA,EAEhD,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC8B;AAC9B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,sBAAqB,IAAA,EAAK;AAAA,MAC/C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC8B;AAC9B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,sBAAqB,IAAA,EAAK;AAAA,MAC/C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,qBAAA,CAAqB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC5G;AAAA,EAEA,MAAM,YAAA,CACJ,qBAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,sBAAA,GACH,sBAA8C,EAAA,IAAO,qBAAA;AACxD,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,0BAA0B,sBAAsB,CAAA,aAAA,CAAA;AAAA,MAChD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,sBAAsB,QAAA,EAAgD;AACpE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,qBAAA,CAAqB,IAAA;AAAA,EACjE;AAAA,EAEA,aAAa,EAAA,EAAwD;AACnE,IAAA,OAAO,KAAA,CAAM,qBAA6C,EAAE,CAAA;AAAA,EAC9D;AAAA,EAEA,sBAAsB,GAAA,EAAyC;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA8C,GAAG,GAAG,CAAA;AAAA,EACnE;AAAA,EAEA,IAAA,GAAgC;AAC9B,IAAA,OAAO,qBAAA,CAAqB,IAAA;AAAA,EAC9B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,oBAAA,EAAqB;AAC1C,IAAO,8BAAA,GAAQ","file":"chunk-UUIBIS6X.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { BuyXPayYPromotion, BuyXPayYPromotionType } from './buy_x_pay_y_promotions'\nimport type { EventStore } from './event_stores'\nimport type { ExternalPromotion, ExternalPromotionType } from './external_promotions'\nimport type { FixedAmountPromotion, FixedAmountPromotionType } from './fixed_amount_promotions'\nimport type { FixedPricePromotion, FixedPricePromotionType } from './fixed_price_promotions'\nimport type { FlexPromotion, FlexPromotionType } from './flex_promotions'\nimport type { FreeGiftPromotion, FreeGiftPromotionType } from './free_gift_promotions'\nimport type { FreeShippingPromotion, FreeShippingPromotionType } from './free_shipping_promotions'\nimport type { PercentageDiscountPromotion, PercentageDiscountPromotionType } from './percentage_discount_promotions'\n\ntype CustomPromotionRuleType = 'custom_promotion_rules'\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype PercentageDiscountPromotionRel = ResourceRel & { type: PercentageDiscountPromotionType }\ntype FreeShippingPromotionRel = ResourceRel & { type: FreeShippingPromotionType }\ntype BuyXPayYPromotionRel = ResourceRel & { type: BuyXPayYPromotionType }\ntype FreeGiftPromotionRel = ResourceRel & { type: FreeGiftPromotionType }\ntype FixedPricePromotionRel = ResourceRel & { type: FixedPricePromotionType }\ntype ExternalPromotionRel = ResourceRel & { type: ExternalPromotionType }\ntype FixedAmountPromotionRel = ResourceRel & { type: FixedAmountPromotionType }\ntype FlexPromotionRel = ResourceRel & { type: FlexPromotionType }\n\nexport type CustomPromotionRuleSort = Pick<CustomPromotionRule, 'id'> & ResourceSort\n// export type CustomPromotionRuleFilter = Pick<CustomPromotionRule, 'id'> & ResourceFilter\n\n/**\n * The Custom promotion rule object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/custom_promotion_rules endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/custom_promotion_rules/object\n */\ninterface CustomPromotionRule extends Resource {\n readonly type: CustomPromotionRuleType\n\n /**\n * The filters used to trigger promotion on the matching order and its relationships attributes.\n * @example ```{\"status_eq\":\"pending\",\"line_items_sku_code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n\n promotion?:\n | PercentageDiscountPromotion\n | FreeShippingPromotion\n | BuyXPayYPromotion\n | FreeGiftPromotion\n | FixedPricePromotion\n | ExternalPromotion\n | FixedAmountPromotion\n | FlexPromotion\n | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomPromotionRuleCreate extends ResourceCreate {\n /**\n * The filters used to trigger promotion on the matching order and its relationships attributes.\n * @example ```{\"status_eq\":\"pending\",\"line_items_sku_code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n\n promotion:\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n}\n\ninterface CustomPromotionRuleUpdate extends ResourceUpdate {\n /**\n * The filters used to trigger promotion on the matching order and its relationships attributes.\n * @example ```{\"status_eq\":\"pending\",\"line_items_sku_code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n\n promotion?:\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n | null\n}\n\nclass CustomPromotionRules extends ApiResource<CustomPromotionRule> {\n static readonly TYPE: CustomPromotionRuleType = 'custom_promotion_rules' as const\n\n async create(\n resource: CustomPromotionRuleCreate,\n params?: QueryParamsRetrieve<CustomPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CustomPromotionRule> {\n return this.resources.create<CustomPromotionRuleCreate, CustomPromotionRule>(\n { ...resource, type: CustomPromotionRules.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CustomPromotionRuleUpdate,\n params?: QueryParamsRetrieve<CustomPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CustomPromotionRule> {\n return this.resources.update<CustomPromotionRuleUpdate, CustomPromotionRule>(\n { ...resource, type: CustomPromotionRules.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: CustomPromotionRules.TYPE } : id, options)\n }\n\n async event_stores(\n customPromotionRuleId: string | CustomPromotionRule,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customPromotionRuleId =\n (customPromotionRuleId as CustomPromotionRule).id || (customPromotionRuleId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `custom_promotion_rules/${_customPromotionRuleId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isCustomPromotionRule(resource: any): resource is CustomPromotionRule {\n return resource.type && resource.type === CustomPromotionRules.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomPromotionRuleRel {\n return super.relationshipOneToOne<CustomPromotionRuleRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomPromotionRuleRel[] {\n return super.relationshipOneToMany<CustomPromotionRuleRel>(...ids)\n }\n\n type(): CustomPromotionRuleType {\n return CustomPromotionRules.TYPE\n }\n}\n\nconst instance = new CustomPromotionRules()\nexport default instance\n\nexport type {\n CustomPromotionRule,\n CustomPromotionRuleCreate,\n CustomPromotionRules,\n CustomPromotionRuleType,\n CustomPromotionRuleUpdate,\n}\n"]}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-W3KXJFVJ.js';
|
|
2
|
+
|
|
3
|
+
// gen/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(
|
|
18
|
+
{ type: "events" },
|
|
19
|
+
`exports/${_exportId}/events`,
|
|
20
|
+
params,
|
|
21
|
+
options
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
async event_stores(exportId, params, options) {
|
|
25
|
+
const _exportId = exportId.id || exportId;
|
|
26
|
+
return this.resources.fetch(
|
|
27
|
+
{ type: "event_stores" },
|
|
28
|
+
`exports/${_exportId}/event_stores`,
|
|
29
|
+
params,
|
|
30
|
+
options
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
async _start(id, params, options) {
|
|
34
|
+
return this.resources.update(
|
|
35
|
+
{ id: typeof id === "string" ? id : id.id, type: _Exports.TYPE, _start: true },
|
|
36
|
+
params,
|
|
37
|
+
options
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
async _interrupt(id, params, options) {
|
|
41
|
+
return this.resources.update(
|
|
42
|
+
{ id: typeof id === "string" ? id : id.id, type: _Exports.TYPE, _interrupt: true },
|
|
43
|
+
params,
|
|
44
|
+
options
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
isExport(resource) {
|
|
48
|
+
return resource.type && resource.type === _Exports.TYPE;
|
|
49
|
+
}
|
|
50
|
+
relationship(id) {
|
|
51
|
+
return super.relationshipOneToOne(id);
|
|
52
|
+
}
|
|
53
|
+
relationshipToMany(...ids) {
|
|
54
|
+
return super.relationshipOneToMany(...ids);
|
|
55
|
+
}
|
|
56
|
+
type() {
|
|
57
|
+
return _Exports.TYPE;
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
var instance = new Exports();
|
|
61
|
+
var exports_default = instance;
|
|
62
|
+
|
|
63
|
+
export { exports_default };
|
|
64
|
+
//# sourceMappingURL=chunk-V7ZC3G5B.js.map
|
|
65
|
+
//# sourceMappingURL=chunk-V7ZC3G5B.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/exports.ts"],"names":[],"mappings":"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","file":"chunk-V7ZC3G5B.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\n\ntype ExportType = 'exports'\ntype ExportRel = ResourceRel & { type: ExportType }\n\nexport type ExportSort = Pick<\n Export,\n | 'id'\n | 'resource_type'\n | 'format'\n | 'status'\n | 'started_at'\n | 'completed_at'\n | 'interrupted_at'\n | 'records_count'\n | 'processed_count'\n | 'attachment_url'\n> &\n 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/**\n * The Export object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/exports endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/exports/object\n */\ninterface Export extends Resource {\n readonly type: ExportType\n\n /**\n * The type of resource being exported. One of 'applications', 'event_stores', '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 * @example ```\"skus\"```\n */\n resource_type:\n | 'applications'\n | 'event_stores'\n | 'addresses'\n | 'geocoders'\n | 'events'\n | 'tags'\n | 'adjustments'\n | 'price_lists'\n | 'payment_gateways'\n | 'payment_methods'\n | 'markets'\n | 'customer_groups'\n | 'line_items'\n | 'discount_engine_items'\n | 'promotions'\n | 'adyen_payments'\n | 'orders'\n | 'transactions'\n | 'order_factories'\n | 'attachments'\n | 'tax_calculators'\n | 'tax_categories'\n | 'skus'\n | 'shipping_categories'\n | 'axerve_payments'\n | 'order_validation_rules'\n | 'braintree_payments'\n | 'bundles'\n | 'sku_lists'\n | 'sku_list_items'\n | 'stock_items'\n | 'stock_locations'\n | 'promotion_rules'\n | 'coupons'\n | 'returns'\n | 'carrier_accounts'\n | 'checkout_com_payments'\n | 'customers'\n | 'customer_addresses'\n | 'customer_payment_sources'\n | 'customer_subscriptions'\n | 'order_subscriptions'\n | 'customer_password_resets'\n | 'delivery_lead_times'\n | 'shipping_methods'\n | 'shipments'\n | 'discount_engines'\n | 'pickups'\n | 'parcels'\n | 'webhooks'\n | 'event_callbacks'\n | 'external_payments'\n | 'gift_cards'\n | 'in_stock_subscriptions'\n | 'inventory_models'\n | 'inventory_stock_locations'\n | 'inventory_return_locations'\n | 'klarna_payments'\n | 'line_item_options'\n | 'return_line_items'\n | 'stock_line_items'\n | 'stock_reservations'\n | 'stock_transfers'\n | 'notifications'\n | 'sku_options'\n | 'links'\n | 'tax_rules'\n | 'merchants'\n | 'subscription_models'\n | 'stores'\n | 'price_list_schedulers'\n | 'order_subscription_items'\n | 'payment_options'\n | 'resource_errors'\n | 'paypal_payments'\n | 'packages'\n | 'parcel_line_items'\n | 'prices'\n | 'price_tiers'\n | 'reserved_stocks'\n | 'satispay_payments'\n | 'shipping_method_tiers'\n | 'shipping_zones'\n | 'stripe_payments'\n | 'wire_transfers'\n /**\n * The format of the export. One of 'csv', or 'json' (default).\n * @example ```\"json\"```\n */\n format?: 'csv' | 'json' | null\n /**\n * The export job status. One of 'pending' (default), 'in_progress', 'interrupted', 'completed', or 'failed'.\n * @example ```\"in_progress\"```\n */\n status: 'pending' | 'in_progress' | 'interrupted' | 'completed' | 'failed'\n /**\n * List of related resources that should be included in the export (redundant when 'fields' are specified).\n * @example ```[\"prices.price_tiers\"]```\n */\n includes?: string[] | null\n /**\n * 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 * @example ```[\"code\",\"name\",\"prices.*\",\"prices.price_tiers.price_amount_cents\"]```\n */\n fields?: string[] | null\n /**\n * The filters used to select the records to be exported.\n * @example ```{\"code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n /**\n * 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 */\n dry_data?: boolean | null\n /**\n * Send this attribute to apply JWT scope–based sales channel filtering to the exported data.\n * @example ```true```\n */\n jwt_filters?: boolean | null\n /**\n * Time at which the export was started.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n started_at?: string | null\n /**\n * Time at which the export was completed.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n completed_at?: string | null\n /**\n * Estimated time at which the export should complete (dynamically refres^hed).\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n estimated_completion_at?: string | null\n /**\n * Time at which the export was interrupted.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n interrupted_at?: string | null\n /**\n * Indicates the number of records to be exported. While the export is in progress this value may be an estimate; it is set to the exact count when the export completes.\n * @example ```300```\n */\n records_count?: number | null\n /**\n * Indicates how many records have been processed in real time.\n * @example ```270```\n */\n processed_count?: number | null\n /**\n * The percentage of progress of the export.\n * @example ```30```\n */\n progress?: number | null\n /**\n * The URL to the output file, which will be generated upon export completion.\n * @example ```\"http://cl_exports.s3.amazonaws.com/\"```\n */\n attachment_url?: string | null\n /**\n * Contains the exports errors, if any.\n * @example ```{\"RuntimeError\":\"query timeout\"}```\n */\n errors_log?: Record<string, any> | null\n\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface ExportCreate extends ResourceCreate {\n /**\n * The type of resource being exported. One of 'applications', 'event_stores', '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 * @example ```\"skus\"```\n */\n resource_type:\n | 'applications'\n | 'event_stores'\n | 'addresses'\n | 'geocoders'\n | 'events'\n | 'tags'\n | 'adjustments'\n | 'price_lists'\n | 'payment_gateways'\n | 'payment_methods'\n | 'markets'\n | 'customer_groups'\n | 'line_items'\n | 'discount_engine_items'\n | 'promotions'\n | 'adyen_payments'\n | 'orders'\n | 'transactions'\n | 'order_factories'\n | 'attachments'\n | 'tax_calculators'\n | 'tax_categories'\n | 'skus'\n | 'shipping_categories'\n | 'axerve_payments'\n | 'order_validation_rules'\n | 'braintree_payments'\n | 'bundles'\n | 'sku_lists'\n | 'sku_list_items'\n | 'stock_items'\n | 'stock_locations'\n | 'promotion_rules'\n | 'coupons'\n | 'returns'\n | 'carrier_accounts'\n | 'checkout_com_payments'\n | 'customers'\n | 'customer_addresses'\n | 'customer_payment_sources'\n | 'customer_subscriptions'\n | 'order_subscriptions'\n | 'customer_password_resets'\n | 'delivery_lead_times'\n | 'shipping_methods'\n | 'shipments'\n | 'discount_engines'\n | 'pickups'\n | 'parcels'\n | 'webhooks'\n | 'event_callbacks'\n | 'external_payments'\n | 'gift_cards'\n | 'in_stock_subscriptions'\n | 'inventory_models'\n | 'inventory_stock_locations'\n | 'inventory_return_locations'\n | 'klarna_payments'\n | 'line_item_options'\n | 'return_line_items'\n | 'stock_line_items'\n | 'stock_reservations'\n | 'stock_transfers'\n | 'notifications'\n | 'sku_options'\n | 'links'\n | 'tax_rules'\n | 'merchants'\n | 'subscription_models'\n | 'stores'\n | 'price_list_schedulers'\n | 'order_subscription_items'\n | 'payment_options'\n | 'resource_errors'\n | 'paypal_payments'\n | 'packages'\n | 'parcel_line_items'\n | 'prices'\n | 'price_tiers'\n | 'reserved_stocks'\n | 'satispay_payments'\n | 'shipping_method_tiers'\n | 'shipping_zones'\n | 'stripe_payments'\n | 'wire_transfers'\n /**\n * The format of the export. One of 'csv', or 'json' (default).\n * @example ```\"json\"```\n */\n format?: 'csv' | 'json' | null\n /**\n * List of related resources that should be included in the export (redundant when 'fields' are specified).\n * @example ```[\"prices.price_tiers\"]```\n */\n includes?: string[] | null\n /**\n * 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 * @example ```[\"code\",\"name\",\"prices.*\",\"prices.price_tiers.price_amount_cents\"]```\n */\n fields?: string[] | null\n /**\n * The filters used to select the records to be exported.\n * @example ```{\"code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n /**\n * 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 */\n dry_data?: boolean | null\n /**\n * Send this attribute to apply JWT scope–based sales channel filtering to the exported data.\n * @example ```true```\n */\n jwt_filters?: boolean | null\n}\n\ninterface ExportUpdate extends ResourceUpdate {\n /**\n * Send this attribute if you want to restart an 'interrupted' export.\n * @example ```true```\n */\n _start?: boolean | null\n /**\n * Send this attribute if you want to mark status as 'interrupted'.\n * @example ```true```\n */\n _interrupt?: boolean | null\n}\n\nclass Exports extends ApiResource<Export> {\n static readonly TYPE: ExportType = 'exports' as const\n\n async create(\n resource: ExportCreate,\n params?: QueryParamsRetrieve<Export>,\n options?: ResourcesConfig,\n ): Promise<Export> {\n return this.resources.create<ExportCreate, Export>({ ...resource, type: Exports.TYPE }, params, options)\n }\n\n async update(\n resource: ExportUpdate,\n params?: QueryParamsRetrieve<Export>,\n options?: ResourcesConfig,\n ): Promise<Export> {\n return this.resources.update<ExportUpdate, Export>({ ...resource, type: Exports.TYPE }, params, options)\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: Exports.TYPE } : id, options)\n }\n\n async events(\n exportId: string | Export,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _exportId = (exportId as Export).id || (exportId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `exports/${_exportId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n exportId: string | Export,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _exportId = (exportId as Export).id || (exportId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `exports/${_exportId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _start(id: string | Export, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export> {\n return this.resources.update<ExportUpdate, Export>(\n { id: typeof id === 'string' ? id : id.id, type: Exports.TYPE, _start: true },\n params,\n options,\n )\n }\n\n async _interrupt(\n id: string | Export,\n params?: QueryParamsRetrieve<Export>,\n options?: ResourcesConfig,\n ): Promise<Export> {\n return this.resources.update<ExportUpdate, Export>(\n { id: typeof id === 'string' ? id : id.id, type: Exports.TYPE, _interrupt: true },\n params,\n options,\n )\n }\n\n isExport(resource: any): resource is Export {\n return resource.type && resource.type === Exports.TYPE\n }\n\n relationship(id: string | ResourceId | null): ExportRel {\n return super.relationshipOneToOne<ExportRel>(id)\n }\n\n relationshipToMany(...ids: string[]): ExportRel[] {\n return super.relationshipOneToMany<ExportRel>(...ids)\n }\n\n type(): ExportType {\n return Exports.TYPE\n }\n}\n\nconst instance = new Exports()\nexport default instance\n\nexport type { Export, ExportCreate, Exports, ExportType, ExportUpdate }\n"]}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-W3KXJFVJ.js';
|
|
2
|
+
|
|
3
|
+
// gen/resources/price_tiers.ts
|
|
4
|
+
var PriceTiers = class _PriceTiers extends ApiResource {
|
|
5
|
+
static TYPE = "price_tiers";
|
|
6
|
+
async price(priceTierId, params, options) {
|
|
7
|
+
const _priceTierId = priceTierId.id || priceTierId;
|
|
8
|
+
return this.resources.fetch(
|
|
9
|
+
{ type: "prices" },
|
|
10
|
+
`price_tiers/${_priceTierId}/price`,
|
|
11
|
+
params,
|
|
12
|
+
options
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
async attachments(priceTierId, params, options) {
|
|
16
|
+
const _priceTierId = priceTierId.id || priceTierId;
|
|
17
|
+
return this.resources.fetch(
|
|
18
|
+
{ type: "attachments" },
|
|
19
|
+
`price_tiers/${_priceTierId}/attachments`,
|
|
20
|
+
params,
|
|
21
|
+
options
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
async event_stores(priceTierId, params, options) {
|
|
25
|
+
const _priceTierId = priceTierId.id || priceTierId;
|
|
26
|
+
return this.resources.fetch(
|
|
27
|
+
{ type: "event_stores" },
|
|
28
|
+
`price_tiers/${_priceTierId}/event_stores`,
|
|
29
|
+
params,
|
|
30
|
+
options
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
isPriceTier(resource) {
|
|
34
|
+
return !!resource.type && (resource.type === _PriceTiers.TYPE || ["price_frequency_tiers", "price_volume_tiers"].includes(resource.type));
|
|
35
|
+
}
|
|
36
|
+
relationship(id) {
|
|
37
|
+
return super.relationshipOneToOne(id);
|
|
38
|
+
}
|
|
39
|
+
relationshipToMany(...ids) {
|
|
40
|
+
return super.relationshipOneToMany(...ids);
|
|
41
|
+
}
|
|
42
|
+
type() {
|
|
43
|
+
return _PriceTiers.TYPE;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
var instance = new PriceTiers();
|
|
47
|
+
var price_tiers_default = instance;
|
|
48
|
+
|
|
49
|
+
export { price_tiers_default };
|
|
50
|
+
//# sourceMappingURL=chunk-VJQUG5QC.js.map
|
|
51
|
+
//# sourceMappingURL=chunk-VJQUG5QC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/price_tiers.ts"],"names":[],"mappings":";;;AA+DA,IAAM,UAAA,GAAN,MAAM,WAAA,SAAmB,WAAA,CAAuB;AAAA,EAC9C,OAAgB,IAAA,GAAsB,aAAA;AAAA,EAEtC,MAAM,KAAA,CACJ,WAAA,EACA,MAAA,EACA,OAAA,EACgB;AAChB,IAAA,MAAM,YAAA,GAAgB,YAA0B,EAAA,IAAO,WAAA;AACvD,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,QAAA,EAAS;AAAA,MACjB,eAAe,YAAY,CAAA,MAAA,CAAA;AAAA,MAC3B,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,WAAA,CACJ,WAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,YAAA,GAAgB,YAA0B,EAAA,IAAO,WAAA;AACvD,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,aAAA,EAAc;AAAA,MACtB,eAAe,YAAY,CAAA,YAAA,CAAA;AAAA,MAC3B,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,WAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,YAAA,GAAgB,YAA0B,EAAA,IAAO,WAAA;AACvD,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,eAAe,YAAY,CAAA,aAAA,CAAA;AAAA,MAC3B,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,YAAY,QAAA,EAAsC;AAChD,IAAA,OACE,CAAC,CAAC,QAAA,CAAS,IAAA,KACV,SAAS,IAAA,KAAS,WAAA,CAAW,IAAA,IAAQ,CAAC,uBAAA,EAAyB,oBAAoB,CAAA,CAAE,QAAA,CAAS,SAAS,IAAI,CAAA,CAAA;AAAA,EAEhH;AAAA,EAEA,aAAa,EAAA,EAA8C;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAmC,EAAE,CAAA;AAAA,EACpD;AAAA,EAEA,sBAAsB,GAAA,EAA+B;AACnD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAoC,GAAG,GAAG,CAAA;AAAA,EACzD;AAAA,EAEA,IAAA,GAAsB;AACpB,IAAA,OAAO,WAAA,CAAW,IAAA;AAAA,EACpB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,UAAA,EAAW;AAChC,IAAO,mBAAA,GAAQ","file":"chunk-VJQUG5QC.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { PriceFrequencyTier } from './price_frequency_tiers'\nimport type { PriceVolumeTier } from './price_volume_tiers'\nimport type { Price } from './prices'\n\ntype PriceTierType = 'price_tiers' | 'price_frequency_tiers' | 'price_volume_tiers'\ntype PriceTierRel = ResourceRel & { type: PriceTierType }\n\nexport type PriceTierSort = Pick<PriceTierBase, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceSort\n// export type PriceTierFilter = Pick<PriceTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceFilter\n\n/**\n * The Price tier object is returned as part of the response body of each successful list or retrieve API call to the /api/price_tiers endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/price_tiers/object\n */\ntype PriceTier = PriceFrequencyTier | PriceVolumeTier\n\ninterface PriceTierBase extends Resource {\n readonly type: PriceTierType\n\n /**\n * The price tier's name.\n * @example ```\"six pack\"```\n */\n name: string\n /**\n * The tier upper limit. When 'null' it means infinity (useful to have an always matching tier).\n * @example ```20.5```\n */\n up_to?: number | null\n /**\n * The price of this price tier, in cents.\n * @example ```1000```\n */\n price_amount_cents: number\n /**\n * The price of this price tier, float.\n * @example ```10```\n */\n price_amount_float?: number | null\n /**\n * The price of this price tier, formatted.\n * @example ```\"€10,00\"```\n */\n formatted_price_amount?: string | null\n\n price?: Price | null\n attachments?: Attachment[] | null\n event_stores?: EventStore[] | null\n}\n\nclass PriceTiers extends ApiResource<PriceTier> {\n static readonly TYPE: PriceTierType = 'price_tiers' as const\n\n async price(\n priceTierId: string | PriceTier,\n params?: QueryParamsRetrieve<Price>,\n options?: ResourcesConfig,\n ): Promise<Price> {\n const _priceTierId = (priceTierId as PriceTier).id || (priceTierId as string)\n return this.resources.fetch<Price>(\n { type: 'prices' },\n `price_tiers/${_priceTierId}/price`,\n params,\n options,\n ) as unknown as Price\n }\n\n async attachments(\n priceTierId: string | PriceTier,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _priceTierId = (priceTierId as PriceTier).id || (priceTierId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `price_tiers/${_priceTierId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async event_stores(\n priceTierId: string | PriceTier,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _priceTierId = (priceTierId as PriceTier).id || (priceTierId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `price_tiers/${_priceTierId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isPriceTier(resource: any): resource is PriceTier {\n return (\n !!resource.type &&\n (resource.type === PriceTiers.TYPE || ['price_frequency_tiers', 'price_volume_tiers'].includes(resource.type))\n )\n }\n\n relationship(id: string | ResourceId | null): PriceTierRel {\n return super.relationshipOneToOne<PriceTierRel>(id)\n }\n\n relationshipToMany(...ids: string[]): PriceTierRel[] {\n return super.relationshipOneToMany<PriceTierRel>(...ids)\n }\n\n type(): PriceTierType {\n return PriceTiers.TYPE\n }\n}\n\nconst instance = new PriceTiers()\nexport default instance\n\nexport type { PriceTier, PriceTiers, PriceTierType }\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// package.json
|
|
4
|
+
var package_default = {
|
|
5
|
+
version: "8.0.0-beta.14"};
|
|
6
|
+
|
|
7
|
+
// gen/version.ts
|
|
8
|
+
var SDK_VERSION = package_default.version;
|
|
9
|
+
var API_SCHEMA_VERSION = "latest";
|
|
10
|
+
var API_SUPPORTED_VERSIONS = [];
|
|
11
|
+
|
|
12
|
+
exports.API_SCHEMA_VERSION = API_SCHEMA_VERSION;
|
|
13
|
+
exports.API_SUPPORTED_VERSIONS = API_SUPPORTED_VERSIONS;
|
|
14
|
+
exports.SDK_VERSION = SDK_VERSION;
|
|
15
|
+
//# sourceMappingURL=chunk-VK4LIX4D.cjs.map
|
|
16
|
+
//# sourceMappingURL=chunk-VK4LIX4D.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../package.json","../gen/version.ts"],"names":[],"mappings":";;;AAAA,IAAA,eAAA,GAAA;AAAA,EAEE,OAAA,EAAW,eAiGb,CAAA;;;ACjGO,IAAM,cAAsB,eAAA,CAAI;AAGhC,IAAM,kBAAA,GAA6B;AAGnC,IAAM,yBAAyB","file":"chunk-VK4LIX4D.cjs","sourcesContent":["{\n \"name\": \"@commercelayer/sdk\",\n \"version\": \"8.0.0-beta.14\",\n \"main\": \"lib/index.cjs\",\n \"types\": \"lib/index.d.ts\",\n \"module\": \"lib/index.js\",\n \"type\": \"module\",\n \"sideEffects\": false,\n \"exports\": {\n \".\": {\n \"import\": {\n \"types\": \"./lib/index.d.ts\",\n \"default\": \"./lib/index.js\"\n },\n \"require\": {\n \"types\": \"./lib/index.d.cts\",\n \"default\": \"./lib/index.cjs\"\n }\n },\n \"./single-client\": {\n \"import\": {\n \"types\": \"./lib/single-client.d.ts\",\n \"default\": \"./lib/single-client.js\"\n },\n \"require\": {\n \"types\": \"./lib/single-client.d.cts\",\n \"default\": \"./lib/single-client.cjs\"\n }\n },\n \"./bundle\": {\n \"import\": {\n \"types\": \"./lib/bundle-compat.d.ts\",\n \"default\": \"./lib/bundle-compat.js\"\n },\n \"require\": {\n \"types\": \"./lib/bundle-compat.d.cts\",\n \"default\": \"./lib/bundle-compat.cjs\"\n }\n }\n },\n \"scripts\": {\n \"build\": \"tsup\",\n \"generate\": \"tsx ../sdk-generator/src/generator.ts && pnpm check\",\n \"generate-local\": \"tsx ../sdk-generator/src/generator.ts --local && pnpm check\",\n \"lint\": \"biome check --enforce-assist=true\",\n \"check\": \"biome check --enforce-assist=true --write\",\n \"ts:check\": \"tsc --noEmit -p tsconfig.json\",\n \"test\": \"vitest\",\n \"test-local\": \"tsx test/spot.ts\",\n \"coverage\": \"vitest run --coverage\",\n \"verify:pack\": \"publint && attw --pack .\"\n },\n \"keywords\": [\n \"javascript\",\n \"ecommerce\",\n \"jamstack\",\n \"commercelayer\"\n ],\n \"author\": \"Pierluigi Viti <pierluigi@commercelayer.io>\",\n \"license\": \"MIT\",\n \"description\": \"Commerce Layer Javascript SDK\",\n \"files\": [\n \"lib/**/*\"\n ],\n \"engines\": {\n \"node\": \">=20\"\n },\n \"devDependencies\": {\n \"@arethetypeswrong/cli\": \"^0.18.5\",\n \"@biomejs/biome\": \"^2.5.14\",\n \"@commercelayer/js-auth\": \"^8.0.1\",\n \"@commercelayer/sdk-generator\": \"workspace:*\",\n \"@types/debug\": \"^4.1.13\",\n \"@types/node\": \"^25.9.8\",\n \"@vitest/coverage-v8\": \"^5.0.2\",\n \"dotenv\": \"^18.0.4\",\n \"json-typescript\": \"^1.1.2\",\n \"jsonapi-typescript\": \"^0.1.3\",\n \"publint\": \"^0.3.24\",\n \"tsup\": \"^8.5.1\",\n \"tsx\": \"^4.23.15\",\n \"typescript\": \"^5.9.3\",\n \"vitest\": \"^5.0.2\"\n },\n \"repository\": \"github:commercelayer/commercelayer-sdk\",\n \"bugs\": \"https://github.com/commercelayer/commercelayer-sdk/issues\",\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"typesVersions\": {\n \"*\": {\n \"single-client\": [\n \"./lib/single-client.d.ts\"\n ],\n \"bundle\": [\n \"./lib/bundle-compat.d.ts\"\n ]\n }\n }\n}\n","import pkg from '../package.json' with { type: 'json' }\n\nexport const SDK_VERSION: string = pkg.version\n\n// Autogenerated API schema version, do not remove this line\nexport const API_SCHEMA_VERSION: string = 'latest'\n\n// Autogenerated supported API versions, do not remove this line\nexport const API_SUPPORTED_VERSIONS = [] as const\n\n/**\n * The API versions this build accepts as the `apiVersion` init option — the\n * union of {@link API_SUPPORTED_VERSIONS}. On a legacy build the tuple is\n * empty, so this resolves to `never` and the option can only be omitted (the\n * legacy API is unversioned).\n */\nexport type ApiVersion = (typeof API_SUPPORTED_VERSIONS)[number]\n"]}
|