@commercelayer/sdk 7.8.0 → 7.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api-C56k_eNN.d.cts +18274 -0
- package/lib/api-fR7vDjer.d.ts +18274 -0
- package/lib/api.cjs +271 -271
- package/lib/api.d.cts +2 -2
- package/lib/api.d.ts +2 -2
- package/lib/api.js +139 -139
- package/lib/bundle.cjs +274 -274
- package/lib/bundle.cjs.map +1 -1
- package/lib/bundle.d.cts +3 -3
- package/lib/bundle.d.ts +3 -3
- package/lib/bundle.js +140 -140
- package/lib/bundle.js.map +1 -1
- package/lib/chunk-22RVT2J2.js +20 -0
- package/lib/chunk-22RVT2J2.js.map +1 -0
- package/lib/chunk-22YZMDGS.js +73 -0
- package/lib/chunk-22YZMDGS.js.map +1 -0
- package/lib/chunk-24DYX22L.cjs +34 -0
- package/lib/chunk-24DYX22L.cjs.map +1 -0
- package/lib/chunk-25LV6XNE.js +57 -0
- package/lib/chunk-25LV6XNE.js.map +1 -0
- package/lib/chunk-25SYMOHP.js +63 -0
- package/lib/chunk-25SYMOHP.js.map +1 -0
- package/lib/chunk-26IU3VMW.cjs +73 -0
- package/lib/chunk-26IU3VMW.cjs.map +1 -0
- package/lib/chunk-2COD7SFI.js +24 -0
- package/lib/chunk-2COD7SFI.js.map +1 -0
- package/lib/chunk-2D7XHAVQ.js +59 -0
- package/lib/chunk-2D7XHAVQ.js.map +1 -0
- package/lib/chunk-2TD56UNA.js +97 -0
- package/lib/chunk-2TD56UNA.js.map +1 -0
- package/lib/chunk-2UBHGJAR.cjs +30 -0
- package/lib/chunk-2UBHGJAR.cjs.map +1 -0
- package/lib/chunk-353DTUT5.js +56 -0
- package/lib/chunk-353DTUT5.js.map +1 -0
- package/lib/chunk-3AQSJH4T.js +53 -0
- package/lib/chunk-3AQSJH4T.js.map +1 -0
- package/lib/chunk-3CYUKNAO.js +48 -0
- package/lib/chunk-3CYUKNAO.js.map +1 -0
- package/lib/chunk-3F4JHN42.cjs +72 -0
- package/lib/chunk-3F4JHN42.cjs.map +1 -0
- package/lib/chunk-3GOADUES.cjs +63 -0
- package/lib/chunk-3GOADUES.cjs.map +1 -0
- package/lib/chunk-3KCHHQTI.js +97 -0
- package/lib/chunk-3KCHHQTI.js.map +1 -0
- package/lib/chunk-3QSWUE22.cjs +43 -0
- package/lib/chunk-3QSWUE22.cjs.map +1 -0
- package/lib/chunk-3R5E4QEL.cjs +57 -0
- package/lib/chunk-3R5E4QEL.cjs.map +1 -0
- package/lib/chunk-3XPKZ3WM.js +77 -0
- package/lib/chunk-3XPKZ3WM.js.map +1 -0
- package/lib/chunk-42TXSEGY.js +53 -0
- package/lib/chunk-42TXSEGY.js.map +1 -0
- package/lib/chunk-42VXKVD6.js +53 -0
- package/lib/chunk-42VXKVD6.js.map +1 -0
- package/lib/chunk-4KIM2UAJ.cjs +72 -0
- package/lib/chunk-4KIM2UAJ.cjs.map +1 -0
- package/lib/chunk-4KPMQG57.js +49 -0
- package/lib/chunk-4KPMQG57.js.map +1 -0
- package/lib/chunk-4MV6VICV.js +35 -0
- package/lib/chunk-4MV6VICV.js.map +1 -0
- package/lib/chunk-4QMCNTO4.js +44 -0
- package/lib/chunk-4QMCNTO4.js.map +1 -0
- package/lib/chunk-4W5EFFJ5.js +48 -0
- package/lib/chunk-4W5EFFJ5.js.map +1 -0
- package/lib/chunk-4WQKP2HI.js +44 -0
- package/lib/chunk-4WQKP2HI.js.map +1 -0
- package/lib/chunk-4YEJFKWN.cjs +55 -0
- package/lib/chunk-4YEJFKWN.cjs.map +1 -0
- package/lib/chunk-4YS4H4WH.cjs +54 -0
- package/lib/chunk-4YS4H4WH.cjs.map +1 -0
- package/lib/chunk-52L77NN2.js +59 -0
- package/lib/chunk-52L77NN2.js.map +1 -0
- package/lib/chunk-53R4X7QD.js +49 -0
- package/lib/chunk-53R4X7QD.js.map +1 -0
- package/lib/chunk-54765SFP.js +55 -0
- package/lib/chunk-54765SFP.js.map +1 -0
- package/lib/chunk-56DPVYQJ.js +41 -0
- package/lib/chunk-56DPVYQJ.js.map +1 -0
- package/lib/chunk-57EVDZVF.js +63 -0
- package/lib/chunk-57EVDZVF.js.map +1 -0
- package/lib/chunk-5CXQ67TT.js +53 -0
- package/lib/chunk-5CXQ67TT.js.map +1 -0
- package/lib/chunk-5FZ57V3M.cjs +93 -0
- package/lib/chunk-5FZ57V3M.cjs.map +1 -0
- package/lib/chunk-5NX7MHXP.cjs +51 -0
- package/lib/chunk-5NX7MHXP.cjs.map +1 -0
- package/lib/chunk-5QA264ZF.cjs +74 -0
- package/lib/chunk-5QA264ZF.cjs.map +1 -0
- package/lib/chunk-5QFZLLE2.js +37 -0
- package/lib/chunk-5QFZLLE2.js.map +1 -0
- package/lib/chunk-5T44TAQU.cjs +130 -0
- package/lib/chunk-5T44TAQU.cjs.map +1 -0
- package/lib/chunk-5UPTFJAY.cjs +51 -0
- package/lib/chunk-5UPTFJAY.cjs.map +1 -0
- package/lib/chunk-5WLMMRAX.js +93 -0
- package/lib/chunk-5WLMMRAX.js.map +1 -0
- package/lib/chunk-5Z47LT7L.js +53 -0
- package/lib/chunk-5Z47LT7L.js.map +1 -0
- package/lib/chunk-5ZWOLVB6.js +128 -0
- package/lib/chunk-5ZWOLVB6.js.map +1 -0
- package/lib/chunk-65QUR5IL.js +97 -0
- package/lib/chunk-65QUR5IL.js.map +1 -0
- package/lib/chunk-66BQF7RB.cjs +61 -0
- package/lib/chunk-66BQF7RB.cjs.map +1 -0
- package/lib/chunk-6ES3UMTH.cjs +286 -0
- package/lib/chunk-6ES3UMTH.cjs.map +1 -0
- package/lib/chunk-6EY5MW3N.js +53 -0
- package/lib/chunk-6EY5MW3N.js.map +1 -0
- package/lib/chunk-6GB4YMFB.js +52 -0
- package/lib/chunk-6GB4YMFB.js.map +1 -0
- package/lib/chunk-6RLGIXTB.cjs +61 -0
- package/lib/chunk-6RLGIXTB.cjs.map +1 -0
- package/lib/chunk-6YX6BZB6.js +55 -0
- package/lib/chunk-6YX6BZB6.js.map +1 -0
- package/lib/chunk-73IEITRE.js +44 -0
- package/lib/chunk-73IEITRE.js.map +1 -0
- package/lib/chunk-73XFO6GL.cjs +51 -0
- package/lib/chunk-73XFO6GL.cjs.map +1 -0
- package/lib/chunk-76RBIF4U.cjs +79 -0
- package/lib/chunk-76RBIF4U.cjs.map +1 -0
- package/lib/chunk-7FKCICOI.js +55 -0
- package/lib/chunk-7FKCICOI.js.map +1 -0
- package/lib/chunk-7N7KBV6L.js +158 -0
- package/lib/chunk-7N7KBV6L.js.map +1 -0
- package/lib/chunk-7RZTCBDR.cjs +22 -0
- package/lib/chunk-7RZTCBDR.cjs.map +1 -0
- package/lib/chunk-7UCAVCXA.cjs +99 -0
- package/lib/chunk-7UCAVCXA.cjs.map +1 -0
- package/lib/chunk-7XIPWO7I.cjs +61 -0
- package/lib/chunk-7XIPWO7I.cjs.map +1 -0
- package/lib/chunk-A7PIWL4I.js +58 -0
- package/lib/chunk-A7PIWL4I.js.map +1 -0
- package/lib/chunk-AGJQ5BMW.cjs +107 -0
- package/lib/chunk-AGJQ5BMW.cjs.map +1 -0
- package/lib/chunk-AHJQVBKB.cjs +160 -0
- package/lib/chunk-AHJQVBKB.cjs.map +1 -0
- package/lib/chunk-AJ5YOH5P.cjs +30 -0
- package/lib/chunk-AJ5YOH5P.cjs.map +1 -0
- package/lib/chunk-AQHMSOPU.js +45 -0
- package/lib/chunk-AQHMSOPU.js.map +1 -0
- package/lib/chunk-ASRC3G5N.cjs +42 -0
- package/lib/chunk-ASRC3G5N.cjs.map +1 -0
- package/lib/chunk-B3IWIR5W.cjs +46 -0
- package/lib/chunk-B3IWIR5W.cjs.map +1 -0
- package/lib/chunk-B4ASY4NL.js +45 -0
- package/lib/chunk-B4ASY4NL.js.map +1 -0
- package/lib/chunk-B6IY37XK.js +70 -0
- package/lib/chunk-B6IY37XK.js.map +1 -0
- package/lib/chunk-B6RRN2R4.cjs +51 -0
- package/lib/chunk-B6RRN2R4.cjs.map +1 -0
- package/lib/chunk-BBNWP52Z.cjs +44 -0
- package/lib/chunk-BBNWP52Z.cjs.map +1 -0
- package/lib/chunk-BCFDI5BB.cjs +51 -0
- package/lib/chunk-BCFDI5BB.cjs.map +1 -0
- package/lib/chunk-BE7FUFTL.js +53 -0
- package/lib/chunk-BE7FUFTL.js.map +1 -0
- package/lib/chunk-BGS3XVZ5.js +107 -0
- package/lib/chunk-BGS3XVZ5.js.map +1 -0
- package/lib/chunk-BLZ627KE.js +59 -0
- package/lib/chunk-BLZ627KE.js.map +1 -0
- package/lib/chunk-BOFLUBPB.js +55 -0
- package/lib/chunk-BOFLUBPB.js.map +1 -0
- package/lib/chunk-BUCTRSWS.js +45 -0
- package/lib/chunk-BUCTRSWS.js.map +1 -0
- package/lib/chunk-BUKCNQRD.cjs +43 -0
- package/lib/chunk-BUKCNQRD.cjs.map +1 -0
- package/lib/chunk-C2JKMWGR.cjs +51 -0
- package/lib/chunk-C2JKMWGR.cjs.map +1 -0
- package/lib/chunk-C5ML5FMX.cjs +53 -0
- package/lib/chunk-C5ML5FMX.cjs.map +1 -0
- package/lib/chunk-C77T7SV5.js +49 -0
- package/lib/chunk-C77T7SV5.js.map +1 -0
- package/lib/chunk-CAR7HCIH.cjs +50 -0
- package/lib/chunk-CAR7HCIH.cjs.map +1 -0
- package/lib/chunk-CD4WJZWD.js +49 -0
- package/lib/chunk-CD4WJZWD.js.map +1 -0
- package/lib/chunk-CHJOIVWT.cjs +51 -0
- package/lib/chunk-CHJOIVWT.cjs.map +1 -0
- package/lib/chunk-CIEVYLNA.cjs +57 -0
- package/lib/chunk-CIEVYLNA.cjs.map +1 -0
- package/lib/chunk-CRRVMIDJ.js +32 -0
- package/lib/chunk-CRRVMIDJ.js.map +1 -0
- package/lib/chunk-CSRXWHGF.cjs +662 -0
- package/lib/chunk-CSRXWHGF.cjs.map +1 -0
- package/lib/chunk-CXDNL2TL.cjs +57 -0
- package/lib/chunk-CXDNL2TL.cjs.map +1 -0
- package/lib/chunk-CZVJWKHF.cjs +51 -0
- package/lib/chunk-CZVJWKHF.cjs.map +1 -0
- package/lib/chunk-D5KCXRAI.js +57 -0
- package/lib/chunk-D5KCXRAI.js.map +1 -0
- package/lib/chunk-DGYQ3LEP.cjs +34 -0
- package/lib/chunk-DGYQ3LEP.cjs.map +1 -0
- package/lib/chunk-DHT6PN4S.js +72 -0
- package/lib/chunk-DHT6PN4S.js.map +1 -0
- package/lib/chunk-DKKVAVBN.cjs +99 -0
- package/lib/chunk-DKKVAVBN.cjs.map +1 -0
- package/lib/chunk-DKUONF23.cjs +56 -0
- package/lib/chunk-DKUONF23.cjs.map +1 -0
- package/lib/chunk-DZ6EOOOY.js +41 -0
- package/lib/chunk-DZ6EOOOY.js.map +1 -0
- package/lib/chunk-E2GOZ7ZV.js +55 -0
- package/lib/chunk-E2GOZ7ZV.js.map +1 -0
- package/lib/chunk-E4RUQPMF.js +40 -0
- package/lib/chunk-E4RUQPMF.js.map +1 -0
- package/lib/chunk-ED72HDOR.js +31 -0
- package/lib/chunk-ED72HDOR.js.map +1 -0
- package/lib/chunk-EGM5WCK7.js +40 -0
- package/lib/chunk-EGM5WCK7.js.map +1 -0
- package/lib/chunk-EN3E3X22.cjs +46 -0
- package/lib/chunk-EN3E3X22.cjs.map +1 -0
- package/lib/chunk-EOSTJ3GG.cjs +50 -0
- package/lib/chunk-EOSTJ3GG.cjs.map +1 -0
- package/lib/chunk-ESUFQPT7.cjs +71 -0
- package/lib/chunk-ESUFQPT7.cjs.map +1 -0
- package/lib/chunk-ESW2GV47.js +100 -0
- package/lib/chunk-ESW2GV47.js.map +1 -0
- package/lib/chunk-EV7JAD4X.js +91 -0
- package/lib/chunk-EV7JAD4X.js.map +1 -0
- package/lib/chunk-EY3D7ONH.cjs +109 -0
- package/lib/chunk-EY3D7ONH.cjs.map +1 -0
- package/lib/chunk-EZQHOZI2.js +49 -0
- package/lib/chunk-EZQHOZI2.js.map +1 -0
- package/lib/chunk-F3P63HYI.cjs +65 -0
- package/lib/chunk-F3P63HYI.cjs.map +1 -0
- package/lib/chunk-F6J4CRBZ.cjs +38 -0
- package/lib/chunk-F6J4CRBZ.cjs.map +1 -0
- package/lib/chunk-FBGHKFDZ.js +68 -0
- package/lib/chunk-FBGHKFDZ.js.map +1 -0
- package/lib/chunk-FEKNIG3W.js +99 -0
- package/lib/chunk-FEKNIG3W.js.map +1 -0
- package/lib/chunk-FKAKFPAS.js +61 -0
- package/lib/chunk-FKAKFPAS.js.map +1 -0
- package/lib/chunk-FSXKG62A.js +100 -0
- package/lib/chunk-FSXKG62A.js.map +1 -0
- package/lib/chunk-FT2UGQVD.js +54 -0
- package/lib/chunk-FT2UGQVD.js.map +1 -0
- package/lib/chunk-FUYP7J3H.js +53 -0
- package/lib/chunk-FUYP7J3H.js.map +1 -0
- package/lib/chunk-FYI5M2XM.cjs +57 -0
- package/lib/chunk-FYI5M2XM.cjs.map +1 -0
- package/lib/chunk-FYKH5NLF.cjs +50 -0
- package/lib/chunk-FYKH5NLF.cjs.map +1 -0
- package/lib/chunk-G2XGWVV4.cjs +81 -0
- package/lib/chunk-G2XGWVV4.cjs.map +1 -0
- package/lib/chunk-GNLY3HQ4.js +105 -0
- package/lib/chunk-GNLY3HQ4.js.map +1 -0
- package/lib/chunk-GRKXRJZE.js +65 -0
- package/lib/chunk-GRKXRJZE.js.map +1 -0
- package/lib/chunk-GSHDLOHZ.js +97 -0
- package/lib/chunk-GSHDLOHZ.js.map +1 -0
- package/lib/chunk-GSTAUOVL.js +57 -0
- package/lib/chunk-GSTAUOVL.js.map +1 -0
- package/lib/chunk-H3IBVZVF.js +28 -0
- package/lib/chunk-H3IBVZVF.js.map +1 -0
- package/lib/chunk-H4MPRTXI.js +37 -0
- package/lib/chunk-H4MPRTXI.js.map +1 -0
- package/lib/chunk-H5JOZYXN.cjs +51 -0
- package/lib/chunk-H5JOZYXN.cjs.map +1 -0
- package/lib/chunk-H7ZINK52.cjs +93 -0
- package/lib/chunk-H7ZINK52.cjs.map +1 -0
- package/lib/chunk-HFAQPY4K.cjs +42 -0
- package/lib/chunk-HFAQPY4K.cjs.map +1 -0
- package/lib/chunk-HLL6WIIC.js +91 -0
- package/lib/chunk-HLL6WIIC.js.map +1 -0
- package/lib/chunk-HLPUCTAZ.js +103 -0
- package/lib/chunk-HLPUCTAZ.js.map +1 -0
- package/lib/chunk-HNADBQ2G.cjs +55 -0
- package/lib/chunk-HNADBQ2G.cjs.map +1 -0
- package/lib/chunk-HOKEKQDI.js +49 -0
- package/lib/chunk-HOKEKQDI.js.map +1 -0
- package/lib/chunk-HP2WA7CM.cjs +59 -0
- package/lib/chunk-HP2WA7CM.cjs.map +1 -0
- package/lib/chunk-HQZ3S65M.js +44 -0
- package/lib/chunk-HQZ3S65M.js.map +1 -0
- package/lib/chunk-HR6ZQP3L.cjs +66 -0
- package/lib/chunk-HR6ZQP3L.cjs.map +1 -0
- package/lib/chunk-HR773LV5.cjs +54 -0
- package/lib/chunk-HR773LV5.cjs.map +1 -0
- package/lib/chunk-HTQJYP75.cjs +46 -0
- package/lib/chunk-HTQJYP75.cjs.map +1 -0
- package/lib/chunk-HWEIUKPN.cjs +57 -0
- package/lib/chunk-HWEIUKPN.cjs.map +1 -0
- package/lib/chunk-HWL3MJQJ.cjs +60 -0
- package/lib/chunk-HWL3MJQJ.cjs.map +1 -0
- package/lib/chunk-HZB22SU2.cjs +51 -0
- package/lib/chunk-HZB22SU2.cjs.map +1 -0
- package/lib/chunk-I22GQQSK.js +97 -0
- package/lib/chunk-I22GQQSK.js.map +1 -0
- package/lib/chunk-IESEQGGO.js +65 -0
- package/lib/chunk-IESEQGGO.js.map +1 -0
- package/lib/chunk-IFLQJWJG.cjs +55 -0
- package/lib/chunk-IFLQJWJG.cjs.map +1 -0
- package/lib/chunk-IGK3AET6.cjs +47 -0
- package/lib/chunk-IGK3AET6.cjs.map +1 -0
- package/lib/chunk-IJT6ADCT.cjs +70 -0
- package/lib/chunk-IJT6ADCT.cjs.map +1 -0
- package/lib/chunk-IKCYKGYL.js +151 -0
- package/lib/chunk-IKCYKGYL.js.map +1 -0
- package/lib/chunk-IMZ67YBL.cjs +55 -0
- package/lib/chunk-IMZ67YBL.cjs.map +1 -0
- package/lib/chunk-IR7ERHZU.js +57 -0
- package/lib/chunk-IR7ERHZU.js.map +1 -0
- package/lib/chunk-IWQQN4E4.js +47 -0
- package/lib/chunk-IWQQN4E4.js.map +1 -0
- package/lib/chunk-J3K32YXQ.js +49 -0
- package/lib/chunk-J3K32YXQ.js.map +1 -0
- package/lib/chunk-J5QKU3U7.cjs +54 -0
- package/lib/chunk-J5QKU3U7.cjs.map +1 -0
- package/lib/chunk-JAL5VEJ4.cjs +51 -0
- package/lib/chunk-JAL5VEJ4.cjs.map +1 -0
- package/lib/chunk-JBNN5FLR.cjs +99 -0
- package/lib/chunk-JBNN5FLR.cjs.map +1 -0
- package/lib/chunk-JEFXEO7O.js +49 -0
- package/lib/chunk-JEFXEO7O.js.map +1 -0
- package/lib/chunk-JIAAPIJS.js +69 -0
- package/lib/chunk-JIAAPIJS.js.map +1 -0
- package/lib/chunk-JNDUIJGS.js +32 -0
- package/lib/chunk-JNDUIJGS.js.map +1 -0
- package/lib/chunk-JTECSGQK.cjs +95 -0
- package/lib/chunk-JTECSGQK.cjs.map +1 -0
- package/lib/chunk-JU2GYUKV.js +54 -0
- package/lib/chunk-JU2GYUKV.js.map +1 -0
- package/lib/chunk-JW3TKFSF.cjs +99 -0
- package/lib/chunk-JW3TKFSF.cjs.map +1 -0
- package/lib/chunk-JWW6RX2L.cjs +47 -0
- package/lib/chunk-JWW6RX2L.cjs.map +1 -0
- package/lib/chunk-JZ5VDGTD.cjs +29 -0
- package/lib/chunk-JZ5VDGTD.cjs.map +1 -0
- package/lib/chunk-K277GYCD.cjs +40 -0
- package/lib/chunk-K277GYCD.cjs.map +1 -0
- package/lib/chunk-K4FGKWEQ.js +36 -0
- package/lib/chunk-K4FGKWEQ.js.map +1 -0
- package/lib/chunk-KAARRP5O.js +59 -0
- package/lib/chunk-KAARRP5O.js.map +1 -0
- package/lib/chunk-KDCQAUUV.js +48 -0
- package/lib/chunk-KDCQAUUV.js.map +1 -0
- package/lib/chunk-KMPHWFCV.cjs +47 -0
- package/lib/chunk-KMPHWFCV.cjs.map +1 -0
- package/lib/chunk-KRNU2FZC.js +53 -0
- package/lib/chunk-KRNU2FZC.js.map +1 -0
- package/lib/chunk-KUX4X636.js +49 -0
- package/lib/chunk-KUX4X636.js.map +1 -0
- package/lib/chunk-KWIFQC7H.js +52 -0
- package/lib/chunk-KWIFQC7H.js.map +1 -0
- package/lib/chunk-KZNM2CKM.cjs +59 -0
- package/lib/chunk-KZNM2CKM.cjs.map +1 -0
- package/lib/chunk-L27E3EGQ.js +49 -0
- package/lib/chunk-L27E3EGQ.js.map +1 -0
- package/lib/chunk-L2R5G3V5.js +276 -0
- package/lib/chunk-L2R5G3V5.js.map +1 -0
- package/lib/chunk-L6OLNB6W.js +41 -0
- package/lib/chunk-L6OLNB6W.js.map +1 -0
- package/lib/chunk-L7VZ5ST5.cjs +60 -0
- package/lib/chunk-L7VZ5ST5.cjs.map +1 -0
- package/lib/chunk-LBY2RHI4.js +45 -0
- package/lib/chunk-LBY2RHI4.js.map +1 -0
- package/lib/chunk-LGYK5DTL.cjs +50 -0
- package/lib/chunk-LGYK5DTL.cjs.map +1 -0
- package/lib/chunk-LLRE4DNW.cjs +55 -0
- package/lib/chunk-LLRE4DNW.cjs.map +1 -0
- package/lib/chunk-LQ5GKVLT.cjs +163 -0
- package/lib/chunk-LQ5GKVLT.cjs.map +1 -0
- package/lib/chunk-MAU4GMOM.js +52 -0
- package/lib/chunk-MAU4GMOM.js.map +1 -0
- package/lib/chunk-MBDEK4FD.cjs +51 -0
- package/lib/chunk-MBDEK4FD.cjs.map +1 -0
- package/lib/chunk-MDT7RJZY.cjs +39 -0
- package/lib/chunk-MDT7RJZY.cjs.map +1 -0
- package/lib/chunk-MF72Q5LL.cjs +39 -0
- package/lib/chunk-MF72Q5LL.cjs.map +1 -0
- package/lib/chunk-MGIOWUKO.cjs +38 -0
- package/lib/chunk-MGIOWUKO.cjs.map +1 -0
- package/lib/chunk-MIBC5G27.js +77 -0
- package/lib/chunk-MIBC5G27.js.map +1 -0
- package/lib/chunk-MU6PHJWP.js +48 -0
- package/lib/chunk-MU6PHJWP.js.map +1 -0
- package/lib/chunk-MVNE63MT.cjs +67 -0
- package/lib/chunk-MVNE63MT.cjs.map +1 -0
- package/lib/chunk-MWDZBQOU.cjs +47 -0
- package/lib/chunk-MWDZBQOU.cjs.map +1 -0
- package/lib/chunk-NKPMXNFW.js +49 -0
- package/lib/chunk-NKPMXNFW.js.map +1 -0
- package/lib/chunk-NKSXB523.js +42 -0
- package/lib/chunk-NKSXB523.js.map +1 -0
- package/lib/chunk-NL65GQHX.cjs +39 -0
- package/lib/chunk-NL65GQHX.cjs.map +1 -0
- package/lib/chunk-NM2TVMKS.cjs +43 -0
- package/lib/chunk-NM2TVMKS.cjs.map +1 -0
- package/lib/chunk-NUQ5KNXC.cjs +63 -0
- package/lib/chunk-NUQ5KNXC.cjs.map +1 -0
- package/lib/chunk-OQ3ZPPCE.js +55 -0
- package/lib/chunk-OQ3ZPPCE.js.map +1 -0
- package/lib/chunk-OR5ULL43.js +55 -0
- package/lib/chunk-OR5ULL43.js.map +1 -0
- package/lib/chunk-OSGNFURJ.js +63 -0
- package/lib/chunk-OSGNFURJ.js.map +1 -0
- package/lib/chunk-OSPDLBK7.cjs +57 -0
- package/lib/chunk-OSPDLBK7.cjs.map +1 -0
- package/lib/chunk-OTJ3AG3G.js +45 -0
- package/lib/chunk-OTJ3AG3G.js.map +1 -0
- package/lib/chunk-OUZO3UT3.cjs +65 -0
- package/lib/chunk-OUZO3UT3.cjs.map +1 -0
- package/lib/chunk-OXMHLYDD.js +49 -0
- package/lib/chunk-OXMHLYDD.js.map +1 -0
- package/lib/chunk-P2B3G2TZ.js +44 -0
- package/lib/chunk-P2B3G2TZ.js.map +1 -0
- package/lib/chunk-P3AQZNTG.js +79 -0
- package/lib/chunk-P3AQZNTG.js.map +1 -0
- package/lib/chunk-P3C4DMT6.cjs +57 -0
- package/lib/chunk-P3C4DMT6.cjs.map +1 -0
- package/lib/chunk-P6H53BD7.cjs +102 -0
- package/lib/chunk-P6H53BD7.cjs.map +1 -0
- package/lib/chunk-PAWJTO7I.js +49 -0
- package/lib/chunk-PAWJTO7I.js.map +1 -0
- package/lib/chunk-PD4I73FB.cjs +105 -0
- package/lib/chunk-PD4I73FB.cjs.map +1 -0
- package/lib/chunk-PGXMLN7A.js +49 -0
- package/lib/chunk-PGXMLN7A.js.map +1 -0
- package/lib/chunk-PIHQS6OG.js +153 -0
- package/lib/chunk-PIHQS6OG.js.map +1 -0
- package/lib/chunk-PUX7CAAV.js +53 -0
- package/lib/chunk-PUX7CAAV.js.map +1 -0
- package/lib/chunk-QE7S4OUZ.cjs +51 -0
- package/lib/chunk-QE7S4OUZ.cjs.map +1 -0
- package/lib/chunk-QKCTP2RD.cjs +55 -0
- package/lib/chunk-QKCTP2RD.cjs.map +1 -0
- package/lib/chunk-QNFZBJFQ.cjs +58 -0
- package/lib/chunk-QNFZBJFQ.cjs.map +1 -0
- package/lib/chunk-QU4NPZQC.cjs +56 -0
- package/lib/chunk-QU4NPZQC.cjs.map +1 -0
- package/lib/chunk-QVJTWTUN.cjs +54 -0
- package/lib/chunk-QVJTWTUN.cjs.map +1 -0
- package/lib/chunk-R3PNGGDR.cjs +55 -0
- package/lib/chunk-R3PNGGDR.cjs.map +1 -0
- package/lib/chunk-R7JDWIQK.cjs +107 -0
- package/lib/chunk-R7JDWIQK.cjs.map +1 -0
- package/lib/chunk-R7PR3V6Z.cjs +51 -0
- package/lib/chunk-R7PR3V6Z.cjs.map +1 -0
- package/lib/chunk-RH363QI7.cjs +99 -0
- package/lib/chunk-RH363QI7.cjs.map +1 -0
- package/lib/chunk-RLZGD4WS.cjs +57 -0
- package/lib/chunk-RLZGD4WS.cjs.map +1 -0
- package/lib/chunk-RNCWBCHU.js +55 -0
- package/lib/chunk-RNCWBCHU.js.map +1 -0
- package/lib/chunk-SEY2W62A.js +53 -0
- package/lib/chunk-SEY2W62A.js.map +1 -0
- package/lib/chunk-SGJTWE5I.js +40 -0
- package/lib/chunk-SGJTWE5I.js.map +1 -0
- package/lib/chunk-SK7SIING.cjs +42 -0
- package/lib/chunk-SK7SIING.cjs.map +1 -0
- package/lib/chunk-SNHW3YC5.cjs +55 -0
- package/lib/chunk-SNHW3YC5.cjs.map +1 -0
- package/lib/chunk-SWZUFDHY.js +102 -0
- package/lib/chunk-SWZUFDHY.js.map +1 -0
- package/lib/chunk-SXCTTGYT.cjs +50 -0
- package/lib/chunk-SXCTTGYT.cjs.map +1 -0
- package/lib/chunk-SXQSMTHR.js +58 -0
- package/lib/chunk-SXQSMTHR.js.map +1 -0
- package/lib/chunk-SZYWVDPJ.cjs +42 -0
- package/lib/chunk-SZYWVDPJ.cjs.map +1 -0
- package/lib/chunk-T4SW2CZX.cjs +67 -0
- package/lib/chunk-T4SW2CZX.cjs.map +1 -0
- package/lib/chunk-TE54DOJ6.cjs +75 -0
- package/lib/chunk-TE54DOJ6.cjs.map +1 -0
- package/lib/chunk-TJGZYDVV.js +58 -0
- package/lib/chunk-TJGZYDVV.js.map +1 -0
- package/lib/chunk-TPFXLI3J.js +27 -0
- package/lib/chunk-TPFXLI3J.js.map +1 -0
- package/lib/chunk-U43UPLTK.cjs +42 -0
- package/lib/chunk-U43UPLTK.cjs.map +1 -0
- package/lib/chunk-U5ZUHRP7.cjs +65 -0
- package/lib/chunk-U5ZUHRP7.cjs.map +1 -0
- package/lib/chunk-U7NVUYAO.js +71 -0
- package/lib/chunk-U7NVUYAO.js.map +1 -0
- package/lib/chunk-UBH2EC5P.cjs +284 -0
- package/lib/chunk-UBH2EC5P.cjs.map +1 -0
- package/lib/chunk-UMIZNUUK.js +45 -0
- package/lib/chunk-UMIZNUUK.js.map +1 -0
- package/lib/chunk-UQQTNQX3.cjs +153 -0
- package/lib/chunk-UQQTNQX3.cjs.map +1 -0
- package/lib/chunk-UR35VE5O.js +53 -0
- package/lib/chunk-UR35VE5O.js.map +1 -0
- package/lib/chunk-UTJX7SU6.cjs +55 -0
- package/lib/chunk-UTJX7SU6.cjs.map +1 -0
- package/lib/chunk-V2JFGTP4.cjs +33 -0
- package/lib/chunk-V2JFGTP4.cjs.map +1 -0
- package/lib/chunk-V3VI5SLU.cjs +58 -0
- package/lib/chunk-V3VI5SLU.cjs.map +1 -0
- package/lib/chunk-V57VEB52.cjs +51 -0
- package/lib/chunk-V57VEB52.cjs.map +1 -0
- package/lib/chunk-VCJOH3IE.js +63 -0
- package/lib/chunk-VCJOH3IE.js.map +1 -0
- package/lib/chunk-VROIQJ2H.js +48 -0
- package/lib/chunk-VROIQJ2H.js.map +1 -0
- package/lib/chunk-W5HJOZUZ.js +55 -0
- package/lib/chunk-W5HJOZUZ.js.map +1 -0
- package/lib/chunk-W6D7ACVK.cjs +26 -0
- package/lib/chunk-W6D7ACVK.cjs.map +1 -0
- package/lib/chunk-W76GDFLA.cjs +49 -0
- package/lib/chunk-W76GDFLA.cjs.map +1 -0
- package/lib/chunk-W7A5TBOT.js +37 -0
- package/lib/chunk-W7A5TBOT.js.map +1 -0
- package/lib/chunk-W7QZ4IET.js +55 -0
- package/lib/chunk-W7QZ4IET.js.map +1 -0
- package/lib/chunk-WAXSMT74.js +49 -0
- package/lib/chunk-WAXSMT74.js.map +1 -0
- package/lib/chunk-WENVZ7YQ.cjs +60 -0
- package/lib/chunk-WENVZ7YQ.cjs.map +1 -0
- package/lib/chunk-WN4NEQG3.cjs +47 -0
- package/lib/chunk-WN4NEQG3.cjs.map +1 -0
- package/lib/chunk-WPMZGCSL.js +49 -0
- package/lib/chunk-WPMZGCSL.js.map +1 -0
- package/lib/chunk-WVXUXB6M.cjs +51 -0
- package/lib/chunk-WVXUXB6M.cjs.map +1 -0
- package/lib/chunk-WYSCB65K.cjs +65 -0
- package/lib/chunk-WYSCB65K.cjs.map +1 -0
- package/lib/chunk-WZKB5BTI.cjs +57 -0
- package/lib/chunk-WZKB5BTI.cjs.map +1 -0
- package/lib/chunk-X3FOQEIP.cjs +57 -0
- package/lib/chunk-X3FOQEIP.cjs.map +1 -0
- package/lib/chunk-X435FPBT.js +70 -0
- package/lib/chunk-X435FPBT.js.map +1 -0
- package/lib/chunk-XAHCI5JE.js +284 -0
- package/lib/chunk-XAHCI5JE.js.map +1 -0
- package/lib/chunk-XAWZYCIT.cjs +51 -0
- package/lib/chunk-XAWZYCIT.cjs.map +1 -0
- package/lib/chunk-XFOVGIFM.cjs +59 -0
- package/lib/chunk-XFOVGIFM.cjs.map +1 -0
- package/lib/chunk-XGQYAM2O.cjs +102 -0
- package/lib/chunk-XGQYAM2O.cjs.map +1 -0
- package/lib/chunk-XHRLLOTH.cjs +46 -0
- package/lib/chunk-XHRLLOTH.cjs.map +1 -0
- package/lib/chunk-XLHGFYJD.js +40 -0
- package/lib/chunk-XLHGFYJD.js.map +1 -0
- package/lib/chunk-XLSIK3Q5.js +40 -0
- package/lib/chunk-XLSIK3Q5.js.map +1 -0
- package/lib/chunk-XMOZVHO7.js +56 -0
- package/lib/chunk-XMOZVHO7.js.map +1 -0
- package/lib/chunk-YDYPUEOW.js +52 -0
- package/lib/chunk-YDYPUEOW.js.map +1 -0
- package/lib/chunk-YF5IJQZK.cjs +55 -0
- package/lib/chunk-YF5IJQZK.cjs.map +1 -0
- package/lib/chunk-YI3IDZIR.js +646 -0
- package/lib/chunk-YI3IDZIR.js.map +1 -0
- package/lib/chunk-YNFTOIKI.cjs +47 -0
- package/lib/chunk-YNFTOIKI.cjs.map +1 -0
- package/lib/chunk-YOAULZCB.js +28 -0
- package/lib/chunk-YOAULZCB.js.map +1 -0
- package/lib/chunk-YOH56Z73.js +64 -0
- package/lib/chunk-YOH56Z73.js.map +1 -0
- package/lib/chunk-YYFNNQAF.js +49 -0
- package/lib/chunk-YYFNNQAF.js.map +1 -0
- package/lib/chunk-Z7FWE3KQ.cjs +55 -0
- package/lib/chunk-Z7FWE3KQ.cjs.map +1 -0
- package/lib/chunk-ZA4UM7JC.js +36 -0
- package/lib/chunk-ZA4UM7JC.js.map +1 -0
- package/lib/chunk-ZBKA7LEU.js +51 -0
- package/lib/chunk-ZBKA7LEU.js.map +1 -0
- package/lib/chunk-ZDO4C624.cjs +79 -0
- package/lib/chunk-ZDO4C624.cjs.map +1 -0
- package/lib/chunk-ZDPMTK4O.js +49 -0
- package/lib/chunk-ZDPMTK4O.js.map +1 -0
- package/lib/chunk-ZKTVCW5B.cjs +51 -0
- package/lib/chunk-ZKTVCW5B.cjs.map +1 -0
- package/lib/chunk-ZKZLRD43.cjs +46 -0
- package/lib/chunk-ZKZLRD43.cjs.map +1 -0
- package/lib/chunk-ZNRKFQBN.cjs +59 -0
- package/lib/chunk-ZNRKFQBN.cjs.map +1 -0
- package/lib/chunk-ZU3CNZKE.cjs +51 -0
- package/lib/chunk-ZU3CNZKE.cjs.map +1 -0
- package/lib/chunk-ZUURLADK.cjs +55 -0
- package/lib/chunk-ZUURLADK.cjs.map +1 -0
- package/lib/chunk-ZWTMB75R.js +49 -0
- package/lib/chunk-ZWTMB75R.js.map +1 -0
- package/lib/chunk-ZYU4XA7Z.cjs +101 -0
- package/lib/chunk-ZYU4XA7Z.cjs.map +1 -0
- package/lib/client.cjs +5 -5
- package/lib/client.d.cts +1 -1
- package/lib/client.d.ts +1 -1
- package/lib/client.js +4 -4
- package/lib/commercelayer.cjs +12 -12
- package/lib/commercelayer.d.cts +5 -5
- package/lib/commercelayer.d.ts +5 -5
- package/lib/commercelayer.js +8 -8
- package/lib/config.d.cts +1 -1
- package/lib/config.d.ts +1 -1
- package/lib/debug.cjs +2 -2
- package/lib/debug.js +1 -1
- package/lib/enum.cjs +16 -16
- package/lib/enum.d.cts +2 -2
- package/lib/enum.d.ts +2 -2
- package/lib/enum.js +1 -1
- package/lib/error.cjs +9 -9
- package/lib/error.js +2 -2
- package/lib/fetch-B8-kP4X0.d.cts +55 -0
- package/lib/fetch-B8-kP4X0.d.ts +55 -0
- package/lib/fetch.cjs +4 -4
- package/lib/fetch.d.cts +1 -1
- package/lib/fetch.d.ts +1 -1
- package/lib/fetch.js +2 -2
- package/lib/index.cjs +276 -276
- package/lib/index.d.cts +2 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +141 -141
- package/lib/interceptor.d.cts +1 -1
- package/lib/interceptor.d.ts +1 -1
- package/lib/jsonapi.cjs +9 -9
- package/lib/jsonapi.d.cts +2 -2
- package/lib/jsonapi.d.ts +2 -2
- package/lib/jsonapi.js +7 -7
- package/lib/model.d.cts +2 -2
- package/lib/model.d.ts +2 -2
- package/lib/query.cjs +6 -6
- package/lib/query.d.cts +2 -2
- package/lib/query.d.ts +2 -2
- package/lib/query.js +3 -3
- package/lib/resource.cjs +12 -12
- package/lib/resource.d.cts +2 -2
- package/lib/resource.d.ts +2 -2
- package/lib/resource.js +7 -7
- package/lib/resources/addresses.cjs +9 -9
- package/lib/resources/addresses.d.cts +3 -3
- package/lib/resources/addresses.d.ts +2 -2
- package/lib/resources/addresses.js +8 -8
- package/lib/resources/adjustments.cjs +9 -9
- package/lib/resources/adjustments.d.cts +3 -3
- package/lib/resources/adjustments.d.ts +2 -2
- package/lib/resources/adjustments.js +8 -8
- package/lib/resources/adyen_gateways.cjs +9 -9
- package/lib/resources/adyen_gateways.d.cts +3 -3
- package/lib/resources/adyen_gateways.d.ts +2 -2
- package/lib/resources/adyen_gateways.js +8 -8
- package/lib/resources/adyen_payments.cjs +9 -9
- package/lib/resources/adyen_payments.d.cts +3 -3
- package/lib/resources/adyen_payments.d.ts +2 -2
- package/lib/resources/adyen_payments.js +8 -8
- package/lib/resources/applications.cjs +9 -9
- package/lib/resources/applications.d.cts +3 -3
- package/lib/resources/applications.d.ts +2 -2
- package/lib/resources/applications.js +8 -8
- package/lib/resources/attachments.cjs +9 -9
- package/lib/resources/attachments.d.cts +3 -3
- package/lib/resources/attachments.d.ts +2 -2
- package/lib/resources/attachments.js +8 -8
- package/lib/resources/authorizations.cjs +9 -9
- package/lib/resources/authorizations.d.cts +3 -3
- package/lib/resources/authorizations.d.ts +2 -2
- package/lib/resources/authorizations.js +8 -8
- package/lib/resources/avalara_accounts.cjs +9 -9
- package/lib/resources/avalara_accounts.d.cts +3 -3
- package/lib/resources/avalara_accounts.d.ts +2 -2
- package/lib/resources/avalara_accounts.js +8 -8
- package/lib/resources/axerve_gateways.cjs +9 -9
- package/lib/resources/axerve_gateways.d.cts +3 -3
- package/lib/resources/axerve_gateways.d.ts +2 -2
- package/lib/resources/axerve_gateways.js +8 -8
- package/lib/resources/axerve_payments.cjs +9 -9
- package/lib/resources/axerve_payments.d.cts +3 -3
- package/lib/resources/axerve_payments.d.ts +2 -2
- package/lib/resources/axerve_payments.js +8 -8
- package/lib/resources/bing_geocoders.cjs +9 -9
- package/lib/resources/bing_geocoders.d.cts +3 -3
- package/lib/resources/bing_geocoders.d.ts +2 -2
- package/lib/resources/bing_geocoders.js +8 -8
- package/lib/resources/braintree_gateways.cjs +9 -9
- package/lib/resources/braintree_gateways.d.cts +3 -3
- package/lib/resources/braintree_gateways.d.ts +2 -2
- package/lib/resources/braintree_gateways.js +8 -8
- package/lib/resources/braintree_payments.cjs +9 -9
- package/lib/resources/braintree_payments.d.cts +3 -3
- package/lib/resources/braintree_payments.d.ts +2 -2
- package/lib/resources/braintree_payments.js +8 -8
- package/lib/resources/bundles.cjs +9 -9
- package/lib/resources/bundles.d.cts +3 -3
- package/lib/resources/bundles.d.ts +2 -2
- package/lib/resources/bundles.js +8 -8
- package/lib/resources/buy_x_pay_y_promotions.cjs +9 -9
- package/lib/resources/buy_x_pay_y_promotions.d.cts +3 -3
- package/lib/resources/buy_x_pay_y_promotions.d.ts +2 -2
- package/lib/resources/buy_x_pay_y_promotions.js +8 -8
- package/lib/resources/captures.cjs +9 -9
- package/lib/resources/captures.d.cts +3 -3
- package/lib/resources/captures.d.ts +2 -2
- package/lib/resources/captures.js +8 -8
- package/lib/resources/carrier_accounts.cjs +9 -9
- package/lib/resources/carrier_accounts.d.cts +3 -3
- package/lib/resources/carrier_accounts.d.ts +2 -2
- package/lib/resources/carrier_accounts.js +8 -8
- package/lib/resources/checkout_com_gateways.cjs +9 -9
- package/lib/resources/checkout_com_gateways.d.cts +3 -3
- package/lib/resources/checkout_com_gateways.d.ts +2 -2
- package/lib/resources/checkout_com_gateways.js +8 -8
- package/lib/resources/checkout_com_payments.cjs +9 -9
- package/lib/resources/checkout_com_payments.d.cts +3 -3
- package/lib/resources/checkout_com_payments.d.ts +2 -2
- package/lib/resources/checkout_com_payments.js +8 -8
- package/lib/resources/cleanups.cjs +9 -9
- package/lib/resources/cleanups.d.cts +3 -3
- package/lib/resources/cleanups.d.ts +2 -2
- package/lib/resources/cleanups.js +8 -8
- package/lib/resources/coupon_codes_promotion_rules.cjs +9 -9
- package/lib/resources/coupon_codes_promotion_rules.d.cts +3 -3
- package/lib/resources/coupon_codes_promotion_rules.d.ts +2 -2
- package/lib/resources/coupon_codes_promotion_rules.js +8 -8
- package/lib/resources/coupon_recipients.cjs +9 -9
- package/lib/resources/coupon_recipients.d.cts +3 -3
- package/lib/resources/coupon_recipients.d.ts +2 -2
- package/lib/resources/coupon_recipients.js +8 -8
- package/lib/resources/coupons.cjs +9 -9
- package/lib/resources/coupons.d.cts +3 -3
- package/lib/resources/coupons.d.ts +2 -2
- package/lib/resources/coupons.js +8 -8
- package/lib/resources/custom_promotion_rules.cjs +9 -9
- package/lib/resources/custom_promotion_rules.d.cts +3 -3
- package/lib/resources/custom_promotion_rules.d.ts +2 -2
- package/lib/resources/custom_promotion_rules.js +8 -8
- package/lib/resources/customer_addresses.cjs +9 -9
- package/lib/resources/customer_addresses.d.cts +3 -3
- package/lib/resources/customer_addresses.d.ts +2 -2
- package/lib/resources/customer_addresses.js +8 -8
- package/lib/resources/customer_groups.cjs +9 -9
- package/lib/resources/customer_groups.d.cts +3 -3
- package/lib/resources/customer_groups.d.ts +2 -2
- package/lib/resources/customer_groups.js +8 -8
- package/lib/resources/customer_password_resets.cjs +9 -9
- package/lib/resources/customer_password_resets.d.cts +3 -3
- package/lib/resources/customer_password_resets.d.ts +2 -2
- package/lib/resources/customer_password_resets.js +8 -8
- package/lib/resources/customer_payment_sources.cjs +9 -9
- package/lib/resources/customer_payment_sources.d.cts +3 -3
- package/lib/resources/customer_payment_sources.d.ts +2 -2
- package/lib/resources/customer_payment_sources.js +8 -8
- package/lib/resources/customer_subscriptions.cjs +9 -9
- package/lib/resources/customer_subscriptions.d.cts +3 -3
- package/lib/resources/customer_subscriptions.d.ts +2 -2
- package/lib/resources/customer_subscriptions.js +8 -8
- package/lib/resources/customers.cjs +9 -9
- package/lib/resources/customers.d.cts +3 -3
- package/lib/resources/customers.d.ts +2 -2
- package/lib/resources/customers.js +8 -8
- package/lib/resources/delivery_lead_times.cjs +9 -9
- package/lib/resources/delivery_lead_times.d.cts +3 -3
- package/lib/resources/delivery_lead_times.d.ts +2 -2
- package/lib/resources/delivery_lead_times.js +8 -8
- package/lib/resources/discount_engine_items.cjs +9 -9
- package/lib/resources/discount_engine_items.d.cts +3 -3
- package/lib/resources/discount_engine_items.d.ts +2 -2
- package/lib/resources/discount_engine_items.js +8 -8
- package/lib/resources/discount_engines.cjs +9 -9
- package/lib/resources/discount_engines.d.cts +3 -3
- package/lib/resources/discount_engines.d.ts +2 -2
- package/lib/resources/discount_engines.js +8 -8
- package/lib/resources/easypost_pickups.cjs +9 -9
- package/lib/resources/easypost_pickups.d.cts +3 -3
- package/lib/resources/easypost_pickups.d.ts +2 -2
- package/lib/resources/easypost_pickups.js +8 -8
- package/lib/resources/event_callbacks.cjs +9 -9
- package/lib/resources/event_callbacks.d.cts +3 -3
- package/lib/resources/event_callbacks.d.ts +2 -2
- package/lib/resources/event_callbacks.js +8 -8
- package/lib/resources/event_stores.cjs +9 -9
- package/lib/resources/event_stores.d.cts +3 -3
- package/lib/resources/event_stores.d.ts +2 -2
- package/lib/resources/event_stores.js +8 -8
- package/lib/resources/events.cjs +9 -9
- package/lib/resources/events.d.cts +3 -3
- package/lib/resources/events.d.ts +2 -2
- package/lib/resources/events.js +8 -8
- package/lib/resources/exports.cjs +9 -9
- package/lib/resources/exports.d.cts +3 -3
- package/lib/resources/exports.d.ts +2 -2
- package/lib/resources/exports.js +8 -8
- package/lib/resources/external_gateways.cjs +9 -9
- package/lib/resources/external_gateways.d.cts +3 -3
- package/lib/resources/external_gateways.d.ts +2 -2
- package/lib/resources/external_gateways.js +8 -8
- package/lib/resources/external_payments.cjs +9 -9
- package/lib/resources/external_payments.d.cts +3 -3
- package/lib/resources/external_payments.d.ts +2 -2
- package/lib/resources/external_payments.js +8 -8
- package/lib/resources/external_promotions.cjs +9 -9
- package/lib/resources/external_promotions.d.cts +3 -3
- package/lib/resources/external_promotions.d.ts +2 -2
- package/lib/resources/external_promotions.js +8 -8
- package/lib/resources/external_tax_calculators.cjs +9 -9
- package/lib/resources/external_tax_calculators.d.cts +3 -3
- package/lib/resources/external_tax_calculators.d.ts +2 -2
- package/lib/resources/external_tax_calculators.js +8 -8
- package/lib/resources/fixed_amount_promotions.cjs +9 -9
- package/lib/resources/fixed_amount_promotions.d.cts +3 -3
- package/lib/resources/fixed_amount_promotions.d.ts +2 -2
- package/lib/resources/fixed_amount_promotions.js +8 -8
- package/lib/resources/fixed_price_promotions.cjs +9 -9
- package/lib/resources/fixed_price_promotions.d.cts +3 -3
- package/lib/resources/fixed_price_promotions.d.ts +2 -2
- package/lib/resources/fixed_price_promotions.js +8 -8
- package/lib/resources/flex_promotions.cjs +9 -9
- package/lib/resources/flex_promotions.d.cts +3 -3
- package/lib/resources/flex_promotions.d.ts +2 -2
- package/lib/resources/flex_promotions.js +8 -8
- package/lib/resources/free_gift_promotions.cjs +9 -9
- package/lib/resources/free_gift_promotions.d.cts +3 -3
- package/lib/resources/free_gift_promotions.d.ts +2 -2
- package/lib/resources/free_gift_promotions.js +8 -8
- package/lib/resources/free_shipping_promotions.cjs +9 -9
- package/lib/resources/free_shipping_promotions.d.cts +3 -3
- package/lib/resources/free_shipping_promotions.d.ts +2 -2
- package/lib/resources/free_shipping_promotions.js +8 -8
- package/lib/resources/geocoders.cjs +9 -9
- package/lib/resources/geocoders.d.cts +3 -3
- package/lib/resources/geocoders.d.ts +2 -2
- package/lib/resources/geocoders.js +8 -8
- package/lib/resources/gift_card_recipients.cjs +9 -9
- package/lib/resources/gift_card_recipients.d.cts +3 -3
- package/lib/resources/gift_card_recipients.d.ts +2 -2
- package/lib/resources/gift_card_recipients.js +8 -8
- package/lib/resources/gift_cards.cjs +9 -9
- package/lib/resources/gift_cards.d.cts +3 -3
- package/lib/resources/gift_cards.d.ts +2 -2
- package/lib/resources/gift_cards.js +8 -8
- package/lib/resources/google_geocoders.cjs +9 -9
- package/lib/resources/google_geocoders.d.cts +3 -3
- package/lib/resources/google_geocoders.d.ts +2 -2
- package/lib/resources/google_geocoders.js +8 -8
- package/lib/resources/imports.cjs +9 -9
- package/lib/resources/imports.d.cts +3 -3
- package/lib/resources/imports.d.ts +2 -2
- package/lib/resources/imports.js +8 -8
- package/lib/resources/in_stock_subscriptions.cjs +9 -9
- package/lib/resources/in_stock_subscriptions.d.cts +3 -3
- package/lib/resources/in_stock_subscriptions.d.ts +2 -2
- package/lib/resources/in_stock_subscriptions.js +8 -8
- package/lib/resources/inventory_models.cjs +9 -9
- package/lib/resources/inventory_models.d.cts +3 -3
- package/lib/resources/inventory_models.d.ts +2 -2
- package/lib/resources/inventory_models.js +8 -8
- package/lib/resources/inventory_return_locations.cjs +9 -9
- package/lib/resources/inventory_return_locations.d.cts +3 -3
- package/lib/resources/inventory_return_locations.d.ts +2 -2
- package/lib/resources/inventory_return_locations.js +8 -8
- package/lib/resources/inventory_stock_locations.cjs +9 -9
- package/lib/resources/inventory_stock_locations.d.cts +3 -3
- package/lib/resources/inventory_stock_locations.d.ts +2 -2
- package/lib/resources/inventory_stock_locations.js +8 -8
- package/lib/resources/klarna_gateways.cjs +9 -9
- package/lib/resources/klarna_gateways.d.cts +3 -3
- package/lib/resources/klarna_gateways.d.ts +2 -2
- package/lib/resources/klarna_gateways.js +8 -8
- package/lib/resources/klarna_payments.cjs +9 -9
- package/lib/resources/klarna_payments.d.cts +3 -3
- package/lib/resources/klarna_payments.d.ts +2 -2
- package/lib/resources/klarna_payments.js +8 -8
- package/lib/resources/line_item_options.cjs +9 -9
- package/lib/resources/line_item_options.d.cts +3 -3
- package/lib/resources/line_item_options.d.ts +2 -2
- package/lib/resources/line_item_options.js +8 -8
- package/lib/resources/line_items.cjs +9 -9
- package/lib/resources/line_items.d.cts +3 -3
- package/lib/resources/line_items.d.ts +2 -2
- package/lib/resources/line_items.js +8 -8
- package/lib/resources/links.cjs +9 -9
- package/lib/resources/links.d.cts +3 -3
- package/lib/resources/links.d.ts +2 -2
- package/lib/resources/links.js +8 -8
- package/lib/resources/manual_gateways.cjs +9 -9
- package/lib/resources/manual_gateways.d.cts +3 -3
- package/lib/resources/manual_gateways.d.ts +2 -2
- package/lib/resources/manual_gateways.js +8 -8
- package/lib/resources/manual_tax_calculators.cjs +9 -9
- package/lib/resources/manual_tax_calculators.d.cts +3 -3
- package/lib/resources/manual_tax_calculators.d.ts +2 -2
- package/lib/resources/manual_tax_calculators.js +8 -8
- package/lib/resources/markets.cjs +9 -9
- package/lib/resources/markets.d.cts +3 -3
- package/lib/resources/markets.d.ts +2 -2
- package/lib/resources/markets.js +8 -8
- package/lib/resources/merchants.cjs +9 -9
- package/lib/resources/merchants.d.cts +3 -3
- package/lib/resources/merchants.d.ts +2 -2
- package/lib/resources/merchants.js +8 -8
- package/lib/resources/notifications.cjs +9 -9
- package/lib/resources/notifications.d.cts +3 -3
- package/lib/resources/notifications.d.ts +2 -2
- package/lib/resources/notifications.js +8 -8
- package/lib/resources/order_amount_promotion_rules.cjs +9 -9
- package/lib/resources/order_amount_promotion_rules.d.cts +3 -3
- package/lib/resources/order_amount_promotion_rules.d.ts +2 -2
- package/lib/resources/order_amount_promotion_rules.js +8 -8
- package/lib/resources/order_copies.cjs +9 -9
- package/lib/resources/order_copies.d.cts +3 -3
- package/lib/resources/order_copies.d.ts +2 -2
- package/lib/resources/order_copies.js +8 -8
- package/lib/resources/order_factories.cjs +9 -9
- package/lib/resources/order_factories.d.cts +3 -3
- package/lib/resources/order_factories.d.ts +2 -2
- package/lib/resources/order_factories.js +8 -8
- package/lib/resources/order_subscription_items.cjs +9 -9
- package/lib/resources/order_subscription_items.d.cts +3 -3
- package/lib/resources/order_subscription_items.d.ts +2 -2
- package/lib/resources/order_subscription_items.js +8 -8
- package/lib/resources/order_subscriptions.cjs +9 -9
- package/lib/resources/order_subscriptions.d.cts +3 -3
- package/lib/resources/order_subscriptions.d.ts +2 -2
- package/lib/resources/order_subscriptions.js +8 -8
- package/lib/resources/orders.cjs +9 -9
- package/lib/resources/orders.d.cts +3 -3
- package/lib/resources/orders.d.ts +2 -2
- package/lib/resources/orders.js +8 -8
- package/lib/resources/organizations.cjs +9 -9
- package/lib/resources/organizations.d.cts +3 -3
- package/lib/resources/organizations.d.ts +2 -2
- package/lib/resources/organizations.js +8 -8
- package/lib/resources/packages.cjs +9 -9
- package/lib/resources/packages.d.cts +3 -3
- package/lib/resources/packages.d.ts +2 -2
- package/lib/resources/packages.js +8 -8
- package/lib/resources/parcel_line_items.cjs +9 -9
- package/lib/resources/parcel_line_items.d.cts +3 -3
- package/lib/resources/parcel_line_items.d.ts +2 -2
- package/lib/resources/parcel_line_items.js +8 -8
- package/lib/resources/parcels.cjs +9 -9
- package/lib/resources/parcels.d.cts +3 -3
- package/lib/resources/parcels.d.ts +2 -2
- package/lib/resources/parcels.js +8 -8
- package/lib/resources/payment_gateways.cjs +9 -9
- package/lib/resources/payment_gateways.d.cts +3 -3
- package/lib/resources/payment_gateways.d.ts +2 -2
- package/lib/resources/payment_gateways.js +8 -8
- package/lib/resources/payment_methods.cjs +9 -9
- package/lib/resources/payment_methods.d.cts +3 -3
- package/lib/resources/payment_methods.d.ts +2 -2
- package/lib/resources/payment_methods.js +8 -8
- package/lib/resources/payment_options.cjs +9 -9
- package/lib/resources/payment_options.d.cts +3 -3
- package/lib/resources/payment_options.d.ts +2 -2
- package/lib/resources/payment_options.js +8 -8
- package/lib/resources/paypal_gateways.cjs +9 -9
- package/lib/resources/paypal_gateways.d.cts +3 -3
- package/lib/resources/paypal_gateways.d.ts +2 -2
- package/lib/resources/paypal_gateways.js +8 -8
- package/lib/resources/paypal_payments.cjs +9 -9
- package/lib/resources/paypal_payments.d.cts +3 -3
- package/lib/resources/paypal_payments.d.ts +2 -2
- package/lib/resources/paypal_payments.js +8 -8
- package/lib/resources/percentage_discount_promotions.cjs +9 -9
- package/lib/resources/percentage_discount_promotions.d.cts +3 -3
- package/lib/resources/percentage_discount_promotions.d.ts +2 -2
- package/lib/resources/percentage_discount_promotions.js +8 -8
- package/lib/resources/pickups.cjs +9 -9
- package/lib/resources/pickups.d.cts +3 -3
- package/lib/resources/pickups.d.ts +2 -2
- package/lib/resources/pickups.js +8 -8
- package/lib/resources/price_frequency_tiers.cjs +9 -9
- package/lib/resources/price_frequency_tiers.d.cts +3 -3
- package/lib/resources/price_frequency_tiers.d.ts +2 -2
- package/lib/resources/price_frequency_tiers.js +8 -8
- package/lib/resources/price_list_schedulers.cjs +9 -9
- package/lib/resources/price_list_schedulers.d.cts +3 -3
- package/lib/resources/price_list_schedulers.d.ts +2 -2
- package/lib/resources/price_list_schedulers.js +8 -8
- package/lib/resources/price_lists.cjs +9 -9
- package/lib/resources/price_lists.d.cts +3 -3
- package/lib/resources/price_lists.d.ts +2 -2
- package/lib/resources/price_lists.js +8 -8
- package/lib/resources/price_tiers.cjs +9 -9
- package/lib/resources/price_tiers.d.cts +3 -3
- package/lib/resources/price_tiers.d.ts +2 -2
- package/lib/resources/price_tiers.js +8 -8
- package/lib/resources/price_volume_tiers.cjs +9 -9
- package/lib/resources/price_volume_tiers.d.cts +3 -3
- package/lib/resources/price_volume_tiers.d.ts +2 -2
- package/lib/resources/price_volume_tiers.js +8 -8
- package/lib/resources/prices.cjs +9 -9
- package/lib/resources/prices.d.cts +3 -3
- package/lib/resources/prices.d.ts +2 -2
- package/lib/resources/prices.js +8 -8
- package/lib/resources/promotion_rules.cjs +9 -9
- package/lib/resources/promotion_rules.d.cts +3 -3
- package/lib/resources/promotion_rules.d.ts +2 -2
- package/lib/resources/promotion_rules.js +8 -8
- package/lib/resources/promotions.cjs +9 -9
- package/lib/resources/promotions.d.cts +3 -3
- package/lib/resources/promotions.d.ts +2 -2
- package/lib/resources/promotions.js +8 -8
- package/lib/resources/recurring_order_copies.cjs +9 -9
- package/lib/resources/recurring_order_copies.d.cts +3 -3
- package/lib/resources/recurring_order_copies.d.ts +2 -2
- package/lib/resources/recurring_order_copies.js +8 -8
- package/lib/resources/refunds.cjs +9 -9
- package/lib/resources/refunds.d.cts +3 -3
- package/lib/resources/refunds.d.ts +2 -2
- package/lib/resources/refunds.js +8 -8
- package/lib/resources/reserved_stocks.cjs +9 -9
- package/lib/resources/reserved_stocks.d.cts +3 -3
- package/lib/resources/reserved_stocks.d.ts +2 -2
- package/lib/resources/reserved_stocks.js +8 -8
- package/lib/resources/resource_errors.cjs +9 -9
- package/lib/resources/resource_errors.d.cts +3 -3
- package/lib/resources/resource_errors.d.ts +2 -2
- package/lib/resources/resource_errors.js +8 -8
- package/lib/resources/return_line_items.cjs +9 -9
- package/lib/resources/return_line_items.d.cts +3 -3
- package/lib/resources/return_line_items.d.ts +2 -2
- package/lib/resources/return_line_items.js +8 -8
- package/lib/resources/returns.cjs +9 -9
- package/lib/resources/returns.d.cts +3 -3
- package/lib/resources/returns.d.ts +2 -2
- package/lib/resources/returns.js +8 -8
- package/lib/resources/satispay_gateways.cjs +9 -9
- package/lib/resources/satispay_gateways.d.cts +3 -3
- package/lib/resources/satispay_gateways.d.ts +2 -2
- package/lib/resources/satispay_gateways.js +8 -8
- package/lib/resources/satispay_payments.cjs +9 -9
- package/lib/resources/satispay_payments.d.cts +3 -3
- package/lib/resources/satispay_payments.d.ts +2 -2
- package/lib/resources/satispay_payments.js +8 -8
- package/lib/resources/shipments.cjs +9 -9
- package/lib/resources/shipments.d.cts +3 -3
- package/lib/resources/shipments.d.ts +2 -2
- package/lib/resources/shipments.js +8 -8
- package/lib/resources/shipping_categories.cjs +9 -9
- package/lib/resources/shipping_categories.d.cts +3 -3
- package/lib/resources/shipping_categories.d.ts +2 -2
- package/lib/resources/shipping_categories.js +8 -8
- package/lib/resources/shipping_method_tiers.cjs +9 -9
- package/lib/resources/shipping_method_tiers.d.cts +3 -3
- package/lib/resources/shipping_method_tiers.d.ts +2 -2
- package/lib/resources/shipping_method_tiers.js +8 -8
- package/lib/resources/shipping_methods.cjs +9 -9
- package/lib/resources/shipping_methods.d.cts +3 -3
- package/lib/resources/shipping_methods.d.ts +2 -2
- package/lib/resources/shipping_methods.js +8 -8
- package/lib/resources/shipping_weight_tiers.cjs +9 -9
- package/lib/resources/shipping_weight_tiers.d.cts +3 -3
- package/lib/resources/shipping_weight_tiers.d.ts +2 -2
- package/lib/resources/shipping_weight_tiers.js +8 -8
- package/lib/resources/shipping_zones.cjs +9 -9
- package/lib/resources/shipping_zones.d.cts +3 -3
- package/lib/resources/shipping_zones.d.ts +2 -2
- package/lib/resources/shipping_zones.js +8 -8
- package/lib/resources/sku_list_items.cjs +9 -9
- package/lib/resources/sku_list_items.d.cts +3 -3
- package/lib/resources/sku_list_items.d.ts +2 -2
- package/lib/resources/sku_list_items.js +8 -8
- package/lib/resources/sku_list_promotion_rules.cjs +9 -9
- package/lib/resources/sku_list_promotion_rules.d.cts +3 -3
- package/lib/resources/sku_list_promotion_rules.d.ts +2 -2
- package/lib/resources/sku_list_promotion_rules.js +8 -8
- package/lib/resources/sku_lists.cjs +9 -9
- package/lib/resources/sku_lists.d.cts +3 -3
- package/lib/resources/sku_lists.d.ts +2 -2
- package/lib/resources/sku_lists.js +8 -8
- package/lib/resources/sku_options.cjs +9 -9
- package/lib/resources/sku_options.d.cts +3 -3
- package/lib/resources/sku_options.d.ts +2 -2
- package/lib/resources/sku_options.js +8 -8
- package/lib/resources/skus.cjs +9 -9
- package/lib/resources/skus.d.cts +3 -3
- package/lib/resources/skus.d.ts +2 -2
- package/lib/resources/skus.js +8 -8
- package/lib/resources/stock_items.cjs +9 -9
- package/lib/resources/stock_items.d.cts +3 -3
- package/lib/resources/stock_items.d.ts +2 -2
- package/lib/resources/stock_items.js +8 -8
- package/lib/resources/stock_line_items.cjs +9 -9
- package/lib/resources/stock_line_items.d.cts +3 -3
- package/lib/resources/stock_line_items.d.ts +2 -2
- package/lib/resources/stock_line_items.js +8 -8
- package/lib/resources/stock_locations.cjs +9 -9
- package/lib/resources/stock_locations.d.cts +3 -3
- package/lib/resources/stock_locations.d.ts +2 -2
- package/lib/resources/stock_locations.js +8 -8
- package/lib/resources/stock_reservations.cjs +9 -9
- package/lib/resources/stock_reservations.d.cts +3 -3
- package/lib/resources/stock_reservations.d.ts +2 -2
- package/lib/resources/stock_reservations.js +8 -8
- package/lib/resources/stock_transfers.cjs +9 -9
- package/lib/resources/stock_transfers.d.cts +3 -3
- package/lib/resources/stock_transfers.d.ts +2 -2
- package/lib/resources/stock_transfers.js +8 -8
- package/lib/resources/stores.cjs +9 -9
- package/lib/resources/stores.d.cts +3 -3
- package/lib/resources/stores.d.ts +2 -2
- package/lib/resources/stores.js +8 -8
- package/lib/resources/stripe_gateways.cjs +9 -9
- package/lib/resources/stripe_gateways.d.cts +3 -3
- package/lib/resources/stripe_gateways.d.ts +2 -2
- package/lib/resources/stripe_gateways.js +8 -8
- package/lib/resources/stripe_payments.cjs +9 -9
- package/lib/resources/stripe_payments.d.cts +3 -3
- package/lib/resources/stripe_payments.d.ts +2 -2
- package/lib/resources/stripe_payments.js +8 -8
- package/lib/resources/stripe_tax_accounts.cjs +9 -9
- package/lib/resources/stripe_tax_accounts.d.cts +3 -3
- package/lib/resources/stripe_tax_accounts.d.ts +2 -2
- package/lib/resources/stripe_tax_accounts.js +8 -8
- package/lib/resources/subscription_models.cjs +9 -9
- package/lib/resources/subscription_models.d.cts +3 -3
- package/lib/resources/subscription_models.d.ts +2 -2
- package/lib/resources/subscription_models.js +8 -8
- package/lib/resources/tags.cjs +9 -9
- package/lib/resources/tags.d.cts +3 -3
- package/lib/resources/tags.d.ts +2 -2
- package/lib/resources/tags.js +8 -8
- package/lib/resources/talon_one_accounts.cjs +9 -9
- package/lib/resources/talon_one_accounts.d.cts +3 -3
- package/lib/resources/talon_one_accounts.d.ts +2 -2
- package/lib/resources/talon_one_accounts.js +8 -8
- package/lib/resources/tax_calculators.cjs +9 -9
- package/lib/resources/tax_calculators.d.cts +3 -3
- package/lib/resources/tax_calculators.d.ts +2 -2
- package/lib/resources/tax_calculators.js +8 -8
- package/lib/resources/tax_categories.cjs +9 -9
- package/lib/resources/tax_categories.d.cts +3 -3
- package/lib/resources/tax_categories.d.ts +2 -2
- package/lib/resources/tax_categories.js +8 -8
- package/lib/resources/tax_rules.cjs +9 -9
- package/lib/resources/tax_rules.d.cts +3 -3
- package/lib/resources/tax_rules.d.ts +2 -2
- package/lib/resources/tax_rules.js +8 -8
- package/lib/resources/taxjar_accounts.cjs +9 -9
- package/lib/resources/taxjar_accounts.d.cts +3 -3
- package/lib/resources/taxjar_accounts.d.ts +2 -2
- package/lib/resources/taxjar_accounts.js +8 -8
- package/lib/resources/transactions.cjs +9 -9
- package/lib/resources/transactions.d.cts +3 -3
- package/lib/resources/transactions.d.ts +2 -2
- package/lib/resources/transactions.js +8 -8
- package/lib/resources/versions.cjs +9 -9
- package/lib/resources/versions.d.cts +3 -3
- package/lib/resources/versions.d.ts +2 -2
- package/lib/resources/versions.js +8 -8
- package/lib/resources/vertex_accounts.cjs +9 -9
- package/lib/resources/vertex_accounts.d.cts +3 -3
- package/lib/resources/vertex_accounts.d.ts +2 -2
- package/lib/resources/vertex_accounts.js +8 -8
- package/lib/resources/voids.cjs +9 -9
- package/lib/resources/voids.d.cts +3 -3
- package/lib/resources/voids.d.ts +2 -2
- package/lib/resources/voids.js +8 -8
- package/lib/resources/webhooks.cjs +9 -9
- package/lib/resources/webhooks.d.cts +3 -3
- package/lib/resources/webhooks.d.ts +2 -2
- package/lib/resources/webhooks.js +8 -8
- package/lib/resources/wire_transfers.cjs +9 -9
- package/lib/resources/wire_transfers.d.cts +3 -3
- package/lib/resources/wire_transfers.d.ts +2 -2
- package/lib/resources/wire_transfers.js +8 -8
- package/lib/static.cjs +10 -10
- package/lib/static.d.cts +2 -2
- package/lib/static.d.ts +2 -2
- package/lib/static.js +9 -9
- package/lib/util.cjs +5 -5
- package/lib/util.js +1 -1
- package/package.json +6 -8
- package/lib/api-D2LyR3zD.d.cts +0 -18255
- package/lib/api-D8k2hYlQ.d.ts +0 -18255
- package/lib/chunk-2AIPAXOH.cjs +0 -65
- package/lib/chunk-2AIPAXOH.cjs.map +0 -1
- package/lib/chunk-2CPNHJAZ.cjs +0 -51
- package/lib/chunk-2CPNHJAZ.cjs.map +0 -1
- package/lib/chunk-2H2ODZUY.cjs +0 -160
- package/lib/chunk-2H2ODZUY.cjs.map +0 -1
- package/lib/chunk-2JB3IVP4.js +0 -99
- package/lib/chunk-2JB3IVP4.js.map +0 -1
- package/lib/chunk-2M54XID3.cjs +0 -51
- package/lib/chunk-2M54XID3.cjs.map +0 -1
- package/lib/chunk-2M5MIMZG.cjs +0 -55
- package/lib/chunk-2M5MIMZG.cjs.map +0 -1
- package/lib/chunk-2QBP2WHJ.js +0 -49
- package/lib/chunk-2QBP2WHJ.js.map +0 -1
- package/lib/chunk-2VNQTC3B.cjs +0 -56
- package/lib/chunk-2VNQTC3B.cjs.map +0 -1
- package/lib/chunk-2XDNWGMO.cjs +0 -99
- package/lib/chunk-2XDNWGMO.cjs.map +0 -1
- package/lib/chunk-2ZVHALAO.cjs +0 -39
- package/lib/chunk-2ZVHALAO.cjs.map +0 -1
- package/lib/chunk-33CXJXIW.js +0 -63
- package/lib/chunk-33CXJXIW.js.map +0 -1
- package/lib/chunk-34MN4L45.js +0 -37
- package/lib/chunk-34MN4L45.js.map +0 -1
- package/lib/chunk-3CBCQQBN.cjs +0 -79
- package/lib/chunk-3CBCQQBN.cjs.map +0 -1
- package/lib/chunk-3FQU4LWE.js +0 -53
- package/lib/chunk-3FQU4LWE.js.map +0 -1
- package/lib/chunk-3KNN5WPE.js +0 -55
- package/lib/chunk-3KNN5WPE.js.map +0 -1
- package/lib/chunk-3QQQMHYY.js +0 -72
- package/lib/chunk-3QQQMHYY.js.map +0 -1
- package/lib/chunk-3WTRPII2.cjs +0 -47
- package/lib/chunk-3WTRPII2.cjs.map +0 -1
- package/lib/chunk-3X6OVCVT.cjs +0 -57
- package/lib/chunk-3X6OVCVT.cjs.map +0 -1
- package/lib/chunk-3YINNWNG.cjs +0 -51
- package/lib/chunk-3YINNWNG.cjs.map +0 -1
- package/lib/chunk-3ZOHHEJR.js +0 -59
- package/lib/chunk-3ZOHHEJR.js.map +0 -1
- package/lib/chunk-43SLAYP5.js +0 -68
- package/lib/chunk-43SLAYP5.js.map +0 -1
- package/lib/chunk-45YSQMGA.cjs +0 -81
- package/lib/chunk-45YSQMGA.cjs.map +0 -1
- package/lib/chunk-46ESSSNR.cjs +0 -102
- package/lib/chunk-46ESSSNR.cjs.map +0 -1
- package/lib/chunk-4IOIA2JQ.cjs +0 -93
- package/lib/chunk-4IOIA2JQ.cjs.map +0 -1
- package/lib/chunk-4L73VYT5.cjs +0 -51
- package/lib/chunk-4L73VYT5.cjs.map +0 -1
- package/lib/chunk-4MCWJ5GT.js +0 -57
- package/lib/chunk-4MCWJ5GT.js.map +0 -1
- package/lib/chunk-4MDMKEMH.js +0 -645
- package/lib/chunk-4MDMKEMH.js.map +0 -1
- package/lib/chunk-4XQNILDJ.js +0 -59
- package/lib/chunk-4XQNILDJ.js.map +0 -1
- package/lib/chunk-5BIP4OLZ.js +0 -54
- package/lib/chunk-5BIP4OLZ.js.map +0 -1
- package/lib/chunk-5QHMVNEQ.cjs +0 -34
- package/lib/chunk-5QHMVNEQ.cjs.map +0 -1
- package/lib/chunk-5TL34ZY6.js +0 -49
- package/lib/chunk-5TL34ZY6.js.map +0 -1
- package/lib/chunk-5WUI6OHH.cjs +0 -43
- package/lib/chunk-5WUI6OHH.cjs.map +0 -1
- package/lib/chunk-62EOOGD4.js +0 -128
- package/lib/chunk-62EOOGD4.js.map +0 -1
- package/lib/chunk-65LSQZTV.js +0 -45
- package/lib/chunk-65LSQZTV.js.map +0 -1
- package/lib/chunk-67LLQOPH.js +0 -55
- package/lib/chunk-67LLQOPH.js.map +0 -1
- package/lib/chunk-67TJ6ALR.js +0 -47
- package/lib/chunk-67TJ6ALR.js.map +0 -1
- package/lib/chunk-67U7A4FV.cjs +0 -72
- package/lib/chunk-67U7A4FV.cjs.map +0 -1
- package/lib/chunk-6DRGTFBA.cjs +0 -57
- package/lib/chunk-6DRGTFBA.cjs.map +0 -1
- package/lib/chunk-6EIS4TN3.js +0 -49
- package/lib/chunk-6EIS4TN3.js.map +0 -1
- package/lib/chunk-6KOFQEOI.cjs +0 -60
- package/lib/chunk-6KOFQEOI.cjs.map +0 -1
- package/lib/chunk-6KXHU2QJ.js +0 -70
- package/lib/chunk-6KXHU2QJ.js.map +0 -1
- package/lib/chunk-6LHRWK5U.cjs +0 -39
- package/lib/chunk-6LHRWK5U.cjs.map +0 -1
- package/lib/chunk-6PKJDHVC.js +0 -48
- package/lib/chunk-6PKJDHVC.js.map +0 -1
- package/lib/chunk-6S7EJUCA.cjs +0 -47
- package/lib/chunk-6S7EJUCA.cjs.map +0 -1
- package/lib/chunk-6SGYQRO6.js +0 -53
- package/lib/chunk-6SGYQRO6.js.map +0 -1
- package/lib/chunk-6SO2W3YA.js +0 -56
- package/lib/chunk-6SO2W3YA.js.map +0 -1
- package/lib/chunk-6STKOQR7.cjs +0 -63
- package/lib/chunk-6STKOQR7.cjs.map +0 -1
- package/lib/chunk-7P3ZTIQX.cjs +0 -55
- package/lib/chunk-7P3ZTIQX.cjs.map +0 -1
- package/lib/chunk-7YWXHAMP.cjs +0 -61
- package/lib/chunk-7YWXHAMP.cjs.map +0 -1
- package/lib/chunk-7Z7FQA33.cjs +0 -661
- package/lib/chunk-7Z7FQA33.cjs.map +0 -1
- package/lib/chunk-A2SZPZSG.cjs +0 -50
- package/lib/chunk-A2SZPZSG.cjs.map +0 -1
- package/lib/chunk-A3VWVK2F.js +0 -36
- package/lib/chunk-A3VWVK2F.js.map +0 -1
- package/lib/chunk-A4MUL4NB.js +0 -53
- package/lib/chunk-A4MUL4NB.js.map +0 -1
- package/lib/chunk-A5KAGODH.js +0 -51
- package/lib/chunk-A5KAGODH.js.map +0 -1
- package/lib/chunk-ALCZSKPR.cjs +0 -88
- package/lib/chunk-ALCZSKPR.cjs.map +0 -1
- package/lib/chunk-AWV5Y4SH.js +0 -70
- package/lib/chunk-AWV5Y4SH.js.map +0 -1
- package/lib/chunk-BGH55KTL.js +0 -55
- package/lib/chunk-BGH55KTL.js.map +0 -1
- package/lib/chunk-BGHPRKU4.cjs +0 -51
- package/lib/chunk-BGHPRKU4.cjs.map +0 -1
- package/lib/chunk-BHXCVURA.cjs +0 -130
- package/lib/chunk-BHXCVURA.cjs.map +0 -1
- package/lib/chunk-BNWM637R.js +0 -73
- package/lib/chunk-BNWM637R.js.map +0 -1
- package/lib/chunk-BQ4VRKE7.js +0 -28
- package/lib/chunk-BQ4VRKE7.js.map +0 -1
- package/lib/chunk-BRXYDOGG.cjs +0 -56
- package/lib/chunk-BRXYDOGG.cjs.map +0 -1
- package/lib/chunk-BT72RZCE.js +0 -36
- package/lib/chunk-BT72RZCE.js.map +0 -1
- package/lib/chunk-BTLPF6RH.js +0 -49
- package/lib/chunk-BTLPF6RH.js.map +0 -1
- package/lib/chunk-BUHV5UDN.cjs +0 -54
- package/lib/chunk-BUHV5UDN.cjs.map +0 -1
- package/lib/chunk-C27B7IUW.cjs +0 -39
- package/lib/chunk-C27B7IUW.cjs.map +0 -1
- package/lib/chunk-C47UWH7R.js +0 -48
- package/lib/chunk-C47UWH7R.js.map +0 -1
- package/lib/chunk-C6ACTKJH.js +0 -48
- package/lib/chunk-C6ACTKJH.js.map +0 -1
- package/lib/chunk-CETB5FAI.js +0 -41
- package/lib/chunk-CETB5FAI.js.map +0 -1
- package/lib/chunk-CHYP5F26.js +0 -59
- package/lib/chunk-CHYP5F26.js.map +0 -1
- package/lib/chunk-CQASXR3J.cjs +0 -60
- package/lib/chunk-CQASXR3J.cjs.map +0 -1
- package/lib/chunk-D2HUJSJV.cjs +0 -74
- package/lib/chunk-D2HUJSJV.cjs.map +0 -1
- package/lib/chunk-D7SALAS2.cjs +0 -29
- package/lib/chunk-D7SALAS2.cjs.map +0 -1
- package/lib/chunk-D7VHCT5M.cjs +0 -47
- package/lib/chunk-D7VHCT5M.cjs.map +0 -1
- package/lib/chunk-DIE5NWNX.js +0 -105
- package/lib/chunk-DIE5NWNX.js.map +0 -1
- package/lib/chunk-DM62R5CL.cjs +0 -50
- package/lib/chunk-DM62R5CL.cjs.map +0 -1
- package/lib/chunk-DOY7VJPG.js +0 -58
- package/lib/chunk-DOY7VJPG.js.map +0 -1
- package/lib/chunk-DPE4FTTS.cjs +0 -42
- package/lib/chunk-DPE4FTTS.cjs.map +0 -1
- package/lib/chunk-DPJDEC6A.js +0 -42
- package/lib/chunk-DPJDEC6A.js.map +0 -1
- package/lib/chunk-DQWWKXLR.cjs +0 -51
- package/lib/chunk-DQWWKXLR.cjs.map +0 -1
- package/lib/chunk-E2EVY45K.js +0 -48
- package/lib/chunk-E2EVY45K.js.map +0 -1
- package/lib/chunk-E2G3K7H4.js +0 -32
- package/lib/chunk-E2G3K7H4.js.map +0 -1
- package/lib/chunk-EAR4AXVU.cjs +0 -51
- package/lib/chunk-EAR4AXVU.cjs.map +0 -1
- package/lib/chunk-EFQH4OGQ.cjs +0 -46
- package/lib/chunk-EFQH4OGQ.cjs.map +0 -1
- package/lib/chunk-EJNNEY2F.cjs +0 -60
- package/lib/chunk-EJNNEY2F.cjs.map +0 -1
- package/lib/chunk-ERA2COOU.js +0 -37
- package/lib/chunk-ERA2COOU.js.map +0 -1
- package/lib/chunk-ESGRB4YB.cjs +0 -55
- package/lib/chunk-ESGRB4YB.cjs.map +0 -1
- package/lib/chunk-EVVUYC7T.cjs +0 -47
- package/lib/chunk-EVVUYC7T.cjs.map +0 -1
- package/lib/chunk-EZHUH52J.cjs +0 -54
- package/lib/chunk-EZHUH52J.cjs.map +0 -1
- package/lib/chunk-F3UMNXXH.js +0 -45
- package/lib/chunk-F3UMNXXH.js.map +0 -1
- package/lib/chunk-F46RW7IU.cjs +0 -109
- package/lib/chunk-F46RW7IU.cjs.map +0 -1
- package/lib/chunk-F4P2PUF7.cjs +0 -73
- package/lib/chunk-F4P2PUF7.cjs.map +0 -1
- package/lib/chunk-F6WABN7F.cjs +0 -105
- package/lib/chunk-F6WABN7F.cjs.map +0 -1
- package/lib/chunk-FDW7JX5A.cjs +0 -55
- package/lib/chunk-FDW7JX5A.cjs.map +0 -1
- package/lib/chunk-FFX5MED5.js +0 -55
- package/lib/chunk-FFX5MED5.js.map +0 -1
- package/lib/chunk-FI2PWG6C.js +0 -63
- package/lib/chunk-FI2PWG6C.js.map +0 -1
- package/lib/chunk-FI7BWBCX.js +0 -63
- package/lib/chunk-FI7BWBCX.js.map +0 -1
- package/lib/chunk-FIM76CMU.cjs +0 -42
- package/lib/chunk-FIM76CMU.cjs.map +0 -1
- package/lib/chunk-FMGDNZQ6.cjs +0 -51
- package/lib/chunk-FMGDNZQ6.cjs.map +0 -1
- package/lib/chunk-FTYGJZZM.js +0 -44
- package/lib/chunk-FTYGJZZM.js.map +0 -1
- package/lib/chunk-FUDBWYKD.js +0 -49
- package/lib/chunk-FUDBWYKD.js.map +0 -1
- package/lib/chunk-G2ZCHH4W.js +0 -55
- package/lib/chunk-G2ZCHH4W.js.map +0 -1
- package/lib/chunk-G5IOYKFS.js +0 -53
- package/lib/chunk-G5IOYKFS.js.map +0 -1
- package/lib/chunk-G74VYKRY.js +0 -45
- package/lib/chunk-G74VYKRY.js.map +0 -1
- package/lib/chunk-G7MROYQP.cjs +0 -42
- package/lib/chunk-G7MROYQP.cjs.map +0 -1
- package/lib/chunk-GAPLQGJO.js +0 -97
- package/lib/chunk-GAPLQGJO.js.map +0 -1
- package/lib/chunk-GHYWZ5KT.cjs +0 -99
- package/lib/chunk-GHYWZ5KT.cjs.map +0 -1
- package/lib/chunk-GJOZR5TC.cjs +0 -93
- package/lib/chunk-GJOZR5TC.cjs.map +0 -1
- package/lib/chunk-GKUFMSZL.js +0 -32
- package/lib/chunk-GKUFMSZL.js.map +0 -1
- package/lib/chunk-GLL264QG.cjs +0 -55
- package/lib/chunk-GLL264QG.cjs.map +0 -1
- package/lib/chunk-H5CKBXQS.js +0 -53
- package/lib/chunk-H5CKBXQS.js.map +0 -1
- package/lib/chunk-H7EX22DB.cjs +0 -65
- package/lib/chunk-H7EX22DB.cjs.map +0 -1
- package/lib/chunk-HBDXHKBE.js +0 -91
- package/lib/chunk-HBDXHKBE.js.map +0 -1
- package/lib/chunk-HBVSEXIQ.js +0 -58
- package/lib/chunk-HBVSEXIQ.js.map +0 -1
- package/lib/chunk-HOJUXLZD.cjs +0 -75
- package/lib/chunk-HOJUXLZD.cjs.map +0 -1
- package/lib/chunk-HU6DRUWJ.js +0 -86
- package/lib/chunk-HU6DRUWJ.js.map +0 -1
- package/lib/chunk-HUDH634O.cjs +0 -67
- package/lib/chunk-HUDH634O.cjs.map +0 -1
- package/lib/chunk-I2NZB6KN.js +0 -44
- package/lib/chunk-I2NZB6KN.js.map +0 -1
- package/lib/chunk-I3ZMOPMJ.js +0 -52
- package/lib/chunk-I3ZMOPMJ.js.map +0 -1
- package/lib/chunk-I56ZABWO.cjs +0 -38
- package/lib/chunk-I56ZABWO.cjs.map +0 -1
- package/lib/chunk-I5VOVSS7.cjs +0 -71
- package/lib/chunk-I5VOVSS7.cjs.map +0 -1
- package/lib/chunk-I64U2VMD.cjs +0 -51
- package/lib/chunk-I64U2VMD.cjs.map +0 -1
- package/lib/chunk-IHPFHOEJ.js +0 -40
- package/lib/chunk-IHPFHOEJ.js.map +0 -1
- package/lib/chunk-IKHD5UQP.cjs +0 -163
- package/lib/chunk-IKHD5UQP.cjs.map +0 -1
- package/lib/chunk-INW4SZG7.js +0 -93
- package/lib/chunk-INW4SZG7.js.map +0 -1
- package/lib/chunk-IODJPN7Z.js +0 -77
- package/lib/chunk-IODJPN7Z.js.map +0 -1
- package/lib/chunk-IQQNG3U2.cjs +0 -55
- package/lib/chunk-IQQNG3U2.cjs.map +0 -1
- package/lib/chunk-IQVSM3MS.js +0 -57
- package/lib/chunk-IQVSM3MS.js.map +0 -1
- package/lib/chunk-IT2MWRJY.js +0 -54
- package/lib/chunk-IT2MWRJY.js.map +0 -1
- package/lib/chunk-IXOAGKRD.cjs +0 -65
- package/lib/chunk-IXOAGKRD.cjs.map +0 -1
- package/lib/chunk-IYPHDMBD.js +0 -52
- package/lib/chunk-IYPHDMBD.js.map +0 -1
- package/lib/chunk-J32Z2XNX.cjs +0 -57
- package/lib/chunk-J32Z2XNX.cjs.map +0 -1
- package/lib/chunk-J3IOXLY2.cjs +0 -107
- package/lib/chunk-J3IOXLY2.cjs.map +0 -1
- package/lib/chunk-J42WGTN6.cjs +0 -50
- package/lib/chunk-J42WGTN6.cjs.map +0 -1
- package/lib/chunk-JAOFRM22.js +0 -61
- package/lib/chunk-JAOFRM22.js.map +0 -1
- package/lib/chunk-JCOJGOXF.cjs +0 -107
- package/lib/chunk-JCOJGOXF.cjs.map +0 -1
- package/lib/chunk-JD3MI7AO.js +0 -55
- package/lib/chunk-JD3MI7AO.js.map +0 -1
- package/lib/chunk-JDFDWBXQ.js +0 -53
- package/lib/chunk-JDFDWBXQ.js.map +0 -1
- package/lib/chunk-JLLZQ7JR.cjs +0 -57
- package/lib/chunk-JLLZQ7JR.cjs.map +0 -1
- package/lib/chunk-JPKZBEAY.js +0 -59
- package/lib/chunk-JPKZBEAY.js.map +0 -1
- package/lib/chunk-JPX4RLBV.js +0 -158
- package/lib/chunk-JPX4RLBV.js.map +0 -1
- package/lib/chunk-JUVEIRM4.cjs +0 -47
- package/lib/chunk-JUVEIRM4.cjs.map +0 -1
- package/lib/chunk-JVF5KY2J.cjs +0 -22
- package/lib/chunk-JVF5KY2J.cjs.map +0 -1
- package/lib/chunk-JWB5Y2WT.cjs +0 -58
- package/lib/chunk-JWB5Y2WT.cjs.map +0 -1
- package/lib/chunk-JWLNUOL5.js +0 -79
- package/lib/chunk-JWLNUOL5.js.map +0 -1
- package/lib/chunk-JYSIXEKG.cjs +0 -54
- package/lib/chunk-JYSIXEKG.cjs.map +0 -1
- package/lib/chunk-K2E4PX3F.cjs +0 -51
- package/lib/chunk-K2E4PX3F.cjs.map +0 -1
- package/lib/chunk-K3CF32TJ.cjs +0 -46
- package/lib/chunk-K3CF32TJ.cjs.map +0 -1
- package/lib/chunk-K6MX6OZL.js +0 -44
- package/lib/chunk-K6MX6OZL.js.map +0 -1
- package/lib/chunk-K7AR7Z3J.cjs +0 -58
- package/lib/chunk-K7AR7Z3J.cjs.map +0 -1
- package/lib/chunk-KAZKQXUO.js +0 -103
- package/lib/chunk-KAZKQXUO.js.map +0 -1
- package/lib/chunk-KDDMRBB6.cjs +0 -30
- package/lib/chunk-KDDMRBB6.cjs.map +0 -1
- package/lib/chunk-KGZ3FTYR.cjs +0 -43
- package/lib/chunk-KGZ3FTYR.cjs.map +0 -1
- package/lib/chunk-KM27D322.cjs +0 -70
- package/lib/chunk-KM27D322.cjs.map +0 -1
- package/lib/chunk-KMWKIU65.js +0 -107
- package/lib/chunk-KMWKIU65.js.map +0 -1
- package/lib/chunk-KT2FGWBT.cjs +0 -59
- package/lib/chunk-KT2FGWBT.cjs.map +0 -1
- package/lib/chunk-KVRZZTDE.js +0 -40
- package/lib/chunk-KVRZZTDE.js.map +0 -1
- package/lib/chunk-KWOKL6HK.cjs +0 -59
- package/lib/chunk-KWOKL6HK.cjs.map +0 -1
- package/lib/chunk-LE4I5AHS.js +0 -53
- package/lib/chunk-LE4I5AHS.js.map +0 -1
- package/lib/chunk-LESXALEZ.js +0 -49
- package/lib/chunk-LESXALEZ.js.map +0 -1
- package/lib/chunk-LF3CZYGK.js +0 -49
- package/lib/chunk-LF3CZYGK.js.map +0 -1
- package/lib/chunk-LGOJTWKL.js +0 -52
- package/lib/chunk-LGOJTWKL.js.map +0 -1
- package/lib/chunk-LIIFLHEH.cjs +0 -286
- package/lib/chunk-LIIFLHEH.cjs.map +0 -1
- package/lib/chunk-LKBPLGXI.cjs +0 -57
- package/lib/chunk-LKBPLGXI.cjs.map +0 -1
- package/lib/chunk-LKVJRTT2.cjs +0 -72
- package/lib/chunk-LKVJRTT2.cjs.map +0 -1
- package/lib/chunk-LTCWS2HF.cjs +0 -43
- package/lib/chunk-LTCWS2HF.cjs.map +0 -1
- package/lib/chunk-LUS6TTEC.js +0 -284
- package/lib/chunk-LUS6TTEC.js.map +0 -1
- package/lib/chunk-M37U5CLH.js +0 -102
- package/lib/chunk-M37U5CLH.js.map +0 -1
- package/lib/chunk-M6BKGQCR.js +0 -100
- package/lib/chunk-M6BKGQCR.js.map +0 -1
- package/lib/chunk-MBROL4C2.cjs +0 -101
- package/lib/chunk-MBROL4C2.cjs.map +0 -1
- package/lib/chunk-MCZXCMRV.js +0 -97
- package/lib/chunk-MCZXCMRV.js.map +0 -1
- package/lib/chunk-MHCLPVOI.js +0 -56
- package/lib/chunk-MHCLPVOI.js.map +0 -1
- package/lib/chunk-MHQOHOZS.js +0 -97
- package/lib/chunk-MHQOHOZS.js.map +0 -1
- package/lib/chunk-MKV2B7P5.cjs +0 -46
- package/lib/chunk-MKV2B7P5.cjs.map +0 -1
- package/lib/chunk-MOKBZVUU.js +0 -53
- package/lib/chunk-MOKBZVUU.js.map +0 -1
- package/lib/chunk-MUMTGXL2.js +0 -57
- package/lib/chunk-MUMTGXL2.js.map +0 -1
- package/lib/chunk-MXT6VH7V.js +0 -45
- package/lib/chunk-MXT6VH7V.js.map +0 -1
- package/lib/chunk-MYWCHH2I.cjs +0 -79
- package/lib/chunk-MYWCHH2I.cjs.map +0 -1
- package/lib/chunk-N35FM5P4.js +0 -64
- package/lib/chunk-N35FM5P4.js.map +0 -1
- package/lib/chunk-N4COQM5Q.js +0 -37
- package/lib/chunk-N4COQM5Q.js.map +0 -1
- package/lib/chunk-NEVN2SMR.js +0 -53
- package/lib/chunk-NEVN2SMR.js.map +0 -1
- package/lib/chunk-NQHQV4PY.js +0 -31
- package/lib/chunk-NQHQV4PY.js.map +0 -1
- package/lib/chunk-NRZBSJPM.js +0 -45
- package/lib/chunk-NRZBSJPM.js.map +0 -1
- package/lib/chunk-NTAREPLJ.js +0 -91
- package/lib/chunk-NTAREPLJ.js.map +0 -1
- package/lib/chunk-NVNPOVIQ.cjs +0 -46
- package/lib/chunk-NVNPOVIQ.cjs.map +0 -1
- package/lib/chunk-NWKIFDQH.cjs +0 -55
- package/lib/chunk-NWKIFDQH.cjs.map +0 -1
- package/lib/chunk-O3NWYOPV.cjs +0 -55
- package/lib/chunk-O3NWYOPV.cjs.map +0 -1
- package/lib/chunk-O66EZDG2.cjs +0 -53
- package/lib/chunk-O66EZDG2.cjs.map +0 -1
- package/lib/chunk-OA4DVMEQ.cjs +0 -59
- package/lib/chunk-OA4DVMEQ.cjs.map +0 -1
- package/lib/chunk-OA7RZ24N.js +0 -49
- package/lib/chunk-OA7RZ24N.js.map +0 -1
- package/lib/chunk-OEUSTDGS.cjs +0 -42
- package/lib/chunk-OEUSTDGS.cjs.map +0 -1
- package/lib/chunk-OH5533KN.cjs +0 -55
- package/lib/chunk-OH5533KN.cjs.map +0 -1
- package/lib/chunk-OL6PRNU5.js +0 -49
- package/lib/chunk-OL6PRNU5.js.map +0 -1
- package/lib/chunk-OPPZLGKC.js +0 -53
- package/lib/chunk-OPPZLGKC.js.map +0 -1
- package/lib/chunk-OSZIVS3X.cjs +0 -99
- package/lib/chunk-OSZIVS3X.cjs.map +0 -1
- package/lib/chunk-OV4JT553.cjs +0 -51
- package/lib/chunk-OV4JT553.cjs.map +0 -1
- package/lib/chunk-P2OLPCWV.cjs +0 -54
- package/lib/chunk-P2OLPCWV.cjs.map +0 -1
- package/lib/chunk-P7E2LQ6Q.js +0 -53
- package/lib/chunk-P7E2LQ6Q.js.map +0 -1
- package/lib/chunk-PA43CMMI.cjs +0 -55
- package/lib/chunk-PA43CMMI.cjs.map +0 -1
- package/lib/chunk-PBE4XAIR.cjs +0 -65
- package/lib/chunk-PBE4XAIR.cjs.map +0 -1
- package/lib/chunk-PBIARBZH.cjs +0 -51
- package/lib/chunk-PBIARBZH.cjs.map +0 -1
- package/lib/chunk-PLIS7EYD.js +0 -41
- package/lib/chunk-PLIS7EYD.js.map +0 -1
- package/lib/chunk-PXSMF4QS.cjs +0 -57
- package/lib/chunk-PXSMF4QS.cjs.map +0 -1
- package/lib/chunk-Q3ULISRX.cjs +0 -57
- package/lib/chunk-Q3ULISRX.cjs.map +0 -1
- package/lib/chunk-QB7GGVK7.js +0 -52
- package/lib/chunk-QB7GGVK7.js.map +0 -1
- package/lib/chunk-QGFAOPJG.cjs +0 -26
- package/lib/chunk-QGFAOPJG.cjs.map +0 -1
- package/lib/chunk-QPQRYXII.js +0 -44
- package/lib/chunk-QPQRYXII.js.map +0 -1
- package/lib/chunk-QVJM26QQ.cjs +0 -95
- package/lib/chunk-QVJM26QQ.cjs.map +0 -1
- package/lib/chunk-QXYNFQDJ.js +0 -24
- package/lib/chunk-QXYNFQDJ.js.map +0 -1
- package/lib/chunk-QYVJGMYT.cjs +0 -51
- package/lib/chunk-QYVJGMYT.cjs.map +0 -1
- package/lib/chunk-R2LRLUUY.js +0 -35
- package/lib/chunk-R2LRLUUY.js.map +0 -1
- package/lib/chunk-R5NSJSKB.js +0 -49
- package/lib/chunk-R5NSJSKB.js.map +0 -1
- package/lib/chunk-RAF3LK5T.cjs +0 -51
- package/lib/chunk-RAF3LK5T.cjs.map +0 -1
- package/lib/chunk-RHG3UVET.cjs +0 -44
- package/lib/chunk-RHG3UVET.cjs.map +0 -1
- package/lib/chunk-RJJQU44M.js +0 -45
- package/lib/chunk-RJJQU44M.js.map +0 -1
- package/lib/chunk-RK3E3UJ2.cjs +0 -61
- package/lib/chunk-RK3E3UJ2.cjs.map +0 -1
- package/lib/chunk-RZMSILW7.js +0 -71
- package/lib/chunk-RZMSILW7.js.map +0 -1
- package/lib/chunk-SDGSOWXI.js +0 -49
- package/lib/chunk-SDGSOWXI.js.map +0 -1
- package/lib/chunk-SFFSVEXJ.js +0 -55
- package/lib/chunk-SFFSVEXJ.js.map +0 -1
- package/lib/chunk-SKETQJTW.cjs +0 -59
- package/lib/chunk-SKETQJTW.cjs.map +0 -1
- package/lib/chunk-SRW7OWVS.cjs +0 -40
- package/lib/chunk-SRW7OWVS.cjs.map +0 -1
- package/lib/chunk-SWBSSC3A.js +0 -97
- package/lib/chunk-SWBSSC3A.js.map +0 -1
- package/lib/chunk-SXPZRQBF.js +0 -49
- package/lib/chunk-SXPZRQBF.js.map +0 -1
- package/lib/chunk-T2VDBKD4.js +0 -44
- package/lib/chunk-T2VDBKD4.js.map +0 -1
- package/lib/chunk-T5AO4445.cjs +0 -49
- package/lib/chunk-T5AO4445.cjs.map +0 -1
- package/lib/chunk-TE3N57V6.js +0 -40
- package/lib/chunk-TE3N57V6.js.map +0 -1
- package/lib/chunk-TFJYQUEH.cjs +0 -51
- package/lib/chunk-TFJYQUEH.cjs.map +0 -1
- package/lib/chunk-TIINXXHU.cjs +0 -46
- package/lib/chunk-TIINXXHU.cjs.map +0 -1
- package/lib/chunk-TLOIOTYF.cjs +0 -66
- package/lib/chunk-TLOIOTYF.cjs.map +0 -1
- package/lib/chunk-TWL4WEOL.js +0 -49
- package/lib/chunk-TWL4WEOL.js.map +0 -1
- package/lib/chunk-TZAGUXNS.cjs +0 -61
- package/lib/chunk-TZAGUXNS.cjs.map +0 -1
- package/lib/chunk-U22VLCMN.cjs +0 -284
- package/lib/chunk-U22VLCMN.cjs.map +0 -1
- package/lib/chunk-U25QRMJY.js +0 -28
- package/lib/chunk-U25QRMJY.js.map +0 -1
- package/lib/chunk-U4ELOYK7.cjs +0 -42
- package/lib/chunk-U4ELOYK7.cjs.map +0 -1
- package/lib/chunk-U7OGOZ5B.cjs +0 -51
- package/lib/chunk-U7OGOZ5B.cjs.map +0 -1
- package/lib/chunk-UEDVN7C4.js +0 -49
- package/lib/chunk-UEDVN7C4.js.map +0 -1
- package/lib/chunk-UEQ3CRVM.cjs +0 -50
- package/lib/chunk-UEQ3CRVM.cjs.map +0 -1
- package/lib/chunk-UG5XMVH3.cjs +0 -50
- package/lib/chunk-UG5XMVH3.cjs.map +0 -1
- package/lib/chunk-URMWXBVU.cjs +0 -99
- package/lib/chunk-URMWXBVU.cjs.map +0 -1
- package/lib/chunk-UUY77JM3.js +0 -151
- package/lib/chunk-UUY77JM3.js.map +0 -1
- package/lib/chunk-UWM5SGDS.js +0 -65
- package/lib/chunk-UWM5SGDS.js.map +0 -1
- package/lib/chunk-VDC2LQMB.cjs +0 -57
- package/lib/chunk-VDC2LQMB.cjs.map +0 -1
- package/lib/chunk-VEBN2D2K.js +0 -53
- package/lib/chunk-VEBN2D2K.js.map +0 -1
- package/lib/chunk-VGMMPMUL.js +0 -55
- package/lib/chunk-VGMMPMUL.js.map +0 -1
- package/lib/chunk-VKNNJ5CS.js +0 -49
- package/lib/chunk-VKNNJ5CS.js.map +0 -1
- package/lib/chunk-VO5QTCJ4.js +0 -97
- package/lib/chunk-VO5QTCJ4.js.map +0 -1
- package/lib/chunk-VRJJX4JV.js +0 -40
- package/lib/chunk-VRJJX4JV.js.map +0 -1
- package/lib/chunk-VT5HP44I.js +0 -49
- package/lib/chunk-VT5HP44I.js.map +0 -1
- package/lib/chunk-VUVL5VPT.js +0 -49
- package/lib/chunk-VUVL5VPT.js.map +0 -1
- package/lib/chunk-VZGJGOH3.js +0 -55
- package/lib/chunk-VZGJGOH3.js.map +0 -1
- package/lib/chunk-W2EFIUTW.js +0 -40
- package/lib/chunk-W2EFIUTW.js.map +0 -1
- package/lib/chunk-WAC3LO4S.cjs +0 -51
- package/lib/chunk-WAC3LO4S.cjs.map +0 -1
- package/lib/chunk-WFBWZVOK.js +0 -77
- package/lib/chunk-WFBWZVOK.js.map +0 -1
- package/lib/chunk-WK3SIZUG.js +0 -41
- package/lib/chunk-WK3SIZUG.js.map +0 -1
- package/lib/chunk-WLTZ66G4.cjs +0 -38
- package/lib/chunk-WLTZ66G4.cjs.map +0 -1
- package/lib/chunk-WO4S2ZUQ.js +0 -49
- package/lib/chunk-WO4S2ZUQ.js.map +0 -1
- package/lib/chunk-XD7GS4QW.js +0 -20
- package/lib/chunk-XD7GS4QW.js.map +0 -1
- package/lib/chunk-XFHMLWZM.js +0 -63
- package/lib/chunk-XFHMLWZM.js.map +0 -1
- package/lib/chunk-XKERR6OR.js +0 -276
- package/lib/chunk-XKERR6OR.js.map +0 -1
- package/lib/chunk-XOVAUMDC.cjs +0 -55
- package/lib/chunk-XOVAUMDC.cjs.map +0 -1
- package/lib/chunk-XYBXDS3Z.cjs +0 -30
- package/lib/chunk-XYBXDS3Z.cjs.map +0 -1
- package/lib/chunk-Y3NZRCF4.js +0 -49
- package/lib/chunk-Y3NZRCF4.js.map +0 -1
- package/lib/chunk-YDMB4XPA.cjs +0 -57
- package/lib/chunk-YDMB4XPA.cjs.map +0 -1
- package/lib/chunk-YIABS6K6.js +0 -57
- package/lib/chunk-YIABS6K6.js.map +0 -1
- package/lib/chunk-YII77MGK.cjs +0 -99
- package/lib/chunk-YII77MGK.cjs.map +0 -1
- package/lib/chunk-YPGYBULL.cjs +0 -33
- package/lib/chunk-YPGYBULL.cjs.map +0 -1
- package/lib/chunk-YTXFX5LA.js +0 -27
- package/lib/chunk-YTXFX5LA.js.map +0 -1
- package/lib/chunk-YVF52KQK.js +0 -58
- package/lib/chunk-YVF52KQK.js.map +0 -1
- package/lib/chunk-YX4ZQEON.cjs +0 -67
- package/lib/chunk-YX4ZQEON.cjs.map +0 -1
- package/lib/chunk-YY5ENJSH.cjs +0 -63
- package/lib/chunk-YY5ENJSH.cjs.map +0 -1
- package/lib/chunk-YYI4OFL3.js +0 -48
- package/lib/chunk-YYI4OFL3.js.map +0 -1
- package/lib/chunk-YZZQ7GVQ.js +0 -65
- package/lib/chunk-YZZQ7GVQ.js.map +0 -1
- package/lib/chunk-Z66CWIH5.cjs +0 -51
- package/lib/chunk-Z66CWIH5.cjs.map +0 -1
- package/lib/chunk-ZLFWYCCG.cjs +0 -34
- package/lib/chunk-ZLFWYCCG.cjs.map +0 -1
- package/lib/chunk-ZPEK2ZCL.cjs +0 -55
- package/lib/chunk-ZPEK2ZCL.cjs.map +0 -1
- package/lib/chunk-ZSG25S6U.cjs +0 -51
- package/lib/chunk-ZSG25S6U.cjs.map +0 -1
- package/lib/chunk-ZSH3A37I.js +0 -55
- package/lib/chunk-ZSH3A37I.js.map +0 -1
- package/lib/chunk-ZSWW2XGD.cjs +0 -57
- package/lib/chunk-ZSWW2XGD.cjs.map +0 -1
- package/lib/chunk-ZU7GFVQ6.js +0 -153
- package/lib/chunk-ZU7GFVQ6.js.map +0 -1
- package/lib/chunk-ZWVME7CU.cjs +0 -153
- package/lib/chunk-ZWVME7CU.cjs.map +0 -1
- package/lib/chunk-ZYAGX4RM.js +0 -69
- package/lib/chunk-ZYAGX4RM.js.map +0 -1
- package/lib/chunk-ZZOSKORP.cjs +0 -47
- package/lib/chunk-ZZOSKORP.cjs.map +0 -1
- package/lib/interceptor-ETmS7Tab.d.cts +0 -55
- package/lib/interceptor-ETmS7Tab.d.ts +0 -55
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/payment_methods.ts"],"names":["ApiResource"],"mappings":";;;;;AA+NA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuBA,6BAAA,CAA2B;AAAA,EAEvD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,MAAA,CAAO,QAAA,EAA+B,MAAA,EAA6C,O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A,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACtI;AAAA,EAEA,MAAM,QAAA,CAAS,EAAA,EAA4B,MAAA,EAA6C,OAAA,EAAmD;AAC1I,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAA2C,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,eAAA,CAAe,IAAA,EAAM,UAAU,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACzK;AAAA,EAEA,MAAM,OAAA,CAAQ,EAAA,EAA4B,MAAA,EAA6C,OAAA,EAAmD;AACzI,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAA2C,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,eAAA,CAAe,IAAA,EAAM,SAAS,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACxK;AAAA,EAGA,gBAAgB,QAAA,EAA0C;AACzD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,eAAA,CAAe,IAAA;AAAA,EAC3D;AAAA,EAGA,aAAa,EAAA,EAAkD;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAuC,EAAE,CAAA;AAAA,EACvD;AAAA,EAEA,sBAAsB,GAAA,EAAmC;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAwC,GAAG,GAAG,CAAA;AAAA,EAC5D;AAAA,EAGA,IAAA,GAA0B;AACzB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACvB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-OUZO3UT3.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Market, MarketType } from './markets'\nimport type { PaymentGateway, PaymentGatewayType } from './payment_gateways'\nimport type { Store, StoreType } from './stores'\nimport type { Version } from './versions'\n\n\ntype PaymentMethodType = 'payment_methods'\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype PaymentGatewayRel = ResourceRel & { type: PaymentGatewayType }\ntype StoreRel = ResourceRel & { type: StoreType }\n\n\nexport type PaymentMethodSort = Pick<PaymentMethod, 'id' | 'name' | 'payment_source_type' | 'currency_code' | 'price_amount_cents' | 'disabled_at'> & ResourceSort\n// export type PaymentMethodFilter = Pick<PaymentMethod, 'id' | 'name' | 'payment_source_type' | 'currency_code' | 'price_amount_cents' | 'disabled_at'> & ResourceFilter\n\n\ninterface PaymentMethod extends Resource {\n\t\n\treadonly type: PaymentMethodType\n\n\t/** \n\t * The payment method's internal name.\n\t * @example ```\"Stripe Payment\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.\n\t * @example ```\"stripe_payments\"```\n\t */\n\tpayment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers'\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 * Send this attribute if you want to mark the payment as MOTO, must be supported by payment gateway.\n\t */\n\tmoto?: boolean | null\n\t/** \n\t * Send this attribute if you want to require the payment capture before fulfillment.\n\t * @example ```true```\n\t */\n\trequire_capture?: boolean | null\n\t/** \n\t * Send this attribute if you want to automatically place the order upon authorization performed asynchronously.\n\t * @example ```true```\n\t */\n\tauto_place?: boolean | null\n\t/** \n\t * Send this attribute if you want to automatically capture the payment upon authorization.\n\t */\n\tauto_capture?: boolean | null\n\t/** \n\t * The payment method's price, in cents.\n\t */\n\tprice_amount_cents: number\n\t/** \n\t * The payment method's price, float.\n\t */\n\tprice_amount_float?: number | null\n\t/** \n\t * The payment method's price, formatted.\n\t * @example ```\"€0,00\"```\n\t */\n\tformatted_price_amount?: string | null\n\t/** \n\t * Send this attribute if you want to limit automatic capture to orders for which the total amount is equal or less than the specified value, in cents.\n\t */\n\tauto_capture_max_amount_cents?: number | null\n\t/** \n\t * The automatic capture max amount, float.\n\t */\n\tauto_capture_max_amount_float?: number | null\n\t/** \n\t * The automatic capture max amount, formatted.\n\t * @example ```\"€0,00\"```\n\t */\n\tformatted_auto_capture_max_amount?: string | 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\n\tmarket?: Market | null\n\tpayment_gateway?: PaymentGateway | null\n\tstore?: Store | null\n\tattachments?: Attachment[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface PaymentMethodCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment method's internal name.\n\t * @example ```\"Stripe Payment\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.\n\t * @example ```\"stripe_payments\"```\n\t */\n\tpayment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers'\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 * Send this attribute if you want to mark the payment as MOTO, must be supported by payment gateway.\n\t */\n\tmoto?: boolean | null\n\t/** \n\t * Send this attribute if you want to require the payment capture before fulfillment.\n\t * @example ```true```\n\t */\n\trequire_capture?: boolean | null\n\t/** \n\t * Send this attribute if you want to automatically place the order upon authorization performed asynchronously.\n\t * @example ```true```\n\t */\n\tauto_place?: boolean | null\n\t/** \n\t * Send this attribute if you want to automatically capture the payment upon authorization.\n\t */\n\tauto_capture?: boolean | null\n\t/** \n\t * The payment method's price, in cents.\n\t */\n\tprice_amount_cents: number\n\t/** \n\t * Send this attribute if you want to limit automatic capture to orders for which the total amount is equal or less than the specified value, in cents.\n\t */\n\tauto_capture_max_amount_cents?: 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\n\tmarket?: MarketRel | null\n\tpayment_gateway: PaymentGatewayRel\n\tstore?: StoreRel | null\n\n}\n\n\ninterface PaymentMethodUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The payment method's internal name.\n\t * @example ```\"Stripe Payment\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.\n\t * @example ```\"stripe_payments\"```\n\t */\n\tpayment_source_type?: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers' | 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 * Send this attribute if you want to mark the payment as MOTO, must be supported by payment gateway.\n\t */\n\tmoto?: boolean | null\n\t/** \n\t * Send this attribute if you want to require the payment capture before fulfillment.\n\t * @example ```true```\n\t */\n\trequire_capture?: boolean | null\n\t/** \n\t * Send this attribute if you want to automatically place the order upon authorization performed asynchronously.\n\t * @example ```true```\n\t */\n\tauto_place?: boolean | null\n\t/** \n\t * Send this attribute if you want to automatically capture the payment upon authorization.\n\t */\n\tauto_capture?: boolean | null\n\t/** \n\t * The payment method's price, in cents.\n\t */\n\tprice_amount_cents?: number | null\n\t/** \n\t * Send this attribute if you want to limit automatic capture to orders for which the total amount is equal or less than the specified value, in cents.\n\t */\n\tauto_capture_max_amount_cents?: 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\n\tmarket?: MarketRel | null\n\tpayment_gateway?: PaymentGatewayRel | null\n\tstore?: StoreRel | null\n\n}\n\n\nclass PaymentMethods extends ApiResource<PaymentMethod> {\n\n\tstatic readonly TYPE: PaymentMethodType = 'payment_methods' as const\n\n\tasync create(resource: PaymentMethodCreate, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod> {\n\t\treturn this.resources.create<PaymentMethodCreate, PaymentMethod>({ ...resource, type: PaymentMethods.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PaymentMethodUpdate, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod> {\n\t\treturn this.resources.update<PaymentMethodUpdate, PaymentMethod>({ ...resource, type: PaymentMethods.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: PaymentMethods.TYPE } : id, options)\n\t}\n\n\tasync market(paymentMethodId: string | PaymentMethod, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _paymentMethodId = (paymentMethodId as PaymentMethod).id || paymentMethodId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `payment_methods/${_paymentMethodId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync payment_gateway(paymentMethodId: string | PaymentMethod, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway> {\n\t\tconst _paymentMethodId = (paymentMethodId as PaymentMethod).id || paymentMethodId as string\n\t\treturn this.resources.fetch<PaymentGateway>({ type: 'payment_gateways' }, `payment_methods/${_paymentMethodId}/payment_gateway`, params, options) as unknown as PaymentGateway\n\t}\n\n\tasync store(paymentMethodId: string | PaymentMethod, params?: QueryParamsRetrieve<Store>, options?: ResourcesConfig): Promise<Store> {\n\t\tconst _paymentMethodId = (paymentMethodId as PaymentMethod).id || paymentMethodId as string\n\t\treturn this.resources.fetch<Store>({ type: 'stores' }, `payment_methods/${_paymentMethodId}/store`, params, options) as unknown as Store\n\t}\n\n\tasync attachments(paymentMethodId: string | PaymentMethod, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _paymentMethodId = (paymentMethodId as PaymentMethod).id || paymentMethodId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `payment_methods/${_paymentMethodId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync versions(paymentMethodId: string | PaymentMethod, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _paymentMethodId = (paymentMethodId as PaymentMethod).id || paymentMethodId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `payment_methods/${_paymentMethodId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(paymentMethodId: string | PaymentMethod, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _paymentMethodId = (paymentMethodId as PaymentMethod).id || paymentMethodId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `payment_methods/${_paymentMethodId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _disable(id: string | PaymentMethod, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod> {\n\t\treturn this.resources.update<PaymentMethodUpdate, PaymentMethod>({ id: (typeof id === 'string')? id: id.id, type: PaymentMethods.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | PaymentMethod, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod> {\n\t\treturn this.resources.update<PaymentMethodUpdate, PaymentMethod>({ id: (typeof id === 'string')? id: id.id, type: PaymentMethods.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisPaymentMethod(resource: any): resource is PaymentMethod {\n\t\treturn resource.type && (resource.type === PaymentMethods.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PaymentMethodRel {\n\t\treturn super.relationshipOneToOne<PaymentMethodRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PaymentMethodRel[] {\n\t\treturn super.relationshipOneToMany<PaymentMethodRel>(...ids)\n\t}\n\n\n\ttype(): PaymentMethodType {\n\t\treturn PaymentMethods.TYPE\n\t}\n\n}\n\n\nconst instance = new PaymentMethods()\nexport default instance\n\nexport type { PaymentMethod, PaymentMethodCreate, PaymentMethods, PaymentMethodType, PaymentMethodUpdate }\n"]}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-L2R5G3V5.js';
|
|
2
|
+
|
|
3
|
+
// src/resources/customer_subscriptions.ts
|
|
4
|
+
var CustomerSubscriptions = class _CustomerSubscriptions extends ApiResource {
|
|
5
|
+
static TYPE = "customer_subscriptions";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create({ ...resource, type: _CustomerSubscriptions.TYPE }, params, options);
|
|
8
|
+
}
|
|
9
|
+
async update(resource, params, options) {
|
|
10
|
+
return this.resources.update({ ...resource, type: _CustomerSubscriptions.TYPE }, params, options);
|
|
11
|
+
}
|
|
12
|
+
async delete(id, options) {
|
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CustomerSubscriptions.TYPE } : id, options);
|
|
14
|
+
}
|
|
15
|
+
async customer(customerSubscriptionId, params, options) {
|
|
16
|
+
const _customerSubscriptionId = customerSubscriptionId.id || customerSubscriptionId;
|
|
17
|
+
return this.resources.fetch({ type: "customers" }, `customer_subscriptions/${_customerSubscriptionId}/customer`, params, options);
|
|
18
|
+
}
|
|
19
|
+
async events(customerSubscriptionId, params, options) {
|
|
20
|
+
const _customerSubscriptionId = customerSubscriptionId.id || customerSubscriptionId;
|
|
21
|
+
return this.resources.fetch({ type: "events" }, `customer_subscriptions/${_customerSubscriptionId}/events`, params, options);
|
|
22
|
+
}
|
|
23
|
+
async versions(customerSubscriptionId, params, options) {
|
|
24
|
+
const _customerSubscriptionId = customerSubscriptionId.id || customerSubscriptionId;
|
|
25
|
+
return this.resources.fetch({ type: "versions" }, `customer_subscriptions/${_customerSubscriptionId}/versions`, params, options);
|
|
26
|
+
}
|
|
27
|
+
async event_stores(customerSubscriptionId, params, options) {
|
|
28
|
+
const _customerSubscriptionId = customerSubscriptionId.id || customerSubscriptionId;
|
|
29
|
+
return this.resources.fetch({ type: "event_stores" }, `customer_subscriptions/${_customerSubscriptionId}/event_stores`, params, options);
|
|
30
|
+
}
|
|
31
|
+
isCustomerSubscription(resource) {
|
|
32
|
+
return resource.type && resource.type === _CustomerSubscriptions.TYPE;
|
|
33
|
+
}
|
|
34
|
+
relationship(id) {
|
|
35
|
+
return super.relationshipOneToOne(id);
|
|
36
|
+
}
|
|
37
|
+
relationshipToMany(...ids) {
|
|
38
|
+
return super.relationshipOneToMany(...ids);
|
|
39
|
+
}
|
|
40
|
+
type() {
|
|
41
|
+
return _CustomerSubscriptions.TYPE;
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
var instance = new CustomerSubscriptions();
|
|
45
|
+
var customer_subscriptions_default = instance;
|
|
46
|
+
|
|
47
|
+
export { customer_subscriptions_default };
|
|
48
|
+
//# sourceMappingURL=chunk-OXMHLYDD.js.map
|
|
49
|
+
//# sourceMappingURL=chunk-OXMHLYDD.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/customer_subscriptions.ts"],"names":[],"mappings":";;;AAkDA,IAAM,qBAAA,GAAN,MAAM,sBAAA,SAA8B,WAAA,CAAkC;AAAA,EAErE,OAAgB,IAAA,GAAiC,wBAAA;AAAA,EAEjD,MAAM,MAAA,CAAO,QAAA,EAAsC,MAAA,EAAoD,OAAA,EAA0D;AAChK,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAyD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,sBAAA,CAAsB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAClJ;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAsC,MAAA,EAAoD,OAAA,EAA0D;AAChK,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAyD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,sBAAA,CAAsB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAClJ;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,sBAAA,CAAsB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC7G;AAAA,EAEA,MAAM,QAAA,CAAS,sBAAA,EAAuD,MAAA,EAAwC,OAAA,EAA8C;AAC3J,IAAA,MAAM,uBAAA,GAA2B,uBAAgD,EAAA,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AAS,sBAAA,CAAsB,IAAA;AAAA,EAClE;AAAA,EAGA,aAAa,EAAA,EAAyD;AACrE,IAAA,OAAO,KAAA,CAAM,qBAA8C,EAAE,CAAA;AAAA,EAC9D;AAAA,EAEA,sBAAsB,GAAA,EAA0C;AAC/D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA+C,GAAG,GAAG,CAAA;AAAA,EACnE;AAAA,EAGA,IAAA,GAAiC;AAChC,IAAA,OAAO,sBAAA,CAAsB,IAAA;AAAA,EAC9B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,qBAAA,EAAsB;AAC3C,IAAO,8BAAA,GAAQ","file":"chunk-OXMHLYDD.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\n\nimport type { Customer } from './customers'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Version } from './versions'\n\n\ntype CustomerSubscriptionType = 'customer_subscriptions'\ntype CustomerSubscriptionRel = ResourceRel & { type: CustomerSubscriptionType }\n\n\nexport type CustomerSubscriptionSort = Pick<CustomerSubscription, 'id'> & ResourceSort\n// export type CustomerSubscriptionFilter = Pick<CustomerSubscription, 'id'> & ResourceFilter\n\n\ninterface CustomerSubscription extends Resource {\n\t\n\treadonly type: CustomerSubscriptionType\n\n\t/** \n\t * The email of the customer that owns the subscription.\n\t * @example ```\"john@example.com\"```\n\t */\n\tcustomer_email: string\n\n\tcustomer?: Customer | null\n\tevents?: Event[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface CustomerSubscriptionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The email of the customer that owns the subscription.\n\t * @example ```\"john@example.com\"```\n\t */\n\tcustomer_email: string\n\t\n}\n\n\ntype CustomerSubscriptionUpdate = ResourceUpdate\n\n\nclass CustomerSubscriptions extends ApiResource<CustomerSubscription> {\n\n\tstatic readonly TYPE: CustomerSubscriptionType = 'customer_subscriptions' as const\n\n\tasync create(resource: CustomerSubscriptionCreate, params?: QueryParamsRetrieve<CustomerSubscription>, options?: ResourcesConfig): Promise<CustomerSubscription> {\n\t\treturn this.resources.create<CustomerSubscriptionCreate, CustomerSubscription>({ ...resource, type: CustomerSubscriptions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: CustomerSubscriptionUpdate, params?: QueryParamsRetrieve<CustomerSubscription>, options?: ResourcesConfig): Promise<CustomerSubscription> {\n\t\treturn this.resources.update<CustomerSubscriptionUpdate, CustomerSubscription>({ ...resource, type: CustomerSubscriptions.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: CustomerSubscriptions.TYPE } : id, options)\n\t}\n\n\tasync customer(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\tconst _customerSubscriptionId = (customerSubscriptionId as CustomerSubscription).id || customerSubscriptionId as string\n\t\treturn this.resources.fetch<Customer>({ type: 'customers' }, `customer_subscriptions/${_customerSubscriptionId}/customer`, params, options) as unknown as Customer\n\t}\n\n\tasync events(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _customerSubscriptionId = (customerSubscriptionId as CustomerSubscription).id || customerSubscriptionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `customer_subscriptions/${_customerSubscriptionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync versions(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _customerSubscriptionId = (customerSubscriptionId as CustomerSubscription).id || customerSubscriptionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `customer_subscriptions/${_customerSubscriptionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _customerSubscriptionId = (customerSubscriptionId as CustomerSubscription).id || customerSubscriptionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `customer_subscriptions/${_customerSubscriptionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisCustomerSubscription(resource: any): resource is CustomerSubscription {\n\t\treturn resource.type && (resource.type === CustomerSubscriptions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): CustomerSubscriptionRel {\n\t\treturn super.relationshipOneToOne<CustomerSubscriptionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): CustomerSubscriptionRel[] {\n\t\treturn super.relationshipOneToMany<CustomerSubscriptionRel>(...ids)\n\t}\n\n\n\ttype(): CustomerSubscriptionType {\n\t\treturn CustomerSubscriptions.TYPE\n\t}\n\n}\n\n\nconst instance = new CustomerSubscriptions()\nexport default instance\n\nexport type { CustomerSubscription, CustomerSubscriptionCreate, CustomerSubscriptions, CustomerSubscriptionType, CustomerSubscriptionUpdate }\n"]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-L2R5G3V5.js';
|
|
2
|
+
|
|
3
|
+
// src/resources/reserved_stocks.ts
|
|
4
|
+
var ReservedStocks = class _ReservedStocks extends ApiResource {
|
|
5
|
+
static TYPE = "reserved_stocks";
|
|
6
|
+
async stock_item(reservedStockId, params, options) {
|
|
7
|
+
const _reservedStockId = reservedStockId.id || reservedStockId;
|
|
8
|
+
return this.resources.fetch({ type: "stock_items" }, `reserved_stocks/${_reservedStockId}/stock_item`, params, options);
|
|
9
|
+
}
|
|
10
|
+
async sku(reservedStockId, params, options) {
|
|
11
|
+
const _reservedStockId = reservedStockId.id || reservedStockId;
|
|
12
|
+
return this.resources.fetch({ type: "skus" }, `reserved_stocks/${_reservedStockId}/sku`, params, options);
|
|
13
|
+
}
|
|
14
|
+
async stock_reservations(reservedStockId, params, options) {
|
|
15
|
+
const _reservedStockId = reservedStockId.id || reservedStockId;
|
|
16
|
+
return this.resources.fetch({ type: "stock_reservations" }, `reserved_stocks/${_reservedStockId}/stock_reservations`, params, options);
|
|
17
|
+
}
|
|
18
|
+
async versions(reservedStockId, params, options) {
|
|
19
|
+
const _reservedStockId = reservedStockId.id || reservedStockId;
|
|
20
|
+
return this.resources.fetch({ type: "versions" }, `reserved_stocks/${_reservedStockId}/versions`, params, options);
|
|
21
|
+
}
|
|
22
|
+
async event_stores(reservedStockId, params, options) {
|
|
23
|
+
const _reservedStockId = reservedStockId.id || reservedStockId;
|
|
24
|
+
return this.resources.fetch({ type: "event_stores" }, `reserved_stocks/${_reservedStockId}/event_stores`, params, options);
|
|
25
|
+
}
|
|
26
|
+
isReservedStock(resource) {
|
|
27
|
+
return resource.type && resource.type === _ReservedStocks.TYPE;
|
|
28
|
+
}
|
|
29
|
+
relationship(id) {
|
|
30
|
+
return super.relationshipOneToOne(id);
|
|
31
|
+
}
|
|
32
|
+
relationshipToMany(...ids) {
|
|
33
|
+
return super.relationshipOneToMany(...ids);
|
|
34
|
+
}
|
|
35
|
+
type() {
|
|
36
|
+
return _ReservedStocks.TYPE;
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
var instance = new ReservedStocks();
|
|
40
|
+
var reserved_stocks_default = instance;
|
|
41
|
+
|
|
42
|
+
export { reserved_stocks_default };
|
|
43
|
+
//# sourceMappingURL=chunk-P2B3G2TZ.js.map
|
|
44
|
+
//# sourceMappingURL=chunk-P2B3G2TZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/reserved_stocks.ts"],"names":[],"mappings":";;;AAqCA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuB,W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AAmB,gBAAgB,CAAA,SAAA,CAAA,EAAa,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC3H;AAAA,EAEA,MAAM,YAAA,CAAa,eAAA,EAAyC,MAAA,EAAsC,OAAA,EAA8D;AAC/J,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACtI;AAAA,EAGA,gBAAgB,QAAA,EAA0C;AACzD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,eAAA,CAAe,IAAA;AAAA,EAC3D;AAAA,EAGA,aAAa,EAAA,EAAkD;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAuC,EAAE,CAAA;AAAA,EACvD;AAAA,EAEA,sBAAsB,GAAA,EAAmC;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAwC,GAAG,GAAG,CAAA;AAAA,EAC5D;AAAA,EAGA,IAAA,GAA0B;AACzB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACvB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-P2B3G2TZ.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { EventStore } from './event_stores'\nimport type { Sku } from './skus'\nimport type { StockItem } from './stock_items'\nimport type { StockReservation } from './stock_reservations'\nimport type { Version } from './versions'\n\n\ntype ReservedStockType = 'reserved_stocks'\ntype ReservedStockRel = ResourceRel & { type: ReservedStockType }\n\n\nexport type ReservedStockSort = Pick<ReservedStock, 'id' | 'quantity'> & ResourceSort\n// export type ReservedStockFilter = Pick<ReservedStock, 'id' | 'quantity'> & ResourceFilter\n\n\ninterface ReservedStock extends Resource {\n\t\n\treadonly type: ReservedStockType\n\n\t/** \n\t * The stock item reserved quantity.\n\t * @example ```100```\n\t */\n\tquantity: number\n\n\tstock_item?: StockItem | null\n\tsku?: Sku | null\n\tstock_reservations?: StockReservation[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\nclass ReservedStocks extends ApiResource<ReservedStock> {\n\n\tstatic readonly TYPE: ReservedStockType = 'reserved_stocks' as const\n\n\tasync stock_item(reservedStockId: string | ReservedStock, params?: QueryParamsRetrieve<StockItem>, options?: ResourcesConfig): Promise<StockItem> {\n\t\tconst _reservedStockId = (reservedStockId as ReservedStock).id || reservedStockId as string\n\t\treturn this.resources.fetch<StockItem>({ type: 'stock_items' }, `reserved_stocks/${_reservedStockId}/stock_item`, params, options) as unknown as StockItem\n\t}\n\n\tasync sku(reservedStockId: string | ReservedStock, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku> {\n\t\tconst _reservedStockId = (reservedStockId as ReservedStock).id || reservedStockId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `reserved_stocks/${_reservedStockId}/sku`, params, options) as unknown as Sku\n\t}\n\n\tasync stock_reservations(reservedStockId: string | ReservedStock, params?: QueryParamsList<StockReservation>, options?: ResourcesConfig): Promise<ListResponse<StockReservation>> {\n\t\tconst _reservedStockId = (reservedStockId as ReservedStock).id || reservedStockId as string\n\t\treturn this.resources.fetch<StockReservation>({ type: 'stock_reservations' }, `reserved_stocks/${_reservedStockId}/stock_reservations`, params, options) as unknown as ListResponse<StockReservation>\n\t}\n\n\tasync versions(reservedStockId: string | ReservedStock, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _reservedStockId = (reservedStockId as ReservedStock).id || reservedStockId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `reserved_stocks/${_reservedStockId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(reservedStockId: string | ReservedStock, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _reservedStockId = (reservedStockId as ReservedStock).id || reservedStockId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `reserved_stocks/${_reservedStockId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisReservedStock(resource: any): resource is ReservedStock {\n\t\treturn resource.type && (resource.type === ReservedStocks.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ReservedStockRel {\n\t\treturn super.relationshipOneToOne<ReservedStockRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ReservedStockRel[] {\n\t\treturn super.relationshipOneToMany<ReservedStockRel>(...ids)\n\t}\n\n\n\ttype(): ReservedStockType {\n\t\treturn ReservedStocks.TYPE\n\t}\n\n}\n\n\nconst instance = new ReservedStocks()\nexport default instance\n\nexport type { ReservedStock, ReservedStocks, ReservedStockType }\n"]}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-L2R5G3V5.js';
|
|
2
|
+
|
|
3
|
+
// src/resources/gift_cards.ts
|
|
4
|
+
var GiftCards = class _GiftCards extends ApiResource {
|
|
5
|
+
static TYPE = "gift_cards";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create({ ...resource, type: _GiftCards.TYPE }, params, options);
|
|
8
|
+
}
|
|
9
|
+
async update(resource, params, options) {
|
|
10
|
+
return this.resources.update({ ...resource, type: _GiftCards.TYPE }, params, options);
|
|
11
|
+
}
|
|
12
|
+
async delete(id, options) {
|
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _GiftCards.TYPE } : id, options);
|
|
14
|
+
}
|
|
15
|
+
async market(giftCardId, params, options) {
|
|
16
|
+
const _giftCardId = giftCardId.id || giftCardId;
|
|
17
|
+
return this.resources.fetch({ type: "markets" }, `gift_cards/${_giftCardId}/market`, params, options);
|
|
18
|
+
}
|
|
19
|
+
async gift_card_recipient(giftCardId, params, options) {
|
|
20
|
+
const _giftCardId = giftCardId.id || giftCardId;
|
|
21
|
+
return this.resources.fetch({ type: "gift_card_recipients" }, `gift_cards/${_giftCardId}/gift_card_recipient`, params, options);
|
|
22
|
+
}
|
|
23
|
+
async attachments(giftCardId, params, options) {
|
|
24
|
+
const _giftCardId = giftCardId.id || giftCardId;
|
|
25
|
+
return this.resources.fetch({ type: "attachments" }, `gift_cards/${_giftCardId}/attachments`, params, options);
|
|
26
|
+
}
|
|
27
|
+
async events(giftCardId, params, options) {
|
|
28
|
+
const _giftCardId = giftCardId.id || giftCardId;
|
|
29
|
+
return this.resources.fetch({ type: "events" }, `gift_cards/${_giftCardId}/events`, params, options);
|
|
30
|
+
}
|
|
31
|
+
async tags(giftCardId, params, options) {
|
|
32
|
+
const _giftCardId = giftCardId.id || giftCardId;
|
|
33
|
+
return this.resources.fetch({ type: "tags" }, `gift_cards/${_giftCardId}/tags`, params, options);
|
|
34
|
+
}
|
|
35
|
+
async versions(giftCardId, params, options) {
|
|
36
|
+
const _giftCardId = giftCardId.id || giftCardId;
|
|
37
|
+
return this.resources.fetch({ type: "versions" }, `gift_cards/${_giftCardId}/versions`, params, options);
|
|
38
|
+
}
|
|
39
|
+
async event_stores(giftCardId, params, options) {
|
|
40
|
+
const _giftCardId = giftCardId.id || giftCardId;
|
|
41
|
+
return this.resources.fetch({ type: "event_stores" }, `gift_cards/${_giftCardId}/event_stores`, params, options);
|
|
42
|
+
}
|
|
43
|
+
async _purchase(id, params, options) {
|
|
44
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _GiftCards.TYPE, _purchase: true }, params, options);
|
|
45
|
+
}
|
|
46
|
+
async _activate(id, params, options) {
|
|
47
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _GiftCards.TYPE, _activate: true }, params, options);
|
|
48
|
+
}
|
|
49
|
+
async _deactivate(id, params, options) {
|
|
50
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _GiftCards.TYPE, _deactivate: true }, params, options);
|
|
51
|
+
}
|
|
52
|
+
async _balance_change_cents(id, triggerValue, params, options) {
|
|
53
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _GiftCards.TYPE, _balance_change_cents: triggerValue }, params, options);
|
|
54
|
+
}
|
|
55
|
+
async _add_tags(id, triggerValue, params, options) {
|
|
56
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _GiftCards.TYPE, _add_tags: triggerValue }, params, options);
|
|
57
|
+
}
|
|
58
|
+
async _remove_tags(id, triggerValue, params, options) {
|
|
59
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _GiftCards.TYPE, _remove_tags: triggerValue }, params, options);
|
|
60
|
+
}
|
|
61
|
+
isGiftCard(resource) {
|
|
62
|
+
return resource.type && resource.type === _GiftCards.TYPE;
|
|
63
|
+
}
|
|
64
|
+
relationship(id) {
|
|
65
|
+
return super.relationshipOneToOne(id);
|
|
66
|
+
}
|
|
67
|
+
relationshipToMany(...ids) {
|
|
68
|
+
return super.relationshipOneToMany(...ids);
|
|
69
|
+
}
|
|
70
|
+
type() {
|
|
71
|
+
return _GiftCards.TYPE;
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
var instance = new GiftCards();
|
|
75
|
+
var gift_cards_default = instance;
|
|
76
|
+
|
|
77
|
+
export { gift_cards_default };
|
|
78
|
+
//# sourceMappingURL=chunk-P3AQZNTG.js.map
|
|
79
|
+
//# sourceMappingURL=chunk-P3AQZNTG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/gift_cards.ts"],"names":[],"mappings":";;;AAuRA,IAAM,SAAA,GAAN,MAAM,UAAA,SAAkB,WAAA,CAAsB;AAAA,EAE7C,OAAgB,IAAA,GAA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ACpB,IAAA,OAAO,UAAA,CAAU,IAAA;AAAA,EAClB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,SAAA,EAAU;AAC/B,IAAO,kBAAA,GAAQ","file":"chunk-P3AQZNTG.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { GiftCardRecipient, GiftCardRecipientType } from './gift_card_recipients'\nimport type { Market, MarketType } from './markets'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\n\n\ntype GiftCardType = 'gift_cards'\ntype GiftCardRel = ResourceRel & { type: GiftCardType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype GiftCardRecipientRel = ResourceRel & { type: GiftCardRecipientType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type GiftCardSort = Pick<GiftCard, 'id' | 'status' | 'currency_code' | 'balance_cents' | 'balance_max_cents' | 'expires_at'> & ResourceSort\n// export type GiftCardFilter = Pick<GiftCard, 'id' | 'status' | 'code' | 'currency_code' | 'balance_cents' | 'balance_max_cents' | 'single_use' | 'rechargeable' | 'expires_at'> & ResourceFilter\n\n\ninterface GiftCard extends Resource {\n\t\n\treadonly type: GiftCardType\n\n\t/** \n\t * The gift card status. One of 'draft' (default), 'inactive', 'active', or 'redeemed'.\n\t * @example ```\"draft\"```\n\t */\n\tstatus: 'draft' | 'inactive' | 'active' | 'redeemed'\n\t/** \n\t * The gift card code UUID. If not set, it's automatically generated.\n\t * @example ```\"32db311a-75d9-4c17-9e34-2be220137ad6\"```\n\t */\n\tcode?: 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 * The gift card initial balance, in cents.\n\t * @example ```15000```\n\t */\n\tinitial_balance_cents: number\n\t/** \n\t * The gift card initial balance, float.\n\t * @example ```150```\n\t */\n\tinitial_balance_float: number\n\t/** \n\t * The gift card initial balance, formatted.\n\t * @example ```\"€150,00\"```\n\t */\n\tformatted_initial_balance: string\n\t/** \n\t * The gift card balance, in cents.\n\t * @example ```15000```\n\t */\n\tbalance_cents: number\n\t/** \n\t * The gift card balance, float.\n\t * @example ```150```\n\t */\n\tbalance_float: number\n\t/** \n\t * The gift card balance, formatted.\n\t * @example ```\"€150,00\"```\n\t */\n\tformatted_balance: string\n\t/** \n\t * The gift card balance max, in cents.\n\t * @example ```100000```\n\t */\n\tbalance_max_cents?: number | null\n\t/** \n\t * The gift card balance max, float.\n\t * @example ```1000```\n\t */\n\tbalance_max_float?: number | null\n\t/** \n\t * The gift card balance max, formatted.\n\t * @example ```\"€1000,00\"```\n\t */\n\tformatted_balance_max?: string | null\n\t/** \n\t * The gift card balance log. Tracks all the gift card transactions.\n\t * @example ```[{\"datetime\":\"2019-12-23T12:00:00.000Z\",\"balance_change_cents\":-10000},{\"datetime\":\"2020-02-01T12:00:00.000Z\",\"balance_change_cents\":5000}]```\n\t */\n\tbalance_log: Array<Record<string, any>>\n\t/** \n\t * The gift card usage log. Tracks all the gift card usage actions by orders.\n\t * @example ```{\"eNoKkhmbNp\":[{\"action\":\"use\",\"amount_cents\":-1000,\"balance_cents\":4000,\"order_number\":\"11111\",\"datetime\":\"2020-02-01T12:00:00.000Z\"}]}```\n\t */\n\tusage_log: Record<string, any>\n\t/** \n\t * Indicates if the gift card can be used only one.\n\t */\n\tsingle_use?: boolean | null\n\t/** \n\t * Indicates if the gift card can be recharged.\n\t * @example ```true```\n\t */\n\trechargeable?: boolean | null\n\t/** \n\t * Indicates if redeemed gift card amount is distributed for tax calculation.\n\t * @example ```true```\n\t */\n\tdistribute_discount?: boolean | null\n\t/** \n\t * The URL of an image that represents the gift card.\n\t * @example ```\"https://img.yourdomain.com/gift_cards/32db311a.png\"```\n\t */\n\timage_url?: string | null\n\t/** \n\t * Time at which the gift card will expire.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The email address of the associated recipient. When creating or updating a gift card, this is a shortcut to find or create the associated recipient by email.\n\t * @example ```\"john@example.com\"```\n\t */\n\trecipient_email?: string | null\n\n\tmarket?: Market | null\n\tgift_card_recipient?: GiftCardRecipient | 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 GiftCardCreate extends ResourceCreate {\n\t\n\t/** \n\t * The gift card code UUID. If not set, it's automatically generated.\n\t * @example ```\"32db311a-75d9-4c17-9e34-2be220137ad6\"```\n\t */\n\tcode?: 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 * The gift card balance, in cents.\n\t * @example ```15000```\n\t */\n\tbalance_cents: number\n\t/** \n\t * The gift card balance max, in cents.\n\t * @example ```100000```\n\t */\n\tbalance_max_cents?: number | null\n\t/** \n\t * Indicates if the gift card can be used only one.\n\t */\n\tsingle_use?: boolean | null\n\t/** \n\t * Indicates if the gift card can be recharged.\n\t * @example ```true```\n\t */\n\trechargeable?: boolean | null\n\t/** \n\t * Indicates if redeemed gift card amount is distributed for tax calculation.\n\t * @example ```true```\n\t */\n\tdistribute_discount?: boolean | null\n\t/** \n\t * The URL of an image that represents the gift card.\n\t * @example ```\"https://img.yourdomain.com/gift_cards/32db311a.png\"```\n\t */\n\timage_url?: string | null\n\t/** \n\t * Time at which the gift card will expire.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The email address of the associated recipient. When creating or updating a gift card, this is a shortcut to find or create the associated recipient by email.\n\t * @example ```\"john@example.com\"```\n\t */\n\trecipient_email?: string | null\n\n\tmarket?: MarketRel | null\n\tgift_card_recipient?: GiftCardRecipientRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface GiftCardUpdate extends ResourceUpdate {\n\t\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 * The gift card balance, in cents.\n\t * @example ```15000```\n\t */\n\tbalance_cents?: number | null\n\t/** \n\t * The gift card balance max, in cents.\n\t * @example ```100000```\n\t */\n\tbalance_max_cents?: number | null\n\t/** \n\t * Indicates if the gift card can be used only one.\n\t */\n\tsingle_use?: boolean | null\n\t/** \n\t * Indicates if the gift card can be recharged.\n\t * @example ```true```\n\t */\n\trechargeable?: boolean | null\n\t/** \n\t * Indicates if redeemed gift card amount is distributed for tax calculation.\n\t * @example ```true```\n\t */\n\tdistribute_discount?: boolean | null\n\t/** \n\t * The URL of an image that represents the gift card.\n\t * @example ```\"https://img.yourdomain.com/gift_cards/32db311a.png\"```\n\t */\n\timage_url?: string | null\n\t/** \n\t * Time at which the gift card will expire.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The email address of the associated recipient. When creating or updating a gift card, this is a shortcut to find or create the associated recipient by email.\n\t * @example ```\"john@example.com\"```\n\t */\n\trecipient_email?: string | null\n\t/** \n\t * Send this attribute if you want to confirm a draft gift card. The gift card becomes 'inactive', waiting to be activated.\n\t * @example ```true```\n\t */\n\t_purchase?: boolean | null\n\t/** \n\t * Send this attribute if you want to activate a gift card.\n\t * @example ```true```\n\t */\n\t_activate?: boolean | null\n\t/** \n\t * Send this attribute if you want to deactivate a gift card.\n\t * @example ```true```\n\t */\n\t_deactivate?: boolean | null\n\t/** \n\t * The balance change, in cents. Send a negative value to reduces the card balance by the specified amount. Send a positive value to recharge the gift card (if rechargeable).\n\t * @example ```-5000```\n\t */\n\t_balance_change_cents?: number | 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\tmarket?: MarketRel | null\n\tgift_card_recipient?: GiftCardRecipientRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass GiftCards extends ApiResource<GiftCard> {\n\n\tstatic readonly TYPE: GiftCardType = 'gift_cards' as const\n\n\tasync create(resource: GiftCardCreate, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.create<GiftCardCreate, GiftCard>({ ...resource, type: GiftCards.TYPE }, params, options)\n\t}\n\n\tasync update(resource: GiftCardUpdate, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.update<GiftCardUpdate, GiftCard>({ ...resource, type: GiftCards.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: GiftCards.TYPE } : id, options)\n\t}\n\n\tasync market(giftCardId: string | GiftCard, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _giftCardId = (giftCardId as GiftCard).id || giftCardId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `gift_cards/${_giftCardId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync gift_card_recipient(giftCardId: string | GiftCard, params?: QueryParamsRetrieve<GiftCardRecipient>, options?: ResourcesConfig): Promise<GiftCardRecipient> {\n\t\tconst _giftCardId = (giftCardId as GiftCard).id || giftCardId as string\n\t\treturn this.resources.fetch<GiftCardRecipient>({ type: 'gift_card_recipients' }, `gift_cards/${_giftCardId}/gift_card_recipient`, params, options) as unknown as GiftCardRecipient\n\t}\n\n\tasync attachments(giftCardId: string | GiftCard, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _giftCardId = (giftCardId as GiftCard).id || giftCardId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `gift_cards/${_giftCardId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(giftCardId: string | GiftCard, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _giftCardId = (giftCardId as GiftCard).id || giftCardId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `gift_cards/${_giftCardId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(giftCardId: string | GiftCard, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _giftCardId = (giftCardId as GiftCard).id || giftCardId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `gift_cards/${_giftCardId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(giftCardId: string | GiftCard, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _giftCardId = (giftCardId as GiftCard).id || giftCardId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `gift_cards/${_giftCardId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(giftCardId: string | GiftCard, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _giftCardId = (giftCardId as GiftCard).id || giftCardId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `gift_cards/${_giftCardId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _purchase(id: string | GiftCard, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.update<GiftCardUpdate, GiftCard>({ id: (typeof id === 'string')? id: id.id, type: GiftCards.TYPE, _purchase: true }, params, options)\n\t}\n\n\tasync _activate(id: string | GiftCard, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.update<GiftCardUpdate, GiftCard>({ id: (typeof id === 'string')? id: id.id, type: GiftCards.TYPE, _activate: true }, params, options)\n\t}\n\n\tasync _deactivate(id: string | GiftCard, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.update<GiftCardUpdate, GiftCard>({ id: (typeof id === 'string')? id: id.id, type: GiftCards.TYPE, _deactivate: true }, params, options)\n\t}\n\n\tasync _balance_change_cents(id: string | GiftCard, triggerValue: number, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.update<GiftCardUpdate, GiftCard>({ id: (typeof id === 'string')? id: id.id, type: GiftCards.TYPE, _balance_change_cents: triggerValue }, params, options)\n\t}\n\n\tasync _add_tags(id: string | GiftCard, triggerValue: string, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.update<GiftCardUpdate, GiftCard>({ id: (typeof id === 'string')? id: id.id, type: GiftCards.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | GiftCard, triggerValue: string, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.update<GiftCardUpdate, GiftCard>({ id: (typeof id === 'string')? id: id.id, type: GiftCards.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisGiftCard(resource: any): resource is GiftCard {\n\t\treturn resource.type && (resource.type === GiftCards.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): GiftCardRel {\n\t\treturn super.relationshipOneToOne<GiftCardRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): GiftCardRel[] {\n\t\treturn super.relationshipOneToMany<GiftCardRel>(...ids)\n\t}\n\n\n\ttype(): GiftCardType {\n\t\treturn GiftCards.TYPE\n\t}\n\n}\n\n\nconst instance = new GiftCards()\nexport default instance\n\nexport type { GiftCard, GiftCardCreate, GiftCards, GiftCardType, GiftCardUpdate }\n"]}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkUBH2EC5P_cjs = require('./chunk-UBH2EC5P.cjs');
|
|
4
|
+
|
|
5
|
+
// src/resources/satispay_gateways.ts
|
|
6
|
+
var SatispayGateways = class _SatispayGateways extends chunkUBH2EC5P_cjs.ApiResource {
|
|
7
|
+
static TYPE = "satispay_gateways";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create({ ...resource, type: _SatispayGateways.TYPE }, params, options);
|
|
10
|
+
}
|
|
11
|
+
async update(resource, params, options) {
|
|
12
|
+
return this.resources.update({ ...resource, type: _SatispayGateways.TYPE }, params, options);
|
|
13
|
+
}
|
|
14
|
+
async delete(id, options) {
|
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _SatispayGateways.TYPE } : id, options);
|
|
16
|
+
}
|
|
17
|
+
async payment_methods(satispayGatewayId, params, options) {
|
|
18
|
+
const _satispayGatewayId = satispayGatewayId.id || satispayGatewayId;
|
|
19
|
+
return this.resources.fetch({ type: "payment_methods" }, `satispay_gateways/${_satispayGatewayId}/payment_methods`, params, options);
|
|
20
|
+
}
|
|
21
|
+
async versions(satispayGatewayId, params, options) {
|
|
22
|
+
const _satispayGatewayId = satispayGatewayId.id || satispayGatewayId;
|
|
23
|
+
return this.resources.fetch({ type: "versions" }, `satispay_gateways/${_satispayGatewayId}/versions`, params, options);
|
|
24
|
+
}
|
|
25
|
+
async event_stores(satispayGatewayId, params, options) {
|
|
26
|
+
const _satispayGatewayId = satispayGatewayId.id || satispayGatewayId;
|
|
27
|
+
return this.resources.fetch({ type: "event_stores" }, `satispay_gateways/${_satispayGatewayId}/event_stores`, params, options);
|
|
28
|
+
}
|
|
29
|
+
async satispay_payments(satispayGatewayId, params, options) {
|
|
30
|
+
const _satispayGatewayId = satispayGatewayId.id || satispayGatewayId;
|
|
31
|
+
return this.resources.fetch({ type: "satispay_payments" }, `satispay_gateways/${_satispayGatewayId}/satispay_payments`, params, options);
|
|
32
|
+
}
|
|
33
|
+
async _disable(id, params, options) {
|
|
34
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _SatispayGateways.TYPE, _disable: true }, params, options);
|
|
35
|
+
}
|
|
36
|
+
async _enable(id, params, options) {
|
|
37
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _SatispayGateways.TYPE, _enable: true }, params, options);
|
|
38
|
+
}
|
|
39
|
+
isSatispayGateway(resource) {
|
|
40
|
+
return resource.type && resource.type === _SatispayGateways.TYPE;
|
|
41
|
+
}
|
|
42
|
+
relationship(id) {
|
|
43
|
+
return super.relationshipOneToOne(id);
|
|
44
|
+
}
|
|
45
|
+
relationshipToMany(...ids) {
|
|
46
|
+
return super.relationshipOneToMany(...ids);
|
|
47
|
+
}
|
|
48
|
+
type() {
|
|
49
|
+
return _SatispayGateways.TYPE;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
var instance = new SatispayGateways();
|
|
53
|
+
var satispay_gateways_default = instance;
|
|
54
|
+
|
|
55
|
+
exports.satispay_gateways_default = satispay_gateways_default;
|
|
56
|
+
//# sourceMappingURL=chunk-P3C4DMT6.cjs.map
|
|
57
|
+
//# sourceMappingURL=chunk-P3C4DMT6.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/satispay_gateways.ts"],"names":["ApiResource"],"mappings":";;;;;AA0HA,IAAM,gBAAA,GAAN,MAAM,iBAAA,SAAyBA,6BAAA,CAA6B;AAAA,EAE3D,OAAgB,IAAA,GAA4B,mBAAA;AAAA,EAE5C,MAAM,MAAA,CAAO,QAAA,EAAiC,MAAA,EAA+C,OAAA,EAAqD;AACjJ,IAAA,OAAO,IAAA,CAAK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AkB,QAAA,EAA4C;AAC7D,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,iBAAA,CAAiB,IAAA;AAAA,EAC7D;AAAA,EAGA,aAAa,EAAA,EAAoD;AAChE,IAAA,OAAO,KAAA,CAAM,qBAAyC,EAAE,CAAA;AAAA,EACzD;AAAA,EAEA,sBAAsB,GAAA,EAAqC;AAC1D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA0C,GAAG,GAAG,CAAA;AAAA,EAC9D;AAAA,EAGA,IAAA,GAA4B;AAC3B,IAAA,OAAO,iBAAA,CAAiB,IAAA;AAAA,EACzB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,gBAAA,EAAiB;AACtC,IAAO,yBAAA,GAAQ","file":"chunk-P3C4DMT6.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { EventStore } from './event_stores'\nimport type { PaymentMethod } from './payment_methods'\nimport type { SatispayPayment, SatispayPaymentType } from './satispay_payments'\nimport type { Version } from './versions'\n\n\ntype SatispayGatewayType = 'satispay_gateways'\ntype SatispayGatewayRel = ResourceRel & { type: SatispayGatewayType }\ntype SatispayPaymentRel = ResourceRel & { type: SatispayPaymentType }\n\n\nexport type SatispayGatewaySort = Pick<SatispayGateway, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type SatispayGatewayFilter = Pick<SatispayGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n\ninterface SatispayGateway extends Resource {\n\t\n\treadonly type: SatispayGatewayType\n\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | 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 * Activation code generated from the Satispay Dashboard.\n\t * @example ```\"623ECX\"```\n\t */\n\ttoken: string\n\t/** \n\t * The Satispay API key auto generated basing on activation code.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tkey_id: string\n\t/** \n\t * The gateway webhook URL, generated automatically.\n\t * @example ```\"https://core.commercelayer.co/webhook_callbacks/satispay_gateways/xxxxx\"```\n\t */\n\twebhook_endpoint_url?: string | null\n\n\tpayment_methods?: PaymentMethod[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\tsatispay_payments?: SatispayPayment[] | null\n\n}\n\n\ninterface SatispayGatewayCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | 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 * Activation code generated from the Satispay Dashboard.\n\t * @example ```\"623ECX\"```\n\t */\n\ttoken: string\n\n\tsatispay_payments?: SatispayPaymentRel[] | null\n\n}\n\n\ninterface SatispayGatewayUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | 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\n\tsatispay_payments?: SatispayPaymentRel[] | null\n\n}\n\n\nclass SatispayGateways extends ApiResource<SatispayGateway> {\n\n\tstatic readonly TYPE: SatispayGatewayType = 'satispay_gateways' as const\n\n\tasync create(resource: SatispayGatewayCreate, params?: QueryParamsRetrieve<SatispayGateway>, options?: ResourcesConfig): Promise<SatispayGateway> {\n\t\treturn this.resources.create<SatispayGatewayCreate, SatispayGateway>({ ...resource, type: SatispayGateways.TYPE }, params, options)\n\t}\n\n\tasync update(resource: SatispayGatewayUpdate, params?: QueryParamsRetrieve<SatispayGateway>, options?: ResourcesConfig): Promise<SatispayGateway> {\n\t\treturn this.resources.update<SatispayGatewayUpdate, SatispayGateway>({ ...resource, type: SatispayGateways.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: SatispayGateways.TYPE } : id, options)\n\t}\n\n\tasync payment_methods(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _satispayGatewayId = (satispayGatewayId as SatispayGateway).id || satispayGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `satispay_gateways/${_satispayGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync versions(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _satispayGatewayId = (satispayGatewayId as SatispayGateway).id || satispayGatewayId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `satispay_gateways/${_satispayGatewayId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _satispayGatewayId = (satispayGatewayId as SatispayGateway).id || satispayGatewayId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `satispay_gateways/${_satispayGatewayId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync satispay_payments(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<SatispayPayment>, options?: ResourcesConfig): Promise<ListResponse<SatispayPayment>> {\n\t\tconst _satispayGatewayId = (satispayGatewayId as SatispayGateway).id || satispayGatewayId as string\n\t\treturn this.resources.fetch<SatispayPayment>({ type: 'satispay_payments' }, `satispay_gateways/${_satispayGatewayId}/satispay_payments`, params, options) as unknown as ListResponse<SatispayPayment>\n\t}\n\n\tasync _disable(id: string | SatispayGateway, params?: QueryParamsRetrieve<SatispayGateway>, options?: ResourcesConfig): Promise<SatispayGateway> {\n\t\treturn this.resources.update<SatispayGatewayUpdate, SatispayGateway>({ id: (typeof id === 'string')? id: id.id, type: SatispayGateways.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | SatispayGateway, params?: QueryParamsRetrieve<SatispayGateway>, options?: ResourcesConfig): Promise<SatispayGateway> {\n\t\treturn this.resources.update<SatispayGatewayUpdate, SatispayGateway>({ id: (typeof id === 'string')? id: id.id, type: SatispayGateways.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisSatispayGateway(resource: any): resource is SatispayGateway {\n\t\treturn resource.type && (resource.type === SatispayGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): SatispayGatewayRel {\n\t\treturn super.relationshipOneToOne<SatispayGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): SatispayGatewayRel[] {\n\t\treturn super.relationshipOneToMany<SatispayGatewayRel>(...ids)\n\t}\n\n\n\ttype(): SatispayGatewayType {\n\t\treturn SatispayGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new SatispayGateways()\nexport default instance\n\nexport type { SatispayGateway, SatispayGatewayCreate, SatispayGateways, SatispayGatewayType, SatispayGatewayUpdate }\n"]}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkUBH2EC5P_cjs = require('./chunk-UBH2EC5P.cjs');
|
|
4
|
+
|
|
5
|
+
// src/resources/external_promotions.ts
|
|
6
|
+
var ExternalPromotions = class _ExternalPromotions extends chunkUBH2EC5P_cjs.ApiResource {
|
|
7
|
+
static TYPE = "external_promotions";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create({ ...resource, type: _ExternalPromotions.TYPE }, params, options);
|
|
10
|
+
}
|
|
11
|
+
async update(resource, params, options) {
|
|
12
|
+
return this.resources.update({ ...resource, type: _ExternalPromotions.TYPE }, params, options);
|
|
13
|
+
}
|
|
14
|
+
async delete(id, options) {
|
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _ExternalPromotions.TYPE } : id, options);
|
|
16
|
+
}
|
|
17
|
+
async market(externalPromotionId, params, options) {
|
|
18
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
19
|
+
return this.resources.fetch({ type: "markets" }, `external_promotions/${_externalPromotionId}/market`, params, options);
|
|
20
|
+
}
|
|
21
|
+
async order_amount_promotion_rule(externalPromotionId, params, options) {
|
|
22
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
23
|
+
return this.resources.fetch({ type: "order_amount_promotion_rules" }, `external_promotions/${_externalPromotionId}/order_amount_promotion_rule`, params, options);
|
|
24
|
+
}
|
|
25
|
+
async sku_list_promotion_rule(externalPromotionId, params, options) {
|
|
26
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
27
|
+
return this.resources.fetch({ type: "sku_list_promotion_rules" }, `external_promotions/${_externalPromotionId}/sku_list_promotion_rule`, params, options);
|
|
28
|
+
}
|
|
29
|
+
async coupon_codes_promotion_rule(externalPromotionId, params, options) {
|
|
30
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
31
|
+
return this.resources.fetch({ type: "coupon_codes_promotion_rules" }, `external_promotions/${_externalPromotionId}/coupon_codes_promotion_rule`, params, options);
|
|
32
|
+
}
|
|
33
|
+
async custom_promotion_rule(externalPromotionId, params, options) {
|
|
34
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
35
|
+
return this.resources.fetch({ type: "custom_promotion_rules" }, `external_promotions/${_externalPromotionId}/custom_promotion_rule`, params, options);
|
|
36
|
+
}
|
|
37
|
+
async sku_list(externalPromotionId, params, options) {
|
|
38
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
39
|
+
return this.resources.fetch({ type: "sku_lists" }, `external_promotions/${_externalPromotionId}/sku_list`, params, options);
|
|
40
|
+
}
|
|
41
|
+
async coupons(externalPromotionId, params, options) {
|
|
42
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
43
|
+
return this.resources.fetch({ type: "coupons" }, `external_promotions/${_externalPromotionId}/coupons`, params, options);
|
|
44
|
+
}
|
|
45
|
+
async attachments(externalPromotionId, params, options) {
|
|
46
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
47
|
+
return this.resources.fetch({ type: "attachments" }, `external_promotions/${_externalPromotionId}/attachments`, params, options);
|
|
48
|
+
}
|
|
49
|
+
async events(externalPromotionId, params, options) {
|
|
50
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
51
|
+
return this.resources.fetch({ type: "events" }, `external_promotions/${_externalPromotionId}/events`, params, options);
|
|
52
|
+
}
|
|
53
|
+
async tags(externalPromotionId, params, options) {
|
|
54
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
55
|
+
return this.resources.fetch({ type: "tags" }, `external_promotions/${_externalPromotionId}/tags`, params, options);
|
|
56
|
+
}
|
|
57
|
+
async versions(externalPromotionId, params, options) {
|
|
58
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
59
|
+
return this.resources.fetch({ type: "versions" }, `external_promotions/${_externalPromotionId}/versions`, params, options);
|
|
60
|
+
}
|
|
61
|
+
async event_stores(externalPromotionId, params, options) {
|
|
62
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
63
|
+
return this.resources.fetch({ type: "event_stores" }, `external_promotions/${_externalPromotionId}/event_stores`, params, options);
|
|
64
|
+
}
|
|
65
|
+
async skus(externalPromotionId, params, options) {
|
|
66
|
+
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
|
67
|
+
return this.resources.fetch({ type: "skus" }, `external_promotions/${_externalPromotionId}/skus`, params, options);
|
|
68
|
+
}
|
|
69
|
+
async _disable(id, params, options) {
|
|
70
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _ExternalPromotions.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: _ExternalPromotions.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: _ExternalPromotions.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: _ExternalPromotions.TYPE, _remove_tags: triggerValue }, params, options);
|
|
80
|
+
}
|
|
81
|
+
async _reset_circuit(id, params, options) {
|
|
82
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _ExternalPromotions.TYPE, _reset_circuit: true }, params, options);
|
|
83
|
+
}
|
|
84
|
+
isExternalPromotion(resource) {
|
|
85
|
+
return resource.type && resource.type === _ExternalPromotions.TYPE;
|
|
86
|
+
}
|
|
87
|
+
relationship(id) {
|
|
88
|
+
return super.relationshipOneToOne(id);
|
|
89
|
+
}
|
|
90
|
+
relationshipToMany(...ids) {
|
|
91
|
+
return super.relationshipOneToMany(...ids);
|
|
92
|
+
}
|
|
93
|
+
type() {
|
|
94
|
+
return _ExternalPromotions.TYPE;
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
var instance = new ExternalPromotions();
|
|
98
|
+
var external_promotions_default = instance;
|
|
99
|
+
|
|
100
|
+
exports.external_promotions_default = external_promotions_default;
|
|
101
|
+
//# sourceMappingURL=chunk-P6H53BD7.cjs.map
|
|
102
|
+
//# sourceMappingURL=chunk-P6H53BD7.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/external_promotions.ts"],"names":["ApiResource"],"mappings":";;;;;AA8SA,IAAM,kBAAA,GAAN,MAAM,mBAAA,SAA2BA,6BAAA,CAA+B;AAAA,EAE/D,OAAgB,IAAA,GAA8B,qBAAA;AAAA,EAE9C,MAAM,MAAA,CAAO,QAAA,EAAmC,MAAA,EAAiD,OAAA,EAAuD;AACvJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAmD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,mBAAA,CAAmB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACzI;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAmC,MAAA,EAAiD,OAAA,EAAuD;AACvJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAmD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,mBAAA,CAAmB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACzI;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,mBAAA,CAAmB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC1G;AAAA,EAEA,M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ceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { Coupon } from './coupons'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { PromotionRule } from './promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Sku } from './skus'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\n\n\ntype ExternalPromotionType = 'external_promotions'\ntype ExternalPromotionRel = ResourceRel & { type: ExternalPromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type ExternalPromotionSort = Pick<ExternalPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort\n// export type ExternalPromotionFilter = Pick<ExternalPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceFilter\n\n\ninterface ExternalPromotion extends Resource {\n\t\n\treadonly type: ExternalPromotionType\n\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * The number of times this promotion has been applied.\n\t * @example ```2```\n\t */\n\ttotal_usage_count?: number | null\n\t/** \n\t * Indicates if the promotion has been applied the total number of allowed times.\n\t */\n\ttotal_usage_reached?: boolean | null\n\t/** \n\t * Indicates if the promotion is active (enabled and not expired).\n\t * @example ```true```\n\t */\n\tactive?: boolean | null\n\t/** \n\t * The promotion status. One of 'disabled', 'expired', 'pending', 'active', or 'inactive'.\n\t * @example ```\"pending\"```\n\t */\n\tstatus?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null\n\t/** \n\t * The weight of the promotion, computed by exclusivity, priority, type and start time. Determines the order of application, higher weight apply first.\n\t * @example ```112```\n\t */\n\tweight?: number | null\n\t/** \n\t * The total number of coupons created for this promotion.\n\t * @example ```2```\n\t */\n\tcoupons_count?: number | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The URL to the service that will compute the discount.\n\t * @example ```\"https://external_promotion.yourbrand.com\"```\n\t */\n\tpromotion_url: string\n\t/** \n\t * The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.\n\t * @example ```\"closed\"```\n\t */\n\tcircuit_state?: string | null\n\t/** \n\t * The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.\n\t * @example ```5```\n\t */\n\tcircuit_failure_count?: number | null\n\t/** \n\t * The shared secret used to sign the external request payload.\n\t * @example ```\"1c0994cc4e996e8c6ee56a2198f66f3c\"```\n\t */\n\tshared_secret: string\n\t/** \n\t * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n\t * @example ```[\"order.line_item_options\"]```\n\t */\n\texternal_includes?: string[] | null\n\n\tmarket?: Market | null\n\tpromotion_rules?: PromotionRule[] | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRule | null\n\tsku_list_promotion_rule?: SkuListPromotionRule | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n\tcustom_promotion_rule?: CustomPromotionRule | null\n\tsku_list?: SkuList | null\n\tcoupons?: Coupon[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\tskus?: Sku[] | null\n\n}\n\n\ninterface ExternalPromotionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The URL to the service that will compute the discount.\n\t * @example ```\"https://external_promotion.yourbrand.com\"```\n\t */\n\tpromotion_url: string\n\t/** \n\t * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n\t * @example ```[\"order.line_item_options\"]```\n\t */\n\texternal_includes?: string[] | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface ExternalPromotionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at?: string | null\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\t/** \n\t * The URL to the service that will compute the discount.\n\t * @example ```\"https://external_promotion.yourbrand.com\"```\n\t */\n\tpromotion_url?: string | null\n\t/** \n\t * Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.\n\t * @example ```true```\n\t */\n\t_reset_circuit?: boolean | null\n\t/** \n\t * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n\t * @example ```[\"order.line_item_options\"]```\n\t */\n\texternal_includes?: string[] | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass ExternalPromotions extends ApiResource<ExternalPromotion> {\n\n\tstatic readonly TYPE: ExternalPromotionType = 'external_promotions' as const\n\n\tasync create(resource: ExternalPromotionCreate, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.create<ExternalPromotionCreate, ExternalPromotion>({ ...resource, type: ExternalPromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ExternalPromotionUpdate, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ ...resource, type: ExternalPromotions.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: ExternalPromotions.TYPE } : id, options)\n\t}\n\n\tasync market(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `external_promotions/${_externalPromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `external_promotions/${_externalPromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `external_promotions/${_externalPromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `external_promotions/${_externalPromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `external_promotions/${_externalPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `external_promotions/${_externalPromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `external_promotions/${_externalPromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `external_promotions/${_externalPromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `external_promotions/${_externalPromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `external_promotions/${_externalPromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `external_promotions/${_externalPromotionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `external_promotions/${_externalPromotionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync skus(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `external_promotions/${_externalPromotionId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync _disable(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | ExternalPromotion, triggerValue: string, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | ExternalPromotion, triggerValue: string, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\tasync _reset_circuit(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _reset_circuit: true }, params, options)\n\t}\n\n\n\tisExternalPromotion(resource: any): resource is ExternalPromotion {\n\t\treturn resource.type && (resource.type === ExternalPromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ExternalPromotionRel {\n\t\treturn super.relationshipOneToOne<ExternalPromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ExternalPromotionRel[] {\n\t\treturn super.relationshipOneToMany<ExternalPromotionRel>(...ids)\n\t}\n\n\n\ttype(): ExternalPromotionType {\n\t\treturn ExternalPromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new ExternalPromotions()\nexport default instance\n\nexport type { ExternalPromotion, ExternalPromotionCreate, ExternalPromotions, ExternalPromotionType, ExternalPromotionUpdate }\n"]}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-L2R5G3V5.js';
|
|
2
|
+
|
|
3
|
+
// src/resources/inventory_stock_locations.ts
|
|
4
|
+
var InventoryStockLocations = class _InventoryStockLocations extends ApiResource {
|
|
5
|
+
static TYPE = "inventory_stock_locations";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create({ ...resource, type: _InventoryStockLocations.TYPE }, params, options);
|
|
8
|
+
}
|
|
9
|
+
async update(resource, params, options) {
|
|
10
|
+
return this.resources.update({ ...resource, type: _InventoryStockLocations.TYPE }, params, options);
|
|
11
|
+
}
|
|
12
|
+
async delete(id, options) {
|
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _InventoryStockLocations.TYPE } : id, options);
|
|
14
|
+
}
|
|
15
|
+
async stock_location(inventoryStockLocationId, params, options) {
|
|
16
|
+
const _inventoryStockLocationId = inventoryStockLocationId.id || inventoryStockLocationId;
|
|
17
|
+
return this.resources.fetch({ type: "stock_locations" }, `inventory_stock_locations/${_inventoryStockLocationId}/stock_location`, params, options);
|
|
18
|
+
}
|
|
19
|
+
async inventory_model(inventoryStockLocationId, params, options) {
|
|
20
|
+
const _inventoryStockLocationId = inventoryStockLocationId.id || inventoryStockLocationId;
|
|
21
|
+
return this.resources.fetch({ type: "inventory_models" }, `inventory_stock_locations/${_inventoryStockLocationId}/inventory_model`, params, options);
|
|
22
|
+
}
|
|
23
|
+
async versions(inventoryStockLocationId, params, options) {
|
|
24
|
+
const _inventoryStockLocationId = inventoryStockLocationId.id || inventoryStockLocationId;
|
|
25
|
+
return this.resources.fetch({ type: "versions" }, `inventory_stock_locations/${_inventoryStockLocationId}/versions`, params, options);
|
|
26
|
+
}
|
|
27
|
+
async event_stores(inventoryStockLocationId, params, options) {
|
|
28
|
+
const _inventoryStockLocationId = inventoryStockLocationId.id || inventoryStockLocationId;
|
|
29
|
+
return this.resources.fetch({ type: "event_stores" }, `inventory_stock_locations/${_inventoryStockLocationId}/event_stores`, params, options);
|
|
30
|
+
}
|
|
31
|
+
isInventoryStockLocation(resource) {
|
|
32
|
+
return resource.type && resource.type === _InventoryStockLocations.TYPE;
|
|
33
|
+
}
|
|
34
|
+
relationship(id) {
|
|
35
|
+
return super.relationshipOneToOne(id);
|
|
36
|
+
}
|
|
37
|
+
relationshipToMany(...ids) {
|
|
38
|
+
return super.relationshipOneToMany(...ids);
|
|
39
|
+
}
|
|
40
|
+
type() {
|
|
41
|
+
return _InventoryStockLocations.TYPE;
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
var instance = new InventoryStockLocations();
|
|
45
|
+
var inventory_stock_locations_default = instance;
|
|
46
|
+
|
|
47
|
+
export { inventory_stock_locations_default };
|
|
48
|
+
//# sourceMappingURL=chunk-PAWJTO7I.js.map
|
|
49
|
+
//# sourceMappingURL=chunk-PAWJTO7I.js.map
|