@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,179 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkANS5U6HN_cjs = require('./chunk-ANS5U6HN.cjs');
|
|
4
|
+
|
|
5
|
+
// gen/resources/line_items.ts
|
|
6
|
+
var LineItems = class _LineItems extends chunkANS5U6HN_cjs.ApiResource {
|
|
7
|
+
static TYPE = "line_items";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create({ ...resource, type: _LineItems.TYPE }, params, options);
|
|
10
|
+
}
|
|
11
|
+
async update(resource, params, options) {
|
|
12
|
+
return this.resources.update({ ...resource, type: _LineItems.TYPE }, params, options);
|
|
13
|
+
}
|
|
14
|
+
async delete(id, options) {
|
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _LineItems.TYPE } : id, options);
|
|
16
|
+
}
|
|
17
|
+
async order(lineItemId, params, options) {
|
|
18
|
+
const _lineItemId = lineItemId.id || lineItemId;
|
|
19
|
+
return this.resources.fetch(
|
|
20
|
+
{ type: "orders" },
|
|
21
|
+
`line_items/${_lineItemId}/order`,
|
|
22
|
+
params,
|
|
23
|
+
options
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
async line_item_options(lineItemId, params, options) {
|
|
27
|
+
const _lineItemId = lineItemId.id || lineItemId;
|
|
28
|
+
return this.resources.fetch(
|
|
29
|
+
{ type: "line_item_options" },
|
|
30
|
+
`line_items/${_lineItemId}/line_item_options`,
|
|
31
|
+
params,
|
|
32
|
+
options
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
async return_line_items(lineItemId, params, options) {
|
|
36
|
+
const _lineItemId = lineItemId.id || lineItemId;
|
|
37
|
+
return this.resources.fetch(
|
|
38
|
+
{ type: "return_line_items" },
|
|
39
|
+
`line_items/${_lineItemId}/return_line_items`,
|
|
40
|
+
params,
|
|
41
|
+
options
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated
|
|
46
|
+
*/
|
|
47
|
+
async shipment_line_items(lineItemId, params, options) {
|
|
48
|
+
const _lineItemId = lineItemId.id || lineItemId;
|
|
49
|
+
return this.resources.fetch(
|
|
50
|
+
{ type: "shipment_line_items" },
|
|
51
|
+
`line_items/${_lineItemId}/shipment_line_items`,
|
|
52
|
+
params,
|
|
53
|
+
options
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
async stock_reservations(lineItemId, params, options) {
|
|
57
|
+
const _lineItemId = lineItemId.id || lineItemId;
|
|
58
|
+
return this.resources.fetch(
|
|
59
|
+
{ type: "stock_reservations" },
|
|
60
|
+
`line_items/${_lineItemId}/stock_reservations`,
|
|
61
|
+
params,
|
|
62
|
+
options
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
async stock_line_items(lineItemId, params, options) {
|
|
66
|
+
const _lineItemId = lineItemId.id || lineItemId;
|
|
67
|
+
return this.resources.fetch(
|
|
68
|
+
{ type: "stock_line_items" },
|
|
69
|
+
`line_items/${_lineItemId}/stock_line_items`,
|
|
70
|
+
params,
|
|
71
|
+
options
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
async stock_transfers(lineItemId, params, options) {
|
|
75
|
+
const _lineItemId = lineItemId.id || lineItemId;
|
|
76
|
+
return this.resources.fetch(
|
|
77
|
+
{ type: "stock_transfers" },
|
|
78
|
+
`line_items/${_lineItemId}/stock_transfers`,
|
|
79
|
+
params,
|
|
80
|
+
options
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
async notifications(lineItemId, params, options) {
|
|
84
|
+
const _lineItemId = lineItemId.id || lineItemId;
|
|
85
|
+
return this.resources.fetch(
|
|
86
|
+
{ type: "notifications" },
|
|
87
|
+
`line_items/${_lineItemId}/notifications`,
|
|
88
|
+
params,
|
|
89
|
+
options
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
async events(lineItemId, params, options) {
|
|
93
|
+
const _lineItemId = lineItemId.id || lineItemId;
|
|
94
|
+
return this.resources.fetch(
|
|
95
|
+
{ type: "events" },
|
|
96
|
+
`line_items/${_lineItemId}/events`,
|
|
97
|
+
params,
|
|
98
|
+
options
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
async tags(lineItemId, params, options) {
|
|
102
|
+
const _lineItemId = lineItemId.id || lineItemId;
|
|
103
|
+
return this.resources.fetch(
|
|
104
|
+
{ type: "tags" },
|
|
105
|
+
`line_items/${_lineItemId}/tags`,
|
|
106
|
+
params,
|
|
107
|
+
options
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
async event_stores(lineItemId, params, options) {
|
|
111
|
+
const _lineItemId = lineItemId.id || lineItemId;
|
|
112
|
+
return this.resources.fetch(
|
|
113
|
+
{ type: "event_stores" },
|
|
114
|
+
`line_items/${_lineItemId}/event_stores`,
|
|
115
|
+
params,
|
|
116
|
+
options
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
async _external_price(id, params, options) {
|
|
120
|
+
return this.resources.update(
|
|
121
|
+
{ id: typeof id === "string" ? id : id.id, type: _LineItems.TYPE, _external_price: true },
|
|
122
|
+
params,
|
|
123
|
+
options
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
async _reserve_stock(id, params, options) {
|
|
127
|
+
return this.resources.update(
|
|
128
|
+
{ id: typeof id === "string" ? id : id.id, type: _LineItems.TYPE, _reserve_stock: true },
|
|
129
|
+
params,
|
|
130
|
+
options
|
|
131
|
+
);
|
|
132
|
+
}
|
|
133
|
+
async _reset_restocked_quantity(id, params, options) {
|
|
134
|
+
return this.resources.update(
|
|
135
|
+
{ id: typeof id === "string" ? id : id.id, type: _LineItems.TYPE, _reset_restocked_quantity: true },
|
|
136
|
+
params,
|
|
137
|
+
options
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
async _reset_circuit(id, params, options) {
|
|
141
|
+
return this.resources.update(
|
|
142
|
+
{ id: typeof id === "string" ? id : id.id, type: _LineItems.TYPE, _reset_circuit: true },
|
|
143
|
+
params,
|
|
144
|
+
options
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
async _add_tags(id, triggerValue, params, options) {
|
|
148
|
+
return this.resources.update(
|
|
149
|
+
{ id: typeof id === "string" ? id : id.id, type: _LineItems.TYPE, _add_tags: triggerValue },
|
|
150
|
+
params,
|
|
151
|
+
options
|
|
152
|
+
);
|
|
153
|
+
}
|
|
154
|
+
async _remove_tags(id, triggerValue, params, options) {
|
|
155
|
+
return this.resources.update(
|
|
156
|
+
{ id: typeof id === "string" ? id : id.id, type: _LineItems.TYPE, _remove_tags: triggerValue },
|
|
157
|
+
params,
|
|
158
|
+
options
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
isLineItem(resource) {
|
|
162
|
+
return resource.type && resource.type === _LineItems.TYPE;
|
|
163
|
+
}
|
|
164
|
+
relationship(id) {
|
|
165
|
+
return super.relationshipOneToOne(id);
|
|
166
|
+
}
|
|
167
|
+
relationshipToMany(...ids) {
|
|
168
|
+
return super.relationshipOneToMany(...ids);
|
|
169
|
+
}
|
|
170
|
+
type() {
|
|
171
|
+
return _LineItems.TYPE;
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
var instance = new LineItems();
|
|
175
|
+
var line_items_default = instance;
|
|
176
|
+
|
|
177
|
+
exports.line_items_default = line_items_default;
|
|
178
|
+
//# sourceMappingURL=chunk-674BXKJQ.cjs.map
|
|
179
|
+
//# sourceMappingURL=chunk-674BXKJQ.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/line_items.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-674BXKJQ.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 { Adjustment, AdjustmentType } from './adjustments'\nimport type { Bundle, BundleType } from './bundles'\nimport type { BuyXPayYPromotion, BuyXPayYPromotionType } from './buy_x_pay_y_promotions'\nimport type { DiscountEngineItem, DiscountEngineItemType } from './discount_engine_items'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\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 { GiftCard, GiftCardType } from './gift_cards'\nimport type { LineItemOption } from './line_item_options'\nimport type { Notification } from './notifications'\nimport type { Order, OrderType } from './orders'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { PercentageDiscountPromotion, PercentageDiscountPromotionType } from './percentage_discount_promotions'\nimport type { ReturnLineItem } from './return_line_items'\nimport type { ShipmentLineItem } from './shipment_line_items'\nimport type { Shipment, ShipmentType } from './shipments'\nimport type { Sku, SkuType } from './skus'\nimport type { StockLineItem } from './stock_line_items'\nimport type { StockReservation } from './stock_reservations'\nimport type { StockTransfer } from './stock_transfers'\nimport type { Tag, TagType } from './tags'\n\ntype LineItemType = 'line_items'\ntype LineItemRel = ResourceRel & { type: LineItemType }\ntype OrderRel = ResourceRel & { type: OrderType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype BundleRel = ResourceRel & { type: BundleType }\ntype GiftCardRel = ResourceRel & { type: GiftCardType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\ntype AdjustmentRel = ResourceRel & { type: AdjustmentType }\ntype DiscountEngineItemRel = ResourceRel & { type: DiscountEngineItemType }\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 }\ntype TagRel = ResourceRel & { type: TagType }\n\nexport type LineItemSort = Pick<\n LineItem,\n | 'id'\n | 'currency_code'\n | 'unit_amount_cents'\n | 'compare_at_amount_cents'\n | 'options_amount_cents'\n | 'discount_cents'\n | 'total_amount_cents'\n | 'tax_amount_cents'\n | 'name'\n | 'item_type'\n | 'circuit_state'\n | 'circuit_failure_count'\n> &\n ResourceSort\n// export type LineItemFilter = Pick<LineItem, 'id' | 'sku_code' | 'quantity' | 'currency_code' | 'unit_amount_cents' | 'compare_at_amount_cents' | 'options_amount_cents' | 'discount_cents' | 'total_amount_cents' | 'tax_amount_cents' | 'name' | 'image_url' | 'item_type' | 'circuit_state' | 'circuit_failure_count'> & ResourceFilter\n\n/**\n * The Line item object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/line_items endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/line_items/object\n */\ninterface LineItem extends Resource {\n readonly type: LineItemType\n\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The code of the associated bundle.\n * @example ```\"BUNDLEMM000000FFFFFFXLXX\"```\n */\n bundle_code?: string | null\n /**\n * The line item quantity.\n * @example ```4```\n */\n quantity: number\n /**\n * When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'.\n * @example ```true```\n */\n _external_price?: boolean | null\n /**\n * The international 3-letter currency code as defined by the ISO 4217 standard, automatically inherited from the order's market.\n * @example ```\"EUR\"```\n */\n currency_code?: string | null\n /**\n * The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.\n * @example ```10000```\n */\n unit_amount_cents?: number | null\n /**\n * The unit amount of the line item, float. This can be useful to track the purchase on thrid party systems, e.g Google Analyitcs Enhanced Ecommerce.\n * @example ```100```\n */\n unit_amount_float?: number | null\n /**\n * The unit amount of the line item, formatted. This can be useful to display the amount with currency in you views.\n * @example ```\"€100,00\"```\n */\n formatted_unit_amount?: string | null\n /**\n * The compared price amount, in cents. Useful to display a percentage discount.\n * @example ```13000```\n */\n compare_at_amount_cents?: number | null\n /**\n * The compared price amount, float.\n * @example ```130```\n */\n compare_at_amount_float?: number | null\n /**\n * The compared price amount, formatted.\n * @example ```\"€130,00\"```\n */\n formatted_compare_at_amount?: string | null\n /**\n * The options amount of the line item, in cents. Cannot be passed by sales channels.\n * @example ```1000```\n */\n options_amount_cents?: number | null\n /**\n * The options amount of the line item, float.\n * @example ```10```\n */\n options_amount_float?: number | null\n /**\n * The options amount of the line item, formatted.\n * @example ```\"€10,00\"```\n */\n formatted_options_amount?: string | null\n /**\n * The discount applied to the line item, in cents. When you apply a discount to an order, this is automatically calculated basing on the line item total_amount_cents value.\n * @example ```-1000```\n */\n discount_cents?: number | null\n /**\n * The discount applied to the line item, float. When you apply a discount to an order, this is automatically calculated basing on the line item total_amount_cents value.\n * @example ```10```\n */\n discount_float?: number | null\n /**\n * The discount applied to the line item, fromatted. When you apply a discount to an order, this is automatically calculated basing on the line item total_amount_cents value.\n * @example ```\"€10,00\"```\n */\n formatted_discount?: string | null\n /**\n * Calculated as unit amount x quantity + options amount, in cents.\n * @example ```18800```\n */\n total_amount_cents?: number | null\n /**\n * Calculated as unit amount x quantity + options amount, float. This can be useful to track the purchase on thrid party systems, e.g Google Analyitcs Enhanced Ecommerce.\n * @example ```188```\n */\n total_amount_float: number\n /**\n * Calculated as unit amount x quantity + options amount, formatted. This can be useful to display the amount with currency in you views.\n * @example ```\"€188,00\"```\n */\n formatted_total_amount?: string | null\n /**\n * The collected tax amount, otherwise calculated as total amount cents - discount cent * tax rate, in cents.\n * @example ```1880```\n */\n tax_amount_cents?: number | null\n /**\n * The collected tax amount, otherwise calculated as total amount cents - discount cent * tax rate, float.\n * @example ```18.8```\n */\n tax_amount_float: number\n /**\n * The collected tax amount, otherwise calculated as total amount cents - discount cent * tax rate, formatted.\n * @example ```\"€18,80\"```\n */\n formatted_tax_amount?: string | null\n /**\n * The name of the line item. When blank, it gets populated with the name of the associated item (if present).\n * @example ```\"Men's Black T-shirt with White Logo (XL)\"```\n */\n name?: string | null\n /**\n * The image_url of the line item. When blank, it gets populated with the image_url of the associated item (if present, SKU only).\n * @example ```\"https://img.yourdomain.com/skus/xYZkjABcde.png\"```\n */\n image_url?: string | null\n /**\n * The discount breakdown for this line item (if calculated).\n * @example ```{\"41\":{\"name\":\"10% ALL\",\"cents\":-900,\"weight\":0.416,\"coupon_code\":\"XXXXXXXX\"}}```\n */\n discount_breakdown?: Record<string, any> | null\n /**\n * The tax rate for this line item (if calculated).\n * @example ```0.22```\n */\n tax_rate?: number | null\n /**\n * The tax breakdown for this line item (if calculated).\n * @example ```{\"id\":\"1234\",\"city_amount\":\"0.0\",\"state_amount\":6.6,\"city_tax_rate\":0,\"county_amount\":2.78,\"taxable_amount\":139,\"county_tax_rate\":0.02,\"tax_collectable\":10.08,\"special_tax_rate\":0.005,\"combined_tax_rate\":0.0725,\"city_taxable_amount\":0,\"state_sales_tax_rate\":0.0475,\"state_taxable_amount\":139,\"county_taxable_amount\":139,\"special_district_amount\":0.7,\"special_district_taxable_amount\":139}```\n */\n tax_breakdown?: Record<string, any> | null\n /**\n * The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.\n * @example ```\"skus\"```\n */\n item_type?:\n | 'skus'\n | 'bundles'\n | 'gift_cards'\n | 'shipments'\n | 'payment_methods'\n | 'adjustments'\n | 'discount_engine_items'\n | 'percentage_discount_promotions'\n | 'free_shipping_promotions'\n | 'buy_x_pay_y_promotions'\n | 'free_gift_promotions'\n | 'fixed_price_promotions'\n | 'external_promotions'\n | 'fixed_amount_promotions'\n | 'flex_promotions'\n | null\n /**\n * The frequency which generates a subscription. Must be supported by existing associated subscription_model.\n * @example ```\"monthly\"```\n */\n frequency?: string | null\n /**\n * The coupon code, if any, used to trigger this promotion line item. null for other line item types or if the promotion line item wasn't triggered by a coupon.\n * @example ```\"SUMMERDISCOUNT\"```\n */\n coupon_code?: string | null\n /**\n * The rule outcomes.\n * @example ```[]```\n */\n rule_outcomes?: Record<string, any> | null\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 order?: Order | null\n item?:\n | Sku\n | Bundle\n | GiftCard\n | Shipment\n | PaymentMethod\n | Adjustment\n | DiscountEngineItem\n | PercentageDiscountPromotion\n | FreeShippingPromotion\n | BuyXPayYPromotion\n | FreeGiftPromotion\n | FixedPricePromotion\n | ExternalPromotion\n | FixedAmountPromotion\n | FlexPromotion\n | null\n sku?: Sku | null\n bundle?: Bundle | null\n adjustment?: Adjustment | null\n gift_card?: GiftCard | null\n shipment?: Shipment | null\n payment_method?: PaymentMethod | null\n line_item_options?: LineItemOption[] | null\n return_line_items?: ReturnLineItem[] | null\n /**\n * @deprecated\n */\n shipment_line_items?: ShipmentLineItem[] | null\n stock_reservations?: StockReservation[] | null\n stock_line_items?: StockLineItem[] | null\n stock_transfers?: StockTransfer[] | null\n notifications?: Notification[] | null\n events?: Event[] | null\n tags?: Tag[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface LineItemCreate extends ResourceCreate {\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The code of the associated bundle.\n * @example ```\"BUNDLEMM000000FFFFFFXLXX\"```\n */\n bundle_code?: string | null\n /**\n * The line item quantity.\n * @example ```4```\n */\n quantity: number\n /**\n * When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'.\n * @example ```true```\n */\n _external_price?: boolean | null\n /**\n * When creating a new line item, set this attribute to '1' if you want to update the line item quantity (if present) instead of creating a new line item for the same SKU.\n * @example ```true```\n */\n _update_quantity?: boolean | null\n /**\n * Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed. Cannot be passed by sales channels.\n * @example ```true```\n */\n _reserve_stock?: boolean | null\n /**\n * Send this attribute if you want to reset the quantity restocked by a return or by an order/shipment cancel. This will allow for multiple returns, albeit you need to adjust the stock manually. Cannot be passed by sales channels.\n * @example ```true```\n */\n _reset_restocked_quantity?: boolean | null\n /**\n * The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.\n * @example ```10000```\n */\n unit_amount_cents?: number | null\n /**\n * The compared price amount, in cents. Useful to display a percentage discount.\n * @example ```13000```\n */\n compare_at_amount_cents?: number | null\n /**\n * The name of the line item. When blank, it gets populated with the name of the associated item (if present).\n * @example ```\"Men's Black T-shirt with White Logo (XL)\"```\n */\n name?: string | null\n /**\n * The image_url of the line item. When blank, it gets populated with the image_url of the associated item (if present, SKU only).\n * @example ```\"https://img.yourdomain.com/skus/xYZkjABcde.png\"```\n */\n image_url?: string | null\n /**\n * The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.\n * @example ```\"skus\"```\n */\n item_type?:\n | 'skus'\n | 'bundles'\n | 'gift_cards'\n | 'shipments'\n | 'payment_methods'\n | 'adjustments'\n | 'discount_engine_items'\n | 'percentage_discount_promotions'\n | 'free_shipping_promotions'\n | 'buy_x_pay_y_promotions'\n | 'free_gift_promotions'\n | 'fixed_price_promotions'\n | 'external_promotions'\n | 'fixed_amount_promotions'\n | 'flex_promotions'\n | null\n /**\n * The frequency which generates a subscription. Must be supported by existing associated subscription_model.\n * @example ```\"monthly\"```\n */\n frequency?: string | null\n\n order: OrderRel\n item?:\n | SkuRel\n | BundleRel\n | GiftCardRel\n | ShipmentRel\n | PaymentMethodRel\n | AdjustmentRel\n | DiscountEngineItemRel\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n | null\n tags?: TagRel[] | null\n}\n\ninterface LineItemUpdate extends ResourceUpdate {\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The code of the associated bundle.\n * @example ```\"BUNDLEMM000000FFFFFFXLXX\"```\n */\n bundle_code?: string | null\n /**\n * The line item quantity.\n * @example ```4```\n */\n quantity?: number | null\n /**\n * When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'.\n * @example ```true```\n */\n _external_price?: boolean | null\n /**\n * Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed. Cannot be passed by sales channels.\n * @example ```true```\n */\n _reserve_stock?: boolean | null\n /**\n * Send this attribute if you want to reset the quantity restocked by a return or by an order/shipment cancel. This will allow for multiple returns, albeit you need to adjust the stock manually. Cannot be passed by sales channels.\n * @example ```true```\n */\n _reset_restocked_quantity?: boolean | null\n /**\n * The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.\n * @example ```10000```\n */\n unit_amount_cents?: number | null\n /**\n * The compared price amount, in cents. Useful to display a percentage discount.\n * @example ```13000```\n */\n compare_at_amount_cents?: number | null\n /**\n * The options amount of the line item, in cents. Cannot be passed by sales channels.\n * @example ```1000```\n */\n options_amount_cents?: number | null\n /**\n * The name of the line item. When blank, it gets populated with the name of the associated item (if present).\n * @example ```\"Men's Black T-shirt with White Logo (XL)\"```\n */\n name?: string | null\n /**\n * The image_url of the line item. When blank, it gets populated with the image_url of the associated item (if present, SKU only).\n * @example ```\"https://img.yourdomain.com/skus/xYZkjABcde.png\"```\n */\n image_url?: string | null\n /**\n * The frequency which generates a subscription. Must be supported by existing associated subscription_model.\n * @example ```\"monthly\"```\n */\n frequency?: 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 * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _add_tags?: string | null\n /**\n * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _remove_tags?: string | null\n\n tags?: TagRel[] | null\n}\n\nclass LineItems extends ApiResource<LineItem> {\n static readonly TYPE: LineItemType = 'line_items' as const\n\n async create(\n resource: LineItemCreate,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.create<LineItemCreate, LineItem>({ ...resource, type: LineItems.TYPE }, params, options)\n }\n\n async update(\n resource: LineItemUpdate,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.update<LineItemUpdate, LineItem>({ ...resource, type: LineItems.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: LineItems.TYPE } : id, options)\n }\n\n async order(\n lineItemId: string | LineItem,\n params?: QueryParamsRetrieve<Order>,\n options?: ResourcesConfig,\n ): Promise<Order> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<Order>(\n { type: 'orders' },\n `line_items/${_lineItemId}/order`,\n params,\n options,\n ) as unknown as Order\n }\n\n async line_item_options(\n lineItemId: string | LineItem,\n params?: QueryParamsList<LineItemOption>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<LineItemOption>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<LineItemOption>(\n { type: 'line_item_options' },\n `line_items/${_lineItemId}/line_item_options`,\n params,\n options,\n ) as unknown as ListResponse<LineItemOption>\n }\n\n async return_line_items(\n lineItemId: string | LineItem,\n params?: QueryParamsList<ReturnLineItem>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<ReturnLineItem>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<ReturnLineItem>(\n { type: 'return_line_items' },\n `line_items/${_lineItemId}/return_line_items`,\n params,\n options,\n ) as unknown as ListResponse<ReturnLineItem>\n }\n\n /**\n * @deprecated\n */\n async shipment_line_items(\n lineItemId: string | LineItem,\n params?: QueryParamsList<ShipmentLineItem>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<ShipmentLineItem>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<ShipmentLineItem>(\n { type: 'shipment_line_items' },\n `line_items/${_lineItemId}/shipment_line_items`,\n params,\n options,\n ) as unknown as ListResponse<ShipmentLineItem>\n }\n\n async stock_reservations(\n lineItemId: string | LineItem,\n params?: QueryParamsList<StockReservation>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<StockReservation>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<StockReservation>(\n { type: 'stock_reservations' },\n `line_items/${_lineItemId}/stock_reservations`,\n params,\n options,\n ) as unknown as ListResponse<StockReservation>\n }\n\n async stock_line_items(\n lineItemId: string | LineItem,\n params?: QueryParamsList<StockLineItem>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<StockLineItem>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<StockLineItem>(\n { type: 'stock_line_items' },\n `line_items/${_lineItemId}/stock_line_items`,\n params,\n options,\n ) as unknown as ListResponse<StockLineItem>\n }\n\n async stock_transfers(\n lineItemId: string | LineItem,\n params?: QueryParamsList<StockTransfer>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<StockTransfer>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<StockTransfer>(\n { type: 'stock_transfers' },\n `line_items/${_lineItemId}/stock_transfers`,\n params,\n options,\n ) as unknown as ListResponse<StockTransfer>\n }\n\n async notifications(\n lineItemId: string | LineItem,\n params?: QueryParamsList<Notification>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Notification>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<Notification>(\n { type: 'notifications' },\n `line_items/${_lineItemId}/notifications`,\n params,\n options,\n ) as unknown as ListResponse<Notification>\n }\n\n async events(\n lineItemId: string | LineItem,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `line_items/${_lineItemId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async tags(\n lineItemId: string | LineItem,\n params?: QueryParamsList<Tag>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Tag>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<Tag>(\n { type: 'tags' },\n `line_items/${_lineItemId}/tags`,\n params,\n options,\n ) as unknown as ListResponse<Tag>\n }\n\n async event_stores(\n lineItemId: string | LineItem,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `line_items/${_lineItemId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _external_price(\n id: string | LineItem,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.update<LineItemUpdate, LineItem>(\n { id: typeof id === 'string' ? id : id.id, type: LineItems.TYPE, _external_price: true },\n params,\n options,\n )\n }\n\n async _reserve_stock(\n id: string | LineItem,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.update<LineItemUpdate, LineItem>(\n { id: typeof id === 'string' ? id : id.id, type: LineItems.TYPE, _reserve_stock: true },\n params,\n options,\n )\n }\n\n async _reset_restocked_quantity(\n id: string | LineItem,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.update<LineItemUpdate, LineItem>(\n { id: typeof id === 'string' ? id : id.id, type: LineItems.TYPE, _reset_restocked_quantity: true },\n params,\n options,\n )\n }\n\n async _reset_circuit(\n id: string | LineItem,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.update<LineItemUpdate, LineItem>(\n { id: typeof id === 'string' ? id : id.id, type: LineItems.TYPE, _reset_circuit: true },\n params,\n options,\n )\n }\n\n async _add_tags(\n id: string | LineItem,\n triggerValue: string,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.update<LineItemUpdate, LineItem>(\n { id: typeof id === 'string' ? id : id.id, type: LineItems.TYPE, _add_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _remove_tags(\n id: string | LineItem,\n triggerValue: string,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.update<LineItemUpdate, LineItem>(\n { id: typeof id === 'string' ? id : id.id, type: LineItems.TYPE, _remove_tags: triggerValue },\n params,\n options,\n )\n }\n\n isLineItem(resource: any): resource is LineItem {\n return resource.type && resource.type === LineItems.TYPE\n }\n\n relationship(id: string | ResourceId | null): LineItemRel {\n return super.relationshipOneToOne<LineItemRel>(id)\n }\n\n relationshipToMany(...ids: string[]): LineItemRel[] {\n return super.relationshipOneToMany<LineItemRel>(...ids)\n }\n\n type(): LineItemType {\n return LineItems.TYPE\n }\n}\n\nconst instance = new LineItems()\nexport default instance\n\nexport type { LineItem, LineItemCreate, LineItems, LineItemType, LineItemUpdate }\n"]}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-W3KXJFVJ.js';
|
|
2
|
+
|
|
3
|
+
// gen/resources/axerve_gateways.ts
|
|
4
|
+
var AxerveGateways = class _AxerveGateways extends ApiResource {
|
|
5
|
+
static TYPE = "axerve_gateways";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create(
|
|
8
|
+
{ ...resource, type: _AxerveGateways.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _AxerveGateways.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _AxerveGateways.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async payment_methods(axerveGatewayId, params, options) {
|
|
24
|
+
const _axerveGatewayId = axerveGatewayId.id || axerveGatewayId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "payment_methods" },
|
|
27
|
+
`axerve_gateways/${_axerveGatewayId}/payment_methods`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
async event_stores(axerveGatewayId, params, options) {
|
|
33
|
+
const _axerveGatewayId = axerveGatewayId.id || axerveGatewayId;
|
|
34
|
+
return this.resources.fetch(
|
|
35
|
+
{ type: "event_stores" },
|
|
36
|
+
`axerve_gateways/${_axerveGatewayId}/event_stores`,
|
|
37
|
+
params,
|
|
38
|
+
options
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
async axerve_payments(axerveGatewayId, params, options) {
|
|
42
|
+
const _axerveGatewayId = axerveGatewayId.id || axerveGatewayId;
|
|
43
|
+
return this.resources.fetch(
|
|
44
|
+
{ type: "axerve_payments" },
|
|
45
|
+
`axerve_gateways/${_axerveGatewayId}/axerve_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: _AxerveGateways.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: _AxerveGateways.TYPE, _enable: true },
|
|
60
|
+
params,
|
|
61
|
+
options
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
isAxerveGateway(resource) {
|
|
65
|
+
return resource.type && resource.type === _AxerveGateways.TYPE;
|
|
66
|
+
}
|
|
67
|
+
relationship(id) {
|
|
68
|
+
return super.relationshipOneToOne(id);
|
|
69
|
+
}
|
|
70
|
+
relationshipToMany(...ids) {
|
|
71
|
+
return super.relationshipOneToMany(...ids);
|
|
72
|
+
}
|
|
73
|
+
type() {
|
|
74
|
+
return _AxerveGateways.TYPE;
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
var instance = new AxerveGateways();
|
|
78
|
+
var axerve_gateways_default = instance;
|
|
79
|
+
|
|
80
|
+
export { axerve_gateways_default };
|
|
81
|
+
//# sourceMappingURL=chunk-67ZD4YVY.js.map
|
|
82
|
+
//# sourceMappingURL=chunk-67ZD4YVY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/axerve_gateways.ts"],"names":[],"mappings":"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","file":"chunk-67ZD4YVY.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 { AxervePayment, AxervePaymentType } from './axerve_payments'\nimport type { EventStore } from './event_stores'\nimport type { PaymentMethod } from './payment_methods'\n\ntype AxerveGatewayType = 'axerve_gateways'\ntype AxerveGatewayRel = ResourceRel & { type: AxerveGatewayType }\ntype AxervePaymentRel = ResourceRel & { type: AxervePaymentType }\n\nexport type AxerveGatewaySort = Pick<AxerveGateway, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type AxerveGatewayFilter = Pick<AxerveGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n/**\n * The Axerve gateway object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/axerve_gateways endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/axerve_gateways/object\n */\ninterface AxerveGateway extends Resource {\n readonly type: AxerveGatewayType\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 merchant login code.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n login: string\n /**\n * The gateway webhook URL, generated automatically.\n * @example ```\"https://core.commercelayer.co/webhook_callbacks/axerve_gateways/xxxxx\"```\n */\n webhook_endpoint_url?: string | null\n\n payment_methods?: PaymentMethod[] | null\n event_stores?: EventStore[] | null\n axerve_payments?: AxervePayment[] | null\n}\n\ninterface AxerveGatewayCreate 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 * The merchant login code.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n login: string\n /**\n * The gateway API key.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n api_key: string\n\n axerve_payments?: AxervePaymentRel[] | null\n}\n\ninterface AxerveGatewayUpdate 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 * The merchant login code.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n login?: string | null\n /**\n * The gateway API key.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n api_key?: string | null\n\n axerve_payments?: AxervePaymentRel[] | null\n}\n\nclass AxerveGateways extends ApiResource<AxerveGateway> {\n static readonly TYPE: AxerveGatewayType = 'axerve_gateways' as const\n\n async create(\n resource: AxerveGatewayCreate,\n params?: QueryParamsRetrieve<AxerveGateway>,\n options?: ResourcesConfig,\n ): Promise<AxerveGateway> {\n return this.resources.create<AxerveGatewayCreate, AxerveGateway>(\n { ...resource, type: AxerveGateways.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: AxerveGatewayUpdate,\n params?: QueryParamsRetrieve<AxerveGateway>,\n options?: ResourcesConfig,\n ): Promise<AxerveGateway> {\n return this.resources.update<AxerveGatewayUpdate, AxerveGateway>(\n { ...resource, type: AxerveGateways.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: AxerveGateways.TYPE } : id, options)\n }\n\n async payment_methods(\n axerveGatewayId: string | AxerveGateway,\n params?: QueryParamsList<PaymentMethod>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentMethod>> {\n const _axerveGatewayId = (axerveGatewayId as AxerveGateway).id || (axerveGatewayId as string)\n return this.resources.fetch<PaymentMethod>(\n { type: 'payment_methods' },\n `axerve_gateways/${_axerveGatewayId}/payment_methods`,\n params,\n options,\n ) as unknown as ListResponse<PaymentMethod>\n }\n\n async event_stores(\n axerveGatewayId: string | AxerveGateway,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _axerveGatewayId = (axerveGatewayId as AxerveGateway).id || (axerveGatewayId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `axerve_gateways/${_axerveGatewayId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async axerve_payments(\n axerveGatewayId: string | AxerveGateway,\n params?: QueryParamsList<AxervePayment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<AxervePayment>> {\n const _axerveGatewayId = (axerveGatewayId as AxerveGateway).id || (axerveGatewayId as string)\n return this.resources.fetch<AxervePayment>(\n { type: 'axerve_payments' },\n `axerve_gateways/${_axerveGatewayId}/axerve_payments`,\n params,\n options,\n ) as unknown as ListResponse<AxervePayment>\n }\n\n async _disable(\n id: string | AxerveGateway,\n params?: QueryParamsRetrieve<AxerveGateway>,\n options?: ResourcesConfig,\n ): Promise<AxerveGateway> {\n return this.resources.update<AxerveGatewayUpdate, AxerveGateway>(\n { id: typeof id === 'string' ? id : id.id, type: AxerveGateways.TYPE, _disable: true },\n params,\n options,\n )\n }\n\n async _enable(\n id: string | AxerveGateway,\n params?: QueryParamsRetrieve<AxerveGateway>,\n options?: ResourcesConfig,\n ): Promise<AxerveGateway> {\n return this.resources.update<AxerveGatewayUpdate, AxerveGateway>(\n { id: typeof id === 'string' ? id : id.id, type: AxerveGateways.TYPE, _enable: true },\n params,\n options,\n )\n }\n\n isAxerveGateway(resource: any): resource is AxerveGateway {\n return resource.type && resource.type === AxerveGateways.TYPE\n }\n\n relationship(id: string | ResourceId | null): AxerveGatewayRel {\n return super.relationshipOneToOne<AxerveGatewayRel>(id)\n }\n\n relationshipToMany(...ids: string[]): AxerveGatewayRel[] {\n return super.relationshipOneToMany<AxerveGatewayRel>(...ids)\n }\n\n type(): AxerveGatewayType {\n return AxerveGateways.TYPE\n }\n}\n\nconst instance = new AxerveGateways()\nexport default instance\n\nexport type { AxerveGateway, AxerveGatewayCreate, AxerveGateways, AxerveGatewayType, AxerveGatewayUpdate }\n"]}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkANS5U6HN_cjs = require('./chunk-ANS5U6HN.cjs');
|
|
4
|
+
|
|
5
|
+
// gen/resources/addresses.ts
|
|
6
|
+
var Addresses = class _Addresses extends chunkANS5U6HN_cjs.ApiResource {
|
|
7
|
+
static TYPE = "addresses";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create({ ...resource, type: _Addresses.TYPE }, params, options);
|
|
10
|
+
}
|
|
11
|
+
async update(resource, params, options) {
|
|
12
|
+
return this.resources.update({ ...resource, type: _Addresses.TYPE }, params, options);
|
|
13
|
+
}
|
|
14
|
+
async delete(id, options) {
|
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _Addresses.TYPE } : id, options);
|
|
16
|
+
}
|
|
17
|
+
async geocoder(addressId, params, options) {
|
|
18
|
+
const _addressId = addressId.id || addressId;
|
|
19
|
+
return this.resources.fetch(
|
|
20
|
+
{ type: "geocoders" },
|
|
21
|
+
`addresses/${_addressId}/geocoder`,
|
|
22
|
+
params,
|
|
23
|
+
options
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
async events(addressId, params, options) {
|
|
27
|
+
const _addressId = addressId.id || addressId;
|
|
28
|
+
return this.resources.fetch(
|
|
29
|
+
{ type: "events" },
|
|
30
|
+
`addresses/${_addressId}/events`,
|
|
31
|
+
params,
|
|
32
|
+
options
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
async tags(addressId, params, options) {
|
|
36
|
+
const _addressId = addressId.id || addressId;
|
|
37
|
+
return this.resources.fetch(
|
|
38
|
+
{ type: "tags" },
|
|
39
|
+
`addresses/${_addressId}/tags`,
|
|
40
|
+
params,
|
|
41
|
+
options
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
async event_stores(addressId, params, options) {
|
|
45
|
+
const _addressId = addressId.id || addressId;
|
|
46
|
+
return this.resources.fetch(
|
|
47
|
+
{ type: "event_stores" },
|
|
48
|
+
`addresses/${_addressId}/event_stores`,
|
|
49
|
+
params,
|
|
50
|
+
options
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
async _add_tags(id, triggerValue, params, options) {
|
|
54
|
+
return this.resources.update(
|
|
55
|
+
{ id: typeof id === "string" ? id : id.id, type: _Addresses.TYPE, _add_tags: triggerValue },
|
|
56
|
+
params,
|
|
57
|
+
options
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
async _remove_tags(id, triggerValue, params, options) {
|
|
61
|
+
return this.resources.update(
|
|
62
|
+
{ id: typeof id === "string" ? id : id.id, type: _Addresses.TYPE, _remove_tags: triggerValue },
|
|
63
|
+
params,
|
|
64
|
+
options
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
isAddress(resource) {
|
|
68
|
+
return resource.type && resource.type === _Addresses.TYPE;
|
|
69
|
+
}
|
|
70
|
+
relationship(id) {
|
|
71
|
+
return super.relationshipOneToOne(id);
|
|
72
|
+
}
|
|
73
|
+
relationshipToMany(...ids) {
|
|
74
|
+
return super.relationshipOneToMany(...ids);
|
|
75
|
+
}
|
|
76
|
+
type() {
|
|
77
|
+
return _Addresses.TYPE;
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
var instance = new Addresses();
|
|
81
|
+
var addresses_default = instance;
|
|
82
|
+
|
|
83
|
+
exports.addresses_default = addresses_default;
|
|
84
|
+
//# sourceMappingURL=chunk-6B7CYQHN.cjs.map
|
|
85
|
+
//# sourceMappingURL=chunk-6B7CYQHN.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/addresses.ts"],"names":["ApiResource"],"mappings":";;;;;AAiVA,IAAM,SAAA,GAAN,MAAM,UAAA,SAAkBA,6BAAA,CAAqB;AAAA,EAC3C,OAAgB,IAAA,GAAoB,WAAA;AAAA,EAEpC,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACkB;AAClB,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,UAAA,CAAU,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC7G;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACkB;AAClB,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,UAAA,CAAU,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC7G;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,UAAA,CAAU,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACjG;AAAA,EAEA,MAAM,QAAA,CACJ,SAAA,EACA,MAAA,EACA,OAAA,EACmB;AACnB,IAAA,MAAM,UAAA,GAAc,UAAsB,EAAA,IAAO,SAAA;AACjD,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,WAAA,EAAY;AAAA,MACpB,aAAa,UAAU,CAAA,SAAA,CAAA;AAAA,MACvB,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,SAAA,EACA,MAAA,EACA,OAAA,EAC8B;AAC9B,IAAA,MAAM,UAAA,GAAc,UAAsB,EAAA,IAAO,SAAA;AACjD,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,QAAA,EAAS;AAAA,MACjB,aAAa,UAAU,CAAA,OAAA,CAAA;AAAA,MACvB,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,IAAA,CACJ,SAAA,EACA,MAAA,EACA,OAAA,EAC4B;AAC5B,IAAA,MAAM,UAAA,GAAc,UAAsB,EAAA,IAAO,SAAA;AACjD,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,MAAA,EAAO;AAAA,MACf,aAAa,UAAU,CAAA,KAAA,CAAA;AAAA,MACvB,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,SAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,UAAA,GAAc,UAAsB,EAAA,IAAO,SAAA;AACjD,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,aAAa,UAAU,CAAA,aAAA,CAAA;AAAA,MACvB,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,SAAA,CACJ,EAAA,EACA,YAAA,EACA,QACA,OAAA,EACkB;AAClB,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,EAAA,EAAI,OAAO,EAAA,KAAO,QAAA,GAAW,EAAA,GAAK,EAAA,CAAG,EAAA,EAAI,IAAA,EAAM,UAAA,CAAU,IAAA,EAAM,SAAA,EAAW,YAAA,EAAa;AAAA,MACzF,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,EAAA,EACA,YAAA,EACA,QACA,OAAA,EACkB;AAClB,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,EAAA,EAAI,OAAO,EAAA,KAAO,QAAA,GAAW,EAAA,GAAK,EAAA,CAAG,EAAA,EAAI,IAAA,EAAM,UAAA,CAAU,IAAA,EAAM,YAAA,EAAc,YAAA,EAAa;AAAA,MAC5F,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,UAAU,QAAA,EAAoC;AAC5C,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,UAAA,CAAU,IAAA;AAAA,EACtD;AAAA,EAEA,aAAa,EAAA,EAA4C;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAiC,EAAE,CAAA;AAAA,EAClD;AAAA,EAEA,sBAAsB,GAAA,EAA6B;AACjD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAkC,GAAG,GAAG,CAAA;AAAA,EACvD;AAAA,EAEA,IAAA,GAAoB;AAClB,IAAA,OAAO,UAAA,CAAU,IAAA;AAAA,EACnB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,SAAA,EAAU;AAC/B,IAAO,iBAAA,GAAQ","file":"chunk-6B7CYQHN.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 { Geocoder, GeocoderType } from './geocoders'\nimport type { Tag, TagType } from './tags'\n\ntype AddressType = 'addresses'\ntype AddressRel = ResourceRel & { type: AddressType }\ntype GeocoderRel = ResourceRel & { type: GeocoderType }\ntype TagRel = ResourceRel & { type: TagType }\n\nexport type AddressSort = Pick<Address, 'id' | 'city' | 'state_code' | 'country_code'> & ResourceSort\n// export type AddressFilter = Pick<Address, 'id' | 'business' | 'first_name' | 'last_name' | 'company' | 'line_1' | 'line_2' | 'city' | 'zip_code' | 'state_code' | 'country_code' | 'phone' | 'email' | 'notes' | 'lat' | 'lng' | 'billing_info'> & ResourceFilter\n\n/**\n * The Address object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/addresses endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/addresses/object\n */\ninterface Address extends Resource {\n readonly type: AddressType\n\n /**\n * Indicates if it's a business or a personal address.\n */\n business?: boolean | null\n /**\n * Address first name (personal).\n * @example ```\"John\"```\n */\n first_name?: string | null\n /**\n * Address last name (personal).\n * @example ```\"Smith\"```\n */\n last_name?: string | null\n /**\n * Address company name (business).\n * @example ```\"The Red Brand Inc.\"```\n */\n company?: string | null\n /**\n * Company name (business) of first name and last name (personal).\n * @example ```\"John Smith\"```\n */\n full_name?: string | null\n /**\n * Address line 1, i.e. Street address, PO Box.\n * @example ```\"2883 Geraldine Lane\"```\n */\n line_1: string\n /**\n * Address line 2, i.e. Apartment, Suite, Building.\n * @example ```\"Apt.23\"```\n */\n line_2?: string | null\n /**\n * Address city.\n * @example ```\"New York\"```\n */\n city: string\n /**\n * ZIP or postal code.\n * @example ```\"10013\"```\n */\n zip_code?: string | null\n /**\n * State, province or region code.\n * @example ```\"NY\"```\n */\n state_code?: string | null\n /**\n * The international 2-letter country code as defined by the ISO 3166-1 standard.\n * @example ```\"US\"```\n */\n country_code: string\n /**\n * Phone number (including extension).\n * @example ```\"(212) 646-338-1228\"```\n */\n phone: string\n /**\n * Compact description of the address location, without the full name.\n * @example ```\"2883 Geraldine Lane Apt.23, 10013 New York NY (US) (212) 646-338-1228\"```\n */\n full_address?: string | null\n /**\n * Compact description of the address location, including the full name.\n * @example ```\"John Smith, 2883 Geraldine Lane Apt.23, 10013 New York NY (US) (212) 646-338-1228\"```\n */\n name?: string | null\n /**\n * Email address.\n * @example ```\"john@example.com\"```\n */\n email?: string | null\n /**\n * A free notes attached to the address. When used as a shipping address, this can be useful to let the customers add specific delivery instructions.\n * @example ```\"Please ring the bell twice\"```\n */\n notes?: string | null\n /**\n * The address geocoded latitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n * @example ```40.6971494```\n */\n lat?: number | null\n /**\n * The address geocoded longitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n * @example ```-74.2598672```\n */\n lng?: number | null\n /**\n * Indicates if the latitude and logitude are present, either geocoded or manually updated.\n * @example ```true```\n */\n is_localized?: boolean | null\n /**\n * Indicates if the address has been successfully geocoded.\n * @example ```true```\n */\n is_geocoded?: boolean | null\n /**\n * The geocoder provider name (either Google or Bing).\n * @example ```\"google\"```\n */\n provider_name?: string | null\n /**\n * The map url of the geocoded address (if geocoded).\n * @example ```\"https://www.google.com/maps/search/?api=1&query=40.6971494,-74.2598672\"```\n */\n map_url?: string | null\n /**\n * The static map image url of the geocoded address (if geocoded).\n * @example ```\"https://maps.googleapis.com/maps/api/staticmap?center=40.6971494,-74.2598672&size=640x320&zoom=15\"```\n */\n static_map_url?: string | null\n /**\n * Customer's billing information (i.e. VAT number, codice fiscale).\n * @example ```\"VAT ID IT02382940977\"```\n */\n billing_info?: string | null\n\n geocoder?: Geocoder | null\n events?: Event[] | null\n tags?: Tag[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface AddressCreate extends ResourceCreate {\n /**\n * Indicates if it's a business or a personal address.\n */\n business?: boolean | null\n /**\n * Address first name (personal).\n * @example ```\"John\"```\n */\n first_name?: string | null\n /**\n * Address last name (personal).\n * @example ```\"Smith\"```\n */\n last_name?: string | null\n /**\n * Address company name (business).\n * @example ```\"The Red Brand Inc.\"```\n */\n company?: string | null\n /**\n * Address line 1, i.e. Street address, PO Box.\n * @example ```\"2883 Geraldine Lane\"```\n */\n line_1: string\n /**\n * Address line 2, i.e. Apartment, Suite, Building.\n * @example ```\"Apt.23\"```\n */\n line_2?: string | null\n /**\n * Address city.\n * @example ```\"New York\"```\n */\n city: string\n /**\n * ZIP or postal code.\n * @example ```\"10013\"```\n */\n zip_code?: string | null\n /**\n * State, province or region code.\n * @example ```\"NY\"```\n */\n state_code?: string | null\n /**\n * The international 2-letter country code as defined by the ISO 3166-1 standard.\n * @example ```\"US\"```\n */\n country_code: string\n /**\n * Phone number (including extension).\n * @example ```\"(212) 646-338-1228\"```\n */\n phone: string\n /**\n * Email address.\n * @example ```\"john@example.com\"```\n */\n email?: string | null\n /**\n * A free notes attached to the address. When used as a shipping address, this can be useful to let the customers add specific delivery instructions.\n * @example ```\"Please ring the bell twice\"```\n */\n notes?: string | null\n /**\n * The address geocoded latitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n * @example ```40.6971494```\n */\n lat?: number | null\n /**\n * The address geocoded longitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n * @example ```-74.2598672```\n */\n lng?: number | null\n /**\n * Customer's billing information (i.e. VAT number, codice fiscale).\n * @example ```\"VAT ID IT02382940977\"```\n */\n billing_info?: string | null\n\n geocoder?: GeocoderRel | null\n tags?: TagRel[] | null\n}\n\ninterface AddressUpdate extends ResourceUpdate {\n /**\n * Indicates if it's a business or a personal address.\n */\n business?: boolean | null\n /**\n * Address first name (personal).\n * @example ```\"John\"```\n */\n first_name?: string | null\n /**\n * Address last name (personal).\n * @example ```\"Smith\"```\n */\n last_name?: string | null\n /**\n * Address company name (business).\n * @example ```\"The Red Brand Inc.\"```\n */\n company?: string | null\n /**\n * Address line 1, i.e. Street address, PO Box.\n * @example ```\"2883 Geraldine Lane\"```\n */\n line_1?: string | null\n /**\n * Address line 2, i.e. Apartment, Suite, Building.\n * @example ```\"Apt.23\"```\n */\n line_2?: string | null\n /**\n * Address city.\n * @example ```\"New York\"```\n */\n city?: string | null\n /**\n * ZIP or postal code.\n * @example ```\"10013\"```\n */\n zip_code?: string | null\n /**\n * State, province or region code.\n * @example ```\"NY\"```\n */\n state_code?: string | null\n /**\n * The international 2-letter country code as defined by the ISO 3166-1 standard.\n * @example ```\"US\"```\n */\n country_code?: string | null\n /**\n * Phone number (including extension).\n * @example ```\"(212) 646-338-1228\"```\n */\n phone?: string | null\n /**\n * Email address.\n * @example ```\"john@example.com\"```\n */\n email?: string | null\n /**\n * A free notes attached to the address. When used as a shipping address, this can be useful to let the customers add specific delivery instructions.\n * @example ```\"Please ring the bell twice\"```\n */\n notes?: string | null\n /**\n * The address geocoded latitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n * @example ```40.6971494```\n */\n lat?: number | null\n /**\n * The address geocoded longitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n * @example ```-74.2598672```\n */\n lng?: number | null\n /**\n * Customer's billing information (i.e. VAT number, codice fiscale).\n * @example ```\"VAT ID IT02382940977\"```\n */\n billing_info?: string | null\n /**\n * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _add_tags?: string | null\n /**\n * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _remove_tags?: string | null\n\n geocoder?: GeocoderRel | null\n tags?: TagRel[] | null\n}\n\nclass Addresses extends ApiResource<Address> {\n static readonly TYPE: AddressType = 'addresses' as const\n\n async create(\n resource: AddressCreate,\n params?: QueryParamsRetrieve<Address>,\n options?: ResourcesConfig,\n ): Promise<Address> {\n return this.resources.create<AddressCreate, Address>({ ...resource, type: Addresses.TYPE }, params, options)\n }\n\n async update(\n resource: AddressUpdate,\n params?: QueryParamsRetrieve<Address>,\n options?: ResourcesConfig,\n ): Promise<Address> {\n return this.resources.update<AddressUpdate, Address>({ ...resource, type: Addresses.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: Addresses.TYPE } : id, options)\n }\n\n async geocoder(\n addressId: string | Address,\n params?: QueryParamsRetrieve<Geocoder>,\n options?: ResourcesConfig,\n ): Promise<Geocoder> {\n const _addressId = (addressId as Address).id || (addressId as string)\n return this.resources.fetch<Geocoder>(\n { type: 'geocoders' },\n `addresses/${_addressId}/geocoder`,\n params,\n options,\n ) as unknown as Geocoder\n }\n\n async events(\n addressId: string | Address,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _addressId = (addressId as Address).id || (addressId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `addresses/${_addressId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async tags(\n addressId: string | Address,\n params?: QueryParamsList<Tag>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Tag>> {\n const _addressId = (addressId as Address).id || (addressId as string)\n return this.resources.fetch<Tag>(\n { type: 'tags' },\n `addresses/${_addressId}/tags`,\n params,\n options,\n ) as unknown as ListResponse<Tag>\n }\n\n async event_stores(\n addressId: string | Address,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _addressId = (addressId as Address).id || (addressId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `addresses/${_addressId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _add_tags(\n id: string | Address,\n triggerValue: string,\n params?: QueryParamsRetrieve<Address>,\n options?: ResourcesConfig,\n ): Promise<Address> {\n return this.resources.update<AddressUpdate, Address>(\n { id: typeof id === 'string' ? id : id.id, type: Addresses.TYPE, _add_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _remove_tags(\n id: string | Address,\n triggerValue: string,\n params?: QueryParamsRetrieve<Address>,\n options?: ResourcesConfig,\n ): Promise<Address> {\n return this.resources.update<AddressUpdate, Address>(\n { id: typeof id === 'string' ? id : id.id, type: Addresses.TYPE, _remove_tags: triggerValue },\n params,\n options,\n )\n }\n\n isAddress(resource: any): resource is Address {\n return resource.type && resource.type === Addresses.TYPE\n }\n\n relationship(id: string | ResourceId | null): AddressRel {\n return super.relationshipOneToOne<AddressRel>(id)\n }\n\n relationshipToMany(...ids: string[]): AddressRel[] {\n return super.relationshipOneToMany<AddressRel>(...ids)\n }\n\n type(): AddressType {\n return Addresses.TYPE\n }\n}\n\nconst instance = new Addresses()\nexport default instance\n\nexport type { Address, AddressCreate, Addresses, AddressType, AddressUpdate }\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkANS5U6HN_cjs = require('./chunk-ANS5U6HN.cjs');
|
|
4
|
+
|
|
5
|
+
// gen/resources/event_stores.ts
|
|
6
|
+
var EventStores = class _EventStores extends chunkANS5U6HN_cjs.ApiResource {
|
|
7
|
+
static TYPE = "event_stores";
|
|
8
|
+
isEventStore(resource) {
|
|
9
|
+
return resource.type && resource.type === _EventStores.TYPE;
|
|
10
|
+
}
|
|
11
|
+
relationship(id) {
|
|
12
|
+
return super.relationshipOneToOne(id);
|
|
13
|
+
}
|
|
14
|
+
relationshipToMany(...ids) {
|
|
15
|
+
return super.relationshipOneToMany(...ids);
|
|
16
|
+
}
|
|
17
|
+
type() {
|
|
18
|
+
return _EventStores.TYPE;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
var instance = new EventStores();
|
|
22
|
+
var event_stores_default = instance;
|
|
23
|
+
|
|
24
|
+
exports.event_stores_default = event_stores_default;
|
|
25
|
+
//# sourceMappingURL=chunk-6E4FMYAD.cjs.map
|
|
26
|
+
//# sourceMappingURL=chunk-6E4FMYAD.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/event_stores.ts"],"names":["ApiResource"],"mappings":";;;;;AA2IA,IAAM,WAAA,GAAN,MAAM,YAAA,SAAoBA,6BAAA,CAAwB;AAAA,EAChD,OAAgB,IAAA,GAAuB,cAAA;AAAA,EAEvC,aAAa,QAAA,EAAuC;AAClD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,YAAA,CAAY,IAAA;AAAA,EACxD;AAAA,EAEA,aAAa,EAAA,EAA+C;AAC1D,IAAA,OAAO,KAAA,CAAM,qBAAoC,EAAE,CAAA;AAAA,EACrD;AAAA,EAEA,sBAAsB,GAAA,EAAgC;AACpD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAqC,GAAG,GAAG,CAAA;AAAA,EAC1D;AAAA,EAEA,IAAA,GAAuB;AACrB,IAAA,OAAO,YAAA,CAAY,IAAA;AAAA,EACrB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,WAAA,EAAY;AACjC,IAAO,oBAAA,GAAQ","file":"chunk-6E4FMYAD.cjs","sourcesContent":["import type { Resource, ResourceId, ResourceRel, ResourceSort /* ResourceFilter */ } from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\n\ntype EventStoreType = 'event_stores'\ntype EventStoreRel = ResourceRel & { type: EventStoreType }\n\nexport type EventStoreSort = Pick<EventStore, 'id'> & ResourceSort\n// export type EventStoreFilter = Pick<EventStore, 'id'> & ResourceFilter\n\n/**\n * The Event store object is returned as part of the response body of each successful retrieve API call to the /api/event_stores endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/event_stores/object\n */\ninterface EventStore extends Resource {\n readonly type: EventStoreType\n\n /**\n * The type of the affected resource. One of 'applications', 'event_stores', 'addresses', 'geocoders', 'events', 'tags', 'adjustments', 'price_lists', 'payment_gateways', 'payment_methods', 'markets', 'customer_groups', 'line_items', 'discount_engine_items', 'promotions', 'adyen_payments', 'orders', 'transactions', 'order_factories', 'attachments', 'tax_calculators', 'tax_categories', 'skus', 'shipping_categories', 'axerve_payments', 'order_validation_rules', 'braintree_payments', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'promotion_rules', 'coupons', 'returns', 'carrier_accounts', 'checkout_com_payments', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'order_subscriptions', 'customer_password_resets', 'delivery_lead_times', 'shipping_methods', 'shipments', 'discount_engines', 'pickups', 'parcels', 'webhooks', 'event_callbacks', 'external_payments', 'gift_cards', 'in_stock_subscriptions', 'inventory_models', 'inventory_stock_locations', 'inventory_return_locations', 'klarna_payments', 'line_item_options', 'return_line_items', 'stock_line_items', 'stock_reservations', 'stock_transfers', 'notifications', 'sku_options', 'links', 'tax_rules', 'merchants', 'subscription_models', 'stores', 'price_list_schedulers', 'order_subscription_items', 'payment_options', 'resource_errors', 'paypal_payments', 'packages', 'parcel_line_items', 'prices', 'price_tiers', 'reserved_stocks', 'satispay_payments', 'shipping_method_tiers', 'shipping_zones', 'stripe_payments', or 'wire_transfers'.\n * @example ```\"orders\"```\n */\n resource_type?:\n | 'applications'\n | 'event_stores'\n | 'addresses'\n | 'geocoders'\n | 'events'\n | 'tags'\n | 'adjustments'\n | 'price_lists'\n | 'payment_gateways'\n | 'payment_methods'\n | 'markets'\n | 'customer_groups'\n | 'line_items'\n | 'discount_engine_items'\n | 'promotions'\n | 'adyen_payments'\n | 'orders'\n | 'transactions'\n | 'order_factories'\n | 'attachments'\n | 'tax_calculators'\n | 'tax_categories'\n | 'skus'\n | 'shipping_categories'\n | 'axerve_payments'\n | 'order_validation_rules'\n | 'braintree_payments'\n | 'bundles'\n | 'sku_lists'\n | 'sku_list_items'\n | 'stock_items'\n | 'stock_locations'\n | 'promotion_rules'\n | 'coupons'\n | 'returns'\n | 'carrier_accounts'\n | 'checkout_com_payments'\n | 'customers'\n | 'customer_addresses'\n | 'customer_payment_sources'\n | 'customer_subscriptions'\n | 'order_subscriptions'\n | 'customer_password_resets'\n | 'delivery_lead_times'\n | 'shipping_methods'\n | 'shipments'\n | 'discount_engines'\n | 'pickups'\n | 'parcels'\n | 'webhooks'\n | 'event_callbacks'\n | 'external_payments'\n | 'gift_cards'\n | 'in_stock_subscriptions'\n | 'inventory_models'\n | 'inventory_stock_locations'\n | 'inventory_return_locations'\n | 'klarna_payments'\n | 'line_item_options'\n | 'return_line_items'\n | 'stock_line_items'\n | 'stock_reservations'\n | 'stock_transfers'\n | 'notifications'\n | 'sku_options'\n | 'links'\n | 'tax_rules'\n | 'merchants'\n | 'subscription_models'\n | 'stores'\n | 'price_list_schedulers'\n | 'order_subscription_items'\n | 'payment_options'\n | 'resource_errors'\n | 'paypal_payments'\n | 'packages'\n | 'parcel_line_items'\n | 'prices'\n | 'price_tiers'\n | 'reserved_stocks'\n | 'satispay_payments'\n | 'shipping_method_tiers'\n | 'shipping_zones'\n | 'stripe_payments'\n | 'wire_transfers'\n | null\n /**\n * The ID of the affected resource.\n * @example ```\"PzdJhdLdYV\"```\n */\n resource_id?: string | null\n /**\n * The type of change. One of 'create', 'update', 'destroy', 'anonymization_request', 'anonymization_started', 'anonymization_completed', 'anonymization_failed', or 'anonymization_cancel'.\n * @example ```\"update\"```\n */\n event?:\n | 'create'\n | 'update'\n | 'destroy'\n | 'anonymization_request'\n | 'anonymization_started'\n | 'anonymization_completed'\n | 'anonymization_failed'\n | 'anonymization_cancel'\n | null\n /**\n * The object changes payload.\n * @example ```{\"status\":[\"draft\",\"placed\"]}```\n */\n payload?: Record<string, any> | null\n /**\n * Information about who triggered the change.\n * @example ```{\"application\":{\"id\":\"DNOPYiZYpn\",\"kind\":\"sales_channel\",\"public\":true},\"owner\":{\"id\":\"yQQrBhLBmQ\",\"type\":\"Customer\"}}```\n */\n who?: Record<string, any> | null\n}\n\nclass EventStores extends ApiResource<EventStore> {\n static readonly TYPE: EventStoreType = 'event_stores' as const\n\n isEventStore(resource: any): resource is EventStore {\n return resource.type && resource.type === EventStores.TYPE\n }\n\n relationship(id: string | ResourceId | null): EventStoreRel {\n return super.relationshipOneToOne<EventStoreRel>(id)\n }\n\n relationshipToMany(...ids: string[]): EventStoreRel[] {\n return super.relationshipOneToMany<EventStoreRel>(...ids)\n }\n\n type(): EventStoreType {\n return EventStores.TYPE\n }\n}\n\nconst instance = new EventStores()\nexport default instance\n\nexport type { EventStore, EventStores, EventStoreType }\n"]}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkANS5U6HN_cjs = require('./chunk-ANS5U6HN.cjs');
|
|
4
|
+
|
|
5
|
+
// gen/resources/payment_gateways.ts
|
|
6
|
+
var PaymentGateways = class _PaymentGateways extends chunkANS5U6HN_cjs.ApiResource {
|
|
7
|
+
static TYPE = "payment_gateways";
|
|
8
|
+
async payment_methods(paymentGatewayId, params, options) {
|
|
9
|
+
const _paymentGatewayId = paymentGatewayId.id || paymentGatewayId;
|
|
10
|
+
return this.resources.fetch(
|
|
11
|
+
{ type: "payment_methods" },
|
|
12
|
+
`payment_gateways/${_paymentGatewayId}/payment_methods`,
|
|
13
|
+
params,
|
|
14
|
+
options
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
async event_stores(paymentGatewayId, params, options) {
|
|
18
|
+
const _paymentGatewayId = paymentGatewayId.id || paymentGatewayId;
|
|
19
|
+
return this.resources.fetch(
|
|
20
|
+
{ type: "event_stores" },
|
|
21
|
+
`payment_gateways/${_paymentGatewayId}/event_stores`,
|
|
22
|
+
params,
|
|
23
|
+
options
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
isPaymentGateway(resource) {
|
|
27
|
+
return !!resource.type && (resource.type === _PaymentGateways.TYPE || [
|
|
28
|
+
"adyen_gateways",
|
|
29
|
+
"axerve_gateways",
|
|
30
|
+
"braintree_gateways",
|
|
31
|
+
"checkout_com_gateways",
|
|
32
|
+
"external_gateways",
|
|
33
|
+
"klarna_gateways",
|
|
34
|
+
"manual_gateways",
|
|
35
|
+
"paypal_gateways",
|
|
36
|
+
"satispay_gateways",
|
|
37
|
+
"stripe_gateways"
|
|
38
|
+
].includes(resource.type));
|
|
39
|
+
}
|
|
40
|
+
relationship(id) {
|
|
41
|
+
return super.relationshipOneToOne(id);
|
|
42
|
+
}
|
|
43
|
+
relationshipToMany(...ids) {
|
|
44
|
+
return super.relationshipOneToMany(...ids);
|
|
45
|
+
}
|
|
46
|
+
type() {
|
|
47
|
+
return _PaymentGateways.TYPE;
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
var instance = new PaymentGateways();
|
|
51
|
+
var payment_gateways_default = instance;
|
|
52
|
+
|
|
53
|
+
exports.payment_gateways_default = payment_gateways_default;
|
|
54
|
+
//# sourceMappingURL=chunk-6M46LK2D.cjs.map
|
|
55
|
+
//# sourceMappingURL=chunk-6M46LK2D.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/payment_gateways.ts"],"names":["ApiResource"],"mappings":";;;;;AAqFA,IAAM,eAAA,GAAN,MAAM,gBAAA,SAAwBA,6BAAA,CAA4B;AAAA,EACxD,OAAgB,IAAA,GAA2B,kBAAA;AAAA,EAE3C,MAAM,eAAA,CACJ,gBAAA,EACA,MAAA,EACA,OAAA,EACsC;AACtC,IAAA,MAAM,iBAAA,GAAqB,iBAAoC,EAAA,IAAO,gBAAA;AACtE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,iBAAA,EAAkB;AAAA,MAC1B,oBAAoB,iBAAiB,CAAA,gBAAA,CAAA;AAAA,MACrC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,gBAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,iBAAA,GAAqB,iBAAoC,EAAA,IAAO,gBAAA;AACtE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,oBAAoB,iBAAiB,CAAA,aAAA,CAAA;AAAA,MACrC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,iBAAiB,QAAA,EAA2C;AAC1D,IAAA,OACE,CAAC,CAAC,QAAA,CAAS,SACV,QAAA,CAAS,IAAA,KAAS,iBAAgB,IAAA,IACjC;AAAA,MACE,gBAAA;AAAA,MACA,iBAAA;AAAA,MACA,oBAAA;AAAA,MACA,uBAAA;AAAA,MACA,mBAAA;AAAA,MACA,iBAAA;AAAA,MACA,iBAAA;AAAA,MACA,iBAAA;AAAA,MACA,mBAAA;AAAA,MACA;AAAA,KACF,CAAE,QAAA,CAAS,QAAA,CAAS,IAAI,CAAA,CAAA;AAAA,EAE9B;AAAA,EAEA,aAAa,EAAA,EAAmD;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAwC,EAAE,CAAA;AAAA,EACzD;AAAA,EAEA,sBAAsB,GAAA,EAAoC;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAyC,GAAG,GAAG,CAAA;AAAA,EAC9D;AAAA,EAEA,IAAA,GAA2B;AACzB,IAAA,OAAO,gBAAA,CAAgB,IAAA;AAAA,EACzB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,eAAA,EAAgB;AACrC,IAAO,wBAAA,GAAQ","file":"chunk-6M46LK2D.cjs","sourcesContent":["import type { QueryParamsList } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { AdyenGateway } from './adyen_gateways'\nimport type { AxerveGateway } from './axerve_gateways'\nimport type { BraintreeGateway } from './braintree_gateways'\nimport type { CheckoutComGateway } from './checkout_com_gateways'\nimport type { EventStore } from './event_stores'\nimport type { ExternalGateway } from './external_gateways'\nimport type { KlarnaGateway } from './klarna_gateways'\nimport type { ManualGateway } from './manual_gateways'\nimport type { PaymentMethod } from './payment_methods'\nimport type { PaypalGateway } from './paypal_gateways'\nimport type { SatispayGateway } from './satispay_gateways'\nimport type { StripeGateway } from './stripe_gateways'\n\ntype PaymentGatewayType =\n | 'payment_gateways'\n | 'adyen_gateways'\n | 'axerve_gateways'\n | 'braintree_gateways'\n | 'checkout_com_gateways'\n | 'external_gateways'\n | 'klarna_gateways'\n | 'manual_gateways'\n | 'paypal_gateways'\n | 'satispay_gateways'\n | 'stripe_gateways'\ntype PaymentGatewayRel = ResourceRel & { type: PaymentGatewayType }\n\nexport type PaymentGatewaySort = Pick<PaymentGatewayBase, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type PaymentGatewayFilter = Pick<PaymentGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n/**\n * The Payment gateway object is returned as part of the response body of each successful list or retrieve API call to the /api/payment_gateways endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/payment_gateways/object\n */\ntype PaymentGateway =\n | AdyenGateway\n | AxerveGateway\n | BraintreeGateway\n | CheckoutComGateway\n | ExternalGateway\n | KlarnaGateway\n | ManualGateway\n | PaypalGateway\n | SatispayGateway\n | StripeGateway\n\ninterface PaymentGatewayBase extends Resource {\n readonly type: PaymentGatewayType\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 payment_methods?: PaymentMethod[] | null\n event_stores?: EventStore[] | null\n}\n\nclass PaymentGateways extends ApiResource<PaymentGateway> {\n static readonly TYPE: PaymentGatewayType = 'payment_gateways' as const\n\n async payment_methods(\n paymentGatewayId: string | PaymentGateway,\n params?: QueryParamsList<PaymentMethod>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentMethod>> {\n const _paymentGatewayId = (paymentGatewayId as PaymentGateway).id || (paymentGatewayId as string)\n return this.resources.fetch<PaymentMethod>(\n { type: 'payment_methods' },\n `payment_gateways/${_paymentGatewayId}/payment_methods`,\n params,\n options,\n ) as unknown as ListResponse<PaymentMethod>\n }\n\n async event_stores(\n paymentGatewayId: string | PaymentGateway,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _paymentGatewayId = (paymentGatewayId as PaymentGateway).id || (paymentGatewayId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `payment_gateways/${_paymentGatewayId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isPaymentGateway(resource: any): resource is PaymentGateway {\n return (\n !!resource.type &&\n (resource.type === PaymentGateways.TYPE ||\n [\n 'adyen_gateways',\n 'axerve_gateways',\n 'braintree_gateways',\n 'checkout_com_gateways',\n 'external_gateways',\n 'klarna_gateways',\n 'manual_gateways',\n 'paypal_gateways',\n 'satispay_gateways',\n 'stripe_gateways',\n ].includes(resource.type))\n )\n }\n\n relationship(id: string | ResourceId | null): PaymentGatewayRel {\n return super.relationshipOneToOne<PaymentGatewayRel>(id)\n }\n\n relationshipToMany(...ids: string[]): PaymentGatewayRel[] {\n return super.relationshipOneToMany<PaymentGatewayRel>(...ids)\n }\n\n type(): PaymentGatewayType {\n return PaymentGateways.TYPE\n }\n}\n\nconst instance = new PaymentGateways()\nexport default instance\n\nexport type { PaymentGateway, PaymentGateways, PaymentGatewayType }\n"]}
|