@commercelayer/sdk 8.0.0-beta.12 → 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-D0eatyA3.d.cts +0 -19341
- package/lib/api-D0eatyA3.d.ts +0 -19341
- package/lib/chunk-23URFLKP.js +0 -69
- package/lib/chunk-23URFLKP.js.map +0 -1
- package/lib/chunk-24MBIFVA.cjs +0 -70
- package/lib/chunk-24MBIFVA.cjs.map +0 -1
- package/lib/chunk-2BQWTC5S.cjs +0 -125
- package/lib/chunk-2BQWTC5S.cjs.map +0 -1
- package/lib/chunk-2DSQA3AH.js +0 -86
- package/lib/chunk-2DSQA3AH.js.map +0 -1
- package/lib/chunk-2HJ3L77F.cjs +0 -81
- package/lib/chunk-2HJ3L77F.cjs.map +0 -1
- package/lib/chunk-2PNIRVMS.js +0 -75
- package/lib/chunk-2PNIRVMS.js.map +0 -1
- package/lib/chunk-2WSD3E3G.js +0 -77
- package/lib/chunk-2WSD3E3G.js.map +0 -1
- package/lib/chunk-2XIWERKY.js +0 -73
- package/lib/chunk-2XIWERKY.js.map +0 -1
- package/lib/chunk-32NZQRH7.cjs +0 -62
- package/lib/chunk-32NZQRH7.cjs.map +0 -1
- package/lib/chunk-346RKEND.js +0 -84
- package/lib/chunk-346RKEND.js.map +0 -1
- package/lib/chunk-37EXQJZT.js +0 -75
- package/lib/chunk-37EXQJZT.js.map +0 -1
- package/lib/chunk-3DCRFK2I.cjs +0 -70
- package/lib/chunk-3DCRFK2I.cjs.map +0 -1
- package/lib/chunk-3HSY3BRY.js +0 -42
- package/lib/chunk-3HSY3BRY.js.map +0 -1
- package/lib/chunk-3HY6ZUYQ.cjs +0 -115
- package/lib/chunk-3HY6ZUYQ.cjs.map +0 -1
- package/lib/chunk-3NYP67U2.cjs +0 -118
- package/lib/chunk-3NYP67U2.cjs.map +0 -1
- package/lib/chunk-3OXKOEHT.cjs +0 -91
- package/lib/chunk-3OXKOEHT.cjs.map +0 -1
- package/lib/chunk-3P4RX57L.cjs +0 -94
- package/lib/chunk-3P4RX57L.cjs.map +0 -1
- package/lib/chunk-3PZVWRCK.js +0 -180
- package/lib/chunk-3PZVWRCK.js.map +0 -1
- package/lib/chunk-3SMXHQ6X.cjs +0 -61
- package/lib/chunk-3SMXHQ6X.cjs.map +0 -1
- package/lib/chunk-3UOZGKNM.js +0 -129
- package/lib/chunk-3UOZGKNM.js.map +0 -1
- package/lib/chunk-424U6FMB.cjs +0 -44
- package/lib/chunk-424U6FMB.cjs.map +0 -1
- package/lib/chunk-43WFN4DX.cjs +0 -19
- package/lib/chunk-43WFN4DX.cjs.map +0 -1
- package/lib/chunk-475MKBER.cjs +0 -86
- package/lib/chunk-475MKBER.cjs.map +0 -1
- package/lib/chunk-4HB7CRMG.cjs +0 -70
- package/lib/chunk-4HB7CRMG.cjs.map +0 -1
- package/lib/chunk-4IY3XMDJ.cjs +0 -205
- package/lib/chunk-4IY3XMDJ.cjs.map +0 -1
- package/lib/chunk-4PJ2LIM6.js +0 -113
- package/lib/chunk-4PJ2LIM6.js.map +0 -1
- package/lib/chunk-4RZSTEYC.cjs +0 -79
- package/lib/chunk-4RZSTEYC.cjs.map +0 -1
- package/lib/chunk-4VISJW7S.js +0 -68
- package/lib/chunk-4VISJW7S.js.map +0 -1
- package/lib/chunk-4Y5KJTZE.cjs +0 -614
- package/lib/chunk-4Y5KJTZE.cjs.map +0 -1
- package/lib/chunk-54RV6UFR.js +0 -78
- package/lib/chunk-54RV6UFR.js.map +0 -1
- package/lib/chunk-57VBD4AA.cjs +0 -70
- package/lib/chunk-57VBD4AA.cjs.map +0 -1
- package/lib/chunk-5JUTXCVS.js +0 -191
- package/lib/chunk-5JUTXCVS.js.map +0 -1
- package/lib/chunk-5ZXPNCGU.cjs +0 -102
- package/lib/chunk-5ZXPNCGU.cjs.map +0 -1
- package/lib/chunk-6E76MVAJ.cjs +0 -94
- package/lib/chunk-6E76MVAJ.cjs.map +0 -1
- package/lib/chunk-6ED5TPZK.cjs +0 -79
- package/lib/chunk-6ED5TPZK.cjs.map +0 -1
- package/lib/chunk-6GV72TJ3.js +0 -113
- package/lib/chunk-6GV72TJ3.js.map +0 -1
- package/lib/chunk-6OH35VFP.cjs +0 -61
- package/lib/chunk-6OH35VFP.cjs.map +0 -1
- package/lib/chunk-6PTRHKSW.cjs +0 -70
- package/lib/chunk-6PTRHKSW.cjs.map +0 -1
- package/lib/chunk-6VQ7I5IF.js +0 -51
- package/lib/chunk-6VQ7I5IF.js.map +0 -1
- package/lib/chunk-6XCEZPJE.cjs +0 -85
- package/lib/chunk-6XCEZPJE.cjs.map +0 -1
- package/lib/chunk-73OCIZVQ.cjs +0 -102
- package/lib/chunk-73OCIZVQ.cjs.map +0 -1
- package/lib/chunk-7C7OMUFD.cjs +0 -98
- package/lib/chunk-7C7OMUFD.cjs.map +0 -1
- package/lib/chunk-7FSZ6SBH.js +0 -177
- package/lib/chunk-7FSZ6SBH.js.map +0 -1
- package/lib/chunk-7MAXJKPR.js +0 -80
- package/lib/chunk-7MAXJKPR.js.map +0 -1
- package/lib/chunk-7OO4CUD3.js +0 -203
- package/lib/chunk-7OO4CUD3.js.map +0 -1
- package/lib/chunk-7TDL2W4Y.cjs +0 -70
- package/lib/chunk-7TDL2W4Y.cjs.map +0 -1
- package/lib/chunk-7YQQQTZN.cjs +0 -77
- package/lib/chunk-7YQQQTZN.cjs.map +0 -1
- package/lib/chunk-A5VRPXCX.cjs +0 -134
- package/lib/chunk-A5VRPXCX.cjs.map +0 -1
- package/lib/chunk-A5XWHEAW.js +0 -68
- package/lib/chunk-A5XWHEAW.js.map +0 -1
- package/lib/chunk-ABNTISBI.js +0 -50
- package/lib/chunk-ABNTISBI.js.map +0 -1
- package/lib/chunk-AESVJ5CV.cjs +0 -70
- package/lib/chunk-AESVJ5CV.cjs.map +0 -1
- package/lib/chunk-AOIPH64V.cjs +0 -79
- package/lib/chunk-AOIPH64V.cjs.map +0 -1
- package/lib/chunk-AOSNZ3D5.js +0 -241
- package/lib/chunk-AOSNZ3D5.js.map +0 -1
- package/lib/chunk-AUPYST3F.js +0 -177
- package/lib/chunk-AUPYST3F.js.map +0 -1
- package/lib/chunk-AWA4622I.cjs +0 -80
- package/lib/chunk-AWA4622I.cjs.map +0 -1
- package/lib/chunk-AX5RKHRG.cjs +0 -98
- package/lib/chunk-AX5RKHRG.cjs.map +0 -1
- package/lib/chunk-BHYMWU3Y.js +0 -12
- package/lib/chunk-BHYMWU3Y.js.map +0 -1
- package/lib/chunk-BJFAKJ6R.js +0 -77
- package/lib/chunk-BJFAKJ6R.js.map +0 -1
- package/lib/chunk-BNPSK3AX.cjs +0 -90
- package/lib/chunk-BNPSK3AX.cjs.map +0 -1
- package/lib/chunk-BX3VJO26.js +0 -68
- package/lib/chunk-BX3VJO26.js.map +0 -1
- package/lib/chunk-CCNTO5PD.js +0 -68
- package/lib/chunk-CCNTO5PD.js.map +0 -1
- package/lib/chunk-CHZW23J5.js +0 -24
- package/lib/chunk-CHZW23J5.js.map +0 -1
- package/lib/chunk-CK4S634W.js +0 -51
- package/lib/chunk-CK4S634W.js.map +0 -1
- package/lib/chunk-CL7NQ7SS.js +0 -44
- package/lib/chunk-CL7NQ7SS.js.map +0 -1
- package/lib/chunk-CLJC6OIA.js +0 -91
- package/lib/chunk-CLJC6OIA.js.map +0 -1
- package/lib/chunk-CPTBSFBO.js +0 -51
- package/lib/chunk-CPTBSFBO.js.map +0 -1
- package/lib/chunk-CQKXD2E4.js +0 -84
- package/lib/chunk-CQKXD2E4.js.map +0 -1
- package/lib/chunk-CSOKDC4R.cjs +0 -88
- package/lib/chunk-CSOKDC4R.cjs.map +0 -1
- package/lib/chunk-CSUG7RWW.js +0 -65
- package/lib/chunk-CSUG7RWW.js.map +0 -1
- package/lib/chunk-CTIVKRAD.cjs +0 -70
- package/lib/chunk-CTIVKRAD.cjs.map +0 -1
- package/lib/chunk-CUHP564L.js +0 -89
- package/lib/chunk-CUHP564L.js.map +0 -1
- package/lib/chunk-CUK2U7NN.cjs +0 -62
- package/lib/chunk-CUK2U7NN.cjs.map +0 -1
- package/lib/chunk-CWXVJ6YG.js +0 -89
- package/lib/chunk-CWXVJ6YG.js.map +0 -1
- package/lib/chunk-CY2PLGSB.cjs +0 -120
- package/lib/chunk-CY2PLGSB.cjs.map +0 -1
- package/lib/chunk-D2TP75LQ.cjs +0 -67
- package/lib/chunk-D2TP75LQ.cjs.map +0 -1
- package/lib/chunk-D37NLCFK.js +0 -191
- package/lib/chunk-D37NLCFK.js.map +0 -1
- package/lib/chunk-D5VC6YOB.cjs +0 -91
- package/lib/chunk-D5VC6YOB.cjs.map +0 -1
- package/lib/chunk-DA5GCFQM.cjs +0 -89
- package/lib/chunk-DA5GCFQM.cjs.map +0 -1
- package/lib/chunk-DFOOH2WW.js +0 -60
- package/lib/chunk-DFOOH2WW.js.map +0 -1
- package/lib/chunk-DHPCNTAW.cjs +0 -98
- package/lib/chunk-DHPCNTAW.cjs.map +0 -1
- package/lib/chunk-DJBO3WTX.js +0 -68
- package/lib/chunk-DJBO3WTX.js.map +0 -1
- package/lib/chunk-DQXPL4R4.js +0 -709
- package/lib/chunk-DQXPL4R4.js.map +0 -1
- package/lib/chunk-EATLGC6R.cjs +0 -79
- package/lib/chunk-EATLGC6R.cjs.map +0 -1
- package/lib/chunk-EBUSVBHB.js +0 -68
- package/lib/chunk-EBUSVBHB.js.map +0 -1
- package/lib/chunk-EDU5O2BV.js +0 -94
- package/lib/chunk-EDU5O2BV.js.map +0 -1
- package/lib/chunk-EEUEHM7P.js +0 -58
- package/lib/chunk-EEUEHM7P.js.map +0 -1
- package/lib/chunk-EGD5RSXO.js +0 -38
- package/lib/chunk-EGD5RSXO.js.map +0 -1
- package/lib/chunk-ENTP2RZN.js +0 -89
- package/lib/chunk-ENTP2RZN.js.map +0 -1
- package/lib/chunk-EPCTKVEX.js +0 -50
- package/lib/chunk-EPCTKVEX.js.map +0 -1
- package/lib/chunk-ERIYAZFF.cjs +0 -91
- package/lib/chunk-ERIYAZFF.cjs.map +0 -1
- package/lib/chunk-ESVJZWNY.js +0 -89
- package/lib/chunk-ESVJZWNY.js.map +0 -1
- package/lib/chunk-EXKSLABH.cjs +0 -26
- package/lib/chunk-EXKSLABH.cjs.map +0 -1
- package/lib/chunk-F4NY3VXW.js +0 -51
- package/lib/chunk-F4NY3VXW.js.map +0 -1
- package/lib/chunk-FAY6QWMD.js +0 -59
- package/lib/chunk-FAY6QWMD.js.map +0 -1
- package/lib/chunk-FB4YNZ27.cjs +0 -77
- package/lib/chunk-FB4YNZ27.cjs.map +0 -1
- package/lib/chunk-FBN3XE7X.js +0 -321
- package/lib/chunk-FBN3XE7X.js.map +0 -1
- package/lib/chunk-FBUQUNF7.js +0 -50
- package/lib/chunk-FBUQUNF7.js.map +0 -1
- package/lib/chunk-FJFKKH63.js +0 -96
- package/lib/chunk-FJFKKH63.js.map +0 -1
- package/lib/chunk-FLTDGOWH.cjs +0 -179
- package/lib/chunk-FLTDGOWH.cjs.map +0 -1
- package/lib/chunk-FTJVKRNI.cjs +0 -70
- package/lib/chunk-FTJVKRNI.cjs.map +0 -1
- package/lib/chunk-FU6GXVWX.cjs +0 -70
- package/lib/chunk-FU6GXVWX.cjs.map +0 -1
- package/lib/chunk-FX3LUP53.cjs +0 -96
- package/lib/chunk-FX3LUP53.cjs.map +0 -1
- package/lib/chunk-G264EKGR.js +0 -86
- package/lib/chunk-G264EKGR.js.map +0 -1
- package/lib/chunk-G66NQJYO.cjs +0 -82
- package/lib/chunk-G66NQJYO.cjs.map +0 -1
- package/lib/chunk-GBA62ZSN.cjs +0 -52
- package/lib/chunk-GBA62ZSN.cjs.map +0 -1
- package/lib/chunk-GCVUOAVT.js +0 -86
- package/lib/chunk-GCVUOAVT.js.map +0 -1
- package/lib/chunk-GEY2R25H.js +0 -60
- package/lib/chunk-GEY2R25H.js.map +0 -1
- package/lib/chunk-GFYA3JFR.js +0 -100
- package/lib/chunk-GFYA3JFR.js.map +0 -1
- package/lib/chunk-GKLSNJYZ.cjs +0 -62
- package/lib/chunk-GKLSNJYZ.cjs.map +0 -1
- package/lib/chunk-GLYW4X75.js +0 -77
- package/lib/chunk-GLYW4X75.js.map +0 -1
- package/lib/chunk-GQ4EG3PH.js +0 -177
- package/lib/chunk-GQ4EG3PH.js.map +0 -1
- package/lib/chunk-GRMIWQRN.js +0 -68
- package/lib/chunk-GRMIWQRN.js.map +0 -1
- package/lib/chunk-GRN6UI5O.js +0 -75
- package/lib/chunk-GRN6UI5O.js.map +0 -1
- package/lib/chunk-GRY655U3.cjs +0 -61
- package/lib/chunk-GRY655U3.cjs.map +0 -1
- package/lib/chunk-GUOXJ2II.cjs +0 -182
- package/lib/chunk-GUOXJ2II.cjs.map +0 -1
- package/lib/chunk-GWAJA5WZ.cjs +0 -179
- package/lib/chunk-GWAJA5WZ.cjs.map +0 -1
- package/lib/chunk-H7C5BAYC.js +0 -82
- package/lib/chunk-H7C5BAYC.js.map +0 -1
- package/lib/chunk-HABG2EQZ.cjs +0 -179
- package/lib/chunk-HABG2EQZ.cjs.map +0 -1
- package/lib/chunk-HEQKQD6L.cjs +0 -80
- package/lib/chunk-HEQKQD6L.cjs.map +0 -1
- package/lib/chunk-HEUHQU5Q.js +0 -177
- package/lib/chunk-HEUHQU5Q.js.map +0 -1
- package/lib/chunk-HHLBPITX.js +0 -92
- package/lib/chunk-HHLBPITX.js.map +0 -1
- package/lib/chunk-HUA4G4G7.cjs +0 -53
- package/lib/chunk-HUA4G4G7.cjs.map +0 -1
- package/lib/chunk-I2U6TRXU.js +0 -86
- package/lib/chunk-I2U6TRXU.js.map +0 -1
- package/lib/chunk-I2Y5MGCV.js +0 -89
- package/lib/chunk-I2Y5MGCV.js.map +0 -1
- package/lib/chunk-I5AS47IY.js +0 -808
- package/lib/chunk-I5AS47IY.js.map +0 -1
- package/lib/chunk-IEVOIBTG.cjs +0 -84
- package/lib/chunk-IEVOIBTG.cjs.map +0 -1
- package/lib/chunk-IF6TZTLV.js +0 -65
- package/lib/chunk-IF6TZTLV.js.map +0 -1
- package/lib/chunk-IHLDYOF4.js +0 -69
- package/lib/chunk-IHLDYOF4.js.map +0 -1
- package/lib/chunk-IIBH66T2.cjs +0 -79
- package/lib/chunk-IIBH66T2.cjs.map +0 -1
- package/lib/chunk-IKRDK376.js +0 -58
- package/lib/chunk-IKRDK376.js.map +0 -1
- package/lib/chunk-IRP2NUMF.cjs +0 -62
- package/lib/chunk-IRP2NUMF.cjs.map +0 -1
- package/lib/chunk-J267I7R5.js +0 -68
- package/lib/chunk-J267I7R5.js.map +0 -1
- package/lib/chunk-J2P4L2YP.cjs +0 -52
- package/lib/chunk-J2P4L2YP.cjs.map +0 -1
- package/lib/chunk-J7LYW2GF.js +0 -77
- package/lib/chunk-J7LYW2GF.js.map +0 -1
- package/lib/chunk-JA77OJAG.cjs +0 -70
- package/lib/chunk-JA77OJAG.cjs.map +0 -1
- package/lib/chunk-JAQEC2MQ.js +0 -82
- package/lib/chunk-JAQEC2MQ.js.map +0 -1
- package/lib/chunk-JDTLKWLV.js +0 -116
- package/lib/chunk-JDTLKWLV.js.map +0 -1
- package/lib/chunk-JITZJ3ZG.js +0 -82
- package/lib/chunk-JITZJ3ZG.js.map +0 -1
- package/lib/chunk-JL37DZ7T.js +0 -75
- package/lib/chunk-JL37DZ7T.js.map +0 -1
- package/lib/chunk-JTHQO3SQ.cjs +0 -88
- package/lib/chunk-JTHQO3SQ.cjs.map +0 -1
- package/lib/chunk-JWZI2CF2.js +0 -17
- package/lib/chunk-JWZI2CF2.js.map +0 -1
- package/lib/chunk-JXVQ46M2.js +0 -68
- package/lib/chunk-JXVQ46M2.js.map +0 -1
- package/lib/chunk-K6WHEZM5.cjs +0 -60
- package/lib/chunk-K6WHEZM5.cjs.map +0 -1
- package/lib/chunk-KADJ44US.js +0 -36
- package/lib/chunk-KADJ44US.js.map +0 -1
- package/lib/chunk-KBUV2RVV.cjs +0 -44
- package/lib/chunk-KBUV2RVV.cjs.map +0 -1
- package/lib/chunk-KCFF7UUD.js +0 -132
- package/lib/chunk-KCFF7UUD.js.map +0 -1
- package/lib/chunk-KCNFVPYB.js +0 -42
- package/lib/chunk-KCNFVPYB.js.map +0 -1
- package/lib/chunk-KCZQRESM.js +0 -164
- package/lib/chunk-KCZQRESM.js.map +0 -1
- package/lib/chunk-KDJZITT5.js +0 -77
- package/lib/chunk-KDJZITT5.js.map +0 -1
- package/lib/chunk-KIMYXQMX.cjs +0 -86
- package/lib/chunk-KIMYXQMX.cjs.map +0 -1
- package/lib/chunk-KNQK7T6A.js +0 -87
- package/lib/chunk-KNQK7T6A.js.map +0 -1
- package/lib/chunk-KSBMPODE.js +0 -612
- package/lib/chunk-KSBMPODE.js.map +0 -1
- package/lib/chunk-KTBWKQ6V.cjs +0 -166
- package/lib/chunk-KTBWKQ6V.cjs.map +0 -1
- package/lib/chunk-KWE3LK3M.cjs +0 -62
- package/lib/chunk-KWE3LK3M.cjs.map +0 -1
- package/lib/chunk-KWLVA6Z4.cjs +0 -131
- package/lib/chunk-KWLVA6Z4.cjs.map +0 -1
- package/lib/chunk-L4JABO3R.js +0 -33
- package/lib/chunk-L4JABO3R.js.map +0 -1
- package/lib/chunk-L5VFXDWX.cjs +0 -60
- package/lib/chunk-L5VFXDWX.cjs.map +0 -1
- package/lib/chunk-LAJXSUB4.cjs +0 -63
- package/lib/chunk-LAJXSUB4.cjs.map +0 -1
- package/lib/chunk-LKWLTTDG.cjs +0 -70
- package/lib/chunk-LKWLTTDG.cjs.map +0 -1
- package/lib/chunk-LQDXQKIT.cjs +0 -62
- package/lib/chunk-LQDXQKIT.cjs.map +0 -1
- package/lib/chunk-LRVC7V2N.cjs +0 -193
- package/lib/chunk-LRVC7V2N.cjs.map +0 -1
- package/lib/chunk-LWFWUWU4.cjs +0 -122
- package/lib/chunk-LWFWUWU4.cjs.map +0 -1
- package/lib/chunk-MA6XX7BH.cjs +0 -16
- package/lib/chunk-MA6XX7BH.cjs.map +0 -1
- package/lib/chunk-MALO5K7G.js +0 -68
- package/lib/chunk-MALO5K7G.js.map +0 -1
- package/lib/chunk-MKL2WQSE.cjs +0 -69
- package/lib/chunk-MKL2WQSE.cjs.map +0 -1
- package/lib/chunk-MQMRNDRB.js +0 -75
- package/lib/chunk-MQMRNDRB.js.map +0 -1
- package/lib/chunk-MRBG72Y3.cjs +0 -179
- package/lib/chunk-MRBG72Y3.cjs.map +0 -1
- package/lib/chunk-NCXJJGO2.cjs +0 -84
- package/lib/chunk-NCXJJGO2.cjs.map +0 -1
- package/lib/chunk-NLHDTN37.cjs +0 -193
- package/lib/chunk-NLHDTN37.cjs.map +0 -1
- package/lib/chunk-NP2JYF3V.cjs +0 -81
- package/lib/chunk-NP2JYF3V.cjs.map +0 -1
- package/lib/chunk-O4YV47MU.js +0 -196
- package/lib/chunk-O4YV47MU.js.map +0 -1
- package/lib/chunk-OCGQKSBT.cjs +0 -46
- package/lib/chunk-OCGQKSBT.cjs.map +0 -1
- package/lib/chunk-OEK7SCVD.js +0 -60
- package/lib/chunk-OEK7SCVD.js.map +0 -1
- package/lib/chunk-OEKHEAG5.cjs +0 -35
- package/lib/chunk-OEKHEAG5.cjs.map +0 -1
- package/lib/chunk-OIQVUXAY.cjs +0 -62
- package/lib/chunk-OIQVUXAY.cjs.map +0 -1
- package/lib/chunk-OOYCXVXP.cjs +0 -53
- package/lib/chunk-OOYCXVXP.cjs.map +0 -1
- package/lib/chunk-ORFPHNVU.js +0 -89
- package/lib/chunk-ORFPHNVU.js.map +0 -1
- package/lib/chunk-OTZHBYV5.js +0 -123
- package/lib/chunk-OTZHBYV5.js.map +0 -1
- package/lib/chunk-P3Y42EGI.cjs +0 -38
- package/lib/chunk-P3Y42EGI.cjs.map +0 -1
- package/lib/chunk-P74KHE2J.cjs +0 -98
- package/lib/chunk-P74KHE2J.cjs.map +0 -1
- package/lib/chunk-PHCU2GSM.cjs +0 -77
- package/lib/chunk-PHCU2GSM.cjs.map +0 -1
- package/lib/chunk-POLTI6QO.cjs +0 -93
- package/lib/chunk-POLTI6QO.cjs.map +0 -1
- package/lib/chunk-PPB6W4JC.cjs +0 -91
- package/lib/chunk-PPB6W4JC.cjs.map +0 -1
- package/lib/chunk-PRE3YU5A.cjs +0 -816
- package/lib/chunk-PRE3YU5A.cjs.map +0 -1
- package/lib/chunk-PRVN45UR.cjs +0 -88
- package/lib/chunk-PRVN45UR.cjs.map +0 -1
- package/lib/chunk-PU57SF2R.cjs +0 -77
- package/lib/chunk-PU57SF2R.cjs.map +0 -1
- package/lib/chunk-PUTHUCU7.cjs +0 -53
- package/lib/chunk-PUTHUCU7.cjs.map +0 -1
- package/lib/chunk-PVXN3ZX4.cjs +0 -88
- package/lib/chunk-PVXN3ZX4.cjs.map +0 -1
- package/lib/chunk-Q7FCC7A4.js +0 -77
- package/lib/chunk-Q7FCC7A4.js.map +0 -1
- package/lib/chunk-QENVU424.js +0 -68
- package/lib/chunk-QENVU424.js.map +0 -1
- package/lib/chunk-QETFMOWJ.js +0 -118
- package/lib/chunk-QETFMOWJ.js.map +0 -1
- package/lib/chunk-QJ5B6HGE.js +0 -68
- package/lib/chunk-QJ5B6HGE.js.map +0 -1
- package/lib/chunk-QLZRFKNC.js +0 -118
- package/lib/chunk-QLZRFKNC.js.map +0 -1
- package/lib/chunk-QOMCY4NX.js +0 -79
- package/lib/chunk-QOMCY4NX.js.map +0 -1
- package/lib/chunk-QQNJZOBS.cjs +0 -170
- package/lib/chunk-QQNJZOBS.cjs.map +0 -1
- package/lib/chunk-QRAY4AHE.js +0 -60
- package/lib/chunk-QRAY4AHE.js.map +0 -1
- package/lib/chunk-QRUPAU4D.cjs +0 -79
- package/lib/chunk-QRUPAU4D.cjs.map +0 -1
- package/lib/chunk-QSM6HEUU.cjs +0 -70
- package/lib/chunk-QSM6HEUU.cjs.map +0 -1
- package/lib/chunk-QVEX5Q65.cjs +0 -81
- package/lib/chunk-QVEX5Q65.cjs.map +0 -1
- package/lib/chunk-QWKAFFRB.cjs +0 -77
- package/lib/chunk-QWKAFFRB.cjs.map +0 -1
- package/lib/chunk-QXT4NCXW.cjs +0 -29
- package/lib/chunk-QXT4NCXW.cjs.map +0 -1
- package/lib/chunk-QXVR6ZZR.js +0 -177
- package/lib/chunk-QXVR6ZZR.js.map +0 -1
- package/lib/chunk-QZEWBE5D.js +0 -42
- package/lib/chunk-QZEWBE5D.js.map +0 -1
- package/lib/chunk-QZONKNRQ.js +0 -177
- package/lib/chunk-QZONKNRQ.js.map +0 -1
- package/lib/chunk-R4FCMGTE.cjs +0 -243
- package/lib/chunk-R4FCMGTE.cjs.map +0 -1
- package/lib/chunk-RD3TXYW5.js +0 -83
- package/lib/chunk-RD3TXYW5.js.map +0 -1
- package/lib/chunk-RGBFHUC2.js +0 -91
- package/lib/chunk-RGBFHUC2.js.map +0 -1
- package/lib/chunk-RGOILWCB.js +0 -124
- package/lib/chunk-RGOILWCB.js.map +0 -1
- package/lib/chunk-RKNDHKGN.js +0 -61
- package/lib/chunk-RKNDHKGN.js.map +0 -1
- package/lib/chunk-RPYJJTIG.js +0 -68
- package/lib/chunk-RPYJJTIG.js.map +0 -1
- package/lib/chunk-RQ5I4JHS.cjs +0 -88
- package/lib/chunk-RQ5I4JHS.cjs.map +0 -1
- package/lib/chunk-RQLMQP6U.cjs +0 -120
- package/lib/chunk-RQLMQP6U.cjs.map +0 -1
- package/lib/chunk-RZ4WI3NH.js +0 -60
- package/lib/chunk-RZ4WI3NH.js.map +0 -1
- package/lib/chunk-RZIW25QW.js +0 -68
- package/lib/chunk-RZIW25QW.js.map +0 -1
- package/lib/chunk-S4AT2O34.cjs +0 -122
- package/lib/chunk-S4AT2O34.cjs.map +0 -1
- package/lib/chunk-S5PIAPKP.cjs +0 -84
- package/lib/chunk-S5PIAPKP.cjs.map +0 -1
- package/lib/chunk-S6HWFMH3.cjs +0 -193
- package/lib/chunk-S6HWFMH3.cjs.map +0 -1
- package/lib/chunk-SO3WXEZ4.cjs +0 -52
- package/lib/chunk-SO3WXEZ4.cjs.map +0 -1
- package/lib/chunk-SRQ6QGXC.js +0 -79
- package/lib/chunk-SRQ6QGXC.js.map +0 -1
- package/lib/chunk-T2ERHAGG.cjs +0 -55
- package/lib/chunk-T2ERHAGG.cjs.map +0 -1
- package/lib/chunk-T5ZRTAPG.cjs +0 -91
- package/lib/chunk-T5ZRTAPG.cjs.map +0 -1
- package/lib/chunk-TB2EIJER.cjs +0 -179
- package/lib/chunk-TB2EIJER.cjs.map +0 -1
- package/lib/chunk-TD35HNQP.js +0 -168
- package/lib/chunk-TD35HNQP.js.map +0 -1
- package/lib/chunk-TPPUQQPC.js +0 -77
- package/lib/chunk-TPPUQQPC.js.map +0 -1
- package/lib/chunk-TUNBZ3ZH.cjs +0 -84
- package/lib/chunk-TUNBZ3ZH.cjs.map +0 -1
- package/lib/chunk-TWAYAXA2.js +0 -67
- package/lib/chunk-TWAYAXA2.js.map +0 -1
- package/lib/chunk-U34KUQXA.js +0 -120
- package/lib/chunk-U34KUQXA.js.map +0 -1
- package/lib/chunk-U6JAKKOV.js +0 -100
- package/lib/chunk-U6JAKKOV.js.map +0 -1
- package/lib/chunk-UBE4YSEL.js +0 -60
- package/lib/chunk-UBE4YSEL.js.map +0 -1
- package/lib/chunk-UCECBYPO.cjs +0 -44
- package/lib/chunk-UCECBYPO.cjs.map +0 -1
- package/lib/chunk-UGQAWILC.js +0 -53
- package/lib/chunk-UGQAWILC.js.map +0 -1
- package/lib/chunk-UGSEWMOT.js +0 -77
- package/lib/chunk-UGSEWMOT.js.map +0 -1
- package/lib/chunk-UIJCNVX4.js +0 -59
- package/lib/chunk-UIJCNVX4.js.map +0 -1
- package/lib/chunk-UMRNYMOF.js +0 -68
- package/lib/chunk-UMRNYMOF.js.map +0 -1
- package/lib/chunk-USUPWZTW.cjs +0 -198
- package/lib/chunk-USUPWZTW.cjs.map +0 -1
- package/lib/chunk-UZ4CGMXI.cjs +0 -70
- package/lib/chunk-UZ4CGMXI.cjs.map +0 -1
- package/lib/chunk-V3XCCIJQ.js +0 -77
- package/lib/chunk-V3XCCIJQ.js.map +0 -1
- package/lib/chunk-V46ZQIRF.js +0 -77
- package/lib/chunk-V46ZQIRF.js.map +0 -1
- package/lib/chunk-V7ID2Q5E.js +0 -100
- package/lib/chunk-V7ID2Q5E.js.map +0 -1
- package/lib/chunk-VCWICZZ3.js +0 -191
- package/lib/chunk-VCWICZZ3.js.map +0 -1
- package/lib/chunk-VCXOJHZ5.cjs +0 -712
- package/lib/chunk-VCXOJHZ5.cjs.map +0 -1
- package/lib/chunk-VR3MIUI6.js +0 -96
- package/lib/chunk-VR3MIUI6.js.map +0 -1
- package/lib/chunk-VSFS2YSQ.cjs +0 -44
- package/lib/chunk-VSFS2YSQ.cjs.map +0 -1
- package/lib/chunk-VWQLM2QW.cjs +0 -93
- package/lib/chunk-VWQLM2QW.cjs.map +0 -1
- package/lib/chunk-VZ37VWLV.cjs +0 -71
- package/lib/chunk-VZ37VWLV.cjs.map +0 -1
- package/lib/chunk-VZDWZE2F.cjs +0 -79
- package/lib/chunk-VZDWZE2F.cjs.map +0 -1
- package/lib/chunk-WBCNIXDU.js +0 -27
- package/lib/chunk-WBCNIXDU.js.map +0 -1
- package/lib/chunk-WCQ7PU3I.js +0 -60
- package/lib/chunk-WCQ7PU3I.js.map +0 -1
- package/lib/chunk-WCVSRFDT.cjs +0 -79
- package/lib/chunk-WCVSRFDT.cjs.map +0 -1
- package/lib/chunk-WG3VU7K6.cjs +0 -79
- package/lib/chunk-WG3VU7K6.cjs.map +0 -1
- package/lib/chunk-WHZ3RDUY.js +0 -86
- package/lib/chunk-WHZ3RDUY.js.map +0 -1
- package/lib/chunk-WJILFEDV.js +0 -96
- package/lib/chunk-WJILFEDV.js.map +0 -1
- package/lib/chunk-WPROPYFB.cjs +0 -79
- package/lib/chunk-WPROPYFB.cjs.map +0 -1
- package/lib/chunk-WQEUUUBH.cjs +0 -91
- package/lib/chunk-WQEUUUBH.cjs.map +0 -1
- package/lib/chunk-WSSWGPDM.cjs +0 -179
- package/lib/chunk-WSSWGPDM.cjs.map +0 -1
- package/lib/chunk-WXF62JJL.js +0 -51
- package/lib/chunk-WXF62JJL.js.map +0 -1
- package/lib/chunk-X22S44DG.cjs +0 -323
- package/lib/chunk-X22S44DG.cjs.map +0 -1
- package/lib/chunk-X6NDTTWQ.cjs +0 -75
- package/lib/chunk-X6NDTTWQ.cjs.map +0 -1
- package/lib/chunk-XD7YRJZM.cjs +0 -67
- package/lib/chunk-XD7YRJZM.cjs.map +0 -1
- package/lib/chunk-XH7RV45F.js +0 -92
- package/lib/chunk-XH7RV45F.js.map +0 -1
- package/lib/chunk-XIKMN2I3.js +0 -77
- package/lib/chunk-XIKMN2I3.js.map +0 -1
- package/lib/chunk-XJFBOBME.cjs +0 -70
- package/lib/chunk-XJFBOBME.cjs.map +0 -1
- package/lib/chunk-XRY6YJDC.cjs +0 -53
- package/lib/chunk-XRY6YJDC.cjs.map +0 -1
- package/lib/chunk-XTJW3CUF.js +0 -77
- package/lib/chunk-XTJW3CUF.js.map +0 -1
- package/lib/chunk-XUCUG7FA.cjs +0 -79
- package/lib/chunk-XUCUG7FA.cjs.map +0 -1
- package/lib/chunk-XVFH2RND.js +0 -78
- package/lib/chunk-XVFH2RND.js.map +0 -1
- package/lib/chunk-XWDHQ75A.js +0 -59
- package/lib/chunk-XWDHQ75A.js.map +0 -1
- package/lib/chunk-XWID26AA.cjs +0 -71
- package/lib/chunk-XWID26AA.cjs.map +0 -1
- package/lib/chunk-XZ2E3WPZ.js +0 -120
- package/lib/chunk-XZ2E3WPZ.js.map +0 -1
- package/lib/chunk-Y62PYMY5.cjs +0 -126
- package/lib/chunk-Y62PYMY5.cjs.map +0 -1
- package/lib/chunk-Y77CQIUK.js +0 -79
- package/lib/chunk-Y77CQIUK.js.map +0 -1
- package/lib/chunk-YBNXYHJL.cjs +0 -40
- package/lib/chunk-YBNXYHJL.cjs.map +0 -1
- package/lib/chunk-YE3KE4FH.cjs +0 -79
- package/lib/chunk-YE3KE4FH.cjs.map +0 -1
- package/lib/chunk-YKVNRK57.js +0 -42
- package/lib/chunk-YKVNRK57.js.map +0 -1
- package/lib/chunk-YNWJLLHC.cjs +0 -53
- package/lib/chunk-YNWJLLHC.cjs.map +0 -1
- package/lib/chunk-YOOIJWJP.cjs +0 -102
- package/lib/chunk-YOOIJWJP.cjs.map +0 -1
- package/lib/chunk-YRJDRXKK.cjs +0 -117
- package/lib/chunk-YRJDRXKK.cjs.map +0 -1
- package/lib/chunk-YY3PFKZX.js +0 -82
- package/lib/chunk-YY3PFKZX.js.map +0 -1
- package/lib/chunk-YYFXD3AB.js +0 -96
- package/lib/chunk-YYFXD3AB.js.map +0 -1
- package/lib/chunk-YZBOV7XI.js +0 -88
- package/lib/chunk-YZBOV7XI.js.map +0 -1
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-W3KXJFVJ.js';
|
|
2
|
+
|
|
3
|
+
// gen/resources/adyen_gateways.ts
|
|
4
|
+
var AdyenGateways = class _AdyenGateways extends ApiResource {
|
|
5
|
+
static TYPE = "adyen_gateways";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create(
|
|
8
|
+
{ ...resource, type: _AdyenGateways.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _AdyenGateways.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _AdyenGateways.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async payment_methods(adyenGatewayId, params, options) {
|
|
24
|
+
const _adyenGatewayId = adyenGatewayId.id || adyenGatewayId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "payment_methods" },
|
|
27
|
+
`adyen_gateways/${_adyenGatewayId}/payment_methods`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
async event_stores(adyenGatewayId, params, options) {
|
|
33
|
+
const _adyenGatewayId = adyenGatewayId.id || adyenGatewayId;
|
|
34
|
+
return this.resources.fetch(
|
|
35
|
+
{ type: "event_stores" },
|
|
36
|
+
`adyen_gateways/${_adyenGatewayId}/event_stores`,
|
|
37
|
+
params,
|
|
38
|
+
options
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
async adyen_payments(adyenGatewayId, params, options) {
|
|
42
|
+
const _adyenGatewayId = adyenGatewayId.id || adyenGatewayId;
|
|
43
|
+
return this.resources.fetch(
|
|
44
|
+
{ type: "adyen_payments" },
|
|
45
|
+
`adyen_gateways/${_adyenGatewayId}/adyen_payments`,
|
|
46
|
+
params,
|
|
47
|
+
options
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
async _disable(id, params, options) {
|
|
51
|
+
return this.resources.update(
|
|
52
|
+
{ id: typeof id === "string" ? id : id.id, type: _AdyenGateways.TYPE, _disable: true },
|
|
53
|
+
params,
|
|
54
|
+
options
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
async _enable(id, params, options) {
|
|
58
|
+
return this.resources.update(
|
|
59
|
+
{ id: typeof id === "string" ? id : id.id, type: _AdyenGateways.TYPE, _enable: true },
|
|
60
|
+
params,
|
|
61
|
+
options
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
async _check(id, params, options) {
|
|
65
|
+
return this.resources.update(
|
|
66
|
+
{ id: typeof id === "string" ? id : id.id, type: _AdyenGateways.TYPE, _check: true },
|
|
67
|
+
params,
|
|
68
|
+
options
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
isAdyenGateway(resource) {
|
|
72
|
+
return resource.type && resource.type === _AdyenGateways.TYPE;
|
|
73
|
+
}
|
|
74
|
+
relationship(id) {
|
|
75
|
+
return super.relationshipOneToOne(id);
|
|
76
|
+
}
|
|
77
|
+
relationshipToMany(...ids) {
|
|
78
|
+
return super.relationshipOneToMany(...ids);
|
|
79
|
+
}
|
|
80
|
+
type() {
|
|
81
|
+
return _AdyenGateways.TYPE;
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
var instance = new AdyenGateways();
|
|
85
|
+
var adyen_gateways_default = instance;
|
|
86
|
+
|
|
87
|
+
export { adyen_gateways_default };
|
|
88
|
+
//# sourceMappingURL=chunk-YOJXKYBK.js.map
|
|
89
|
+
//# sourceMappingURL=chunk-YOJXKYBK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/adyen_gateways.ts"],"names":[],"mappings":"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","file":"chunk-YOJXKYBK.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 { AdyenPayment, AdyenPaymentType } from './adyen_payments'\nimport type { EventStore } from './event_stores'\nimport type { PaymentMethod } from './payment_methods'\n\ntype AdyenGatewayType = 'adyen_gateways'\ntype AdyenGatewayRel = ResourceRel & { type: AdyenGatewayType }\ntype AdyenPaymentRel = ResourceRel & { type: AdyenPaymentType }\n\nexport type AdyenGatewaySort = Pick<AdyenGateway, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type AdyenGatewayFilter = Pick<AdyenGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n/**\n * The Adyen gateway object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/adyen_gateways endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/adyen_gateways/object\n */\ninterface AdyenGateway extends Resource {\n readonly type: AdyenGatewayType\n\n /**\n * The payment gateway's internal name.\n * @example ```\"US payment gateway\"```\n */\n name: string\n /**\n * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n * @example ```true```\n */\n force_payments?: boolean | null\n /**\n * The payment gateway's API credential keys last digits.\n * @example ```{\"api_key\":\"********BW989\"}```\n */\n credential_keys?: Record<string, any> | null\n /**\n * Time at which this resource was disabled.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n disabled_at?: string | null\n /**\n * The prefix of the endpoint used for live transactions.\n * @example ```\"1797a841fbb37ca7-AdyenDemo\"```\n */\n live_url_prefix: string\n /**\n * The checkout API version, supported range is from 66 to 71, default is 71.\n * @example ```71```\n */\n api_version?: number | null\n /**\n * Indicates if the gateway will leverage on the Adyen notification webhooks, using latest API version.\n * @example ```true```\n */\n async_api?: boolean | null\n /**\n * Send this attribute if you want to enable partial payments for the order.\n */\n partial_payments?: boolean | null\n /**\n * The minutes after which the order created for partial payments automatically expires.\n * @example ```30```\n */\n order_expiration_mins?: number | null\n /**\n * Indicates if the gateway will use the native customer payment sources.\n * @example ```true```\n */\n native_customer_payment_sources?: boolean | null\n /**\n * The gateway webhook endpoint secret, generated by Adyen customer area.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n webhook_endpoint_secret?: string | null\n /**\n * The gateway webhook URL, generated automatically.\n * @example ```\"https://core.commercelayer.co/webhook_callbacks/adyen_gateways/xxxxx\"```\n */\n webhook_endpoint_url?: string | null\n\n payment_methods?: PaymentMethod[] | null\n event_stores?: EventStore[] | null\n adyen_payments?: AdyenPayment[] | null\n}\n\ninterface AdyenGatewayCreate extends ResourceCreate {\n /**\n * The payment gateway's internal name.\n * @example ```\"US payment gateway\"```\n */\n name: string\n /**\n * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n * @example ```true```\n */\n force_payments?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n /**\n * Send this attribute if you want to check the credentials against the payment gateway's APIs.\n * @example ```true```\n */\n _check?: boolean | null\n /**\n * The gateway merchant account.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n merchant_account: string\n /**\n * The gateway API key.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n api_key: string\n /**\n * The public key linked to your API credential.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n public_key?: string | null\n /**\n * The prefix of the endpoint used for live transactions.\n * @example ```\"1797a841fbb37ca7-AdyenDemo\"```\n */\n live_url_prefix: string\n /**\n * The checkout API version, supported range is from 66 to 71, default is 71.\n * @example ```71```\n */\n api_version?: number | null\n /**\n * Indicates if the gateway will leverage on the Adyen notification webhooks, using latest API version.\n * @example ```true```\n */\n async_api?: boolean | null\n /**\n * Send this attribute if you want to enable partial payments for the order.\n */\n partial_payments?: boolean | null\n /**\n * The minutes after which the order created for partial payments automatically expires.\n * @example ```30```\n */\n order_expiration_mins?: number | null\n /**\n * Indicates if the gateway will use the native customer payment sources.\n * @example ```true```\n */\n native_customer_payment_sources?: boolean | null\n /**\n * The gateway webhook endpoint secret, generated by Adyen customer area.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n webhook_endpoint_secret?: string | null\n\n adyen_payments?: AdyenPaymentRel[] | null\n}\n\ninterface AdyenGatewayUpdate extends ResourceUpdate {\n /**\n * The payment gateway's internal name.\n * @example ```\"US payment gateway\"```\n */\n name?: string | null\n /**\n * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n * @example ```true```\n */\n force_payments?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n /**\n * Send this attribute if you want to check the credentials against the payment gateway's APIs.\n * @example ```true```\n */\n _check?: boolean | null\n /**\n * The gateway merchant account.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n merchant_account?: string | null\n /**\n * The gateway API key.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n api_key?: string | null\n /**\n * The public key linked to your API credential.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n public_key?: string | null\n /**\n * The prefix of the endpoint used for live transactions.\n * @example ```\"1797a841fbb37ca7-AdyenDemo\"```\n */\n live_url_prefix?: string | null\n /**\n * The checkout API version, supported range is from 66 to 71, default is 71.\n * @example ```71```\n */\n api_version?: number | null\n /**\n * Indicates if the gateway will leverage on the Adyen notification webhooks, using latest API version.\n * @example ```true```\n */\n async_api?: boolean | null\n /**\n * Send this attribute if you want to enable partial payments for the order.\n */\n partial_payments?: boolean | null\n /**\n * The minutes after which the order created for partial payments automatically expires.\n * @example ```30```\n */\n order_expiration_mins?: number | null\n /**\n * Indicates if the gateway will use the native customer payment sources.\n * @example ```true```\n */\n native_customer_payment_sources?: boolean | null\n /**\n * The gateway webhook endpoint secret, generated by Adyen customer area.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n webhook_endpoint_secret?: string | null\n\n adyen_payments?: AdyenPaymentRel[] | null\n}\n\nclass AdyenGateways extends ApiResource<AdyenGateway> {\n static readonly TYPE: AdyenGatewayType = 'adyen_gateways' as const\n\n async create(\n resource: AdyenGatewayCreate,\n params?: QueryParamsRetrieve<AdyenGateway>,\n options?: ResourcesConfig,\n ): Promise<AdyenGateway> {\n return this.resources.create<AdyenGatewayCreate, AdyenGateway>(\n { ...resource, type: AdyenGateways.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: AdyenGatewayUpdate,\n params?: QueryParamsRetrieve<AdyenGateway>,\n options?: ResourcesConfig,\n ): Promise<AdyenGateway> {\n return this.resources.update<AdyenGatewayUpdate, AdyenGateway>(\n { ...resource, type: AdyenGateways.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: AdyenGateways.TYPE } : id, options)\n }\n\n async payment_methods(\n adyenGatewayId: string | AdyenGateway,\n params?: QueryParamsList<PaymentMethod>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentMethod>> {\n const _adyenGatewayId = (adyenGatewayId as AdyenGateway).id || (adyenGatewayId as string)\n return this.resources.fetch<PaymentMethod>(\n { type: 'payment_methods' },\n `adyen_gateways/${_adyenGatewayId}/payment_methods`,\n params,\n options,\n ) as unknown as ListResponse<PaymentMethod>\n }\n\n async event_stores(\n adyenGatewayId: string | AdyenGateway,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _adyenGatewayId = (adyenGatewayId as AdyenGateway).id || (adyenGatewayId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `adyen_gateways/${_adyenGatewayId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async adyen_payments(\n adyenGatewayId: string | AdyenGateway,\n params?: QueryParamsList<AdyenPayment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<AdyenPayment>> {\n const _adyenGatewayId = (adyenGatewayId as AdyenGateway).id || (adyenGatewayId as string)\n return this.resources.fetch<AdyenPayment>(\n { type: 'adyen_payments' },\n `adyen_gateways/${_adyenGatewayId}/adyen_payments`,\n params,\n options,\n ) as unknown as ListResponse<AdyenPayment>\n }\n\n async _disable(\n id: string | AdyenGateway,\n params?: QueryParamsRetrieve<AdyenGateway>,\n options?: ResourcesConfig,\n ): Promise<AdyenGateway> {\n return this.resources.update<AdyenGatewayUpdate, AdyenGateway>(\n { id: typeof id === 'string' ? id : id.id, type: AdyenGateways.TYPE, _disable: true },\n params,\n options,\n )\n }\n\n async _enable(\n id: string | AdyenGateway,\n params?: QueryParamsRetrieve<AdyenGateway>,\n options?: ResourcesConfig,\n ): Promise<AdyenGateway> {\n return this.resources.update<AdyenGatewayUpdate, AdyenGateway>(\n { id: typeof id === 'string' ? id : id.id, type: AdyenGateways.TYPE, _enable: true },\n params,\n options,\n )\n }\n\n async _check(\n id: string | AdyenGateway,\n params?: QueryParamsRetrieve<AdyenGateway>,\n options?: ResourcesConfig,\n ): Promise<AdyenGateway> {\n return this.resources.update<AdyenGatewayUpdate, AdyenGateway>(\n { id: typeof id === 'string' ? id : id.id, type: AdyenGateways.TYPE, _check: true },\n params,\n options,\n )\n }\n\n isAdyenGateway(resource: any): resource is AdyenGateway {\n return resource.type && resource.type === AdyenGateways.TYPE\n }\n\n relationship(id: string | ResourceId | null): AdyenGatewayRel {\n return super.relationshipOneToOne<AdyenGatewayRel>(id)\n }\n\n relationshipToMany(...ids: string[]): AdyenGatewayRel[] {\n return super.relationshipOneToMany<AdyenGatewayRel>(...ids)\n }\n\n type(): AdyenGatewayType {\n return AdyenGateways.TYPE\n }\n}\n\nconst instance = new AdyenGateways()\nexport default instance\n\nexport type { AdyenGateway, AdyenGatewayCreate, AdyenGateways, AdyenGatewayType, AdyenGatewayUpdate }\n"]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-W3KXJFVJ.js';
|
|
2
|
+
|
|
3
|
+
// gen/resources/tags.ts
|
|
4
|
+
var Tags = class _Tags extends ApiResource {
|
|
5
|
+
static TYPE = "tags";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create({ ...resource, type: _Tags.TYPE }, params, options);
|
|
8
|
+
}
|
|
9
|
+
async update(resource, params, options) {
|
|
10
|
+
return this.resources.update({ ...resource, type: _Tags.TYPE }, params, options);
|
|
11
|
+
}
|
|
12
|
+
async delete(id, options) {
|
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _Tags.TYPE } : id, options);
|
|
14
|
+
}
|
|
15
|
+
async event_stores(tagId, params, options) {
|
|
16
|
+
const _tagId = tagId.id || tagId;
|
|
17
|
+
return this.resources.fetch(
|
|
18
|
+
{ type: "event_stores" },
|
|
19
|
+
`tags/${_tagId}/event_stores`,
|
|
20
|
+
params,
|
|
21
|
+
options
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
isTag(resource) {
|
|
25
|
+
return resource.type && resource.type === _Tags.TYPE;
|
|
26
|
+
}
|
|
27
|
+
relationship(id) {
|
|
28
|
+
return super.relationshipOneToOne(id);
|
|
29
|
+
}
|
|
30
|
+
relationshipToMany(...ids) {
|
|
31
|
+
return super.relationshipOneToMany(...ids);
|
|
32
|
+
}
|
|
33
|
+
type() {
|
|
34
|
+
return _Tags.TYPE;
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
var instance = new Tags();
|
|
38
|
+
var tags_default = instance;
|
|
39
|
+
|
|
40
|
+
export { tags_default };
|
|
41
|
+
//# sourceMappingURL=chunk-YU3TTXAU.js.map
|
|
42
|
+
//# sourceMappingURL=chunk-YU3TTXAU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/tags.ts"],"names":[],"mappings":";;;AAsDA,IAAM,IAAA,GAAN,MAAM,KAAA,SAAa,WAAA,CAAiB;AAAA,EAClC,OAAgB,IAAA,GAAgB,MAAA;AAAA,EAEhC,MAAM,MAAA,CAAO,QAAA,EAAqB,MAAA,EAAmC,OAAA,EAAyC;AAC5G,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAuB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,KAAA,CAAK,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAChG;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAqB,MAAA,EAAmC,OAAA,EAAyC;AAC5G,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAuB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,KAAA,CAAK,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAChG;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,KAAA,CAAK,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC5F;AAAA,EAEA,MAAM,YAAA,CACJ,KAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,MAAA,GAAU,MAAc,EAAA,IAAO,KAAA;AACrC,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,QAAQ,MAAM,CAAA,aAAA,CAAA;AAAA,MACd,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,QAAA,EAAgC;AACpC,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,KAAA,CAAK,IAAA;AAAA,EACjD;AAAA,EAEA,aAAa,EAAA,EAAwC;AACnD,IAAA,OAAO,KAAA,CAAM,qBAA6B,EAAE,CAAA;AAAA,EAC9C;AAAA,EAEA,sBAAsB,GAAA,EAAyB;AAC7C,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA8B,GAAG,GAAG,CAAA;AAAA,EACnD;AAAA,EAEA,IAAA,GAAgB;AACd,IAAA,OAAO,KAAA,CAAK,IAAA;AAAA,EACd;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,IAAA,EAAK;AAC1B,IAAO,YAAA,GAAQ","file":"chunk-YU3TTXAU.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'\n\nimport type { EventStore } from './event_stores'\n\ntype TagType = 'tags'\ntype TagRel = ResourceRel & { type: TagType }\n\nexport type TagSort = Pick<Tag, 'id' | 'name'> & ResourceSort\n// export type TagFilter = Pick<Tag, 'id' | 'name'> & ResourceFilter\n\n/**\n * The Tag object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/tags endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/tags/object\n */\ninterface Tag extends Resource {\n readonly type: TagType\n\n /**\n * The tag name.\n * @example ```\"new_campaign\"```\n */\n name: string\n\n event_stores?: EventStore[] | null\n}\n\ninterface TagCreate extends ResourceCreate {\n /**\n * The tag name.\n * @example ```\"new_campaign\"```\n */\n name: string\n}\n\ninterface TagUpdate extends ResourceUpdate {\n /**\n * The tag name.\n * @example ```\"new_campaign\"```\n */\n name?: string | null\n}\n\nclass Tags extends ApiResource<Tag> {\n static readonly TYPE: TagType = 'tags' as const\n\n async create(resource: TagCreate, params?: QueryParamsRetrieve<Tag>, options?: ResourcesConfig): Promise<Tag> {\n return this.resources.create<TagCreate, Tag>({ ...resource, type: Tags.TYPE }, params, options)\n }\n\n async update(resource: TagUpdate, params?: QueryParamsRetrieve<Tag>, options?: ResourcesConfig): Promise<Tag> {\n return this.resources.update<TagUpdate, Tag>({ ...resource, type: Tags.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: Tags.TYPE } : id, options)\n }\n\n async event_stores(\n tagId: string | Tag,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _tagId = (tagId as Tag).id || (tagId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `tags/${_tagId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isTag(resource: any): resource is Tag {\n return resource.type && resource.type === Tags.TYPE\n }\n\n relationship(id: string | ResourceId | null): TagRel {\n return super.relationshipOneToOne<TagRel>(id)\n }\n\n relationshipToMany(...ids: string[]): TagRel[] {\n return super.relationshipOneToMany<TagRel>(...ids)\n }\n\n type(): TagType {\n return Tags.TYPE\n }\n}\n\nconst instance = new Tags()\nexport default instance\n\nexport type { Tag, TagCreate, Tags, TagType, TagUpdate }\n"]}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-W3KXJFVJ.js';
|
|
2
|
+
|
|
3
|
+
// gen/resources/price_list_schedulers.ts
|
|
4
|
+
var PriceListSchedulers = class _PriceListSchedulers extends ApiResource {
|
|
5
|
+
static TYPE = "price_list_schedulers";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create(
|
|
8
|
+
{ ...resource, type: _PriceListSchedulers.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _PriceListSchedulers.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _PriceListSchedulers.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async market(priceListSchedulerId, params, options) {
|
|
24
|
+
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "markets" },
|
|
27
|
+
`price_list_schedulers/${_priceListSchedulerId}/market`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
async price_list(priceListSchedulerId, params, options) {
|
|
33
|
+
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
|
34
|
+
return this.resources.fetch(
|
|
35
|
+
{ type: "price_lists" },
|
|
36
|
+
`price_list_schedulers/${_priceListSchedulerId}/price_list`,
|
|
37
|
+
params,
|
|
38
|
+
options
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
async events(priceListSchedulerId, params, options) {
|
|
42
|
+
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
|
43
|
+
return this.resources.fetch(
|
|
44
|
+
{ type: "events" },
|
|
45
|
+
`price_list_schedulers/${_priceListSchedulerId}/events`,
|
|
46
|
+
params,
|
|
47
|
+
options
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
async event_stores(priceListSchedulerId, params, options) {
|
|
51
|
+
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
|
52
|
+
return this.resources.fetch(
|
|
53
|
+
{ type: "event_stores" },
|
|
54
|
+
`price_list_schedulers/${_priceListSchedulerId}/event_stores`,
|
|
55
|
+
params,
|
|
56
|
+
options
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
async _disable(id, params, options) {
|
|
60
|
+
return this.resources.update(
|
|
61
|
+
{ id: typeof id === "string" ? id : id.id, type: _PriceListSchedulers.TYPE, _disable: true },
|
|
62
|
+
params,
|
|
63
|
+
options
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
async _enable(id, params, options) {
|
|
67
|
+
return this.resources.update(
|
|
68
|
+
{ id: typeof id === "string" ? id : id.id, type: _PriceListSchedulers.TYPE, _enable: true },
|
|
69
|
+
params,
|
|
70
|
+
options
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
isPriceListScheduler(resource) {
|
|
74
|
+
return resource.type && resource.type === _PriceListSchedulers.TYPE;
|
|
75
|
+
}
|
|
76
|
+
relationship(id) {
|
|
77
|
+
return super.relationshipOneToOne(id);
|
|
78
|
+
}
|
|
79
|
+
relationshipToMany(...ids) {
|
|
80
|
+
return super.relationshipOneToMany(...ids);
|
|
81
|
+
}
|
|
82
|
+
type() {
|
|
83
|
+
return _PriceListSchedulers.TYPE;
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
var instance = new PriceListSchedulers();
|
|
87
|
+
var price_list_schedulers_default = instance;
|
|
88
|
+
|
|
89
|
+
export { price_list_schedulers_default };
|
|
90
|
+
//# sourceMappingURL=chunk-YY4VB3IR.js.map
|
|
91
|
+
//# sourceMappingURL=chunk-YY4VB3IR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/price_list_schedulers.ts"],"names":[],"mappings":"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","file":"chunk-YY4VB3IR.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'\nimport type { Market, MarketType } from './markets'\nimport type { PriceList, PriceListType } from './price_lists'\n\ntype PriceListSchedulerType = 'price_list_schedulers'\ntype PriceListSchedulerRel = ResourceRel & { type: PriceListSchedulerType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype PriceListRel = ResourceRel & { type: PriceListType }\n\nexport type PriceListSchedulerSort = Pick<\n PriceListScheduler,\n 'id' | 'name' | 'starts_at' | 'expires_at' | 'disabled_at'\n> &\n ResourceSort\n// export type PriceListSchedulerFilter = Pick<PriceListScheduler, 'id' | 'name' | 'starts_at' | 'expires_at' | 'disabled_at'> & ResourceFilter\n\n/**\n * The Price list scheduler object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/price_list_schedulers endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/price_list_schedulers/object\n */\ninterface PriceListScheduler extends Resource {\n readonly type: PriceListSchedulerType\n\n /**\n * The price list scheduler's internal name.\n * @example ```\"FW SALE 2023\"```\n */\n name: string\n /**\n * The activation date/time of this price list scheduler.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at: string\n /**\n * The expiration date/time of this price list scheduler (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at: string\n /**\n * Indicates if the price list scheduler is active (enabled and not expired).\n * @example ```true```\n */\n active?: boolean | null\n /**\n * The price list scheduler status. One of 'disabled', 'expired', 'pending', or 'active'.\n * @example ```\"pending\"```\n */\n status?: 'disabled' | 'expired' | 'pending' | 'active' | null\n /**\n * Time at which this resource was disabled.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n disabled_at?: string | null\n\n market?: Market | null\n price_list?: PriceList | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface PriceListSchedulerCreate extends ResourceCreate {\n /**\n * The price list scheduler's internal name.\n * @example ```\"FW SALE 2023\"```\n */\n name: string\n /**\n * The activation date/time of this price list scheduler.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at: string\n /**\n * The expiration date/time of this price list scheduler (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at: string\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n\n market: MarketRel\n price_list: PriceListRel\n}\n\ninterface PriceListSchedulerUpdate extends ResourceUpdate {\n /**\n * The price list scheduler's internal name.\n * @example ```\"FW SALE 2023\"```\n */\n name?: string | null\n /**\n * The activation date/time of this price list scheduler.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at?: string | null\n /**\n * The expiration date/time of this price list scheduler (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at?: string | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n\n market?: MarketRel | null\n price_list?: PriceListRel | null\n}\n\nclass PriceListSchedulers extends ApiResource<PriceListScheduler> {\n static readonly TYPE: PriceListSchedulerType = 'price_list_schedulers' as const\n\n async create(\n resource: PriceListSchedulerCreate,\n params?: QueryParamsRetrieve<PriceListScheduler>,\n options?: ResourcesConfig,\n ): Promise<PriceListScheduler> {\n return this.resources.create<PriceListSchedulerCreate, PriceListScheduler>(\n { ...resource, type: PriceListSchedulers.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: PriceListSchedulerUpdate,\n params?: QueryParamsRetrieve<PriceListScheduler>,\n options?: ResourcesConfig,\n ): Promise<PriceListScheduler> {\n return this.resources.update<PriceListSchedulerUpdate, PriceListScheduler>(\n { ...resource, type: PriceListSchedulers.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: PriceListSchedulers.TYPE } : id, options)\n }\n\n async market(\n priceListSchedulerId: string | PriceListScheduler,\n params?: QueryParamsRetrieve<Market>,\n options?: ResourcesConfig,\n ): Promise<Market> {\n const _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || (priceListSchedulerId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `price_list_schedulers/${_priceListSchedulerId}/market`,\n params,\n options,\n ) as unknown as Market\n }\n\n async price_list(\n priceListSchedulerId: string | PriceListScheduler,\n params?: QueryParamsRetrieve<PriceList>,\n options?: ResourcesConfig,\n ): Promise<PriceList> {\n const _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || (priceListSchedulerId as string)\n return this.resources.fetch<PriceList>(\n { type: 'price_lists' },\n `price_list_schedulers/${_priceListSchedulerId}/price_list`,\n params,\n options,\n ) as unknown as PriceList\n }\n\n async events(\n priceListSchedulerId: string | PriceListScheduler,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || (priceListSchedulerId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `price_list_schedulers/${_priceListSchedulerId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n priceListSchedulerId: string | PriceListScheduler,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || (priceListSchedulerId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `price_list_schedulers/${_priceListSchedulerId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _disable(\n id: string | PriceListScheduler,\n params?: QueryParamsRetrieve<PriceListScheduler>,\n options?: ResourcesConfig,\n ): Promise<PriceListScheduler> {\n return this.resources.update<PriceListSchedulerUpdate, PriceListScheduler>(\n { id: typeof id === 'string' ? id : id.id, type: PriceListSchedulers.TYPE, _disable: true },\n params,\n options,\n )\n }\n\n async _enable(\n id: string | PriceListScheduler,\n params?: QueryParamsRetrieve<PriceListScheduler>,\n options?: ResourcesConfig,\n ): Promise<PriceListScheduler> {\n return this.resources.update<PriceListSchedulerUpdate, PriceListScheduler>(\n { id: typeof id === 'string' ? id : id.id, type: PriceListSchedulers.TYPE, _enable: true },\n params,\n options,\n )\n }\n\n isPriceListScheduler(resource: any): resource is PriceListScheduler {\n return resource.type && resource.type === PriceListSchedulers.TYPE\n }\n\n relationship(id: string | ResourceId | null): PriceListSchedulerRel {\n return super.relationshipOneToOne<PriceListSchedulerRel>(id)\n }\n\n relationshipToMany(...ids: string[]): PriceListSchedulerRel[] {\n return super.relationshipOneToMany<PriceListSchedulerRel>(...ids)\n }\n\n type(): PriceListSchedulerType {\n return PriceListSchedulers.TYPE\n }\n}\n\nconst instance = new PriceListSchedulers()\nexport default instance\n\nexport type {\n PriceListScheduler,\n PriceListSchedulerCreate,\n PriceListSchedulers,\n PriceListSchedulerType,\n PriceListSchedulerUpdate,\n}\n"]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-W3KXJFVJ.js';
|
|
2
|
+
|
|
3
|
+
// gen/resources/custom_promotion_rules.ts
|
|
4
|
+
var CustomPromotionRules = class _CustomPromotionRules extends ApiResource {
|
|
5
|
+
static TYPE = "custom_promotion_rules";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create(
|
|
8
|
+
{ ...resource, type: _CustomPromotionRules.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _CustomPromotionRules.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CustomPromotionRules.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async event_stores(customPromotionRuleId, params, options) {
|
|
24
|
+
const _customPromotionRuleId = customPromotionRuleId.id || customPromotionRuleId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "event_stores" },
|
|
27
|
+
`custom_promotion_rules/${_customPromotionRuleId}/event_stores`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
isCustomPromotionRule(resource) {
|
|
33
|
+
return resource.type && resource.type === _CustomPromotionRules.TYPE;
|
|
34
|
+
}
|
|
35
|
+
relationship(id) {
|
|
36
|
+
return super.relationshipOneToOne(id);
|
|
37
|
+
}
|
|
38
|
+
relationshipToMany(...ids) {
|
|
39
|
+
return super.relationshipOneToMany(...ids);
|
|
40
|
+
}
|
|
41
|
+
type() {
|
|
42
|
+
return _CustomPromotionRules.TYPE;
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
var instance = new CustomPromotionRules();
|
|
46
|
+
var custom_promotion_rules_default = instance;
|
|
47
|
+
|
|
48
|
+
export { custom_promotion_rules_default };
|
|
49
|
+
//# sourceMappingURL=chunk-YYOUFGJJ.js.map
|
|
50
|
+
//# sourceMappingURL=chunk-YYOUFGJJ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/custom_promotion_rules.ts"],"names":[],"mappings":";;;AAoGA,IAAM,oBAAA,GAAN,MAAM,qBAAA,SAA6B,WAAA,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-YYOUFGJJ.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 { 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,67 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkANS5U6HN_cjs = require('./chunk-ANS5U6HN.cjs');
|
|
4
|
+
|
|
5
|
+
// gen/resources/links.ts
|
|
6
|
+
var Links = class _Links extends chunkANS5U6HN_cjs.ApiResource {
|
|
7
|
+
static TYPE = "links";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create({ ...resource, type: _Links.TYPE }, params, options);
|
|
10
|
+
}
|
|
11
|
+
async update(resource, params, options) {
|
|
12
|
+
return this.resources.update({ ...resource, type: _Links.TYPE }, params, options);
|
|
13
|
+
}
|
|
14
|
+
async delete(id, options) {
|
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _Links.TYPE } : id, options);
|
|
16
|
+
}
|
|
17
|
+
async events(linkId, params, options) {
|
|
18
|
+
const _linkId = linkId.id || linkId;
|
|
19
|
+
return this.resources.fetch(
|
|
20
|
+
{ type: "events" },
|
|
21
|
+
`links/${_linkId}/events`,
|
|
22
|
+
params,
|
|
23
|
+
options
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
async event_stores(linkId, params, options) {
|
|
27
|
+
const _linkId = linkId.id || linkId;
|
|
28
|
+
return this.resources.fetch(
|
|
29
|
+
{ type: "event_stores" },
|
|
30
|
+
`links/${_linkId}/event_stores`,
|
|
31
|
+
params,
|
|
32
|
+
options
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
async _disable(id, params, options) {
|
|
36
|
+
return this.resources.update(
|
|
37
|
+
{ id: typeof id === "string" ? id : id.id, type: _Links.TYPE, _disable: true },
|
|
38
|
+
params,
|
|
39
|
+
options
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
async _enable(id, params, options) {
|
|
43
|
+
return this.resources.update(
|
|
44
|
+
{ id: typeof id === "string" ? id : id.id, type: _Links.TYPE, _enable: true },
|
|
45
|
+
params,
|
|
46
|
+
options
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
isLink(resource) {
|
|
50
|
+
return resource.type && resource.type === _Links.TYPE;
|
|
51
|
+
}
|
|
52
|
+
relationship(id) {
|
|
53
|
+
return super.relationshipOneToOne(id);
|
|
54
|
+
}
|
|
55
|
+
relationshipToMany(...ids) {
|
|
56
|
+
return super.relationshipOneToMany(...ids);
|
|
57
|
+
}
|
|
58
|
+
type() {
|
|
59
|
+
return _Links.TYPE;
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
var instance = new Links();
|
|
63
|
+
var links_default = instance;
|
|
64
|
+
|
|
65
|
+
exports.links_default = links_default;
|
|
66
|
+
//# sourceMappingURL=chunk-YZSE2VMS.cjs.map
|
|
67
|
+
//# sourceMappingURL=chunk-YZSE2VMS.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/links.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-YZSE2VMS.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 { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Order, OrderType } from './orders'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Sku, SkuType } from './skus'\n\ntype LinkType = 'links'\ntype LinkRel = ResourceRel & { type: LinkType }\ntype OrderRel = ResourceRel & { type: OrderType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\n\nexport type LinkSort = Pick<Link, 'id' | 'name' | 'starts_at' | 'expires_at' | 'item_type' | 'disabled_at'> &\n ResourceSort\n// export type LinkFilter = Pick<Link, 'id' | 'name' | 'client_id' | 'scope' | 'starts_at' | 'expires_at' | 'item_type' | 'params' | 'disabled_at'> & ResourceFilter\n\n/**\n * The Link object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/links endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/links/object\n */\ninterface Link extends Resource {\n readonly type: LinkType\n\n /**\n * The link internal name.\n * @example ```\"FW SALE 2023\"```\n */\n name: string\n /**\n * The link application client id, used to fetch JWT.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n client_id: string\n /**\n * The link application scope, used to fetch JWT.\n * @example ```\"market:id:GhvCxsElAQ,market:id:kJhgVcxZDr\"```\n */\n scope: string\n /**\n * The activation date/time of this link.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at?: string | null\n /**\n * The expiration date/time of this link (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at?: string | null\n /**\n * Indicates if the link is active (enabled and not expired).\n * @example ```true```\n */\n active?: boolean | null\n /**\n * The link status. One of 'disabled', 'expired', 'pending', or 'active'.\n * @example ```\"pending\"```\n */\n status?: 'disabled' | 'expired' | 'pending' | 'active' | null\n /**\n * The link URL second level domain.\n * @example ```\"commercelayer.link\"```\n */\n domain?: string | null\n /**\n * The link URL.\n * @example ```\"https://commercelayer.link/ZXUtd2VzdC0xLzE5ZjBlMGVlLTg4OGMtNDQ1Yi1iYTA0LTg3MTUxY2FjZjFmYQ\"```\n */\n url?: string | null\n /**\n * The type of the associated item. One of 'orders', 'skus', or 'sku_lists'.\n * @example ```\"orders\"```\n */\n item_type?: 'orders' | 'skus' | 'sku_lists' | null\n /**\n * The link params to be passed in URL the query string.\n * @example ```{\"param1\":\"ABC\",\"param2\":\"XYZ\"}```\n */\n params?: Record<string, any> | null\n /**\n * Time at which this resource was disabled.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n disabled_at?: string | null\n\n item?: Order | Sku | SkuList | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface LinkCreate extends ResourceCreate {\n /**\n * The link internal name.\n * @example ```\"FW SALE 2023\"```\n */\n name: string\n /**\n * The link application client id, used to fetch JWT.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n client_id: string\n /**\n * The link application scope, used to fetch JWT.\n * @example ```\"market:id:GhvCxsElAQ,market:id:kJhgVcxZDr\"```\n */\n scope: string\n /**\n * The activation date/time of this link.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at?: string | null\n /**\n * The expiration date/time of this link (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at?: string | null\n /**\n * The link URL second level domain.\n * @example ```\"commercelayer.link\"```\n */\n domain?: string | null\n /**\n * The type of the associated item. One of 'orders', 'skus', or 'sku_lists'.\n * @example ```\"orders\"```\n */\n item_type?: 'orders' | 'skus' | 'sku_lists' | null\n /**\n * The link params to be passed in URL the query string.\n * @example ```{\"param1\":\"ABC\",\"param2\":\"XYZ\"}```\n */\n params?: Record<string, any> | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n\n item: OrderRel | SkuRel | SkuListRel\n}\n\ninterface LinkUpdate extends ResourceUpdate {\n /**\n * The link internal name.\n * @example ```\"FW SALE 2023\"```\n */\n name?: string | null\n /**\n * The link application client id, used to fetch JWT.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n client_id?: string | null\n /**\n * The link application scope, used to fetch JWT.\n * @example ```\"market:id:GhvCxsElAQ,market:id:kJhgVcxZDr\"```\n */\n scope?: string | null\n /**\n * The activation date/time of this link.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at?: string | null\n /**\n * The expiration date/time of this link (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at?: string | null\n /**\n * The link URL second level domain.\n * @example ```\"commercelayer.link\"```\n */\n domain?: string | null\n /**\n * The link params to be passed in URL the query string.\n * @example ```{\"param1\":\"ABC\",\"param2\":\"XYZ\"}```\n */\n params?: Record<string, any> | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n\n item?: OrderRel | SkuRel | SkuListRel | null\n}\n\nclass Links extends ApiResource<Link> {\n static readonly TYPE: LinkType = 'links' as const\n\n async create(resource: LinkCreate, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link> {\n return this.resources.create<LinkCreate, Link>({ ...resource, type: Links.TYPE }, params, options)\n }\n\n async update(resource: LinkUpdate, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link> {\n return this.resources.update<LinkUpdate, Link>({ ...resource, type: Links.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: Links.TYPE } : id, options)\n }\n\n async events(\n linkId: string | Link,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _linkId = (linkId as Link).id || (linkId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `links/${_linkId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n linkId: string | Link,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _linkId = (linkId as Link).id || (linkId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `links/${_linkId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _disable(id: string | Link, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link> {\n return this.resources.update<LinkUpdate, Link>(\n { id: typeof id === 'string' ? id : id.id, type: Links.TYPE, _disable: true },\n params,\n options,\n )\n }\n\n async _enable(id: string | Link, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link> {\n return this.resources.update<LinkUpdate, Link>(\n { id: typeof id === 'string' ? id : id.id, type: Links.TYPE, _enable: true },\n params,\n options,\n )\n }\n\n isLink(resource: any): resource is Link {\n return resource.type && resource.type === Links.TYPE\n }\n\n relationship(id: string | ResourceId | null): LinkRel {\n return super.relationshipOneToOne<LinkRel>(id)\n }\n\n relationshipToMany(...ids: string[]): LinkRel[] {\n return super.relationshipOneToMany<LinkRel>(...ids)\n }\n\n type(): LinkType {\n return Links.TYPE\n }\n}\n\nconst instance = new Links()\nexport default instance\n\nexport type { Link, LinkCreate, Links, LinkType, LinkUpdate }\n"]}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkANS5U6HN_cjs = require('./chunk-ANS5U6HN.cjs');
|
|
4
|
+
|
|
5
|
+
// gen/resources/external_tax_calculators.ts
|
|
6
|
+
var ExternalTaxCalculators = class _ExternalTaxCalculators extends chunkANS5U6HN_cjs.ApiResource {
|
|
7
|
+
static TYPE = "external_tax_calculators";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create(
|
|
10
|
+
{ ...resource, type: _ExternalTaxCalculators.TYPE },
|
|
11
|
+
params,
|
|
12
|
+
options
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
async update(resource, params, options) {
|
|
16
|
+
return this.resources.update(
|
|
17
|
+
{ ...resource, type: _ExternalTaxCalculators.TYPE },
|
|
18
|
+
params,
|
|
19
|
+
options
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
async delete(id, options) {
|
|
23
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _ExternalTaxCalculators.TYPE } : id, options);
|
|
24
|
+
}
|
|
25
|
+
async markets(externalTaxCalculatorId, params, options) {
|
|
26
|
+
const _externalTaxCalculatorId = externalTaxCalculatorId.id || externalTaxCalculatorId;
|
|
27
|
+
return this.resources.fetch(
|
|
28
|
+
{ type: "markets" },
|
|
29
|
+
`external_tax_calculators/${_externalTaxCalculatorId}/markets`,
|
|
30
|
+
params,
|
|
31
|
+
options
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
async attachments(externalTaxCalculatorId, params, options) {
|
|
35
|
+
const _externalTaxCalculatorId = externalTaxCalculatorId.id || externalTaxCalculatorId;
|
|
36
|
+
return this.resources.fetch(
|
|
37
|
+
{ type: "attachments" },
|
|
38
|
+
`external_tax_calculators/${_externalTaxCalculatorId}/attachments`,
|
|
39
|
+
params,
|
|
40
|
+
options
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
async events(externalTaxCalculatorId, params, options) {
|
|
44
|
+
const _externalTaxCalculatorId = externalTaxCalculatorId.id || externalTaxCalculatorId;
|
|
45
|
+
return this.resources.fetch(
|
|
46
|
+
{ type: "events" },
|
|
47
|
+
`external_tax_calculators/${_externalTaxCalculatorId}/events`,
|
|
48
|
+
params,
|
|
49
|
+
options
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
async event_stores(externalTaxCalculatorId, params, options) {
|
|
53
|
+
const _externalTaxCalculatorId = externalTaxCalculatorId.id || externalTaxCalculatorId;
|
|
54
|
+
return this.resources.fetch(
|
|
55
|
+
{ type: "event_stores" },
|
|
56
|
+
`external_tax_calculators/${_externalTaxCalculatorId}/event_stores`,
|
|
57
|
+
params,
|
|
58
|
+
options
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
async _reset_circuit(id, params, options) {
|
|
62
|
+
return this.resources.update(
|
|
63
|
+
{ id: typeof id === "string" ? id : id.id, type: _ExternalTaxCalculators.TYPE, _reset_circuit: true },
|
|
64
|
+
params,
|
|
65
|
+
options
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
async _regenerate_shared_secret(id, params, options) {
|
|
69
|
+
return this.resources.update(
|
|
70
|
+
{ id: typeof id === "string" ? id : id.id, type: _ExternalTaxCalculators.TYPE, _regenerate_shared_secret: true },
|
|
71
|
+
params,
|
|
72
|
+
options
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
isExternalTaxCalculator(resource) {
|
|
76
|
+
return resource.type && resource.type === _ExternalTaxCalculators.TYPE;
|
|
77
|
+
}
|
|
78
|
+
relationship(id) {
|
|
79
|
+
return super.relationshipOneToOne(id);
|
|
80
|
+
}
|
|
81
|
+
relationshipToMany(...ids) {
|
|
82
|
+
return super.relationshipOneToMany(...ids);
|
|
83
|
+
}
|
|
84
|
+
type() {
|
|
85
|
+
return _ExternalTaxCalculators.TYPE;
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
var instance = new ExternalTaxCalculators();
|
|
89
|
+
var external_tax_calculators_default = instance;
|
|
90
|
+
|
|
91
|
+
exports.external_tax_calculators_default = external_tax_calculators_default;
|
|
92
|
+
//# sourceMappingURL=chunk-YZXCDYZV.cjs.map
|
|
93
|
+
//# sourceMappingURL=chunk-YZXCDYZV.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/external_tax_calculators.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-YZXCDYZV.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 { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market } from './markets'\n\ntype ExternalTaxCalculatorType = 'external_tax_calculators'\ntype ExternalTaxCalculatorRel = ResourceRel & { type: ExternalTaxCalculatorType }\n\nexport type ExternalTaxCalculatorSort = Pick<\n ExternalTaxCalculator,\n 'id' | 'name' | 'circuit_state' | 'circuit_failure_count'\n> &\n ResourceSort\n// export type ExternalTaxCalculatorFilter = Pick<ExternalTaxCalculator, 'id' | 'name' | 'circuit_state' | 'circuit_failure_count'> & ResourceFilter\n\n/**\n * The External tax calculator object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/external_tax_calculators endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/external_tax_calculators/object\n */\ninterface ExternalTaxCalculator extends Resource {\n readonly type: ExternalTaxCalculatorType\n\n /**\n * The tax calculator's internal name.\n * @example ```\"Personal tax calculator\"```\n */\n name: string\n /**\n * The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.\n * @example ```\"closed\"```\n */\n circuit_state?: string | null\n /**\n * The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.\n * @example ```5```\n */\n circuit_failure_count?: number | null\n /**\n * The shared secret used to sign the external request payload.\n * @example ```\"1c0994cc4e996e8c6ee56a2198f66f3c\"```\n */\n shared_secret: string\n /**\n * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n * @example ```[\"order.line_item_options\"]```\n */\n external_includes?: string[] | null\n /**\n * The URL to the service that will compute the taxes.\n * @example ```\"https://external_calculator.yourbrand.com\"```\n */\n tax_calculator_url: string\n\n markets?: Market[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface ExternalTaxCalculatorCreate extends ResourceCreate {\n /**\n * The tax calculator's internal name.\n * @example ```\"Personal tax calculator\"```\n */\n name: string\n /**\n * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n * @example ```[\"order.line_item_options\"]```\n */\n external_includes?: string[] | null\n /**\n * The URL to the service that will compute the taxes.\n * @example ```\"https://external_calculator.yourbrand.com\"```\n */\n tax_calculator_url: string\n}\n\ninterface ExternalTaxCalculatorUpdate extends ResourceUpdate {\n /**\n * The tax calculator's internal name.\n * @example ```\"Personal tax calculator\"```\n */\n name?: string | null\n /**\n * Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.\n * @example ```true```\n */\n _reset_circuit?: boolean | null\n /**\n * Send this attribute if you want to regenerate the shared secret.\n * @example ```true```\n */\n _regenerate_shared_secret?: boolean | null\n /**\n * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n * @example ```[\"order.line_item_options\"]```\n */\n external_includes?: string[] | null\n /**\n * The URL to the service that will compute the taxes.\n * @example ```\"https://external_calculator.yourbrand.com\"```\n */\n tax_calculator_url?: string | null\n}\n\nclass ExternalTaxCalculators extends ApiResource<ExternalTaxCalculator> {\n static readonly TYPE: ExternalTaxCalculatorType = 'external_tax_calculators' as const\n\n async create(\n resource: ExternalTaxCalculatorCreate,\n params?: QueryParamsRetrieve<ExternalTaxCalculator>,\n options?: ResourcesConfig,\n ): Promise<ExternalTaxCalculator> {\n return this.resources.create<ExternalTaxCalculatorCreate, ExternalTaxCalculator>(\n { ...resource, type: ExternalTaxCalculators.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: ExternalTaxCalculatorUpdate,\n params?: QueryParamsRetrieve<ExternalTaxCalculator>,\n options?: ResourcesConfig,\n ): Promise<ExternalTaxCalculator> {\n return this.resources.update<ExternalTaxCalculatorUpdate, ExternalTaxCalculator>(\n { ...resource, type: ExternalTaxCalculators.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: ExternalTaxCalculators.TYPE } : id, options)\n }\n\n async markets(\n externalTaxCalculatorId: string | ExternalTaxCalculator,\n params?: QueryParamsList<Market>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Market>> {\n const _externalTaxCalculatorId =\n (externalTaxCalculatorId as ExternalTaxCalculator).id || (externalTaxCalculatorId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `external_tax_calculators/${_externalTaxCalculatorId}/markets`,\n params,\n options,\n ) as unknown as ListResponse<Market>\n }\n\n async attachments(\n externalTaxCalculatorId: string | ExternalTaxCalculator,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _externalTaxCalculatorId =\n (externalTaxCalculatorId as ExternalTaxCalculator).id || (externalTaxCalculatorId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `external_tax_calculators/${_externalTaxCalculatorId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n externalTaxCalculatorId: string | ExternalTaxCalculator,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _externalTaxCalculatorId =\n (externalTaxCalculatorId as ExternalTaxCalculator).id || (externalTaxCalculatorId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `external_tax_calculators/${_externalTaxCalculatorId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n externalTaxCalculatorId: string | ExternalTaxCalculator,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _externalTaxCalculatorId =\n (externalTaxCalculatorId as ExternalTaxCalculator).id || (externalTaxCalculatorId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `external_tax_calculators/${_externalTaxCalculatorId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _reset_circuit(\n id: string | ExternalTaxCalculator,\n params?: QueryParamsRetrieve<ExternalTaxCalculator>,\n options?: ResourcesConfig,\n ): Promise<ExternalTaxCalculator> {\n return this.resources.update<ExternalTaxCalculatorUpdate, ExternalTaxCalculator>(\n { id: typeof id === 'string' ? id : id.id, type: ExternalTaxCalculators.TYPE, _reset_circuit: true },\n params,\n options,\n )\n }\n\n async _regenerate_shared_secret(\n id: string | ExternalTaxCalculator,\n params?: QueryParamsRetrieve<ExternalTaxCalculator>,\n options?: ResourcesConfig,\n ): Promise<ExternalTaxCalculator> {\n return this.resources.update<ExternalTaxCalculatorUpdate, ExternalTaxCalculator>(\n { id: typeof id === 'string' ? id : id.id, type: ExternalTaxCalculators.TYPE, _regenerate_shared_secret: true },\n params,\n options,\n )\n }\n\n isExternalTaxCalculator(resource: any): resource is ExternalTaxCalculator {\n return resource.type && resource.type === ExternalTaxCalculators.TYPE\n }\n\n relationship(id: string | ResourceId | null): ExternalTaxCalculatorRel {\n return super.relationshipOneToOne<ExternalTaxCalculatorRel>(id)\n }\n\n relationshipToMany(...ids: string[]): ExternalTaxCalculatorRel[] {\n return super.relationshipOneToMany<ExternalTaxCalculatorRel>(...ids)\n }\n\n type(): ExternalTaxCalculatorType {\n return ExternalTaxCalculators.TYPE\n }\n}\n\nconst instance = new ExternalTaxCalculators()\nexport default instance\n\nexport type {\n ExternalTaxCalculator,\n ExternalTaxCalculatorCreate,\n ExternalTaxCalculators,\n ExternalTaxCalculatorType,\n ExternalTaxCalculatorUpdate,\n}\n"]}
|