@commercelayer/sdk 7.8.0 → 7.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api-C56k_eNN.d.cts +18274 -0
- package/lib/api-fR7vDjer.d.ts +18274 -0
- package/lib/api.cjs +271 -271
- package/lib/api.d.cts +2 -2
- package/lib/api.d.ts +2 -2
- package/lib/api.js +139 -139
- package/lib/bundle.cjs +274 -274
- package/lib/bundle.cjs.map +1 -1
- package/lib/bundle.d.cts +3 -3
- package/lib/bundle.d.ts +3 -3
- package/lib/bundle.js +140 -140
- package/lib/bundle.js.map +1 -1
- package/lib/chunk-22RVT2J2.js +20 -0
- package/lib/chunk-22RVT2J2.js.map +1 -0
- package/lib/chunk-22YZMDGS.js +73 -0
- package/lib/chunk-22YZMDGS.js.map +1 -0
- package/lib/chunk-24DYX22L.cjs +34 -0
- package/lib/chunk-24DYX22L.cjs.map +1 -0
- package/lib/chunk-25LV6XNE.js +57 -0
- package/lib/chunk-25LV6XNE.js.map +1 -0
- package/lib/chunk-25SYMOHP.js +63 -0
- package/lib/chunk-25SYMOHP.js.map +1 -0
- package/lib/chunk-26IU3VMW.cjs +73 -0
- package/lib/chunk-26IU3VMW.cjs.map +1 -0
- package/lib/chunk-2COD7SFI.js +24 -0
- package/lib/chunk-2COD7SFI.js.map +1 -0
- package/lib/chunk-2D7XHAVQ.js +59 -0
- package/lib/chunk-2D7XHAVQ.js.map +1 -0
- package/lib/chunk-2TD56UNA.js +97 -0
- package/lib/chunk-2TD56UNA.js.map +1 -0
- package/lib/chunk-2UBHGJAR.cjs +30 -0
- package/lib/chunk-2UBHGJAR.cjs.map +1 -0
- package/lib/chunk-353DTUT5.js +56 -0
- package/lib/chunk-353DTUT5.js.map +1 -0
- package/lib/chunk-3AQSJH4T.js +53 -0
- package/lib/chunk-3AQSJH4T.js.map +1 -0
- package/lib/chunk-3CYUKNAO.js +48 -0
- package/lib/chunk-3CYUKNAO.js.map +1 -0
- package/lib/chunk-3F4JHN42.cjs +72 -0
- package/lib/chunk-3F4JHN42.cjs.map +1 -0
- package/lib/chunk-3GOADUES.cjs +63 -0
- package/lib/chunk-3GOADUES.cjs.map +1 -0
- package/lib/chunk-3KCHHQTI.js +97 -0
- package/lib/chunk-3KCHHQTI.js.map +1 -0
- package/lib/chunk-3QSWUE22.cjs +43 -0
- package/lib/chunk-3QSWUE22.cjs.map +1 -0
- package/lib/chunk-3R5E4QEL.cjs +57 -0
- package/lib/chunk-3R5E4QEL.cjs.map +1 -0
- package/lib/chunk-3XPKZ3WM.js +77 -0
- package/lib/chunk-3XPKZ3WM.js.map +1 -0
- package/lib/chunk-42TXSEGY.js +53 -0
- package/lib/chunk-42TXSEGY.js.map +1 -0
- package/lib/chunk-42VXKVD6.js +53 -0
- package/lib/chunk-42VXKVD6.js.map +1 -0
- package/lib/chunk-4KIM2UAJ.cjs +72 -0
- package/lib/chunk-4KIM2UAJ.cjs.map +1 -0
- package/lib/chunk-4KPMQG57.js +49 -0
- package/lib/chunk-4KPMQG57.js.map +1 -0
- package/lib/chunk-4MV6VICV.js +35 -0
- package/lib/chunk-4MV6VICV.js.map +1 -0
- package/lib/chunk-4QMCNTO4.js +44 -0
- package/lib/chunk-4QMCNTO4.js.map +1 -0
- package/lib/chunk-4W5EFFJ5.js +48 -0
- package/lib/chunk-4W5EFFJ5.js.map +1 -0
- package/lib/chunk-4WQKP2HI.js +44 -0
- package/lib/chunk-4WQKP2HI.js.map +1 -0
- package/lib/chunk-4YEJFKWN.cjs +55 -0
- package/lib/chunk-4YEJFKWN.cjs.map +1 -0
- package/lib/chunk-4YS4H4WH.cjs +54 -0
- package/lib/chunk-4YS4H4WH.cjs.map +1 -0
- package/lib/chunk-52L77NN2.js +59 -0
- package/lib/chunk-52L77NN2.js.map +1 -0
- package/lib/chunk-53R4X7QD.js +49 -0
- package/lib/chunk-53R4X7QD.js.map +1 -0
- package/lib/chunk-54765SFP.js +55 -0
- package/lib/chunk-54765SFP.js.map +1 -0
- package/lib/chunk-56DPVYQJ.js +41 -0
- package/lib/chunk-56DPVYQJ.js.map +1 -0
- package/lib/chunk-57EVDZVF.js +63 -0
- package/lib/chunk-57EVDZVF.js.map +1 -0
- package/lib/chunk-5CXQ67TT.js +53 -0
- package/lib/chunk-5CXQ67TT.js.map +1 -0
- package/lib/chunk-5FZ57V3M.cjs +93 -0
- package/lib/chunk-5FZ57V3M.cjs.map +1 -0
- package/lib/chunk-5NX7MHXP.cjs +51 -0
- package/lib/chunk-5NX7MHXP.cjs.map +1 -0
- package/lib/chunk-5QA264ZF.cjs +74 -0
- package/lib/chunk-5QA264ZF.cjs.map +1 -0
- package/lib/chunk-5QFZLLE2.js +37 -0
- package/lib/chunk-5QFZLLE2.js.map +1 -0
- package/lib/chunk-5T44TAQU.cjs +130 -0
- package/lib/chunk-5T44TAQU.cjs.map +1 -0
- package/lib/chunk-5UPTFJAY.cjs +51 -0
- package/lib/chunk-5UPTFJAY.cjs.map +1 -0
- package/lib/chunk-5WLMMRAX.js +93 -0
- package/lib/chunk-5WLMMRAX.js.map +1 -0
- package/lib/chunk-5Z47LT7L.js +53 -0
- package/lib/chunk-5Z47LT7L.js.map +1 -0
- package/lib/chunk-5ZWOLVB6.js +128 -0
- package/lib/chunk-5ZWOLVB6.js.map +1 -0
- package/lib/chunk-65QUR5IL.js +97 -0
- package/lib/chunk-65QUR5IL.js.map +1 -0
- package/lib/chunk-66BQF7RB.cjs +61 -0
- package/lib/chunk-66BQF7RB.cjs.map +1 -0
- package/lib/chunk-6ES3UMTH.cjs +286 -0
- package/lib/chunk-6ES3UMTH.cjs.map +1 -0
- package/lib/chunk-6EY5MW3N.js +53 -0
- package/lib/chunk-6EY5MW3N.js.map +1 -0
- package/lib/chunk-6GB4YMFB.js +52 -0
- package/lib/chunk-6GB4YMFB.js.map +1 -0
- package/lib/chunk-6RLGIXTB.cjs +61 -0
- package/lib/chunk-6RLGIXTB.cjs.map +1 -0
- package/lib/chunk-6YX6BZB6.js +55 -0
- package/lib/chunk-6YX6BZB6.js.map +1 -0
- package/lib/chunk-73IEITRE.js +44 -0
- package/lib/chunk-73IEITRE.js.map +1 -0
- package/lib/chunk-73XFO6GL.cjs +51 -0
- package/lib/chunk-73XFO6GL.cjs.map +1 -0
- package/lib/chunk-76RBIF4U.cjs +79 -0
- package/lib/chunk-76RBIF4U.cjs.map +1 -0
- package/lib/chunk-7FKCICOI.js +55 -0
- package/lib/chunk-7FKCICOI.js.map +1 -0
- package/lib/chunk-7N7KBV6L.js +158 -0
- package/lib/chunk-7N7KBV6L.js.map +1 -0
- package/lib/chunk-7RZTCBDR.cjs +22 -0
- package/lib/chunk-7RZTCBDR.cjs.map +1 -0
- package/lib/chunk-7UCAVCXA.cjs +99 -0
- package/lib/chunk-7UCAVCXA.cjs.map +1 -0
- package/lib/chunk-7XIPWO7I.cjs +61 -0
- package/lib/chunk-7XIPWO7I.cjs.map +1 -0
- package/lib/chunk-A7PIWL4I.js +58 -0
- package/lib/chunk-A7PIWL4I.js.map +1 -0
- package/lib/chunk-AGJQ5BMW.cjs +107 -0
- package/lib/chunk-AGJQ5BMW.cjs.map +1 -0
- package/lib/chunk-AHJQVBKB.cjs +160 -0
- package/lib/chunk-AHJQVBKB.cjs.map +1 -0
- package/lib/chunk-AJ5YOH5P.cjs +30 -0
- package/lib/chunk-AJ5YOH5P.cjs.map +1 -0
- package/lib/chunk-AQHMSOPU.js +45 -0
- package/lib/chunk-AQHMSOPU.js.map +1 -0
- package/lib/chunk-ASRC3G5N.cjs +42 -0
- package/lib/chunk-ASRC3G5N.cjs.map +1 -0
- package/lib/chunk-B3IWIR5W.cjs +46 -0
- package/lib/chunk-B3IWIR5W.cjs.map +1 -0
- package/lib/chunk-B4ASY4NL.js +45 -0
- package/lib/chunk-B4ASY4NL.js.map +1 -0
- package/lib/chunk-B6IY37XK.js +70 -0
- package/lib/chunk-B6IY37XK.js.map +1 -0
- package/lib/chunk-B6RRN2R4.cjs +51 -0
- package/lib/chunk-B6RRN2R4.cjs.map +1 -0
- package/lib/chunk-BBNWP52Z.cjs +44 -0
- package/lib/chunk-BBNWP52Z.cjs.map +1 -0
- package/lib/chunk-BCFDI5BB.cjs +51 -0
- package/lib/chunk-BCFDI5BB.cjs.map +1 -0
- package/lib/chunk-BE7FUFTL.js +53 -0
- package/lib/chunk-BE7FUFTL.js.map +1 -0
- package/lib/chunk-BGS3XVZ5.js +107 -0
- package/lib/chunk-BGS3XVZ5.js.map +1 -0
- package/lib/chunk-BLZ627KE.js +59 -0
- package/lib/chunk-BLZ627KE.js.map +1 -0
- package/lib/chunk-BOFLUBPB.js +55 -0
- package/lib/chunk-BOFLUBPB.js.map +1 -0
- package/lib/chunk-BUCTRSWS.js +45 -0
- package/lib/chunk-BUCTRSWS.js.map +1 -0
- package/lib/chunk-BUKCNQRD.cjs +43 -0
- package/lib/chunk-BUKCNQRD.cjs.map +1 -0
- package/lib/chunk-C2JKMWGR.cjs +51 -0
- package/lib/chunk-C2JKMWGR.cjs.map +1 -0
- package/lib/chunk-C5ML5FMX.cjs +53 -0
- package/lib/chunk-C5ML5FMX.cjs.map +1 -0
- package/lib/chunk-C77T7SV5.js +49 -0
- package/lib/chunk-C77T7SV5.js.map +1 -0
- package/lib/chunk-CAR7HCIH.cjs +50 -0
- package/lib/chunk-CAR7HCIH.cjs.map +1 -0
- package/lib/chunk-CD4WJZWD.js +49 -0
- package/lib/chunk-CD4WJZWD.js.map +1 -0
- package/lib/chunk-CHJOIVWT.cjs +51 -0
- package/lib/chunk-CHJOIVWT.cjs.map +1 -0
- package/lib/chunk-CIEVYLNA.cjs +57 -0
- package/lib/chunk-CIEVYLNA.cjs.map +1 -0
- package/lib/chunk-CRRVMIDJ.js +32 -0
- package/lib/chunk-CRRVMIDJ.js.map +1 -0
- package/lib/chunk-CSRXWHGF.cjs +662 -0
- package/lib/chunk-CSRXWHGF.cjs.map +1 -0
- package/lib/chunk-CXDNL2TL.cjs +57 -0
- package/lib/chunk-CXDNL2TL.cjs.map +1 -0
- package/lib/chunk-CZVJWKHF.cjs +51 -0
- package/lib/chunk-CZVJWKHF.cjs.map +1 -0
- package/lib/chunk-D5KCXRAI.js +57 -0
- package/lib/chunk-D5KCXRAI.js.map +1 -0
- package/lib/chunk-DGYQ3LEP.cjs +34 -0
- package/lib/chunk-DGYQ3LEP.cjs.map +1 -0
- package/lib/chunk-DHT6PN4S.js +72 -0
- package/lib/chunk-DHT6PN4S.js.map +1 -0
- package/lib/chunk-DKKVAVBN.cjs +99 -0
- package/lib/chunk-DKKVAVBN.cjs.map +1 -0
- package/lib/chunk-DKUONF23.cjs +56 -0
- package/lib/chunk-DKUONF23.cjs.map +1 -0
- package/lib/chunk-DZ6EOOOY.js +41 -0
- package/lib/chunk-DZ6EOOOY.js.map +1 -0
- package/lib/chunk-E2GOZ7ZV.js +55 -0
- package/lib/chunk-E2GOZ7ZV.js.map +1 -0
- package/lib/chunk-E4RUQPMF.js +40 -0
- package/lib/chunk-E4RUQPMF.js.map +1 -0
- package/lib/chunk-ED72HDOR.js +31 -0
- package/lib/chunk-ED72HDOR.js.map +1 -0
- package/lib/chunk-EGM5WCK7.js +40 -0
- package/lib/chunk-EGM5WCK7.js.map +1 -0
- package/lib/chunk-EN3E3X22.cjs +46 -0
- package/lib/chunk-EN3E3X22.cjs.map +1 -0
- package/lib/chunk-EOSTJ3GG.cjs +50 -0
- package/lib/chunk-EOSTJ3GG.cjs.map +1 -0
- package/lib/chunk-ESUFQPT7.cjs +71 -0
- package/lib/chunk-ESUFQPT7.cjs.map +1 -0
- package/lib/chunk-ESW2GV47.js +100 -0
- package/lib/chunk-ESW2GV47.js.map +1 -0
- package/lib/chunk-EV7JAD4X.js +91 -0
- package/lib/chunk-EV7JAD4X.js.map +1 -0
- package/lib/chunk-EY3D7ONH.cjs +109 -0
- package/lib/chunk-EY3D7ONH.cjs.map +1 -0
- package/lib/chunk-EZQHOZI2.js +49 -0
- package/lib/chunk-EZQHOZI2.js.map +1 -0
- package/lib/chunk-F3P63HYI.cjs +65 -0
- package/lib/chunk-F3P63HYI.cjs.map +1 -0
- package/lib/chunk-F6J4CRBZ.cjs +38 -0
- package/lib/chunk-F6J4CRBZ.cjs.map +1 -0
- package/lib/chunk-FBGHKFDZ.js +68 -0
- package/lib/chunk-FBGHKFDZ.js.map +1 -0
- package/lib/chunk-FEKNIG3W.js +99 -0
- package/lib/chunk-FEKNIG3W.js.map +1 -0
- package/lib/chunk-FKAKFPAS.js +61 -0
- package/lib/chunk-FKAKFPAS.js.map +1 -0
- package/lib/chunk-FSXKG62A.js +100 -0
- package/lib/chunk-FSXKG62A.js.map +1 -0
- package/lib/chunk-FT2UGQVD.js +54 -0
- package/lib/chunk-FT2UGQVD.js.map +1 -0
- package/lib/chunk-FUYP7J3H.js +53 -0
- package/lib/chunk-FUYP7J3H.js.map +1 -0
- package/lib/chunk-FYI5M2XM.cjs +57 -0
- package/lib/chunk-FYI5M2XM.cjs.map +1 -0
- package/lib/chunk-FYKH5NLF.cjs +50 -0
- package/lib/chunk-FYKH5NLF.cjs.map +1 -0
- package/lib/chunk-G2XGWVV4.cjs +81 -0
- package/lib/chunk-G2XGWVV4.cjs.map +1 -0
- package/lib/chunk-GNLY3HQ4.js +105 -0
- package/lib/chunk-GNLY3HQ4.js.map +1 -0
- package/lib/chunk-GRKXRJZE.js +65 -0
- package/lib/chunk-GRKXRJZE.js.map +1 -0
- package/lib/chunk-GSHDLOHZ.js +97 -0
- package/lib/chunk-GSHDLOHZ.js.map +1 -0
- package/lib/chunk-GSTAUOVL.js +57 -0
- package/lib/chunk-GSTAUOVL.js.map +1 -0
- package/lib/chunk-H3IBVZVF.js +28 -0
- package/lib/chunk-H3IBVZVF.js.map +1 -0
- package/lib/chunk-H4MPRTXI.js +37 -0
- package/lib/chunk-H4MPRTXI.js.map +1 -0
- package/lib/chunk-H5JOZYXN.cjs +51 -0
- package/lib/chunk-H5JOZYXN.cjs.map +1 -0
- package/lib/chunk-H7ZINK52.cjs +93 -0
- package/lib/chunk-H7ZINK52.cjs.map +1 -0
- package/lib/chunk-HFAQPY4K.cjs +42 -0
- package/lib/chunk-HFAQPY4K.cjs.map +1 -0
- package/lib/chunk-HLL6WIIC.js +91 -0
- package/lib/chunk-HLL6WIIC.js.map +1 -0
- package/lib/chunk-HLPUCTAZ.js +103 -0
- package/lib/chunk-HLPUCTAZ.js.map +1 -0
- package/lib/chunk-HNADBQ2G.cjs +55 -0
- package/lib/chunk-HNADBQ2G.cjs.map +1 -0
- package/lib/chunk-HOKEKQDI.js +49 -0
- package/lib/chunk-HOKEKQDI.js.map +1 -0
- package/lib/chunk-HP2WA7CM.cjs +59 -0
- package/lib/chunk-HP2WA7CM.cjs.map +1 -0
- package/lib/chunk-HQZ3S65M.js +44 -0
- package/lib/chunk-HQZ3S65M.js.map +1 -0
- package/lib/chunk-HR6ZQP3L.cjs +66 -0
- package/lib/chunk-HR6ZQP3L.cjs.map +1 -0
- package/lib/chunk-HR773LV5.cjs +54 -0
- package/lib/chunk-HR773LV5.cjs.map +1 -0
- package/lib/chunk-HTQJYP75.cjs +46 -0
- package/lib/chunk-HTQJYP75.cjs.map +1 -0
- package/lib/chunk-HWEIUKPN.cjs +57 -0
- package/lib/chunk-HWEIUKPN.cjs.map +1 -0
- package/lib/chunk-HWL3MJQJ.cjs +60 -0
- package/lib/chunk-HWL3MJQJ.cjs.map +1 -0
- package/lib/chunk-HZB22SU2.cjs +51 -0
- package/lib/chunk-HZB22SU2.cjs.map +1 -0
- package/lib/chunk-I22GQQSK.js +97 -0
- package/lib/chunk-I22GQQSK.js.map +1 -0
- package/lib/chunk-IESEQGGO.js +65 -0
- package/lib/chunk-IESEQGGO.js.map +1 -0
- package/lib/chunk-IFLQJWJG.cjs +55 -0
- package/lib/chunk-IFLQJWJG.cjs.map +1 -0
- package/lib/chunk-IGK3AET6.cjs +47 -0
- package/lib/chunk-IGK3AET6.cjs.map +1 -0
- package/lib/chunk-IJT6ADCT.cjs +70 -0
- package/lib/chunk-IJT6ADCT.cjs.map +1 -0
- package/lib/chunk-IKCYKGYL.js +151 -0
- package/lib/chunk-IKCYKGYL.js.map +1 -0
- package/lib/chunk-IMZ67YBL.cjs +55 -0
- package/lib/chunk-IMZ67YBL.cjs.map +1 -0
- package/lib/chunk-IR7ERHZU.js +57 -0
- package/lib/chunk-IR7ERHZU.js.map +1 -0
- package/lib/chunk-IWQQN4E4.js +47 -0
- package/lib/chunk-IWQQN4E4.js.map +1 -0
- package/lib/chunk-J3K32YXQ.js +49 -0
- package/lib/chunk-J3K32YXQ.js.map +1 -0
- package/lib/chunk-J5QKU3U7.cjs +54 -0
- package/lib/chunk-J5QKU3U7.cjs.map +1 -0
- package/lib/chunk-JAL5VEJ4.cjs +51 -0
- package/lib/chunk-JAL5VEJ4.cjs.map +1 -0
- package/lib/chunk-JBNN5FLR.cjs +99 -0
- package/lib/chunk-JBNN5FLR.cjs.map +1 -0
- package/lib/chunk-JEFXEO7O.js +49 -0
- package/lib/chunk-JEFXEO7O.js.map +1 -0
- package/lib/chunk-JIAAPIJS.js +69 -0
- package/lib/chunk-JIAAPIJS.js.map +1 -0
- package/lib/chunk-JNDUIJGS.js +32 -0
- package/lib/chunk-JNDUIJGS.js.map +1 -0
- package/lib/chunk-JTECSGQK.cjs +95 -0
- package/lib/chunk-JTECSGQK.cjs.map +1 -0
- package/lib/chunk-JU2GYUKV.js +54 -0
- package/lib/chunk-JU2GYUKV.js.map +1 -0
- package/lib/chunk-JW3TKFSF.cjs +99 -0
- package/lib/chunk-JW3TKFSF.cjs.map +1 -0
- package/lib/chunk-JWW6RX2L.cjs +47 -0
- package/lib/chunk-JWW6RX2L.cjs.map +1 -0
- package/lib/chunk-JZ5VDGTD.cjs +29 -0
- package/lib/chunk-JZ5VDGTD.cjs.map +1 -0
- package/lib/chunk-K277GYCD.cjs +40 -0
- package/lib/chunk-K277GYCD.cjs.map +1 -0
- package/lib/chunk-K4FGKWEQ.js +36 -0
- package/lib/chunk-K4FGKWEQ.js.map +1 -0
- package/lib/chunk-KAARRP5O.js +59 -0
- package/lib/chunk-KAARRP5O.js.map +1 -0
- package/lib/chunk-KDCQAUUV.js +48 -0
- package/lib/chunk-KDCQAUUV.js.map +1 -0
- package/lib/chunk-KMPHWFCV.cjs +47 -0
- package/lib/chunk-KMPHWFCV.cjs.map +1 -0
- package/lib/chunk-KRNU2FZC.js +53 -0
- package/lib/chunk-KRNU2FZC.js.map +1 -0
- package/lib/chunk-KUX4X636.js +49 -0
- package/lib/chunk-KUX4X636.js.map +1 -0
- package/lib/chunk-KWIFQC7H.js +52 -0
- package/lib/chunk-KWIFQC7H.js.map +1 -0
- package/lib/chunk-KZNM2CKM.cjs +59 -0
- package/lib/chunk-KZNM2CKM.cjs.map +1 -0
- package/lib/chunk-L27E3EGQ.js +49 -0
- package/lib/chunk-L27E3EGQ.js.map +1 -0
- package/lib/chunk-L2R5G3V5.js +276 -0
- package/lib/chunk-L2R5G3V5.js.map +1 -0
- package/lib/chunk-L6OLNB6W.js +41 -0
- package/lib/chunk-L6OLNB6W.js.map +1 -0
- package/lib/chunk-L7VZ5ST5.cjs +60 -0
- package/lib/chunk-L7VZ5ST5.cjs.map +1 -0
- package/lib/chunk-LBY2RHI4.js +45 -0
- package/lib/chunk-LBY2RHI4.js.map +1 -0
- package/lib/chunk-LGYK5DTL.cjs +50 -0
- package/lib/chunk-LGYK5DTL.cjs.map +1 -0
- package/lib/chunk-LLRE4DNW.cjs +55 -0
- package/lib/chunk-LLRE4DNW.cjs.map +1 -0
- package/lib/chunk-LQ5GKVLT.cjs +163 -0
- package/lib/chunk-LQ5GKVLT.cjs.map +1 -0
- package/lib/chunk-MAU4GMOM.js +52 -0
- package/lib/chunk-MAU4GMOM.js.map +1 -0
- package/lib/chunk-MBDEK4FD.cjs +51 -0
- package/lib/chunk-MBDEK4FD.cjs.map +1 -0
- package/lib/chunk-MDT7RJZY.cjs +39 -0
- package/lib/chunk-MDT7RJZY.cjs.map +1 -0
- package/lib/chunk-MF72Q5LL.cjs +39 -0
- package/lib/chunk-MF72Q5LL.cjs.map +1 -0
- package/lib/chunk-MGIOWUKO.cjs +38 -0
- package/lib/chunk-MGIOWUKO.cjs.map +1 -0
- package/lib/chunk-MIBC5G27.js +77 -0
- package/lib/chunk-MIBC5G27.js.map +1 -0
- package/lib/chunk-MU6PHJWP.js +48 -0
- package/lib/chunk-MU6PHJWP.js.map +1 -0
- package/lib/chunk-MVNE63MT.cjs +67 -0
- package/lib/chunk-MVNE63MT.cjs.map +1 -0
- package/lib/chunk-MWDZBQOU.cjs +47 -0
- package/lib/chunk-MWDZBQOU.cjs.map +1 -0
- package/lib/chunk-NKPMXNFW.js +49 -0
- package/lib/chunk-NKPMXNFW.js.map +1 -0
- package/lib/chunk-NKSXB523.js +42 -0
- package/lib/chunk-NKSXB523.js.map +1 -0
- package/lib/chunk-NL65GQHX.cjs +39 -0
- package/lib/chunk-NL65GQHX.cjs.map +1 -0
- package/lib/chunk-NM2TVMKS.cjs +43 -0
- package/lib/chunk-NM2TVMKS.cjs.map +1 -0
- package/lib/chunk-NUQ5KNXC.cjs +63 -0
- package/lib/chunk-NUQ5KNXC.cjs.map +1 -0
- package/lib/chunk-OQ3ZPPCE.js +55 -0
- package/lib/chunk-OQ3ZPPCE.js.map +1 -0
- package/lib/chunk-OR5ULL43.js +55 -0
- package/lib/chunk-OR5ULL43.js.map +1 -0
- package/lib/chunk-OSGNFURJ.js +63 -0
- package/lib/chunk-OSGNFURJ.js.map +1 -0
- package/lib/chunk-OSPDLBK7.cjs +57 -0
- package/lib/chunk-OSPDLBK7.cjs.map +1 -0
- package/lib/chunk-OTJ3AG3G.js +45 -0
- package/lib/chunk-OTJ3AG3G.js.map +1 -0
- package/lib/chunk-OUZO3UT3.cjs +65 -0
- package/lib/chunk-OUZO3UT3.cjs.map +1 -0
- package/lib/chunk-OXMHLYDD.js +49 -0
- package/lib/chunk-OXMHLYDD.js.map +1 -0
- package/lib/chunk-P2B3G2TZ.js +44 -0
- package/lib/chunk-P2B3G2TZ.js.map +1 -0
- package/lib/chunk-P3AQZNTG.js +79 -0
- package/lib/chunk-P3AQZNTG.js.map +1 -0
- package/lib/chunk-P3C4DMT6.cjs +57 -0
- package/lib/chunk-P3C4DMT6.cjs.map +1 -0
- package/lib/chunk-P6H53BD7.cjs +102 -0
- package/lib/chunk-P6H53BD7.cjs.map +1 -0
- package/lib/chunk-PAWJTO7I.js +49 -0
- package/lib/chunk-PAWJTO7I.js.map +1 -0
- package/lib/chunk-PD4I73FB.cjs +105 -0
- package/lib/chunk-PD4I73FB.cjs.map +1 -0
- package/lib/chunk-PGXMLN7A.js +49 -0
- package/lib/chunk-PGXMLN7A.js.map +1 -0
- package/lib/chunk-PIHQS6OG.js +153 -0
- package/lib/chunk-PIHQS6OG.js.map +1 -0
- package/lib/chunk-PUX7CAAV.js +53 -0
- package/lib/chunk-PUX7CAAV.js.map +1 -0
- package/lib/chunk-QE7S4OUZ.cjs +51 -0
- package/lib/chunk-QE7S4OUZ.cjs.map +1 -0
- package/lib/chunk-QKCTP2RD.cjs +55 -0
- package/lib/chunk-QKCTP2RD.cjs.map +1 -0
- package/lib/chunk-QNFZBJFQ.cjs +58 -0
- package/lib/chunk-QNFZBJFQ.cjs.map +1 -0
- package/lib/chunk-QU4NPZQC.cjs +56 -0
- package/lib/chunk-QU4NPZQC.cjs.map +1 -0
- package/lib/chunk-QVJTWTUN.cjs +54 -0
- package/lib/chunk-QVJTWTUN.cjs.map +1 -0
- package/lib/chunk-R3PNGGDR.cjs +55 -0
- package/lib/chunk-R3PNGGDR.cjs.map +1 -0
- package/lib/chunk-R7JDWIQK.cjs +107 -0
- package/lib/chunk-R7JDWIQK.cjs.map +1 -0
- package/lib/chunk-R7PR3V6Z.cjs +51 -0
- package/lib/chunk-R7PR3V6Z.cjs.map +1 -0
- package/lib/chunk-RH363QI7.cjs +99 -0
- package/lib/chunk-RH363QI7.cjs.map +1 -0
- package/lib/chunk-RLZGD4WS.cjs +57 -0
- package/lib/chunk-RLZGD4WS.cjs.map +1 -0
- package/lib/chunk-RNCWBCHU.js +55 -0
- package/lib/chunk-RNCWBCHU.js.map +1 -0
- package/lib/chunk-SEY2W62A.js +53 -0
- package/lib/chunk-SEY2W62A.js.map +1 -0
- package/lib/chunk-SGJTWE5I.js +40 -0
- package/lib/chunk-SGJTWE5I.js.map +1 -0
- package/lib/chunk-SK7SIING.cjs +42 -0
- package/lib/chunk-SK7SIING.cjs.map +1 -0
- package/lib/chunk-SNHW3YC5.cjs +55 -0
- package/lib/chunk-SNHW3YC5.cjs.map +1 -0
- package/lib/chunk-SWZUFDHY.js +102 -0
- package/lib/chunk-SWZUFDHY.js.map +1 -0
- package/lib/chunk-SXCTTGYT.cjs +50 -0
- package/lib/chunk-SXCTTGYT.cjs.map +1 -0
- package/lib/chunk-SXQSMTHR.js +58 -0
- package/lib/chunk-SXQSMTHR.js.map +1 -0
- package/lib/chunk-SZYWVDPJ.cjs +42 -0
- package/lib/chunk-SZYWVDPJ.cjs.map +1 -0
- package/lib/chunk-T4SW2CZX.cjs +67 -0
- package/lib/chunk-T4SW2CZX.cjs.map +1 -0
- package/lib/chunk-TE54DOJ6.cjs +75 -0
- package/lib/chunk-TE54DOJ6.cjs.map +1 -0
- package/lib/chunk-TJGZYDVV.js +58 -0
- package/lib/chunk-TJGZYDVV.js.map +1 -0
- package/lib/chunk-TPFXLI3J.js +27 -0
- package/lib/chunk-TPFXLI3J.js.map +1 -0
- package/lib/chunk-U43UPLTK.cjs +42 -0
- package/lib/chunk-U43UPLTK.cjs.map +1 -0
- package/lib/chunk-U5ZUHRP7.cjs +65 -0
- package/lib/chunk-U5ZUHRP7.cjs.map +1 -0
- package/lib/chunk-U7NVUYAO.js +71 -0
- package/lib/chunk-U7NVUYAO.js.map +1 -0
- package/lib/chunk-UBH2EC5P.cjs +284 -0
- package/lib/chunk-UBH2EC5P.cjs.map +1 -0
- package/lib/chunk-UMIZNUUK.js +45 -0
- package/lib/chunk-UMIZNUUK.js.map +1 -0
- package/lib/chunk-UQQTNQX3.cjs +153 -0
- package/lib/chunk-UQQTNQX3.cjs.map +1 -0
- package/lib/chunk-UR35VE5O.js +53 -0
- package/lib/chunk-UR35VE5O.js.map +1 -0
- package/lib/chunk-UTJX7SU6.cjs +55 -0
- package/lib/chunk-UTJX7SU6.cjs.map +1 -0
- package/lib/chunk-V2JFGTP4.cjs +33 -0
- package/lib/chunk-V2JFGTP4.cjs.map +1 -0
- package/lib/chunk-V3VI5SLU.cjs +58 -0
- package/lib/chunk-V3VI5SLU.cjs.map +1 -0
- package/lib/chunk-V57VEB52.cjs +51 -0
- package/lib/chunk-V57VEB52.cjs.map +1 -0
- package/lib/chunk-VCJOH3IE.js +63 -0
- package/lib/chunk-VCJOH3IE.js.map +1 -0
- package/lib/chunk-VROIQJ2H.js +48 -0
- package/lib/chunk-VROIQJ2H.js.map +1 -0
- package/lib/chunk-W5HJOZUZ.js +55 -0
- package/lib/chunk-W5HJOZUZ.js.map +1 -0
- package/lib/chunk-W6D7ACVK.cjs +26 -0
- package/lib/chunk-W6D7ACVK.cjs.map +1 -0
- package/lib/chunk-W76GDFLA.cjs +49 -0
- package/lib/chunk-W76GDFLA.cjs.map +1 -0
- package/lib/chunk-W7A5TBOT.js +37 -0
- package/lib/chunk-W7A5TBOT.js.map +1 -0
- package/lib/chunk-W7QZ4IET.js +55 -0
- package/lib/chunk-W7QZ4IET.js.map +1 -0
- package/lib/chunk-WAXSMT74.js +49 -0
- package/lib/chunk-WAXSMT74.js.map +1 -0
- package/lib/chunk-WENVZ7YQ.cjs +60 -0
- package/lib/chunk-WENVZ7YQ.cjs.map +1 -0
- package/lib/chunk-WN4NEQG3.cjs +47 -0
- package/lib/chunk-WN4NEQG3.cjs.map +1 -0
- package/lib/chunk-WPMZGCSL.js +49 -0
- package/lib/chunk-WPMZGCSL.js.map +1 -0
- package/lib/chunk-WVXUXB6M.cjs +51 -0
- package/lib/chunk-WVXUXB6M.cjs.map +1 -0
- package/lib/chunk-WYSCB65K.cjs +65 -0
- package/lib/chunk-WYSCB65K.cjs.map +1 -0
- package/lib/chunk-WZKB5BTI.cjs +57 -0
- package/lib/chunk-WZKB5BTI.cjs.map +1 -0
- package/lib/chunk-X3FOQEIP.cjs +57 -0
- package/lib/chunk-X3FOQEIP.cjs.map +1 -0
- package/lib/chunk-X435FPBT.js +70 -0
- package/lib/chunk-X435FPBT.js.map +1 -0
- package/lib/chunk-XAHCI5JE.js +284 -0
- package/lib/chunk-XAHCI5JE.js.map +1 -0
- package/lib/chunk-XAWZYCIT.cjs +51 -0
- package/lib/chunk-XAWZYCIT.cjs.map +1 -0
- package/lib/chunk-XFOVGIFM.cjs +59 -0
- package/lib/chunk-XFOVGIFM.cjs.map +1 -0
- package/lib/chunk-XGQYAM2O.cjs +102 -0
- package/lib/chunk-XGQYAM2O.cjs.map +1 -0
- package/lib/chunk-XHRLLOTH.cjs +46 -0
- package/lib/chunk-XHRLLOTH.cjs.map +1 -0
- package/lib/chunk-XLHGFYJD.js +40 -0
- package/lib/chunk-XLHGFYJD.js.map +1 -0
- package/lib/chunk-XLSIK3Q5.js +40 -0
- package/lib/chunk-XLSIK3Q5.js.map +1 -0
- package/lib/chunk-XMOZVHO7.js +56 -0
- package/lib/chunk-XMOZVHO7.js.map +1 -0
- package/lib/chunk-YDYPUEOW.js +52 -0
- package/lib/chunk-YDYPUEOW.js.map +1 -0
- package/lib/chunk-YF5IJQZK.cjs +55 -0
- package/lib/chunk-YF5IJQZK.cjs.map +1 -0
- package/lib/chunk-YI3IDZIR.js +646 -0
- package/lib/chunk-YI3IDZIR.js.map +1 -0
- package/lib/chunk-YNFTOIKI.cjs +47 -0
- package/lib/chunk-YNFTOIKI.cjs.map +1 -0
- package/lib/chunk-YOAULZCB.js +28 -0
- package/lib/chunk-YOAULZCB.js.map +1 -0
- package/lib/chunk-YOH56Z73.js +64 -0
- package/lib/chunk-YOH56Z73.js.map +1 -0
- package/lib/chunk-YYFNNQAF.js +49 -0
- package/lib/chunk-YYFNNQAF.js.map +1 -0
- package/lib/chunk-Z7FWE3KQ.cjs +55 -0
- package/lib/chunk-Z7FWE3KQ.cjs.map +1 -0
- package/lib/chunk-ZA4UM7JC.js +36 -0
- package/lib/chunk-ZA4UM7JC.js.map +1 -0
- package/lib/chunk-ZBKA7LEU.js +51 -0
- package/lib/chunk-ZBKA7LEU.js.map +1 -0
- package/lib/chunk-ZDO4C624.cjs +79 -0
- package/lib/chunk-ZDO4C624.cjs.map +1 -0
- package/lib/chunk-ZDPMTK4O.js +49 -0
- package/lib/chunk-ZDPMTK4O.js.map +1 -0
- package/lib/chunk-ZKTVCW5B.cjs +51 -0
- package/lib/chunk-ZKTVCW5B.cjs.map +1 -0
- package/lib/chunk-ZKZLRD43.cjs +46 -0
- package/lib/chunk-ZKZLRD43.cjs.map +1 -0
- package/lib/chunk-ZNRKFQBN.cjs +59 -0
- package/lib/chunk-ZNRKFQBN.cjs.map +1 -0
- package/lib/chunk-ZU3CNZKE.cjs +51 -0
- package/lib/chunk-ZU3CNZKE.cjs.map +1 -0
- package/lib/chunk-ZUURLADK.cjs +55 -0
- package/lib/chunk-ZUURLADK.cjs.map +1 -0
- package/lib/chunk-ZWTMB75R.js +49 -0
- package/lib/chunk-ZWTMB75R.js.map +1 -0
- package/lib/chunk-ZYU4XA7Z.cjs +101 -0
- package/lib/chunk-ZYU4XA7Z.cjs.map +1 -0
- package/lib/client.cjs +5 -5
- package/lib/client.d.cts +1 -1
- package/lib/client.d.ts +1 -1
- package/lib/client.js +4 -4
- package/lib/commercelayer.cjs +12 -12
- package/lib/commercelayer.d.cts +5 -5
- package/lib/commercelayer.d.ts +5 -5
- package/lib/commercelayer.js +8 -8
- package/lib/config.d.cts +1 -1
- package/lib/config.d.ts +1 -1
- package/lib/debug.cjs +2 -2
- package/lib/debug.js +1 -1
- package/lib/enum.cjs +16 -16
- package/lib/enum.d.cts +2 -2
- package/lib/enum.d.ts +2 -2
- package/lib/enum.js +1 -1
- package/lib/error.cjs +9 -9
- package/lib/error.js +2 -2
- package/lib/fetch-B8-kP4X0.d.cts +55 -0
- package/lib/fetch-B8-kP4X0.d.ts +55 -0
- package/lib/fetch.cjs +4 -4
- package/lib/fetch.d.cts +1 -1
- package/lib/fetch.d.ts +1 -1
- package/lib/fetch.js +2 -2
- package/lib/index.cjs +276 -276
- package/lib/index.d.cts +2 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +141 -141
- package/lib/interceptor.d.cts +1 -1
- package/lib/interceptor.d.ts +1 -1
- package/lib/jsonapi.cjs +9 -9
- package/lib/jsonapi.d.cts +2 -2
- package/lib/jsonapi.d.ts +2 -2
- package/lib/jsonapi.js +7 -7
- package/lib/model.d.cts +2 -2
- package/lib/model.d.ts +2 -2
- package/lib/query.cjs +6 -6
- package/lib/query.d.cts +2 -2
- package/lib/query.d.ts +2 -2
- package/lib/query.js +3 -3
- package/lib/resource.cjs +12 -12
- package/lib/resource.d.cts +2 -2
- package/lib/resource.d.ts +2 -2
- package/lib/resource.js +7 -7
- package/lib/resources/addresses.cjs +9 -9
- package/lib/resources/addresses.d.cts +3 -3
- package/lib/resources/addresses.d.ts +2 -2
- package/lib/resources/addresses.js +8 -8
- package/lib/resources/adjustments.cjs +9 -9
- package/lib/resources/adjustments.d.cts +3 -3
- package/lib/resources/adjustments.d.ts +2 -2
- package/lib/resources/adjustments.js +8 -8
- package/lib/resources/adyen_gateways.cjs +9 -9
- package/lib/resources/adyen_gateways.d.cts +3 -3
- package/lib/resources/adyen_gateways.d.ts +2 -2
- package/lib/resources/adyen_gateways.js +8 -8
- package/lib/resources/adyen_payments.cjs +9 -9
- package/lib/resources/adyen_payments.d.cts +3 -3
- package/lib/resources/adyen_payments.d.ts +2 -2
- package/lib/resources/adyen_payments.js +8 -8
- package/lib/resources/applications.cjs +9 -9
- package/lib/resources/applications.d.cts +3 -3
- package/lib/resources/applications.d.ts +2 -2
- package/lib/resources/applications.js +8 -8
- package/lib/resources/attachments.cjs +9 -9
- package/lib/resources/attachments.d.cts +3 -3
- package/lib/resources/attachments.d.ts +2 -2
- package/lib/resources/attachments.js +8 -8
- package/lib/resources/authorizations.cjs +9 -9
- package/lib/resources/authorizations.d.cts +3 -3
- package/lib/resources/authorizations.d.ts +2 -2
- package/lib/resources/authorizations.js +8 -8
- package/lib/resources/avalara_accounts.cjs +9 -9
- package/lib/resources/avalara_accounts.d.cts +3 -3
- package/lib/resources/avalara_accounts.d.ts +2 -2
- package/lib/resources/avalara_accounts.js +8 -8
- package/lib/resources/axerve_gateways.cjs +9 -9
- package/lib/resources/axerve_gateways.d.cts +3 -3
- package/lib/resources/axerve_gateways.d.ts +2 -2
- package/lib/resources/axerve_gateways.js +8 -8
- package/lib/resources/axerve_payments.cjs +9 -9
- package/lib/resources/axerve_payments.d.cts +3 -3
- package/lib/resources/axerve_payments.d.ts +2 -2
- package/lib/resources/axerve_payments.js +8 -8
- package/lib/resources/bing_geocoders.cjs +9 -9
- package/lib/resources/bing_geocoders.d.cts +3 -3
- package/lib/resources/bing_geocoders.d.ts +2 -2
- package/lib/resources/bing_geocoders.js +8 -8
- package/lib/resources/braintree_gateways.cjs +9 -9
- package/lib/resources/braintree_gateways.d.cts +3 -3
- package/lib/resources/braintree_gateways.d.ts +2 -2
- package/lib/resources/braintree_gateways.js +8 -8
- package/lib/resources/braintree_payments.cjs +9 -9
- package/lib/resources/braintree_payments.d.cts +3 -3
- package/lib/resources/braintree_payments.d.ts +2 -2
- package/lib/resources/braintree_payments.js +8 -8
- package/lib/resources/bundles.cjs +9 -9
- package/lib/resources/bundles.d.cts +3 -3
- package/lib/resources/bundles.d.ts +2 -2
- package/lib/resources/bundles.js +8 -8
- package/lib/resources/buy_x_pay_y_promotions.cjs +9 -9
- package/lib/resources/buy_x_pay_y_promotions.d.cts +3 -3
- package/lib/resources/buy_x_pay_y_promotions.d.ts +2 -2
- package/lib/resources/buy_x_pay_y_promotions.js +8 -8
- package/lib/resources/captures.cjs +9 -9
- package/lib/resources/captures.d.cts +3 -3
- package/lib/resources/captures.d.ts +2 -2
- package/lib/resources/captures.js +8 -8
- package/lib/resources/carrier_accounts.cjs +9 -9
- package/lib/resources/carrier_accounts.d.cts +3 -3
- package/lib/resources/carrier_accounts.d.ts +2 -2
- package/lib/resources/carrier_accounts.js +8 -8
- package/lib/resources/checkout_com_gateways.cjs +9 -9
- package/lib/resources/checkout_com_gateways.d.cts +3 -3
- package/lib/resources/checkout_com_gateways.d.ts +2 -2
- package/lib/resources/checkout_com_gateways.js +8 -8
- package/lib/resources/checkout_com_payments.cjs +9 -9
- package/lib/resources/checkout_com_payments.d.cts +3 -3
- package/lib/resources/checkout_com_payments.d.ts +2 -2
- package/lib/resources/checkout_com_payments.js +8 -8
- package/lib/resources/cleanups.cjs +9 -9
- package/lib/resources/cleanups.d.cts +3 -3
- package/lib/resources/cleanups.d.ts +2 -2
- package/lib/resources/cleanups.js +8 -8
- package/lib/resources/coupon_codes_promotion_rules.cjs +9 -9
- package/lib/resources/coupon_codes_promotion_rules.d.cts +3 -3
- package/lib/resources/coupon_codes_promotion_rules.d.ts +2 -2
- package/lib/resources/coupon_codes_promotion_rules.js +8 -8
- package/lib/resources/coupon_recipients.cjs +9 -9
- package/lib/resources/coupon_recipients.d.cts +3 -3
- package/lib/resources/coupon_recipients.d.ts +2 -2
- package/lib/resources/coupon_recipients.js +8 -8
- package/lib/resources/coupons.cjs +9 -9
- package/lib/resources/coupons.d.cts +3 -3
- package/lib/resources/coupons.d.ts +2 -2
- package/lib/resources/coupons.js +8 -8
- package/lib/resources/custom_promotion_rules.cjs +9 -9
- package/lib/resources/custom_promotion_rules.d.cts +3 -3
- package/lib/resources/custom_promotion_rules.d.ts +2 -2
- package/lib/resources/custom_promotion_rules.js +8 -8
- package/lib/resources/customer_addresses.cjs +9 -9
- package/lib/resources/customer_addresses.d.cts +3 -3
- package/lib/resources/customer_addresses.d.ts +2 -2
- package/lib/resources/customer_addresses.js +8 -8
- package/lib/resources/customer_groups.cjs +9 -9
- package/lib/resources/customer_groups.d.cts +3 -3
- package/lib/resources/customer_groups.d.ts +2 -2
- package/lib/resources/customer_groups.js +8 -8
- package/lib/resources/customer_password_resets.cjs +9 -9
- package/lib/resources/customer_password_resets.d.cts +3 -3
- package/lib/resources/customer_password_resets.d.ts +2 -2
- package/lib/resources/customer_password_resets.js +8 -8
- package/lib/resources/customer_payment_sources.cjs +9 -9
- package/lib/resources/customer_payment_sources.d.cts +3 -3
- package/lib/resources/customer_payment_sources.d.ts +2 -2
- package/lib/resources/customer_payment_sources.js +8 -8
- package/lib/resources/customer_subscriptions.cjs +9 -9
- package/lib/resources/customer_subscriptions.d.cts +3 -3
- package/lib/resources/customer_subscriptions.d.ts +2 -2
- package/lib/resources/customer_subscriptions.js +8 -8
- package/lib/resources/customers.cjs +9 -9
- package/lib/resources/customers.d.cts +3 -3
- package/lib/resources/customers.d.ts +2 -2
- package/lib/resources/customers.js +8 -8
- package/lib/resources/delivery_lead_times.cjs +9 -9
- package/lib/resources/delivery_lead_times.d.cts +3 -3
- package/lib/resources/delivery_lead_times.d.ts +2 -2
- package/lib/resources/delivery_lead_times.js +8 -8
- package/lib/resources/discount_engine_items.cjs +9 -9
- package/lib/resources/discount_engine_items.d.cts +3 -3
- package/lib/resources/discount_engine_items.d.ts +2 -2
- package/lib/resources/discount_engine_items.js +8 -8
- package/lib/resources/discount_engines.cjs +9 -9
- package/lib/resources/discount_engines.d.cts +3 -3
- package/lib/resources/discount_engines.d.ts +2 -2
- package/lib/resources/discount_engines.js +8 -8
- package/lib/resources/easypost_pickups.cjs +9 -9
- package/lib/resources/easypost_pickups.d.cts +3 -3
- package/lib/resources/easypost_pickups.d.ts +2 -2
- package/lib/resources/easypost_pickups.js +8 -8
- package/lib/resources/event_callbacks.cjs +9 -9
- package/lib/resources/event_callbacks.d.cts +3 -3
- package/lib/resources/event_callbacks.d.ts +2 -2
- package/lib/resources/event_callbacks.js +8 -8
- package/lib/resources/event_stores.cjs +9 -9
- package/lib/resources/event_stores.d.cts +3 -3
- package/lib/resources/event_stores.d.ts +2 -2
- package/lib/resources/event_stores.js +8 -8
- package/lib/resources/events.cjs +9 -9
- package/lib/resources/events.d.cts +3 -3
- package/lib/resources/events.d.ts +2 -2
- package/lib/resources/events.js +8 -8
- package/lib/resources/exports.cjs +9 -9
- package/lib/resources/exports.d.cts +3 -3
- package/lib/resources/exports.d.ts +2 -2
- package/lib/resources/exports.js +8 -8
- package/lib/resources/external_gateways.cjs +9 -9
- package/lib/resources/external_gateways.d.cts +3 -3
- package/lib/resources/external_gateways.d.ts +2 -2
- package/lib/resources/external_gateways.js +8 -8
- package/lib/resources/external_payments.cjs +9 -9
- package/lib/resources/external_payments.d.cts +3 -3
- package/lib/resources/external_payments.d.ts +2 -2
- package/lib/resources/external_payments.js +8 -8
- package/lib/resources/external_promotions.cjs +9 -9
- package/lib/resources/external_promotions.d.cts +3 -3
- package/lib/resources/external_promotions.d.ts +2 -2
- package/lib/resources/external_promotions.js +8 -8
- package/lib/resources/external_tax_calculators.cjs +9 -9
- package/lib/resources/external_tax_calculators.d.cts +3 -3
- package/lib/resources/external_tax_calculators.d.ts +2 -2
- package/lib/resources/external_tax_calculators.js +8 -8
- package/lib/resources/fixed_amount_promotions.cjs +9 -9
- package/lib/resources/fixed_amount_promotions.d.cts +3 -3
- package/lib/resources/fixed_amount_promotions.d.ts +2 -2
- package/lib/resources/fixed_amount_promotions.js +8 -8
- package/lib/resources/fixed_price_promotions.cjs +9 -9
- package/lib/resources/fixed_price_promotions.d.cts +3 -3
- package/lib/resources/fixed_price_promotions.d.ts +2 -2
- package/lib/resources/fixed_price_promotions.js +8 -8
- package/lib/resources/flex_promotions.cjs +9 -9
- package/lib/resources/flex_promotions.d.cts +3 -3
- package/lib/resources/flex_promotions.d.ts +2 -2
- package/lib/resources/flex_promotions.js +8 -8
- package/lib/resources/free_gift_promotions.cjs +9 -9
- package/lib/resources/free_gift_promotions.d.cts +3 -3
- package/lib/resources/free_gift_promotions.d.ts +2 -2
- package/lib/resources/free_gift_promotions.js +8 -8
- package/lib/resources/free_shipping_promotions.cjs +9 -9
- package/lib/resources/free_shipping_promotions.d.cts +3 -3
- package/lib/resources/free_shipping_promotions.d.ts +2 -2
- package/lib/resources/free_shipping_promotions.js +8 -8
- package/lib/resources/geocoders.cjs +9 -9
- package/lib/resources/geocoders.d.cts +3 -3
- package/lib/resources/geocoders.d.ts +2 -2
- package/lib/resources/geocoders.js +8 -8
- package/lib/resources/gift_card_recipients.cjs +9 -9
- package/lib/resources/gift_card_recipients.d.cts +3 -3
- package/lib/resources/gift_card_recipients.d.ts +2 -2
- package/lib/resources/gift_card_recipients.js +8 -8
- package/lib/resources/gift_cards.cjs +9 -9
- package/lib/resources/gift_cards.d.cts +3 -3
- package/lib/resources/gift_cards.d.ts +2 -2
- package/lib/resources/gift_cards.js +8 -8
- package/lib/resources/google_geocoders.cjs +9 -9
- package/lib/resources/google_geocoders.d.cts +3 -3
- package/lib/resources/google_geocoders.d.ts +2 -2
- package/lib/resources/google_geocoders.js +8 -8
- package/lib/resources/imports.cjs +9 -9
- package/lib/resources/imports.d.cts +3 -3
- package/lib/resources/imports.d.ts +2 -2
- package/lib/resources/imports.js +8 -8
- package/lib/resources/in_stock_subscriptions.cjs +9 -9
- package/lib/resources/in_stock_subscriptions.d.cts +3 -3
- package/lib/resources/in_stock_subscriptions.d.ts +2 -2
- package/lib/resources/in_stock_subscriptions.js +8 -8
- package/lib/resources/inventory_models.cjs +9 -9
- package/lib/resources/inventory_models.d.cts +3 -3
- package/lib/resources/inventory_models.d.ts +2 -2
- package/lib/resources/inventory_models.js +8 -8
- package/lib/resources/inventory_return_locations.cjs +9 -9
- package/lib/resources/inventory_return_locations.d.cts +3 -3
- package/lib/resources/inventory_return_locations.d.ts +2 -2
- package/lib/resources/inventory_return_locations.js +8 -8
- package/lib/resources/inventory_stock_locations.cjs +9 -9
- package/lib/resources/inventory_stock_locations.d.cts +3 -3
- package/lib/resources/inventory_stock_locations.d.ts +2 -2
- package/lib/resources/inventory_stock_locations.js +8 -8
- package/lib/resources/klarna_gateways.cjs +9 -9
- package/lib/resources/klarna_gateways.d.cts +3 -3
- package/lib/resources/klarna_gateways.d.ts +2 -2
- package/lib/resources/klarna_gateways.js +8 -8
- package/lib/resources/klarna_payments.cjs +9 -9
- package/lib/resources/klarna_payments.d.cts +3 -3
- package/lib/resources/klarna_payments.d.ts +2 -2
- package/lib/resources/klarna_payments.js +8 -8
- package/lib/resources/line_item_options.cjs +9 -9
- package/lib/resources/line_item_options.d.cts +3 -3
- package/lib/resources/line_item_options.d.ts +2 -2
- package/lib/resources/line_item_options.js +8 -8
- package/lib/resources/line_items.cjs +9 -9
- package/lib/resources/line_items.d.cts +3 -3
- package/lib/resources/line_items.d.ts +2 -2
- package/lib/resources/line_items.js +8 -8
- package/lib/resources/links.cjs +9 -9
- package/lib/resources/links.d.cts +3 -3
- package/lib/resources/links.d.ts +2 -2
- package/lib/resources/links.js +8 -8
- package/lib/resources/manual_gateways.cjs +9 -9
- package/lib/resources/manual_gateways.d.cts +3 -3
- package/lib/resources/manual_gateways.d.ts +2 -2
- package/lib/resources/manual_gateways.js +8 -8
- package/lib/resources/manual_tax_calculators.cjs +9 -9
- package/lib/resources/manual_tax_calculators.d.cts +3 -3
- package/lib/resources/manual_tax_calculators.d.ts +2 -2
- package/lib/resources/manual_tax_calculators.js +8 -8
- package/lib/resources/markets.cjs +9 -9
- package/lib/resources/markets.d.cts +3 -3
- package/lib/resources/markets.d.ts +2 -2
- package/lib/resources/markets.js +8 -8
- package/lib/resources/merchants.cjs +9 -9
- package/lib/resources/merchants.d.cts +3 -3
- package/lib/resources/merchants.d.ts +2 -2
- package/lib/resources/merchants.js +8 -8
- package/lib/resources/notifications.cjs +9 -9
- package/lib/resources/notifications.d.cts +3 -3
- package/lib/resources/notifications.d.ts +2 -2
- package/lib/resources/notifications.js +8 -8
- package/lib/resources/order_amount_promotion_rules.cjs +9 -9
- package/lib/resources/order_amount_promotion_rules.d.cts +3 -3
- package/lib/resources/order_amount_promotion_rules.d.ts +2 -2
- package/lib/resources/order_amount_promotion_rules.js +8 -8
- package/lib/resources/order_copies.cjs +9 -9
- package/lib/resources/order_copies.d.cts +3 -3
- package/lib/resources/order_copies.d.ts +2 -2
- package/lib/resources/order_copies.js +8 -8
- package/lib/resources/order_factories.cjs +9 -9
- package/lib/resources/order_factories.d.cts +3 -3
- package/lib/resources/order_factories.d.ts +2 -2
- package/lib/resources/order_factories.js +8 -8
- package/lib/resources/order_subscription_items.cjs +9 -9
- package/lib/resources/order_subscription_items.d.cts +3 -3
- package/lib/resources/order_subscription_items.d.ts +2 -2
- package/lib/resources/order_subscription_items.js +8 -8
- package/lib/resources/order_subscriptions.cjs +9 -9
- package/lib/resources/order_subscriptions.d.cts +3 -3
- package/lib/resources/order_subscriptions.d.ts +2 -2
- package/lib/resources/order_subscriptions.js +8 -8
- package/lib/resources/orders.cjs +9 -9
- package/lib/resources/orders.d.cts +3 -3
- package/lib/resources/orders.d.ts +2 -2
- package/lib/resources/orders.js +8 -8
- package/lib/resources/organizations.cjs +9 -9
- package/lib/resources/organizations.d.cts +3 -3
- package/lib/resources/organizations.d.ts +2 -2
- package/lib/resources/organizations.js +8 -8
- package/lib/resources/packages.cjs +9 -9
- package/lib/resources/packages.d.cts +3 -3
- package/lib/resources/packages.d.ts +2 -2
- package/lib/resources/packages.js +8 -8
- package/lib/resources/parcel_line_items.cjs +9 -9
- package/lib/resources/parcel_line_items.d.cts +3 -3
- package/lib/resources/parcel_line_items.d.ts +2 -2
- package/lib/resources/parcel_line_items.js +8 -8
- package/lib/resources/parcels.cjs +9 -9
- package/lib/resources/parcels.d.cts +3 -3
- package/lib/resources/parcels.d.ts +2 -2
- package/lib/resources/parcels.js +8 -8
- package/lib/resources/payment_gateways.cjs +9 -9
- package/lib/resources/payment_gateways.d.cts +3 -3
- package/lib/resources/payment_gateways.d.ts +2 -2
- package/lib/resources/payment_gateways.js +8 -8
- package/lib/resources/payment_methods.cjs +9 -9
- package/lib/resources/payment_methods.d.cts +3 -3
- package/lib/resources/payment_methods.d.ts +2 -2
- package/lib/resources/payment_methods.js +8 -8
- package/lib/resources/payment_options.cjs +9 -9
- package/lib/resources/payment_options.d.cts +3 -3
- package/lib/resources/payment_options.d.ts +2 -2
- package/lib/resources/payment_options.js +8 -8
- package/lib/resources/paypal_gateways.cjs +9 -9
- package/lib/resources/paypal_gateways.d.cts +3 -3
- package/lib/resources/paypal_gateways.d.ts +2 -2
- package/lib/resources/paypal_gateways.js +8 -8
- package/lib/resources/paypal_payments.cjs +9 -9
- package/lib/resources/paypal_payments.d.cts +3 -3
- package/lib/resources/paypal_payments.d.ts +2 -2
- package/lib/resources/paypal_payments.js +8 -8
- package/lib/resources/percentage_discount_promotions.cjs +9 -9
- package/lib/resources/percentage_discount_promotions.d.cts +3 -3
- package/lib/resources/percentage_discount_promotions.d.ts +2 -2
- package/lib/resources/percentage_discount_promotions.js +8 -8
- package/lib/resources/pickups.cjs +9 -9
- package/lib/resources/pickups.d.cts +3 -3
- package/lib/resources/pickups.d.ts +2 -2
- package/lib/resources/pickups.js +8 -8
- package/lib/resources/price_frequency_tiers.cjs +9 -9
- package/lib/resources/price_frequency_tiers.d.cts +3 -3
- package/lib/resources/price_frequency_tiers.d.ts +2 -2
- package/lib/resources/price_frequency_tiers.js +8 -8
- package/lib/resources/price_list_schedulers.cjs +9 -9
- package/lib/resources/price_list_schedulers.d.cts +3 -3
- package/lib/resources/price_list_schedulers.d.ts +2 -2
- package/lib/resources/price_list_schedulers.js +8 -8
- package/lib/resources/price_lists.cjs +9 -9
- package/lib/resources/price_lists.d.cts +3 -3
- package/lib/resources/price_lists.d.ts +2 -2
- package/lib/resources/price_lists.js +8 -8
- package/lib/resources/price_tiers.cjs +9 -9
- package/lib/resources/price_tiers.d.cts +3 -3
- package/lib/resources/price_tiers.d.ts +2 -2
- package/lib/resources/price_tiers.js +8 -8
- package/lib/resources/price_volume_tiers.cjs +9 -9
- package/lib/resources/price_volume_tiers.d.cts +3 -3
- package/lib/resources/price_volume_tiers.d.ts +2 -2
- package/lib/resources/price_volume_tiers.js +8 -8
- package/lib/resources/prices.cjs +9 -9
- package/lib/resources/prices.d.cts +3 -3
- package/lib/resources/prices.d.ts +2 -2
- package/lib/resources/prices.js +8 -8
- package/lib/resources/promotion_rules.cjs +9 -9
- package/lib/resources/promotion_rules.d.cts +3 -3
- package/lib/resources/promotion_rules.d.ts +2 -2
- package/lib/resources/promotion_rules.js +8 -8
- package/lib/resources/promotions.cjs +9 -9
- package/lib/resources/promotions.d.cts +3 -3
- package/lib/resources/promotions.d.ts +2 -2
- package/lib/resources/promotions.js +8 -8
- package/lib/resources/recurring_order_copies.cjs +9 -9
- package/lib/resources/recurring_order_copies.d.cts +3 -3
- package/lib/resources/recurring_order_copies.d.ts +2 -2
- package/lib/resources/recurring_order_copies.js +8 -8
- package/lib/resources/refunds.cjs +9 -9
- package/lib/resources/refunds.d.cts +3 -3
- package/lib/resources/refunds.d.ts +2 -2
- package/lib/resources/refunds.js +8 -8
- package/lib/resources/reserved_stocks.cjs +9 -9
- package/lib/resources/reserved_stocks.d.cts +3 -3
- package/lib/resources/reserved_stocks.d.ts +2 -2
- package/lib/resources/reserved_stocks.js +8 -8
- package/lib/resources/resource_errors.cjs +9 -9
- package/lib/resources/resource_errors.d.cts +3 -3
- package/lib/resources/resource_errors.d.ts +2 -2
- package/lib/resources/resource_errors.js +8 -8
- package/lib/resources/return_line_items.cjs +9 -9
- package/lib/resources/return_line_items.d.cts +3 -3
- package/lib/resources/return_line_items.d.ts +2 -2
- package/lib/resources/return_line_items.js +8 -8
- package/lib/resources/returns.cjs +9 -9
- package/lib/resources/returns.d.cts +3 -3
- package/lib/resources/returns.d.ts +2 -2
- package/lib/resources/returns.js +8 -8
- package/lib/resources/satispay_gateways.cjs +9 -9
- package/lib/resources/satispay_gateways.d.cts +3 -3
- package/lib/resources/satispay_gateways.d.ts +2 -2
- package/lib/resources/satispay_gateways.js +8 -8
- package/lib/resources/satispay_payments.cjs +9 -9
- package/lib/resources/satispay_payments.d.cts +3 -3
- package/lib/resources/satispay_payments.d.ts +2 -2
- package/lib/resources/satispay_payments.js +8 -8
- package/lib/resources/shipments.cjs +9 -9
- package/lib/resources/shipments.d.cts +3 -3
- package/lib/resources/shipments.d.ts +2 -2
- package/lib/resources/shipments.js +8 -8
- package/lib/resources/shipping_categories.cjs +9 -9
- package/lib/resources/shipping_categories.d.cts +3 -3
- package/lib/resources/shipping_categories.d.ts +2 -2
- package/lib/resources/shipping_categories.js +8 -8
- package/lib/resources/shipping_method_tiers.cjs +9 -9
- package/lib/resources/shipping_method_tiers.d.cts +3 -3
- package/lib/resources/shipping_method_tiers.d.ts +2 -2
- package/lib/resources/shipping_method_tiers.js +8 -8
- package/lib/resources/shipping_methods.cjs +9 -9
- package/lib/resources/shipping_methods.d.cts +3 -3
- package/lib/resources/shipping_methods.d.ts +2 -2
- package/lib/resources/shipping_methods.js +8 -8
- package/lib/resources/shipping_weight_tiers.cjs +9 -9
- package/lib/resources/shipping_weight_tiers.d.cts +3 -3
- package/lib/resources/shipping_weight_tiers.d.ts +2 -2
- package/lib/resources/shipping_weight_tiers.js +8 -8
- package/lib/resources/shipping_zones.cjs +9 -9
- package/lib/resources/shipping_zones.d.cts +3 -3
- package/lib/resources/shipping_zones.d.ts +2 -2
- package/lib/resources/shipping_zones.js +8 -8
- package/lib/resources/sku_list_items.cjs +9 -9
- package/lib/resources/sku_list_items.d.cts +3 -3
- package/lib/resources/sku_list_items.d.ts +2 -2
- package/lib/resources/sku_list_items.js +8 -8
- package/lib/resources/sku_list_promotion_rules.cjs +9 -9
- package/lib/resources/sku_list_promotion_rules.d.cts +3 -3
- package/lib/resources/sku_list_promotion_rules.d.ts +2 -2
- package/lib/resources/sku_list_promotion_rules.js +8 -8
- package/lib/resources/sku_lists.cjs +9 -9
- package/lib/resources/sku_lists.d.cts +3 -3
- package/lib/resources/sku_lists.d.ts +2 -2
- package/lib/resources/sku_lists.js +8 -8
- package/lib/resources/sku_options.cjs +9 -9
- package/lib/resources/sku_options.d.cts +3 -3
- package/lib/resources/sku_options.d.ts +2 -2
- package/lib/resources/sku_options.js +8 -8
- package/lib/resources/skus.cjs +9 -9
- package/lib/resources/skus.d.cts +3 -3
- package/lib/resources/skus.d.ts +2 -2
- package/lib/resources/skus.js +8 -8
- package/lib/resources/stock_items.cjs +9 -9
- package/lib/resources/stock_items.d.cts +3 -3
- package/lib/resources/stock_items.d.ts +2 -2
- package/lib/resources/stock_items.js +8 -8
- package/lib/resources/stock_line_items.cjs +9 -9
- package/lib/resources/stock_line_items.d.cts +3 -3
- package/lib/resources/stock_line_items.d.ts +2 -2
- package/lib/resources/stock_line_items.js +8 -8
- package/lib/resources/stock_locations.cjs +9 -9
- package/lib/resources/stock_locations.d.cts +3 -3
- package/lib/resources/stock_locations.d.ts +2 -2
- package/lib/resources/stock_locations.js +8 -8
- package/lib/resources/stock_reservations.cjs +9 -9
- package/lib/resources/stock_reservations.d.cts +3 -3
- package/lib/resources/stock_reservations.d.ts +2 -2
- package/lib/resources/stock_reservations.js +8 -8
- package/lib/resources/stock_transfers.cjs +9 -9
- package/lib/resources/stock_transfers.d.cts +3 -3
- package/lib/resources/stock_transfers.d.ts +2 -2
- package/lib/resources/stock_transfers.js +8 -8
- package/lib/resources/stores.cjs +9 -9
- package/lib/resources/stores.d.cts +3 -3
- package/lib/resources/stores.d.ts +2 -2
- package/lib/resources/stores.js +8 -8
- package/lib/resources/stripe_gateways.cjs +9 -9
- package/lib/resources/stripe_gateways.d.cts +3 -3
- package/lib/resources/stripe_gateways.d.ts +2 -2
- package/lib/resources/stripe_gateways.js +8 -8
- package/lib/resources/stripe_payments.cjs +9 -9
- package/lib/resources/stripe_payments.d.cts +3 -3
- package/lib/resources/stripe_payments.d.ts +2 -2
- package/lib/resources/stripe_payments.js +8 -8
- package/lib/resources/stripe_tax_accounts.cjs +9 -9
- package/lib/resources/stripe_tax_accounts.d.cts +3 -3
- package/lib/resources/stripe_tax_accounts.d.ts +2 -2
- package/lib/resources/stripe_tax_accounts.js +8 -8
- package/lib/resources/subscription_models.cjs +9 -9
- package/lib/resources/subscription_models.d.cts +3 -3
- package/lib/resources/subscription_models.d.ts +2 -2
- package/lib/resources/subscription_models.js +8 -8
- package/lib/resources/tags.cjs +9 -9
- package/lib/resources/tags.d.cts +3 -3
- package/lib/resources/tags.d.ts +2 -2
- package/lib/resources/tags.js +8 -8
- package/lib/resources/talon_one_accounts.cjs +9 -9
- package/lib/resources/talon_one_accounts.d.cts +3 -3
- package/lib/resources/talon_one_accounts.d.ts +2 -2
- package/lib/resources/talon_one_accounts.js +8 -8
- package/lib/resources/tax_calculators.cjs +9 -9
- package/lib/resources/tax_calculators.d.cts +3 -3
- package/lib/resources/tax_calculators.d.ts +2 -2
- package/lib/resources/tax_calculators.js +8 -8
- package/lib/resources/tax_categories.cjs +9 -9
- package/lib/resources/tax_categories.d.cts +3 -3
- package/lib/resources/tax_categories.d.ts +2 -2
- package/lib/resources/tax_categories.js +8 -8
- package/lib/resources/tax_rules.cjs +9 -9
- package/lib/resources/tax_rules.d.cts +3 -3
- package/lib/resources/tax_rules.d.ts +2 -2
- package/lib/resources/tax_rules.js +8 -8
- package/lib/resources/taxjar_accounts.cjs +9 -9
- package/lib/resources/taxjar_accounts.d.cts +3 -3
- package/lib/resources/taxjar_accounts.d.ts +2 -2
- package/lib/resources/taxjar_accounts.js +8 -8
- package/lib/resources/transactions.cjs +9 -9
- package/lib/resources/transactions.d.cts +3 -3
- package/lib/resources/transactions.d.ts +2 -2
- package/lib/resources/transactions.js +8 -8
- package/lib/resources/versions.cjs +9 -9
- package/lib/resources/versions.d.cts +3 -3
- package/lib/resources/versions.d.ts +2 -2
- package/lib/resources/versions.js +8 -8
- package/lib/resources/vertex_accounts.cjs +9 -9
- package/lib/resources/vertex_accounts.d.cts +3 -3
- package/lib/resources/vertex_accounts.d.ts +2 -2
- package/lib/resources/vertex_accounts.js +8 -8
- package/lib/resources/voids.cjs +9 -9
- package/lib/resources/voids.d.cts +3 -3
- package/lib/resources/voids.d.ts +2 -2
- package/lib/resources/voids.js +8 -8
- package/lib/resources/webhooks.cjs +9 -9
- package/lib/resources/webhooks.d.cts +3 -3
- package/lib/resources/webhooks.d.ts +2 -2
- package/lib/resources/webhooks.js +8 -8
- package/lib/resources/wire_transfers.cjs +9 -9
- package/lib/resources/wire_transfers.d.cts +3 -3
- package/lib/resources/wire_transfers.d.ts +2 -2
- package/lib/resources/wire_transfers.js +8 -8
- package/lib/static.cjs +10 -10
- package/lib/static.d.cts +2 -2
- package/lib/static.d.ts +2 -2
- package/lib/static.js +9 -9
- package/lib/util.cjs +5 -5
- package/lib/util.js +1 -1
- package/package.json +6 -8
- package/lib/api-D2LyR3zD.d.cts +0 -18255
- package/lib/api-D8k2hYlQ.d.ts +0 -18255
- package/lib/chunk-2AIPAXOH.cjs +0 -65
- package/lib/chunk-2AIPAXOH.cjs.map +0 -1
- package/lib/chunk-2CPNHJAZ.cjs +0 -51
- package/lib/chunk-2CPNHJAZ.cjs.map +0 -1
- package/lib/chunk-2H2ODZUY.cjs +0 -160
- package/lib/chunk-2H2ODZUY.cjs.map +0 -1
- package/lib/chunk-2JB3IVP4.js +0 -99
- package/lib/chunk-2JB3IVP4.js.map +0 -1
- package/lib/chunk-2M54XID3.cjs +0 -51
- package/lib/chunk-2M54XID3.cjs.map +0 -1
- package/lib/chunk-2M5MIMZG.cjs +0 -55
- package/lib/chunk-2M5MIMZG.cjs.map +0 -1
- package/lib/chunk-2QBP2WHJ.js +0 -49
- package/lib/chunk-2QBP2WHJ.js.map +0 -1
- package/lib/chunk-2VNQTC3B.cjs +0 -56
- package/lib/chunk-2VNQTC3B.cjs.map +0 -1
- package/lib/chunk-2XDNWGMO.cjs +0 -99
- package/lib/chunk-2XDNWGMO.cjs.map +0 -1
- package/lib/chunk-2ZVHALAO.cjs +0 -39
- package/lib/chunk-2ZVHALAO.cjs.map +0 -1
- package/lib/chunk-33CXJXIW.js +0 -63
- package/lib/chunk-33CXJXIW.js.map +0 -1
- package/lib/chunk-34MN4L45.js +0 -37
- package/lib/chunk-34MN4L45.js.map +0 -1
- package/lib/chunk-3CBCQQBN.cjs +0 -79
- package/lib/chunk-3CBCQQBN.cjs.map +0 -1
- package/lib/chunk-3FQU4LWE.js +0 -53
- package/lib/chunk-3FQU4LWE.js.map +0 -1
- package/lib/chunk-3KNN5WPE.js +0 -55
- package/lib/chunk-3KNN5WPE.js.map +0 -1
- package/lib/chunk-3QQQMHYY.js +0 -72
- package/lib/chunk-3QQQMHYY.js.map +0 -1
- package/lib/chunk-3WTRPII2.cjs +0 -47
- package/lib/chunk-3WTRPII2.cjs.map +0 -1
- package/lib/chunk-3X6OVCVT.cjs +0 -57
- package/lib/chunk-3X6OVCVT.cjs.map +0 -1
- package/lib/chunk-3YINNWNG.cjs +0 -51
- package/lib/chunk-3YINNWNG.cjs.map +0 -1
- package/lib/chunk-3ZOHHEJR.js +0 -59
- package/lib/chunk-3ZOHHEJR.js.map +0 -1
- package/lib/chunk-43SLAYP5.js +0 -68
- package/lib/chunk-43SLAYP5.js.map +0 -1
- package/lib/chunk-45YSQMGA.cjs +0 -81
- package/lib/chunk-45YSQMGA.cjs.map +0 -1
- package/lib/chunk-46ESSSNR.cjs +0 -102
- package/lib/chunk-46ESSSNR.cjs.map +0 -1
- package/lib/chunk-4IOIA2JQ.cjs +0 -93
- package/lib/chunk-4IOIA2JQ.cjs.map +0 -1
- package/lib/chunk-4L73VYT5.cjs +0 -51
- package/lib/chunk-4L73VYT5.cjs.map +0 -1
- package/lib/chunk-4MCWJ5GT.js +0 -57
- package/lib/chunk-4MCWJ5GT.js.map +0 -1
- package/lib/chunk-4MDMKEMH.js +0 -645
- package/lib/chunk-4MDMKEMH.js.map +0 -1
- package/lib/chunk-4XQNILDJ.js +0 -59
- package/lib/chunk-4XQNILDJ.js.map +0 -1
- package/lib/chunk-5BIP4OLZ.js +0 -54
- package/lib/chunk-5BIP4OLZ.js.map +0 -1
- package/lib/chunk-5QHMVNEQ.cjs +0 -34
- package/lib/chunk-5QHMVNEQ.cjs.map +0 -1
- package/lib/chunk-5TL34ZY6.js +0 -49
- package/lib/chunk-5TL34ZY6.js.map +0 -1
- package/lib/chunk-5WUI6OHH.cjs +0 -43
- package/lib/chunk-5WUI6OHH.cjs.map +0 -1
- package/lib/chunk-62EOOGD4.js +0 -128
- package/lib/chunk-62EOOGD4.js.map +0 -1
- package/lib/chunk-65LSQZTV.js +0 -45
- package/lib/chunk-65LSQZTV.js.map +0 -1
- package/lib/chunk-67LLQOPH.js +0 -55
- package/lib/chunk-67LLQOPH.js.map +0 -1
- package/lib/chunk-67TJ6ALR.js +0 -47
- package/lib/chunk-67TJ6ALR.js.map +0 -1
- package/lib/chunk-67U7A4FV.cjs +0 -72
- package/lib/chunk-67U7A4FV.cjs.map +0 -1
- package/lib/chunk-6DRGTFBA.cjs +0 -57
- package/lib/chunk-6DRGTFBA.cjs.map +0 -1
- package/lib/chunk-6EIS4TN3.js +0 -49
- package/lib/chunk-6EIS4TN3.js.map +0 -1
- package/lib/chunk-6KOFQEOI.cjs +0 -60
- package/lib/chunk-6KOFQEOI.cjs.map +0 -1
- package/lib/chunk-6KXHU2QJ.js +0 -70
- package/lib/chunk-6KXHU2QJ.js.map +0 -1
- package/lib/chunk-6LHRWK5U.cjs +0 -39
- package/lib/chunk-6LHRWK5U.cjs.map +0 -1
- package/lib/chunk-6PKJDHVC.js +0 -48
- package/lib/chunk-6PKJDHVC.js.map +0 -1
- package/lib/chunk-6S7EJUCA.cjs +0 -47
- package/lib/chunk-6S7EJUCA.cjs.map +0 -1
- package/lib/chunk-6SGYQRO6.js +0 -53
- package/lib/chunk-6SGYQRO6.js.map +0 -1
- package/lib/chunk-6SO2W3YA.js +0 -56
- package/lib/chunk-6SO2W3YA.js.map +0 -1
- package/lib/chunk-6STKOQR7.cjs +0 -63
- package/lib/chunk-6STKOQR7.cjs.map +0 -1
- package/lib/chunk-7P3ZTIQX.cjs +0 -55
- package/lib/chunk-7P3ZTIQX.cjs.map +0 -1
- package/lib/chunk-7YWXHAMP.cjs +0 -61
- package/lib/chunk-7YWXHAMP.cjs.map +0 -1
- package/lib/chunk-7Z7FQA33.cjs +0 -661
- package/lib/chunk-7Z7FQA33.cjs.map +0 -1
- package/lib/chunk-A2SZPZSG.cjs +0 -50
- package/lib/chunk-A2SZPZSG.cjs.map +0 -1
- package/lib/chunk-A3VWVK2F.js +0 -36
- package/lib/chunk-A3VWVK2F.js.map +0 -1
- package/lib/chunk-A4MUL4NB.js +0 -53
- package/lib/chunk-A4MUL4NB.js.map +0 -1
- package/lib/chunk-A5KAGODH.js +0 -51
- package/lib/chunk-A5KAGODH.js.map +0 -1
- package/lib/chunk-ALCZSKPR.cjs +0 -88
- package/lib/chunk-ALCZSKPR.cjs.map +0 -1
- package/lib/chunk-AWV5Y4SH.js +0 -70
- package/lib/chunk-AWV5Y4SH.js.map +0 -1
- package/lib/chunk-BGH55KTL.js +0 -55
- package/lib/chunk-BGH55KTL.js.map +0 -1
- package/lib/chunk-BGHPRKU4.cjs +0 -51
- package/lib/chunk-BGHPRKU4.cjs.map +0 -1
- package/lib/chunk-BHXCVURA.cjs +0 -130
- package/lib/chunk-BHXCVURA.cjs.map +0 -1
- package/lib/chunk-BNWM637R.js +0 -73
- package/lib/chunk-BNWM637R.js.map +0 -1
- package/lib/chunk-BQ4VRKE7.js +0 -28
- package/lib/chunk-BQ4VRKE7.js.map +0 -1
- package/lib/chunk-BRXYDOGG.cjs +0 -56
- package/lib/chunk-BRXYDOGG.cjs.map +0 -1
- package/lib/chunk-BT72RZCE.js +0 -36
- package/lib/chunk-BT72RZCE.js.map +0 -1
- package/lib/chunk-BTLPF6RH.js +0 -49
- package/lib/chunk-BTLPF6RH.js.map +0 -1
- package/lib/chunk-BUHV5UDN.cjs +0 -54
- package/lib/chunk-BUHV5UDN.cjs.map +0 -1
- package/lib/chunk-C27B7IUW.cjs +0 -39
- package/lib/chunk-C27B7IUW.cjs.map +0 -1
- package/lib/chunk-C47UWH7R.js +0 -48
- package/lib/chunk-C47UWH7R.js.map +0 -1
- package/lib/chunk-C6ACTKJH.js +0 -48
- package/lib/chunk-C6ACTKJH.js.map +0 -1
- package/lib/chunk-CETB5FAI.js +0 -41
- package/lib/chunk-CETB5FAI.js.map +0 -1
- package/lib/chunk-CHYP5F26.js +0 -59
- package/lib/chunk-CHYP5F26.js.map +0 -1
- package/lib/chunk-CQASXR3J.cjs +0 -60
- package/lib/chunk-CQASXR3J.cjs.map +0 -1
- package/lib/chunk-D2HUJSJV.cjs +0 -74
- package/lib/chunk-D2HUJSJV.cjs.map +0 -1
- package/lib/chunk-D7SALAS2.cjs +0 -29
- package/lib/chunk-D7SALAS2.cjs.map +0 -1
- package/lib/chunk-D7VHCT5M.cjs +0 -47
- package/lib/chunk-D7VHCT5M.cjs.map +0 -1
- package/lib/chunk-DIE5NWNX.js +0 -105
- package/lib/chunk-DIE5NWNX.js.map +0 -1
- package/lib/chunk-DM62R5CL.cjs +0 -50
- package/lib/chunk-DM62R5CL.cjs.map +0 -1
- package/lib/chunk-DOY7VJPG.js +0 -58
- package/lib/chunk-DOY7VJPG.js.map +0 -1
- package/lib/chunk-DPE4FTTS.cjs +0 -42
- package/lib/chunk-DPE4FTTS.cjs.map +0 -1
- package/lib/chunk-DPJDEC6A.js +0 -42
- package/lib/chunk-DPJDEC6A.js.map +0 -1
- package/lib/chunk-DQWWKXLR.cjs +0 -51
- package/lib/chunk-DQWWKXLR.cjs.map +0 -1
- package/lib/chunk-E2EVY45K.js +0 -48
- package/lib/chunk-E2EVY45K.js.map +0 -1
- package/lib/chunk-E2G3K7H4.js +0 -32
- package/lib/chunk-E2G3K7H4.js.map +0 -1
- package/lib/chunk-EAR4AXVU.cjs +0 -51
- package/lib/chunk-EAR4AXVU.cjs.map +0 -1
- package/lib/chunk-EFQH4OGQ.cjs +0 -46
- package/lib/chunk-EFQH4OGQ.cjs.map +0 -1
- package/lib/chunk-EJNNEY2F.cjs +0 -60
- package/lib/chunk-EJNNEY2F.cjs.map +0 -1
- package/lib/chunk-ERA2COOU.js +0 -37
- package/lib/chunk-ERA2COOU.js.map +0 -1
- package/lib/chunk-ESGRB4YB.cjs +0 -55
- package/lib/chunk-ESGRB4YB.cjs.map +0 -1
- package/lib/chunk-EVVUYC7T.cjs +0 -47
- package/lib/chunk-EVVUYC7T.cjs.map +0 -1
- package/lib/chunk-EZHUH52J.cjs +0 -54
- package/lib/chunk-EZHUH52J.cjs.map +0 -1
- package/lib/chunk-F3UMNXXH.js +0 -45
- package/lib/chunk-F3UMNXXH.js.map +0 -1
- package/lib/chunk-F46RW7IU.cjs +0 -109
- package/lib/chunk-F46RW7IU.cjs.map +0 -1
- package/lib/chunk-F4P2PUF7.cjs +0 -73
- package/lib/chunk-F4P2PUF7.cjs.map +0 -1
- package/lib/chunk-F6WABN7F.cjs +0 -105
- package/lib/chunk-F6WABN7F.cjs.map +0 -1
- package/lib/chunk-FDW7JX5A.cjs +0 -55
- package/lib/chunk-FDW7JX5A.cjs.map +0 -1
- package/lib/chunk-FFX5MED5.js +0 -55
- package/lib/chunk-FFX5MED5.js.map +0 -1
- package/lib/chunk-FI2PWG6C.js +0 -63
- package/lib/chunk-FI2PWG6C.js.map +0 -1
- package/lib/chunk-FI7BWBCX.js +0 -63
- package/lib/chunk-FI7BWBCX.js.map +0 -1
- package/lib/chunk-FIM76CMU.cjs +0 -42
- package/lib/chunk-FIM76CMU.cjs.map +0 -1
- package/lib/chunk-FMGDNZQ6.cjs +0 -51
- package/lib/chunk-FMGDNZQ6.cjs.map +0 -1
- package/lib/chunk-FTYGJZZM.js +0 -44
- package/lib/chunk-FTYGJZZM.js.map +0 -1
- package/lib/chunk-FUDBWYKD.js +0 -49
- package/lib/chunk-FUDBWYKD.js.map +0 -1
- package/lib/chunk-G2ZCHH4W.js +0 -55
- package/lib/chunk-G2ZCHH4W.js.map +0 -1
- package/lib/chunk-G5IOYKFS.js +0 -53
- package/lib/chunk-G5IOYKFS.js.map +0 -1
- package/lib/chunk-G74VYKRY.js +0 -45
- package/lib/chunk-G74VYKRY.js.map +0 -1
- package/lib/chunk-G7MROYQP.cjs +0 -42
- package/lib/chunk-G7MROYQP.cjs.map +0 -1
- package/lib/chunk-GAPLQGJO.js +0 -97
- package/lib/chunk-GAPLQGJO.js.map +0 -1
- package/lib/chunk-GHYWZ5KT.cjs +0 -99
- package/lib/chunk-GHYWZ5KT.cjs.map +0 -1
- package/lib/chunk-GJOZR5TC.cjs +0 -93
- package/lib/chunk-GJOZR5TC.cjs.map +0 -1
- package/lib/chunk-GKUFMSZL.js +0 -32
- package/lib/chunk-GKUFMSZL.js.map +0 -1
- package/lib/chunk-GLL264QG.cjs +0 -55
- package/lib/chunk-GLL264QG.cjs.map +0 -1
- package/lib/chunk-H5CKBXQS.js +0 -53
- package/lib/chunk-H5CKBXQS.js.map +0 -1
- package/lib/chunk-H7EX22DB.cjs +0 -65
- package/lib/chunk-H7EX22DB.cjs.map +0 -1
- package/lib/chunk-HBDXHKBE.js +0 -91
- package/lib/chunk-HBDXHKBE.js.map +0 -1
- package/lib/chunk-HBVSEXIQ.js +0 -58
- package/lib/chunk-HBVSEXIQ.js.map +0 -1
- package/lib/chunk-HOJUXLZD.cjs +0 -75
- package/lib/chunk-HOJUXLZD.cjs.map +0 -1
- package/lib/chunk-HU6DRUWJ.js +0 -86
- package/lib/chunk-HU6DRUWJ.js.map +0 -1
- package/lib/chunk-HUDH634O.cjs +0 -67
- package/lib/chunk-HUDH634O.cjs.map +0 -1
- package/lib/chunk-I2NZB6KN.js +0 -44
- package/lib/chunk-I2NZB6KN.js.map +0 -1
- package/lib/chunk-I3ZMOPMJ.js +0 -52
- package/lib/chunk-I3ZMOPMJ.js.map +0 -1
- package/lib/chunk-I56ZABWO.cjs +0 -38
- package/lib/chunk-I56ZABWO.cjs.map +0 -1
- package/lib/chunk-I5VOVSS7.cjs +0 -71
- package/lib/chunk-I5VOVSS7.cjs.map +0 -1
- package/lib/chunk-I64U2VMD.cjs +0 -51
- package/lib/chunk-I64U2VMD.cjs.map +0 -1
- package/lib/chunk-IHPFHOEJ.js +0 -40
- package/lib/chunk-IHPFHOEJ.js.map +0 -1
- package/lib/chunk-IKHD5UQP.cjs +0 -163
- package/lib/chunk-IKHD5UQP.cjs.map +0 -1
- package/lib/chunk-INW4SZG7.js +0 -93
- package/lib/chunk-INW4SZG7.js.map +0 -1
- package/lib/chunk-IODJPN7Z.js +0 -77
- package/lib/chunk-IODJPN7Z.js.map +0 -1
- package/lib/chunk-IQQNG3U2.cjs +0 -55
- package/lib/chunk-IQQNG3U2.cjs.map +0 -1
- package/lib/chunk-IQVSM3MS.js +0 -57
- package/lib/chunk-IQVSM3MS.js.map +0 -1
- package/lib/chunk-IT2MWRJY.js +0 -54
- package/lib/chunk-IT2MWRJY.js.map +0 -1
- package/lib/chunk-IXOAGKRD.cjs +0 -65
- package/lib/chunk-IXOAGKRD.cjs.map +0 -1
- package/lib/chunk-IYPHDMBD.js +0 -52
- package/lib/chunk-IYPHDMBD.js.map +0 -1
- package/lib/chunk-J32Z2XNX.cjs +0 -57
- package/lib/chunk-J32Z2XNX.cjs.map +0 -1
- package/lib/chunk-J3IOXLY2.cjs +0 -107
- package/lib/chunk-J3IOXLY2.cjs.map +0 -1
- package/lib/chunk-J42WGTN6.cjs +0 -50
- package/lib/chunk-J42WGTN6.cjs.map +0 -1
- package/lib/chunk-JAOFRM22.js +0 -61
- package/lib/chunk-JAOFRM22.js.map +0 -1
- package/lib/chunk-JCOJGOXF.cjs +0 -107
- package/lib/chunk-JCOJGOXF.cjs.map +0 -1
- package/lib/chunk-JD3MI7AO.js +0 -55
- package/lib/chunk-JD3MI7AO.js.map +0 -1
- package/lib/chunk-JDFDWBXQ.js +0 -53
- package/lib/chunk-JDFDWBXQ.js.map +0 -1
- package/lib/chunk-JLLZQ7JR.cjs +0 -57
- package/lib/chunk-JLLZQ7JR.cjs.map +0 -1
- package/lib/chunk-JPKZBEAY.js +0 -59
- package/lib/chunk-JPKZBEAY.js.map +0 -1
- package/lib/chunk-JPX4RLBV.js +0 -158
- package/lib/chunk-JPX4RLBV.js.map +0 -1
- package/lib/chunk-JUVEIRM4.cjs +0 -47
- package/lib/chunk-JUVEIRM4.cjs.map +0 -1
- package/lib/chunk-JVF5KY2J.cjs +0 -22
- package/lib/chunk-JVF5KY2J.cjs.map +0 -1
- package/lib/chunk-JWB5Y2WT.cjs +0 -58
- package/lib/chunk-JWB5Y2WT.cjs.map +0 -1
- package/lib/chunk-JWLNUOL5.js +0 -79
- package/lib/chunk-JWLNUOL5.js.map +0 -1
- package/lib/chunk-JYSIXEKG.cjs +0 -54
- package/lib/chunk-JYSIXEKG.cjs.map +0 -1
- package/lib/chunk-K2E4PX3F.cjs +0 -51
- package/lib/chunk-K2E4PX3F.cjs.map +0 -1
- package/lib/chunk-K3CF32TJ.cjs +0 -46
- package/lib/chunk-K3CF32TJ.cjs.map +0 -1
- package/lib/chunk-K6MX6OZL.js +0 -44
- package/lib/chunk-K6MX6OZL.js.map +0 -1
- package/lib/chunk-K7AR7Z3J.cjs +0 -58
- package/lib/chunk-K7AR7Z3J.cjs.map +0 -1
- package/lib/chunk-KAZKQXUO.js +0 -103
- package/lib/chunk-KAZKQXUO.js.map +0 -1
- package/lib/chunk-KDDMRBB6.cjs +0 -30
- package/lib/chunk-KDDMRBB6.cjs.map +0 -1
- package/lib/chunk-KGZ3FTYR.cjs +0 -43
- package/lib/chunk-KGZ3FTYR.cjs.map +0 -1
- package/lib/chunk-KM27D322.cjs +0 -70
- package/lib/chunk-KM27D322.cjs.map +0 -1
- package/lib/chunk-KMWKIU65.js +0 -107
- package/lib/chunk-KMWKIU65.js.map +0 -1
- package/lib/chunk-KT2FGWBT.cjs +0 -59
- package/lib/chunk-KT2FGWBT.cjs.map +0 -1
- package/lib/chunk-KVRZZTDE.js +0 -40
- package/lib/chunk-KVRZZTDE.js.map +0 -1
- package/lib/chunk-KWOKL6HK.cjs +0 -59
- package/lib/chunk-KWOKL6HK.cjs.map +0 -1
- package/lib/chunk-LE4I5AHS.js +0 -53
- package/lib/chunk-LE4I5AHS.js.map +0 -1
- package/lib/chunk-LESXALEZ.js +0 -49
- package/lib/chunk-LESXALEZ.js.map +0 -1
- package/lib/chunk-LF3CZYGK.js +0 -49
- package/lib/chunk-LF3CZYGK.js.map +0 -1
- package/lib/chunk-LGOJTWKL.js +0 -52
- package/lib/chunk-LGOJTWKL.js.map +0 -1
- package/lib/chunk-LIIFLHEH.cjs +0 -286
- package/lib/chunk-LIIFLHEH.cjs.map +0 -1
- package/lib/chunk-LKBPLGXI.cjs +0 -57
- package/lib/chunk-LKBPLGXI.cjs.map +0 -1
- package/lib/chunk-LKVJRTT2.cjs +0 -72
- package/lib/chunk-LKVJRTT2.cjs.map +0 -1
- package/lib/chunk-LTCWS2HF.cjs +0 -43
- package/lib/chunk-LTCWS2HF.cjs.map +0 -1
- package/lib/chunk-LUS6TTEC.js +0 -284
- package/lib/chunk-LUS6TTEC.js.map +0 -1
- package/lib/chunk-M37U5CLH.js +0 -102
- package/lib/chunk-M37U5CLH.js.map +0 -1
- package/lib/chunk-M6BKGQCR.js +0 -100
- package/lib/chunk-M6BKGQCR.js.map +0 -1
- package/lib/chunk-MBROL4C2.cjs +0 -101
- package/lib/chunk-MBROL4C2.cjs.map +0 -1
- package/lib/chunk-MCZXCMRV.js +0 -97
- package/lib/chunk-MCZXCMRV.js.map +0 -1
- package/lib/chunk-MHCLPVOI.js +0 -56
- package/lib/chunk-MHCLPVOI.js.map +0 -1
- package/lib/chunk-MHQOHOZS.js +0 -97
- package/lib/chunk-MHQOHOZS.js.map +0 -1
- package/lib/chunk-MKV2B7P5.cjs +0 -46
- package/lib/chunk-MKV2B7P5.cjs.map +0 -1
- package/lib/chunk-MOKBZVUU.js +0 -53
- package/lib/chunk-MOKBZVUU.js.map +0 -1
- package/lib/chunk-MUMTGXL2.js +0 -57
- package/lib/chunk-MUMTGXL2.js.map +0 -1
- package/lib/chunk-MXT6VH7V.js +0 -45
- package/lib/chunk-MXT6VH7V.js.map +0 -1
- package/lib/chunk-MYWCHH2I.cjs +0 -79
- package/lib/chunk-MYWCHH2I.cjs.map +0 -1
- package/lib/chunk-N35FM5P4.js +0 -64
- package/lib/chunk-N35FM5P4.js.map +0 -1
- package/lib/chunk-N4COQM5Q.js +0 -37
- package/lib/chunk-N4COQM5Q.js.map +0 -1
- package/lib/chunk-NEVN2SMR.js +0 -53
- package/lib/chunk-NEVN2SMR.js.map +0 -1
- package/lib/chunk-NQHQV4PY.js +0 -31
- package/lib/chunk-NQHQV4PY.js.map +0 -1
- package/lib/chunk-NRZBSJPM.js +0 -45
- package/lib/chunk-NRZBSJPM.js.map +0 -1
- package/lib/chunk-NTAREPLJ.js +0 -91
- package/lib/chunk-NTAREPLJ.js.map +0 -1
- package/lib/chunk-NVNPOVIQ.cjs +0 -46
- package/lib/chunk-NVNPOVIQ.cjs.map +0 -1
- package/lib/chunk-NWKIFDQH.cjs +0 -55
- package/lib/chunk-NWKIFDQH.cjs.map +0 -1
- package/lib/chunk-O3NWYOPV.cjs +0 -55
- package/lib/chunk-O3NWYOPV.cjs.map +0 -1
- package/lib/chunk-O66EZDG2.cjs +0 -53
- package/lib/chunk-O66EZDG2.cjs.map +0 -1
- package/lib/chunk-OA4DVMEQ.cjs +0 -59
- package/lib/chunk-OA4DVMEQ.cjs.map +0 -1
- package/lib/chunk-OA7RZ24N.js +0 -49
- package/lib/chunk-OA7RZ24N.js.map +0 -1
- package/lib/chunk-OEUSTDGS.cjs +0 -42
- package/lib/chunk-OEUSTDGS.cjs.map +0 -1
- package/lib/chunk-OH5533KN.cjs +0 -55
- package/lib/chunk-OH5533KN.cjs.map +0 -1
- package/lib/chunk-OL6PRNU5.js +0 -49
- package/lib/chunk-OL6PRNU5.js.map +0 -1
- package/lib/chunk-OPPZLGKC.js +0 -53
- package/lib/chunk-OPPZLGKC.js.map +0 -1
- package/lib/chunk-OSZIVS3X.cjs +0 -99
- package/lib/chunk-OSZIVS3X.cjs.map +0 -1
- package/lib/chunk-OV4JT553.cjs +0 -51
- package/lib/chunk-OV4JT553.cjs.map +0 -1
- package/lib/chunk-P2OLPCWV.cjs +0 -54
- package/lib/chunk-P2OLPCWV.cjs.map +0 -1
- package/lib/chunk-P7E2LQ6Q.js +0 -53
- package/lib/chunk-P7E2LQ6Q.js.map +0 -1
- package/lib/chunk-PA43CMMI.cjs +0 -55
- package/lib/chunk-PA43CMMI.cjs.map +0 -1
- package/lib/chunk-PBE4XAIR.cjs +0 -65
- package/lib/chunk-PBE4XAIR.cjs.map +0 -1
- package/lib/chunk-PBIARBZH.cjs +0 -51
- package/lib/chunk-PBIARBZH.cjs.map +0 -1
- package/lib/chunk-PLIS7EYD.js +0 -41
- package/lib/chunk-PLIS7EYD.js.map +0 -1
- package/lib/chunk-PXSMF4QS.cjs +0 -57
- package/lib/chunk-PXSMF4QS.cjs.map +0 -1
- package/lib/chunk-Q3ULISRX.cjs +0 -57
- package/lib/chunk-Q3ULISRX.cjs.map +0 -1
- package/lib/chunk-QB7GGVK7.js +0 -52
- package/lib/chunk-QB7GGVK7.js.map +0 -1
- package/lib/chunk-QGFAOPJG.cjs +0 -26
- package/lib/chunk-QGFAOPJG.cjs.map +0 -1
- package/lib/chunk-QPQRYXII.js +0 -44
- package/lib/chunk-QPQRYXII.js.map +0 -1
- package/lib/chunk-QVJM26QQ.cjs +0 -95
- package/lib/chunk-QVJM26QQ.cjs.map +0 -1
- package/lib/chunk-QXYNFQDJ.js +0 -24
- package/lib/chunk-QXYNFQDJ.js.map +0 -1
- package/lib/chunk-QYVJGMYT.cjs +0 -51
- package/lib/chunk-QYVJGMYT.cjs.map +0 -1
- package/lib/chunk-R2LRLUUY.js +0 -35
- package/lib/chunk-R2LRLUUY.js.map +0 -1
- package/lib/chunk-R5NSJSKB.js +0 -49
- package/lib/chunk-R5NSJSKB.js.map +0 -1
- package/lib/chunk-RAF3LK5T.cjs +0 -51
- package/lib/chunk-RAF3LK5T.cjs.map +0 -1
- package/lib/chunk-RHG3UVET.cjs +0 -44
- package/lib/chunk-RHG3UVET.cjs.map +0 -1
- package/lib/chunk-RJJQU44M.js +0 -45
- package/lib/chunk-RJJQU44M.js.map +0 -1
- package/lib/chunk-RK3E3UJ2.cjs +0 -61
- package/lib/chunk-RK3E3UJ2.cjs.map +0 -1
- package/lib/chunk-RZMSILW7.js +0 -71
- package/lib/chunk-RZMSILW7.js.map +0 -1
- package/lib/chunk-SDGSOWXI.js +0 -49
- package/lib/chunk-SDGSOWXI.js.map +0 -1
- package/lib/chunk-SFFSVEXJ.js +0 -55
- package/lib/chunk-SFFSVEXJ.js.map +0 -1
- package/lib/chunk-SKETQJTW.cjs +0 -59
- package/lib/chunk-SKETQJTW.cjs.map +0 -1
- package/lib/chunk-SRW7OWVS.cjs +0 -40
- package/lib/chunk-SRW7OWVS.cjs.map +0 -1
- package/lib/chunk-SWBSSC3A.js +0 -97
- package/lib/chunk-SWBSSC3A.js.map +0 -1
- package/lib/chunk-SXPZRQBF.js +0 -49
- package/lib/chunk-SXPZRQBF.js.map +0 -1
- package/lib/chunk-T2VDBKD4.js +0 -44
- package/lib/chunk-T2VDBKD4.js.map +0 -1
- package/lib/chunk-T5AO4445.cjs +0 -49
- package/lib/chunk-T5AO4445.cjs.map +0 -1
- package/lib/chunk-TE3N57V6.js +0 -40
- package/lib/chunk-TE3N57V6.js.map +0 -1
- package/lib/chunk-TFJYQUEH.cjs +0 -51
- package/lib/chunk-TFJYQUEH.cjs.map +0 -1
- package/lib/chunk-TIINXXHU.cjs +0 -46
- package/lib/chunk-TIINXXHU.cjs.map +0 -1
- package/lib/chunk-TLOIOTYF.cjs +0 -66
- package/lib/chunk-TLOIOTYF.cjs.map +0 -1
- package/lib/chunk-TWL4WEOL.js +0 -49
- package/lib/chunk-TWL4WEOL.js.map +0 -1
- package/lib/chunk-TZAGUXNS.cjs +0 -61
- package/lib/chunk-TZAGUXNS.cjs.map +0 -1
- package/lib/chunk-U22VLCMN.cjs +0 -284
- package/lib/chunk-U22VLCMN.cjs.map +0 -1
- package/lib/chunk-U25QRMJY.js +0 -28
- package/lib/chunk-U25QRMJY.js.map +0 -1
- package/lib/chunk-U4ELOYK7.cjs +0 -42
- package/lib/chunk-U4ELOYK7.cjs.map +0 -1
- package/lib/chunk-U7OGOZ5B.cjs +0 -51
- package/lib/chunk-U7OGOZ5B.cjs.map +0 -1
- package/lib/chunk-UEDVN7C4.js +0 -49
- package/lib/chunk-UEDVN7C4.js.map +0 -1
- package/lib/chunk-UEQ3CRVM.cjs +0 -50
- package/lib/chunk-UEQ3CRVM.cjs.map +0 -1
- package/lib/chunk-UG5XMVH3.cjs +0 -50
- package/lib/chunk-UG5XMVH3.cjs.map +0 -1
- package/lib/chunk-URMWXBVU.cjs +0 -99
- package/lib/chunk-URMWXBVU.cjs.map +0 -1
- package/lib/chunk-UUY77JM3.js +0 -151
- package/lib/chunk-UUY77JM3.js.map +0 -1
- package/lib/chunk-UWM5SGDS.js +0 -65
- package/lib/chunk-UWM5SGDS.js.map +0 -1
- package/lib/chunk-VDC2LQMB.cjs +0 -57
- package/lib/chunk-VDC2LQMB.cjs.map +0 -1
- package/lib/chunk-VEBN2D2K.js +0 -53
- package/lib/chunk-VEBN2D2K.js.map +0 -1
- package/lib/chunk-VGMMPMUL.js +0 -55
- package/lib/chunk-VGMMPMUL.js.map +0 -1
- package/lib/chunk-VKNNJ5CS.js +0 -49
- package/lib/chunk-VKNNJ5CS.js.map +0 -1
- package/lib/chunk-VO5QTCJ4.js +0 -97
- package/lib/chunk-VO5QTCJ4.js.map +0 -1
- package/lib/chunk-VRJJX4JV.js +0 -40
- package/lib/chunk-VRJJX4JV.js.map +0 -1
- package/lib/chunk-VT5HP44I.js +0 -49
- package/lib/chunk-VT5HP44I.js.map +0 -1
- package/lib/chunk-VUVL5VPT.js +0 -49
- package/lib/chunk-VUVL5VPT.js.map +0 -1
- package/lib/chunk-VZGJGOH3.js +0 -55
- package/lib/chunk-VZGJGOH3.js.map +0 -1
- package/lib/chunk-W2EFIUTW.js +0 -40
- package/lib/chunk-W2EFIUTW.js.map +0 -1
- package/lib/chunk-WAC3LO4S.cjs +0 -51
- package/lib/chunk-WAC3LO4S.cjs.map +0 -1
- package/lib/chunk-WFBWZVOK.js +0 -77
- package/lib/chunk-WFBWZVOK.js.map +0 -1
- package/lib/chunk-WK3SIZUG.js +0 -41
- package/lib/chunk-WK3SIZUG.js.map +0 -1
- package/lib/chunk-WLTZ66G4.cjs +0 -38
- package/lib/chunk-WLTZ66G4.cjs.map +0 -1
- package/lib/chunk-WO4S2ZUQ.js +0 -49
- package/lib/chunk-WO4S2ZUQ.js.map +0 -1
- package/lib/chunk-XD7GS4QW.js +0 -20
- package/lib/chunk-XD7GS4QW.js.map +0 -1
- package/lib/chunk-XFHMLWZM.js +0 -63
- package/lib/chunk-XFHMLWZM.js.map +0 -1
- package/lib/chunk-XKERR6OR.js +0 -276
- package/lib/chunk-XKERR6OR.js.map +0 -1
- package/lib/chunk-XOVAUMDC.cjs +0 -55
- package/lib/chunk-XOVAUMDC.cjs.map +0 -1
- package/lib/chunk-XYBXDS3Z.cjs +0 -30
- package/lib/chunk-XYBXDS3Z.cjs.map +0 -1
- package/lib/chunk-Y3NZRCF4.js +0 -49
- package/lib/chunk-Y3NZRCF4.js.map +0 -1
- package/lib/chunk-YDMB4XPA.cjs +0 -57
- package/lib/chunk-YDMB4XPA.cjs.map +0 -1
- package/lib/chunk-YIABS6K6.js +0 -57
- package/lib/chunk-YIABS6K6.js.map +0 -1
- package/lib/chunk-YII77MGK.cjs +0 -99
- package/lib/chunk-YII77MGK.cjs.map +0 -1
- package/lib/chunk-YPGYBULL.cjs +0 -33
- package/lib/chunk-YPGYBULL.cjs.map +0 -1
- package/lib/chunk-YTXFX5LA.js +0 -27
- package/lib/chunk-YTXFX5LA.js.map +0 -1
- package/lib/chunk-YVF52KQK.js +0 -58
- package/lib/chunk-YVF52KQK.js.map +0 -1
- package/lib/chunk-YX4ZQEON.cjs +0 -67
- package/lib/chunk-YX4ZQEON.cjs.map +0 -1
- package/lib/chunk-YY5ENJSH.cjs +0 -63
- package/lib/chunk-YY5ENJSH.cjs.map +0 -1
- package/lib/chunk-YYI4OFL3.js +0 -48
- package/lib/chunk-YYI4OFL3.js.map +0 -1
- package/lib/chunk-YZZQ7GVQ.js +0 -65
- package/lib/chunk-YZZQ7GVQ.js.map +0 -1
- package/lib/chunk-Z66CWIH5.cjs +0 -51
- package/lib/chunk-Z66CWIH5.cjs.map +0 -1
- package/lib/chunk-ZLFWYCCG.cjs +0 -34
- package/lib/chunk-ZLFWYCCG.cjs.map +0 -1
- package/lib/chunk-ZPEK2ZCL.cjs +0 -55
- package/lib/chunk-ZPEK2ZCL.cjs.map +0 -1
- package/lib/chunk-ZSG25S6U.cjs +0 -51
- package/lib/chunk-ZSG25S6U.cjs.map +0 -1
- package/lib/chunk-ZSH3A37I.js +0 -55
- package/lib/chunk-ZSH3A37I.js.map +0 -1
- package/lib/chunk-ZSWW2XGD.cjs +0 -57
- package/lib/chunk-ZSWW2XGD.cjs.map +0 -1
- package/lib/chunk-ZU7GFVQ6.js +0 -153
- package/lib/chunk-ZU7GFVQ6.js.map +0 -1
- package/lib/chunk-ZWVME7CU.cjs +0 -153
- package/lib/chunk-ZWVME7CU.cjs.map +0 -1
- package/lib/chunk-ZYAGX4RM.js +0 -69
- package/lib/chunk-ZYAGX4RM.js.map +0 -1
- package/lib/chunk-ZZOSKORP.cjs +0 -47
- package/lib/chunk-ZZOSKORP.cjs.map +0 -1
- package/lib/interceptor-ETmS7Tab.d.cts +0 -55
- package/lib/interceptor-ETmS7Tab.d.ts +0 -55
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkUBH2EC5P_cjs = require('./chunk-UBH2EC5P.cjs');
|
|
4
|
+
|
|
5
|
+
// src/resources/stock_locations.ts
|
|
6
|
+
var StockLocations = class _StockLocations extends chunkUBH2EC5P_cjs.ApiResource {
|
|
7
|
+
static TYPE = "stock_locations";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create({ ...resource, type: _StockLocations.TYPE }, params, options);
|
|
10
|
+
}
|
|
11
|
+
async update(resource, params, options) {
|
|
12
|
+
return this.resources.update({ ...resource, type: _StockLocations.TYPE }, params, options);
|
|
13
|
+
}
|
|
14
|
+
async delete(id, options) {
|
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _StockLocations.TYPE } : id, options);
|
|
16
|
+
}
|
|
17
|
+
async address(stockLocationId, params, options) {
|
|
18
|
+
const _stockLocationId = stockLocationId.id || stockLocationId;
|
|
19
|
+
return this.resources.fetch({ type: "addresses" }, `stock_locations/${_stockLocationId}/address`, params, options);
|
|
20
|
+
}
|
|
21
|
+
async inventory_stock_locations(stockLocationId, params, options) {
|
|
22
|
+
const _stockLocationId = stockLocationId.id || stockLocationId;
|
|
23
|
+
return this.resources.fetch({ type: "inventory_stock_locations" }, `stock_locations/${_stockLocationId}/inventory_stock_locations`, params, options);
|
|
24
|
+
}
|
|
25
|
+
async inventory_return_locations(stockLocationId, params, options) {
|
|
26
|
+
const _stockLocationId = stockLocationId.id || stockLocationId;
|
|
27
|
+
return this.resources.fetch({ type: "inventory_return_locations" }, `stock_locations/${_stockLocationId}/inventory_return_locations`, params, options);
|
|
28
|
+
}
|
|
29
|
+
async stock_items(stockLocationId, params, options) {
|
|
30
|
+
const _stockLocationId = stockLocationId.id || stockLocationId;
|
|
31
|
+
return this.resources.fetch({ type: "stock_items" }, `stock_locations/${_stockLocationId}/stock_items`, params, options);
|
|
32
|
+
}
|
|
33
|
+
async stock_transfers(stockLocationId, params, options) {
|
|
34
|
+
const _stockLocationId = stockLocationId.id || stockLocationId;
|
|
35
|
+
return this.resources.fetch({ type: "stock_transfers" }, `stock_locations/${_stockLocationId}/stock_transfers`, params, options);
|
|
36
|
+
}
|
|
37
|
+
async stores(stockLocationId, params, options) {
|
|
38
|
+
const _stockLocationId = stockLocationId.id || stockLocationId;
|
|
39
|
+
return this.resources.fetch({ type: "stores" }, `stock_locations/${_stockLocationId}/stores`, params, options);
|
|
40
|
+
}
|
|
41
|
+
async attachments(stockLocationId, params, options) {
|
|
42
|
+
const _stockLocationId = stockLocationId.id || stockLocationId;
|
|
43
|
+
return this.resources.fetch({ type: "attachments" }, `stock_locations/${_stockLocationId}/attachments`, params, options);
|
|
44
|
+
}
|
|
45
|
+
async versions(stockLocationId, params, options) {
|
|
46
|
+
const _stockLocationId = stockLocationId.id || stockLocationId;
|
|
47
|
+
return this.resources.fetch({ type: "versions" }, `stock_locations/${_stockLocationId}/versions`, params, options);
|
|
48
|
+
}
|
|
49
|
+
async event_stores(stockLocationId, params, options) {
|
|
50
|
+
const _stockLocationId = stockLocationId.id || stockLocationId;
|
|
51
|
+
return this.resources.fetch({ type: "event_stores" }, `stock_locations/${_stockLocationId}/event_stores`, params, options);
|
|
52
|
+
}
|
|
53
|
+
isStockLocation(resource) {
|
|
54
|
+
return resource.type && resource.type === _StockLocations.TYPE;
|
|
55
|
+
}
|
|
56
|
+
relationship(id) {
|
|
57
|
+
return super.relationshipOneToOne(id);
|
|
58
|
+
}
|
|
59
|
+
relationshipToMany(...ids) {
|
|
60
|
+
return super.relationshipOneToMany(...ids);
|
|
61
|
+
}
|
|
62
|
+
type() {
|
|
63
|
+
return _StockLocations.TYPE;
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
var instance = new StockLocations();
|
|
67
|
+
var stock_locations_default = instance;
|
|
68
|
+
|
|
69
|
+
exports.stock_locations_default = stock_locations_default;
|
|
70
|
+
//# sourceMappingURL=chunk-ESUFQPT7.cjs.map
|
|
71
|
+
//# sourceMappingURL=chunk-ESUFQPT7.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/stock_locations.ts"],"names":["ApiResource"],"mappings":";;;;;AAwHA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuBA,6BAAA,CAA2B;AAAA,EAEvD,OAAgB,IAAA,GAA0B,iBAAA;AAA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,OAAO,KAAA,CAAM,qBAAuC,EAAE,CAAA;AAAA,EACvD;AAAA,EAEA,sBAAsB,GAAA,EAAmC;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAwC,GAAG,GAAG,CAAA;AAAA,EAC5D;AAAA,EAGA,IAAA,GAA0B;AACzB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACvB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-ESUFQPT7.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\n\nimport type { Address, AddressType } from './addresses'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { InventoryReturnLocation } from './inventory_return_locations'\nimport type { InventoryStockLocation } from './inventory_stock_locations'\nimport type { StockItem } from './stock_items'\nimport type { StockTransfer } from './stock_transfers'\nimport type { Store } from './stores'\nimport type { Version } from './versions'\n\n\ntype StockLocationType = 'stock_locations'\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype AddressRel = ResourceRel & { type: AddressType }\n\n\nexport type StockLocationSort = Pick<StockLocation, 'id' | 'name' | 'code' | 'label_format' | 'suppress_etd'> & ResourceSort\n// export type StockLocationFilter = Pick<StockLocation, 'id' | 'name' | 'code' | 'label_format' | 'suppress_etd'> & ResourceFilter\n\n\ninterface StockLocation extends Resource {\n\t\n\treadonly type: StockLocationType\n\n\t/** \n\t * Unique identifier for the stock location (numeric).\n\t * @example ```1234```\n\t */\n\tnumber?: number | null\n\t/** \n\t * The stock location's internal name.\n\t * @example ```\"Primary warehouse\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the stock location (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The shipping label format for this stock location. Can be one of 'PDF', 'ZPL', 'EPL2', or 'PNG'.\n\t * @example ```\"PDF\"```\n\t */\n\tlabel_format?: string | null\n\t/** \n\t * Flag it if you want to skip the electronic invoice creation when generating the customs info for this stock location shipments.\n\t */\n\tsuppress_etd?: boolean | null\n\n\taddress?: Address | null\n\tinventory_stock_locations?: InventoryStockLocation[] | null\n\tinventory_return_locations?: InventoryReturnLocation[] | null\n\tstock_items?: StockItem[] | null\n\tstock_transfers?: StockTransfer[] | null\n\tstores?: Store[] | null\n\tattachments?: Attachment[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface StockLocationCreate extends ResourceCreate {\n\t\n\t/** \n\t * The stock location's internal name.\n\t * @example ```\"Primary warehouse\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the stock location (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The shipping label format for this stock location. Can be one of 'PDF', 'ZPL', 'EPL2', or 'PNG'.\n\t * @example ```\"PDF\"```\n\t */\n\tlabel_format?: string | null\n\t/** \n\t * Flag it if you want to skip the electronic invoice creation when generating the customs info for this stock location shipments.\n\t */\n\tsuppress_etd?: boolean | null\n\n\taddress: AddressRel\n\n}\n\n\ninterface StockLocationUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The stock location's internal name.\n\t * @example ```\"Primary warehouse\"```\n\t */\n\tname?: string | null\n\t/** \n\t * A string that you can use to identify the stock location (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The shipping label format for this stock location. Can be one of 'PDF', 'ZPL', 'EPL2', or 'PNG'.\n\t * @example ```\"PDF\"```\n\t */\n\tlabel_format?: string | null\n\t/** \n\t * Flag it if you want to skip the electronic invoice creation when generating the customs info for this stock location shipments.\n\t */\n\tsuppress_etd?: boolean | null\n\n\taddress?: AddressRel | null\n\n}\n\n\nclass StockLocations extends ApiResource<StockLocation> {\n\n\tstatic readonly TYPE: StockLocationType = 'stock_locations' as const\n\n\tasync create(resource: StockLocationCreate, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation> {\n\t\treturn this.resources.create<StockLocationCreate, StockLocation>({ ...resource, type: StockLocations.TYPE }, params, options)\n\t}\n\n\tasync update(resource: StockLocationUpdate, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation> {\n\t\treturn this.resources.update<StockLocationUpdate, StockLocation>({ ...resource, type: StockLocations.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: StockLocations.TYPE } : id, options)\n\t}\n\n\tasync address(stockLocationId: string | StockLocation, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<Address>({ type: 'addresses' }, `stock_locations/${_stockLocationId}/address`, params, options) as unknown as Address\n\t}\n\n\tasync inventory_stock_locations(stockLocationId: string | StockLocation, params?: QueryParamsList<InventoryStockLocation>, options?: ResourcesConfig): Promise<ListResponse<InventoryStockLocation>> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<InventoryStockLocation>({ type: 'inventory_stock_locations' }, `stock_locations/${_stockLocationId}/inventory_stock_locations`, params, options) as unknown as ListResponse<InventoryStockLocation>\n\t}\n\n\tasync inventory_return_locations(stockLocationId: string | StockLocation, params?: QueryParamsList<InventoryReturnLocation>, options?: ResourcesConfig): Promise<ListResponse<InventoryReturnLocation>> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<InventoryReturnLocation>({ type: 'inventory_return_locations' }, `stock_locations/${_stockLocationId}/inventory_return_locations`, params, options) as unknown as ListResponse<InventoryReturnLocation>\n\t}\n\n\tasync stock_items(stockLocationId: string | StockLocation, params?: QueryParamsList<StockItem>, options?: ResourcesConfig): Promise<ListResponse<StockItem>> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<StockItem>({ type: 'stock_items' }, `stock_locations/${_stockLocationId}/stock_items`, params, options) as unknown as ListResponse<StockItem>\n\t}\n\n\tasync stock_transfers(stockLocationId: string | StockLocation, params?: QueryParamsList<StockTransfer>, options?: ResourcesConfig): Promise<ListResponse<StockTransfer>> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<StockTransfer>({ type: 'stock_transfers' }, `stock_locations/${_stockLocationId}/stock_transfers`, params, options) as unknown as ListResponse<StockTransfer>\n\t}\n\n\tasync stores(stockLocationId: string | StockLocation, params?: QueryParamsList<Store>, options?: ResourcesConfig): Promise<ListResponse<Store>> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<Store>({ type: 'stores' }, `stock_locations/${_stockLocationId}/stores`, params, options) as unknown as ListResponse<Store>\n\t}\n\n\tasync attachments(stockLocationId: string | StockLocation, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `stock_locations/${_stockLocationId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync versions(stockLocationId: string | StockLocation, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `stock_locations/${_stockLocationId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(stockLocationId: string | StockLocation, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `stock_locations/${_stockLocationId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisStockLocation(resource: any): resource is StockLocation {\n\t\treturn resource.type && (resource.type === StockLocations.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): StockLocationRel {\n\t\treturn super.relationshipOneToOne<StockLocationRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): StockLocationRel[] {\n\t\treturn super.relationshipOneToMany<StockLocationRel>(...ids)\n\t}\n\n\n\ttype(): StockLocationType {\n\t\treturn StockLocations.TYPE\n\t}\n\n}\n\n\nconst instance = new StockLocations()\nexport default instance\n\nexport type { StockLocation, StockLocationCreate, StockLocations, StockLocationType, StockLocationUpdate }\n"]}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-L2R5G3V5.js';
|
|
2
|
+
|
|
3
|
+
// src/resources/external_promotions.ts
|
|
4
|
+
var ExternalPromotions = class _ExternalPromotions extends ApiResource {
|
|
5
|
+
static TYPE = "external_promotions";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create({ ...resource, type: _ExternalPromotions.TYPE }, params, options);
|
|
8
|
+
}
|
|
9
|
+
async update(resource, params, options) {
|
|
10
|
+
return this.resources.update({ ...resource, type: _ExternalPromotions.TYPE }, params, options);
|
|
11
|
+
}
|
|
12
|
+
async delete(id, options) {
|
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _ExternalPromotions.TYPE } : id, options);
|
|
14
|
+
}
|
|
15
|
+
async market(externalPromotionId, params, options) {
|
|
16
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
17
|
+
return this.resources.fetch({ type: "markets" }, `external_promotions/${_externalPromotionId}/market`, params, options);
|
|
18
|
+
}
|
|
19
|
+
async order_amount_promotion_rule(externalPromotionId, params, options) {
|
|
20
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
21
|
+
return this.resources.fetch({ type: "order_amount_promotion_rules" }, `external_promotions/${_externalPromotionId}/order_amount_promotion_rule`, params, options);
|
|
22
|
+
}
|
|
23
|
+
async sku_list_promotion_rule(externalPromotionId, params, options) {
|
|
24
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
25
|
+
return this.resources.fetch({ type: "sku_list_promotion_rules" }, `external_promotions/${_externalPromotionId}/sku_list_promotion_rule`, params, options);
|
|
26
|
+
}
|
|
27
|
+
async coupon_codes_promotion_rule(externalPromotionId, params, options) {
|
|
28
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
29
|
+
return this.resources.fetch({ type: "coupon_codes_promotion_rules" }, `external_promotions/${_externalPromotionId}/coupon_codes_promotion_rule`, params, options);
|
|
30
|
+
}
|
|
31
|
+
async custom_promotion_rule(externalPromotionId, params, options) {
|
|
32
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
33
|
+
return this.resources.fetch({ type: "custom_promotion_rules" }, `external_promotions/${_externalPromotionId}/custom_promotion_rule`, params, options);
|
|
34
|
+
}
|
|
35
|
+
async sku_list(externalPromotionId, params, options) {
|
|
36
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
37
|
+
return this.resources.fetch({ type: "sku_lists" }, `external_promotions/${_externalPromotionId}/sku_list`, params, options);
|
|
38
|
+
}
|
|
39
|
+
async coupons(externalPromotionId, params, options) {
|
|
40
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
41
|
+
return this.resources.fetch({ type: "coupons" }, `external_promotions/${_externalPromotionId}/coupons`, params, options);
|
|
42
|
+
}
|
|
43
|
+
async attachments(externalPromotionId, params, options) {
|
|
44
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
45
|
+
return this.resources.fetch({ type: "attachments" }, `external_promotions/${_externalPromotionId}/attachments`, params, options);
|
|
46
|
+
}
|
|
47
|
+
async events(externalPromotionId, params, options) {
|
|
48
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
49
|
+
return this.resources.fetch({ type: "events" }, `external_promotions/${_externalPromotionId}/events`, params, options);
|
|
50
|
+
}
|
|
51
|
+
async tags(externalPromotionId, params, options) {
|
|
52
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
53
|
+
return this.resources.fetch({ type: "tags" }, `external_promotions/${_externalPromotionId}/tags`, params, options);
|
|
54
|
+
}
|
|
55
|
+
async versions(externalPromotionId, params, options) {
|
|
56
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
57
|
+
return this.resources.fetch({ type: "versions" }, `external_promotions/${_externalPromotionId}/versions`, params, options);
|
|
58
|
+
}
|
|
59
|
+
async event_stores(externalPromotionId, params, options) {
|
|
60
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
61
|
+
return this.resources.fetch({ type: "event_stores" }, `external_promotions/${_externalPromotionId}/event_stores`, params, options);
|
|
62
|
+
}
|
|
63
|
+
async skus(externalPromotionId, params, options) {
|
|
64
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
65
|
+
return this.resources.fetch({ type: "skus" }, `external_promotions/${_externalPromotionId}/skus`, params, options);
|
|
66
|
+
}
|
|
67
|
+
async _disable(id, params, options) {
|
|
68
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _ExternalPromotions.TYPE, _disable: true }, params, options);
|
|
69
|
+
}
|
|
70
|
+
async _enable(id, params, options) {
|
|
71
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _ExternalPromotions.TYPE, _enable: true }, params, options);
|
|
72
|
+
}
|
|
73
|
+
async _add_tags(id, triggerValue, params, options) {
|
|
74
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _ExternalPromotions.TYPE, _add_tags: triggerValue }, params, options);
|
|
75
|
+
}
|
|
76
|
+
async _remove_tags(id, triggerValue, params, options) {
|
|
77
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _ExternalPromotions.TYPE, _remove_tags: triggerValue }, params, options);
|
|
78
|
+
}
|
|
79
|
+
async _reset_circuit(id, params, options) {
|
|
80
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _ExternalPromotions.TYPE, _reset_circuit: true }, params, options);
|
|
81
|
+
}
|
|
82
|
+
isExternalPromotion(resource) {
|
|
83
|
+
return resource.type && resource.type === _ExternalPromotions.TYPE;
|
|
84
|
+
}
|
|
85
|
+
relationship(id) {
|
|
86
|
+
return super.relationshipOneToOne(id);
|
|
87
|
+
}
|
|
88
|
+
relationshipToMany(...ids) {
|
|
89
|
+
return super.relationshipOneToMany(...ids);
|
|
90
|
+
}
|
|
91
|
+
type() {
|
|
92
|
+
return _ExternalPromotions.TYPE;
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
var instance = new ExternalPromotions();
|
|
96
|
+
var external_promotions_default = instance;
|
|
97
|
+
|
|
98
|
+
export { external_promotions_default };
|
|
99
|
+
//# sourceMappingURL=chunk-ESW2GV47.js.map
|
|
100
|
+
//# sourceMappingURL=chunk-ESW2GV47.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/external_promotions.ts"],"names":[],"mappings":";;;AA8SA,IAAM,kBAAA,GAAN,MAAM,mBAAA,SAA2B,WAAA,CAA+B;AAAA,EAE/D,OAAgB,IAAA,GAA8B,qBAAA;AAAA,EAE9C,MAAM,MAAA,CAAO,QAAA,EAAmC,MAAA,EAAiD,OAAA,EAAuD;AACvJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAmD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,mBAAA,CAAmB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACzI;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAmC,MAAA,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;AAClE,IAAA,OAAO,KAAA,CAAM,qBAA2C,EAAE,CAAA;AAAA,EAC3D;AAAA,EAEA,sBAAsB,GAAA,EAAuC;AAC5D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA4C,GAAG,GAAG,CAAA;AAAA,EAChE;AAAA,EAGA,IAAA,GAA8B;AAC7B,IAAA,OAAO,mBAAA,CAAmB,IAAA;AAAA,EAC3B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,kBAAA,EAAmB;AACxC,IAAO,2BAAA,GAAQ","file":"chunk-ESW2GV47.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { Coupon } from './coupons'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { PromotionRule } from './promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Sku } from './skus'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\n\n\ntype ExternalPromotionType = 'external_promotions'\ntype ExternalPromotionRel = ResourceRel & { type: ExternalPromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type ExternalPromotionSort = Pick<ExternalPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort\n// export type ExternalPromotionFilter = Pick<ExternalPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceFilter\n\n\ninterface ExternalPromotion extends Resource {\n\t\n\treadonly type: ExternalPromotionType\n\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * The number of times this promotion has been applied.\n\t * @example ```2```\n\t */\n\ttotal_usage_count?: number | null\n\t/** \n\t * Indicates if the promotion has been applied the total number of allowed times.\n\t */\n\ttotal_usage_reached?: boolean | null\n\t/** \n\t * Indicates if the promotion is active (enabled and not expired).\n\t * @example ```true```\n\t */\n\tactive?: boolean | null\n\t/** \n\t * The promotion status. One of 'disabled', 'expired', 'pending', 'active', or 'inactive'.\n\t * @example ```\"pending\"```\n\t */\n\tstatus?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null\n\t/** \n\t * The weight of the promotion, computed by exclusivity, priority, type and start time. Determines the order of application, higher weight apply first.\n\t * @example ```112```\n\t */\n\tweight?: number | null\n\t/** \n\t * The total number of coupons created for this promotion.\n\t * @example ```2```\n\t */\n\tcoupons_count?: number | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The URL to the service that will compute the discount.\n\t * @example ```\"https://external_promotion.yourbrand.com\"```\n\t */\n\tpromotion_url: string\n\t/** \n\t * 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\t * @example ```\"closed\"```\n\t */\n\tcircuit_state?: string | null\n\t/** \n\t * The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.\n\t * @example ```5```\n\t */\n\tcircuit_failure_count?: number | null\n\t/** \n\t * The shared secret used to sign the external request payload.\n\t * @example ```\"1c0994cc4e996e8c6ee56a2198f66f3c\"```\n\t */\n\tshared_secret: string\n\t/** \n\t * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n\t * @example ```[\"order.line_item_options\"]```\n\t */\n\texternal_includes?: string[] | null\n\n\tmarket?: Market | null\n\tpromotion_rules?: PromotionRule[] | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRule | null\n\tsku_list_promotion_rule?: SkuListPromotionRule | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n\tcustom_promotion_rule?: CustomPromotionRule | null\n\tsku_list?: SkuList | null\n\tcoupons?: Coupon[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\tskus?: Sku[] | null\n\n}\n\n\ninterface ExternalPromotionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The URL to the service that will compute the discount.\n\t * @example ```\"https://external_promotion.yourbrand.com\"```\n\t */\n\tpromotion_url: string\n\t/** \n\t * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n\t * @example ```[\"order.line_item_options\"]```\n\t */\n\texternal_includes?: string[] | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface ExternalPromotionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at?: string | null\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\t/** \n\t * The URL to the service that will compute the discount.\n\t * @example ```\"https://external_promotion.yourbrand.com\"```\n\t */\n\tpromotion_url?: string | null\n\t/** \n\t * 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\t * @example ```true```\n\t */\n\t_reset_circuit?: boolean | null\n\t/** \n\t * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n\t * @example ```[\"order.line_item_options\"]```\n\t */\n\texternal_includes?: string[] | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass ExternalPromotions extends ApiResource<ExternalPromotion> {\n\n\tstatic readonly TYPE: ExternalPromotionType = 'external_promotions' as const\n\n\tasync create(resource: ExternalPromotionCreate, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.create<ExternalPromotionCreate, ExternalPromotion>({ ...resource, type: ExternalPromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ExternalPromotionUpdate, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ ...resource, type: ExternalPromotions.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: ExternalPromotions.TYPE } : id, options)\n\t}\n\n\tasync market(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `external_promotions/${_externalPromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `external_promotions/${_externalPromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `external_promotions/${_externalPromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `external_promotions/${_externalPromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `external_promotions/${_externalPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `external_promotions/${_externalPromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `external_promotions/${_externalPromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `external_promotions/${_externalPromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `external_promotions/${_externalPromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `external_promotions/${_externalPromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `external_promotions/${_externalPromotionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `external_promotions/${_externalPromotionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync skus(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `external_promotions/${_externalPromotionId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync _disable(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | ExternalPromotion, triggerValue: string, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | ExternalPromotion, triggerValue: string, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\tasync _reset_circuit(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _reset_circuit: true }, params, options)\n\t}\n\n\n\tisExternalPromotion(resource: any): resource is ExternalPromotion {\n\t\treturn resource.type && (resource.type === ExternalPromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ExternalPromotionRel {\n\t\treturn super.relationshipOneToOne<ExternalPromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ExternalPromotionRel[] {\n\t\treturn super.relationshipOneToMany<ExternalPromotionRel>(...ids)\n\t}\n\n\n\ttype(): ExternalPromotionType {\n\t\treturn ExternalPromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new ExternalPromotions()\nexport default instance\n\nexport type { ExternalPromotion, ExternalPromotionCreate, ExternalPromotions, ExternalPromotionType, ExternalPromotionUpdate }\n"]}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-L2R5G3V5.js';
|
|
2
|
+
|
|
3
|
+
// src/resources/stock_transfers.ts
|
|
4
|
+
var StockTransfers = class _StockTransfers extends ApiResource {
|
|
5
|
+
static TYPE = "stock_transfers";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create({ ...resource, type: _StockTransfers.TYPE }, params, options);
|
|
8
|
+
}
|
|
9
|
+
async update(resource, params, options) {
|
|
10
|
+
return this.resources.update({ ...resource, type: _StockTransfers.TYPE }, params, options);
|
|
11
|
+
}
|
|
12
|
+
async delete(id, options) {
|
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _StockTransfers.TYPE } : id, options);
|
|
14
|
+
}
|
|
15
|
+
async sku(stockTransferId, params, options) {
|
|
16
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
17
|
+
return this.resources.fetch({ type: "skus" }, `stock_transfers/${_stockTransferId}/sku`, params, options);
|
|
18
|
+
}
|
|
19
|
+
async origin_stock_location(stockTransferId, params, options) {
|
|
20
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
21
|
+
return this.resources.fetch({ type: "stock_locations" }, `stock_transfers/${_stockTransferId}/origin_stock_location`, params, options);
|
|
22
|
+
}
|
|
23
|
+
async destination_stock_location(stockTransferId, params, options) {
|
|
24
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
25
|
+
return this.resources.fetch({ type: "stock_locations" }, `stock_transfers/${_stockTransferId}/destination_stock_location`, params, options);
|
|
26
|
+
}
|
|
27
|
+
async shipment(stockTransferId, params, options) {
|
|
28
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
29
|
+
return this.resources.fetch({ type: "shipments" }, `stock_transfers/${_stockTransferId}/shipment`, params, options);
|
|
30
|
+
}
|
|
31
|
+
async line_item(stockTransferId, params, options) {
|
|
32
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
33
|
+
return this.resources.fetch({ type: "line_items" }, `stock_transfers/${_stockTransferId}/line_item`, params, options);
|
|
34
|
+
}
|
|
35
|
+
async stock_reservation(stockTransferId, params, options) {
|
|
36
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
37
|
+
return this.resources.fetch({ type: "stock_reservations" }, `stock_transfers/${_stockTransferId}/stock_reservation`, params, options);
|
|
38
|
+
}
|
|
39
|
+
async attachments(stockTransferId, params, options) {
|
|
40
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
41
|
+
return this.resources.fetch({ type: "attachments" }, `stock_transfers/${_stockTransferId}/attachments`, params, options);
|
|
42
|
+
}
|
|
43
|
+
async events(stockTransferId, params, options) {
|
|
44
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
45
|
+
return this.resources.fetch({ type: "events" }, `stock_transfers/${_stockTransferId}/events`, params, options);
|
|
46
|
+
}
|
|
47
|
+
async versions(stockTransferId, params, options) {
|
|
48
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
49
|
+
return this.resources.fetch({ type: "versions" }, `stock_transfers/${_stockTransferId}/versions`, params, options);
|
|
50
|
+
}
|
|
51
|
+
async event_stores(stockTransferId, params, options) {
|
|
52
|
+
const _stockTransferId = stockTransferId.id || stockTransferId;
|
|
53
|
+
return this.resources.fetch({ type: "event_stores" }, `stock_transfers/${_stockTransferId}/event_stores`, params, options);
|
|
54
|
+
}
|
|
55
|
+
async _upcoming(id, params, options) {
|
|
56
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _StockTransfers.TYPE, _upcoming: true }, params, options);
|
|
57
|
+
}
|
|
58
|
+
async _on_hold(id, params, options) {
|
|
59
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _StockTransfers.TYPE, _on_hold: true }, params, options);
|
|
60
|
+
}
|
|
61
|
+
async _picking(id, params, options) {
|
|
62
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _StockTransfers.TYPE, _picking: true }, params, options);
|
|
63
|
+
}
|
|
64
|
+
async _in_transit(id, params, options) {
|
|
65
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _StockTransfers.TYPE, _in_transit: true }, params, options);
|
|
66
|
+
}
|
|
67
|
+
async _complete(id, params, options) {
|
|
68
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _StockTransfers.TYPE, _complete: true }, params, options);
|
|
69
|
+
}
|
|
70
|
+
async _cancel(id, params, options) {
|
|
71
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _StockTransfers.TYPE, _cancel: true }, params, options);
|
|
72
|
+
}
|
|
73
|
+
isStockTransfer(resource) {
|
|
74
|
+
return resource.type && resource.type === _StockTransfers.TYPE;
|
|
75
|
+
}
|
|
76
|
+
relationship(id) {
|
|
77
|
+
return super.relationshipOneToOne(id);
|
|
78
|
+
}
|
|
79
|
+
relationshipToMany(...ids) {
|
|
80
|
+
return super.relationshipOneToMany(...ids);
|
|
81
|
+
}
|
|
82
|
+
type() {
|
|
83
|
+
return _StockTransfers.TYPE;
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
var instance = new StockTransfers();
|
|
87
|
+
var stock_transfers_default = instance;
|
|
88
|
+
|
|
89
|
+
export { stock_transfers_default };
|
|
90
|
+
//# sourceMappingURL=chunk-EV7JAD4X.js.map
|
|
91
|
+
//# sourceMappingURL=chunk-EV7JAD4X.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/stock_transfers.ts"],"names":[],"mappings":";;;AA8KA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuB,WAAA,CAA2B;AAAA,EAEvD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,MAAA,CAAO,QAAA,EAA+B,MAAA,EAA6C,OAAA,EAAmD;AAC3I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,eAAA,CAAe,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC7H;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA+B,MAAA,EAA6C,OAAA,EAAmD;AAC3I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,eAAA,CAAe,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC7H;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA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QAAQ,OAAO,CAAA;AAAA,EACxK;AAAA,EAGA,gBAAgB,QAAA,EAA0C;AACzD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,eAAA,CAAe,IAAA;AAAA,EAC3D;AAAA,EAGA,aAAa,EAAA,EAAkD;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAuC,EAAE,CAAA;AAAA,EACvD;AAAA,EAEA,sBAAsB,GAAA,EAAmC;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAwC,GAAG,GAAG,CAAA;AAAA,EAC5D;AAAA,EAGA,IAAA,GAA0B;AACzB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACvB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-EV7JAD4X.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { LineItem, LineItemType } from './line_items'\nimport type { Shipment, ShipmentType } from './shipments'\nimport type { Sku, SkuType } from './skus'\nimport type { StockLocation, StockLocationType } from './stock_locations'\nimport type { StockReservation } from './stock_reservations'\nimport type { Version } from './versions'\n\n\ntype StockTransferType = 'stock_transfers'\ntype StockTransferRel = ResourceRel & { type: StockTransferType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype LineItemRel = ResourceRel & { type: LineItemType }\n\n\nexport type StockTransferSort = Pick<StockTransfer, 'id' | 'number' | 'status' | 'quantity' | 'on_hold_at' | 'picking_at' | 'in_transit_at' | 'completed_at' | 'cancelled_at'> & ResourceSort\n// export type StockTransferFilter = Pick<StockTransfer, 'id' | 'number' | 'status' | 'quantity' | 'on_hold_at' | 'picking_at' | 'in_transit_at' | 'completed_at' | 'cancelled_at'> & ResourceFilter\n\n\ninterface StockTransfer extends Resource {\n\t\n\treadonly type: StockTransferType\n\n\t/** \n\t * Unique identifier for the stock transfer (numeric).\n\t * @example ```\"1234\"```\n\t */\n\tnumber?: string | null\n\t/** \n\t * The code of the associated SKU.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The stock transfer status. One of 'draft' (default), 'upcoming', 'on_hold', 'picking', 'in_transit', 'completed', or 'cancelled'.\n\t * @example ```\"draft\"```\n\t */\n\tstatus: 'draft' | 'upcoming' | 'on_hold' | 'picking' | 'in_transit' | 'completed' | 'cancelled'\n\t/** \n\t * The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability.\n\t * @example ```2```\n\t */\n\tquantity: number\n\t/** \n\t * Time at which the stock transfer was put on hold.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\ton_hold_at?: string | null\n\t/** \n\t * Time at which the stock transfer was picking.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tpicking_at?: string | null\n\t/** \n\t * Time at which the stock transfer was in transit.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tin_transit_at?: string | null\n\t/** \n\t * Time at which the stock transfer was completed.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tcompleted_at?: string | null\n\t/** \n\t * Time at which the stock transfer was cancelled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tcancelled_at?: string | null\n\n\tsku?: Sku | null\n\torigin_stock_location?: StockLocation | null\n\tdestination_stock_location?: StockLocation | null\n\tshipment?: Shipment | null\n\tline_item?: LineItem | null\n\tstock_reservation?: StockReservation | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface StockTransferCreate extends ResourceCreate {\n\t\n\t/** \n\t * Unique identifier for the stock transfer (numeric).\n\t * @example ```\"1234\"```\n\t */\n\tnumber?: string | null\n\t/** \n\t * The code of the associated SKU.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability.\n\t * @example ```2```\n\t */\n\tquantity: number\n\n\tsku: SkuRel\n\torigin_stock_location: StockLocationRel\n\tdestination_stock_location: StockLocationRel\n\tshipment?: ShipmentRel | null\n\tline_item?: LineItemRel | null\n\n}\n\n\ninterface StockTransferUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * Unique identifier for the stock transfer (numeric).\n\t * @example ```\"1234\"```\n\t */\n\tnumber?: string | null\n\t/** \n\t * The code of the associated SKU.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability.\n\t * @example ```2```\n\t */\n\tquantity?: number | null\n\t/** \n\t * Send this attribute if you want to mark this stock transfer as upcoming.\n\t * @example ```true```\n\t */\n\t_upcoming?: boolean | null\n\t/** \n\t * Send this attribute if you want to put this stock transfer on hold.\n\t * @example ```true```\n\t */\n\t_on_hold?: boolean | null\n\t/** \n\t * Send this attribute if you want to start picking this stock transfer.\n\t * @example ```true```\n\t */\n\t_picking?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this stock transfer as in transit.\n\t * @example ```true```\n\t */\n\t_in_transit?: boolean | null\n\t/** \n\t * Send this attribute if you want to complete this stock transfer.\n\t * @example ```true```\n\t */\n\t_complete?: boolean | null\n\t/** \n\t * Send this attribute if you want to cancel this stock transfer.\n\t * @example ```true```\n\t */\n\t_cancel?: boolean | null\n\n\tsku?: SkuRel | null\n\torigin_stock_location?: StockLocationRel | null\n\tdestination_stock_location?: StockLocationRel | null\n\tshipment?: ShipmentRel | null\n\tline_item?: LineItemRel | null\n\n}\n\n\nclass StockTransfers extends ApiResource<StockTransfer> {\n\n\tstatic readonly TYPE: StockTransferType = 'stock_transfers' as const\n\n\tasync create(resource: StockTransferCreate, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer> {\n\t\treturn this.resources.create<StockTransferCreate, StockTransfer>({ ...resource, type: StockTransfers.TYPE }, params, options)\n\t}\n\n\tasync update(resource: StockTransferUpdate, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer> {\n\t\treturn this.resources.update<StockTransferUpdate, StockTransfer>({ ...resource, type: StockTransfers.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: StockTransfers.TYPE } : id, options)\n\t}\n\n\tasync sku(stockTransferId: string | StockTransfer, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku> {\n\t\tconst _stockTransferId = (stockTransferId as StockTransfer).id || stockTransferId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `stock_transfers/${_stockTransferId}/sku`, params, options) as unknown as Sku\n\t}\n\n\tasync origin_stock_location(stockTransferId: string | StockTransfer, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation> {\n\t\tconst _stockTransferId = (stockTransferId as StockTransfer).id || stockTransferId as string\n\t\treturn this.resources.fetch<StockLocation>({ type: 'stock_locations' }, `stock_transfers/${_stockTransferId}/origin_stock_location`, params, options) as unknown as StockLocation\n\t}\n\n\tasync destination_stock_location(stockTransferId: string | StockTransfer, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation> {\n\t\tconst _stockTransferId = (stockTransferId as StockTransfer).id || stockTransferId as string\n\t\treturn this.resources.fetch<StockLocation>({ type: 'stock_locations' }, `stock_transfers/${_stockTransferId}/destination_stock_location`, params, options) as unknown as StockLocation\n\t}\n\n\tasync shipment(stockTransferId: string | StockTransfer, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\tconst _stockTransferId = (stockTransferId as StockTransfer).id || stockTransferId as string\n\t\treturn this.resources.fetch<Shipment>({ type: 'shipments' }, `stock_transfers/${_stockTransferId}/shipment`, params, options) as unknown as Shipment\n\t}\n\n\tasync line_item(stockTransferId: string | StockTransfer, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem> {\n\t\tconst _stockTransferId = (stockTransferId as StockTransfer).id || stockTransferId as string\n\t\treturn this.resources.fetch<LineItem>({ type: 'line_items' }, `stock_transfers/${_stockTransferId}/line_item`, params, options) as unknown as LineItem\n\t}\n\n\tasync stock_reservation(stockTransferId: string | StockTransfer, params?: QueryParamsRetrieve<StockReservation>, options?: ResourcesConfig): Promise<StockReservation> {\n\t\tconst _stockTransferId = (stockTransferId as StockTransfer).id || stockTransferId as string\n\t\treturn this.resources.fetch<StockReservation>({ type: 'stock_reservations' }, `stock_transfers/${_stockTransferId}/stock_reservation`, params, options) as unknown as StockReservation\n\t}\n\n\tasync attachments(stockTransferId: string | StockTransfer, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _stockTransferId = (stockTransferId as StockTransfer).id || stockTransferId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `stock_transfers/${_stockTransferId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(stockTransferId: string | StockTransfer, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _stockTransferId = (stockTransferId as StockTransfer).id || stockTransferId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `stock_transfers/${_stockTransferId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync versions(stockTransferId: string | StockTransfer, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _stockTransferId = (stockTransferId as StockTransfer).id || stockTransferId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `stock_transfers/${_stockTransferId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(stockTransferId: string | StockTransfer, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _stockTransferId = (stockTransferId as StockTransfer).id || stockTransferId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `stock_transfers/${_stockTransferId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _upcoming(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer> {\n\t\treturn this.resources.update<StockTransferUpdate, StockTransfer>({ id: (typeof id === 'string')? id: id.id, type: StockTransfers.TYPE, _upcoming: true }, params, options)\n\t}\n\n\tasync _on_hold(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer> {\n\t\treturn this.resources.update<StockTransferUpdate, StockTransfer>({ id: (typeof id === 'string')? id: id.id, type: StockTransfers.TYPE, _on_hold: true }, params, options)\n\t}\n\n\tasync _picking(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer> {\n\t\treturn this.resources.update<StockTransferUpdate, StockTransfer>({ id: (typeof id === 'string')? id: id.id, type: StockTransfers.TYPE, _picking: true }, params, options)\n\t}\n\n\tasync _in_transit(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer> {\n\t\treturn this.resources.update<StockTransferUpdate, StockTransfer>({ id: (typeof id === 'string')? id: id.id, type: StockTransfers.TYPE, _in_transit: true }, params, options)\n\t}\n\n\tasync _complete(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer> {\n\t\treturn this.resources.update<StockTransferUpdate, StockTransfer>({ id: (typeof id === 'string')? id: id.id, type: StockTransfers.TYPE, _complete: true }, params, options)\n\t}\n\n\tasync _cancel(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer> {\n\t\treturn this.resources.update<StockTransferUpdate, StockTransfer>({ id: (typeof id === 'string')? id: id.id, type: StockTransfers.TYPE, _cancel: true }, params, options)\n\t}\n\n\n\tisStockTransfer(resource: any): resource is StockTransfer {\n\t\treturn resource.type && (resource.type === StockTransfers.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): StockTransferRel {\n\t\treturn super.relationshipOneToOne<StockTransferRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): StockTransferRel[] {\n\t\treturn super.relationshipOneToMany<StockTransferRel>(...ids)\n\t}\n\n\n\ttype(): StockTransferType {\n\t\treturn StockTransfers.TYPE\n\t}\n\n}\n\n\nconst instance = new StockTransfers()\nexport default instance\n\nexport type { StockTransfer, StockTransferCreate, StockTransfers, StockTransferType, StockTransferUpdate }\n"]}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkUBH2EC5P_cjs = require('./chunk-UBH2EC5P.cjs');
|
|
4
|
+
|
|
5
|
+
// src/resources/skus.ts
|
|
6
|
+
var Skus = class _Skus extends chunkUBH2EC5P_cjs.ApiResource {
|
|
7
|
+
static TYPE = "skus";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create({ ...resource, type: _Skus.TYPE }, params, options);
|
|
10
|
+
}
|
|
11
|
+
async update(resource, params, options) {
|
|
12
|
+
return this.resources.update({ ...resource, type: _Skus.TYPE }, params, options);
|
|
13
|
+
}
|
|
14
|
+
async delete(id, options) {
|
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _Skus.TYPE } : id, options);
|
|
16
|
+
}
|
|
17
|
+
async shipping_category(skuId, params, options) {
|
|
18
|
+
const _skuId = skuId.id || skuId;
|
|
19
|
+
return this.resources.fetch({ type: "shipping_categories" }, `skus/${_skuId}/shipping_category`, params, options);
|
|
20
|
+
}
|
|
21
|
+
async prices(skuId, params, options) {
|
|
22
|
+
const _skuId = skuId.id || skuId;
|
|
23
|
+
return this.resources.fetch({ type: "prices" }, `skus/${_skuId}/prices`, params, options);
|
|
24
|
+
}
|
|
25
|
+
async stock_items(skuId, params, options) {
|
|
26
|
+
const _skuId = skuId.id || skuId;
|
|
27
|
+
return this.resources.fetch({ type: "stock_items" }, `skus/${_skuId}/stock_items`, params, options);
|
|
28
|
+
}
|
|
29
|
+
async stock_reservations(skuId, params, options) {
|
|
30
|
+
const _skuId = skuId.id || skuId;
|
|
31
|
+
return this.resources.fetch({ type: "stock_reservations" }, `skus/${_skuId}/stock_reservations`, params, options);
|
|
32
|
+
}
|
|
33
|
+
async delivery_lead_times(skuId, params, options) {
|
|
34
|
+
const _skuId = skuId.id || skuId;
|
|
35
|
+
return this.resources.fetch({ type: "delivery_lead_times" }, `skus/${_skuId}/delivery_lead_times`, params, options);
|
|
36
|
+
}
|
|
37
|
+
async sku_options(skuId, params, options) {
|
|
38
|
+
const _skuId = skuId.id || skuId;
|
|
39
|
+
return this.resources.fetch({ type: "sku_options" }, `skus/${_skuId}/sku_options`, params, options);
|
|
40
|
+
}
|
|
41
|
+
async sku_list_items(skuId, params, options) {
|
|
42
|
+
const _skuId = skuId.id || skuId;
|
|
43
|
+
return this.resources.fetch({ type: "sku_list_items" }, `skus/${_skuId}/sku_list_items`, params, options);
|
|
44
|
+
}
|
|
45
|
+
async sku_lists(skuId, params, options) {
|
|
46
|
+
const _skuId = skuId.id || skuId;
|
|
47
|
+
return this.resources.fetch({ type: "sku_lists" }, `skus/${_skuId}/sku_lists`, params, options);
|
|
48
|
+
}
|
|
49
|
+
async attachments(skuId, params, options) {
|
|
50
|
+
const _skuId = skuId.id || skuId;
|
|
51
|
+
return this.resources.fetch({ type: "attachments" }, `skus/${_skuId}/attachments`, params, options);
|
|
52
|
+
}
|
|
53
|
+
async links(skuId, params, options) {
|
|
54
|
+
const _skuId = skuId.id || skuId;
|
|
55
|
+
return this.resources.fetch({ type: "links" }, `skus/${_skuId}/links`, params, options);
|
|
56
|
+
}
|
|
57
|
+
async events(skuId, params, options) {
|
|
58
|
+
const _skuId = skuId.id || skuId;
|
|
59
|
+
return this.resources.fetch({ type: "events" }, `skus/${_skuId}/events`, params, options);
|
|
60
|
+
}
|
|
61
|
+
async tags(skuId, params, options) {
|
|
62
|
+
const _skuId = skuId.id || skuId;
|
|
63
|
+
return this.resources.fetch({ type: "tags" }, `skus/${_skuId}/tags`, params, options);
|
|
64
|
+
}
|
|
65
|
+
async versions(skuId, params, options) {
|
|
66
|
+
const _skuId = skuId.id || skuId;
|
|
67
|
+
return this.resources.fetch({ type: "versions" }, `skus/${_skuId}/versions`, params, options);
|
|
68
|
+
}
|
|
69
|
+
async jwt_customer(skuId, params, options) {
|
|
70
|
+
const _skuId = skuId.id || skuId;
|
|
71
|
+
return this.resources.fetch({ type: "customers" }, `skus/${_skuId}/jwt_customer`, params, options);
|
|
72
|
+
}
|
|
73
|
+
async jwt_markets(skuId, params, options) {
|
|
74
|
+
const _skuId = skuId.id || skuId;
|
|
75
|
+
return this.resources.fetch({ type: "markets" }, `skus/${_skuId}/jwt_markets`, params, options);
|
|
76
|
+
}
|
|
77
|
+
async jwt_stock_locations(skuId, params, options) {
|
|
78
|
+
const _skuId = skuId.id || skuId;
|
|
79
|
+
return this.resources.fetch({ type: "stock_locations" }, `skus/${_skuId}/jwt_stock_locations`, params, options);
|
|
80
|
+
}
|
|
81
|
+
async event_stores(skuId, params, options) {
|
|
82
|
+
const _skuId = skuId.id || skuId;
|
|
83
|
+
return this.resources.fetch({ type: "event_stores" }, `skus/${_skuId}/event_stores`, params, options);
|
|
84
|
+
}
|
|
85
|
+
async _add_tags(id, triggerValue, params, options) {
|
|
86
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Skus.TYPE, _add_tags: triggerValue }, params, options);
|
|
87
|
+
}
|
|
88
|
+
async _remove_tags(id, triggerValue, params, options) {
|
|
89
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Skus.TYPE, _remove_tags: triggerValue }, params, options);
|
|
90
|
+
}
|
|
91
|
+
isSku(resource) {
|
|
92
|
+
return resource.type && resource.type === _Skus.TYPE;
|
|
93
|
+
}
|
|
94
|
+
relationship(id) {
|
|
95
|
+
return super.relationshipOneToOne(id);
|
|
96
|
+
}
|
|
97
|
+
relationshipToMany(...ids) {
|
|
98
|
+
return super.relationshipOneToMany(...ids);
|
|
99
|
+
}
|
|
100
|
+
type() {
|
|
101
|
+
return _Skus.TYPE;
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
var instance = new Skus();
|
|
105
|
+
var skus_default = instance;
|
|
106
|
+
|
|
107
|
+
exports.skus_default = skus_default;
|
|
108
|
+
//# sourceMappingURL=chunk-EY3D7ONH.cjs.map
|
|
109
|
+
//# sourceMappingURL=chunk-EY3D7ONH.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/skus.ts"],"names":["ApiResource"],"mappings":";;;;;AA8OA,IAAM,IAAA,GAAN,MAAM,KAAA,SAAaA,6BAAA,CAAiB;AAAA,EAEnC,OAAgB,IAAA,GAAgB,MAAA;AAAA,EAEhC,MAAM,MAAA,CAAO,QAAA,EAAqB,MAAA,EAAmC,OAAA,EAAyC;AAC7G,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAuB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,KAAA,CAAK,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/F;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAqB,MA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Q,OAAO,CAAA;AAAA,EACvJ;AAAA,EAGA,MAAM,QAAA,EAAgC;AACrC,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,KAAA,CAAK,IAAA;AAAA,EACjD;AAAA,EAGA,aAAa,EAAA,EAAwC;AACpD,IAAA,OAAO,KAAA,CAAM,qBAA6B,EAAE,CAAA;AAAA,EAC7C;AAAA,EAEA,sBAAsB,GAAA,EAAyB;AAC9C,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA8B,GAAG,GAAG,CAAA;AAAA,EAClD;AAAA,EAGA,IAAA,GAAgB;AACf,IAAA,OAAO,KAAA,CAAK,IAAA;AAAA,EACb;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,IAAA,EAAK;AAC1B,IAAO,YAAA,GAAQ","file":"chunk-EY3D7ONH.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { Customer } from './customers'\nimport type { DeliveryLeadTime } from './delivery_lead_times'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Link } from './links'\nimport type { Market } from './markets'\nimport type { Price } from './prices'\nimport type { ShippingCategory, ShippingCategoryType } from './shipping_categories'\nimport type { SkuListItem } from './sku_list_items'\nimport type { SkuList } from './sku_lists'\nimport type { SkuOption } from './sku_options'\nimport type { StockItem } from './stock_items'\nimport type { StockLocation } from './stock_locations'\nimport type { StockReservation } from './stock_reservations'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\n\n\ntype SkuType = 'skus'\ntype SkuRel = ResourceRel & { type: SkuType }\ntype ShippingCategoryRel = ResourceRel & { type: ShippingCategoryType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type SkuSort = Pick<Sku, 'id' | 'code' | 'name' | 'do_not_ship' | 'do_not_track'> & ResourceSort\n// export type SkuFilter = Pick<Sku, 'id' | 'code' | 'name' | 'description' | 'image_url' | 'do_not_ship' | 'do_not_track'> & ResourceFilter\n\n\ninterface Sku extends Resource {\n\t\n\treadonly type: SkuType\n\n\t/** \n\t * The SKU code, that uniquely identifies the SKU within the organization.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tcode: string\n\t/** \n\t * The internal name of the SKU.\n\t * @example ```\"Men's Black T-shirt with White Logo (XL)\"```\n\t */\n\tname: string\n\t/** \n\t * An internal description of the SKU.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The URL of an image that represents the SKU.\n\t * @example ```\"https://img.yourdomain.com/skus/xYZkjABcde.png\"```\n\t */\n\timage_url?: string | null\n\t/** \n\t * The number of pieces that compose the SKU. This is useful to describe sets and bundles.\n\t * @example ```6```\n\t */\n\tpieces_per_pack?: number | null\n\t/** \n\t * The weight of the SKU. If present, it will be used to calculate the shipping rates.\n\t * @example ```300```\n\t */\n\tweight?: number | null\n\t/** \n\t * The unit of weight. One of 'gr', 'oz', or 'lb'.\n\t * @example ```\"gr\"```\n\t */\n\tunit_of_weight?: 'gr' | 'oz' | 'lb' | null\n\t/** \n\t * The Harmonized System Code used by customs to identify the products shipped across international borders.\n\t * @example ```\"4901.91.0020\"```\n\t */\n\ths_tariff_number?: string | null\n\t/** \n\t * Indicates if the SKU doesn't generate shipments.\n\t */\n\tdo_not_ship?: boolean | null\n\t/** \n\t * Indicates if the SKU doesn't track the stock inventory.\n\t */\n\tdo_not_track?: boolean | null\n\t/** \n\t * Aggregated information about the SKU's inventory. Returned only when retrieving a single SKU.\n\t * @example ```{\"available\":true,\"quantity\":10,\"levels\":[{\"quantity\":4,\"delivery_lead_times\":[{\"shipping_method\":{\"name\":\"Standard Shipping\",\"reference\":null,\"price_amount_cents\":700,\"free_over_amount_cents\":9900,\"formatted_price_amount\":\"€7,00\",\"formatted_free_over_amount\":\"€99,00\"},\"min\":{\"hours\":72,\"days\":3},\"max\":{\"hours\":120,\"days\":5}},{\"shipping_method\":{\"name\":\"Express Delivery\",\"reference\":null,\"price_amount_cents\":1200,\"free_over_amount_cents\":null,\"formatted_price_amount\":\"€12,00\",\"formatted_free_over_amount\":null},\"min\":{\"hours\":48,\"days\":2},\"max\":{\"hours\":72,\"days\":3}}]},{\"quantity\":6,\"delivery_lead_times\":[{\"shipping_method\":{\"name\":\"Standard Shipping\",\"reference\":null,\"price_amount_cents\":700,\"free_over_amount_cents\":9900,\"formatted_price_amount\":\"€7,00\",\"formatted_free_over_amount\":\"€99,00\"},\"min\":{\"hours\":96,\"days\":4},\"max\":{\"hours\":144,\"days\":6}},{\"shipping_method\":{\"name\":\"Express Delivery\",\"reference\":null,\"price_amount_cents\":1200,\"free_over_amount_cents\":null,\"formatted_price_amount\":\"€12,00\",\"formatted_free_over_amount\":null},\"min\":{\"hours\":72,\"days\":3},\"max\":{\"hours\":96,\"days\":4}}]}]}```\n\t */\n\tinventory?: Record<string, any> | null\n\t/** \n\t * The custom_claim attached to the current JWT (if any).\n\t * @example ```{}```\n\t */\n\tjwt_custom_claim?: Record<string, any> | null\n\n\tshipping_category?: ShippingCategory | null\n\tprices?: Price[] | null\n\tstock_items?: StockItem[] | null\n\tstock_reservations?: StockReservation[] | null\n\tdelivery_lead_times?: DeliveryLeadTime[] | null\n\tsku_options?: SkuOption[] | null\n\tsku_list_items?: SkuListItem[] | null\n\tsku_lists?: SkuList[] | null\n\tattachments?: Attachment[] | null\n\tlinks?: Link[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\tjwt_customer?: Customer | null\n\tjwt_markets?: Market[] | null\n\tjwt_stock_locations?: StockLocation[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface SkuCreate extends ResourceCreate {\n\t\n\t/** \n\t * The SKU code, that uniquely identifies the SKU within the organization.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tcode: string\n\t/** \n\t * The internal name of the SKU.\n\t * @example ```\"Men's Black T-shirt with White Logo (XL)\"```\n\t */\n\tname: string\n\t/** \n\t * An internal description of the SKU.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The URL of an image that represents the SKU.\n\t * @example ```\"https://img.yourdomain.com/skus/xYZkjABcde.png\"```\n\t */\n\timage_url?: string | null\n\t/** \n\t * The number of pieces that compose the SKU. This is useful to describe sets and bundles.\n\t * @example ```6```\n\t */\n\tpieces_per_pack?: number | null\n\t/** \n\t * The weight of the SKU. If present, it will be used to calculate the shipping rates.\n\t * @example ```300```\n\t */\n\tweight?: number | null\n\t/** \n\t * The unit of weight. One of 'gr', 'oz', or 'lb'.\n\t * @example ```\"gr\"```\n\t */\n\tunit_of_weight?: 'gr' | 'oz' | 'lb' | null\n\t/** \n\t * The Harmonized System Code used by customs to identify the products shipped across international borders.\n\t * @example ```\"4901.91.0020\"```\n\t */\n\ths_tariff_number?: string | null\n\t/** \n\t * Indicates if the SKU doesn't generate shipments.\n\t */\n\tdo_not_ship?: boolean | null\n\t/** \n\t * Indicates if the SKU doesn't track the stock inventory.\n\t */\n\tdo_not_track?: boolean | null\n\n\tshipping_category: ShippingCategoryRel\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface SkuUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The SKU code, that uniquely identifies the SKU within the organization.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The internal name of the SKU.\n\t * @example ```\"Men's Black T-shirt with White Logo (XL)\"```\n\t */\n\tname?: string | null\n\t/** \n\t * An internal description of the SKU.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The URL of an image that represents the SKU.\n\t * @example ```\"https://img.yourdomain.com/skus/xYZkjABcde.png\"```\n\t */\n\timage_url?: string | null\n\t/** \n\t * The number of pieces that compose the SKU. This is useful to describe sets and bundles.\n\t * @example ```6```\n\t */\n\tpieces_per_pack?: number | null\n\t/** \n\t * The weight of the SKU. If present, it will be used to calculate the shipping rates.\n\t * @example ```300```\n\t */\n\tweight?: number | null\n\t/** \n\t * The unit of weight. One of 'gr', 'oz', or 'lb'.\n\t * @example ```\"gr\"```\n\t */\n\tunit_of_weight?: 'gr' | 'oz' | 'lb' | null\n\t/** \n\t * The Harmonized System Code used by customs to identify the products shipped across international borders.\n\t * @example ```\"4901.91.0020\"```\n\t */\n\ths_tariff_number?: string | null\n\t/** \n\t * Indicates if the SKU doesn't generate shipments.\n\t */\n\tdo_not_ship?: boolean | null\n\t/** \n\t * Indicates if the SKU doesn't track the stock inventory.\n\t */\n\tdo_not_track?: boolean | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\n\tshipping_category?: ShippingCategoryRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass Skus extends ApiResource<Sku> {\n\n\tstatic readonly TYPE: SkuType = 'skus' as const\n\n\tasync create(resource: SkuCreate, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku> {\n\t\treturn this.resources.create<SkuCreate, Sku>({ ...resource, type: Skus.TYPE }, params, options)\n\t}\n\n\tasync update(resource: SkuUpdate, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku> {\n\t\treturn this.resources.update<SkuUpdate, Sku>({ ...resource, type: Skus.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: Skus.TYPE } : id, options)\n\t}\n\n\tasync shipping_category(skuId: string | Sku, params?: QueryParamsRetrieve<ShippingCategory>, options?: ResourcesConfig): Promise<ShippingCategory> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<ShippingCategory>({ type: 'shipping_categories' }, `skus/${_skuId}/shipping_category`, params, options) as unknown as ShippingCategory\n\t}\n\n\tasync prices(skuId: string | Sku, params?: QueryParamsList<Price>, options?: ResourcesConfig): Promise<ListResponse<Price>> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<Price>({ type: 'prices' }, `skus/${_skuId}/prices`, params, options) as unknown as ListResponse<Price>\n\t}\n\n\tasync stock_items(skuId: string | Sku, params?: QueryParamsList<StockItem>, options?: ResourcesConfig): Promise<ListResponse<StockItem>> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<StockItem>({ type: 'stock_items' }, `skus/${_skuId}/stock_items`, params, options) as unknown as ListResponse<StockItem>\n\t}\n\n\tasync stock_reservations(skuId: string | Sku, params?: QueryParamsList<StockReservation>, options?: ResourcesConfig): Promise<ListResponse<StockReservation>> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<StockReservation>({ type: 'stock_reservations' }, `skus/${_skuId}/stock_reservations`, params, options) as unknown as ListResponse<StockReservation>\n\t}\n\n\tasync delivery_lead_times(skuId: string | Sku, params?: QueryParamsList<DeliveryLeadTime>, options?: ResourcesConfig): Promise<ListResponse<DeliveryLeadTime>> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<DeliveryLeadTime>({ type: 'delivery_lead_times' }, `skus/${_skuId}/delivery_lead_times`, params, options) as unknown as ListResponse<DeliveryLeadTime>\n\t}\n\n\tasync sku_options(skuId: string | Sku, params?: QueryParamsList<SkuOption>, options?: ResourcesConfig): Promise<ListResponse<SkuOption>> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<SkuOption>({ type: 'sku_options' }, `skus/${_skuId}/sku_options`, params, options) as unknown as ListResponse<SkuOption>\n\t}\n\n\tasync sku_list_items(skuId: string | Sku, params?: QueryParamsList<SkuListItem>, options?: ResourcesConfig): Promise<ListResponse<SkuListItem>> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<SkuListItem>({ type: 'sku_list_items' }, `skus/${_skuId}/sku_list_items`, params, options) as unknown as ListResponse<SkuListItem>\n\t}\n\n\tasync sku_lists(skuId: string | Sku, params?: QueryParamsList<SkuList>, options?: ResourcesConfig): Promise<ListResponse<SkuList>> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `skus/${_skuId}/sku_lists`, params, options) as unknown as ListResponse<SkuList>\n\t}\n\n\tasync attachments(skuId: string | Sku, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `skus/${_skuId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync links(skuId: string | Sku, params?: QueryParamsList<Link>, options?: ResourcesConfig): Promise<ListResponse<Link>> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<Link>({ type: 'links' }, `skus/${_skuId}/links`, params, options) as unknown as ListResponse<Link>\n\t}\n\n\tasync events(skuId: string | Sku, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `skus/${_skuId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(skuId: string | Sku, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `skus/${_skuId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(skuId: string | Sku, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `skus/${_skuId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync jwt_customer(skuId: string | Sku, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<Customer>({ type: 'customers' }, `skus/${_skuId}/jwt_customer`, params, options) as unknown as Customer\n\t}\n\n\tasync jwt_markets(skuId: string | Sku, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `skus/${_skuId}/jwt_markets`, params, options) as unknown as ListResponse<Market>\n\t}\n\n\tasync jwt_stock_locations(skuId: string | Sku, params?: QueryParamsList<StockLocation>, options?: ResourcesConfig): Promise<ListResponse<StockLocation>> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<StockLocation>({ type: 'stock_locations' }, `skus/${_skuId}/jwt_stock_locations`, params, options) as unknown as ListResponse<StockLocation>\n\t}\n\n\tasync event_stores(skuId: string | Sku, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _skuId = (skuId as Sku).id || skuId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `skus/${_skuId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _add_tags(id: string | Sku, triggerValue: string, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku> {\n\t\treturn this.resources.update<SkuUpdate, Sku>({ id: (typeof id === 'string')? id: id.id, type: Skus.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | Sku, triggerValue: string, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku> {\n\t\treturn this.resources.update<SkuUpdate, Sku>({ id: (typeof id === 'string')? id: id.id, type: Skus.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisSku(resource: any): resource is Sku {\n\t\treturn resource.type && (resource.type === Skus.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): SkuRel {\n\t\treturn super.relationshipOneToOne<SkuRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): SkuRel[] {\n\t\treturn super.relationshipOneToMany<SkuRel>(...ids)\n\t}\n\n\n\ttype(): SkuType {\n\t\treturn Skus.TYPE\n\t}\n\n}\n\n\nconst instance = new Skus()\nexport default instance\n\nexport type { Sku, SkuCreate, Skus, SkuType, SkuUpdate }\n"]}
|