@commercelayer/sdk 7.12.0 → 7.12.1
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-BL9tZFHY.d.cts +18190 -0
- package/lib/api-DZQtGYwQ.d.ts +18190 -0
- package/lib/api.cjs +263 -263
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +132 -132
- package/lib/bundle.cjs +406 -270
- package/lib/bundle.cjs.map +1 -1
- package/lib/bundle.d.cts +3 -1
- package/lib/bundle.d.ts +3 -1
- package/lib/bundle.js +405 -269
- package/lib/bundle.js.map +1 -1
- package/lib/chunk-24NE5SNH.cjs +56 -0
- package/lib/chunk-24NE5SNH.cjs.map +1 -0
- package/lib/chunk-2BD5EQXE.js +51 -0
- package/lib/chunk-2BD5EQXE.js.map +1 -0
- package/lib/chunk-2CFM6BXC.cjs +95 -0
- package/lib/chunk-2CFM6BXC.cjs.map +1 -0
- package/lib/chunk-2DG24Y6O.cjs +51 -0
- package/lib/chunk-2DG24Y6O.cjs.map +1 -0
- package/lib/chunk-2DQPE4FR.cjs +51 -0
- package/lib/chunk-2DQPE4FR.cjs.map +1 -0
- package/lib/chunk-2GU7EWJC.js +44 -0
- package/lib/chunk-2GU7EWJC.js.map +1 -0
- package/lib/chunk-2ILQ3GLM.cjs +47 -0
- package/lib/chunk-2ILQ3GLM.cjs.map +1 -0
- package/lib/chunk-2IW23WZS.cjs +47 -0
- package/lib/chunk-2IW23WZS.cjs.map +1 -0
- package/lib/chunk-2NFQDGNK.cjs +47 -0
- package/lib/chunk-2NFQDGNK.cjs.map +1 -0
- package/lib/chunk-2S7PLJHX.js +32 -0
- package/lib/chunk-2S7PLJHX.js.map +1 -0
- package/lib/chunk-2TXRJQTU.cjs +44 -0
- package/lib/chunk-2TXRJQTU.cjs.map +1 -0
- package/lib/chunk-2WH7FZLF.js +37 -0
- package/lib/chunk-2WH7FZLF.js.map +1 -0
- package/lib/chunk-3D4FUEMG.js +49 -0
- package/lib/chunk-3D4FUEMG.js.map +1 -0
- package/lib/chunk-3JAP7TVC.js +51 -0
- package/lib/chunk-3JAP7TVC.js.map +1 -0
- package/lib/chunk-43NY4KEG.js +49 -0
- package/lib/chunk-43NY4KEG.js.map +1 -0
- package/lib/chunk-44LYFX4Z.js +69 -0
- package/lib/chunk-44LYFX4Z.js.map +1 -0
- package/lib/chunk-46GP7OXR.js +96 -0
- package/lib/chunk-46GP7OXR.js.map +1 -0
- package/lib/chunk-4DIICB2C.js +68 -0
- package/lib/chunk-4DIICB2C.js.map +1 -0
- package/lib/chunk-4GRYDY72.js +36 -0
- package/lib/chunk-4GRYDY72.js.map +1 -0
- package/lib/chunk-4HI7WNDF.cjs +55 -0
- package/lib/chunk-4HI7WNDF.cjs.map +1 -0
- package/lib/chunk-4POJYIPJ.js +95 -0
- package/lib/chunk-4POJYIPJ.js.map +1 -0
- package/lib/chunk-4QWRJHKI.cjs +47 -0
- package/lib/chunk-4QWRJHKI.cjs.map +1 -0
- package/lib/chunk-4UPCZNRS.cjs +34 -0
- package/lib/chunk-4UPCZNRS.cjs.map +1 -0
- package/lib/chunk-4XTBGJWW.js +52 -0
- package/lib/chunk-4XTBGJWW.js.map +1 -0
- package/lib/chunk-537HL2FZ.cjs +107 -0
- package/lib/chunk-537HL2FZ.cjs.map +1 -0
- package/lib/chunk-54PMSXTI.cjs +51 -0
- package/lib/chunk-54PMSXTI.cjs.map +1 -0
- package/lib/chunk-57GQ3X6P.js +91 -0
- package/lib/chunk-57GQ3X6P.js.map +1 -0
- package/lib/chunk-5ARYINZ2.cjs +50 -0
- package/lib/chunk-5ARYINZ2.cjs.map +1 -0
- package/lib/chunk-5EIKNK5S.js +66 -0
- package/lib/chunk-5EIKNK5S.js.map +1 -0
- package/lib/chunk-5J35GMM3.js +28 -0
- package/lib/chunk-5J35GMM3.js.map +1 -0
- package/lib/chunk-5Q2MYZ5B.js +59 -0
- package/lib/chunk-5Q2MYZ5B.js.map +1 -0
- package/lib/chunk-5TOKIUAB.js +89 -0
- package/lib/chunk-5TOKIUAB.js.map +1 -0
- package/lib/chunk-5UVYU4XN.cjs +51 -0
- package/lib/chunk-5UVYU4XN.cjs.map +1 -0
- package/lib/chunk-5XLKZYDF.cjs +30 -0
- package/lib/chunk-5XLKZYDF.cjs.map +1 -0
- package/lib/chunk-64WLJSJG.cjs +51 -0
- package/lib/chunk-64WLJSJG.cjs.map +1 -0
- package/lib/chunk-6BMCLZBQ.cjs +51 -0
- package/lib/chunk-6BMCLZBQ.cjs.map +1 -0
- package/lib/chunk-6BUVYKSP.cjs +49 -0
- package/lib/chunk-6BUVYKSP.cjs.map +1 -0
- package/lib/chunk-6CRXGM2S.cjs +50 -0
- package/lib/chunk-6CRXGM2S.cjs.map +1 -0
- package/lib/chunk-6RG3EDXD.js +49 -0
- package/lib/chunk-6RG3EDXD.js.map +1 -0
- package/lib/chunk-6TBUF3H2.cjs +68 -0
- package/lib/chunk-6TBUF3H2.cjs.map +1 -0
- package/lib/chunk-6TO7G4WZ.cjs +118 -0
- package/lib/chunk-6TO7G4WZ.cjs.map +1 -0
- package/lib/chunk-6VN4NEUS.js +52 -0
- package/lib/chunk-6VN4NEUS.js.map +1 -0
- package/lib/chunk-6X3SERAO.cjs +39 -0
- package/lib/chunk-6X3SERAO.cjs.map +1 -0
- package/lib/chunk-6XX3G5GF.cjs +61 -0
- package/lib/chunk-6XX3G5GF.cjs.map +1 -0
- package/lib/chunk-73PTWYSG.js +48 -0
- package/lib/chunk-73PTWYSG.js.map +1 -0
- package/lib/chunk-73QKCTFL.cjs +95 -0
- package/lib/chunk-73QKCTFL.cjs.map +1 -0
- package/lib/chunk-74OFKAKF.js +54 -0
- package/lib/chunk-74OFKAKF.js.map +1 -0
- package/lib/chunk-7C2RQMWG.cjs +56 -0
- package/lib/chunk-7C2RQMWG.cjs.map +1 -0
- package/lib/chunk-7CG3LRH3.js +32 -0
- package/lib/chunk-7CG3LRH3.js.map +1 -0
- package/lib/chunk-7OHJVGWS.js +93 -0
- package/lib/chunk-7OHJVGWS.js.map +1 -0
- package/lib/chunk-7SB7OFM7.js +41 -0
- package/lib/chunk-7SB7OFM7.js.map +1 -0
- package/lib/chunk-7W4HDA22.js +61 -0
- package/lib/chunk-7W4HDA22.js.map +1 -0
- package/lib/chunk-7YTV5CFU.js +113 -0
- package/lib/chunk-7YTV5CFU.js.map +1 -0
- package/lib/chunk-A5P5CV26.js +99 -0
- package/lib/chunk-A5P5CV26.js.map +1 -0
- package/lib/chunk-ADBL6GHI.js +287 -0
- package/lib/chunk-ADBL6GHI.js.map +1 -0
- package/lib/chunk-AFCHVA7J.cjs +51 -0
- package/lib/chunk-AFCHVA7J.cjs.map +1 -0
- package/lib/chunk-ALWCRWTW.js +41 -0
- package/lib/chunk-ALWCRWTW.js.map +1 -0
- package/lib/chunk-ATUQUSZW.cjs +42 -0
- package/lib/chunk-ATUQUSZW.cjs.map +1 -0
- package/lib/chunk-B3C3H44A.cjs +47 -0
- package/lib/chunk-B3C3H44A.cjs.map +1 -0
- package/lib/chunk-B66V3CZY.cjs +56 -0
- package/lib/chunk-B66V3CZY.cjs.map +1 -0
- package/lib/chunk-BA5RFQPZ.cjs +95 -0
- package/lib/chunk-BA5RFQPZ.cjs.map +1 -0
- package/lib/chunk-BAHXWPSG.cjs +61 -0
- package/lib/chunk-BAHXWPSG.cjs.map +1 -0
- package/lib/chunk-BDXU3PHK.cjs +51 -0
- package/lib/chunk-BDXU3PHK.cjs.map +1 -0
- package/lib/chunk-BFGICGFK.js +73 -0
- package/lib/chunk-BFGICGFK.js.map +1 -0
- package/lib/chunk-BKHI7LSW.js +51 -0
- package/lib/chunk-BKHI7LSW.js.map +1 -0
- package/lib/chunk-BMMDE6ES.cjs +47 -0
- package/lib/chunk-BMMDE6ES.cjs.map +1 -0
- package/lib/chunk-BNRBLHHS.js +37 -0
- package/lib/chunk-BNRBLHHS.js.map +1 -0
- package/lib/chunk-BQIGX57O.js +48 -0
- package/lib/chunk-BQIGX57O.js.map +1 -0
- package/lib/chunk-BVJSDDPT.js +68 -0
- package/lib/chunk-BVJSDDPT.js.map +1 -0
- package/lib/chunk-BW4KC4JJ.js +48 -0
- package/lib/chunk-BW4KC4JJ.js.map +1 -0
- package/lib/chunk-C5TXM4TK.js +73 -0
- package/lib/chunk-C5TXM4TK.js.map +1 -0
- package/lib/chunk-C6RXW4YY.cjs +89 -0
- package/lib/chunk-C6RXW4YY.cjs.map +1 -0
- package/lib/chunk-C7K53SPD.js +24 -0
- package/lib/chunk-C7K53SPD.js.map +1 -0
- package/lib/chunk-CEZMXGF2.js +51 -0
- package/lib/chunk-CEZMXGF2.js.map +1 -0
- package/lib/chunk-CGJSEELZ.js +37 -0
- package/lib/chunk-CGJSEELZ.js.map +1 -0
- package/lib/chunk-CHD7QDKS.js +59 -0
- package/lib/chunk-CHD7QDKS.js.map +1 -0
- package/lib/chunk-CIKMIKZ6.js +42 -0
- package/lib/chunk-CIKMIKZ6.js.map +1 -0
- package/lib/chunk-CN4ZAHGA.js +40 -0
- package/lib/chunk-CN4ZAHGA.js.map +1 -0
- package/lib/chunk-CNDVEHRU.cjs +56 -0
- package/lib/chunk-CNDVEHRU.cjs.map +1 -0
- package/lib/chunk-COHQZCSV.js +54 -0
- package/lib/chunk-COHQZCSV.js.map +1 -0
- package/lib/chunk-CVEC2QZK.cjs +55 -0
- package/lib/chunk-CVEC2QZK.cjs.map +1 -0
- package/lib/chunk-CXIIIZIG.js +49 -0
- package/lib/chunk-CXIIIZIG.js.map +1 -0
- package/lib/chunk-CYBDCJQP.cjs +47 -0
- package/lib/chunk-CYBDCJQP.cjs.map +1 -0
- package/lib/chunk-D6LGIBLP.js +65 -0
- package/lib/chunk-D6LGIBLP.js.map +1 -0
- package/lib/chunk-D7CJRB3O.cjs +42 -0
- package/lib/chunk-D7CJRB3O.cjs.map +1 -0
- package/lib/chunk-DBZRDDQC.js +51 -0
- package/lib/chunk-DBZRDDQC.js.map +1 -0
- package/lib/chunk-DGN6CMSF.cjs +54 -0
- package/lib/chunk-DGN6CMSF.cjs.map +1 -0
- package/lib/chunk-DMYSSEB4.js +36 -0
- package/lib/chunk-DMYSSEB4.js.map +1 -0
- package/lib/chunk-DRHA2WTQ.js +67 -0
- package/lib/chunk-DRHA2WTQ.js.map +1 -0
- package/lib/chunk-DU7BKVA6.js +37 -0
- package/lib/chunk-DU7BKVA6.js.map +1 -0
- package/lib/chunk-DUQUDIXD.js +54 -0
- package/lib/chunk-DUQUDIXD.js.map +1 -0
- package/lib/chunk-E23O3HTZ.js +45 -0
- package/lib/chunk-E23O3HTZ.js.map +1 -0
- package/lib/chunk-E347ZWT4.js +49 -0
- package/lib/chunk-E347ZWT4.js.map +1 -0
- package/lib/chunk-EBBRMPEP.js +59 -0
- package/lib/chunk-EBBRMPEP.js.map +1 -0
- package/lib/chunk-EURZY6LF.js +45 -0
- package/lib/chunk-EURZY6LF.js.map +1 -0
- package/lib/chunk-EV2V5IMS.cjs +71 -0
- package/lib/chunk-EV2V5IMS.cjs.map +1 -0
- package/lib/chunk-EVZXYAFX.cjs +47 -0
- package/lib/chunk-EVZXYAFX.cjs.map +1 -0
- package/lib/chunk-EWGNTRWZ.cjs +51 -0
- package/lib/chunk-EWGNTRWZ.cjs.map +1 -0
- package/lib/chunk-EWPZW23I.cjs +50 -0
- package/lib/chunk-EWPZW23I.cjs.map +1 -0
- package/lib/chunk-EZBICJIP.cjs +30 -0
- package/lib/chunk-EZBICJIP.cjs.map +1 -0
- package/lib/chunk-FD73BWXU.js +93 -0
- package/lib/chunk-FD73BWXU.js.map +1 -0
- package/lib/chunk-FDG63RME.js +49 -0
- package/lib/chunk-FDG63RME.js.map +1 -0
- package/lib/chunk-FTEO3U3B.js +105 -0
- package/lib/chunk-FTEO3U3B.js.map +1 -0
- package/lib/chunk-FYD5UJFR.js +87 -0
- package/lib/chunk-FYD5UJFR.js.map +1 -0
- package/lib/chunk-FZQEBN4H.js +124 -0
- package/lib/chunk-FZQEBN4H.js.map +1 -0
- package/lib/chunk-GBFK7JL7.cjs +156 -0
- package/lib/chunk-GBFK7JL7.cjs.map +1 -0
- package/lib/chunk-GDB54Z5E.cjs +47 -0
- package/lib/chunk-GDB54Z5E.cjs.map +1 -0
- package/lib/chunk-GDMYCRU2.cjs +56 -0
- package/lib/chunk-GDMYCRU2.cjs.map +1 -0
- package/lib/chunk-GEYB6J6Q.cjs +51 -0
- package/lib/chunk-GEYB6J6Q.cjs.map +1 -0
- package/lib/chunk-GGOX5RVE.cjs +63 -0
- package/lib/chunk-GGOX5RVE.cjs.map +1 -0
- package/lib/chunk-GHXAIVNL.cjs +50 -0
- package/lib/chunk-GHXAIVNL.cjs.map +1 -0
- package/lib/chunk-GM6TOVU3.cjs +63 -0
- package/lib/chunk-GM6TOVU3.cjs.map +1 -0
- package/lib/chunk-GQ2VOYQW.cjs +47 -0
- package/lib/chunk-GQ2VOYQW.cjs.map +1 -0
- package/lib/chunk-GQSHLDFM.js +41 -0
- package/lib/chunk-GQSHLDFM.js.map +1 -0
- package/lib/chunk-GXS65DGD.js +93 -0
- package/lib/chunk-GXS65DGD.js.map +1 -0
- package/lib/chunk-HA2JISXS.cjs +56 -0
- package/lib/chunk-HA2JISXS.cjs.map +1 -0
- package/lib/chunk-HKE5VQN6.js +47 -0
- package/lib/chunk-HKE5VQN6.js.map +1 -0
- package/lib/chunk-HVB7P2BK.cjs +62 -0
- package/lib/chunk-HVB7P2BK.cjs.map +1 -0
- package/lib/chunk-HYJ7Z6D7.js +40 -0
- package/lib/chunk-HYJ7Z6D7.js.map +1 -0
- package/lib/chunk-IA3XLO6M.js +54 -0
- package/lib/chunk-IA3XLO6M.js.map +1 -0
- package/lib/chunk-ICFDBQ5X.cjs +75 -0
- package/lib/chunk-ICFDBQ5X.cjs.map +1 -0
- package/lib/chunk-IKTZENHC.js +53 -0
- package/lib/chunk-IKTZENHC.js.map +1 -0
- package/lib/chunk-ILX5NRZ6.cjs +55 -0
- package/lib/chunk-ILX5NRZ6.cjs.map +1 -0
- package/lib/chunk-ISUCEW36.cjs +39 -0
- package/lib/chunk-ISUCEW36.cjs.map +1 -0
- package/lib/chunk-IW6D2ATB.cjs +47 -0
- package/lib/chunk-IW6D2ATB.cjs.map +1 -0
- package/lib/chunk-J3EPWRQF.js +54 -0
- package/lib/chunk-J3EPWRQF.js.map +1 -0
- package/lib/chunk-JF7ZZKBL.cjs +70 -0
- package/lib/chunk-JF7ZZKBL.cjs.map +1 -0
- package/lib/chunk-JMINY25P.js +53 -0
- package/lib/chunk-JMINY25P.js.map +1 -0
- package/lib/chunk-JQWRLR32.js +37 -0
- package/lib/chunk-JQWRLR32.js.map +1 -0
- package/lib/chunk-JWSRNFYM.js +50 -0
- package/lib/chunk-JWSRNFYM.js.map +1 -0
- package/lib/chunk-JWZ3H57F.js +40 -0
- package/lib/chunk-JWZ3H57F.js.map +1 -0
- package/lib/chunk-JZ3NGNOU.cjs +75 -0
- package/lib/chunk-JZ3NGNOU.cjs.map +1 -0
- package/lib/chunk-K45H4QRJ.cjs +91 -0
- package/lib/chunk-K45H4QRJ.cjs.map +1 -0
- package/lib/chunk-KAEKTLB6.cjs +43 -0
- package/lib/chunk-KAEKTLB6.cjs.map +1 -0
- package/lib/chunk-KIYGE6PC.cjs +47 -0
- package/lib/chunk-KIYGE6PC.cjs.map +1 -0
- package/lib/chunk-KPX3O2BQ.cjs +34 -0
- package/lib/chunk-KPX3O2BQ.cjs.map +1 -0
- package/lib/chunk-KQ62ZCOB.js +45 -0
- package/lib/chunk-KQ62ZCOB.js.map +1 -0
- package/lib/chunk-KRINYHI4.js +48 -0
- package/lib/chunk-KRINYHI4.js.map +1 -0
- package/lib/chunk-KW6OBE6A.js +93 -0
- package/lib/chunk-KW6OBE6A.js.map +1 -0
- package/lib/chunk-KZHDWO2M.js +54 -0
- package/lib/chunk-KZHDWO2M.js.map +1 -0
- package/lib/chunk-L36P6TCW.cjs +61 -0
- package/lib/chunk-L36P6TCW.cjs.map +1 -0
- package/lib/chunk-L7UYIV5U.js +52 -0
- package/lib/chunk-L7UYIV5U.js.map +1 -0
- package/lib/chunk-LH3NVT5R.cjs +67 -0
- package/lib/chunk-LH3NVT5R.cjs.map +1 -0
- package/lib/chunk-LLV57FCL.cjs +95 -0
- package/lib/chunk-LLV57FCL.cjs.map +1 -0
- package/lib/chunk-LMDYSL5J.cjs +50 -0
- package/lib/chunk-LMDYSL5J.cjs.map +1 -0
- package/lib/chunk-LU7NF3DQ.cjs +39 -0
- package/lib/chunk-LU7NF3DQ.cjs.map +1 -0
- package/lib/chunk-MG6ISTV3.js +60 -0
- package/lib/chunk-MG6ISTV3.js.map +1 -0
- package/lib/chunk-MGHVUU2R.cjs +49 -0
- package/lib/chunk-MGHVUU2R.cjs.map +1 -0
- package/lib/chunk-MH54XBSX.cjs +29 -0
- package/lib/chunk-MH54XBSX.cjs.map +1 -0
- package/lib/chunk-MLED3JD2.js +45 -0
- package/lib/chunk-MLED3JD2.js.map +1 -0
- package/lib/chunk-MPGYQKVP.cjs +56 -0
- package/lib/chunk-MPGYQKVP.cjs.map +1 -0
- package/lib/chunk-MPYP5HNA.js +45 -0
- package/lib/chunk-MPYP5HNA.js.map +1 -0
- package/lib/chunk-MSAAHT3W.js +28 -0
- package/lib/chunk-MSAAHT3W.js.map +1 -0
- package/lib/chunk-MV3DXOEE.cjs +47 -0
- package/lib/chunk-MV3DXOEE.cjs.map +1 -0
- package/lib/chunk-MYXLBPGW.js +31 -0
- package/lib/chunk-MYXLBPGW.js.map +1 -0
- package/lib/chunk-N26J535W.js +53 -0
- package/lib/chunk-N26J535W.js.map +1 -0
- package/lib/chunk-NEPV2QT6.cjs +42 -0
- package/lib/chunk-NEPV2QT6.cjs.map +1 -0
- package/lib/chunk-NG7M2SWO.cjs +101 -0
- package/lib/chunk-NG7M2SWO.cjs.map +1 -0
- package/lib/chunk-NJ7VTZ45.js +40 -0
- package/lib/chunk-NJ7VTZ45.js.map +1 -0
- package/lib/chunk-NJZ5526I.cjs +98 -0
- package/lib/chunk-NJZ5526I.cjs.map +1 -0
- package/lib/chunk-NQ2WJSTK.js +45 -0
- package/lib/chunk-NQ2WJSTK.js.map +1 -0
- package/lib/chunk-NUJMM4IE.cjs +46 -0
- package/lib/chunk-NUJMM4IE.cjs.map +1 -0
- package/lib/chunk-NZV7T6OS.cjs +42 -0
- package/lib/chunk-NZV7T6OS.cjs.map +1 -0
- package/lib/chunk-O5LELQ3H.cjs +55 -0
- package/lib/chunk-O5LELQ3H.cjs.map +1 -0
- package/lib/chunk-O5ZCTFGS.cjs +57 -0
- package/lib/chunk-O5ZCTFGS.cjs.map +1 -0
- package/lib/chunk-OCHJ6H5L.js +59 -0
- package/lib/chunk-OCHJ6H5L.js.map +1 -0
- package/lib/chunk-OEOPKYYH.cjs +77 -0
- package/lib/chunk-OEOPKYYH.cjs.map +1 -0
- package/lib/chunk-OOWF4KZW.js +49 -0
- package/lib/chunk-OOWF4KZW.js.map +1 -0
- package/lib/chunk-OQ6XCVXY.js +41 -0
- package/lib/chunk-OQ6XCVXY.js.map +1 -0
- package/lib/chunk-OQJSTZNL.cjs +61 -0
- package/lib/chunk-OQJSTZNL.cjs.map +1 -0
- package/lib/chunk-ORUCCVMU.js +45 -0
- package/lib/chunk-ORUCCVMU.js.map +1 -0
- package/lib/chunk-OUXO6SLS.cjs +49 -0
- package/lib/chunk-OUXO6SLS.cjs.map +1 -0
- package/lib/chunk-OY6MZVBQ.cjs +38 -0
- package/lib/chunk-OY6MZVBQ.cjs.map +1 -0
- package/lib/chunk-PAQOOCG3.cjs +126 -0
- package/lib/chunk-PAQOOCG3.cjs.map +1 -0
- package/lib/chunk-PASUJC7O.cjs +51 -0
- package/lib/chunk-PASUJC7O.cjs.map +1 -0
- package/lib/chunk-PDGVNV5M.js +154 -0
- package/lib/chunk-PDGVNV5M.js.map +1 -0
- package/lib/chunk-PECN2STI.cjs +47 -0
- package/lib/chunk-PECN2STI.cjs.map +1 -0
- package/lib/chunk-PN24CPTP.js +40 -0
- package/lib/chunk-PN24CPTP.js.map +1 -0
- package/lib/chunk-PSSGYICM.cjs +47 -0
- package/lib/chunk-PSSGYICM.cjs.map +1 -0
- package/lib/chunk-PWISCPLC.cjs +55 -0
- package/lib/chunk-PWISCPLC.cjs.map +1 -0
- package/lib/chunk-Q35LAO5H.cjs +61 -0
- package/lib/chunk-Q35LAO5H.cjs.map +1 -0
- package/lib/chunk-Q5LEAU3I.js +44 -0
- package/lib/chunk-Q5LEAU3I.js.map +1 -0
- package/lib/chunk-QDU2H45U.cjs +53 -0
- package/lib/chunk-QDU2H45U.cjs.map +1 -0
- package/lib/chunk-QHDNUJT6.js +45 -0
- package/lib/chunk-QHDNUJT6.js.map +1 -0
- package/lib/chunk-QHLRNRP7.js +54 -0
- package/lib/chunk-QHLRNRP7.js.map +1 -0
- package/lib/chunk-QIAXU2SJ.cjs +54 -0
- package/lib/chunk-QIAXU2SJ.cjs.map +1 -0
- package/lib/chunk-QLHBMADF.cjs +52 -0
- package/lib/chunk-QLHBMADF.cjs.map +1 -0
- package/lib/chunk-QLLPSD32.cjs +51 -0
- package/lib/chunk-QLLPSD32.cjs.map +1 -0
- package/lib/chunk-QLW5QVVW.cjs +70 -0
- package/lib/chunk-QLW5QVVW.cjs.map +1 -0
- package/lib/chunk-QNJQIJKL.cjs +98 -0
- package/lib/chunk-QNJQIJKL.cjs.map +1 -0
- package/lib/chunk-QPFAATIQ.js +49 -0
- package/lib/chunk-QPFAATIQ.js.map +1 -0
- package/lib/chunk-QRRPEYJZ.cjs +26 -0
- package/lib/chunk-QRRPEYJZ.cjs.map +1 -0
- package/lib/chunk-QYNCYKXA.cjs +51 -0
- package/lib/chunk-QYNCYKXA.cjs.map +1 -0
- package/lib/chunk-QYQLV3UF.js +57 -0
- package/lib/chunk-QYQLV3UF.js.map +1 -0
- package/lib/chunk-R5GWVFCY.cjs +95 -0
- package/lib/chunk-R5GWVFCY.cjs.map +1 -0
- package/lib/chunk-R5RKU5ET.cjs +68 -0
- package/lib/chunk-R5RKU5ET.cjs.map +1 -0
- package/lib/chunk-RAVVFNM3.cjs +42 -0
- package/lib/chunk-RAVVFNM3.cjs.map +1 -0
- package/lib/chunk-RDACMJVS.js +53 -0
- package/lib/chunk-RDACMJVS.js.map +1 -0
- package/lib/chunk-RJIKKTQZ.cjs +39 -0
- package/lib/chunk-RJIKKTQZ.cjs.map +1 -0
- package/lib/chunk-ROYOEYGX.cjs +33 -0
- package/lib/chunk-ROYOEYGX.cjs.map +1 -0
- package/lib/chunk-RSYBOKNE.js +45 -0
- package/lib/chunk-RSYBOKNE.js.map +1 -0
- package/lib/chunk-RYPA7HYS.js +93 -0
- package/lib/chunk-RYPA7HYS.js.map +1 -0
- package/lib/chunk-S2SYYYG2.cjs +69 -0
- package/lib/chunk-S2SYYYG2.cjs.map +1 -0
- package/lib/chunk-S6XPCUJW.js +75 -0
- package/lib/chunk-S6XPCUJW.js.map +1 -0
- package/lib/chunk-SFYB5GXI.js +59 -0
- package/lib/chunk-SFYB5GXI.js.map +1 -0
- package/lib/chunk-SSQYQJV3.js +66 -0
- package/lib/chunk-SSQYQJV3.js.map +1 -0
- package/lib/chunk-SUUOHRSG.js +61 -0
- package/lib/chunk-SUUOHRSG.js.map +1 -0
- package/lib/chunk-SW5N35FH.cjs +43 -0
- package/lib/chunk-SW5N35FH.cjs.map +1 -0
- package/lib/chunk-T26776MO.cjs +105 -0
- package/lib/chunk-T26776MO.cjs.map +1 -0
- package/lib/chunk-T2OKZDN4.js +49 -0
- package/lib/chunk-T2OKZDN4.js.map +1 -0
- package/lib/chunk-T5G655QT.js +27 -0
- package/lib/chunk-T5G655QT.js.map +1 -0
- package/lib/chunk-TE67ODLT.js +47 -0
- package/lib/chunk-TE67ODLT.js.map +1 -0
- package/lib/chunk-TGFRUTII.js +45 -0
- package/lib/chunk-TGFRUTII.js.map +1 -0
- package/lib/chunk-TM3WY5JX.js +49 -0
- package/lib/chunk-TM3WY5JX.js.map +1 -0
- package/lib/chunk-TOIJVWRZ.cjs +285 -0
- package/lib/chunk-TOIJVWRZ.cjs.map +1 -0
- package/lib/chunk-TUCNQX6Y.js +49 -0
- package/lib/chunk-TUCNQX6Y.js.map +1 -0
- package/lib/chunk-U5RLBTS6.js +49 -0
- package/lib/chunk-U5RLBTS6.js.map +1 -0
- package/lib/chunk-UBFZSSUZ.js +50 -0
- package/lib/chunk-UBFZSSUZ.js.map +1 -0
- package/lib/chunk-UD2ZHF5I.js +49 -0
- package/lib/chunk-UD2ZHF5I.js.map +1 -0
- package/lib/chunk-UMID2D26.js +45 -0
- package/lib/chunk-UMID2D26.js.map +1 -0
- package/lib/chunk-UUL3UDIC.js +45 -0
- package/lib/chunk-UUL3UDIC.js.map +1 -0
- package/lib/chunk-V4PP6IUM.cjs +42 -0
- package/lib/chunk-V4PP6IUM.cjs.map +1 -0
- package/lib/chunk-VH65L3FZ.cjs +43 -0
- package/lib/chunk-VH65L3FZ.cjs.map +1 -0
- package/lib/chunk-VIPTK4KE.js +40 -0
- package/lib/chunk-VIPTK4KE.js.map +1 -0
- package/lib/chunk-VS7D74RY.cjs +54 -0
- package/lib/chunk-VS7D74RY.cjs.map +1 -0
- package/lib/chunk-VWZ2H35A.cjs +53 -0
- package/lib/chunk-VWZ2H35A.cjs.map +1 -0
- package/lib/chunk-W2ZODWRB.cjs +47 -0
- package/lib/chunk-W2ZODWRB.cjs.map +1 -0
- package/lib/chunk-W534ZCYS.cjs +43 -0
- package/lib/chunk-W534ZCYS.cjs.map +1 -0
- package/lib/chunk-WAQYCXXA.cjs +55 -0
- package/lib/chunk-WAQYCXXA.cjs.map +1 -0
- package/lib/chunk-WGKGDMJG.js +54 -0
- package/lib/chunk-WGKGDMJG.js.map +1 -0
- package/lib/chunk-WKD345DZ.cjs +52 -0
- package/lib/chunk-WKD345DZ.cjs.map +1 -0
- package/lib/chunk-WM3MOTCN.js +45 -0
- package/lib/chunk-WM3MOTCN.js.map +1 -0
- package/lib/chunk-WQKG5HJS.js +45 -0
- package/lib/chunk-WQKG5HJS.js.map +1 -0
- package/lib/chunk-WSNUMIIY.cjs +56 -0
- package/lib/chunk-WSNUMIIY.cjs.map +1 -0
- package/lib/chunk-WYULLF7A.cjs +53 -0
- package/lib/chunk-WYULLF7A.cjs.map +1 -0
- package/lib/chunk-X2BR77L2.js +283 -0
- package/lib/chunk-X2BR77L2.js.map +1 -0
- package/lib/chunk-X46PVG74.js +45 -0
- package/lib/chunk-X46PVG74.js.map +1 -0
- package/lib/chunk-X5OWNCC4.cjs +38 -0
- package/lib/chunk-X5OWNCC4.cjs.map +1 -0
- package/lib/chunk-X6SULYQB.cjs +38 -0
- package/lib/chunk-X6SULYQB.cjs.map +1 -0
- package/lib/chunk-X7AKN4S6.js +48 -0
- package/lib/chunk-X7AKN4S6.js.map +1 -0
- package/lib/chunk-XBBVFGOJ.js +45 -0
- package/lib/chunk-XBBVFGOJ.js.map +1 -0
- package/lib/chunk-XC67WDBZ.cjs +39 -0
- package/lib/chunk-XC67WDBZ.cjs.map +1 -0
- package/lib/chunk-XCFDOKIM.cjs +47 -0
- package/lib/chunk-XCFDOKIM.cjs.map +1 -0
- package/lib/chunk-XKDMHHU6.js +53 -0
- package/lib/chunk-XKDMHHU6.js.map +1 -0
- package/lib/chunk-XPE3CHFX.js +40 -0
- package/lib/chunk-XPE3CHFX.js.map +1 -0
- package/lib/chunk-XRYS36MH.js +45 -0
- package/lib/chunk-XRYS36MH.js.map +1 -0
- package/lib/chunk-XXL66GOT.js +103 -0
- package/lib/chunk-XXL66GOT.js.map +1 -0
- package/lib/chunk-XYFVAE5Q.js +37 -0
- package/lib/chunk-XYFVAE5Q.js.map +1 -0
- package/lib/chunk-XYPIGF36.cjs +295 -0
- package/lib/chunk-XYPIGF36.cjs.map +1 -0
- package/lib/chunk-Y262ZN7R.cjs +42 -0
- package/lib/chunk-Y262ZN7R.cjs.map +1 -0
- package/lib/chunk-YBRIQ52U.cjs +97 -0
- package/lib/chunk-YBRIQ52U.cjs.map +1 -0
- package/lib/chunk-YGGJGJU7.js +55 -0
- package/lib/chunk-YGGJGJU7.js.map +1 -0
- package/lib/chunk-YNKM6H3D.cjs +59 -0
- package/lib/chunk-YNKM6H3D.cjs.map +1 -0
- package/lib/chunk-YPX3YJ4L.cjs +93 -0
- package/lib/chunk-YPX3YJ4L.cjs.map +1 -0
- package/lib/chunk-YXMPQHE4.cjs +57 -0
- package/lib/chunk-YXMPQHE4.cjs.map +1 -0
- package/lib/chunk-Z3XTAUYM.js +96 -0
- package/lib/chunk-Z3XTAUYM.js.map +1 -0
- package/lib/chunk-Z4CUVPMW.js +47 -0
- package/lib/chunk-Z4CUVPMW.js.map +1 -0
- package/lib/chunk-Z4PD2SXY.js +55 -0
- package/lib/chunk-Z4PD2SXY.js.map +1 -0
- package/lib/chunk-ZBIJQ4CN.js +53 -0
- package/lib/chunk-ZBIJQ4CN.js.map +1 -0
- package/lib/chunk-ZCMD5U3M.js +36 -0
- package/lib/chunk-ZCMD5U3M.js.map +1 -0
- package/lib/chunk-ZF5RJEW7.cjs +39 -0
- package/lib/chunk-ZF5RJEW7.cjs.map +1 -0
- package/lib/chunk-ZGKZWE7U.cjs +53 -0
- package/lib/chunk-ZGKZWE7U.cjs.map +1 -0
- package/lib/chunk-ZHCI2QRX.cjs +46 -0
- package/lib/chunk-ZHCI2QRX.cjs.map +1 -0
- package/lib/chunk-ZMZ73HFP.cjs +53 -0
- package/lib/chunk-ZMZ73HFP.cjs.map +1 -0
- package/lib/chunk-ZT5VCXSB.js +45 -0
- package/lib/chunk-ZT5VCXSB.js.map +1 -0
- package/lib/chunk-ZTSVFTKP.cjs +51 -0
- package/lib/chunk-ZTSVFTKP.cjs.map +1 -0
- package/lib/chunk-ZVJZFSX5.cjs +47 -0
- package/lib/chunk-ZVJZFSX5.cjs.map +1 -0
- package/lib/chunk-ZZZ5IYR4.js +49 -0
- package/lib/chunk-ZZZ5IYR4.js.map +1 -0
- package/lib/commercelayer.cjs +6 -6
- package/lib/commercelayer.d.cts +3 -1
- package/lib/commercelayer.d.ts +3 -1
- package/lib/commercelayer.js +2 -2
- package/lib/enum.d.cts +1 -1
- package/lib/enum.d.ts +1 -1
- package/lib/index.cjs +268 -268
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +134 -134
- package/lib/jsonapi.cjs +3 -3
- package/lib/jsonapi.d.cts +1 -1
- package/lib/jsonapi.d.ts +1 -1
- package/lib/jsonapi.js +1 -1
- package/lib/model.d.cts +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/query.d.cts +1 -1
- package/lib/query.d.ts +1 -1
- package/lib/resource.cjs +6 -6
- package/lib/resource.d.cts +1 -1
- package/lib/resource.d.ts +1 -1
- package/lib/resource.js +1 -1
- package/lib/resources/addresses.cjs +3 -3
- package/lib/resources/addresses.d.cts +2 -2
- package/lib/resources/addresses.d.ts +1 -1
- package/lib/resources/addresses.js +2 -2
- package/lib/resources/adjustments.cjs +3 -3
- package/lib/resources/adjustments.d.cts +2 -2
- package/lib/resources/adjustments.d.ts +1 -1
- package/lib/resources/adjustments.js +2 -2
- package/lib/resources/adyen_gateways.cjs +3 -3
- package/lib/resources/adyen_gateways.d.cts +2 -2
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_gateways.js +2 -2
- package/lib/resources/adyen_payments.cjs +3 -3
- package/lib/resources/adyen_payments.d.cts +2 -2
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/adyen_payments.js +2 -2
- package/lib/resources/applications.cjs +3 -3
- package/lib/resources/applications.d.cts +2 -2
- package/lib/resources/applications.d.ts +1 -1
- package/lib/resources/applications.js +2 -2
- package/lib/resources/attachments.cjs +3 -3
- package/lib/resources/attachments.d.cts +2 -2
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/attachments.js +2 -2
- package/lib/resources/authorizations.cjs +3 -3
- package/lib/resources/authorizations.d.cts +2 -2
- package/lib/resources/authorizations.d.ts +1 -1
- package/lib/resources/authorizations.js +2 -2
- package/lib/resources/avalara_accounts.cjs +3 -3
- package/lib/resources/avalara_accounts.d.cts +2 -2
- package/lib/resources/avalara_accounts.d.ts +1 -1
- package/lib/resources/avalara_accounts.js +2 -2
- package/lib/resources/axerve_gateways.cjs +3 -3
- package/lib/resources/axerve_gateways.d.cts +2 -2
- package/lib/resources/axerve_gateways.d.ts +1 -1
- package/lib/resources/axerve_gateways.js +2 -2
- package/lib/resources/axerve_payments.cjs +3 -3
- package/lib/resources/axerve_payments.d.cts +2 -2
- package/lib/resources/axerve_payments.d.ts +1 -1
- package/lib/resources/axerve_payments.js +2 -2
- package/lib/resources/bing_geocoders.cjs +3 -3
- package/lib/resources/bing_geocoders.d.cts +2 -2
- package/lib/resources/bing_geocoders.d.ts +1 -1
- package/lib/resources/bing_geocoders.js +2 -2
- package/lib/resources/braintree_gateways.cjs +3 -3
- package/lib/resources/braintree_gateways.d.cts +2 -2
- package/lib/resources/braintree_gateways.d.ts +1 -1
- package/lib/resources/braintree_gateways.js +2 -2
- package/lib/resources/braintree_payments.cjs +3 -3
- package/lib/resources/braintree_payments.d.cts +2 -2
- package/lib/resources/braintree_payments.d.ts +1 -1
- package/lib/resources/braintree_payments.js +2 -2
- package/lib/resources/bundles.cjs +3 -3
- package/lib/resources/bundles.d.cts +2 -2
- package/lib/resources/bundles.d.ts +1 -1
- package/lib/resources/bundles.js +2 -2
- package/lib/resources/buy_x_pay_y_promotions.cjs +3 -3
- package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -2
- package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
- package/lib/resources/buy_x_pay_y_promotions.js +2 -2
- package/lib/resources/captures.cjs +3 -3
- package/lib/resources/captures.d.cts +2 -2
- package/lib/resources/captures.d.ts +1 -1
- package/lib/resources/captures.js +2 -2
- package/lib/resources/carrier_accounts.cjs +3 -3
- package/lib/resources/carrier_accounts.d.cts +2 -2
- package/lib/resources/carrier_accounts.d.ts +1 -1
- package/lib/resources/carrier_accounts.js +2 -2
- package/lib/resources/checkout_com_gateways.cjs +3 -3
- package/lib/resources/checkout_com_gateways.d.cts +2 -2
- package/lib/resources/checkout_com_gateways.d.ts +1 -1
- package/lib/resources/checkout_com_gateways.js +2 -2
- package/lib/resources/checkout_com_payments.cjs +3 -3
- package/lib/resources/checkout_com_payments.d.cts +2 -2
- package/lib/resources/checkout_com_payments.d.ts +1 -1
- package/lib/resources/checkout_com_payments.js +2 -2
- package/lib/resources/cleanups.cjs +3 -3
- package/lib/resources/cleanups.d.cts +2 -2
- package/lib/resources/cleanups.d.ts +1 -1
- package/lib/resources/cleanups.js +2 -2
- package/lib/resources/coupon_codes_promotion_rules.cjs +3 -3
- package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -2
- package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
- package/lib/resources/coupon_codes_promotion_rules.js +2 -2
- package/lib/resources/coupon_recipients.cjs +3 -3
- package/lib/resources/coupon_recipients.d.cts +2 -2
- package/lib/resources/coupon_recipients.d.ts +1 -1
- package/lib/resources/coupon_recipients.js +2 -2
- package/lib/resources/coupons.cjs +3 -3
- package/lib/resources/coupons.d.cts +2 -2
- package/lib/resources/coupons.d.ts +1 -1
- package/lib/resources/coupons.js +2 -2
- package/lib/resources/custom_promotion_rules.cjs +3 -3
- package/lib/resources/custom_promotion_rules.d.cts +2 -2
- package/lib/resources/custom_promotion_rules.d.ts +1 -1
- package/lib/resources/custom_promotion_rules.js +2 -2
- package/lib/resources/customer_addresses.cjs +3 -3
- package/lib/resources/customer_addresses.d.cts +2 -2
- package/lib/resources/customer_addresses.d.ts +1 -1
- package/lib/resources/customer_addresses.js +2 -2
- package/lib/resources/customer_groups.cjs +3 -3
- package/lib/resources/customer_groups.d.cts +2 -2
- package/lib/resources/customer_groups.d.ts +1 -1
- package/lib/resources/customer_groups.js +2 -2
- package/lib/resources/customer_password_resets.cjs +3 -3
- package/lib/resources/customer_password_resets.d.cts +2 -2
- package/lib/resources/customer_password_resets.d.ts +1 -1
- package/lib/resources/customer_password_resets.js +2 -2
- package/lib/resources/customer_payment_sources.cjs +3 -3
- package/lib/resources/customer_payment_sources.d.cts +2 -2
- package/lib/resources/customer_payment_sources.d.ts +1 -1
- package/lib/resources/customer_payment_sources.js +2 -2
- package/lib/resources/customer_subscriptions.cjs +3 -3
- package/lib/resources/customer_subscriptions.d.cts +2 -2
- package/lib/resources/customer_subscriptions.d.ts +1 -1
- package/lib/resources/customer_subscriptions.js +2 -2
- package/lib/resources/customers.cjs +3 -3
- package/lib/resources/customers.d.cts +2 -2
- package/lib/resources/customers.d.ts +1 -1
- package/lib/resources/customers.js +2 -2
- package/lib/resources/delivery_lead_times.cjs +3 -3
- package/lib/resources/delivery_lead_times.d.cts +2 -2
- package/lib/resources/delivery_lead_times.d.ts +1 -1
- package/lib/resources/delivery_lead_times.js +2 -2
- package/lib/resources/discount_engine_items.cjs +3 -3
- package/lib/resources/discount_engine_items.d.cts +2 -2
- package/lib/resources/discount_engine_items.d.ts +1 -1
- package/lib/resources/discount_engine_items.js +2 -2
- package/lib/resources/discount_engines.cjs +3 -3
- package/lib/resources/discount_engines.d.cts +2 -2
- package/lib/resources/discount_engines.d.ts +1 -1
- package/lib/resources/discount_engines.js +2 -2
- package/lib/resources/easypost_pickups.cjs +3 -3
- package/lib/resources/easypost_pickups.d.cts +2 -2
- package/lib/resources/easypost_pickups.d.ts +1 -1
- package/lib/resources/easypost_pickups.js +2 -2
- package/lib/resources/event_callbacks.cjs +3 -3
- package/lib/resources/event_callbacks.d.cts +2 -2
- package/lib/resources/event_callbacks.d.ts +1 -1
- package/lib/resources/event_callbacks.js +2 -2
- package/lib/resources/event_stores.cjs +3 -3
- package/lib/resources/event_stores.d.cts +2 -2
- package/lib/resources/event_stores.d.ts +1 -1
- package/lib/resources/event_stores.js +2 -2
- package/lib/resources/events.cjs +3 -3
- package/lib/resources/events.d.cts +2 -2
- package/lib/resources/events.d.ts +1 -1
- package/lib/resources/events.js +2 -2
- package/lib/resources/exports.cjs +3 -3
- package/lib/resources/exports.d.cts +2 -2
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/exports.js +2 -2
- package/lib/resources/external_gateways.cjs +3 -3
- package/lib/resources/external_gateways.d.cts +2 -2
- package/lib/resources/external_gateways.d.ts +1 -1
- package/lib/resources/external_gateways.js +2 -2
- package/lib/resources/external_payments.cjs +3 -3
- package/lib/resources/external_payments.d.cts +2 -2
- package/lib/resources/external_payments.d.ts +1 -1
- package/lib/resources/external_payments.js +2 -2
- package/lib/resources/external_promotions.cjs +3 -3
- package/lib/resources/external_promotions.d.cts +2 -2
- package/lib/resources/external_promotions.d.ts +1 -1
- package/lib/resources/external_promotions.js +2 -2
- package/lib/resources/external_tax_calculators.cjs +3 -3
- package/lib/resources/external_tax_calculators.d.cts +2 -2
- package/lib/resources/external_tax_calculators.d.ts +1 -1
- package/lib/resources/external_tax_calculators.js +2 -2
- package/lib/resources/fixed_amount_promotions.cjs +3 -3
- package/lib/resources/fixed_amount_promotions.d.cts +2 -2
- package/lib/resources/fixed_amount_promotions.d.ts +1 -1
- package/lib/resources/fixed_amount_promotions.js +2 -2
- package/lib/resources/fixed_price_promotions.cjs +3 -3
- package/lib/resources/fixed_price_promotions.d.cts +2 -2
- package/lib/resources/fixed_price_promotions.d.ts +1 -1
- package/lib/resources/fixed_price_promotions.js +2 -2
- package/lib/resources/flex_promotions.cjs +3 -3
- package/lib/resources/flex_promotions.d.cts +2 -2
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.js +2 -2
- package/lib/resources/free_gift_promotions.cjs +3 -3
- package/lib/resources/free_gift_promotions.d.cts +2 -2
- package/lib/resources/free_gift_promotions.d.ts +1 -1
- package/lib/resources/free_gift_promotions.js +2 -2
- package/lib/resources/free_shipping_promotions.cjs +3 -3
- package/lib/resources/free_shipping_promotions.d.cts +2 -2
- package/lib/resources/free_shipping_promotions.d.ts +1 -1
- package/lib/resources/free_shipping_promotions.js +2 -2
- package/lib/resources/geocoders.cjs +3 -3
- package/lib/resources/geocoders.d.cts +2 -2
- package/lib/resources/geocoders.d.ts +1 -1
- package/lib/resources/geocoders.js +2 -2
- package/lib/resources/gift_card_recipients.cjs +3 -3
- package/lib/resources/gift_card_recipients.d.cts +2 -2
- package/lib/resources/gift_card_recipients.d.ts +1 -1
- package/lib/resources/gift_card_recipients.js +2 -2
- package/lib/resources/gift_cards.cjs +3 -3
- package/lib/resources/gift_cards.d.cts +2 -2
- package/lib/resources/gift_cards.d.ts +1 -1
- package/lib/resources/gift_cards.js +2 -2
- package/lib/resources/google_geocoders.cjs +3 -3
- package/lib/resources/google_geocoders.d.cts +2 -2
- package/lib/resources/google_geocoders.d.ts +1 -1
- package/lib/resources/google_geocoders.js +2 -2
- package/lib/resources/imports.cjs +3 -3
- package/lib/resources/imports.d.cts +2 -2
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/imports.js +2 -2
- package/lib/resources/in_stock_subscriptions.cjs +3 -3
- package/lib/resources/in_stock_subscriptions.d.cts +2 -2
- package/lib/resources/in_stock_subscriptions.d.ts +1 -1
- package/lib/resources/in_stock_subscriptions.js +2 -2
- package/lib/resources/inventory_models.cjs +3 -3
- package/lib/resources/inventory_models.d.cts +2 -2
- package/lib/resources/inventory_models.d.ts +1 -1
- package/lib/resources/inventory_models.js +2 -2
- package/lib/resources/inventory_return_locations.cjs +3 -3
- package/lib/resources/inventory_return_locations.d.cts +2 -2
- package/lib/resources/inventory_return_locations.d.ts +1 -1
- package/lib/resources/inventory_return_locations.js +2 -2
- package/lib/resources/inventory_stock_locations.cjs +3 -3
- package/lib/resources/inventory_stock_locations.d.cts +2 -2
- package/lib/resources/inventory_stock_locations.d.ts +1 -1
- package/lib/resources/inventory_stock_locations.js +2 -2
- package/lib/resources/klarna_gateways.cjs +3 -3
- package/lib/resources/klarna_gateways.d.cts +2 -2
- package/lib/resources/klarna_gateways.d.ts +1 -1
- package/lib/resources/klarna_gateways.js +2 -2
- package/lib/resources/klarna_payments.cjs +3 -3
- package/lib/resources/klarna_payments.d.cts +2 -2
- package/lib/resources/klarna_payments.d.ts +1 -1
- package/lib/resources/klarna_payments.js +2 -2
- package/lib/resources/line_item_options.cjs +3 -3
- package/lib/resources/line_item_options.d.cts +2 -2
- package/lib/resources/line_item_options.d.ts +1 -1
- package/lib/resources/line_item_options.js +2 -2
- package/lib/resources/line_items.cjs +3 -3
- package/lib/resources/line_items.d.cts +2 -2
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/line_items.js +2 -2
- package/lib/resources/links.cjs +3 -3
- package/lib/resources/links.d.cts +2 -2
- package/lib/resources/links.d.ts +1 -1
- package/lib/resources/links.js +2 -2
- package/lib/resources/manual_gateways.cjs +3 -3
- package/lib/resources/manual_gateways.d.cts +2 -2
- package/lib/resources/manual_gateways.d.ts +1 -1
- package/lib/resources/manual_gateways.js +2 -2
- package/lib/resources/manual_tax_calculators.cjs +3 -3
- package/lib/resources/manual_tax_calculators.d.cts +2 -2
- package/lib/resources/manual_tax_calculators.d.ts +1 -1
- package/lib/resources/manual_tax_calculators.js +2 -2
- package/lib/resources/markets.cjs +3 -3
- package/lib/resources/markets.d.cts +2 -2
- package/lib/resources/markets.d.ts +1 -1
- package/lib/resources/markets.js +2 -2
- package/lib/resources/merchants.cjs +3 -3
- package/lib/resources/merchants.d.cts +2 -2
- package/lib/resources/merchants.d.ts +1 -1
- package/lib/resources/merchants.js +2 -2
- package/lib/resources/notifications.cjs +3 -3
- package/lib/resources/notifications.d.cts +2 -2
- package/lib/resources/notifications.d.ts +1 -1
- package/lib/resources/notifications.js +2 -2
- package/lib/resources/order_amount_promotion_rules.cjs +3 -3
- package/lib/resources/order_amount_promotion_rules.d.cts +2 -2
- package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
- package/lib/resources/order_amount_promotion_rules.js +2 -2
- package/lib/resources/order_copies.cjs +3 -3
- package/lib/resources/order_copies.d.cts +2 -2
- package/lib/resources/order_copies.d.ts +1 -1
- package/lib/resources/order_copies.js +2 -2
- package/lib/resources/order_factories.cjs +3 -3
- package/lib/resources/order_factories.d.cts +2 -2
- package/lib/resources/order_factories.d.ts +1 -1
- package/lib/resources/order_factories.js +2 -2
- package/lib/resources/order_subscription_items.cjs +3 -3
- package/lib/resources/order_subscription_items.d.cts +2 -2
- package/lib/resources/order_subscription_items.d.ts +1 -1
- package/lib/resources/order_subscription_items.js +2 -2
- package/lib/resources/order_subscriptions.cjs +3 -3
- package/lib/resources/order_subscriptions.d.cts +2 -2
- package/lib/resources/order_subscriptions.d.ts +1 -1
- package/lib/resources/order_subscriptions.js +2 -2
- package/lib/resources/orders.cjs +3 -3
- package/lib/resources/orders.d.cts +2 -2
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/orders.js +2 -2
- package/lib/resources/organizations.cjs +3 -3
- package/lib/resources/organizations.d.cts +2 -2
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/organizations.js +2 -2
- package/lib/resources/packages.cjs +3 -3
- package/lib/resources/packages.d.cts +2 -2
- package/lib/resources/packages.d.ts +1 -1
- package/lib/resources/packages.js +2 -2
- package/lib/resources/parcel_line_items.cjs +3 -3
- package/lib/resources/parcel_line_items.d.cts +2 -2
- package/lib/resources/parcel_line_items.d.ts +1 -1
- package/lib/resources/parcel_line_items.js +2 -2
- package/lib/resources/parcels.cjs +3 -3
- package/lib/resources/parcels.d.cts +2 -2
- package/lib/resources/parcels.d.ts +1 -1
- package/lib/resources/parcels.js +2 -2
- package/lib/resources/payment_gateways.cjs +3 -3
- package/lib/resources/payment_gateways.d.cts +2 -2
- package/lib/resources/payment_gateways.d.ts +1 -1
- package/lib/resources/payment_gateways.js +2 -2
- package/lib/resources/payment_methods.cjs +3 -3
- package/lib/resources/payment_methods.d.cts +2 -2
- package/lib/resources/payment_methods.d.ts +1 -1
- package/lib/resources/payment_methods.js +2 -2
- package/lib/resources/payment_options.cjs +3 -3
- package/lib/resources/payment_options.d.cts +2 -2
- package/lib/resources/payment_options.d.ts +1 -1
- package/lib/resources/payment_options.js +2 -2
- package/lib/resources/paypal_gateways.cjs +3 -3
- package/lib/resources/paypal_gateways.d.cts +2 -2
- package/lib/resources/paypal_gateways.d.ts +1 -1
- package/lib/resources/paypal_gateways.js +2 -2
- package/lib/resources/paypal_payments.cjs +3 -3
- package/lib/resources/paypal_payments.d.cts +2 -2
- package/lib/resources/paypal_payments.d.ts +1 -1
- package/lib/resources/paypal_payments.js +2 -2
- package/lib/resources/percentage_discount_promotions.cjs +3 -3
- package/lib/resources/percentage_discount_promotions.d.cts +2 -2
- package/lib/resources/percentage_discount_promotions.d.ts +1 -1
- package/lib/resources/percentage_discount_promotions.js +2 -2
- package/lib/resources/pickups.cjs +3 -3
- package/lib/resources/pickups.d.cts +2 -2
- package/lib/resources/pickups.d.ts +1 -1
- package/lib/resources/pickups.js +2 -2
- package/lib/resources/price_frequency_tiers.cjs +3 -3
- package/lib/resources/price_frequency_tiers.d.cts +2 -2
- package/lib/resources/price_frequency_tiers.d.ts +1 -1
- package/lib/resources/price_frequency_tiers.js +2 -2
- package/lib/resources/price_list_schedulers.cjs +3 -3
- package/lib/resources/price_list_schedulers.d.cts +2 -2
- package/lib/resources/price_list_schedulers.d.ts +1 -1
- package/lib/resources/price_list_schedulers.js +2 -2
- package/lib/resources/price_lists.cjs +3 -3
- package/lib/resources/price_lists.d.cts +2 -2
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_lists.js +2 -2
- package/lib/resources/price_tiers.cjs +3 -3
- package/lib/resources/price_tiers.d.cts +2 -2
- package/lib/resources/price_tiers.d.ts +1 -1
- package/lib/resources/price_tiers.js +2 -2
- package/lib/resources/price_volume_tiers.cjs +3 -3
- package/lib/resources/price_volume_tiers.d.cts +2 -2
- package/lib/resources/price_volume_tiers.d.ts +1 -1
- package/lib/resources/price_volume_tiers.js +2 -2
- package/lib/resources/prices.cjs +3 -3
- package/lib/resources/prices.d.cts +2 -2
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/prices.js +2 -2
- package/lib/resources/promotion_rules.cjs +3 -3
- package/lib/resources/promotion_rules.d.cts +2 -2
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotion_rules.js +2 -2
- package/lib/resources/promotions.cjs +3 -3
- package/lib/resources/promotions.d.cts +2 -2
- package/lib/resources/promotions.d.ts +1 -1
- package/lib/resources/promotions.js +2 -2
- package/lib/resources/recurring_order_copies.cjs +3 -3
- package/lib/resources/recurring_order_copies.d.cts +2 -2
- package/lib/resources/recurring_order_copies.d.ts +1 -1
- package/lib/resources/recurring_order_copies.js +2 -2
- package/lib/resources/refunds.cjs +3 -3
- package/lib/resources/refunds.d.cts +2 -2
- package/lib/resources/refunds.d.ts +1 -1
- package/lib/resources/refunds.js +2 -2
- package/lib/resources/reserved_stocks.cjs +3 -3
- package/lib/resources/reserved_stocks.d.cts +2 -2
- package/lib/resources/reserved_stocks.d.ts +1 -1
- package/lib/resources/reserved_stocks.js +2 -2
- package/lib/resources/resource_errors.cjs +3 -3
- package/lib/resources/resource_errors.d.cts +2 -2
- package/lib/resources/resource_errors.d.ts +1 -1
- package/lib/resources/resource_errors.js +2 -2
- package/lib/resources/return_line_items.cjs +3 -3
- package/lib/resources/return_line_items.d.cts +2 -2
- package/lib/resources/return_line_items.d.ts +1 -1
- package/lib/resources/return_line_items.js +2 -2
- package/lib/resources/returns.cjs +3 -3
- package/lib/resources/returns.d.cts +2 -2
- package/lib/resources/returns.d.ts +1 -1
- package/lib/resources/returns.js +2 -2
- package/lib/resources/satispay_gateways.cjs +3 -3
- package/lib/resources/satispay_gateways.d.cts +2 -2
- package/lib/resources/satispay_gateways.d.ts +1 -1
- package/lib/resources/satispay_gateways.js +2 -2
- package/lib/resources/satispay_payments.cjs +3 -3
- package/lib/resources/satispay_payments.d.cts +2 -2
- package/lib/resources/satispay_payments.d.ts +1 -1
- package/lib/resources/satispay_payments.js +2 -2
- package/lib/resources/shipments.cjs +3 -3
- package/lib/resources/shipments.d.cts +2 -2
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipments.js +2 -2
- package/lib/resources/shipping_categories.cjs +3 -3
- package/lib/resources/shipping_categories.d.cts +2 -2
- package/lib/resources/shipping_categories.d.ts +1 -1
- package/lib/resources/shipping_categories.js +2 -2
- package/lib/resources/shipping_method_tiers.cjs +3 -3
- package/lib/resources/shipping_method_tiers.d.cts +2 -2
- package/lib/resources/shipping_method_tiers.d.ts +1 -1
- package/lib/resources/shipping_method_tiers.js +2 -2
- package/lib/resources/shipping_methods.cjs +3 -3
- package/lib/resources/shipping_methods.d.cts +2 -2
- package/lib/resources/shipping_methods.d.ts +1 -1
- package/lib/resources/shipping_methods.js +2 -2
- package/lib/resources/shipping_weight_tiers.cjs +3 -3
- package/lib/resources/shipping_weight_tiers.d.cts +2 -2
- package/lib/resources/shipping_weight_tiers.d.ts +1 -1
- package/lib/resources/shipping_weight_tiers.js +2 -2
- package/lib/resources/shipping_zones.cjs +3 -3
- package/lib/resources/shipping_zones.d.cts +2 -2
- package/lib/resources/shipping_zones.d.ts +1 -1
- package/lib/resources/shipping_zones.js +2 -2
- package/lib/resources/sku_list_items.cjs +3 -3
- package/lib/resources/sku_list_items.d.cts +2 -2
- package/lib/resources/sku_list_items.d.ts +1 -1
- package/lib/resources/sku_list_items.js +2 -2
- package/lib/resources/sku_list_promotion_rules.cjs +3 -3
- package/lib/resources/sku_list_promotion_rules.d.cts +2 -2
- package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
- package/lib/resources/sku_list_promotion_rules.js +2 -2
- package/lib/resources/sku_lists.cjs +3 -3
- package/lib/resources/sku_lists.d.cts +2 -2
- package/lib/resources/sku_lists.d.ts +1 -1
- package/lib/resources/sku_lists.js +2 -2
- package/lib/resources/sku_options.cjs +3 -3
- package/lib/resources/sku_options.d.cts +2 -2
- package/lib/resources/sku_options.d.ts +1 -1
- package/lib/resources/sku_options.js +2 -2
- package/lib/resources/skus.cjs +3 -3
- package/lib/resources/skus.d.cts +2 -2
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/skus.js +2 -2
- package/lib/resources/stock_items.cjs +3 -3
- package/lib/resources/stock_items.d.cts +2 -2
- package/lib/resources/stock_items.d.ts +1 -1
- package/lib/resources/stock_items.js +2 -2
- package/lib/resources/stock_line_items.cjs +3 -3
- package/lib/resources/stock_line_items.d.cts +2 -2
- package/lib/resources/stock_line_items.d.ts +1 -1
- package/lib/resources/stock_line_items.js +2 -2
- package/lib/resources/stock_locations.cjs +3 -3
- package/lib/resources/stock_locations.d.cts +2 -2
- package/lib/resources/stock_locations.d.ts +1 -1
- package/lib/resources/stock_locations.js +2 -2
- package/lib/resources/stock_reservations.cjs +3 -3
- package/lib/resources/stock_reservations.d.cts +2 -2
- package/lib/resources/stock_reservations.d.ts +1 -1
- package/lib/resources/stock_reservations.js +2 -2
- package/lib/resources/stock_transfers.cjs +3 -3
- package/lib/resources/stock_transfers.d.cts +2 -2
- package/lib/resources/stock_transfers.d.ts +1 -1
- package/lib/resources/stock_transfers.js +2 -2
- package/lib/resources/stores.cjs +3 -3
- package/lib/resources/stores.d.cts +2 -2
- package/lib/resources/stores.d.ts +1 -1
- package/lib/resources/stores.js +2 -2
- package/lib/resources/stripe_gateways.cjs +3 -3
- package/lib/resources/stripe_gateways.d.cts +2 -2
- package/lib/resources/stripe_gateways.d.ts +1 -1
- package/lib/resources/stripe_gateways.js +2 -2
- package/lib/resources/stripe_payments.cjs +3 -3
- package/lib/resources/stripe_payments.d.cts +2 -2
- package/lib/resources/stripe_payments.d.ts +1 -1
- package/lib/resources/stripe_payments.js +2 -2
- package/lib/resources/stripe_tax_accounts.cjs +3 -3
- package/lib/resources/stripe_tax_accounts.d.cts +2 -2
- package/lib/resources/stripe_tax_accounts.d.ts +1 -1
- package/lib/resources/stripe_tax_accounts.js +2 -2
- package/lib/resources/subscription_models.cjs +3 -3
- package/lib/resources/subscription_models.d.cts +2 -2
- package/lib/resources/subscription_models.d.ts +1 -1
- package/lib/resources/subscription_models.js +2 -2
- package/lib/resources/tags.cjs +3 -3
- package/lib/resources/tags.d.cts +2 -2
- package/lib/resources/tags.d.ts +1 -1
- package/lib/resources/tags.js +2 -2
- package/lib/resources/talon_one_accounts.cjs +3 -3
- package/lib/resources/talon_one_accounts.d.cts +2 -2
- package/lib/resources/talon_one_accounts.d.ts +1 -1
- package/lib/resources/talon_one_accounts.js +2 -2
- package/lib/resources/tax_calculators.cjs +3 -3
- package/lib/resources/tax_calculators.d.cts +2 -2
- package/lib/resources/tax_calculators.d.ts +1 -1
- package/lib/resources/tax_calculators.js +2 -2
- package/lib/resources/tax_categories.cjs +3 -3
- package/lib/resources/tax_categories.d.cts +2 -2
- package/lib/resources/tax_categories.d.ts +1 -1
- package/lib/resources/tax_categories.js +2 -2
- package/lib/resources/tax_rules.cjs +3 -3
- package/lib/resources/tax_rules.d.cts +2 -2
- package/lib/resources/tax_rules.d.ts +1 -1
- package/lib/resources/tax_rules.js +2 -2
- package/lib/resources/taxjar_accounts.cjs +3 -3
- package/lib/resources/taxjar_accounts.d.cts +2 -2
- package/lib/resources/taxjar_accounts.d.ts +1 -1
- package/lib/resources/taxjar_accounts.js +2 -2
- package/lib/resources/transactions.cjs +3 -3
- package/lib/resources/transactions.d.cts +2 -2
- package/lib/resources/transactions.d.ts +1 -1
- package/lib/resources/transactions.js +2 -2
- package/lib/resources/vertex_accounts.cjs +3 -3
- package/lib/resources/vertex_accounts.d.cts +2 -2
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/vertex_accounts.js +2 -2
- package/lib/resources/voids.cjs +3 -3
- package/lib/resources/voids.d.cts +2 -2
- package/lib/resources/voids.d.ts +1 -1
- package/lib/resources/voids.js +2 -2
- package/lib/resources/webhooks.cjs +3 -3
- package/lib/resources/webhooks.d.cts +2 -2
- package/lib/resources/webhooks.d.ts +1 -1
- package/lib/resources/webhooks.js +2 -2
- package/lib/resources/wire_transfers.cjs +3 -3
- package/lib/resources/wire_transfers.d.cts +2 -2
- package/lib/resources/wire_transfers.d.ts +1 -1
- package/lib/resources/wire_transfers.js +2 -2
- package/lib/static.cjs +4 -4
- package/lib/static.d.cts +1 -1
- package/lib/static.d.ts +1 -1
- package/lib/static.js +3 -3
- package/package.json +8 -8
- package/lib/api-CiWKv2Ad.d.ts +0 -18181
- package/lib/api-DhbS8TfO.d.cts +0 -18181
- package/lib/chunk-225RCDGU.cjs +0 -53
- package/lib/chunk-225RCDGU.cjs.map +0 -1
- package/lib/chunk-2GZROWFO.js +0 -41
- package/lib/chunk-2GZROWFO.js.map +0 -1
- package/lib/chunk-2LZNXUFY.js +0 -55
- package/lib/chunk-2LZNXUFY.js.map +0 -1
- package/lib/chunk-2MSMUHNG.js +0 -66
- package/lib/chunk-2MSMUHNG.js.map +0 -1
- package/lib/chunk-2RW3IPYK.js +0 -60
- package/lib/chunk-2RW3IPYK.js.map +0 -1
- package/lib/chunk-2SAZMGAW.cjs +0 -50
- package/lib/chunk-2SAZMGAW.cjs.map +0 -1
- package/lib/chunk-2V4MFNM5.js +0 -41
- package/lib/chunk-2V4MFNM5.js.map +0 -1
- package/lib/chunk-2YJ4ST4G.cjs +0 -42
- package/lib/chunk-2YJ4ST4G.cjs.map +0 -1
- package/lib/chunk-33UBXTQO.cjs +0 -77
- package/lib/chunk-33UBXTQO.cjs.map +0 -1
- package/lib/chunk-3BDF64VW.js +0 -73
- package/lib/chunk-3BDF64VW.js.map +0 -1
- package/lib/chunk-3IMSCYIC.js +0 -41
- package/lib/chunk-3IMSCYIC.js.map +0 -1
- package/lib/chunk-3JVNXYTI.js +0 -124
- package/lib/chunk-3JVNXYTI.js.map +0 -1
- package/lib/chunk-3NOES4EX.js +0 -49
- package/lib/chunk-3NOES4EX.js.map +0 -1
- package/lib/chunk-3QCIWYSW.cjs +0 -51
- package/lib/chunk-3QCIWYSW.cjs.map +0 -1
- package/lib/chunk-3W33J36Z.js +0 -49
- package/lib/chunk-3W33J36Z.js.map +0 -1
- package/lib/chunk-3WTTRPSK.js +0 -69
- package/lib/chunk-3WTTRPSK.js.map +0 -1
- package/lib/chunk-3ZZ6KGDB.cjs +0 -47
- package/lib/chunk-3ZZ6KGDB.cjs.map +0 -1
- package/lib/chunk-42Y23CRY.cjs +0 -51
- package/lib/chunk-42Y23CRY.cjs.map +0 -1
- package/lib/chunk-4AZXDT2V.cjs +0 -47
- package/lib/chunk-4AZXDT2V.cjs.map +0 -1
- package/lib/chunk-4DUH2RXG.js +0 -37
- package/lib/chunk-4DUH2RXG.js.map +0 -1
- package/lib/chunk-4ESM2OUZ.cjs +0 -50
- package/lib/chunk-4ESM2OUZ.cjs.map +0 -1
- package/lib/chunk-4IFBXO5W.js +0 -55
- package/lib/chunk-4IFBXO5W.js.map +0 -1
- package/lib/chunk-4J2ISS7L.cjs +0 -105
- package/lib/chunk-4J2ISS7L.cjs.map +0 -1
- package/lib/chunk-4JL3Z5QD.cjs +0 -38
- package/lib/chunk-4JL3Z5QD.cjs.map +0 -1
- package/lib/chunk-4PFYUFSO.cjs +0 -39
- package/lib/chunk-4PFYUFSO.cjs.map +0 -1
- package/lib/chunk-4RHF7JN2.js +0 -28
- package/lib/chunk-4RHF7JN2.js.map +0 -1
- package/lib/chunk-52SEULJP.cjs +0 -39
- package/lib/chunk-52SEULJP.cjs.map +0 -1
- package/lib/chunk-55TQRLLK.js +0 -93
- package/lib/chunk-55TQRLLK.js.map +0 -1
- package/lib/chunk-5CTTK5G7.cjs +0 -38
- package/lib/chunk-5CTTK5G7.cjs.map +0 -1
- package/lib/chunk-5HIY5RJQ.cjs +0 -47
- package/lib/chunk-5HIY5RJQ.cjs.map +0 -1
- package/lib/chunk-5RQOHU5P.js +0 -45
- package/lib/chunk-5RQOHU5P.js.map +0 -1
- package/lib/chunk-5S4VIVJT.cjs +0 -54
- package/lib/chunk-5S4VIVJT.cjs.map +0 -1
- package/lib/chunk-5SPLJRDY.js +0 -68
- package/lib/chunk-5SPLJRDY.js.map +0 -1
- package/lib/chunk-5UWLI25I.js +0 -95
- package/lib/chunk-5UWLI25I.js.map +0 -1
- package/lib/chunk-5W4UAUXC.js +0 -283
- package/lib/chunk-5W4UAUXC.js.map +0 -1
- package/lib/chunk-5ZBTQIMD.js +0 -53
- package/lib/chunk-5ZBTQIMD.js.map +0 -1
- package/lib/chunk-62L57UQU.cjs +0 -68
- package/lib/chunk-62L57UQU.cjs.map +0 -1
- package/lib/chunk-62N4SFGW.js +0 -45
- package/lib/chunk-62N4SFGW.js.map +0 -1
- package/lib/chunk-62PWL472.cjs +0 -43
- package/lib/chunk-62PWL472.cjs.map +0 -1
- package/lib/chunk-67DYVCOK.js +0 -45
- package/lib/chunk-67DYVCOK.js.map +0 -1
- package/lib/chunk-6A63W6IB.js +0 -49
- package/lib/chunk-6A63W6IB.js.map +0 -1
- package/lib/chunk-6BI2PL4B.cjs +0 -44
- package/lib/chunk-6BI2PL4B.cjs.map +0 -1
- package/lib/chunk-6H2URCPA.cjs +0 -61
- package/lib/chunk-6H2URCPA.cjs.map +0 -1
- package/lib/chunk-6OJKY6R2.js +0 -91
- package/lib/chunk-6OJKY6R2.js.map +0 -1
- package/lib/chunk-6PB2M2MP.js +0 -37
- package/lib/chunk-6PB2M2MP.js.map +0 -1
- package/lib/chunk-6Q3CIOEF.js +0 -105
- package/lib/chunk-6Q3CIOEF.js.map +0 -1
- package/lib/chunk-6RISOLQJ.js +0 -49
- package/lib/chunk-6RISOLQJ.js.map +0 -1
- package/lib/chunk-6TLH43XL.cjs +0 -30
- package/lib/chunk-6TLH43XL.cjs.map +0 -1
- package/lib/chunk-6ZH7H3BJ.js +0 -61
- package/lib/chunk-6ZH7H3BJ.js.map +0 -1
- package/lib/chunk-7GMW5BUO.cjs +0 -29
- package/lib/chunk-7GMW5BUO.cjs.map +0 -1
- package/lib/chunk-7HY2CVJG.cjs +0 -53
- package/lib/chunk-7HY2CVJG.cjs.map +0 -1
- package/lib/chunk-7IYE2CYM.cjs +0 -39
- package/lib/chunk-7IYE2CYM.cjs.map +0 -1
- package/lib/chunk-7QTFNA3O.js +0 -45
- package/lib/chunk-7QTFNA3O.js.map +0 -1
- package/lib/chunk-7TDUZM36.js +0 -48
- package/lib/chunk-7TDUZM36.js.map +0 -1
- package/lib/chunk-7TN3F3TS.cjs +0 -47
- package/lib/chunk-7TN3F3TS.cjs.map +0 -1
- package/lib/chunk-7XCMIHK2.js +0 -59
- package/lib/chunk-7XCMIHK2.js.map +0 -1
- package/lib/chunk-7XI2G4AH.js +0 -68
- package/lib/chunk-7XI2G4AH.js.map +0 -1
- package/lib/chunk-A6N5NU4Q.cjs +0 -70
- package/lib/chunk-A6N5NU4Q.cjs.map +0 -1
- package/lib/chunk-AANIDX5T.cjs +0 -101
- package/lib/chunk-AANIDX5T.cjs.map +0 -1
- package/lib/chunk-ADVFX6Q4.js +0 -45
- package/lib/chunk-ADVFX6Q4.js.map +0 -1
- package/lib/chunk-AEUJD27H.js +0 -24
- package/lib/chunk-AEUJD27H.js.map +0 -1
- package/lib/chunk-AFTJ3CBC.js +0 -40
- package/lib/chunk-AFTJ3CBC.js.map +0 -1
- package/lib/chunk-AHVQFILB.js +0 -45
- package/lib/chunk-AHVQFILB.js.map +0 -1
- package/lib/chunk-AIRHVW6S.js +0 -49
- package/lib/chunk-AIRHVW6S.js.map +0 -1
- package/lib/chunk-ATLMNH6A.js +0 -49
- package/lib/chunk-ATLMNH6A.js.map +0 -1
- package/lib/chunk-ATVY532N.js +0 -93
- package/lib/chunk-ATVY532N.js.map +0 -1
- package/lib/chunk-AWMC6AUP.js +0 -49
- package/lib/chunk-AWMC6AUP.js.map +0 -1
- package/lib/chunk-AYUBT6TU.js +0 -89
- package/lib/chunk-AYUBT6TU.js.map +0 -1
- package/lib/chunk-BOTOHTVE.cjs +0 -51
- package/lib/chunk-BOTOHTVE.cjs.map +0 -1
- package/lib/chunk-BPAVYFBD.cjs +0 -56
- package/lib/chunk-BPAVYFBD.cjs.map +0 -1
- package/lib/chunk-BPMQD6S6.cjs +0 -42
- package/lib/chunk-BPMQD6S6.cjs.map +0 -1
- package/lib/chunk-BPMSXN65.js +0 -93
- package/lib/chunk-BPMSXN65.js.map +0 -1
- package/lib/chunk-BRL2HVCW.cjs +0 -75
- package/lib/chunk-BRL2HVCW.cjs.map +0 -1
- package/lib/chunk-BSQCD2TW.cjs +0 -95
- package/lib/chunk-BSQCD2TW.cjs.map +0 -1
- package/lib/chunk-BW5ZHHDZ.js +0 -37
- package/lib/chunk-BW5ZHHDZ.js.map +0 -1
- package/lib/chunk-BYE3DAWN.cjs +0 -63
- package/lib/chunk-BYE3DAWN.cjs.map +0 -1
- package/lib/chunk-BZB7R6N6.js +0 -61
- package/lib/chunk-BZB7R6N6.js.map +0 -1
- package/lib/chunk-C3S4LUX5.cjs +0 -51
- package/lib/chunk-C3S4LUX5.cjs.map +0 -1
- package/lib/chunk-C5C3LBW5.js +0 -47
- package/lib/chunk-C5C3LBW5.js.map +0 -1
- package/lib/chunk-CCBBYTAJ.js +0 -93
- package/lib/chunk-CCBBYTAJ.js.map +0 -1
- package/lib/chunk-CHMVP6EF.cjs +0 -47
- package/lib/chunk-CHMVP6EF.cjs.map +0 -1
- package/lib/chunk-CIBRS4EH.cjs +0 -30
- package/lib/chunk-CIBRS4EH.cjs.map +0 -1
- package/lib/chunk-CK4H22TM.js +0 -49
- package/lib/chunk-CK4H22TM.js.map +0 -1
- package/lib/chunk-CO3BTLA4.cjs +0 -47
- package/lib/chunk-CO3BTLA4.cjs.map +0 -1
- package/lib/chunk-CRWGVC3Z.cjs +0 -50
- package/lib/chunk-CRWGVC3Z.cjs.map +0 -1
- package/lib/chunk-CSDHXRCC.cjs +0 -43
- package/lib/chunk-CSDHXRCC.cjs.map +0 -1
- package/lib/chunk-CW5BKX63.js +0 -49
- package/lib/chunk-CW5BKX63.js.map +0 -1
- package/lib/chunk-CXKK7PCG.js +0 -59
- package/lib/chunk-CXKK7PCG.js.map +0 -1
- package/lib/chunk-CXLQBCS4.js +0 -47
- package/lib/chunk-CXLQBCS4.js.map +0 -1
- package/lib/chunk-D23IE5HE.cjs +0 -34
- package/lib/chunk-D23IE5HE.cjs.map +0 -1
- package/lib/chunk-D253IBYC.cjs +0 -285
- package/lib/chunk-D253IBYC.cjs.map +0 -1
- package/lib/chunk-D3IOT5UK.js +0 -54
- package/lib/chunk-D3IOT5UK.js.map +0 -1
- package/lib/chunk-D72VXGOI.js +0 -57
- package/lib/chunk-D72VXGOI.js.map +0 -1
- package/lib/chunk-DALCPLML.cjs +0 -56
- package/lib/chunk-DALCPLML.cjs.map +0 -1
- package/lib/chunk-DCEQF4SO.cjs +0 -49
- package/lib/chunk-DCEQF4SO.cjs.map +0 -1
- package/lib/chunk-DJXJIVYA.js +0 -40
- package/lib/chunk-DJXJIVYA.js.map +0 -1
- package/lib/chunk-DKUADGYA.js +0 -37
- package/lib/chunk-DKUADGYA.js.map +0 -1
- package/lib/chunk-DOSBGZZR.cjs +0 -61
- package/lib/chunk-DOSBGZZR.cjs.map +0 -1
- package/lib/chunk-DSJFQTYA.cjs +0 -55
- package/lib/chunk-DSJFQTYA.cjs.map +0 -1
- package/lib/chunk-DX4A53QM.js +0 -49
- package/lib/chunk-DX4A53QM.js.map +0 -1
- package/lib/chunk-DYSUBTJJ.js +0 -44
- package/lib/chunk-DYSUBTJJ.js.map +0 -1
- package/lib/chunk-E24MPITG.cjs +0 -39
- package/lib/chunk-E24MPITG.cjs.map +0 -1
- package/lib/chunk-E3UAM5IG.js +0 -51
- package/lib/chunk-E3UAM5IG.js.map +0 -1
- package/lib/chunk-E4UQRXQX.js +0 -37
- package/lib/chunk-E4UQRXQX.js.map +0 -1
- package/lib/chunk-EH5M6YWR.cjs +0 -47
- package/lib/chunk-EH5M6YWR.cjs.map +0 -1
- package/lib/chunk-EZMKXDCD.cjs +0 -50
- package/lib/chunk-EZMKXDCD.cjs.map +0 -1
- package/lib/chunk-F2S3T7C7.js +0 -93
- package/lib/chunk-F2S3T7C7.js.map +0 -1
- package/lib/chunk-FHQSNPMZ.js +0 -49
- package/lib/chunk-FHQSNPMZ.js.map +0 -1
- package/lib/chunk-FJL7GQH5.cjs +0 -51
- package/lib/chunk-FJL7GQH5.cjs.map +0 -1
- package/lib/chunk-FLTE7T5O.cjs +0 -51
- package/lib/chunk-FLTE7T5O.cjs.map +0 -1
- package/lib/chunk-FNQRYCRE.js +0 -51
- package/lib/chunk-FNQRYCRE.js.map +0 -1
- package/lib/chunk-FRB2QR5J.js +0 -96
- package/lib/chunk-FRB2QR5J.js.map +0 -1
- package/lib/chunk-FUT3LCHP.cjs +0 -56
- package/lib/chunk-FUT3LCHP.cjs.map +0 -1
- package/lib/chunk-GJ2M5XUU.js +0 -45
- package/lib/chunk-GJ2M5XUU.js.map +0 -1
- package/lib/chunk-GJVFOJKS.cjs +0 -26
- package/lib/chunk-GJVFOJKS.cjs.map +0 -1
- package/lib/chunk-GQWPXVMQ.js +0 -53
- package/lib/chunk-GQWPXVMQ.js.map +0 -1
- package/lib/chunk-GXSSWG6Z.cjs +0 -52
- package/lib/chunk-GXSSWG6Z.cjs.map +0 -1
- package/lib/chunk-GY35DVJ7.cjs +0 -51
- package/lib/chunk-GY35DVJ7.cjs.map +0 -1
- package/lib/chunk-GYWUTAVE.cjs +0 -46
- package/lib/chunk-GYWUTAVE.cjs.map +0 -1
- package/lib/chunk-GZGQSKLF.js +0 -59
- package/lib/chunk-GZGQSKLF.js.map +0 -1
- package/lib/chunk-HJ3RDHVN.cjs +0 -34
- package/lib/chunk-HJ3RDHVN.cjs.map +0 -1
- package/lib/chunk-HJFTJL3E.js +0 -54
- package/lib/chunk-HJFTJL3E.js.map +0 -1
- package/lib/chunk-HJIVGKWG.cjs +0 -46
- package/lib/chunk-HJIVGKWG.cjs.map +0 -1
- package/lib/chunk-HL6MEEU5.js +0 -154
- package/lib/chunk-HL6MEEU5.js.map +0 -1
- package/lib/chunk-HWDD4SMM.js +0 -103
- package/lib/chunk-HWDD4SMM.js.map +0 -1
- package/lib/chunk-HWOQQNX3.cjs +0 -63
- package/lib/chunk-HWOQQNX3.cjs.map +0 -1
- package/lib/chunk-HZIRPRFN.cjs +0 -47
- package/lib/chunk-HZIRPRFN.cjs.map +0 -1
- package/lib/chunk-HZLPTAKA.js +0 -45
- package/lib/chunk-HZLPTAKA.js.map +0 -1
- package/lib/chunk-I4A63K2Q.js +0 -45
- package/lib/chunk-I4A63K2Q.js.map +0 -1
- package/lib/chunk-IHYX6NQH.js +0 -51
- package/lib/chunk-IHYX6NQH.js.map +0 -1
- package/lib/chunk-IP5HITFS.cjs +0 -70
- package/lib/chunk-IP5HITFS.cjs.map +0 -1
- package/lib/chunk-IPS6QJLO.cjs +0 -57
- package/lib/chunk-IPS6QJLO.cjs.map +0 -1
- package/lib/chunk-IRFX6LWG.js +0 -37
- package/lib/chunk-IRFX6LWG.js.map +0 -1
- package/lib/chunk-IYCURPP5.cjs +0 -107
- package/lib/chunk-IYCURPP5.cjs.map +0 -1
- package/lib/chunk-J26HOFAI.cjs +0 -47
- package/lib/chunk-J26HOFAI.cjs.map +0 -1
- package/lib/chunk-JCI5Z3SY.js +0 -59
- package/lib/chunk-JCI5Z3SY.js.map +0 -1
- package/lib/chunk-JF6PN4CF.js +0 -75
- package/lib/chunk-JF6PN4CF.js.map +0 -1
- package/lib/chunk-JGQSZ4FV.cjs +0 -75
- package/lib/chunk-JGQSZ4FV.cjs.map +0 -1
- package/lib/chunk-JO56R3TP.cjs +0 -54
- package/lib/chunk-JO56R3TP.cjs.map +0 -1
- package/lib/chunk-JVEOQPIP.cjs +0 -56
- package/lib/chunk-JVEOQPIP.cjs.map +0 -1
- package/lib/chunk-K6QROUP2.js +0 -45
- package/lib/chunk-K6QROUP2.js.map +0 -1
- package/lib/chunk-KA3ARL4M.cjs +0 -47
- package/lib/chunk-KA3ARL4M.cjs.map +0 -1
- package/lib/chunk-KACVNOCD.cjs +0 -53
- package/lib/chunk-KACVNOCD.cjs.map +0 -1
- package/lib/chunk-KBHOKNEY.cjs +0 -55
- package/lib/chunk-KBHOKNEY.cjs.map +0 -1
- package/lib/chunk-KNAQ4UMU.cjs +0 -51
- package/lib/chunk-KNAQ4UMU.cjs.map +0 -1
- package/lib/chunk-KX2TRARQ.js +0 -54
- package/lib/chunk-KX2TRARQ.js.map +0 -1
- package/lib/chunk-KXU3VOOJ.js +0 -73
- package/lib/chunk-KXU3VOOJ.js.map +0 -1
- package/lib/chunk-LA43RTZ4.js +0 -49
- package/lib/chunk-LA43RTZ4.js.map +0 -1
- package/lib/chunk-LAYXKEVY.js +0 -45
- package/lib/chunk-LAYXKEVY.js.map +0 -1
- package/lib/chunk-LBISZHJS.js +0 -45
- package/lib/chunk-LBISZHJS.js.map +0 -1
- package/lib/chunk-LGIROVQI.js +0 -32
- package/lib/chunk-LGIROVQI.js.map +0 -1
- package/lib/chunk-LL2RPBAA.js +0 -50
- package/lib/chunk-LL2RPBAA.js.map +0 -1
- package/lib/chunk-LL3M46A5.cjs +0 -42
- package/lib/chunk-LL3M46A5.cjs.map +0 -1
- package/lib/chunk-LXLCAD45.js +0 -66
- package/lib/chunk-LXLCAD45.js.map +0 -1
- package/lib/chunk-M5JX4ITG.cjs +0 -59
- package/lib/chunk-M5JX4ITG.cjs.map +0 -1
- package/lib/chunk-M7L2QTCA.cjs +0 -47
- package/lib/chunk-M7L2QTCA.cjs.map +0 -1
- package/lib/chunk-MANWK2IC.cjs +0 -62
- package/lib/chunk-MANWK2IC.cjs.map +0 -1
- package/lib/chunk-MIYTWFUU.js +0 -45
- package/lib/chunk-MIYTWFUU.js.map +0 -1
- package/lib/chunk-MMTE4ANB.cjs +0 -39
- package/lib/chunk-MMTE4ANB.cjs.map +0 -1
- package/lib/chunk-MQZYAWYA.cjs +0 -55
- package/lib/chunk-MQZYAWYA.cjs.map +0 -1
- package/lib/chunk-MSHBNBYN.cjs +0 -47
- package/lib/chunk-MSHBNBYN.cjs.map +0 -1
- package/lib/chunk-MYVVTZRG.cjs +0 -51
- package/lib/chunk-MYVVTZRG.cjs.map +0 -1
- package/lib/chunk-N4VDOIED.cjs +0 -43
- package/lib/chunk-N4VDOIED.cjs.map +0 -1
- package/lib/chunk-NDSFGWQP.cjs +0 -67
- package/lib/chunk-NDSFGWQP.cjs.map +0 -1
- package/lib/chunk-NIVC56IB.cjs +0 -56
- package/lib/chunk-NIVC56IB.cjs.map +0 -1
- package/lib/chunk-NZVKSLMS.js +0 -49
- package/lib/chunk-NZVKSLMS.js.map +0 -1
- package/lib/chunk-O35AP4HQ.js +0 -102
- package/lib/chunk-O35AP4HQ.js.map +0 -1
- package/lib/chunk-O43NEDTK.cjs +0 -61
- package/lib/chunk-O43NEDTK.cjs.map +0 -1
- package/lib/chunk-OAYIA3K5.js +0 -52
- package/lib/chunk-OAYIA3K5.js.map +0 -1
- package/lib/chunk-OCVGJZXG.cjs +0 -51
- package/lib/chunk-OCVGJZXG.cjs.map +0 -1
- package/lib/chunk-ODMNRKW7.js +0 -54
- package/lib/chunk-ODMNRKW7.js.map +0 -1
- package/lib/chunk-OK6YNH74.cjs +0 -51
- package/lib/chunk-OK6YNH74.cjs.map +0 -1
- package/lib/chunk-OVIWTYUN.cjs +0 -57
- package/lib/chunk-OVIWTYUN.cjs.map +0 -1
- package/lib/chunk-P45FTR27.js +0 -45
- package/lib/chunk-P45FTR27.js.map +0 -1
- package/lib/chunk-PBVIPSHG.cjs +0 -43
- package/lib/chunk-PBVIPSHG.cjs.map +0 -1
- package/lib/chunk-PCTX2ZF3.js +0 -44
- package/lib/chunk-PCTX2ZF3.js.map +0 -1
- package/lib/chunk-PF2U2L6L.js +0 -28
- package/lib/chunk-PF2U2L6L.js.map +0 -1
- package/lib/chunk-PHOVUFZ4.cjs +0 -47
- package/lib/chunk-PHOVUFZ4.cjs.map +0 -1
- package/lib/chunk-PNUZIK2G.js +0 -36
- package/lib/chunk-PNUZIK2G.js.map +0 -1
- package/lib/chunk-PUJN7S4J.cjs +0 -51
- package/lib/chunk-PUJN7S4J.cjs.map +0 -1
- package/lib/chunk-PUTFLUDX.js +0 -31
- package/lib/chunk-PUTFLUDX.js.map +0 -1
- package/lib/chunk-PVDC6VVA.cjs +0 -50
- package/lib/chunk-PVDC6VVA.cjs.map +0 -1
- package/lib/chunk-PVUVUM5B.cjs +0 -47
- package/lib/chunk-PVUVUM5B.cjs.map +0 -1
- package/lib/chunk-Q5U3QQ6L.cjs +0 -71
- package/lib/chunk-Q5U3QQ6L.cjs.map +0 -1
- package/lib/chunk-QSSLQRDU.js +0 -51
- package/lib/chunk-QSSLQRDU.js.map +0 -1
- package/lib/chunk-QYM7OXUQ.cjs +0 -68
- package/lib/chunk-QYM7OXUQ.cjs.map +0 -1
- package/lib/chunk-QZ7R3CGB.cjs +0 -42
- package/lib/chunk-QZ7R3CGB.cjs.map +0 -1
- package/lib/chunk-RAXA7MPX.js +0 -40
- package/lib/chunk-RAXA7MPX.js.map +0 -1
- package/lib/chunk-RDOB2GZT.cjs +0 -95
- package/lib/chunk-RDOB2GZT.cjs.map +0 -1
- package/lib/chunk-RJPVLWBM.cjs +0 -38
- package/lib/chunk-RJPVLWBM.cjs.map +0 -1
- package/lib/chunk-RM2WFVF5.cjs +0 -61
- package/lib/chunk-RM2WFVF5.cjs.map +0 -1
- package/lib/chunk-RSS5IWAB.cjs +0 -49
- package/lib/chunk-RSS5IWAB.cjs.map +0 -1
- package/lib/chunk-RX3HJ7IR.js +0 -36
- package/lib/chunk-RX3HJ7IR.js.map +0 -1
- package/lib/chunk-RYNUHEGX.js +0 -32
- package/lib/chunk-RYNUHEGX.js.map +0 -1
- package/lib/chunk-RZGKZSXT.js +0 -54
- package/lib/chunk-RZGKZSXT.js.map +0 -1
- package/lib/chunk-S4TPKIG5.js +0 -41
- package/lib/chunk-S4TPKIG5.js.map +0 -1
- package/lib/chunk-S7Q42BBG.cjs +0 -42
- package/lib/chunk-S7Q42BBG.cjs.map +0 -1
- package/lib/chunk-SERRVB25.cjs +0 -51
- package/lib/chunk-SERRVB25.cjs.map +0 -1
- package/lib/chunk-SWSX4KRR.js +0 -27
- package/lib/chunk-SWSX4KRR.js.map +0 -1
- package/lib/chunk-SYSNGHEG.js +0 -40
- package/lib/chunk-SYSNGHEG.js.map +0 -1
- package/lib/chunk-T23Y2QTM.cjs +0 -107
- package/lib/chunk-T23Y2QTM.cjs.map +0 -1
- package/lib/chunk-T3OBEDI4.cjs +0 -56
- package/lib/chunk-T3OBEDI4.cjs.map +0 -1
- package/lib/chunk-T7QXZHTL.cjs +0 -53
- package/lib/chunk-T7QXZHTL.cjs.map +0 -1
- package/lib/chunk-TIA53DAH.js +0 -54
- package/lib/chunk-TIA53DAH.js.map +0 -1
- package/lib/chunk-TJEA37RN.cjs +0 -39
- package/lib/chunk-TJEA37RN.cjs.map +0 -1
- package/lib/chunk-TPO5GEA3.cjs +0 -91
- package/lib/chunk-TPO5GEA3.cjs.map +0 -1
- package/lib/chunk-TUT5DSFS.cjs +0 -49
- package/lib/chunk-TUT5DSFS.cjs.map +0 -1
- package/lib/chunk-U2QBVG5P.js +0 -48
- package/lib/chunk-U2QBVG5P.js.map +0 -1
- package/lib/chunk-U3UQ2KCY.js +0 -59
- package/lib/chunk-U3UQ2KCY.js.map +0 -1
- package/lib/chunk-U7NPDLRU.js +0 -54
- package/lib/chunk-U7NPDLRU.js.map +0 -1
- package/lib/chunk-UB5WDQ5P.cjs +0 -55
- package/lib/chunk-UB5WDQ5P.cjs.map +0 -1
- package/lib/chunk-UFTGYB2P.js +0 -67
- package/lib/chunk-UFTGYB2P.js.map +0 -1
- package/lib/chunk-UW6CNKMD.cjs +0 -56
- package/lib/chunk-UW6CNKMD.cjs.map +0 -1
- package/lib/chunk-UXGOWL37.cjs +0 -47
- package/lib/chunk-UXGOWL37.cjs.map +0 -1
- package/lib/chunk-UZGOFUD6.js +0 -36
- package/lib/chunk-UZGOFUD6.js.map +0 -1
- package/lib/chunk-V2O6SHTJ.js +0 -53
- package/lib/chunk-V2O6SHTJ.js.map +0 -1
- package/lib/chunk-V2SVBB32.js +0 -54
- package/lib/chunk-V2SVBB32.js.map +0 -1
- package/lib/chunk-VBECGZ7Y.js +0 -48
- package/lib/chunk-VBECGZ7Y.js.map +0 -1
- package/lib/chunk-VG5QRLCS.cjs +0 -42
- package/lib/chunk-VG5QRLCS.cjs.map +0 -1
- package/lib/chunk-VJCI73KC.cjs +0 -156
- package/lib/chunk-VJCI73KC.cjs.map +0 -1
- package/lib/chunk-VNX3YIZW.js +0 -40
- package/lib/chunk-VNX3YIZW.js.map +0 -1
- package/lib/chunk-VRRJS3ZM.cjs +0 -284
- package/lib/chunk-VRRJS3ZM.cjs.map +0 -1
- package/lib/chunk-VZWZ2NTW.js +0 -99
- package/lib/chunk-VZWZ2NTW.js.map +0 -1
- package/lib/chunk-W2T4MBV4.js +0 -47
- package/lib/chunk-W2T4MBV4.js.map +0 -1
- package/lib/chunk-W4CBHKYP.cjs +0 -47
- package/lib/chunk-W4CBHKYP.cjs.map +0 -1
- package/lib/chunk-W4M3OCH3.js +0 -51
- package/lib/chunk-W4M3OCH3.js.map +0 -1
- package/lib/chunk-W5RMMV5S.js +0 -53
- package/lib/chunk-W5RMMV5S.js.map +0 -1
- package/lib/chunk-WEQGEKUT.cjs +0 -51
- package/lib/chunk-WEQGEKUT.cjs.map +0 -1
- package/lib/chunk-WHGWYAWD.cjs +0 -33
- package/lib/chunk-WHGWYAWD.cjs.map +0 -1
- package/lib/chunk-WIM4ZWWT.js +0 -40
- package/lib/chunk-WIM4ZWWT.js.map +0 -1
- package/lib/chunk-WISHL4PL.js +0 -48
- package/lib/chunk-WISHL4PL.js.map +0 -1
- package/lib/chunk-WIVDPOV2.js +0 -53
- package/lib/chunk-WIVDPOV2.js.map +0 -1
- package/lib/chunk-WL267QRV.cjs +0 -54
- package/lib/chunk-WL267QRV.cjs.map +0 -1
- package/lib/chunk-WL6XIY5R.js +0 -52
- package/lib/chunk-WL6XIY5R.js.map +0 -1
- package/lib/chunk-WYHH5QI4.js +0 -65
- package/lib/chunk-WYHH5QI4.js.map +0 -1
- package/lib/chunk-WYMOOVYG.js +0 -96
- package/lib/chunk-WYMOOVYG.js.map +0 -1
- package/lib/chunk-XBFVGK3J.js +0 -48
- package/lib/chunk-XBFVGK3J.js.map +0 -1
- package/lib/chunk-XBXYSL5J.cjs +0 -98
- package/lib/chunk-XBXYSL5J.cjs.map +0 -1
- package/lib/chunk-XCJM3XRN.cjs +0 -53
- package/lib/chunk-XCJM3XRN.cjs.map +0 -1
- package/lib/chunk-XDRKC6JM.js +0 -276
- package/lib/chunk-XDRKC6JM.js.map +0 -1
- package/lib/chunk-XECAN3XD.cjs +0 -55
- package/lib/chunk-XECAN3XD.cjs.map +0 -1
- package/lib/chunk-XIRWNWMI.cjs +0 -42
- package/lib/chunk-XIRWNWMI.cjs.map +0 -1
- package/lib/chunk-XLEJ2PV3.cjs +0 -61
- package/lib/chunk-XLEJ2PV3.cjs.map +0 -1
- package/lib/chunk-XMSZHD4G.js +0 -45
- package/lib/chunk-XMSZHD4G.js.map +0 -1
- package/lib/chunk-XND3VBYX.cjs +0 -55
- package/lib/chunk-XND3VBYX.cjs.map +0 -1
- package/lib/chunk-XTQHJJJ7.cjs +0 -95
- package/lib/chunk-XTQHJJJ7.cjs.map +0 -1
- package/lib/chunk-XVHODDX7.js +0 -49
- package/lib/chunk-XVHODDX7.js.map +0 -1
- package/lib/chunk-XXTRCYWK.cjs +0 -47
- package/lib/chunk-XXTRCYWK.cjs.map +0 -1
- package/lib/chunk-Y6CYBNR2.cjs +0 -52
- package/lib/chunk-Y6CYBNR2.cjs.map +0 -1
- package/lib/chunk-Y6QGYCKB.js +0 -87
- package/lib/chunk-Y6QGYCKB.js.map +0 -1
- package/lib/chunk-Y6ULTGRO.cjs +0 -56
- package/lib/chunk-Y6ULTGRO.cjs.map +0 -1
- package/lib/chunk-YDOTSBF3.js +0 -52
- package/lib/chunk-YDOTSBF3.js.map +0 -1
- package/lib/chunk-YEPVAW3U.cjs +0 -97
- package/lib/chunk-YEPVAW3U.cjs.map +0 -1
- package/lib/chunk-YJXFSO4R.js +0 -40
- package/lib/chunk-YJXFSO4R.js.map +0 -1
- package/lib/chunk-YLT2R3ZO.cjs +0 -69
- package/lib/chunk-YLT2R3ZO.cjs.map +0 -1
- package/lib/chunk-YMEGKTEP.js +0 -53
- package/lib/chunk-YMEGKTEP.js.map +0 -1
- package/lib/chunk-Z2DSJJDB.cjs +0 -89
- package/lib/chunk-Z2DSJJDB.cjs.map +0 -1
- package/lib/chunk-Z2XON3QS.js +0 -45
- package/lib/chunk-Z2XON3QS.js.map +0 -1
- package/lib/chunk-Z66KN6BV.cjs +0 -93
- package/lib/chunk-Z66KN6BV.cjs.map +0 -1
- package/lib/chunk-ZCDDPJN5.js +0 -50
- package/lib/chunk-ZCDDPJN5.js.map +0 -1
- package/lib/chunk-ZERO5UUI.cjs +0 -95
- package/lib/chunk-ZERO5UUI.cjs.map +0 -1
- package/lib/chunk-ZGLO72NX.cjs +0 -98
- package/lib/chunk-ZGLO72NX.cjs.map +0 -1
- package/lib/chunk-ZJ5UZTQT.js +0 -45
- package/lib/chunk-ZJ5UZTQT.js.map +0 -1
- package/lib/chunk-ZMSILIKP.cjs +0 -95
- package/lib/chunk-ZMSILIKP.cjs.map +0 -1
- package/lib/chunk-ZOASE2AV.cjs +0 -47
- package/lib/chunk-ZOASE2AV.cjs.map +0 -1
- package/lib/chunk-ZRAHMGDW.js +0 -42
- package/lib/chunk-ZRAHMGDW.js.map +0 -1
- package/lib/chunk-ZRZ4KAEU.js +0 -45
- package/lib/chunk-ZRZ4KAEU.js.map +0 -1
- package/lib/chunk-ZTYYOE7T.cjs +0 -126
- package/lib/chunk-ZTYYOE7T.cjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/shipping_methods.ts"],"names":["ApiResource"],"mappings":";;;;;AAwVA,IAAM,eAAA,GAAN,MAAM,gBAAA,SAAwBA,6BAAA,CAA4B;AAAA,EAEzD,OAAgB,IAAA,GAA2B,kBAAA;AAAA,EAE3C,MAAM,MAAA,CAAO,QAAA,EAAgC,MAAA,EAA8C,OAAA,EAAoD;AAC9I,IAAA,OAAO,IAAA,CAAK,SAA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G,GAAG,CAAA;AAAA,EAC7D;AAAA,EAGA,IAAA,GAA2B;AAC1B,IAAA,OAAO,gBAAA,CAAgB,IAAA;AAAA,EACxB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,eAAA,EAAgB;AACrC,IAAO,wBAAA,GAAQ","file":"chunk-QNJQIJKL.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 { DeliveryLeadTime } from './delivery_lead_times'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market, MarketType } from './markets'\nimport type { Notification } from './notifications'\nimport type { ShippingCategory, ShippingCategoryType } from './shipping_categories'\nimport type { ShippingMethodTier, ShippingMethodTierType } from './shipping_method_tiers'\nimport type { ShippingWeightTier } from './shipping_weight_tiers'\nimport type { ShippingZone, ShippingZoneType } from './shipping_zones'\nimport type { StockLocation, StockLocationType } from './stock_locations'\nimport type { Tag, TagType } from './tags'\n\n\ntype ShippingMethodType = 'shipping_methods'\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype ShippingZoneRel = ResourceRel & { type: ShippingZoneType }\ntype ShippingCategoryRel = ResourceRel & { type: ShippingCategoryType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype ShippingMethodTierRel = ResourceRel & { type: ShippingMethodTierType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type ShippingMethodSort = Pick<ShippingMethod, 'id' | 'name' | 'scheme' | 'currency_code' | 'price_amount_cents' | 'free_over_amount_cents' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort\n// export type ShippingMethodFilter = Pick<ShippingMethod, 'id' | 'name' | 'scheme' | 'currency_code' | 'price_amount_cents' | 'free_over_amount_cents' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceFilter\n\n\ninterface ShippingMethod extends Resource {\n\t\n\treadonly type: ShippingMethodType\n\n\t/** \n\t * The shipping method's name.\n\t * @example ```\"Standard shipping\"```\n\t */\n\tname: string\n\t/** \n\t * The shipping method's scheme. One of 'flat', 'weight_tiered', or 'external'.\n\t * @example ```\"flat\"```\n\t */\n\tscheme?: 'flat' | 'weight_tiered' | 'external' | 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 URL used to overwrite prices by an external source.\n\t * @example ```\"https://external_prices.yourbrand.com\"```\n\t */\n\texternal_prices_url?: string | null\n\t/** \n\t * The price of this shipping method, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\t/** \n\t * The price of this shipping method, float.\n\t * @example ```10```\n\t */\n\tprice_amount_float?: number | null\n\t/** \n\t * The price of this shipping method, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_price_amount?: string | null\n\t/** \n\t * Apply free shipping if the order amount is over this value, in cents.\n\t * @example ```9900```\n\t */\n\tfree_over_amount_cents?: number | null\n\t/** \n\t * Apply free shipping if the order amount is over this value, float.\n\t * @example ```99```\n\t */\n\tfree_over_amount_float?: number | null\n\t/** \n\t * Apply free shipping if the order amount is over this value, formatted.\n\t * @example ```\"€99,00\"```\n\t */\n\tformatted_free_over_amount?: string | null\n\t/** \n\t * Send this attribute if you want to compare the free over amount with order's subtotal (excluding discounts, if any).\n\t * @example ```true```\n\t */\n\tuse_subtotal?: boolean | null\n\t/** \n\t * The calculated price (zero or price amount) when associated to a shipment, in cents.\n\t */\n\tprice_amount_for_shipment_cents?: number | null\n\t/** \n\t * The calculated price (zero or price amount) when associated to a shipment, float.\n\t */\n\tprice_amount_for_shipment_float?: number | null\n\t/** \n\t * The calculated price (zero or price amount) when associated to a shipment, formatted.\n\t * @example ```\"€0,00\"```\n\t */\n\tformatted_price_amount_for_shipment?: string | null\n\t/** \n\t * The minimum weight for which this shipping method is available.\n\t * @example ```3```\n\t */\n\tmin_weight?: number | null\n\t/** \n\t * The maximum weight for which this shipping method is available.\n\t * @example ```300```\n\t */\n\tmax_weight?: number | null\n\t/** \n\t * The unit of weight. One of 'gr', 'oz', or 'lb'.\n\t * @example ```\"gr\"```\n\t */\n\tunit_of_weight?: 'gr' | 'oz' | 'lb' | null\n\t/** \n\t * The freight tax identifier code, specific for a particular tax calculator.\n\t * @example ```\"FR010000\"```\n\t */\n\ttax_code?: 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\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\tshipping_zone?: ShippingZone | null\n\tshipping_category?: ShippingCategory | null\n\tstock_location?: StockLocation | null\n\tdelivery_lead_time_for_shipment?: DeliveryLeadTime | null\n\tshipping_method_tiers?: ShippingMethodTier[] | null\n\tshipping_weight_tiers?: ShippingWeightTier[] | null\n\tattachments?: Attachment[] | null\n\tnotifications?: Notification[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface ShippingMethodCreate extends ResourceCreate {\n\t\n\t/** \n\t * The shipping method's name.\n\t * @example ```\"Standard shipping\"```\n\t */\n\tname: string\n\t/** \n\t * The shipping method's scheme. One of 'flat', 'weight_tiered', or 'external'.\n\t * @example ```\"flat\"```\n\t */\n\tscheme?: 'flat' | 'weight_tiered' | 'external' | 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 URL used to overwrite prices by an external source.\n\t * @example ```\"https://external_prices.yourbrand.com\"```\n\t */\n\texternal_prices_url?: string | null\n\t/** \n\t * The price of this shipping method, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\t/** \n\t * Apply free shipping if the order amount is over this value, in cents.\n\t * @example ```9900```\n\t */\n\tfree_over_amount_cents?: number | null\n\t/** \n\t * Send this attribute if you want to compare the free over amount with order's subtotal (excluding discounts, if any).\n\t * @example ```true```\n\t */\n\tuse_subtotal?: boolean | null\n\t/** \n\t * The minimum weight for which this shipping method is available.\n\t * @example ```3```\n\t */\n\tmin_weight?: number | null\n\t/** \n\t * The maximum weight for which this shipping method is available.\n\t * @example ```300```\n\t */\n\tmax_weight?: number | null\n\t/** \n\t * The unit of weight. One of 'gr', 'oz', or 'lb'.\n\t * @example ```\"gr\"```\n\t */\n\tunit_of_weight?: 'gr' | 'oz' | 'lb' | null\n\t/** \n\t * The freight tax identifier code, specific for a particular tax calculator.\n\t * @example ```\"FR010000\"```\n\t */\n\ttax_code?: string | 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 * 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\tshipping_zone?: ShippingZoneRel | null\n\tshipping_category?: ShippingCategoryRel | null\n\tstock_location?: StockLocationRel | null\n\tshipping_method_tiers?: ShippingMethodTierRel[] | null\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface ShippingMethodUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The shipping method's name.\n\t * @example ```\"Standard shipping\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The shipping method's scheme. One of 'flat', 'weight_tiered', or 'external'.\n\t * @example ```\"flat\"```\n\t */\n\tscheme?: 'flat' | 'weight_tiered' | 'external' | 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 URL used to overwrite prices by an external source.\n\t * @example ```\"https://external_prices.yourbrand.com\"```\n\t */\n\texternal_prices_url?: string | null\n\t/** \n\t * The price of this shipping method, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents?: number | null\n\t/** \n\t * Apply free shipping if the order amount is over this value, in cents.\n\t * @example ```9900```\n\t */\n\tfree_over_amount_cents?: number | null\n\t/** \n\t * Send this attribute if you want to compare the free over amount with order's subtotal (excluding discounts, if any).\n\t * @example ```true```\n\t */\n\tuse_subtotal?: boolean | null\n\t/** \n\t * The minimum weight for which this shipping method is available.\n\t * @example ```3```\n\t */\n\tmin_weight?: number | null\n\t/** \n\t * The maximum weight for which this shipping method is available.\n\t * @example ```300```\n\t */\n\tmax_weight?: number | null\n\t/** \n\t * The unit of weight. One of 'gr', 'oz', or 'lb'.\n\t * @example ```\"gr\"```\n\t */\n\tunit_of_weight?: 'gr' | 'oz' | 'lb' | null\n\t/** \n\t * The freight tax identifier code, specific for a particular tax calculator.\n\t * @example ```\"FR010000\"```\n\t */\n\ttax_code?: string | 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 * 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\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\tshipping_zone?: ShippingZoneRel | null\n\tshipping_category?: ShippingCategoryRel | null\n\tstock_location?: StockLocationRel | null\n\tshipping_method_tiers?: ShippingMethodTierRel[] | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass ShippingMethods extends ApiResource<ShippingMethod> {\n\n\tstatic readonly TYPE: ShippingMethodType = 'shipping_methods' as const\n\n\tasync create(resource: ShippingMethodCreate, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\treturn this.resources.create<ShippingMethodCreate, ShippingMethod>({ ...resource, type: ShippingMethods.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ShippingMethodUpdate, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\treturn this.resources.update<ShippingMethodUpdate, ShippingMethod>({ ...resource, type: ShippingMethods.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: ShippingMethods.TYPE } : id, options)\n\t}\n\n\tasync market(shippingMethodId: string | ShippingMethod, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `shipping_methods/${_shippingMethodId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync shipping_zone(shippingMethodId: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingZone>, options?: ResourcesConfig): Promise<ShippingZone> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<ShippingZone>({ type: 'shipping_zones' }, `shipping_methods/${_shippingMethodId}/shipping_zone`, params, options) as unknown as ShippingZone\n\t}\n\n\tasync shipping_category(shippingMethodId: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingCategory>, options?: ResourcesConfig): Promise<ShippingCategory> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<ShippingCategory>({ type: 'shipping_categories' }, `shipping_methods/${_shippingMethodId}/shipping_category`, params, options) as unknown as ShippingCategory\n\t}\n\n\tasync stock_location(shippingMethodId: string | ShippingMethod, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<StockLocation>({ type: 'stock_locations' }, `shipping_methods/${_shippingMethodId}/stock_location`, params, options) as unknown as StockLocation\n\t}\n\n\tasync delivery_lead_time_for_shipment(shippingMethodId: string | ShippingMethod, params?: QueryParamsRetrieve<DeliveryLeadTime>, options?: ResourcesConfig): Promise<DeliveryLeadTime> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<DeliveryLeadTime>({ type: 'delivery_lead_times' }, `shipping_methods/${_shippingMethodId}/delivery_lead_time_for_shipment`, params, options) as unknown as DeliveryLeadTime\n\t}\n\n\tasync shipping_method_tiers(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<ShippingMethodTier>, options?: ResourcesConfig): Promise<ListResponse<ShippingMethodTier>> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<ShippingMethodTier>({ type: 'shipping_method_tiers' }, `shipping_methods/${_shippingMethodId}/shipping_method_tiers`, params, options) as unknown as ListResponse<ShippingMethodTier>\n\t}\n\n\tasync shipping_weight_tiers(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<ShippingWeightTier>, options?: ResourcesConfig): Promise<ListResponse<ShippingWeightTier>> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<ShippingWeightTier>({ type: 'shipping_weight_tiers' }, `shipping_methods/${_shippingMethodId}/shipping_weight_tiers`, params, options) as unknown as ListResponse<ShippingWeightTier>\n\t}\n\n\tasync attachments(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `shipping_methods/${_shippingMethodId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync notifications(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<Notification>, options?: ResourcesConfig): Promise<ListResponse<Notification>> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<Notification>({ type: 'notifications' }, `shipping_methods/${_shippingMethodId}/notifications`, params, options) as unknown as ListResponse<Notification>\n\t}\n\n\tasync events(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `shipping_methods/${_shippingMethodId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `shipping_methods/${_shippingMethodId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync event_stores(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `shipping_methods/${_shippingMethodId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _disable(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\treturn this.resources.update<ShippingMethodUpdate, ShippingMethod>({ id: (typeof id === 'string')? id: id.id, type: ShippingMethods.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\treturn this.resources.update<ShippingMethodUpdate, ShippingMethod>({ id: (typeof id === 'string')? id: id.id, type: ShippingMethods.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _reset_circuit(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\treturn this.resources.update<ShippingMethodUpdate, ShippingMethod>({ id: (typeof id === 'string')? id: id.id, type: ShippingMethods.TYPE, _reset_circuit: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | ShippingMethod, triggerValue: string, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\treturn this.resources.update<ShippingMethodUpdate, ShippingMethod>({ id: (typeof id === 'string')? id: id.id, type: ShippingMethods.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | ShippingMethod, triggerValue: string, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\treturn this.resources.update<ShippingMethodUpdate, ShippingMethod>({ id: (typeof id === 'string')? id: id.id, type: ShippingMethods.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisShippingMethod(resource: any): resource is ShippingMethod {\n\t\treturn resource.type && (resource.type === ShippingMethods.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ShippingMethodRel {\n\t\treturn super.relationshipOneToOne<ShippingMethodRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ShippingMethodRel[] {\n\t\treturn super.relationshipOneToMany<ShippingMethodRel>(...ids)\n\t}\n\n\n\ttype(): ShippingMethodType {\n\t\treturn ShippingMethods.TYPE\n\t}\n\n}\n\n\nconst instance = new ShippingMethods()\nexport default instance\n\nexport type { ShippingMethod, ShippingMethodCreate, ShippingMethods, ShippingMethodType, ShippingMethodUpdate }\n"]}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-ADBL6GHI.js';
|
|
2
|
+
|
|
3
|
+
// src/resources/talon_one_accounts.ts
|
|
4
|
+
var TalonOneAccounts = class _TalonOneAccounts extends ApiResource {
|
|
5
|
+
static TYPE = "talon_one_accounts";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create({ ...resource, type: _TalonOneAccounts.TYPE }, params, options);
|
|
8
|
+
}
|
|
9
|
+
async update(resource, params, options) {
|
|
10
|
+
return this.resources.update({ ...resource, type: _TalonOneAccounts.TYPE }, params, options);
|
|
11
|
+
}
|
|
12
|
+
async delete(id, options) {
|
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _TalonOneAccounts.TYPE } : id, options);
|
|
14
|
+
}
|
|
15
|
+
async markets(talonOneAccountId, params, options) {
|
|
16
|
+
const _talonOneAccountId = talonOneAccountId.id || talonOneAccountId;
|
|
17
|
+
return this.resources.fetch({ type: "markets" }, `talon_one_accounts/${_talonOneAccountId}/markets`, params, options);
|
|
18
|
+
}
|
|
19
|
+
async discount_engine_items(talonOneAccountId, params, options) {
|
|
20
|
+
const _talonOneAccountId = talonOneAccountId.id || talonOneAccountId;
|
|
21
|
+
return this.resources.fetch({ type: "discount_engine_items" }, `talon_one_accounts/${_talonOneAccountId}/discount_engine_items`, params, options);
|
|
22
|
+
}
|
|
23
|
+
async attachments(talonOneAccountId, params, options) {
|
|
24
|
+
const _talonOneAccountId = talonOneAccountId.id || talonOneAccountId;
|
|
25
|
+
return this.resources.fetch({ type: "attachments" }, `talon_one_accounts/${_talonOneAccountId}/attachments`, params, options);
|
|
26
|
+
}
|
|
27
|
+
async event_stores(talonOneAccountId, params, options) {
|
|
28
|
+
const _talonOneAccountId = talonOneAccountId.id || talonOneAccountId;
|
|
29
|
+
return this.resources.fetch({ type: "event_stores" }, `talon_one_accounts/${_talonOneAccountId}/event_stores`, params, options);
|
|
30
|
+
}
|
|
31
|
+
isTalonOneAccount(resource) {
|
|
32
|
+
return resource.type && resource.type === _TalonOneAccounts.TYPE;
|
|
33
|
+
}
|
|
34
|
+
relationship(id) {
|
|
35
|
+
return super.relationshipOneToOne(id);
|
|
36
|
+
}
|
|
37
|
+
relationshipToMany(...ids) {
|
|
38
|
+
return super.relationshipOneToMany(...ids);
|
|
39
|
+
}
|
|
40
|
+
type() {
|
|
41
|
+
return _TalonOneAccounts.TYPE;
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
var instance = new TalonOneAccounts();
|
|
45
|
+
var talon_one_accounts_default = instance;
|
|
46
|
+
|
|
47
|
+
export { talon_one_accounts_default };
|
|
48
|
+
//# sourceMappingURL=chunk-QPFAATIQ.js.map
|
|
49
|
+
//# sourceMappingURL=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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,0BAAA,GAAQ","file":"chunk-QPFAATIQ.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 { DiscountEngineItem } from './discount_engine_items'\nimport type { EventStore } from './event_stores'\nimport type { Market } from './markets'\n\n\ntype TalonOneAccountType = 'talon_one_accounts'\ntype TalonOneAccountRel = ResourceRel & { type: TalonOneAccountType }\n\n\nexport type TalonOneAccountSort = Pick<TalonOneAccount, 'id' | 'name'> & ResourceSort\n// export type TalonOneAccountFilter = Pick<TalonOneAccount, 'id' | 'name'> & ResourceFilter\n\n\ninterface TalonOneAccount extends Resource {\n\t\n\treadonly type: TalonOneAccountType\n\n\t/** \n\t * The discount engine's internal name.\n\t * @example ```\"Personal discount engine\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the discount engine manages both promotions and gift cards application at once.\n\t */\n\tmanage_gift_cards?: boolean | null\n\t/** \n\t * The API endpoint as computed by specified baseurl.\n\t * @example ```\"https://my_baseurl.talon.one/v2\"```\n\t */\n\tapi_endpoint?: string | null\n\n\tmarkets?: Market[] | null\n\tdiscount_engine_items?: DiscountEngineItem[] | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface TalonOneAccountCreate extends ResourceCreate {\n\t\n\t/** \n\t * The discount engine's internal name.\n\t * @example ```\"Personal discount engine\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the discount engine manages both promotions and gift cards application at once.\n\t */\n\tmanage_gift_cards?: boolean | null\n\t/** \n\t * The Talon.One account API key.\n\t * @example ```\"TALON_ONE_API_KEY\"```\n\t */\n\tapi_key: string\n\t/** \n\t * The Talon.One API baseurl (excluding the talon.one suffix).\n\t * @example ```\"yourbaseurl\"```\n\t */\n\tbaseurl: string\n\t\n}\n\n\ninterface TalonOneAccountUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The discount engine's internal name.\n\t * @example ```\"Personal discount engine\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Indicates if the discount engine manages both promotions and gift cards application at once.\n\t */\n\tmanage_gift_cards?: boolean | null\n\t/** \n\t * The Talon.One account API key.\n\t * @example ```\"TALON_ONE_API_KEY\"```\n\t */\n\tapi_key?: string | null\n\t/** \n\t * The Talon.One API baseurl (excluding the talon.one suffix).\n\t * @example ```\"yourbaseurl\"```\n\t */\n\tbaseurl?: string | null\n\t\n}\n\n\nclass TalonOneAccounts extends ApiResource<TalonOneAccount> {\n\n\tstatic readonly TYPE: TalonOneAccountType = 'talon_one_accounts' as const\n\n\tasync create(resource: TalonOneAccountCreate, params?: QueryParamsRetrieve<TalonOneAccount>, options?: ResourcesConfig): Promise<TalonOneAccount> {\n\t\treturn this.resources.create<TalonOneAccountCreate, TalonOneAccount>({ ...resource, type: TalonOneAccounts.TYPE }, params, options)\n\t}\n\n\tasync update(resource: TalonOneAccountUpdate, params?: QueryParamsRetrieve<TalonOneAccount>, options?: ResourcesConfig): Promise<TalonOneAccount> {\n\t\treturn this.resources.update<TalonOneAccountUpdate, TalonOneAccount>({ ...resource, type: TalonOneAccounts.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: TalonOneAccounts.TYPE } : id, options)\n\t}\n\n\tasync markets(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>> {\n\t\tconst _talonOneAccountId = (talonOneAccountId as TalonOneAccount).id || talonOneAccountId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `talon_one_accounts/${_talonOneAccountId}/markets`, params, options) as unknown as ListResponse<Market>\n\t}\n\n\tasync discount_engine_items(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<DiscountEngineItem>, options?: ResourcesConfig): Promise<ListResponse<DiscountEngineItem>> {\n\t\tconst _talonOneAccountId = (talonOneAccountId as TalonOneAccount).id || talonOneAccountId as string\n\t\treturn this.resources.fetch<DiscountEngineItem>({ type: 'discount_engine_items' }, `talon_one_accounts/${_talonOneAccountId}/discount_engine_items`, params, options) as unknown as ListResponse<DiscountEngineItem>\n\t}\n\n\tasync attachments(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _talonOneAccountId = (talonOneAccountId as TalonOneAccount).id || talonOneAccountId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `talon_one_accounts/${_talonOneAccountId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _talonOneAccountId = (talonOneAccountId as TalonOneAccount).id || talonOneAccountId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `talon_one_accounts/${_talonOneAccountId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisTalonOneAccount(resource: any): resource is TalonOneAccount {\n\t\treturn resource.type && (resource.type === TalonOneAccounts.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): TalonOneAccountRel {\n\t\treturn super.relationshipOneToOne<TalonOneAccountRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): TalonOneAccountRel[] {\n\t\treturn super.relationshipOneToMany<TalonOneAccountRel>(...ids)\n\t}\n\n\n\ttype(): TalonOneAccountType {\n\t\treturn TalonOneAccounts.TYPE\n\t}\n\n}\n\n\nconst instance = new TalonOneAccounts()\nexport default instance\n\nexport type { TalonOneAccount, TalonOneAccountCreate, TalonOneAccounts, TalonOneAccountType, TalonOneAccountUpdate }\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkXYPIGF36_cjs = require('./chunk-XYPIGF36.cjs');
|
|
4
|
+
|
|
5
|
+
// src/resources/event_stores.ts
|
|
6
|
+
var EventStores = class _EventStores extends chunkXYPIGF36_cjs.ApiResource {
|
|
7
|
+
static TYPE = "event_stores";
|
|
8
|
+
isEventStore(resource) {
|
|
9
|
+
return resource.type && resource.type === _EventStores.TYPE;
|
|
10
|
+
}
|
|
11
|
+
relationship(id) {
|
|
12
|
+
return super.relationshipOneToOne(id);
|
|
13
|
+
}
|
|
14
|
+
relationshipToMany(...ids) {
|
|
15
|
+
return super.relationshipOneToMany(...ids);
|
|
16
|
+
}
|
|
17
|
+
type() {
|
|
18
|
+
return _EventStores.TYPE;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
var instance = new EventStores();
|
|
22
|
+
var event_stores_default = instance;
|
|
23
|
+
|
|
24
|
+
exports.event_stores_default = event_stores_default;
|
|
25
|
+
//# sourceMappingURL=chunk-QRRPEYJZ.cjs.map
|
|
26
|
+
//# sourceMappingURL=chunk-QRRPEYJZ.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/event_stores.ts"],"names":["ApiResource"],"mappings":";;;;;AA+CA,IAAM,WAAA,GAAN,MAAM,YAAA,SAAoBA,6BAAA,CAAwB;AAAA,EAEjD,OAAgB,IAAA,GAAuB,cAAA;AAAA,EAKvC,aAAa,QAAA,EAAuC;AACnD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,YAAA,CAAY,IAAA;AAAA,EACxD;AAAA,EAGA,aAAa,EAAA,EAA+C;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAoC,EAAE,CAAA;AAAA,EACpD;AAAA,EAEA,sBAAsB,GAAA,EAAgC;AACrD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAqC,GAAG,GAAG,CAAA;AAAA,EACzD;AAAA,EAGA,IAAA,GAAuB;AACtB,IAAA,OAAO,YAAA,CAAY,IAAA;AAAA,EACpB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,WAAA,EAAY;AACjC,IAAO,oBAAA,GAAQ","file":"chunk-QRRPEYJZ.cjs","sourcesContent":["import type { Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport { ApiResource } from '../resource'\n\n\n\n\ntype EventStoreType = 'event_stores'\ntype EventStoreRel = ResourceRel & { type: EventStoreType }\n\n\nexport type EventStoreSort = Pick<EventStore, 'id'> & ResourceSort\n// export type EventStoreFilter = Pick<EventStore, 'id'> & ResourceFilter\n\n\ninterface EventStore extends Resource {\n\t\n\treadonly type: EventStoreType\n\n\t/** \n\t * The type of the affected resource. One of 'applications', 'event_stores', 'organizations', 'addresses', 'geocoders', 'events', 'tags', 'adjustments', 'price_lists', 'payment_gateways', 'payment_methods', 'markets', 'customer_groups', 'line_items', 'discount_engine_items', 'promotions', 'adyen_payments', 'orders', 'transactions', 'order_factories', 'attachments', 'tax_calculators', 'tax_categories', 'skus', 'shipping_categories', 'axerve_payments', 'order_validation_rules', 'braintree_payments', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'promotion_rules', 'coupons', 'returns', 'carrier_accounts', 'checkout_com_payments', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'order_subscriptions', 'customer_password_resets', 'delivery_lead_times', 'shipping_methods', 'shipments', 'discount_engines', 'pickups', 'parcels', 'webhooks', 'event_callbacks', 'external_payments', 'gift_cards', 'in_stock_subscriptions', 'inventory_models', 'inventory_stock_locations', 'inventory_return_locations', 'klarna_payments', 'line_item_options', 'return_line_items', 'stock_line_items', 'stock_reservations', 'stock_transfers', 'notifications', 'sku_options', 'links', 'tax_rules', 'merchants', 'subscription_models', 'stores', 'price_list_schedulers', 'order_subscription_items', 'payment_options', 'resource_errors', 'paypal_payments', 'packages', 'parcel_line_items', 'prices', 'price_tiers', 'reserved_stocks', 'satispay_payments', 'shipping_method_tiers', 'shipping_zones', 'stripe_payments', or 'wire_transfers'.\n\t * @example ```\"orders\"```\n\t */\n\tresource_type?: 'applications' | 'event_stores' | 'organizations' | 'addresses' | 'geocoders' | 'events' | 'tags' | 'adjustments' | 'price_lists' | 'payment_gateways' | 'payment_methods' | 'markets' | 'customer_groups' | 'line_items' | 'discount_engine_items' | 'promotions' | 'adyen_payments' | 'orders' | 'transactions' | 'order_factories' | 'attachments' | 'tax_calculators' | 'tax_categories' | 'skus' | 'shipping_categories' | 'axerve_payments' | 'order_validation_rules' | 'braintree_payments' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'promotion_rules' | 'coupons' | 'returns' | 'carrier_accounts' | 'checkout_com_payments' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'order_subscriptions' | 'customer_password_resets' | 'delivery_lead_times' | 'shipping_methods' | 'shipments' | 'discount_engines' | 'pickups' | 'parcels' | 'webhooks' | 'event_callbacks' | 'external_payments' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_stock_locations' | 'inventory_return_locations' | 'klarna_payments' | 'line_item_options' | 'return_line_items' | 'stock_line_items' | 'stock_reservations' | 'stock_transfers' | 'notifications' | 'sku_options' | 'links' | 'tax_rules' | 'merchants' | 'subscription_models' | 'stores' | 'price_list_schedulers' | 'order_subscription_items' | 'payment_options' | 'resource_errors' | 'paypal_payments' | 'packages' | 'parcel_line_items' | 'prices' | 'price_tiers' | 'reserved_stocks' | 'satispay_payments' | 'shipping_method_tiers' | 'shipping_zones' | 'stripe_payments' | 'wire_transfers' | null\n\t/** \n\t * The ID of the affected resource.\n\t * @example ```\"PzdJhdLdYV\"```\n\t */\n\tresource_id?: string | null\n\t/** \n\t * The type of change (one of create or update).\n\t * @example ```\"update\"```\n\t */\n\tevent?: string | null\n\t/** \n\t * The object changes payload.\n\t * @example ```{\"status\":[\"draft\",\"placed\"]}```\n\t */\n\tpayload?: Record<string, any> | null\n\t/** \n\t * Information about who triggered the change.\n\t * @example ```{\"application\":{\"id\":\"DNOPYiZYpn\",\"kind\":\"sales_channel\",\"public\":true},\"owner\":{\"id\":\"yQQrBhLBmQ\",\"type\":\"Customer\"}}```\n\t */\n\twho?: Record<string, any> | null\n\t\n}\n\n\nclass EventStores extends ApiResource<EventStore> {\n\n\tstatic readonly TYPE: EventStoreType = 'event_stores' as const\n\n\t\n\n\n\tisEventStore(resource: any): resource is EventStore {\n\t\treturn resource.type && (resource.type === EventStores.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): EventStoreRel {\n\t\treturn super.relationshipOneToOne<EventStoreRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): EventStoreRel[] {\n\t\treturn super.relationshipOneToMany<EventStoreRel>(...ids)\n\t}\n\n\n\ttype(): EventStoreType {\n\t\treturn EventStores.TYPE\n\t}\n\n}\n\n\nconst instance = new EventStores()\nexport default instance\n\nexport type { EventStore, EventStores, EventStoreType }\n"]}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkXYPIGF36_cjs = require('./chunk-XYPIGF36.cjs');
|
|
4
|
+
|
|
5
|
+
// src/resources/talon_one_accounts.ts
|
|
6
|
+
var TalonOneAccounts = class _TalonOneAccounts extends chunkXYPIGF36_cjs.ApiResource {
|
|
7
|
+
static TYPE = "talon_one_accounts";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create({ ...resource, type: _TalonOneAccounts.TYPE }, params, options);
|
|
10
|
+
}
|
|
11
|
+
async update(resource, params, options) {
|
|
12
|
+
return this.resources.update({ ...resource, type: _TalonOneAccounts.TYPE }, params, options);
|
|
13
|
+
}
|
|
14
|
+
async delete(id, options) {
|
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _TalonOneAccounts.TYPE } : id, options);
|
|
16
|
+
}
|
|
17
|
+
async markets(talonOneAccountId, params, options) {
|
|
18
|
+
const _talonOneAccountId = talonOneAccountId.id || talonOneAccountId;
|
|
19
|
+
return this.resources.fetch({ type: "markets" }, `talon_one_accounts/${_talonOneAccountId}/markets`, params, options);
|
|
20
|
+
}
|
|
21
|
+
async discount_engine_items(talonOneAccountId, params, options) {
|
|
22
|
+
const _talonOneAccountId = talonOneAccountId.id || talonOneAccountId;
|
|
23
|
+
return this.resources.fetch({ type: "discount_engine_items" }, `talon_one_accounts/${_talonOneAccountId}/discount_engine_items`, params, options);
|
|
24
|
+
}
|
|
25
|
+
async attachments(talonOneAccountId, params, options) {
|
|
26
|
+
const _talonOneAccountId = talonOneAccountId.id || talonOneAccountId;
|
|
27
|
+
return this.resources.fetch({ type: "attachments" }, `talon_one_accounts/${_talonOneAccountId}/attachments`, params, options);
|
|
28
|
+
}
|
|
29
|
+
async event_stores(talonOneAccountId, params, options) {
|
|
30
|
+
const _talonOneAccountId = talonOneAccountId.id || talonOneAccountId;
|
|
31
|
+
return this.resources.fetch({ type: "event_stores" }, `talon_one_accounts/${_talonOneAccountId}/event_stores`, params, options);
|
|
32
|
+
}
|
|
33
|
+
isTalonOneAccount(resource) {
|
|
34
|
+
return resource.type && resource.type === _TalonOneAccounts.TYPE;
|
|
35
|
+
}
|
|
36
|
+
relationship(id) {
|
|
37
|
+
return super.relationshipOneToOne(id);
|
|
38
|
+
}
|
|
39
|
+
relationshipToMany(...ids) {
|
|
40
|
+
return super.relationshipOneToMany(...ids);
|
|
41
|
+
}
|
|
42
|
+
type() {
|
|
43
|
+
return _TalonOneAccounts.TYPE;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
var instance = new TalonOneAccounts();
|
|
47
|
+
var talon_one_accounts_default = instance;
|
|
48
|
+
|
|
49
|
+
exports.talon_one_accounts_default = talon_one_accounts_default;
|
|
50
|
+
//# sourceMappingURL=chunk-QYNCYKXA.cjs.map
|
|
51
|
+
//# sourceMappingURL=chunk-QYNCYKXA.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/talon_one_accounts.ts"],"names":["ApiResource"],"mappings":";;;;;AA8FA,IAAM,gBAAA,GAAN,MAAM,iBAAA,SAAyBA,6BAAA,CAA6B;AAAA,EAE3D,OAAgB,IAAA,GAA4B,oBAAA;AAAA,EAE5C,MAAM,MAAA,CAAO,QAAA,EAAiC,MAAA,EAA+C,OAAA,EAAqD;AACjJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,iBAAA,CAAiB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACnI;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAiC,MAAA,EAA+C,OAAA,EAAqD;AACjJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,iBAAA,CAAiB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACnI;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,iBAAA,CAAiB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACxG;AAAA,EAEA,MAAM,OAAA,CAAQ,iBAAA,EAA6C,MAAA,EAAkC,OAAA,EAA0D;AACtJ,IAAA,MAAM,kBAAA,GAAsB,kBAAsC,EAAA,IAAM,iBAAA;AACxE,IAAA,OAAO,IAA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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,0BAAA,GAAQ","file":"chunk-QYNCYKXA.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 { DiscountEngineItem } from './discount_engine_items'\nimport type { EventStore } from './event_stores'\nimport type { Market } from './markets'\n\n\ntype TalonOneAccountType = 'talon_one_accounts'\ntype TalonOneAccountRel = ResourceRel & { type: TalonOneAccountType }\n\n\nexport type TalonOneAccountSort = Pick<TalonOneAccount, 'id' | 'name'> & ResourceSort\n// export type TalonOneAccountFilter = Pick<TalonOneAccount, 'id' | 'name'> & ResourceFilter\n\n\ninterface TalonOneAccount extends Resource {\n\t\n\treadonly type: TalonOneAccountType\n\n\t/** \n\t * The discount engine's internal name.\n\t * @example ```\"Personal discount engine\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the discount engine manages both promotions and gift cards application at once.\n\t */\n\tmanage_gift_cards?: boolean | null\n\t/** \n\t * The API endpoint as computed by specified baseurl.\n\t * @example ```\"https://my_baseurl.talon.one/v2\"```\n\t */\n\tapi_endpoint?: string | null\n\n\tmarkets?: Market[] | null\n\tdiscount_engine_items?: DiscountEngineItem[] | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface TalonOneAccountCreate extends ResourceCreate {\n\t\n\t/** \n\t * The discount engine's internal name.\n\t * @example ```\"Personal discount engine\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the discount engine manages both promotions and gift cards application at once.\n\t */\n\tmanage_gift_cards?: boolean | null\n\t/** \n\t * The Talon.One account API key.\n\t * @example ```\"TALON_ONE_API_KEY\"```\n\t */\n\tapi_key: string\n\t/** \n\t * The Talon.One API baseurl (excluding the talon.one suffix).\n\t * @example ```\"yourbaseurl\"```\n\t */\n\tbaseurl: string\n\t\n}\n\n\ninterface TalonOneAccountUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The discount engine's internal name.\n\t * @example ```\"Personal discount engine\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Indicates if the discount engine manages both promotions and gift cards application at once.\n\t */\n\tmanage_gift_cards?: boolean | null\n\t/** \n\t * The Talon.One account API key.\n\t * @example ```\"TALON_ONE_API_KEY\"```\n\t */\n\tapi_key?: string | null\n\t/** \n\t * The Talon.One API baseurl (excluding the talon.one suffix).\n\t * @example ```\"yourbaseurl\"```\n\t */\n\tbaseurl?: string | null\n\t\n}\n\n\nclass TalonOneAccounts extends ApiResource<TalonOneAccount> {\n\n\tstatic readonly TYPE: TalonOneAccountType = 'talon_one_accounts' as const\n\n\tasync create(resource: TalonOneAccountCreate, params?: QueryParamsRetrieve<TalonOneAccount>, options?: ResourcesConfig): Promise<TalonOneAccount> {\n\t\treturn this.resources.create<TalonOneAccountCreate, TalonOneAccount>({ ...resource, type: TalonOneAccounts.TYPE }, params, options)\n\t}\n\n\tasync update(resource: TalonOneAccountUpdate, params?: QueryParamsRetrieve<TalonOneAccount>, options?: ResourcesConfig): Promise<TalonOneAccount> {\n\t\treturn this.resources.update<TalonOneAccountUpdate, TalonOneAccount>({ ...resource, type: TalonOneAccounts.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: TalonOneAccounts.TYPE } : id, options)\n\t}\n\n\tasync markets(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>> {\n\t\tconst _talonOneAccountId = (talonOneAccountId as TalonOneAccount).id || talonOneAccountId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `talon_one_accounts/${_talonOneAccountId}/markets`, params, options) as unknown as ListResponse<Market>\n\t}\n\n\tasync discount_engine_items(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<DiscountEngineItem>, options?: ResourcesConfig): Promise<ListResponse<DiscountEngineItem>> {\n\t\tconst _talonOneAccountId = (talonOneAccountId as TalonOneAccount).id || talonOneAccountId as string\n\t\treturn this.resources.fetch<DiscountEngineItem>({ type: 'discount_engine_items' }, `talon_one_accounts/${_talonOneAccountId}/discount_engine_items`, params, options) as unknown as ListResponse<DiscountEngineItem>\n\t}\n\n\tasync attachments(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _talonOneAccountId = (talonOneAccountId as TalonOneAccount).id || talonOneAccountId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `talon_one_accounts/${_talonOneAccountId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _talonOneAccountId = (talonOneAccountId as TalonOneAccount).id || talonOneAccountId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `talon_one_accounts/${_talonOneAccountId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisTalonOneAccount(resource: any): resource is TalonOneAccount {\n\t\treturn resource.type && (resource.type === TalonOneAccounts.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): TalonOneAccountRel {\n\t\treturn super.relationshipOneToOne<TalonOneAccountRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): TalonOneAccountRel[] {\n\t\treturn super.relationshipOneToMany<TalonOneAccountRel>(...ids)\n\t}\n\n\n\ttype(): TalonOneAccountType {\n\t\treturn TalonOneAccounts.TYPE\n\t}\n\n}\n\n\nconst instance = new TalonOneAccounts()\nexport default instance\n\nexport type { TalonOneAccount, TalonOneAccountCreate, TalonOneAccounts, TalonOneAccountType, TalonOneAccountUpdate }\n"]}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-ADBL6GHI.js';
|
|
2
|
+
|
|
3
|
+
// src/resources/parcels.ts
|
|
4
|
+
var Parcels = class _Parcels extends ApiResource {
|
|
5
|
+
static TYPE = "parcels";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create({ ...resource, type: _Parcels.TYPE }, params, options);
|
|
8
|
+
}
|
|
9
|
+
async update(resource, params, options) {
|
|
10
|
+
return this.resources.update({ ...resource, type: _Parcels.TYPE }, params, options);
|
|
11
|
+
}
|
|
12
|
+
async delete(id, options) {
|
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _Parcels.TYPE } : id, options);
|
|
14
|
+
}
|
|
15
|
+
async shipment(parcelId, params, options) {
|
|
16
|
+
const _parcelId = parcelId.id || parcelId;
|
|
17
|
+
return this.resources.fetch({ type: "shipments" }, `parcels/${_parcelId}/shipment`, params, options);
|
|
18
|
+
}
|
|
19
|
+
async package(parcelId, params, options) {
|
|
20
|
+
const _parcelId = parcelId.id || parcelId;
|
|
21
|
+
return this.resources.fetch({ type: "packages" }, `parcels/${_parcelId}/package`, params, options);
|
|
22
|
+
}
|
|
23
|
+
async parcel_line_items(parcelId, params, options) {
|
|
24
|
+
const _parcelId = parcelId.id || parcelId;
|
|
25
|
+
return this.resources.fetch({ type: "parcel_line_items" }, `parcels/${_parcelId}/parcel_line_items`, params, options);
|
|
26
|
+
}
|
|
27
|
+
async attachments(parcelId, params, options) {
|
|
28
|
+
const _parcelId = parcelId.id || parcelId;
|
|
29
|
+
return this.resources.fetch({ type: "attachments" }, `parcels/${_parcelId}/attachments`, params, options);
|
|
30
|
+
}
|
|
31
|
+
async events(parcelId, params, options) {
|
|
32
|
+
const _parcelId = parcelId.id || parcelId;
|
|
33
|
+
return this.resources.fetch({ type: "events" }, `parcels/${_parcelId}/events`, params, options);
|
|
34
|
+
}
|
|
35
|
+
async event_stores(parcelId, params, options) {
|
|
36
|
+
const _parcelId = parcelId.id || parcelId;
|
|
37
|
+
return this.resources.fetch({ type: "event_stores" }, `parcels/${_parcelId}/event_stores`, params, options);
|
|
38
|
+
}
|
|
39
|
+
isParcel(resource) {
|
|
40
|
+
return resource.type && resource.type === _Parcels.TYPE;
|
|
41
|
+
}
|
|
42
|
+
relationship(id) {
|
|
43
|
+
return super.relationshipOneToOne(id);
|
|
44
|
+
}
|
|
45
|
+
relationshipToMany(...ids) {
|
|
46
|
+
return super.relationshipOneToMany(...ids);
|
|
47
|
+
}
|
|
48
|
+
type() {
|
|
49
|
+
return _Parcels.TYPE;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
var instance = new Parcels();
|
|
53
|
+
var parcels_default = instance;
|
|
54
|
+
|
|
55
|
+
export { parcels_default };
|
|
56
|
+
//# sourceMappingURL=chunk-QYQLV3UF.js.map
|
|
57
|
+
//# sourceMappingURL=chunk-QYQLV3UF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/parcels.ts"],"names":[],"mappings":";;;AAuZA,IAAM,OAAA,GAAN,MAAM,QAAA,SAAgB,WAAA,CAAoB;AAAA,EAEzC,OAAgB,IAAA,GAAmB,SAAA;AAAA,EAEnC,MAAM,MAAA,CAAO,QAAA,EAAwB,MAAA,EAAsC,OAAA,EAA4C;AACtH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6B,EAAE,GAAG,QAAA,EAAU,IA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S,IAAA,KAAS,QAAA,CAAQ,IAAA;AAAA,EACpD;AAAA,EAGA,aAAa,EAAA,EAA2C;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAgC,EAAE,CAAA;AAAA,EAChD;AAAA,EAEA,sBAAsB,GAAA,EAA4B;AACjD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAiC,GAAG,GAAG,CAAA;AAAA,EACrD;AAAA,EAGA,IAAA,GAAmB;AAClB,IAAA,OAAO,QAAA,CAAQ,IAAA;AAAA,EAChB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,OAAA,EAAQ;AAC7B,IAAO,eAAA,GAAQ","file":"chunk-QYQLV3UF.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 { Package, PackageType } from './packages'\nimport type { ParcelLineItem } from './parcel_line_items'\nimport type { Shipment, ShipmentType } from './shipments'\n\n\ntype ParcelType = 'parcels'\ntype ParcelRel = ResourceRel & { type: ParcelType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype PackageRel = ResourceRel & { type: PackageType }\n\n\nexport type ParcelSort = Pick<Parcel, 'id' | 'weight' | 'tracking_status' | 'tracking_status_updated_at' | 'carrier_weight_oz'> & ResourceSort\n// export type ParcelFilter = Pick<Parcel, 'id' | 'weight' | 'contents_explanation' | 'shipping_label_url' | 'shipping_label_file_type' | 'shipping_label_size' | 'shipping_label_resolution' | 'tracking_number' | 'tracking_status' | 'tracking_status_detail' | 'tracking_status_updated_at' | 'carrier_weight_oz' | 'incoterm' | 'delivery_confirmation'> & ResourceFilter\n\n\ninterface Parcel extends Resource {\n\t\n\treadonly type: ParcelType\n\n\t/** \n\t * Unique identifier for the parcel.\n\t * @example ```\"#1234/S/001/P/001\"```\n\t */\n\tnumber?: string | null\n\t/** \n\t * The parcel weight, used to automatically calculate the tax rates from the available carrier accounts.\n\t * @example ```1000```\n\t */\n\tweight: number\n\t/** \n\t * The unit of weight. One of 'gr', 'oz', or 'lb'.\n\t * @example ```\"gr\"```\n\t */\n\tunit_of_weight: 'gr' | 'oz' | 'lb'\n\t/** \n\t * When shipping outside the US, you need to provide either an Exemption and Exclusion Legend (EEL) code or a Proof of Filing Citation (PFC). Which you need is based on the value of the goods being shipped. Value can be one of \"EEL\" o \"PFC\".\n\t * @example ```\"EEL\"```\n\t */\n\teel_pfc?: string | null\n\t/** \n\t * The type of item you are sending.\n\t * @example ```\"merchandise\"```\n\t */\n\tcontents_type?: string | null\n\t/** \n\t * If you specify 'other' in the 'contents_type' attribute, you must supply a brief description in this attribute.\n\t */\n\tcontents_explanation?: string | null\n\t/** \n\t * Indicates if the provided information is accurate.\n\t */\n\tcustoms_certify?: boolean | null\n\t/** \n\t * This is the name of the person who is certifying that the information provided on the customs form is accurate. Use a name of the person in your organization who is responsible for this.\n\t * @example ```\"John Doe\"```\n\t */\n\tcustoms_signer?: string | null\n\t/** \n\t * In case the shipment cannot be delivered, this option tells the carrier what you want to happen to the parcel. You can pass either 'return', or 'abandon'. The value defaults to 'return'. If you pass 'abandon', you will not receive the parcel back if it cannot be delivered.\n\t * @example ```\"return\"```\n\t */\n\tnon_delivery_option?: string | null\n\t/** \n\t * Describes if your parcel requires any special treatment or quarantine when entering the country. Can be one of 'none', 'other', 'quarantine', or 'sanitary_phytosanitary_inspection'.\n\t * @example ```\"none\"```\n\t */\n\trestriction_type?: string | null\n\t/** \n\t * If you specify 'other' in the restriction type, you must supply a brief description of what is required.\n\t */\n\trestriction_comments?: string | null\n\t/** \n\t * Indicates if the parcel requires customs info to get the shipping rates.\n\t */\n\tcustoms_info_required?: boolean | null\n\t/** \n\t * The shipping label url, ready to be downloaded and printed.\n\t * @example ```\"https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf\"```\n\t */\n\tshipping_label_url?: string | null\n\t/** \n\t * The shipping label file type. One of 'application/pdf', 'application/zpl', 'application/epl2', or 'image/png'.\n\t * @example ```\"application/pdf\"```\n\t */\n\tshipping_label_file_type?: string | null\n\t/** \n\t * The shipping label size.\n\t * @example ```\"4x7\"```\n\t */\n\tshipping_label_size?: string | null\n\t/** \n\t * The shipping label resolution.\n\t * @example ```\"200\"```\n\t */\n\tshipping_label_resolution?: string | null\n\t/** \n\t * The tracking number associated to this parcel.\n\t * @example ```\"1Z4V2A000000000000\"```\n\t */\n\ttracking_number?: string | null\n\t/** \n\t * The tracking status for this parcel, automatically updated in real time by the shipping carrier.\n\t * @example ```\"delivered\"```\n\t */\n\ttracking_status?: string | null\n\t/** \n\t * Additional information about the tracking status, automatically updated in real time by the shipping carrier.\n\t * @example ```\"arrived_at_destination\"```\n\t */\n\ttracking_status_detail?: string | null\n\t/** \n\t * Time at which the parcel's tracking status was last updated.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\ttracking_status_updated_at?: string | null\n\t/** \n\t * The parcel's full tracking history, automatically updated in real time by the shipping carrier.\n\t * @example ```[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment information received\",\"status\":\"pre_transit\",\"datetime\":\"2018-02-27T16:02:17Z\",\"source\":\"DHLExpress\",\"tracking_location\":{\"object\":\"TrackingLocation\"}}]```\n\t */\n\ttracking_details?: Array<Record<string, any>> | null\n\t/** \n\t * The weight of the parcel as measured by the carrier in ounces (if available).\n\t * @example ```\"42.32\"```\n\t */\n\tcarrier_weight_oz?: string | null\n\t/** \n\t * The name of the person who signed for the parcel (if available).\n\t * @example ```\"John Smith\"```\n\t */\n\tsigned_by?: string | null\n\t/** \n\t * The type of Incoterm (if available).\n\t * @example ```\"EXW\"```\n\t */\n\tincoterm?: string | null\n\t/** \n\t * The type of delivery confirmation option upon delivery.\n\t * @example ```\"SIGNATURE\"```\n\t */\n\tdelivery_confirmation?: string | null\n\n\tshipment?: Shipment | null\n\tpackage?: Package | null\n\tparcel_line_items?: ParcelLineItem[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface ParcelCreate extends ResourceCreate {\n\t\n\t/** \n\t * The parcel weight, used to automatically calculate the tax rates from the available carrier accounts.\n\t * @example ```1000```\n\t */\n\tweight: number\n\t/** \n\t * The unit of weight. One of 'gr', 'oz', or 'lb'.\n\t * @example ```\"gr\"```\n\t */\n\tunit_of_weight: 'gr' | 'oz' | 'lb'\n\t/** \n\t * When shipping outside the US, you need to provide either an Exemption and Exclusion Legend (EEL) code or a Proof of Filing Citation (PFC). Which you need is based on the value of the goods being shipped. Value can be one of \"EEL\" o \"PFC\".\n\t * @example ```\"EEL\"```\n\t */\n\teel_pfc?: string | null\n\t/** \n\t * The type of item you are sending.\n\t * @example ```\"merchandise\"```\n\t */\n\tcontents_type?: string | null\n\t/** \n\t * If you specify 'other' in the 'contents_type' attribute, you must supply a brief description in this attribute.\n\t */\n\tcontents_explanation?: string | null\n\t/** \n\t * Indicates if the provided information is accurate.\n\t */\n\tcustoms_certify?: boolean | null\n\t/** \n\t * This is the name of the person who is certifying that the information provided on the customs form is accurate. Use a name of the person in your organization who is responsible for this.\n\t * @example ```\"John Doe\"```\n\t */\n\tcustoms_signer?: string | null\n\t/** \n\t * In case the shipment cannot be delivered, this option tells the carrier what you want to happen to the parcel. You can pass either 'return', or 'abandon'. The value defaults to 'return'. If you pass 'abandon', you will not receive the parcel back if it cannot be delivered.\n\t * @example ```\"return\"```\n\t */\n\tnon_delivery_option?: string | null\n\t/** \n\t * Describes if your parcel requires any special treatment or quarantine when entering the country. Can be one of 'none', 'other', 'quarantine', or 'sanitary_phytosanitary_inspection'.\n\t * @example ```\"none\"```\n\t */\n\trestriction_type?: string | null\n\t/** \n\t * If you specify 'other' in the restriction type, you must supply a brief description of what is required.\n\t */\n\trestriction_comments?: string | null\n\t/** \n\t * Indicates if the parcel requires customs info to get the shipping rates.\n\t */\n\tcustoms_info_required?: boolean | null\n\t/** \n\t * The shipping label url, ready to be downloaded and printed.\n\t * @example ```\"https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf\"```\n\t */\n\tshipping_label_url?: string | null\n\t/** \n\t * The shipping label file type. One of 'application/pdf', 'application/zpl', 'application/epl2', or 'image/png'.\n\t * @example ```\"application/pdf\"```\n\t */\n\tshipping_label_file_type?: string | null\n\t/** \n\t * The shipping label size.\n\t * @example ```\"4x7\"```\n\t */\n\tshipping_label_size?: string | null\n\t/** \n\t * The shipping label resolution.\n\t * @example ```\"200\"```\n\t */\n\tshipping_label_resolution?: string | null\n\t/** \n\t * The tracking number associated to this parcel.\n\t * @example ```\"1Z4V2A000000000000\"```\n\t */\n\ttracking_number?: string | null\n\t/** \n\t * The tracking status for this parcel, automatically updated in real time by the shipping carrier.\n\t * @example ```\"delivered\"```\n\t */\n\ttracking_status?: string | null\n\t/** \n\t * Additional information about the tracking status, automatically updated in real time by the shipping carrier.\n\t * @example ```\"arrived_at_destination\"```\n\t */\n\ttracking_status_detail?: string | null\n\t/** \n\t * Time at which the parcel's tracking status was last updated.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\ttracking_status_updated_at?: string | null\n\t/** \n\t * The parcel's full tracking history, automatically updated in real time by the shipping carrier.\n\t * @example ```[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment information received\",\"status\":\"pre_transit\",\"datetime\":\"2018-02-27T16:02:17Z\",\"source\":\"DHLExpress\",\"tracking_location\":{\"object\":\"TrackingLocation\"}}]```\n\t */\n\ttracking_details?: Array<Record<string, any>> | null\n\t/** \n\t * The weight of the parcel as measured by the carrier in ounces (if available).\n\t * @example ```\"42.32\"```\n\t */\n\tcarrier_weight_oz?: string | null\n\t/** \n\t * The name of the person who signed for the parcel (if available).\n\t * @example ```\"John Smith\"```\n\t */\n\tsigned_by?: string | null\n\t/** \n\t * The type of Incoterm (if available).\n\t * @example ```\"EXW\"```\n\t */\n\tincoterm?: string | null\n\t/** \n\t * The type of delivery confirmation option upon delivery.\n\t * @example ```\"SIGNATURE\"```\n\t */\n\tdelivery_confirmation?: string | null\n\n\tshipment: ShipmentRel\n\tpackage: PackageRel\n\n}\n\n\ninterface ParcelUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The parcel weight, used to automatically calculate the tax rates from the available carrier accounts.\n\t * @example ```1000```\n\t */\n\tweight?: number | null\n\t/** \n\t * The unit of weight. One of 'gr', 'oz', or 'lb'.\n\t * @example ```\"gr\"```\n\t */\n\tunit_of_weight?: 'gr' | 'oz' | 'lb' | null\n\t/** \n\t * When shipping outside the US, you need to provide either an Exemption and Exclusion Legend (EEL) code or a Proof of Filing Citation (PFC). Which you need is based on the value of the goods being shipped. Value can be one of \"EEL\" o \"PFC\".\n\t * @example ```\"EEL\"```\n\t */\n\teel_pfc?: string | null\n\t/** \n\t * The type of item you are sending.\n\t * @example ```\"merchandise\"```\n\t */\n\tcontents_type?: string | null\n\t/** \n\t * If you specify 'other' in the 'contents_type' attribute, you must supply a brief description in this attribute.\n\t */\n\tcontents_explanation?: string | null\n\t/** \n\t * Indicates if the provided information is accurate.\n\t */\n\tcustoms_certify?: boolean | null\n\t/** \n\t * This is the name of the person who is certifying that the information provided on the customs form is accurate. Use a name of the person in your organization who is responsible for this.\n\t * @example ```\"John Doe\"```\n\t */\n\tcustoms_signer?: string | null\n\t/** \n\t * In case the shipment cannot be delivered, this option tells the carrier what you want to happen to the parcel. You can pass either 'return', or 'abandon'. The value defaults to 'return'. If you pass 'abandon', you will not receive the parcel back if it cannot be delivered.\n\t * @example ```\"return\"```\n\t */\n\tnon_delivery_option?: string | null\n\t/** \n\t * Describes if your parcel requires any special treatment or quarantine when entering the country. Can be one of 'none', 'other', 'quarantine', or 'sanitary_phytosanitary_inspection'.\n\t * @example ```\"none\"```\n\t */\n\trestriction_type?: string | null\n\t/** \n\t * If you specify 'other' in the restriction type, you must supply a brief description of what is required.\n\t */\n\trestriction_comments?: string | null\n\t/** \n\t * Indicates if the parcel requires customs info to get the shipping rates.\n\t */\n\tcustoms_info_required?: boolean | null\n\t/** \n\t * The shipping label url, ready to be downloaded and printed.\n\t * @example ```\"https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf\"```\n\t */\n\tshipping_label_url?: string | null\n\t/** \n\t * The shipping label file type. One of 'application/pdf', 'application/zpl', 'application/epl2', or 'image/png'.\n\t * @example ```\"application/pdf\"```\n\t */\n\tshipping_label_file_type?: string | null\n\t/** \n\t * The shipping label size.\n\t * @example ```\"4x7\"```\n\t */\n\tshipping_label_size?: string | null\n\t/** \n\t * The shipping label resolution.\n\t * @example ```\"200\"```\n\t */\n\tshipping_label_resolution?: string | null\n\t/** \n\t * The tracking number associated to this parcel.\n\t * @example ```\"1Z4V2A000000000000\"```\n\t */\n\ttracking_number?: string | null\n\t/** \n\t * The tracking status for this parcel, automatically updated in real time by the shipping carrier.\n\t * @example ```\"delivered\"```\n\t */\n\ttracking_status?: string | null\n\t/** \n\t * Additional information about the tracking status, automatically updated in real time by the shipping carrier.\n\t * @example ```\"arrived_at_destination\"```\n\t */\n\ttracking_status_detail?: string | null\n\t/** \n\t * Time at which the parcel's tracking status was last updated.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\ttracking_status_updated_at?: string | null\n\t/** \n\t * The parcel's full tracking history, automatically updated in real time by the shipping carrier.\n\t * @example ```[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment information received\",\"status\":\"pre_transit\",\"datetime\":\"2018-02-27T16:02:17Z\",\"source\":\"DHLExpress\",\"tracking_location\":{\"object\":\"TrackingLocation\"}}]```\n\t */\n\ttracking_details?: Array<Record<string, any>> | null\n\t/** \n\t * The weight of the parcel as measured by the carrier in ounces (if available).\n\t * @example ```\"42.32\"```\n\t */\n\tcarrier_weight_oz?: string | null\n\t/** \n\t * The name of the person who signed for the parcel (if available).\n\t * @example ```\"John Smith\"```\n\t */\n\tsigned_by?: string | null\n\t/** \n\t * The type of Incoterm (if available).\n\t * @example ```\"EXW\"```\n\t */\n\tincoterm?: string | null\n\t/** \n\t * The type of delivery confirmation option upon delivery.\n\t * @example ```\"SIGNATURE\"```\n\t */\n\tdelivery_confirmation?: string | null\n\n\tshipment?: ShipmentRel | null\n\tpackage?: PackageRel | null\n\n}\n\n\nclass Parcels extends ApiResource<Parcel> {\n\n\tstatic readonly TYPE: ParcelType = 'parcels' as const\n\n\tasync create(resource: ParcelCreate, params?: QueryParamsRetrieve<Parcel>, options?: ResourcesConfig): Promise<Parcel> {\n\t\treturn this.resources.create<ParcelCreate, Parcel>({ ...resource, type: Parcels.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ParcelUpdate, params?: QueryParamsRetrieve<Parcel>, options?: ResourcesConfig): Promise<Parcel> {\n\t\treturn this.resources.update<ParcelUpdate, Parcel>({ ...resource, type: Parcels.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: Parcels.TYPE } : id, options)\n\t}\n\n\tasync shipment(parcelId: string | Parcel, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment> {\n\t\tconst _parcelId = (parcelId as Parcel).id || parcelId as string\n\t\treturn this.resources.fetch<Shipment>({ type: 'shipments' }, `parcels/${_parcelId}/shipment`, params, options) as unknown as Shipment\n\t}\n\n\tasync package(parcelId: string | Parcel, params?: QueryParamsRetrieve<Package>, options?: ResourcesConfig): Promise<Package> {\n\t\tconst _parcelId = (parcelId as Parcel).id || parcelId as string\n\t\treturn this.resources.fetch<Package>({ type: 'packages' }, `parcels/${_parcelId}/package`, params, options) as unknown as Package\n\t}\n\n\tasync parcel_line_items(parcelId: string | Parcel, params?: QueryParamsList<ParcelLineItem>, options?: ResourcesConfig): Promise<ListResponse<ParcelLineItem>> {\n\t\tconst _parcelId = (parcelId as Parcel).id || parcelId as string\n\t\treturn this.resources.fetch<ParcelLineItem>({ type: 'parcel_line_items' }, `parcels/${_parcelId}/parcel_line_items`, params, options) as unknown as ListResponse<ParcelLineItem>\n\t}\n\n\tasync attachments(parcelId: string | Parcel, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _parcelId = (parcelId as Parcel).id || parcelId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `parcels/${_parcelId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(parcelId: string | Parcel, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _parcelId = (parcelId as Parcel).id || parcelId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `parcels/${_parcelId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync event_stores(parcelId: string | Parcel, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _parcelId = (parcelId as Parcel).id || parcelId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `parcels/${_parcelId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisParcel(resource: any): resource is Parcel {\n\t\treturn resource.type && (resource.type === Parcels.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ParcelRel {\n\t\treturn super.relationshipOneToOne<ParcelRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ParcelRel[] {\n\t\treturn super.relationshipOneToMany<ParcelRel>(...ids)\n\t}\n\n\n\ttype(): ParcelType {\n\t\treturn Parcels.TYPE\n\t}\n\n}\n\n\nconst instance = new Parcels()\nexport default instance\n\nexport type { Parcel, ParcelCreate, Parcels, ParcelType, ParcelUpdate }\n"]}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkXYPIGF36_cjs = require('./chunk-XYPIGF36.cjs');
|
|
4
|
+
|
|
5
|
+
// src/resources/buy_x_pay_y_promotions.ts
|
|
6
|
+
var BuyXPayYPromotions = class _BuyXPayYPromotions extends chunkXYPIGF36_cjs.ApiResource {
|
|
7
|
+
static TYPE = "buy_x_pay_y_promotions";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create({ ...resource, type: _BuyXPayYPromotions.TYPE }, params, options);
|
|
10
|
+
}
|
|
11
|
+
async update(resource, params, options) {
|
|
12
|
+
return this.resources.update({ ...resource, type: _BuyXPayYPromotions.TYPE }, params, options);
|
|
13
|
+
}
|
|
14
|
+
async delete(id, options) {
|
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _BuyXPayYPromotions.TYPE } : id, options);
|
|
16
|
+
}
|
|
17
|
+
async market(buyXPayYPromotionId, params, options) {
|
|
18
|
+
const _buyXPayYPromotionId = buyXPayYPromotionId.id || buyXPayYPromotionId;
|
|
19
|
+
return this.resources.fetch({ type: "markets" }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/market`, params, options);
|
|
20
|
+
}
|
|
21
|
+
async order_amount_promotion_rule(buyXPayYPromotionId, params, options) {
|
|
22
|
+
const _buyXPayYPromotionId = buyXPayYPromotionId.id || buyXPayYPromotionId;
|
|
23
|
+
return this.resources.fetch({ type: "order_amount_promotion_rules" }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/order_amount_promotion_rule`, params, options);
|
|
24
|
+
}
|
|
25
|
+
async sku_list_promotion_rule(buyXPayYPromotionId, params, options) {
|
|
26
|
+
const _buyXPayYPromotionId = buyXPayYPromotionId.id || buyXPayYPromotionId;
|
|
27
|
+
return this.resources.fetch({ type: "sku_list_promotion_rules" }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/sku_list_promotion_rule`, params, options);
|
|
28
|
+
}
|
|
29
|
+
async coupon_codes_promotion_rule(buyXPayYPromotionId, params, options) {
|
|
30
|
+
const _buyXPayYPromotionId = buyXPayYPromotionId.id || buyXPayYPromotionId;
|
|
31
|
+
return this.resources.fetch({ type: "coupon_codes_promotion_rules" }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/coupon_codes_promotion_rule`, params, options);
|
|
32
|
+
}
|
|
33
|
+
async custom_promotion_rule(buyXPayYPromotionId, params, options) {
|
|
34
|
+
const _buyXPayYPromotionId = buyXPayYPromotionId.id || buyXPayYPromotionId;
|
|
35
|
+
return this.resources.fetch({ type: "custom_promotion_rules" }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/custom_promotion_rule`, params, options);
|
|
36
|
+
}
|
|
37
|
+
async sku_list(buyXPayYPromotionId, params, options) {
|
|
38
|
+
const _buyXPayYPromotionId = buyXPayYPromotionId.id || buyXPayYPromotionId;
|
|
39
|
+
return this.resources.fetch({ type: "sku_lists" }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/sku_list`, params, options);
|
|
40
|
+
}
|
|
41
|
+
async coupons(buyXPayYPromotionId, params, options) {
|
|
42
|
+
const _buyXPayYPromotionId = buyXPayYPromotionId.id || buyXPayYPromotionId;
|
|
43
|
+
return this.resources.fetch({ type: "coupons" }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/coupons`, params, options);
|
|
44
|
+
}
|
|
45
|
+
async attachments(buyXPayYPromotionId, params, options) {
|
|
46
|
+
const _buyXPayYPromotionId = buyXPayYPromotionId.id || buyXPayYPromotionId;
|
|
47
|
+
return this.resources.fetch({ type: "attachments" }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/attachments`, params, options);
|
|
48
|
+
}
|
|
49
|
+
async events(buyXPayYPromotionId, params, options) {
|
|
50
|
+
const _buyXPayYPromotionId = buyXPayYPromotionId.id || buyXPayYPromotionId;
|
|
51
|
+
return this.resources.fetch({ type: "events" }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/events`, params, options);
|
|
52
|
+
}
|
|
53
|
+
async tags(buyXPayYPromotionId, params, options) {
|
|
54
|
+
const _buyXPayYPromotionId = buyXPayYPromotionId.id || buyXPayYPromotionId;
|
|
55
|
+
return this.resources.fetch({ type: "tags" }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/tags`, params, options);
|
|
56
|
+
}
|
|
57
|
+
async event_stores(buyXPayYPromotionId, params, options) {
|
|
58
|
+
const _buyXPayYPromotionId = buyXPayYPromotionId.id || buyXPayYPromotionId;
|
|
59
|
+
return this.resources.fetch({ type: "event_stores" }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/event_stores`, params, options);
|
|
60
|
+
}
|
|
61
|
+
async skus(buyXPayYPromotionId, params, options) {
|
|
62
|
+
const _buyXPayYPromotionId = buyXPayYPromotionId.id || buyXPayYPromotionId;
|
|
63
|
+
return this.resources.fetch({ type: "skus" }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/skus`, params, options);
|
|
64
|
+
}
|
|
65
|
+
async _disable(id, params, options) {
|
|
66
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _BuyXPayYPromotions.TYPE, _disable: true }, params, options);
|
|
67
|
+
}
|
|
68
|
+
async _enable(id, params, options) {
|
|
69
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _BuyXPayYPromotions.TYPE, _enable: true }, params, options);
|
|
70
|
+
}
|
|
71
|
+
async _add_tags(id, triggerValue, params, options) {
|
|
72
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _BuyXPayYPromotions.TYPE, _add_tags: triggerValue }, params, options);
|
|
73
|
+
}
|
|
74
|
+
async _remove_tags(id, triggerValue, params, options) {
|
|
75
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _BuyXPayYPromotions.TYPE, _remove_tags: triggerValue }, params, options);
|
|
76
|
+
}
|
|
77
|
+
isBuyXPayYPromotion(resource) {
|
|
78
|
+
return resource.type && resource.type === _BuyXPayYPromotions.TYPE;
|
|
79
|
+
}
|
|
80
|
+
relationship(id) {
|
|
81
|
+
return super.relationshipOneToOne(id);
|
|
82
|
+
}
|
|
83
|
+
relationshipToMany(...ids) {
|
|
84
|
+
return super.relationshipOneToMany(...ids);
|
|
85
|
+
}
|
|
86
|
+
type() {
|
|
87
|
+
return _BuyXPayYPromotions.TYPE;
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
var instance = new BuyXPayYPromotions();
|
|
91
|
+
var buy_x_pay_y_promotions_default = instance;
|
|
92
|
+
|
|
93
|
+
exports.buy_x_pay_y_promotions_default = buy_x_pay_y_promotions_default;
|
|
94
|
+
//# sourceMappingURL=chunk-R5GWVFCY.cjs.map
|
|
95
|
+
//# sourceMappingURL=chunk-R5GWVFCY.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/buy_x_pay_y_promotions.ts"],"names":["ApiResource"],"mappings":";;;;;AAuSA,IAAM,kBAAA,GAAN,MAAM,mBAAA,SAA2BA,6BAAA,CAA+B;AAAA,EAE/D,OAAgB,IAAA,GAA8B,wBAAA;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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A,CAAG,EAAA,EAAI,MAAM,mBAAA,CAAmB,IAAA,EAAM,cAAc,YAAA,EAAa,EAAG,QAAQ,OAAO,CAAA;AAAA,EACjM;AAAA,EAGA,oBAAoB,QAAA,EAA8C;AACjE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,mBAAA,CAAmB,IAAA;AAAA,EAC/D;AAAA,EAGA,aAAa,EAAA,EAAsD;AAClE,IAAA,OAAO,KAAA,CAAM,qBAA2C,EAAE,CAAA;AAAA,EAC3D;AAAA,EAEA,sBAAsB,GAAA,EAAuC;AAC5D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA4C,GAAG,GAAG,CAAA;AAAA,EAChE;AAAA,EAGA,IAAA,GAA8B;AAC7B,IAAA,OAAO,mBAAA,CAAmB,IAAA;AAAA,EAC3B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,kBAAA,EAAmB;AACxC,IAAO,8BAAA,GAAQ","file":"chunk-R5GWVFCY.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 { 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'\n\n\ntype BuyXPayYPromotionType = 'buy_x_pay_y_promotions'\ntype BuyXPayYPromotionRel = ResourceRel & { type: BuyXPayYPromotionType }\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 BuyXPayYPromotionSort = Pick<BuyXPayYPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at' | 'x' | 'y'> & ResourceSort\n// export type BuyXPayYPromotionFilter = Pick<BuyXPayYPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at' | 'x' | 'y'> & ResourceFilter\n\n\ninterface BuyXPayYPromotion extends Resource {\n\t\n\treadonly type: BuyXPayYPromotionType\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 quantity which defines the threshold for free items (works by multiple of x).\n\t * @example ```3```\n\t */\n\tx: number\n\t/** \n\t * The quantity which defines how many items you get for free, with the formula x-y.\n\t * @example ```2```\n\t */\n\ty: number\n\t/** \n\t * Indicates if the cheapest items are discounted, allowing all of the SKUs in the associated list to be eligible for counting.\n\t * @example ```true```\n\t */\n\tcheapest_free?: boolean | 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\tevent_stores?: EventStore[] | null\n\tskus?: Sku[] | null\n\n}\n\n\ninterface BuyXPayYPromotionCreate 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 quantity which defines the threshold for free items (works by multiple of x).\n\t * @example ```3```\n\t */\n\tx: number\n\t/** \n\t * The quantity which defines how many items you get for free, with the formula x-y.\n\t * @example ```2```\n\t */\n\ty: number\n\t/** \n\t * Indicates if the cheapest items are discounted, allowing all of the SKUs in the associated list to be eligible for counting.\n\t * @example ```true```\n\t */\n\tcheapest_free?: boolean | 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\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface BuyXPayYPromotionUpdate 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 quantity which defines the threshold for free items (works by multiple of x).\n\t * @example ```3```\n\t */\n\tx?: number | null\n\t/** \n\t * The quantity which defines how many items you get for free, with the formula x-y.\n\t * @example ```2```\n\t */\n\ty?: number | null\n\t/** \n\t * Indicates if the cheapest items are discounted, allowing all of the SKUs in the associated list to be eligible for counting.\n\t * @example ```true```\n\t */\n\tcheapest_free?: boolean | 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 BuyXPayYPromotions extends ApiResource<BuyXPayYPromotion> {\n\n\tstatic readonly TYPE: BuyXPayYPromotionType = 'buy_x_pay_y_promotions' as const\n\n\tasync create(resource: BuyXPayYPromotionCreate, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion> {\n\t\treturn this.resources.create<BuyXPayYPromotionCreate, BuyXPayYPromotion>({ ...resource, type: BuyXPayYPromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: BuyXPayYPromotionUpdate, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion> {\n\t\treturn this.resources.update<BuyXPayYPromotionUpdate, BuyXPayYPromotion>({ ...resource, type: BuyXPayYPromotions.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: BuyXPayYPromotions.TYPE } : id, options)\n\t}\n\n\tasync market(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || buyXPayYPromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || buyXPayYPromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || buyXPayYPromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || buyXPayYPromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || buyXPayYPromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || buyXPayYPromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || buyXPayYPromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || buyXPayYPromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || buyXPayYPromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || buyXPayYPromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync event_stores(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || buyXPayYPromotionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync skus(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || buyXPayYPromotionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync _disable(id: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion> {\n\t\treturn this.resources.update<BuyXPayYPromotionUpdate, BuyXPayYPromotion>({ id: (typeof id === 'string')? id: id.id, type: BuyXPayYPromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion> {\n\t\treturn this.resources.update<BuyXPayYPromotionUpdate, BuyXPayYPromotion>({ id: (typeof id === 'string')? id: id.id, type: BuyXPayYPromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | BuyXPayYPromotion, triggerValue: string, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion> {\n\t\treturn this.resources.update<BuyXPayYPromotionUpdate, BuyXPayYPromotion>({ id: (typeof id === 'string')? id: id.id, type: BuyXPayYPromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | BuyXPayYPromotion, triggerValue: string, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion> {\n\t\treturn this.resources.update<BuyXPayYPromotionUpdate, BuyXPayYPromotion>({ id: (typeof id === 'string')? id: id.id, type: BuyXPayYPromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisBuyXPayYPromotion(resource: any): resource is BuyXPayYPromotion {\n\t\treturn resource.type && (resource.type === BuyXPayYPromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): BuyXPayYPromotionRel {\n\t\treturn super.relationshipOneToOne<BuyXPayYPromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): BuyXPayYPromotionRel[] {\n\t\treturn super.relationshipOneToMany<BuyXPayYPromotionRel>(...ids)\n\t}\n\n\n\ttype(): BuyXPayYPromotionType {\n\t\treturn BuyXPayYPromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new BuyXPayYPromotions()\nexport default instance\n\nexport type { BuyXPayYPromotion, BuyXPayYPromotionCreate, BuyXPayYPromotions, BuyXPayYPromotionType, BuyXPayYPromotionUpdate }\n"]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkXYPIGF36_cjs = require('./chunk-XYPIGF36.cjs');
|
|
4
|
+
|
|
5
|
+
// src/resources/stock_line_items.ts
|
|
6
|
+
var StockLineItems = class _StockLineItems extends chunkXYPIGF36_cjs.ApiResource {
|
|
7
|
+
static TYPE = "stock_line_items";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create({ ...resource, type: _StockLineItems.TYPE }, params, options);
|
|
10
|
+
}
|
|
11
|
+
async update(resource, params, options) {
|
|
12
|
+
return this.resources.update({ ...resource, type: _StockLineItems.TYPE }, params, options);
|
|
13
|
+
}
|
|
14
|
+
async delete(id, options) {
|
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _StockLineItems.TYPE } : id, options);
|
|
16
|
+
}
|
|
17
|
+
async shipment(stockLineItemId, params, options) {
|
|
18
|
+
const _stockLineItemId = stockLineItemId.id || stockLineItemId;
|
|
19
|
+
return this.resources.fetch({ type: "shipments" }, `stock_line_items/${_stockLineItemId}/shipment`, params, options);
|
|
20
|
+
}
|
|
21
|
+
async line_item(stockLineItemId, params, options) {
|
|
22
|
+
const _stockLineItemId = stockLineItemId.id || stockLineItemId;
|
|
23
|
+
return this.resources.fetch({ type: "line_items" }, `stock_line_items/${_stockLineItemId}/line_item`, params, options);
|
|
24
|
+
}
|
|
25
|
+
async stock_item(stockLineItemId, params, options) {
|
|
26
|
+
const _stockLineItemId = stockLineItemId.id || stockLineItemId;
|
|
27
|
+
return this.resources.fetch({ type: "stock_items" }, `stock_line_items/${_stockLineItemId}/stock_item`, params, options);
|
|
28
|
+
}
|
|
29
|
+
async sku(stockLineItemId, params, options) {
|
|
30
|
+
const _stockLineItemId = stockLineItemId.id || stockLineItemId;
|
|
31
|
+
return this.resources.fetch({ type: "skus" }, `stock_line_items/${_stockLineItemId}/sku`, params, options);
|
|
32
|
+
}
|
|
33
|
+
async stock_reservation(stockLineItemId, params, options) {
|
|
34
|
+
const _stockLineItemId = stockLineItemId.id || stockLineItemId;
|
|
35
|
+
return this.resources.fetch({ type: "stock_reservations" }, `stock_line_items/${_stockLineItemId}/stock_reservation`, params, options);
|
|
36
|
+
}
|
|
37
|
+
async event_stores(stockLineItemId, params, options) {
|
|
38
|
+
const _stockLineItemId = stockLineItemId.id || stockLineItemId;
|
|
39
|
+
return this.resources.fetch({ type: "event_stores" }, `stock_line_items/${_stockLineItemId}/event_stores`, params, options);
|
|
40
|
+
}
|
|
41
|
+
async _reserve_stock(id, params, options) {
|
|
42
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _StockLineItems.TYPE, _reserve_stock: true }, params, options);
|
|
43
|
+
}
|
|
44
|
+
async _release_stock(id, params, options) {
|
|
45
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _StockLineItems.TYPE, _release_stock: true }, params, options);
|
|
46
|
+
}
|
|
47
|
+
async _decrement_stock(id, params, options) {
|
|
48
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _StockLineItems.TYPE, _decrement_stock: true }, params, options);
|
|
49
|
+
}
|
|
50
|
+
isStockLineItem(resource) {
|
|
51
|
+
return resource.type && resource.type === _StockLineItems.TYPE;
|
|
52
|
+
}
|
|
53
|
+
relationship(id) {
|
|
54
|
+
return super.relationshipOneToOne(id);
|
|
55
|
+
}
|
|
56
|
+
relationshipToMany(...ids) {
|
|
57
|
+
return super.relationshipOneToMany(...ids);
|
|
58
|
+
}
|
|
59
|
+
type() {
|
|
60
|
+
return _StockLineItems.TYPE;
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
var instance = new StockLineItems();
|
|
64
|
+
var stock_line_items_default = instance;
|
|
65
|
+
|
|
66
|
+
exports.stock_line_items_default = stock_line_items_default;
|
|
67
|
+
//# sourceMappingURL=chunk-R5RKU5ET.cjs.map
|
|
68
|
+
//# sourceMappingURL=chunk-R5RKU5ET.cjs.map
|