@commercelayer/sdk 7.9.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 +3 -3
- package/lib/commercelayer.d.ts +3 -3
- 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 +5 -7
- package/lib/api-De5rrh4U.d.ts +0 -18274
- package/lib/api-liUyfIBi.d.cts +0 -18274
- package/lib/chunk-25RVFWMY.js +0 -79
- package/lib/chunk-25RVFWMY.js.map +0 -1
- package/lib/chunk-26UNKCW2.cjs +0 -43
- package/lib/chunk-26UNKCW2.cjs.map +0 -1
- package/lib/chunk-2AZJPZSC.js +0 -49
- package/lib/chunk-2AZJPZSC.js.map +0 -1
- package/lib/chunk-2SF6U6ZF.cjs +0 -57
- package/lib/chunk-2SF6U6ZF.cjs.map +0 -1
- package/lib/chunk-2WISC4YW.cjs +0 -55
- package/lib/chunk-2WISC4YW.cjs.map +0 -1
- package/lib/chunk-2WS7JVDG.js +0 -55
- package/lib/chunk-2WS7JVDG.js.map +0 -1
- package/lib/chunk-347KAZ42.js +0 -53
- package/lib/chunk-347KAZ42.js.map +0 -1
- package/lib/chunk-3NISNU35.js +0 -49
- package/lib/chunk-3NISNU35.js.map +0 -1
- package/lib/chunk-43AFUEFY.js +0 -51
- package/lib/chunk-43AFUEFY.js.map +0 -1
- package/lib/chunk-43CCSOEY.js +0 -49
- package/lib/chunk-43CCSOEY.js.map +0 -1
- package/lib/chunk-4BRNBLZM.cjs +0 -101
- package/lib/chunk-4BRNBLZM.cjs.map +0 -1
- package/lib/chunk-4ER3MH3U.js +0 -57
- package/lib/chunk-4ER3MH3U.js.map +0 -1
- package/lib/chunk-4HJGGH4C.js +0 -45
- package/lib/chunk-4HJGGH4C.js.map +0 -1
- package/lib/chunk-4IG2CQLA.cjs +0 -51
- package/lib/chunk-4IG2CQLA.cjs.map +0 -1
- package/lib/chunk-4LH4UO6H.cjs +0 -26
- package/lib/chunk-4LH4UO6H.cjs.map +0 -1
- package/lib/chunk-4N3ZP7UR.cjs +0 -93
- package/lib/chunk-4N3ZP7UR.cjs.map +0 -1
- package/lib/chunk-4QU77DR7.js +0 -61
- package/lib/chunk-4QU77DR7.js.map +0 -1
- package/lib/chunk-4T7LFQNQ.js +0 -37
- package/lib/chunk-4T7LFQNQ.js.map +0 -1
- package/lib/chunk-4XYVIQWY.cjs +0 -66
- package/lib/chunk-4XYVIQWY.cjs.map +0 -1
- package/lib/chunk-53XTKVWE.cjs +0 -42
- package/lib/chunk-53XTKVWE.cjs.map +0 -1
- package/lib/chunk-55MFEQNL.cjs +0 -60
- package/lib/chunk-55MFEQNL.cjs.map +0 -1
- package/lib/chunk-5BHW7DCP.js +0 -49
- package/lib/chunk-5BHW7DCP.js.map +0 -1
- package/lib/chunk-5CZFBCUV.js +0 -65
- package/lib/chunk-5CZFBCUV.js.map +0 -1
- package/lib/chunk-5G4M6SQO.cjs +0 -72
- package/lib/chunk-5G4M6SQO.cjs.map +0 -1
- package/lib/chunk-5IOQUAT7.cjs +0 -93
- package/lib/chunk-5IOQUAT7.cjs.map +0 -1
- package/lib/chunk-5LZ77OV2.js +0 -70
- package/lib/chunk-5LZ77OV2.js.map +0 -1
- package/lib/chunk-5MBP4EZK.cjs +0 -46
- package/lib/chunk-5MBP4EZK.cjs.map +0 -1
- package/lib/chunk-5Q5LUTZK.cjs +0 -51
- package/lib/chunk-5Q5LUTZK.cjs.map +0 -1
- package/lib/chunk-5Y7DXW65.js +0 -56
- package/lib/chunk-5Y7DXW65.js.map +0 -1
- package/lib/chunk-62SDMBAD.cjs +0 -51
- package/lib/chunk-62SDMBAD.cjs.map +0 -1
- package/lib/chunk-6CX56B4Y.cjs +0 -61
- package/lib/chunk-6CX56B4Y.cjs.map +0 -1
- package/lib/chunk-6HNUVC6N.cjs +0 -284
- package/lib/chunk-6HNUVC6N.cjs.map +0 -1
- package/lib/chunk-6NGXNO3X.js +0 -37
- package/lib/chunk-6NGXNO3X.js.map +0 -1
- package/lib/chunk-7BQ2BHMX.cjs +0 -47
- package/lib/chunk-7BQ2BHMX.cjs.map +0 -1
- package/lib/chunk-7DEKIOOB.cjs +0 -46
- package/lib/chunk-7DEKIOOB.cjs.map +0 -1
- package/lib/chunk-7NNO2ORO.cjs +0 -55
- package/lib/chunk-7NNO2ORO.cjs.map +0 -1
- package/lib/chunk-7YP73PDC.js +0 -63
- package/lib/chunk-7YP73PDC.js.map +0 -1
- package/lib/chunk-ABN3OYHQ.js +0 -97
- package/lib/chunk-ABN3OYHQ.js.map +0 -1
- package/lib/chunk-AENTQHYE.cjs +0 -46
- package/lib/chunk-AENTQHYE.cjs.map +0 -1
- package/lib/chunk-AJUQ4FNP.js +0 -52
- package/lib/chunk-AJUQ4FNP.js.map +0 -1
- package/lib/chunk-AKMBPQY2.cjs +0 -58
- package/lib/chunk-AKMBPQY2.cjs.map +0 -1
- package/lib/chunk-ALPYP5OT.cjs +0 -30
- package/lib/chunk-ALPYP5OT.cjs.map +0 -1
- package/lib/chunk-AM2FEPUL.cjs +0 -50
- package/lib/chunk-AM2FEPUL.cjs.map +0 -1
- package/lib/chunk-ANPXZWVM.js +0 -49
- package/lib/chunk-ANPXZWVM.js.map +0 -1
- package/lib/chunk-AUSNBXCL.cjs +0 -49
- package/lib/chunk-AUSNBXCL.cjs.map +0 -1
- package/lib/chunk-AV6SGNKK.cjs +0 -42
- package/lib/chunk-AV6SGNKK.cjs.map +0 -1
- package/lib/chunk-AWRACGDJ.cjs +0 -71
- package/lib/chunk-AWRACGDJ.cjs.map +0 -1
- package/lib/chunk-AZLYCDF5.js +0 -44
- package/lib/chunk-AZLYCDF5.js.map +0 -1
- package/lib/chunk-B2E4FZVO.js +0 -45
- package/lib/chunk-B2E4FZVO.js.map +0 -1
- package/lib/chunk-B5VVUNGE.js +0 -31
- package/lib/chunk-B5VVUNGE.js.map +0 -1
- package/lib/chunk-B6GMZDRK.cjs +0 -29
- package/lib/chunk-B6GMZDRK.cjs.map +0 -1
- package/lib/chunk-BB6SHFHB.js +0 -102
- package/lib/chunk-BB6SHFHB.js.map +0 -1
- package/lib/chunk-BE5P5XCK.js +0 -32
- package/lib/chunk-BE5P5XCK.js.map +0 -1
- package/lib/chunk-BGGBYXBZ.js +0 -49
- package/lib/chunk-BGGBYXBZ.js.map +0 -1
- package/lib/chunk-BJKF4OUB.cjs +0 -44
- package/lib/chunk-BJKF4OUB.cjs.map +0 -1
- package/lib/chunk-BNDDTSSW.cjs +0 -43
- package/lib/chunk-BNDDTSSW.cjs.map +0 -1
- package/lib/chunk-BNPSNEN3.cjs +0 -51
- package/lib/chunk-BNPSNEN3.cjs.map +0 -1
- package/lib/chunk-BRVIXQUF.cjs +0 -74
- package/lib/chunk-BRVIXQUF.cjs.map +0 -1
- package/lib/chunk-BS4FXDCH.cjs +0 -73
- package/lib/chunk-BS4FXDCH.cjs.map +0 -1
- package/lib/chunk-C3DA2EF3.cjs +0 -81
- package/lib/chunk-C3DA2EF3.cjs.map +0 -1
- package/lib/chunk-C4SGH2HK.js +0 -49
- package/lib/chunk-C4SGH2HK.js.map +0 -1
- package/lib/chunk-CB6DFMTL.js +0 -63
- package/lib/chunk-CB6DFMTL.js.map +0 -1
- package/lib/chunk-CGZGFRKS.cjs +0 -51
- package/lib/chunk-CGZGFRKS.cjs.map +0 -1
- package/lib/chunk-CHYP5F26.js +0 -59
- package/lib/chunk-CHYP5F26.js.map +0 -1
- package/lib/chunk-CNGOVMXY.js +0 -55
- package/lib/chunk-CNGOVMXY.js.map +0 -1
- package/lib/chunk-CNNOQ5HF.cjs +0 -109
- package/lib/chunk-CNNOQ5HF.cjs.map +0 -1
- package/lib/chunk-CPDLSTWZ.cjs +0 -57
- package/lib/chunk-CPDLSTWZ.cjs.map +0 -1
- package/lib/chunk-CTXMTGOO.cjs +0 -286
- package/lib/chunk-CTXMTGOO.cjs.map +0 -1
- package/lib/chunk-CWUK7KN6.js +0 -103
- package/lib/chunk-CWUK7KN6.js.map +0 -1
- package/lib/chunk-CZT7G2OI.cjs +0 -51
- package/lib/chunk-CZT7G2OI.cjs.map +0 -1
- package/lib/chunk-D4NPGQPN.js +0 -52
- package/lib/chunk-D4NPGQPN.js.map +0 -1
- package/lib/chunk-D5M4KMXV.cjs +0 -39
- package/lib/chunk-D5M4KMXV.cjs.map +0 -1
- package/lib/chunk-DG6LHIUL.js +0 -55
- package/lib/chunk-DG6LHIUL.js.map +0 -1
- package/lib/chunk-DM7LTWZG.js +0 -284
- package/lib/chunk-DM7LTWZG.js.map +0 -1
- package/lib/chunk-DNYWBKSS.js +0 -91
- package/lib/chunk-DNYWBKSS.js.map +0 -1
- package/lib/chunk-DOSXO3V6.js +0 -48
- package/lib/chunk-DOSXO3V6.js.map +0 -1
- package/lib/chunk-DPRM2ORJ.cjs +0 -51
- package/lib/chunk-DPRM2ORJ.cjs.map +0 -1
- package/lib/chunk-DVT4Y2M6.js +0 -100
- package/lib/chunk-DVT4Y2M6.js.map +0 -1
- package/lib/chunk-E2U2M6KS.js +0 -55
- package/lib/chunk-E2U2M6KS.js.map +0 -1
- package/lib/chunk-E67TQED7.cjs +0 -160
- package/lib/chunk-E67TQED7.cjs.map +0 -1
- package/lib/chunk-EBBK53QC.cjs +0 -99
- package/lib/chunk-EBBK53QC.cjs.map +0 -1
- package/lib/chunk-EBK7TKRK.js +0 -53
- package/lib/chunk-EBK7TKRK.js.map +0 -1
- package/lib/chunk-EBSEOP6J.cjs +0 -99
- package/lib/chunk-EBSEOP6J.cjs.map +0 -1
- package/lib/chunk-EDLG2RJT.js +0 -97
- package/lib/chunk-EDLG2RJT.js.map +0 -1
- package/lib/chunk-EY5PW7EC.cjs +0 -51
- package/lib/chunk-EY5PW7EC.cjs.map +0 -1
- package/lib/chunk-FBV64B3C.cjs +0 -51
- package/lib/chunk-FBV64B3C.cjs.map +0 -1
- package/lib/chunk-FDCO3SUQ.cjs +0 -54
- package/lib/chunk-FDCO3SUQ.cjs.map +0 -1
- package/lib/chunk-FKTDH3AH.js +0 -49
- package/lib/chunk-FKTDH3AH.js.map +0 -1
- package/lib/chunk-FLIVXKHE.cjs +0 -60
- package/lib/chunk-FLIVXKHE.cjs.map +0 -1
- package/lib/chunk-FM2MJ3TW.cjs +0 -55
- package/lib/chunk-FM2MJ3TW.cjs.map +0 -1
- package/lib/chunk-FTKGOIBT.js +0 -24
- package/lib/chunk-FTKGOIBT.js.map +0 -1
- package/lib/chunk-G223DQJB.js +0 -40
- package/lib/chunk-G223DQJB.js.map +0 -1
- package/lib/chunk-G4SWDKCC.js +0 -48
- package/lib/chunk-G4SWDKCC.js.map +0 -1
- package/lib/chunk-GC22BILM.js +0 -40
- package/lib/chunk-GC22BILM.js.map +0 -1
- package/lib/chunk-GFGS5ATM.js +0 -49
- package/lib/chunk-GFGS5ATM.js.map +0 -1
- package/lib/chunk-GFUPNDJA.cjs +0 -51
- package/lib/chunk-GFUPNDJA.cjs.map +0 -1
- package/lib/chunk-GYG2Y47X.cjs +0 -39
- package/lib/chunk-GYG2Y47X.cjs.map +0 -1
- package/lib/chunk-HD4TP4G4.js +0 -49
- package/lib/chunk-HD4TP4G4.js.map +0 -1
- package/lib/chunk-HJ7SOUVI.cjs +0 -47
- package/lib/chunk-HJ7SOUVI.cjs.map +0 -1
- package/lib/chunk-HMCT4ADQ.js +0 -32
- package/lib/chunk-HMCT4ADQ.js.map +0 -1
- package/lib/chunk-HWI7SFRZ.cjs +0 -54
- package/lib/chunk-HWI7SFRZ.cjs.map +0 -1
- package/lib/chunk-I22NV2CB.js +0 -53
- package/lib/chunk-I22NV2CB.js.map +0 -1
- package/lib/chunk-I2NCXJAG.js +0 -45
- package/lib/chunk-I2NCXJAG.js.map +0 -1
- package/lib/chunk-I4MMPBYR.cjs +0 -50
- package/lib/chunk-I4MMPBYR.cjs.map +0 -1
- package/lib/chunk-I5BZQ56O.cjs +0 -65
- package/lib/chunk-I5BZQ56O.cjs.map +0 -1
- package/lib/chunk-I7YIIEYU.cjs +0 -57
- package/lib/chunk-I7YIIEYU.cjs.map +0 -1
- package/lib/chunk-IH2C2CX2.cjs +0 -55
- package/lib/chunk-IH2C2CX2.cjs.map +0 -1
- package/lib/chunk-IIWFKFIN.js +0 -55
- package/lib/chunk-IIWFKFIN.js.map +0 -1
- package/lib/chunk-IKHD5UQP.cjs +0 -163
- package/lib/chunk-IKHD5UQP.cjs.map +0 -1
- package/lib/chunk-IRC3ZINI.js +0 -57
- package/lib/chunk-IRC3ZINI.js.map +0 -1
- package/lib/chunk-IXP7WMD7.cjs +0 -59
- package/lib/chunk-IXP7WMD7.cjs.map +0 -1
- package/lib/chunk-JB2FSQHH.js +0 -44
- package/lib/chunk-JB2FSQHH.js.map +0 -1
- package/lib/chunk-JJPSHR6I.js +0 -53
- package/lib/chunk-JJPSHR6I.js.map +0 -1
- package/lib/chunk-JLJELVJ5.cjs +0 -50
- package/lib/chunk-JLJELVJ5.cjs.map +0 -1
- package/lib/chunk-JM46UGN7.js +0 -58
- package/lib/chunk-JM46UGN7.js.map +0 -1
- package/lib/chunk-JT4IKGVK.js +0 -77
- package/lib/chunk-JT4IKGVK.js.map +0 -1
- package/lib/chunk-JVF5KY2J.cjs +0 -22
- package/lib/chunk-JVF5KY2J.cjs.map +0 -1
- package/lib/chunk-JVLUNRQB.js +0 -47
- package/lib/chunk-JVLUNRQB.js.map +0 -1
- package/lib/chunk-JZGFI2RC.cjs +0 -50
- package/lib/chunk-JZGFI2RC.cjs.map +0 -1
- package/lib/chunk-JZWWGBY6.js +0 -57
- package/lib/chunk-JZWWGBY6.js.map +0 -1
- package/lib/chunk-K7M4QM3J.cjs +0 -57
- package/lib/chunk-K7M4QM3J.cjs.map +0 -1
- package/lib/chunk-KEEVBJLZ.js +0 -44
- package/lib/chunk-KEEVBJLZ.js.map +0 -1
- package/lib/chunk-KHOHQCBY.cjs +0 -55
- package/lib/chunk-KHOHQCBY.cjs.map +0 -1
- package/lib/chunk-KK3QI7GQ.cjs +0 -63
- package/lib/chunk-KK3QI7GQ.cjs.map +0 -1
- package/lib/chunk-KP3RITGW.js +0 -49
- package/lib/chunk-KP3RITGW.js.map +0 -1
- package/lib/chunk-KP4PUJ3M.js +0 -68
- package/lib/chunk-KP4PUJ3M.js.map +0 -1
- package/lib/chunk-KR3MJSPB.js +0 -40
- package/lib/chunk-KR3MJSPB.js.map +0 -1
- package/lib/chunk-KRK7JQOR.cjs +0 -70
- package/lib/chunk-KRK7JQOR.cjs.map +0 -1
- package/lib/chunk-KTV6SRND.js +0 -64
- package/lib/chunk-KTV6SRND.js.map +0 -1
- package/lib/chunk-KUIQL7Z3.cjs +0 -50
- package/lib/chunk-KUIQL7Z3.cjs.map +0 -1
- package/lib/chunk-KVKTBMYI.cjs +0 -47
- package/lib/chunk-KVKTBMYI.cjs.map +0 -1
- package/lib/chunk-KXAZNZIA.cjs +0 -57
- package/lib/chunk-KXAZNZIA.cjs.map +0 -1
- package/lib/chunk-L7SALH3P.cjs +0 -39
- package/lib/chunk-L7SALH3P.cjs.map +0 -1
- package/lib/chunk-LA6TTNJW.cjs +0 -65
- package/lib/chunk-LA6TTNJW.cjs.map +0 -1
- package/lib/chunk-LEAHF2BN.cjs +0 -42
- package/lib/chunk-LEAHF2BN.cjs.map +0 -1
- package/lib/chunk-LFO7IV6Z.cjs +0 -51
- package/lib/chunk-LFO7IV6Z.cjs.map +0 -1
- package/lib/chunk-LNZ36OC2.cjs +0 -72
- package/lib/chunk-LNZ36OC2.cjs.map +0 -1
- package/lib/chunk-LQF5GGQV.js +0 -58
- package/lib/chunk-LQF5GGQV.js.map +0 -1
- package/lib/chunk-LRJK6HYK.js +0 -65
- package/lib/chunk-LRJK6HYK.js.map +0 -1
- package/lib/chunk-LT3FAS5E.js +0 -44
- package/lib/chunk-LT3FAS5E.js.map +0 -1
- package/lib/chunk-M2GQVJ3O.cjs +0 -59
- package/lib/chunk-M2GQVJ3O.cjs.map +0 -1
- package/lib/chunk-M6O4A7EO.cjs +0 -57
- package/lib/chunk-M6O4A7EO.cjs.map +0 -1
- package/lib/chunk-MGIBWHTU.cjs +0 -56
- package/lib/chunk-MGIBWHTU.cjs.map +0 -1
- package/lib/chunk-MMEWFCUI.cjs +0 -38
- package/lib/chunk-MMEWFCUI.cjs.map +0 -1
- package/lib/chunk-MOE3TBIT.js +0 -56
- package/lib/chunk-MOE3TBIT.js.map +0 -1
- package/lib/chunk-MQ6574PR.js +0 -49
- package/lib/chunk-MQ6574PR.js.map +0 -1
- package/lib/chunk-MRRLK5JH.js +0 -97
- package/lib/chunk-MRRLK5JH.js.map +0 -1
- package/lib/chunk-MTYRO56Q.cjs +0 -55
- package/lib/chunk-MTYRO56Q.cjs.map +0 -1
- package/lib/chunk-MUB3KGTT.js +0 -57
- package/lib/chunk-MUB3KGTT.js.map +0 -1
- package/lib/chunk-MZ73LTOG.cjs +0 -34
- package/lib/chunk-MZ73LTOG.cjs.map +0 -1
- package/lib/chunk-NAYJZKLJ.js +0 -55
- package/lib/chunk-NAYJZKLJ.js.map +0 -1
- package/lib/chunk-NCBF7NIN.js +0 -52
- package/lib/chunk-NCBF7NIN.js.map +0 -1
- package/lib/chunk-NE25UNTI.cjs +0 -105
- package/lib/chunk-NE25UNTI.cjs.map +0 -1
- package/lib/chunk-NETT74HZ.js +0 -49
- package/lib/chunk-NETT74HZ.js.map +0 -1
- package/lib/chunk-NGDBR57Q.js +0 -105
- package/lib/chunk-NGDBR57Q.js.map +0 -1
- package/lib/chunk-NHZXZWYF.js +0 -97
- package/lib/chunk-NHZXZWYF.js.map +0 -1
- package/lib/chunk-NJUGRWGC.js +0 -49
- package/lib/chunk-NJUGRWGC.js.map +0 -1
- package/lib/chunk-NKFCQ7PF.js +0 -158
- package/lib/chunk-NKFCQ7PF.js.map +0 -1
- package/lib/chunk-NLAJN54P.cjs +0 -51
- package/lib/chunk-NLAJN54P.cjs.map +0 -1
- package/lib/chunk-NNQ3GHWT.js +0 -41
- package/lib/chunk-NNQ3GHWT.js.map +0 -1
- package/lib/chunk-NSRB7CCX.cjs +0 -55
- package/lib/chunk-NSRB7CCX.cjs.map +0 -1
- package/lib/chunk-O2XFJDQQ.js +0 -59
- package/lib/chunk-O2XFJDQQ.js.map +0 -1
- package/lib/chunk-O7ZO2LLT.cjs +0 -75
- package/lib/chunk-O7ZO2LLT.cjs.map +0 -1
- package/lib/chunk-OCDKWSL3.js +0 -55
- package/lib/chunk-OCDKWSL3.js.map +0 -1
- package/lib/chunk-OCKEJPIN.cjs +0 -130
- package/lib/chunk-OCKEJPIN.cjs.map +0 -1
- package/lib/chunk-ON4LVMB6.cjs +0 -55
- package/lib/chunk-ON4LVMB6.cjs.map +0 -1
- package/lib/chunk-ORPUCSNL.cjs +0 -51
- package/lib/chunk-ORPUCSNL.cjs.map +0 -1
- package/lib/chunk-OS7H2LRB.js +0 -73
- package/lib/chunk-OS7H2LRB.js.map +0 -1
- package/lib/chunk-OTSGDMN4.js +0 -53
- package/lib/chunk-OTSGDMN4.js.map +0 -1
- package/lib/chunk-OTTLXQ6N.js +0 -58
- package/lib/chunk-OTTLXQ6N.js.map +0 -1
- package/lib/chunk-OUFZMMZC.cjs +0 -42
- package/lib/chunk-OUFZMMZC.cjs.map +0 -1
- package/lib/chunk-OXER2J7X.cjs +0 -95
- package/lib/chunk-OXER2J7X.cjs.map +0 -1
- package/lib/chunk-P3NTXHBF.cjs +0 -79
- package/lib/chunk-P3NTXHBF.cjs.map +0 -1
- package/lib/chunk-P7OBA6MU.js +0 -45
- package/lib/chunk-P7OBA6MU.js.map +0 -1
- package/lib/chunk-P7RFYOYC.cjs +0 -56
- package/lib/chunk-P7RFYOYC.cjs.map +0 -1
- package/lib/chunk-PFEOZFGK.cjs +0 -46
- package/lib/chunk-PFEOZFGK.cjs.map +0 -1
- package/lib/chunk-PJIB6OJW.js +0 -55
- package/lib/chunk-PJIB6OJW.js.map +0 -1
- package/lib/chunk-PKKOITAB.cjs +0 -55
- package/lib/chunk-PKKOITAB.cjs.map +0 -1
- package/lib/chunk-PNUNFXLQ.js +0 -71
- package/lib/chunk-PNUNFXLQ.js.map +0 -1
- package/lib/chunk-PWOBDG6G.js +0 -53
- package/lib/chunk-PWOBDG6G.js.map +0 -1
- package/lib/chunk-PYT2BFNK.cjs +0 -59
- package/lib/chunk-PYT2BFNK.cjs.map +0 -1
- package/lib/chunk-Q4OHSQEH.cjs +0 -51
- package/lib/chunk-Q4OHSQEH.cjs.map +0 -1
- package/lib/chunk-QEUYYEIZ.cjs +0 -47
- package/lib/chunk-QEUYYEIZ.cjs.map +0 -1
- package/lib/chunk-QEVFMGXA.cjs +0 -43
- package/lib/chunk-QEVFMGXA.cjs.map +0 -1
- package/lib/chunk-QGUMUYGR.cjs +0 -30
- package/lib/chunk-QGUMUYGR.cjs.map +0 -1
- package/lib/chunk-QO42ZXKZ.cjs +0 -61
- package/lib/chunk-QO42ZXKZ.cjs.map +0 -1
- package/lib/chunk-QRP4GOMI.js +0 -97
- package/lib/chunk-QRP4GOMI.js.map +0 -1
- package/lib/chunk-QWE6C2CR.cjs +0 -99
- package/lib/chunk-QWE6C2CR.cjs.map +0 -1
- package/lib/chunk-QWVY4ISX.cjs +0 -54
- package/lib/chunk-QWVY4ISX.cjs.map +0 -1
- package/lib/chunk-R2LRLUUY.js +0 -35
- package/lib/chunk-R2LRLUUY.js.map +0 -1
- package/lib/chunk-REUUG4E4.js +0 -41
- package/lib/chunk-REUUG4E4.js.map +0 -1
- package/lib/chunk-RIV4SM3A.js +0 -53
- package/lib/chunk-RIV4SM3A.js.map +0 -1
- package/lib/chunk-RKZRKRRH.js +0 -40
- package/lib/chunk-RKZRKRRH.js.map +0 -1
- package/lib/chunk-RSTGQL77.js +0 -49
- package/lib/chunk-RSTGQL77.js.map +0 -1
- package/lib/chunk-RV2TL6W4.cjs +0 -59
- package/lib/chunk-RV2TL6W4.cjs.map +0 -1
- package/lib/chunk-SEJ3SPVY.cjs +0 -54
- package/lib/chunk-SEJ3SPVY.cjs.map +0 -1
- package/lib/chunk-SLMLQVUC.cjs +0 -55
- package/lib/chunk-SLMLQVUC.cjs.map +0 -1
- package/lib/chunk-SMDAW3FC.js +0 -128
- package/lib/chunk-SMDAW3FC.js.map +0 -1
- package/lib/chunk-SOF4YIAL.cjs +0 -51
- package/lib/chunk-SOF4YIAL.cjs.map +0 -1
- package/lib/chunk-SPEV6X62.js +0 -77
- package/lib/chunk-SPEV6X62.js.map +0 -1
- package/lib/chunk-SRW7OWVS.cjs +0 -40
- package/lib/chunk-SRW7OWVS.cjs.map +0 -1
- package/lib/chunk-SSG4AQPW.js +0 -54
- package/lib/chunk-SSG4AQPW.js.map +0 -1
- package/lib/chunk-SUUA2BET.cjs +0 -51
- package/lib/chunk-SUUA2BET.cjs.map +0 -1
- package/lib/chunk-SVDUISZR.js +0 -91
- package/lib/chunk-SVDUISZR.js.map +0 -1
- package/lib/chunk-SZITDEJN.js +0 -48
- package/lib/chunk-SZITDEJN.js.map +0 -1
- package/lib/chunk-SZMISACC.js +0 -42
- package/lib/chunk-SZMISACC.js.map +0 -1
- package/lib/chunk-T5CMB6EB.cjs +0 -65
- package/lib/chunk-T5CMB6EB.cjs.map +0 -1
- package/lib/chunk-T7GBLZWD.js +0 -72
- package/lib/chunk-T7GBLZWD.js.map +0 -1
- package/lib/chunk-TF6H7WE6.js +0 -53
- package/lib/chunk-TF6H7WE6.js.map +0 -1
- package/lib/chunk-TJ266P6C.cjs +0 -57
- package/lib/chunk-TJ266P6C.cjs.map +0 -1
- package/lib/chunk-TLADU7YI.js +0 -107
- package/lib/chunk-TLADU7YI.js.map +0 -1
- package/lib/chunk-TLBOME6J.js +0 -54
- package/lib/chunk-TLBOME6J.js.map +0 -1
- package/lib/chunk-TLUTEXNW.cjs +0 -51
- package/lib/chunk-TLUTEXNW.cjs.map +0 -1
- package/lib/chunk-TP77HXHN.js +0 -276
- package/lib/chunk-TP77HXHN.js.map +0 -1
- package/lib/chunk-TQX3GKAI.js +0 -100
- package/lib/chunk-TQX3GKAI.js.map +0 -1
- package/lib/chunk-TR6VEMOR.cjs +0 -58
- package/lib/chunk-TR6VEMOR.cjs.map +0 -1
- package/lib/chunk-TU53FQ5K.cjs +0 -99
- package/lib/chunk-TU53FQ5K.cjs.map +0 -1
- package/lib/chunk-TVAO3MYB.cjs +0 -57
- package/lib/chunk-TVAO3MYB.cjs.map +0 -1
- package/lib/chunk-TWTBSTKP.js +0 -69
- package/lib/chunk-TWTBSTKP.js.map +0 -1
- package/lib/chunk-U5KIHVT6.cjs +0 -34
- package/lib/chunk-U5KIHVT6.cjs.map +0 -1
- package/lib/chunk-UCGA5F3W.cjs +0 -107
- package/lib/chunk-UCGA5F3W.cjs.map +0 -1
- package/lib/chunk-UDSPKRLG.cjs +0 -38
- package/lib/chunk-UDSPKRLG.cjs.map +0 -1
- package/lib/chunk-UDTTF434.js +0 -49
- package/lib/chunk-UDTTF434.js.map +0 -1
- package/lib/chunk-UGDBI6KQ.cjs +0 -79
- package/lib/chunk-UGDBI6KQ.cjs.map +0 -1
- package/lib/chunk-UJDAX34Q.js +0 -646
- package/lib/chunk-UJDAX34Q.js.map +0 -1
- package/lib/chunk-UNTHNPSH.cjs +0 -61
- package/lib/chunk-UNTHNPSH.cjs.map +0 -1
- package/lib/chunk-USANS3MY.js +0 -36
- package/lib/chunk-USANS3MY.js.map +0 -1
- package/lib/chunk-UUY77JM3.js +0 -151
- package/lib/chunk-UUY77JM3.js.map +0 -1
- package/lib/chunk-UVBJF6AX.js +0 -52
- package/lib/chunk-UVBJF6AX.js.map +0 -1
- package/lib/chunk-V5YSVDSD.js +0 -48
- package/lib/chunk-V5YSVDSD.js.map +0 -1
- package/lib/chunk-V72Q4W7P.cjs +0 -65
- package/lib/chunk-V72Q4W7P.cjs.map +0 -1
- package/lib/chunk-VBRPQ4WE.cjs +0 -102
- package/lib/chunk-VBRPQ4WE.cjs.map +0 -1
- package/lib/chunk-VGH353HQ.js +0 -55
- package/lib/chunk-VGH353HQ.js.map +0 -1
- package/lib/chunk-VIWBCGJA.cjs +0 -46
- package/lib/chunk-VIWBCGJA.cjs.map +0 -1
- package/lib/chunk-VK3HKIX6.js +0 -59
- package/lib/chunk-VK3HKIX6.js.map +0 -1
- package/lib/chunk-VN6WMOO2.cjs +0 -47
- package/lib/chunk-VN6WMOO2.cjs.map +0 -1
- package/lib/chunk-VPYEW7IP.js +0 -45
- package/lib/chunk-VPYEW7IP.js.map +0 -1
- package/lib/chunk-VSDU4RE2.cjs +0 -67
- package/lib/chunk-VSDU4RE2.cjs.map +0 -1
- package/lib/chunk-VXYCLFST.js +0 -36
- package/lib/chunk-VXYCLFST.js.map +0 -1
- package/lib/chunk-VZ3FFFQ5.cjs +0 -55
- package/lib/chunk-VZ3FFFQ5.cjs.map +0 -1
- package/lib/chunk-W3HTL4HW.js +0 -70
- package/lib/chunk-W3HTL4HW.js.map +0 -1
- package/lib/chunk-W3IVGGEQ.js +0 -27
- package/lib/chunk-W3IVGGEQ.js.map +0 -1
- package/lib/chunk-W672RBSL.cjs +0 -33
- package/lib/chunk-W672RBSL.cjs.map +0 -1
- package/lib/chunk-WCYC7S7Y.cjs +0 -662
- package/lib/chunk-WCYC7S7Y.cjs.map +0 -1
- package/lib/chunk-WDNXJP2D.js +0 -53
- package/lib/chunk-WDNXJP2D.js.map +0 -1
- package/lib/chunk-WL35YFF3.js +0 -53
- package/lib/chunk-WL35YFF3.js.map +0 -1
- package/lib/chunk-WMTDLESD.cjs +0 -67
- package/lib/chunk-WMTDLESD.cjs.map +0 -1
- package/lib/chunk-WNQFM672.cjs +0 -107
- package/lib/chunk-WNQFM672.cjs.map +0 -1
- package/lib/chunk-WRZHYB55.cjs +0 -55
- package/lib/chunk-WRZHYB55.cjs.map +0 -1
- package/lib/chunk-WURVPPXN.js +0 -49
- package/lib/chunk-WURVPPXN.js.map +0 -1
- package/lib/chunk-WV6FE2JO.js +0 -41
- package/lib/chunk-WV6FE2JO.js.map +0 -1
- package/lib/chunk-WXTQMBBH.js +0 -53
- package/lib/chunk-WXTQMBBH.js.map +0 -1
- package/lib/chunk-XA3WUNJQ.cjs +0 -102
- package/lib/chunk-XA3WUNJQ.cjs.map +0 -1
- package/lib/chunk-XBIMUZEP.js +0 -63
- package/lib/chunk-XBIMUZEP.js.map +0 -1
- package/lib/chunk-XD7GS4QW.js +0 -20
- package/lib/chunk-XD7GS4QW.js.map +0 -1
- package/lib/chunk-XELGYBU4.js +0 -44
- package/lib/chunk-XELGYBU4.js.map +0 -1
- package/lib/chunk-XLF3ZMFB.cjs +0 -57
- package/lib/chunk-XLF3ZMFB.cjs.map +0 -1
- package/lib/chunk-XVWQ7WG3.js +0 -28
- package/lib/chunk-XVWQ7WG3.js.map +0 -1
- package/lib/chunk-XX3FSSFB.js +0 -99
- package/lib/chunk-XX3FSSFB.js.map +0 -1
- package/lib/chunk-XXFGYM4B.js +0 -49
- package/lib/chunk-XXFGYM4B.js.map +0 -1
- package/lib/chunk-YIJKQU6D.js +0 -45
- package/lib/chunk-YIJKQU6D.js.map +0 -1
- package/lib/chunk-YIOQFXRW.js +0 -63
- package/lib/chunk-YIOQFXRW.js.map +0 -1
- package/lib/chunk-YLV6NU5J.js +0 -55
- package/lib/chunk-YLV6NU5J.js.map +0 -1
- package/lib/chunk-YMCB5AUH.js +0 -37
- package/lib/chunk-YMCB5AUH.js.map +0 -1
- package/lib/chunk-YNWFMKT6.js +0 -40
- package/lib/chunk-YNWFMKT6.js.map +0 -1
- package/lib/chunk-YO7OR7NQ.cjs +0 -51
- package/lib/chunk-YO7OR7NQ.cjs.map +0 -1
- package/lib/chunk-YQTIALSS.js +0 -48
- package/lib/chunk-YQTIALSS.js.map +0 -1
- package/lib/chunk-YR2EOIZT.js +0 -49
- package/lib/chunk-YR2EOIZT.js.map +0 -1
- package/lib/chunk-YY5ENJSH.cjs +0 -63
- package/lib/chunk-YY5ENJSH.cjs.map +0 -1
- package/lib/chunk-Z4IAVO7Y.cjs +0 -42
- package/lib/chunk-Z4IAVO7Y.cjs.map +0 -1
- package/lib/chunk-Z7BUC7QV.cjs +0 -99
- package/lib/chunk-Z7BUC7QV.cjs.map +0 -1
- package/lib/chunk-Z7JZ3PPA.js +0 -59
- package/lib/chunk-Z7JZ3PPA.js.map +0 -1
- package/lib/chunk-ZDXEI4A3.cjs +0 -47
- package/lib/chunk-ZDXEI4A3.cjs.map +0 -1
- package/lib/chunk-ZEN3UTBR.cjs +0 -51
- package/lib/chunk-ZEN3UTBR.cjs.map +0 -1
- package/lib/chunk-ZKVVGMRJ.cjs +0 -60
- package/lib/chunk-ZKVVGMRJ.cjs.map +0 -1
- package/lib/chunk-ZLUV2WVB.js +0 -28
- package/lib/chunk-ZLUV2WVB.js.map +0 -1
- package/lib/chunk-ZMUVSSYO.cjs +0 -53
- package/lib/chunk-ZMUVSSYO.cjs.map +0 -1
- package/lib/chunk-ZNM6NDSF.cjs +0 -57
- package/lib/chunk-ZNM6NDSF.cjs.map +0 -1
- package/lib/chunk-ZPZXYX5G.js +0 -93
- package/lib/chunk-ZPZXYX5G.js.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-ZZ44MS63.js +0 -53
- package/lib/chunk-ZZ44MS63.js.map +0 -1
- package/lib/interceptor-ETmS7Tab.d.cts +0 -55
- package/lib/interceptor-ETmS7Tab.d.ts +0 -55
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/shipments.ts"],"names":["ApiResource"],"mappings":";;;;;AAiSA,IAAM,SAAA,GAAN,MAAM,UAAA,SAAkBA,6BAAA,CAAsB;AAAA,EAE7C,OAAgB,IAAA,GAAqB,WA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Q,OAAO,CAAA;AAAA,EACtK;AAAA,EAGA,WAAW,QAAA,EAAqC;AAC/C,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,UAAA,CAAU,IAAA;AAAA,EACtD;AAAA,EAGA,aAAa,EAAA,EAA6C;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAkC,EAAE,CAAA;AAAA,EAClD;AAAA,EAEA,sBAAsB,GAAA,EAA8B;AACnD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAmC,GAAG,GAAG,CAAA;AAAA,EACvD;AAAA,EAGA,IAAA,GAAqB;AACpB,IAAA,OAAO,UAAA,CAAU,IAAA;AAAA,EAClB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,SAAA,EAAU;AAC/B,IAAO,iBAAA,GAAQ","file":"chunk-E67TQED7.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Order, OrderType } from './orders'\nimport type { ShippingCategory, ShippingCategoryType } from './shipping_categories'\nimport type { InventoryStockLocation, InventoryStockLocationType } from './inventory_stock_locations'\nimport type { StockLocation } from './stock_locations'\nimport type { Address, AddressType } from './addresses'\nimport type { ShippingMethod, ShippingMethodType } from './shipping_methods'\nimport type { DeliveryLeadTime } from './delivery_lead_times'\nimport type { Pickup } from './pickups'\nimport type { StockLineItem } from './stock_line_items'\nimport type { StockTransfer } from './stock_transfers'\nimport type { LineItem } from './line_items'\nimport type { CarrierAccount } from './carrier_accounts'\nimport type { Parcel } from './parcels'\nimport type { Attachment } from './attachments'\nimport type { Event } from './events'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\n\n\ntype ShipmentType = 'shipments'\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype OrderRel = ResourceRel & { type: OrderType }\ntype ShippingCategoryRel = ResourceRel & { type: ShippingCategoryType }\ntype InventoryStockLocationRel = ResourceRel & { type: InventoryStockLocationType }\ntype AddressRel = ResourceRel & { type: AddressType }\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type ShipmentSort = Pick<Shipment, 'id' | 'number' | 'status' | 'cost_amount_cents' | 'get_rates_started_at' | 'get_rates_completed_at' | 'purchase_started_at' | 'purchase_completed_at' | 'purchase_failed_at' | 'on_hold_at' | 'picking_at' | 'packing_at' | 'ready_to_ship_at' | 'shipped_at' | 'delivered_at'> & ResourceSort\n// export type ShipmentFilter = Pick<Shipment, 'id' | 'number' | 'status' | 'cost_amount_cents' | 'get_rates_started_at' | 'get_rates_completed_at' | 'purchase_started_at' | 'purchase_completed_at' | 'purchase_failed_at' | 'on_hold_at' | 'picking_at' | 'packing_at' | 'ready_to_ship_at' | 'shipped_at' | 'delivered_at'> & ResourceFilter\n\n\ninterface Shipment extends Resource {\n\t\n\treadonly type: ShipmentType\n\n\t/** \n\t * Unique identifier for the shipment. Cannot be passed by sales channels.\n\t * @example ```\"#1234/S/001\"```\n\t */\n\tnumber: string\n\t/** \n\t * The shipment status. One of 'draft' (default), 'upcoming', 'cancelled', 'on_hold', 'picking', 'packing', 'ready_to_ship', 'shipped', or 'delivered'.\n\t * @example ```\"draft\"```\n\t */\n\tstatus: 'draft' | 'upcoming' | 'cancelled' | 'on_hold' | 'picking' | 'packing' | 'ready_to_ship' | 'shipped' | 'delivered'\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard, automatically inherited from the associated order.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * The cost of this shipment from the selected carrier account, in cents.\n\t * @example ```1000```\n\t */\n\tcost_amount_cents?: number | null\n\t/** \n\t * The cost of this shipment from the selected carrier account, float.\n\t * @example ```10```\n\t */\n\tcost_amount_float?: number | null\n\t/** \n\t * The cost of this shipment from the selected carrier account, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_cost_amount?: string | null\n\t/** \n\t * The total number of SKUs in the shipment's line items. This can be useful to display a preview of the shipment content.\n\t * @example ```2```\n\t */\n\tskus_count?: number | null\n\t/** \n\t * The selected purchase rate from the available shipping rates.\n\t * @example ```\"rate_f89e4663c3ed47ee94d37763f6d21d54\"```\n\t */\n\tselected_rate_id?: string | null\n\t/** \n\t * The available shipping rates.\n\t * @example ```[{\"id\":\"rate_f89e4663c3ed47ee94d37763f6d21d54\",\"rate\":\"45.59\",\"carrier\":\"DHLExpress\",\"service\":\"MedicalExpress\"}]```\n\t */\n\trates?: Array<Record<string, any>> | null\n\t/** \n\t * The shipping rate purchase error code, if any.\n\t * @example ```\"SHIPMENT.POSTAGE.FAILURE\"```\n\t */\n\tpurchase_error_code?: string | null\n\t/** \n\t * The shipping rate purchase error message, if any.\n\t * @example ```\"Account not allowed for this service.\"```\n\t */\n\tpurchase_error_message?: string | null\n\t/** \n\t * Any errors collected when fetching shipping rates.\n\t * @example ```[{\"carrier\":\"DHLExpress\",\"message\":\"to_address.postal_code: Shorter than minimum length 3\",\"type\":\"rate_error\"}]```\n\t */\n\tget_rates_errors?: Array<Record<string, any>> | null\n\t/** \n\t * Time at which the getting of the shipping rates started.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tget_rates_started_at?: string | null\n\t/** \n\t * Time at which the getting of the shipping rates completed.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tget_rates_completed_at?: string | null\n\t/** \n\t * Time at which the purchasing of the shipping rate started.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tpurchase_started_at?: string | null\n\t/** \n\t * Time at which the purchasing of the shipping rate completed.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tpurchase_completed_at?: string | null\n\t/** \n\t * Time at which the purchasing of the shipping rate failed.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tpurchase_failed_at?: string | null\n\t/** \n\t * Time at which the shipment 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 shipment 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 shipment was packing.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tpacking_at?: string | null\n\t/** \n\t * Time at which the shipment was ready to ship.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tready_to_ship_at?: string | null\n\t/** \n\t * Time at which the shipment was shipped.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tshipped_at?: string | null\n\t/** \n\t * Time at which the shipment was delivered.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdelivered_at?: string | null\n\n\torder?: Order | null\n\tshipping_category?: ShippingCategory | null\n\tinventory_stock_location?: InventoryStockLocation | null\n\tstock_location?: StockLocation | null\n\torigin_address?: Address | null\n\tshipping_address?: Address | null\n\tshipping_method?: ShippingMethod | null\n\tdelivery_lead_time?: DeliveryLeadTime | null\n\tpickup?: Pickup | null\n\tstock_line_items?: StockLineItem[] | null\n\tstock_transfers?: StockTransfer[] | null\n\tline_items?: LineItem[] | null\n\tavailable_shipping_methods?: ShippingMethod[] | null\n\tcarrier_accounts?: CarrierAccount[] | null\n\tparcels?: Parcel[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface ShipmentCreate extends ResourceCreate {\n\t\n\torder: OrderRel\n\tshipping_category?: ShippingCategoryRel | null\n\tinventory_stock_location: InventoryStockLocationRel\n\tshipping_address?: AddressRel | null\n\tshipping_method?: ShippingMethodRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface ShipmentUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * Unique identifier for the shipment. Cannot be passed by sales channels.\n\t * @example ```\"#1234/S/001\"```\n\t */\n\tnumber?: string | null\n\t/** \n\t * Send this attribute if you want to mark this shipment as upcoming. Cannot be passed by sales channels.\n\t * @example ```true```\n\t */\n\t_upcoming?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this shipment as cancelled (unless already shipped or delivered). Cannot be passed by sales channels.\n\t * @example ```true```\n\t */\n\t_cancel?: boolean | null\n\t/** \n\t * Send this attribute if you want to put this shipment 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 shipment.\n\t * @example ```true```\n\t */\n\t_picking?: boolean | null\n\t/** \n\t * Send this attribute if you want to start packing this shipment.\n\t * @example ```true```\n\t */\n\t_packing?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this shipment as ready to ship.\n\t * @example ```true```\n\t */\n\t_ready_to_ship?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this shipment as shipped.\n\t * @example ```true```\n\t */\n\t_ship?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this shipment as delivered.\n\t * @example ```true```\n\t */\n\t_deliver?: boolean | null\n\t/** \n\t * Send this attribute if you want to automatically reserve the stock for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.\n\t * @example ```true```\n\t */\n\t_reserve_stock?: boolean | null\n\t/** \n\t * Send this attribute if you want to automatically destroy the stock reservations for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.\n\t * @example ```true```\n\t */\n\t_release_stock?: boolean | null\n\t/** \n\t * Send this attribute if you want to automatically decrement and release the stock for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.\n\t * @example ```true```\n\t */\n\t_decrement_stock?: boolean | null\n\t/** \n\t * Send this attribute if you want get the shipping rates from the associated carrier accounts.\n\t * @example ```true```\n\t */\n\t_get_rates?: boolean | null\n\t/** \n\t * The selected purchase rate from the available shipping rates.\n\t * @example ```\"rate_f89e4663c3ed47ee94d37763f6d21d54\"```\n\t */\n\tselected_rate_id?: string | null\n\t/** \n\t * Send this attribute if you want to purchase this shipment with the selected rate.\n\t * @example ```true```\n\t */\n\t_purchase?: 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\tinventory_stock_location?: InventoryStockLocationRel | null\n\tshipping_address?: AddressRel | null\n\tshipping_method?: ShippingMethodRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass Shipments extends ApiResource<Shipment> {\n\n\tstatic readonly TYPE: ShipmentType = 'shipments' as const\n\n\tasync create(resource: ShipmentCreate, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.create<ShipmentCreate, Shipment>({ ...resource, type: Shipments.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ShipmentUpdate, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ ...resource, type: Shipments.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: Shipments.TYPE } : id, options)\n\t}\n\n\tasync order(shipmentId: string | Shipment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<Order>({ type: 'orders' }, `shipments/${_shipmentId}/order`, params, options) as unknown as Order\n\t}\n\n\tasync shipping_category(shipmentId: string | Shipment, params?: QueryParamsRetrieve<ShippingCategory>, options?: ResourcesConfig): Promise<ShippingCategory> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<ShippingCategory>({ type: 'shipping_categories' }, `shipments/${_shipmentId}/shipping_category`, params, options) as unknown as ShippingCategory\n\t}\n\n\tasync inventory_stock_location(shipmentId: string | Shipment, params?: QueryParamsRetrieve<InventoryStockLocation>, options?: ResourcesConfig): Promise<InventoryStockLocation> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<InventoryStockLocation>({ type: 'inventory_stock_locations' }, `shipments/${_shipmentId}/inventory_stock_location`, params, options) as unknown as InventoryStockLocation\n\t}\n\n\tasync stock_location(shipmentId: string | Shipment, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<StockLocation>({ type: 'stock_locations' }, `shipments/${_shipmentId}/stock_location`, params, options) as unknown as StockLocation\n\t}\n\n\tasync origin_address(shipmentId: string | Shipment, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<Address>({ type: 'addresses' }, `shipments/${_shipmentId}/origin_address`, params, options) as unknown as Address\n\t}\n\n\tasync shipping_address(shipmentId: string | Shipment, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<Address>({ type: 'addresses' }, `shipments/${_shipmentId}/shipping_address`, params, options) as unknown as Address\n\t}\n\n\tasync shipping_method(shipmentId: string | Shipment, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<ShippingMethod>({ type: 'shipping_methods' }, `shipments/${_shipmentId}/shipping_method`, params, options) as unknown as ShippingMethod\n\t}\n\n\tasync delivery_lead_time(shipmentId: string | Shipment, params?: QueryParamsRetrieve<DeliveryLeadTime>, options?: ResourcesConfig): Promise<DeliveryLeadTime> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<DeliveryLeadTime>({ type: 'delivery_lead_times' }, `shipments/${_shipmentId}/delivery_lead_time`, params, options) as unknown as DeliveryLeadTime\n\t}\n\n\tasync pickup(shipmentId: string | Shipment, params?: QueryParamsRetrieve<Pickup>, options?: ResourcesConfig): Promise<Pickup> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<Pickup>({ type: 'pickups' }, `shipments/${_shipmentId}/pickup`, params, options) as unknown as Pickup\n\t}\n\n\tasync stock_line_items(shipmentId: string | Shipment, params?: QueryParamsList<StockLineItem>, options?: ResourcesConfig): Promise<ListResponse<StockLineItem>> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<StockLineItem>({ type: 'stock_line_items' }, `shipments/${_shipmentId}/stock_line_items`, params, options) as unknown as ListResponse<StockLineItem>\n\t}\n\n\tasync stock_transfers(shipmentId: string | Shipment, params?: QueryParamsList<StockTransfer>, options?: ResourcesConfig): Promise<ListResponse<StockTransfer>> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<StockTransfer>({ type: 'stock_transfers' }, `shipments/${_shipmentId}/stock_transfers`, params, options) as unknown as ListResponse<StockTransfer>\n\t}\n\n\tasync line_items(shipmentId: string | Shipment, params?: QueryParamsList<LineItem>, options?: ResourcesConfig): Promise<ListResponse<LineItem>> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<LineItem>({ type: 'line_items' }, `shipments/${_shipmentId}/line_items`, params, options) as unknown as ListResponse<LineItem>\n\t}\n\n\tasync available_shipping_methods(shipmentId: string | Shipment, params?: QueryParamsList<ShippingMethod>, options?: ResourcesConfig): Promise<ListResponse<ShippingMethod>> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<ShippingMethod>({ type: 'shipping_methods' }, `shipments/${_shipmentId}/available_shipping_methods`, params, options) as unknown as ListResponse<ShippingMethod>\n\t}\n\n\tasync carrier_accounts(shipmentId: string | Shipment, params?: QueryParamsList<CarrierAccount>, options?: ResourcesConfig): Promise<ListResponse<CarrierAccount>> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<CarrierAccount>({ type: 'carrier_accounts' }, `shipments/${_shipmentId}/carrier_accounts`, params, options) as unknown as ListResponse<CarrierAccount>\n\t}\n\n\tasync parcels(shipmentId: string | Shipment, params?: QueryParamsList<Parcel>, options?: ResourcesConfig): Promise<ListResponse<Parcel>> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<Parcel>({ type: 'parcels' }, `shipments/${_shipmentId}/parcels`, params, options) as unknown as ListResponse<Parcel>\n\t}\n\n\tasync attachments(shipmentId: string | Shipment, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `shipments/${_shipmentId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(shipmentId: string | Shipment, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `shipments/${_shipmentId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(shipmentId: string | Shipment, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `shipments/${_shipmentId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(shipmentId: string | Shipment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `shipments/${_shipmentId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(shipmentId: string | Shipment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _shipmentId = (shipmentId as Shipment).id || shipmentId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `shipments/${_shipmentId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _upcoming(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ id: (typeof id === 'string')? id: id.id, type: Shipments.TYPE, _upcoming: true }, params, options)\n\t}\n\n\tasync _cancel(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ id: (typeof id === 'string')? id: id.id, type: Shipments.TYPE, _cancel: true }, params, options)\n\t}\n\n\tasync _on_hold(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ id: (typeof id === 'string')? id: id.id, type: Shipments.TYPE, _on_hold: true }, params, options)\n\t}\n\n\tasync _picking(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ id: (typeof id === 'string')? id: id.id, type: Shipments.TYPE, _picking: true }, params, options)\n\t}\n\n\tasync _packing(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ id: (typeof id === 'string')? id: id.id, type: Shipments.TYPE, _packing: true }, params, options)\n\t}\n\n\tasync _ready_to_ship(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ id: (typeof id === 'string')? id: id.id, type: Shipments.TYPE, _ready_to_ship: true }, params, options)\n\t}\n\n\tasync _ship(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ id: (typeof id === 'string')? id: id.id, type: Shipments.TYPE, _ship: true }, params, options)\n\t}\n\n\tasync _deliver(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ id: (typeof id === 'string')? id: id.id, type: Shipments.TYPE, _deliver: true }, params, options)\n\t}\n\n\tasync _reserve_stock(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ id: (typeof id === 'string')? id: id.id, type: Shipments.TYPE, _reserve_stock: true }, params, options)\n\t}\n\n\tasync _release_stock(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ id: (typeof id === 'string')? id: id.id, type: Shipments.TYPE, _release_stock: true }, params, options)\n\t}\n\n\tasync _decrement_stock(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ id: (typeof id === 'string')? id: id.id, type: Shipments.TYPE, _decrement_stock: true }, params, options)\n\t}\n\n\tasync _get_rates(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ id: (typeof id === 'string')? id: id.id, type: Shipments.TYPE, _get_rates: true }, params, options)\n\t}\n\n\tasync _purchase(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ id: (typeof id === 'string')? id: id.id, type: Shipments.TYPE, _purchase: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | Shipment, triggerValue: string, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ id: (typeof id === 'string')? id: id.id, type: Shipments.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | Shipment, triggerValue: string, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\treturn this.resources.update<ShipmentUpdate, Shipment>({ id: (typeof id === 'string')? id: id.id, type: Shipments.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisShipment(resource: any): resource is Shipment {\n\t\treturn resource.type && (resource.type === Shipments.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ShipmentRel {\n\t\treturn super.relationshipOneToOne<ShipmentRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ShipmentRel[] {\n\t\treturn super.relationshipOneToMany<ShipmentRel>(...ids)\n\t}\n\n\n\ttype(): ShipmentType {\n\t\treturn Shipments.TYPE\n\t}\n\n}\n\n\nconst instance = new Shipments()\nexport default instance\n\nexport type { Shipments, Shipment, ShipmentCreate, ShipmentUpdate, ShipmentType }\n"]}
|
package/lib/chunk-EBBK53QC.cjs
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk6HNUVC6N_cjs = require('./chunk-6HNUVC6N.cjs');
|
|
4
|
-
|
|
5
|
-
// src/resources/percentage_discount_promotions.ts
|
|
6
|
-
var PercentageDiscountPromotions = class _PercentageDiscountPromotions extends chunk6HNUVC6N_cjs.ApiResource {
|
|
7
|
-
static TYPE = "percentage_discount_promotions";
|
|
8
|
-
async create(resource, params, options) {
|
|
9
|
-
return this.resources.create({ ...resource, type: _PercentageDiscountPromotions.TYPE }, params, options);
|
|
10
|
-
}
|
|
11
|
-
async update(resource, params, options) {
|
|
12
|
-
return this.resources.update({ ...resource, type: _PercentageDiscountPromotions.TYPE }, params, options);
|
|
13
|
-
}
|
|
14
|
-
async delete(id, options) {
|
|
15
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _PercentageDiscountPromotions.TYPE } : id, options);
|
|
16
|
-
}
|
|
17
|
-
async market(percentageDiscountPromotionId, params, options) {
|
|
18
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
19
|
-
return this.resources.fetch({ type: "markets" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/market`, params, options);
|
|
20
|
-
}
|
|
21
|
-
async order_amount_promotion_rule(percentageDiscountPromotionId, params, options) {
|
|
22
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
23
|
-
return this.resources.fetch({ type: "order_amount_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/order_amount_promotion_rule`, params, options);
|
|
24
|
-
}
|
|
25
|
-
async sku_list_promotion_rule(percentageDiscountPromotionId, params, options) {
|
|
26
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
27
|
-
return this.resources.fetch({ type: "sku_list_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/sku_list_promotion_rule`, params, options);
|
|
28
|
-
}
|
|
29
|
-
async coupon_codes_promotion_rule(percentageDiscountPromotionId, params, options) {
|
|
30
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
31
|
-
return this.resources.fetch({ type: "coupon_codes_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/coupon_codes_promotion_rule`, params, options);
|
|
32
|
-
}
|
|
33
|
-
async custom_promotion_rule(percentageDiscountPromotionId, params, options) {
|
|
34
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
35
|
-
return this.resources.fetch({ type: "custom_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/custom_promotion_rule`, params, options);
|
|
36
|
-
}
|
|
37
|
-
async sku_list(percentageDiscountPromotionId, params, options) {
|
|
38
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
39
|
-
return this.resources.fetch({ type: "sku_lists" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/sku_list`, params, options);
|
|
40
|
-
}
|
|
41
|
-
async coupons(percentageDiscountPromotionId, params, options) {
|
|
42
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
43
|
-
return this.resources.fetch({ type: "coupons" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/coupons`, params, options);
|
|
44
|
-
}
|
|
45
|
-
async attachments(percentageDiscountPromotionId, params, options) {
|
|
46
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
47
|
-
return this.resources.fetch({ type: "attachments" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/attachments`, params, options);
|
|
48
|
-
}
|
|
49
|
-
async events(percentageDiscountPromotionId, params, options) {
|
|
50
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
51
|
-
return this.resources.fetch({ type: "events" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/events`, params, options);
|
|
52
|
-
}
|
|
53
|
-
async tags(percentageDiscountPromotionId, params, options) {
|
|
54
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
55
|
-
return this.resources.fetch({ type: "tags" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/tags`, params, options);
|
|
56
|
-
}
|
|
57
|
-
async versions(percentageDiscountPromotionId, params, options) {
|
|
58
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
59
|
-
return this.resources.fetch({ type: "versions" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/versions`, params, options);
|
|
60
|
-
}
|
|
61
|
-
async event_stores(percentageDiscountPromotionId, params, options) {
|
|
62
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
63
|
-
return this.resources.fetch({ type: "event_stores" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/event_stores`, params, options);
|
|
64
|
-
}
|
|
65
|
-
async skus(percentageDiscountPromotionId, params, options) {
|
|
66
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
67
|
-
return this.resources.fetch({ type: "skus" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/skus`, params, options);
|
|
68
|
-
}
|
|
69
|
-
async _disable(id, params, options) {
|
|
70
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PercentageDiscountPromotions.TYPE, _disable: true }, params, options);
|
|
71
|
-
}
|
|
72
|
-
async _enable(id, params, options) {
|
|
73
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PercentageDiscountPromotions.TYPE, _enable: true }, params, options);
|
|
74
|
-
}
|
|
75
|
-
async _add_tags(id, triggerValue, params, options) {
|
|
76
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PercentageDiscountPromotions.TYPE, _add_tags: triggerValue }, params, options);
|
|
77
|
-
}
|
|
78
|
-
async _remove_tags(id, triggerValue, params, options) {
|
|
79
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PercentageDiscountPromotions.TYPE, _remove_tags: triggerValue }, params, options);
|
|
80
|
-
}
|
|
81
|
-
isPercentageDiscountPromotion(resource) {
|
|
82
|
-
return resource.type && resource.type === _PercentageDiscountPromotions.TYPE;
|
|
83
|
-
}
|
|
84
|
-
relationship(id) {
|
|
85
|
-
return super.relationshipOneToOne(id);
|
|
86
|
-
}
|
|
87
|
-
relationshipToMany(...ids) {
|
|
88
|
-
return super.relationshipOneToMany(...ids);
|
|
89
|
-
}
|
|
90
|
-
type() {
|
|
91
|
-
return _PercentageDiscountPromotions.TYPE;
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
var instance = new PercentageDiscountPromotions();
|
|
95
|
-
var percentage_discount_promotions_default = instance;
|
|
96
|
-
|
|
97
|
-
exports.percentage_discount_promotions_default = percentage_discount_promotions_default;
|
|
98
|
-
//# sourceMappingURL=chunk-EBBK53QC.cjs.map
|
|
99
|
-
//# sourceMappingURL=chunk-EBBK53QC.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/percentage_discount_promotions.ts"],"names":["ApiResource"],"mappings":";;;;;AA4QA,IAAM,4BAAA,GAAN,MAAM,6BAAA,SAAqCA,6BAAA,CAAyC;AAAA,EAEnF,OAAgB,IAAA,GAAwC,gCAAA;AAAA,EAExD,MAAM,MAAA,CAAO,QAAA,EAA6C,MAAA,EAA2D,OAAA,EAAiE;AACrL,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAuE,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,6BAAA,CAA6B,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACvK;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA6C,MAAA,EAA2D,OAAA,EAAiE;AACrL,IAAA,OAAO,IAAA,CAAK,SAAA,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js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Coupon } from './coupons'\nimport type { Attachment } from './attachments'\nimport type { Event } from './events'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { Sku } from './skus'\nimport type { PromotionRule } from './promotion_rules'\n\n\ntype PercentageDiscountPromotionType = 'percentage_discount_promotions'\ntype PercentageDiscountPromotionRel = ResourceRel & { type: PercentageDiscountPromotionType }\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 PercentageDiscountPromotionSort = Pick<PercentageDiscountPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort\n// export type PercentageDiscountPromotionFilter = Pick<PercentageDiscountPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceFilter\n\n\ninterface PercentageDiscountPromotion extends Resource {\n\t\n\treadonly type: PercentageDiscountPromotionType\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 discount percentage to be applied.\n\t * @example ```10```\n\t */\n\tpercentage: number\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 PercentageDiscountPromotionCreate 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 discount percentage to be applied.\n\t * @example ```10```\n\t */\n\tpercentage: number\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface PercentageDiscountPromotionUpdate 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 discount percentage to be applied.\n\t * @example ```10```\n\t */\n\tpercentage?: number | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass PercentageDiscountPromotions extends ApiResource<PercentageDiscountPromotion> {\n\n\tstatic readonly TYPE: PercentageDiscountPromotionType = 'percentage_discount_promotions' as const\n\n\tasync create(resource: PercentageDiscountPromotionCreate, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion> {\n\t\treturn this.resources.create<PercentageDiscountPromotionCreate, PercentageDiscountPromotion>({ ...resource, type: PercentageDiscountPromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PercentageDiscountPromotionUpdate, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion> {\n\t\treturn this.resources.update<PercentageDiscountPromotionUpdate, PercentageDiscountPromotion>({ ...resource, type: PercentageDiscountPromotions.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: PercentageDiscountPromotions.TYPE } : id, options)\n\t}\n\n\tasync market(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync skus(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync _disable(id: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion> {\n\t\treturn this.resources.update<PercentageDiscountPromotionUpdate, PercentageDiscountPromotion>({ id: (typeof id === 'string')? id: id.id, type: PercentageDiscountPromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion> {\n\t\treturn this.resources.update<PercentageDiscountPromotionUpdate, PercentageDiscountPromotion>({ id: (typeof id === 'string')? id: id.id, type: PercentageDiscountPromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | PercentageDiscountPromotion, triggerValue: string, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion> {\n\t\treturn this.resources.update<PercentageDiscountPromotionUpdate, PercentageDiscountPromotion>({ id: (typeof id === 'string')? id: id.id, type: PercentageDiscountPromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | PercentageDiscountPromotion, triggerValue: string, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion> {\n\t\treturn this.resources.update<PercentageDiscountPromotionUpdate, PercentageDiscountPromotion>({ id: (typeof id === 'string')? id: id.id, type: PercentageDiscountPromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisPercentageDiscountPromotion(resource: any): resource is PercentageDiscountPromotion {\n\t\treturn resource.type && (resource.type === PercentageDiscountPromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PercentageDiscountPromotionRel {\n\t\treturn super.relationshipOneToOne<PercentageDiscountPromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PercentageDiscountPromotionRel[] {\n\t\treturn super.relationshipOneToMany<PercentageDiscountPromotionRel>(...ids)\n\t}\n\n\n\ttype(): PercentageDiscountPromotionType {\n\t\treturn PercentageDiscountPromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new PercentageDiscountPromotions()\nexport default instance\n\nexport type { PercentageDiscountPromotions, PercentageDiscountPromotion, PercentageDiscountPromotionCreate, PercentageDiscountPromotionUpdate, PercentageDiscountPromotionType }\n"]}
|
package/lib/chunk-EBK7TKRK.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-TP77HXHN.js';
|
|
2
|
-
|
|
3
|
-
// src/resources/price_volume_tiers.ts
|
|
4
|
-
var PriceVolumeTiers = class _PriceVolumeTiers extends ApiResource {
|
|
5
|
-
static TYPE = "price_volume_tiers";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create({ ...resource, type: _PriceVolumeTiers.TYPE }, params, options);
|
|
8
|
-
}
|
|
9
|
-
async update(resource, params, options) {
|
|
10
|
-
return this.resources.update({ ...resource, type: _PriceVolumeTiers.TYPE }, params, options);
|
|
11
|
-
}
|
|
12
|
-
async delete(id, options) {
|
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _PriceVolumeTiers.TYPE } : id, options);
|
|
14
|
-
}
|
|
15
|
-
async price(priceVolumeTierId, params, options) {
|
|
16
|
-
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
17
|
-
return this.resources.fetch({ type: "prices" }, `price_volume_tiers/${_priceVolumeTierId}/price`, params, options);
|
|
18
|
-
}
|
|
19
|
-
async attachments(priceVolumeTierId, params, options) {
|
|
20
|
-
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
21
|
-
return this.resources.fetch({ type: "attachments" }, `price_volume_tiers/${_priceVolumeTierId}/attachments`, params, options);
|
|
22
|
-
}
|
|
23
|
-
async versions(priceVolumeTierId, params, options) {
|
|
24
|
-
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
25
|
-
return this.resources.fetch({ type: "versions" }, `price_volume_tiers/${_priceVolumeTierId}/versions`, params, options);
|
|
26
|
-
}
|
|
27
|
-
async event_stores(priceVolumeTierId, params, options) {
|
|
28
|
-
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
29
|
-
return this.resources.fetch({ type: "event_stores" }, `price_volume_tiers/${_priceVolumeTierId}/event_stores`, params, options);
|
|
30
|
-
}
|
|
31
|
-
async events(priceVolumeTierId, params, options) {
|
|
32
|
-
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
33
|
-
return this.resources.fetch({ type: "events" }, `price_volume_tiers/${_priceVolumeTierId}/events`, params, options);
|
|
34
|
-
}
|
|
35
|
-
isPriceVolumeTier(resource) {
|
|
36
|
-
return resource.type && resource.type === _PriceVolumeTiers.TYPE;
|
|
37
|
-
}
|
|
38
|
-
relationship(id) {
|
|
39
|
-
return super.relationshipOneToOne(id);
|
|
40
|
-
}
|
|
41
|
-
relationshipToMany(...ids) {
|
|
42
|
-
return super.relationshipOneToMany(...ids);
|
|
43
|
-
}
|
|
44
|
-
type() {
|
|
45
|
-
return _PriceVolumeTiers.TYPE;
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
var instance = new PriceVolumeTiers();
|
|
49
|
-
var price_volume_tiers_default = instance;
|
|
50
|
-
|
|
51
|
-
export { price_volume_tiers_default };
|
|
52
|
-
//# sourceMappingURL=chunk-EBK7TKRK.js.map
|
|
53
|
-
//# sourceMappingURL=chunk-EBK7TKRK.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/price_volume_tiers.ts"],"names":[],"mappings":";;;AAyGA,IAAM,gBAAA,GAAN,MAAM,iBAAA,SAAyB,WAAA,CAA6B;AAAA,EAE3D,OAAgB,IAAA,GAA4B,oBAAA;AAAA,EAE5C,MAAM,MAAA,CAAO,QAAA,EAAiC,MAAA,EAA+C,OAAA,EAAqD;AACjJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+C,EAAE,GA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,EAC9D;AAAA,EAGA,IAAA,GAA4B;AAC3B,IAAA,OAAO,iBAAA,CAAiB,IAAA;AAAA,EACzB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,gBAAA,EAAiB;AACtC,IAAO,0BAAA,GAAQ","file":"chunk-EBK7TKRK.js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Price, PriceType } from './prices'\nimport type { Attachment } from './attachments'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\n\n\ntype PriceVolumeTierType = 'price_volume_tiers'\ntype PriceVolumeTierRel = ResourceRel & { type: PriceVolumeTierType }\ntype PriceRel = ResourceRel & { type: PriceType }\n\n\nexport type PriceVolumeTierSort = Pick<PriceVolumeTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceSort\n// export type PriceVolumeTierFilter = Pick<PriceVolumeTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceFilter\n\n\ninterface PriceVolumeTier extends Resource {\n\t\n\treadonly type: PriceVolumeTierType\n\n\t/** \n\t * The price tier's name.\n\t * @example ```\"six pack\"```\n\t */\n\tname: string\n\t/** \n\t * The tier upper limit, expressed as the line item quantity. When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```15```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this price tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\t/** \n\t * The price of this price tier, float.\n\t * @example ```10```\n\t */\n\tprice_amount_float?: number | null\n\t/** \n\t * The price of this price tier, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_price_amount?: string | null\n\n\tprice?: Price | null\n\tattachments?: Attachment[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\tevents?: Event[] | null\n\n}\n\n\ninterface PriceVolumeTierCreate extends ResourceCreate {\n\t\n\t/** \n\t * The price tier's name.\n\t * @example ```\"six pack\"```\n\t */\n\tname: string\n\t/** \n\t * The tier upper limit, expressed as the line item quantity. When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```15```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this price tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\n\tprice: PriceRel\n\n}\n\n\ninterface PriceVolumeTierUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The price tier's name.\n\t * @example ```\"six pack\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The tier upper limit, expressed as the line item quantity. When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```15```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this price tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents?: number | null\n\n\tprice?: PriceRel | null\n\n}\n\n\nclass PriceVolumeTiers extends ApiResource<PriceVolumeTier> {\n\n\tstatic readonly TYPE: PriceVolumeTierType = 'price_volume_tiers' as const\n\n\tasync create(resource: PriceVolumeTierCreate, params?: QueryParamsRetrieve<PriceVolumeTier>, options?: ResourcesConfig): Promise<PriceVolumeTier> {\n\t\treturn this.resources.create<PriceVolumeTierCreate, PriceVolumeTier>({ ...resource, type: PriceVolumeTiers.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PriceVolumeTierUpdate, params?: QueryParamsRetrieve<PriceVolumeTier>, options?: ResourcesConfig): Promise<PriceVolumeTier> {\n\t\treturn this.resources.update<PriceVolumeTierUpdate, PriceVolumeTier>({ ...resource, type: PriceVolumeTiers.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: PriceVolumeTiers.TYPE } : id, options)\n\t}\n\n\tasync price(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price> {\n\t\tconst _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || priceVolumeTierId as string\n\t\treturn this.resources.fetch<Price>({ type: 'prices' }, `price_volume_tiers/${_priceVolumeTierId}/price`, params, options) as unknown as Price\n\t}\n\n\tasync attachments(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || priceVolumeTierId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `price_volume_tiers/${_priceVolumeTierId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync versions(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || priceVolumeTierId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `price_volume_tiers/${_priceVolumeTierId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || priceVolumeTierId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `price_volume_tiers/${_priceVolumeTierId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync events(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || priceVolumeTierId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `price_volume_tiers/${_priceVolumeTierId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\n\tisPriceVolumeTier(resource: any): resource is PriceVolumeTier {\n\t\treturn resource.type && (resource.type === PriceVolumeTiers.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PriceVolumeTierRel {\n\t\treturn super.relationshipOneToOne<PriceVolumeTierRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PriceVolumeTierRel[] {\n\t\treturn super.relationshipOneToMany<PriceVolumeTierRel>(...ids)\n\t}\n\n\n\ttype(): PriceVolumeTierType {\n\t\treturn PriceVolumeTiers.TYPE\n\t}\n\n}\n\n\nconst instance = new PriceVolumeTiers()\nexport default instance\n\nexport type { PriceVolumeTiers, PriceVolumeTier, PriceVolumeTierCreate, PriceVolumeTierUpdate, PriceVolumeTierType }\n"]}
|
package/lib/chunk-EBSEOP6J.cjs
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk6HNUVC6N_cjs = require('./chunk-6HNUVC6N.cjs');
|
|
4
|
-
|
|
5
|
-
// src/resources/fixed_price_promotions.ts
|
|
6
|
-
var FixedPricePromotions = class _FixedPricePromotions extends chunk6HNUVC6N_cjs.ApiResource {
|
|
7
|
-
static TYPE = "fixed_price_promotions";
|
|
8
|
-
async create(resource, params, options) {
|
|
9
|
-
return this.resources.create({ ...resource, type: _FixedPricePromotions.TYPE }, params, options);
|
|
10
|
-
}
|
|
11
|
-
async update(resource, params, options) {
|
|
12
|
-
return this.resources.update({ ...resource, type: _FixedPricePromotions.TYPE }, params, options);
|
|
13
|
-
}
|
|
14
|
-
async delete(id, options) {
|
|
15
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _FixedPricePromotions.TYPE } : id, options);
|
|
16
|
-
}
|
|
17
|
-
async market(fixedPricePromotionId, params, options) {
|
|
18
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
|
19
|
-
return this.resources.fetch({ type: "markets" }, `fixed_price_promotions/${_fixedPricePromotionId}/market`, params, options);
|
|
20
|
-
}
|
|
21
|
-
async order_amount_promotion_rule(fixedPricePromotionId, params, options) {
|
|
22
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
|
23
|
-
return this.resources.fetch({ type: "order_amount_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/order_amount_promotion_rule`, params, options);
|
|
24
|
-
}
|
|
25
|
-
async sku_list_promotion_rule(fixedPricePromotionId, params, options) {
|
|
26
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
|
27
|
-
return this.resources.fetch({ type: "sku_list_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list_promotion_rule`, params, options);
|
|
28
|
-
}
|
|
29
|
-
async coupon_codes_promotion_rule(fixedPricePromotionId, params, options) {
|
|
30
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
|
31
|
-
return this.resources.fetch({ type: "coupon_codes_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/coupon_codes_promotion_rule`, params, options);
|
|
32
|
-
}
|
|
33
|
-
async custom_promotion_rule(fixedPricePromotionId, params, options) {
|
|
34
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
|
35
|
-
return this.resources.fetch({ type: "custom_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/custom_promotion_rule`, params, options);
|
|
36
|
-
}
|
|
37
|
-
async sku_list(fixedPricePromotionId, params, options) {
|
|
38
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
|
39
|
-
return this.resources.fetch({ type: "sku_lists" }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list`, params, options);
|
|
40
|
-
}
|
|
41
|
-
async coupons(fixedPricePromotionId, params, options) {
|
|
42
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
|
43
|
-
return this.resources.fetch({ type: "coupons" }, `fixed_price_promotions/${_fixedPricePromotionId}/coupons`, params, options);
|
|
44
|
-
}
|
|
45
|
-
async attachments(fixedPricePromotionId, params, options) {
|
|
46
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
|
47
|
-
return this.resources.fetch({ type: "attachments" }, `fixed_price_promotions/${_fixedPricePromotionId}/attachments`, params, options);
|
|
48
|
-
}
|
|
49
|
-
async events(fixedPricePromotionId, params, options) {
|
|
50
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
|
51
|
-
return this.resources.fetch({ type: "events" }, `fixed_price_promotions/${_fixedPricePromotionId}/events`, params, options);
|
|
52
|
-
}
|
|
53
|
-
async tags(fixedPricePromotionId, params, options) {
|
|
54
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
|
55
|
-
return this.resources.fetch({ type: "tags" }, `fixed_price_promotions/${_fixedPricePromotionId}/tags`, params, options);
|
|
56
|
-
}
|
|
57
|
-
async versions(fixedPricePromotionId, params, options) {
|
|
58
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
|
59
|
-
return this.resources.fetch({ type: "versions" }, `fixed_price_promotions/${_fixedPricePromotionId}/versions`, params, options);
|
|
60
|
-
}
|
|
61
|
-
async event_stores(fixedPricePromotionId, params, options) {
|
|
62
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
|
63
|
-
return this.resources.fetch({ type: "event_stores" }, `fixed_price_promotions/${_fixedPricePromotionId}/event_stores`, params, options);
|
|
64
|
-
}
|
|
65
|
-
async skus(fixedPricePromotionId, params, options) {
|
|
66
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
|
67
|
-
return this.resources.fetch({ type: "skus" }, `fixed_price_promotions/${_fixedPricePromotionId}/skus`, params, options);
|
|
68
|
-
}
|
|
69
|
-
async _disable(id, params, options) {
|
|
70
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _disable: true }, params, options);
|
|
71
|
-
}
|
|
72
|
-
async _enable(id, params, options) {
|
|
73
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _enable: true }, params, options);
|
|
74
|
-
}
|
|
75
|
-
async _add_tags(id, triggerValue, params, options) {
|
|
76
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _add_tags: triggerValue }, params, options);
|
|
77
|
-
}
|
|
78
|
-
async _remove_tags(id, triggerValue, params, options) {
|
|
79
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _remove_tags: triggerValue }, params, options);
|
|
80
|
-
}
|
|
81
|
-
isFixedPricePromotion(resource) {
|
|
82
|
-
return resource.type && resource.type === _FixedPricePromotions.TYPE;
|
|
83
|
-
}
|
|
84
|
-
relationship(id) {
|
|
85
|
-
return super.relationshipOneToOne(id);
|
|
86
|
-
}
|
|
87
|
-
relationshipToMany(...ids) {
|
|
88
|
-
return super.relationshipOneToMany(...ids);
|
|
89
|
-
}
|
|
90
|
-
type() {
|
|
91
|
-
return _FixedPricePromotions.TYPE;
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
var instance = new FixedPricePromotions();
|
|
95
|
-
var fixed_price_promotions_default = instance;
|
|
96
|
-
|
|
97
|
-
exports.fixed_price_promotions_default = fixed_price_promotions_default;
|
|
98
|
-
//# sourceMappingURL=chunk-EBSEOP6J.cjs.map
|
|
99
|
-
//# sourceMappingURL=chunk-EBSEOP6J.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/fixed_price_promotions.ts"],"names":["ApiResource"],"mappings":";;;;;AAsRA,IAAM,oBAAA,GAAN,MAAM,qBAAA,SAA6BA,6BAAA,CAAiC;AAAA,EAEnE,OAAgB,IAAA,GAAgC,wBAAA;AAAA,EAEhD,MAAM,MAAA,CAAO,QAAA,EAAqC,MAAA,EAAmD,OAAA,EAAy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,EAAyC;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA8C,GAAG,GAAG,CAAA;AAAA,EAClE;AAAA,EAGA,IAAA,GAAgC;AAC/B,IAAA,OAAO,qBAAA,CAAqB,IAAA;AAAA,EAC7B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,oBAAA,EAAqB;AAC1C,IAAO,8BAAA,GAAQ","file":"chunk-EBSEOP6J.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Coupon } from './coupons'\nimport type { Attachment } from './attachments'\nimport type { Event } from './events'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { Sku } from './skus'\nimport type { PromotionRule } from './promotion_rules'\n\n\ntype FixedPricePromotionType = 'fixed_price_promotions'\ntype FixedPricePromotionRel = ResourceRel & { type: FixedPricePromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type FixedPricePromotionSort = Pick<FixedPricePromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort\n// export type FixedPricePromotionFilter = Pick<FixedPricePromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceFilter\n\n\ninterface FixedPricePromotion extends Resource {\n\t\n\treadonly type: FixedPricePromotionType\n\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * The number of times this promotion has been applied.\n\t * @example ```2```\n\t */\n\ttotal_usage_count?: number | null\n\t/** \n\t * Indicates if the promotion has been applied the total number of allowed times.\n\t */\n\ttotal_usage_reached?: boolean | null\n\t/** \n\t * Indicates if the promotion is active (enabled and not expired).\n\t * @example ```true```\n\t */\n\tactive?: boolean | null\n\t/** \n\t * The promotion status. One of 'disabled', 'expired', 'pending', 'active', or 'inactive'.\n\t * @example ```\"pending\"```\n\t */\n\tstatus?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null\n\t/** \n\t * The weight of the promotion, computed by exclusivity, priority, type and start time. Determines the order of application, higher weight apply first.\n\t * @example ```112```\n\t */\n\tweight?: number | null\n\t/** \n\t * The total number of coupons created for this promotion.\n\t * @example ```2```\n\t */\n\tcoupons_count?: number | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The price fixed amount to be applied on matching SKUs, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents: number\n\t/** \n\t * The discount fixed amount to be applied, float.\n\t * @example ```10```\n\t */\n\tfixed_amount_float?: number | null\n\t/** \n\t * The discount fixed amount to be applied, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_fixed_amount?: string | null\n\n\tmarket?: Market | null\n\tpromotion_rules?: PromotionRule[] | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRule | null\n\tsku_list_promotion_rule?: SkuListPromotionRule | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n\tcustom_promotion_rule?: CustomPromotionRule | null\n\tsku_list?: SkuList | null\n\tcoupons?: Coupon[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\tskus?: Sku[] | null\n\n}\n\n\ninterface FixedPricePromotionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The price fixed amount to be applied on matching SKUs, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents: number\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list: SkuListRel\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface FixedPricePromotionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at?: string | null\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\t/** \n\t * The price fixed amount to be applied on matching SKUs, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents?: number | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass FixedPricePromotions extends ApiResource<FixedPricePromotion> {\n\n\tstatic readonly TYPE: FixedPricePromotionType = 'fixed_price_promotions' as const\n\n\tasync create(resource: FixedPricePromotionCreate, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.create<FixedPricePromotionCreate, FixedPricePromotion>({ ...resource, type: FixedPricePromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: FixedPricePromotionUpdate, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ ...resource, type: FixedPricePromotions.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: FixedPricePromotions.TYPE } : id, options)\n\t}\n\n\tasync market(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `fixed_price_promotions/${_fixedPricePromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `fixed_price_promotions/${_fixedPricePromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `fixed_price_promotions/${_fixedPricePromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `fixed_price_promotions/${_fixedPricePromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `fixed_price_promotions/${_fixedPricePromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `fixed_price_promotions/${_fixedPricePromotionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `fixed_price_promotions/${_fixedPricePromotionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync skus(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `fixed_price_promotions/${_fixedPricePromotionId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync _disable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | FixedPricePromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | FixedPricePromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisFixedPricePromotion(resource: any): resource is FixedPricePromotion {\n\t\treturn resource.type && (resource.type === FixedPricePromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): FixedPricePromotionRel {\n\t\treturn super.relationshipOneToOne<FixedPricePromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): FixedPricePromotionRel[] {\n\t\treturn super.relationshipOneToMany<FixedPricePromotionRel>(...ids)\n\t}\n\n\n\ttype(): FixedPricePromotionType {\n\t\treturn FixedPricePromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new FixedPricePromotions()\nexport default instance\n\nexport type { FixedPricePromotions, FixedPricePromotion, FixedPricePromotionCreate, FixedPricePromotionUpdate, FixedPricePromotionType }\n"]}
|
package/lib/chunk-EDLG2RJT.js
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-TP77HXHN.js';
|
|
2
|
-
|
|
3
|
-
// src/resources/percentage_discount_promotions.ts
|
|
4
|
-
var PercentageDiscountPromotions = class _PercentageDiscountPromotions extends ApiResource {
|
|
5
|
-
static TYPE = "percentage_discount_promotions";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create({ ...resource, type: _PercentageDiscountPromotions.TYPE }, params, options);
|
|
8
|
-
}
|
|
9
|
-
async update(resource, params, options) {
|
|
10
|
-
return this.resources.update({ ...resource, type: _PercentageDiscountPromotions.TYPE }, params, options);
|
|
11
|
-
}
|
|
12
|
-
async delete(id, options) {
|
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _PercentageDiscountPromotions.TYPE } : id, options);
|
|
14
|
-
}
|
|
15
|
-
async market(percentageDiscountPromotionId, params, options) {
|
|
16
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
17
|
-
return this.resources.fetch({ type: "markets" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/market`, params, options);
|
|
18
|
-
}
|
|
19
|
-
async order_amount_promotion_rule(percentageDiscountPromotionId, params, options) {
|
|
20
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
21
|
-
return this.resources.fetch({ type: "order_amount_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/order_amount_promotion_rule`, params, options);
|
|
22
|
-
}
|
|
23
|
-
async sku_list_promotion_rule(percentageDiscountPromotionId, params, options) {
|
|
24
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
25
|
-
return this.resources.fetch({ type: "sku_list_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/sku_list_promotion_rule`, params, options);
|
|
26
|
-
}
|
|
27
|
-
async coupon_codes_promotion_rule(percentageDiscountPromotionId, params, options) {
|
|
28
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
29
|
-
return this.resources.fetch({ type: "coupon_codes_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/coupon_codes_promotion_rule`, params, options);
|
|
30
|
-
}
|
|
31
|
-
async custom_promotion_rule(percentageDiscountPromotionId, params, options) {
|
|
32
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
33
|
-
return this.resources.fetch({ type: "custom_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/custom_promotion_rule`, params, options);
|
|
34
|
-
}
|
|
35
|
-
async sku_list(percentageDiscountPromotionId, params, options) {
|
|
36
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
37
|
-
return this.resources.fetch({ type: "sku_lists" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/sku_list`, params, options);
|
|
38
|
-
}
|
|
39
|
-
async coupons(percentageDiscountPromotionId, params, options) {
|
|
40
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
41
|
-
return this.resources.fetch({ type: "coupons" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/coupons`, params, options);
|
|
42
|
-
}
|
|
43
|
-
async attachments(percentageDiscountPromotionId, params, options) {
|
|
44
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
45
|
-
return this.resources.fetch({ type: "attachments" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/attachments`, params, options);
|
|
46
|
-
}
|
|
47
|
-
async events(percentageDiscountPromotionId, params, options) {
|
|
48
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
49
|
-
return this.resources.fetch({ type: "events" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/events`, params, options);
|
|
50
|
-
}
|
|
51
|
-
async tags(percentageDiscountPromotionId, params, options) {
|
|
52
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
53
|
-
return this.resources.fetch({ type: "tags" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/tags`, params, options);
|
|
54
|
-
}
|
|
55
|
-
async versions(percentageDiscountPromotionId, params, options) {
|
|
56
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
57
|
-
return this.resources.fetch({ type: "versions" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/versions`, params, options);
|
|
58
|
-
}
|
|
59
|
-
async event_stores(percentageDiscountPromotionId, params, options) {
|
|
60
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
61
|
-
return this.resources.fetch({ type: "event_stores" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/event_stores`, params, options);
|
|
62
|
-
}
|
|
63
|
-
async skus(percentageDiscountPromotionId, params, options) {
|
|
64
|
-
const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
|
|
65
|
-
return this.resources.fetch({ type: "skus" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/skus`, params, options);
|
|
66
|
-
}
|
|
67
|
-
async _disable(id, params, options) {
|
|
68
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PercentageDiscountPromotions.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: _PercentageDiscountPromotions.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: _PercentageDiscountPromotions.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: _PercentageDiscountPromotions.TYPE, _remove_tags: triggerValue }, params, options);
|
|
78
|
-
}
|
|
79
|
-
isPercentageDiscountPromotion(resource) {
|
|
80
|
-
return resource.type && resource.type === _PercentageDiscountPromotions.TYPE;
|
|
81
|
-
}
|
|
82
|
-
relationship(id) {
|
|
83
|
-
return super.relationshipOneToOne(id);
|
|
84
|
-
}
|
|
85
|
-
relationshipToMany(...ids) {
|
|
86
|
-
return super.relationshipOneToMany(...ids);
|
|
87
|
-
}
|
|
88
|
-
type() {
|
|
89
|
-
return _PercentageDiscountPromotions.TYPE;
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
var instance = new PercentageDiscountPromotions();
|
|
93
|
-
var percentage_discount_promotions_default = instance;
|
|
94
|
-
|
|
95
|
-
export { percentage_discount_promotions_default };
|
|
96
|
-
//# sourceMappingURL=chunk-EDLG2RJT.js.map
|
|
97
|
-
//# sourceMappingURL=chunk-EDLG2RJT.js.map
|