@commercelayer/sdk 7.0.0-rc.13 → 7.0.0-rc.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api-Bx0PAvNo.d.cts +17565 -0
- package/lib/api-CKOYLZpr.d.ts +17565 -0
- package/lib/api.cjs +286 -281
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +135 -134
- package/lib/bundle.cjs +271 -267
- package/lib/bundle.cjs.map +1 -1
- package/lib/bundle.d.cts +2 -1
- package/lib/bundle.d.ts +2 -1
- package/lib/bundle.js +139 -135
- package/lib/bundle.js.map +1 -1
- package/lib/chunk-24LIWYFW.cjs +51 -0
- package/lib/chunk-24LIWYFW.cjs.map +1 -0
- package/lib/chunk-274CQXHV.js +53 -0
- package/lib/chunk-274CQXHV.js.map +1 -0
- package/lib/chunk-2B24XEGG.cjs +74 -0
- package/lib/chunk-2B24XEGG.cjs.map +1 -0
- package/lib/chunk-2BNY4GGZ.js +37 -0
- package/lib/chunk-2BNY4GGZ.js.map +1 -0
- package/lib/chunk-2MONIPDZ.js +53 -0
- package/lib/chunk-2MONIPDZ.js.map +1 -0
- package/lib/chunk-2NVZSY3M.cjs +55 -0
- package/lib/chunk-2NVZSY3M.cjs.map +1 -0
- package/lib/chunk-2NZRBVLS.js +36 -0
- package/lib/chunk-2NZRBVLS.js.map +1 -0
- package/lib/chunk-2O36RKNQ.cjs +42 -0
- package/lib/chunk-2O36RKNQ.cjs.map +1 -0
- package/lib/chunk-2WQVJSZT.js +48 -0
- package/lib/chunk-2WQVJSZT.js.map +1 -0
- package/lib/chunk-2XWZZGQI.js +79 -0
- package/lib/chunk-2XWZZGQI.js.map +1 -0
- package/lib/chunk-3EUGEUZ2.js +88 -0
- package/lib/chunk-3EUGEUZ2.js.map +1 -0
- package/lib/chunk-3GPJNJF3.cjs +58 -0
- package/lib/chunk-3GPJNJF3.cjs.map +1 -0
- package/lib/chunk-3HU6GKFD.cjs +55 -0
- package/lib/chunk-3HU6GKFD.cjs.map +1 -0
- package/lib/chunk-3JXIYZMX.js +58 -0
- package/lib/chunk-3JXIYZMX.js.map +1 -0
- package/lib/chunk-3XBP2DM4.js +97 -0
- package/lib/chunk-3XBP2DM4.js.map +1 -0
- package/lib/chunk-532FWLTP.js +40 -0
- package/lib/chunk-532FWLTP.js.map +1 -0
- package/lib/chunk-56Y47KX5.js +49 -0
- package/lib/chunk-56Y47KX5.js.map +1 -0
- package/lib/chunk-5BGKBRDZ.js +105 -0
- package/lib/chunk-5BGKBRDZ.js.map +1 -0
- package/lib/chunk-5EA5D4BC.cjs +101 -0
- package/lib/chunk-5EA5D4BC.cjs.map +1 -0
- package/lib/chunk-5HZOLKQM.cjs +51 -0
- package/lib/chunk-5HZOLKQM.cjs.map +1 -0
- package/lib/chunk-5JONS76M.js +93 -0
- package/lib/chunk-5JONS76M.js.map +1 -0
- package/lib/chunk-5K6BWGRM.js +48 -0
- package/lib/chunk-5K6BWGRM.js.map +1 -0
- package/lib/chunk-5NPDX2XZ.js +44 -0
- package/lib/chunk-5NPDX2XZ.js.map +1 -0
- package/lib/chunk-5NW4PRCD.cjs +34 -0
- package/lib/chunk-5NW4PRCD.cjs.map +1 -0
- package/lib/chunk-5WUN2EDG.cjs +51 -0
- package/lib/chunk-5WUN2EDG.cjs.map +1 -0
- package/lib/chunk-5YQUKA3X.js +40 -0
- package/lib/chunk-5YQUKA3X.js.map +1 -0
- package/lib/chunk-6DTU3H64.cjs +282 -0
- package/lib/chunk-6DTU3H64.cjs.map +1 -0
- package/lib/chunk-6GQCFFK6.cjs +26 -0
- package/lib/chunk-6GQCFFK6.cjs.map +1 -0
- package/lib/chunk-6HTBJHSJ.cjs +33 -0
- package/lib/chunk-6HTBJHSJ.cjs.map +1 -0
- package/lib/chunk-6NFTLGZM.js +53 -0
- package/lib/chunk-6NFTLGZM.js.map +1 -0
- package/lib/chunk-6Q6ZREGO.cjs +99 -0
- package/lib/chunk-6Q6ZREGO.cjs.map +1 -0
- package/lib/chunk-7BNTBHHB.js +45 -0
- package/lib/chunk-7BNTBHHB.js.map +1 -0
- package/lib/chunk-7YIUYKPF.cjs +61 -0
- package/lib/chunk-7YIUYKPF.cjs.map +1 -0
- package/lib/chunk-A5LXAFG3.js +49 -0
- package/lib/chunk-A5LXAFG3.js.map +1 -0
- package/lib/chunk-A6S5OD27.js +53 -0
- package/lib/chunk-A6S5OD27.js.map +1 -0
- package/lib/chunk-ABYI2EUV.cjs +46 -0
- package/lib/chunk-ABYI2EUV.cjs.map +1 -0
- package/lib/chunk-AD54HW5W.cjs +51 -0
- package/lib/chunk-AD54HW5W.cjs.map +1 -0
- package/lib/chunk-AJTWEL4B.js +54 -0
- package/lib/chunk-AJTWEL4B.js.map +1 -0
- package/lib/chunk-AM5TVBJ5.cjs +46 -0
- package/lib/chunk-AM5TVBJ5.cjs.map +1 -0
- package/lib/chunk-APIJKRNH.cjs +130 -0
- package/lib/chunk-APIJKRNH.cjs.map +1 -0
- package/lib/chunk-ARYFM5DC.js +27 -0
- package/lib/chunk-ARYFM5DC.js.map +1 -0
- package/lib/chunk-ASJJUPZO.js +49 -0
- package/lib/chunk-ASJJUPZO.js.map +1 -0
- package/lib/chunk-AZEBSC2E.cjs +54 -0
- package/lib/chunk-AZEBSC2E.cjs.map +1 -0
- package/lib/chunk-B4ZLAIAQ.cjs +51 -0
- package/lib/chunk-B4ZLAIAQ.cjs.map +1 -0
- package/lib/chunk-B5W4ZIU6.cjs +99 -0
- package/lib/chunk-B5W4ZIU6.cjs.map +1 -0
- package/lib/chunk-BESFTQ56.cjs +72 -0
- package/lib/chunk-BESFTQ56.cjs.map +1 -0
- package/lib/chunk-BFXC5KP4.cjs +55 -0
- package/lib/chunk-BFXC5KP4.cjs.map +1 -0
- package/lib/chunk-BIK7LMDP.js +91 -0
- package/lib/chunk-BIK7LMDP.js.map +1 -0
- package/lib/chunk-BLRSZKTX.js +49 -0
- package/lib/chunk-BLRSZKTX.js.map +1 -0
- package/lib/chunk-BM6AV2JU.cjs +65 -0
- package/lib/chunk-BM6AV2JU.cjs.map +1 -0
- package/lib/chunk-BQDMO26Y.cjs +107 -0
- package/lib/chunk-BQDMO26Y.cjs.map +1 -0
- package/lib/chunk-BQIHSIWY.cjs +55 -0
- package/lib/chunk-BQIHSIWY.cjs.map +1 -0
- package/lib/chunk-BRIBTVTZ.js +44 -0
- package/lib/chunk-BRIBTVTZ.js.map +1 -0
- package/lib/chunk-BSJUBIZS.cjs +54 -0
- package/lib/chunk-BSJUBIZS.cjs.map +1 -0
- package/lib/chunk-BZ46ZB6B.cjs +47 -0
- package/lib/chunk-BZ46ZB6B.cjs.map +1 -0
- package/lib/chunk-CDGK4FRK.js +97 -0
- package/lib/chunk-CDGK4FRK.js.map +1 -0
- package/lib/chunk-CNXWVNVB.js +49 -0
- package/lib/chunk-CNXWVNVB.js.map +1 -0
- package/lib/chunk-CXVMTELF.js +40 -0
- package/lib/chunk-CXVMTELF.js.map +1 -0
- package/lib/chunk-CZFX5YMB.cjs +72 -0
- package/lib/chunk-CZFX5YMB.cjs.map +1 -0
- package/lib/chunk-D3J5VQSF.cjs +54 -0
- package/lib/chunk-D3J5VQSF.cjs.map +1 -0
- package/lib/chunk-D4BJRKVF.js +32 -0
- package/lib/chunk-D4BJRKVF.js.map +1 -0
- package/lib/chunk-D5J3LJ3I.cjs +67 -0
- package/lib/chunk-D5J3LJ3I.cjs.map +1 -0
- package/lib/chunk-D7LH3I3B.js +58 -0
- package/lib/chunk-D7LH3I3B.js.map +1 -0
- package/lib/chunk-DG3FAI3Q.cjs +50 -0
- package/lib/chunk-DG3FAI3Q.cjs.map +1 -0
- package/lib/chunk-DIB6FPWA.cjs +55 -0
- package/lib/chunk-DIB6FPWA.cjs.map +1 -0
- package/lib/chunk-DN43PA5G.cjs +63 -0
- package/lib/chunk-DN43PA5G.cjs.map +1 -0
- package/lib/chunk-DRDNOA4W.cjs +81 -0
- package/lib/chunk-DRDNOA4W.cjs.map +1 -0
- package/lib/chunk-DSZNFPO7.cjs +42 -0
- package/lib/chunk-DSZNFPO7.cjs.map +1 -0
- package/lib/chunk-DTUKTQIG.js +57 -0
- package/lib/chunk-DTUKTQIG.js.map +1 -0
- package/lib/chunk-DV3CMCZ7.cjs +42 -0
- package/lib/chunk-DV3CMCZ7.cjs.map +1 -0
- package/lib/chunk-DVV6IBBV.cjs +59 -0
- package/lib/chunk-DVV6IBBV.cjs.map +1 -0
- package/lib/chunk-DYBJWP6L.cjs +51 -0
- package/lib/chunk-DYBJWP6L.cjs.map +1 -0
- package/lib/chunk-E36WUXAY.js +69 -0
- package/lib/chunk-E36WUXAY.js.map +1 -0
- package/lib/chunk-E3CMATMX.cjs +99 -0
- package/lib/chunk-E3CMATMX.cjs.map +1 -0
- package/lib/chunk-E3THJJK2.cjs +51 -0
- package/lib/chunk-E3THJJK2.cjs.map +1 -0
- package/lib/chunk-EF5HVCUX.cjs +61 -0
- package/lib/chunk-EF5HVCUX.cjs.map +1 -0
- package/lib/chunk-EIRS5O64.js +37 -0
- package/lib/chunk-EIRS5O64.js.map +1 -0
- package/lib/chunk-EK4TDI3P.js +65 -0
- package/lib/chunk-EK4TDI3P.js.map +1 -0
- package/lib/chunk-EM7XJAUG.cjs +43 -0
- package/lib/chunk-EM7XJAUG.cjs.map +1 -0
- package/lib/chunk-EMH6OGAS.cjs +42 -0
- package/lib/chunk-EMH6OGAS.cjs.map +1 -0
- package/lib/chunk-EVBJQWS6.cjs +46 -0
- package/lib/chunk-EVBJQWS6.cjs.map +1 -0
- package/lib/chunk-F7ILVLXV.cjs +39 -0
- package/lib/chunk-F7ILVLXV.cjs.map +1 -0
- package/lib/chunk-FBJW5SNN.js +53 -0
- package/lib/chunk-FBJW5SNN.js.map +1 -0
- package/lib/chunk-FDSPZ4LR.cjs +70 -0
- package/lib/chunk-FDSPZ4LR.cjs.map +1 -0
- package/lib/chunk-FEZ7AQRU.js +70 -0
- package/lib/chunk-FEZ7AQRU.js.map +1 -0
- package/lib/chunk-FN6GHEBJ.js +41 -0
- package/lib/chunk-FN6GHEBJ.js.map +1 -0
- package/lib/chunk-FS4RAS5B.js +56 -0
- package/lib/chunk-FS4RAS5B.js.map +1 -0
- package/lib/chunk-FVKUF2PE.js +44 -0
- package/lib/chunk-FVKUF2PE.js.map +1 -0
- package/lib/chunk-FX4IP55K.js +49 -0
- package/lib/chunk-FX4IP55K.js.map +1 -0
- package/lib/chunk-G5KURC6Q.cjs +38 -0
- package/lib/chunk-G5KURC6Q.cjs.map +1 -0
- package/lib/chunk-G5OTWJLB.cjs +71 -0
- package/lib/chunk-G5OTWJLB.cjs.map +1 -0
- package/lib/chunk-GA65PKJ6.cjs +75 -0
- package/lib/chunk-GA65PKJ6.cjs.map +1 -0
- package/lib/chunk-GAQPH6W6.js +63 -0
- package/lib/chunk-GAQPH6W6.js.map +1 -0
- package/lib/chunk-GBM6PKRU.js +49 -0
- package/lib/chunk-GBM6PKRU.js.map +1 -0
- package/lib/chunk-GDP2P5HE.js +107 -0
- package/lib/chunk-GDP2P5HE.js.map +1 -0
- package/lib/chunk-GFVHJDDJ.js +64 -0
- package/lib/chunk-GFVHJDDJ.js.map +1 -0
- package/lib/chunk-GLXNRCZT.js +31 -0
- package/lib/chunk-GLXNRCZT.js.map +1 -0
- package/lib/chunk-GM3L6K7Z.cjs +79 -0
- package/lib/chunk-GM3L6K7Z.cjs.map +1 -0
- package/lib/chunk-GPJY7R6H.js +49 -0
- package/lib/chunk-GPJY7R6H.js.map +1 -0
- package/lib/chunk-GRZFXXV5.js +49 -0
- package/lib/chunk-GRZFXXV5.js.map +1 -0
- package/lib/chunk-GSEWPH4A.cjs +60 -0
- package/lib/chunk-GSEWPH4A.cjs.map +1 -0
- package/lib/chunk-GYDHI6O7.js +59 -0
- package/lib/chunk-GYDHI6O7.js.map +1 -0
- package/lib/chunk-H772ZG4U.js +57 -0
- package/lib/chunk-H772ZG4U.js.map +1 -0
- package/lib/chunk-HAAK2AQV.cjs +93 -0
- package/lib/chunk-HAAK2AQV.cjs.map +1 -0
- package/lib/chunk-HD42C7C2.js +49 -0
- package/lib/chunk-HD42C7C2.js.map +1 -0
- package/lib/chunk-HDQE363C.cjs +58 -0
- package/lib/chunk-HDQE363C.cjs.map +1 -0
- package/lib/chunk-HERA7XLG.js +41 -0
- package/lib/chunk-HERA7XLG.js.map +1 -0
- package/lib/chunk-HFF24VCQ.js +63 -0
- package/lib/chunk-HFF24VCQ.js.map +1 -0
- package/lib/chunk-HI4C6JL7.js +71 -0
- package/lib/chunk-HI4C6JL7.js.map +1 -0
- package/lib/chunk-HJ66RMMB.js +49 -0
- package/lib/chunk-HJ66RMMB.js.map +1 -0
- package/lib/chunk-HPMKMHUI.js +63 -0
- package/lib/chunk-HPMKMHUI.js.map +1 -0
- package/lib/chunk-HQPQCOWB.js +28 -0
- package/lib/chunk-HQPQCOWB.js.map +1 -0
- package/lib/chunk-HS6OEYBM.js +44 -0
- package/lib/chunk-HS6OEYBM.js.map +1 -0
- package/lib/chunk-HSNKRHNF.cjs +51 -0
- package/lib/chunk-HSNKRHNF.cjs.map +1 -0
- package/lib/chunk-I2DSSSBE.cjs +109 -0
- package/lib/chunk-I2DSSSBE.cjs.map +1 -0
- package/lib/chunk-I4EPI3M6.cjs +38 -0
- package/lib/chunk-I4EPI3M6.cjs.map +1 -0
- package/lib/chunk-IFPSBCO7.js +59 -0
- package/lib/chunk-IFPSBCO7.js.map +1 -0
- package/lib/chunk-ILUPNKBC.cjs +51 -0
- package/lib/chunk-ILUPNKBC.cjs.map +1 -0
- package/lib/chunk-INF4KLOD.js +99 -0
- package/lib/chunk-INF4KLOD.js.map +1 -0
- package/lib/chunk-IWWG2E64.cjs +54 -0
- package/lib/chunk-IWWG2E64.cjs.map +1 -0
- package/lib/chunk-IWX5RETZ.js +645 -0
- package/lib/chunk-IWX5RETZ.js.map +1 -0
- package/lib/chunk-IZWEOJMH.js +77 -0
- package/lib/chunk-IZWEOJMH.js.map +1 -0
- package/lib/chunk-J4MTYLNM.js +49 -0
- package/lib/chunk-J4MTYLNM.js.map +1 -0
- package/lib/chunk-JEILYJ44.cjs +661 -0
- package/lib/chunk-JEILYJ44.cjs.map +1 -0
- package/lib/chunk-JI2WV56O.cjs +59 -0
- package/lib/chunk-JI2WV56O.cjs.map +1 -0
- package/lib/chunk-JLA62RFJ.cjs +51 -0
- package/lib/chunk-JLA62RFJ.cjs.map +1 -0
- package/lib/chunk-JLVQKNFS.cjs +160 -0
- package/lib/chunk-JLVQKNFS.cjs.map +1 -0
- package/lib/chunk-JPHDRSYE.cjs +67 -0
- package/lib/chunk-JPHDRSYE.cjs.map +1 -0
- package/lib/chunk-JVTENQDS.js +56 -0
- package/lib/chunk-JVTENQDS.js.map +1 -0
- package/lib/chunk-K4H6JXPL.js +45 -0
- package/lib/chunk-K4H6JXPL.js.map +1 -0
- package/lib/chunk-K6FYA6XT.js +86 -0
- package/lib/chunk-K6FYA6XT.js.map +1 -0
- package/lib/chunk-K6N6CMKT.cjs +51 -0
- package/lib/chunk-K6N6CMKT.cjs.map +1 -0
- package/lib/chunk-KA53INZV.js +70 -0
- package/lib/chunk-KA53INZV.js.map +1 -0
- package/lib/chunk-KAE73MEG.js +52 -0
- package/lib/chunk-KAE73MEG.js.map +1 -0
- package/lib/chunk-KLLIYBOO.js +49 -0
- package/lib/chunk-KLLIYBOO.js.map +1 -0
- package/lib/chunk-KPDVLIOT.js +54 -0
- package/lib/chunk-KPDVLIOT.js.map +1 -0
- package/lib/chunk-KWW4NRHC.cjs +51 -0
- package/lib/chunk-KWW4NRHC.cjs.map +1 -0
- package/lib/chunk-KYWGHXT2.js +49 -0
- package/lib/chunk-KYWGHXT2.js.map +1 -0
- package/lib/chunk-L45UW4PR.js +42 -0
- package/lib/chunk-L45UW4PR.js.map +1 -0
- package/lib/chunk-LFHA6GVN.cjs +73 -0
- package/lib/chunk-LFHA6GVN.cjs.map +1 -0
- package/lib/chunk-LGAJAPRM.cjs +43 -0
- package/lib/chunk-LGAJAPRM.cjs.map +1 -0
- package/lib/chunk-LLJN4MYX.cjs +29 -0
- package/lib/chunk-LLJN4MYX.cjs.map +1 -0
- package/lib/chunk-LMVVUUMW.cjs +57 -0
- package/lib/chunk-LMVVUUMW.cjs.map +1 -0
- package/lib/chunk-LPYLU5VW.js +105 -0
- package/lib/chunk-LPYLU5VW.js.map +1 -0
- package/lib/chunk-LS3INWTO.cjs +55 -0
- package/lib/chunk-LS3INWTO.cjs.map +1 -0
- package/lib/chunk-LSGLGKSD.cjs +51 -0
- package/lib/chunk-LSGLGKSD.cjs.map +1 -0
- package/lib/chunk-LSQ4N33M.cjs +47 -0
- package/lib/chunk-LSQ4N33M.cjs.map +1 -0
- package/lib/chunk-LSQO3K4X.js +59 -0
- package/lib/chunk-LSQO3K4X.js.map +1 -0
- package/lib/chunk-LYOFXWBH.cjs +50 -0
- package/lib/chunk-LYOFXWBH.cjs.map +1 -0
- package/lib/chunk-M43BEIUL.cjs +30 -0
- package/lib/chunk-M43BEIUL.cjs.map +1 -0
- package/lib/chunk-M5EFPYWY.js +63 -0
- package/lib/chunk-M5EFPYWY.js.map +1 -0
- package/lib/chunk-M5LIK7ZF.cjs +90 -0
- package/lib/chunk-M5LIK7ZF.cjs.map +1 -0
- package/lib/chunk-MBTCTGBK.cjs +51 -0
- package/lib/chunk-MBTCTGBK.cjs.map +1 -0
- package/lib/chunk-MMAL2ATN.js +68 -0
- package/lib/chunk-MMAL2ATN.js.map +1 -0
- package/lib/chunk-MNMUT2BD.cjs +55 -0
- package/lib/chunk-MNMUT2BD.cjs.map +1 -0
- package/lib/chunk-MNNTWXXC.js +45 -0
- package/lib/chunk-MNNTWXXC.js.map +1 -0
- package/lib/chunk-MUCKZ5SE.cjs +51 -0
- package/lib/chunk-MUCKZ5SE.cjs.map +1 -0
- package/lib/chunk-MYZV5XGI.cjs +51 -0
- package/lib/chunk-MYZV5XGI.cjs.map +1 -0
- package/lib/chunk-N44VAZM6.js +24 -0
- package/lib/chunk-N44VAZM6.js.map +1 -0
- package/lib/chunk-N5HGTXSP.js +97 -0
- package/lib/chunk-N5HGTXSP.js.map +1 -0
- package/lib/chunk-N6GTPGWJ.cjs +65 -0
- package/lib/chunk-N6GTPGWJ.cjs.map +1 -0
- package/lib/chunk-N7Q3PBFO.js +57 -0
- package/lib/chunk-N7Q3PBFO.js.map +1 -0
- package/lib/chunk-NABHIRQW.cjs +54 -0
- package/lib/chunk-NABHIRQW.cjs.map +1 -0
- package/lib/chunk-ND2IKUHF.cjs +55 -0
- package/lib/chunk-ND2IKUHF.cjs.map +1 -0
- package/lib/chunk-NDBCZEMA.js +73 -0
- package/lib/chunk-NDBCZEMA.js.map +1 -0
- package/lib/chunk-NEZXHBGE.js +3 -0
- package/lib/chunk-NEZXHBGE.js.map +1 -0
- package/lib/chunk-NHXUDHIH.cjs +55 -0
- package/lib/chunk-NHXUDHIH.cjs.map +1 -0
- package/lib/chunk-NUIXY4KQ.js +53 -0
- package/lib/chunk-NUIXY4KQ.js.map +1 -0
- package/lib/chunk-NXJ6VZHT.cjs +47 -0
- package/lib/chunk-NXJ6VZHT.cjs.map +1 -0
- package/lib/chunk-O2E76TCD.js +32 -0
- package/lib/chunk-O2E76TCD.js.map +1 -0
- package/lib/chunk-O2YRJOHK.js +53 -0
- package/lib/chunk-O2YRJOHK.js.map +1 -0
- package/lib/chunk-O4SRGAFH.js +41 -0
- package/lib/chunk-O4SRGAFH.js.map +1 -0
- package/lib/chunk-OFP55YUS.js +45 -0
- package/lib/chunk-OFP55YUS.js.map +1 -0
- package/lib/chunk-OHIFRH7V.cjs +79 -0
- package/lib/chunk-OHIFRH7V.cjs.map +1 -0
- package/lib/chunk-OM47LCKJ.js +49 -0
- package/lib/chunk-OM47LCKJ.js.map +1 -0
- package/lib/chunk-ONSVDFTL.js +49 -0
- package/lib/chunk-ONSVDFTL.js.map +1 -0
- package/lib/chunk-OQHM3LB3.cjs +43 -0
- package/lib/chunk-OQHM3LB3.cjs.map +1 -0
- package/lib/chunk-OVWPO3NG.cjs +47 -0
- package/lib/chunk-OVWPO3NG.cjs.map +1 -0
- package/lib/chunk-OW3O4K4T.cjs +99 -0
- package/lib/chunk-OW3O4K4T.cjs.map +1 -0
- package/lib/chunk-P2UZUV52.js +57 -0
- package/lib/chunk-P2UZUV52.js.map +1 -0
- package/lib/chunk-PCN5FYJB.cjs +60 -0
- package/lib/chunk-PCN5FYJB.cjs.map +1 -0
- package/lib/chunk-PHFNVK7X.cjs +56 -0
- package/lib/chunk-PHFNVK7X.cjs.map +1 -0
- package/lib/chunk-PI76U4S4.js +48 -0
- package/lib/chunk-PI76U4S4.js.map +1 -0
- package/lib/chunk-PJOW4OQO.js +53 -0
- package/lib/chunk-PJOW4OQO.js.map +1 -0
- package/lib/chunk-PMG5BQVG.js +49 -0
- package/lib/chunk-PMG5BQVG.js.map +1 -0
- package/lib/chunk-PMSJPZZX.cjs +42 -0
- package/lib/chunk-PMSJPZZX.cjs.map +1 -0
- package/lib/chunk-PMVAXLI6.cjs +88 -0
- package/lib/chunk-PMVAXLI6.cjs.map +1 -0
- package/lib/chunk-POCRXZE5.js +45 -0
- package/lib/chunk-POCRXZE5.js.map +1 -0
- package/lib/chunk-POKPG77Q.js +128 -0
- package/lib/chunk-POKPG77Q.js.map +1 -0
- package/lib/chunk-POVKO2EL.cjs +59 -0
- package/lib/chunk-POVKO2EL.cjs.map +1 -0
- package/lib/chunk-PXPGMJUS.cjs +61 -0
- package/lib/chunk-PXPGMJUS.cjs.map +1 -0
- package/lib/chunk-Q22SMS2K.js +40 -0
- package/lib/chunk-Q22SMS2K.js.map +1 -0
- package/lib/chunk-Q57KOKVW.cjs +47 -0
- package/lib/chunk-Q57KOKVW.cjs.map +1 -0
- package/lib/chunk-QEUGPA73.cjs +95 -0
- package/lib/chunk-QEUGPA73.cjs.map +1 -0
- package/lib/chunk-QHAIPCM7.cjs +286 -0
- package/lib/chunk-QHAIPCM7.cjs.map +1 -0
- package/lib/chunk-QRNRJE2Q.cjs +46 -0
- package/lib/chunk-QRNRJE2Q.cjs.map +1 -0
- package/lib/chunk-QSCMMCSV.js +28 -0
- package/lib/chunk-QSCMMCSV.js.map +1 -0
- package/lib/chunk-QXDGQ36Y.js +72 -0
- package/lib/chunk-QXDGQ36Y.js.map +1 -0
- package/lib/chunk-QXVLE2Z5.js +49 -0
- package/lib/chunk-QXVLE2Z5.js.map +1 -0
- package/lib/chunk-QXY4JR4U.js +36 -0
- package/lib/chunk-QXY4JR4U.js.map +1 -0
- package/lib/chunk-R2KVH2NQ.js +52 -0
- package/lib/chunk-R2KVH2NQ.js.map +1 -0
- package/lib/chunk-R6S36FCY.js +53 -0
- package/lib/chunk-R6S36FCY.js.map +1 -0
- package/lib/chunk-R7KSIEUV.js +97 -0
- package/lib/chunk-R7KSIEUV.js.map +1 -0
- package/lib/chunk-RA7GK3QF.cjs +55 -0
- package/lib/chunk-RA7GK3QF.cjs.map +1 -0
- package/lib/chunk-RBNYXJSW.cjs +49 -0
- package/lib/chunk-RBNYXJSW.cjs.map +1 -0
- package/lib/chunk-RF2IC3QZ.js +45 -0
- package/lib/chunk-RF2IC3QZ.js.map +1 -0
- package/lib/chunk-RHD667WE.cjs +34 -0
- package/lib/chunk-RHD667WE.cjs.map +1 -0
- package/lib/chunk-RHSBIQAT.js +37 -0
- package/lib/chunk-RHSBIQAT.js.map +1 -0
- package/lib/chunk-RNX77N2X.cjs +56 -0
- package/lib/chunk-RNX77N2X.cjs.map +1 -0
- package/lib/chunk-RQIG5BDS.cjs +102 -0
- package/lib/chunk-RQIG5BDS.cjs.map +1 -0
- package/lib/chunk-RSSGO4V6.js +52 -0
- package/lib/chunk-RSSGO4V6.js.map +1 -0
- package/lib/chunk-S2I43DLV.js +61 -0
- package/lib/chunk-S2I43DLV.js.map +1 -0
- package/lib/chunk-S2R52UKZ.cjs +51 -0
- package/lib/chunk-S2R52UKZ.cjs.map +1 -0
- package/lib/chunk-S7PKWLLF.js +52 -0
- package/lib/chunk-S7PKWLLF.js.map +1 -0
- package/lib/chunk-SHFSVM5K.js +48 -0
- package/lib/chunk-SHFSVM5K.js.map +1 -0
- package/lib/chunk-SLSDYN5F.cjs +57 -0
- package/lib/chunk-SLSDYN5F.cjs.map +1 -0
- package/lib/chunk-SPHQKUJA.js +100 -0
- package/lib/chunk-SPHQKUJA.js.map +1 -0
- package/lib/chunk-SRFWNKH4.cjs +51 -0
- package/lib/chunk-SRFWNKH4.cjs.map +1 -0
- package/lib/chunk-SRYEFARJ.cjs +4 -0
- package/lib/chunk-SRYEFARJ.cjs.map +1 -0
- package/lib/chunk-SXZDQMP2.cjs +47 -0
- package/lib/chunk-SXZDQMP2.cjs.map +1 -0
- package/lib/chunk-T225JVKH.js +55 -0
- package/lib/chunk-T225JVKH.js.map +1 -0
- package/lib/chunk-T7GS3MNP.cjs +59 -0
- package/lib/chunk-T7GS3MNP.cjs.map +1 -0
- package/lib/chunk-TBNSJE5K.cjs +30 -0
- package/lib/chunk-TBNSJE5K.cjs.map +1 -0
- package/lib/chunk-TCXVVYWO.js +49 -0
- package/lib/chunk-TCXVVYWO.js.map +1 -0
- package/lib/chunk-TD44673P.cjs +44 -0
- package/lib/chunk-TD44673P.cjs.map +1 -0
- package/lib/chunk-TFVOFILP.cjs +46 -0
- package/lib/chunk-TFVOFILP.cjs.map +1 -0
- package/lib/chunk-TGU4ZJFD.cjs +51 -0
- package/lib/chunk-TGU4ZJFD.cjs.map +1 -0
- package/lib/chunk-TKX6GQHI.js +53 -0
- package/lib/chunk-TKX6GQHI.js.map +1 -0
- package/lib/chunk-TOUN3OKC.cjs +50 -0
- package/lib/chunk-TOUN3OKC.cjs.map +1 -0
- package/lib/chunk-TTN6TTE5.cjs +65 -0
- package/lib/chunk-TTN6TTE5.cjs.map +1 -0
- package/lib/chunk-TVP7P7U3.cjs +51 -0
- package/lib/chunk-TVP7P7U3.cjs.map +1 -0
- package/lib/chunk-TYUV6LM6.cjs +66 -0
- package/lib/chunk-TYUV6LM6.cjs.map +1 -0
- package/lib/chunk-UCUHXBAU.cjs +51 -0
- package/lib/chunk-UCUHXBAU.cjs.map +1 -0
- package/lib/chunk-UCXCUZUY.js +49 -0
- package/lib/chunk-UCXCUZUY.js.map +1 -0
- package/lib/chunk-UDZIYRBN.js +53 -0
- package/lib/chunk-UDZIYRBN.js.map +1 -0
- package/lib/chunk-UJQYEO46.cjs +39 -0
- package/lib/chunk-UJQYEO46.cjs.map +1 -0
- package/lib/chunk-UQVU3PYE.cjs +55 -0
- package/lib/chunk-UQVU3PYE.cjs.map +1 -0
- package/lib/chunk-UV5ZURSJ.cjs +65 -0
- package/lib/chunk-UV5ZURSJ.cjs.map +1 -0
- package/lib/chunk-UXFPNFIY.js +49 -0
- package/lib/chunk-UXFPNFIY.js.map +1 -0
- package/lib/chunk-UZW74HAU.cjs +105 -0
- package/lib/chunk-UZW74HAU.cjs.map +1 -0
- package/lib/chunk-V3OLBZRZ.js +45 -0
- package/lib/chunk-V3OLBZRZ.js.map +1 -0
- package/lib/chunk-VF5LGWK4.cjs +99 -0
- package/lib/chunk-VF5LGWK4.cjs.map +1 -0
- package/lib/chunk-VHBUK7RZ.js +44 -0
- package/lib/chunk-VHBUK7RZ.js.map +1 -0
- package/lib/chunk-W25HJZQ6.cjs +39 -0
- package/lib/chunk-W25HJZQ6.cjs.map +1 -0
- package/lib/chunk-W4JEPKQA.js +53 -0
- package/lib/chunk-W4JEPKQA.js.map +1 -0
- package/lib/chunk-WBBMR7GZ.js +48 -0
- package/lib/chunk-WBBMR7GZ.js.map +1 -0
- package/lib/chunk-WOZLGFWZ.cjs +51 -0
- package/lib/chunk-WOZLGFWZ.cjs.map +1 -0
- package/lib/chunk-WPIA2M5U.js +49 -0
- package/lib/chunk-WPIA2M5U.js.map +1 -0
- package/lib/chunk-WRF6VGLF.js +49 -0
- package/lib/chunk-WRF6VGLF.js.map +1 -0
- package/lib/chunk-WSIXZCIW.js +49 -0
- package/lib/chunk-WSIXZCIW.js.map +1 -0
- package/lib/chunk-WTPVHCET.js +55 -0
- package/lib/chunk-WTPVHCET.js.map +1 -0
- package/lib/chunk-WYS646KA.js +274 -0
- package/lib/chunk-WYS646KA.js.map +1 -0
- package/lib/chunk-X7XTMU2Q.cjs +55 -0
- package/lib/chunk-X7XTMU2Q.cjs.map +1 -0
- package/lib/chunk-XHSGLKAK.cjs +110 -0
- package/lib/chunk-XHSGLKAK.cjs.map +1 -0
- package/lib/chunk-XZTXB4LI.js +47 -0
- package/lib/chunk-XZTXB4LI.js.map +1 -0
- package/lib/chunk-Y2CHDCTR.cjs +51 -0
- package/lib/chunk-Y2CHDCTR.cjs.map +1 -0
- package/lib/chunk-YKAIXDXA.js +103 -0
- package/lib/chunk-YKAIXDXA.js.map +1 -0
- package/lib/chunk-YL7WXNR7.cjs +50 -0
- package/lib/chunk-YL7WXNR7.cjs.map +1 -0
- package/lib/chunk-YQFXQJGJ.js +77 -0
- package/lib/chunk-YQFXQJGJ.js.map +1 -0
- package/lib/chunk-YRS4U4G2.cjs +51 -0
- package/lib/chunk-YRS4U4G2.cjs.map +1 -0
- package/lib/chunk-YS7GRMHQ.js +65 -0
- package/lib/chunk-YS7GRMHQ.js.map +1 -0
- package/lib/chunk-YYEF6LL5.cjs +50 -0
- package/lib/chunk-YYEF6LL5.cjs.map +1 -0
- package/lib/chunk-Z44IF2V2.cjs +51 -0
- package/lib/chunk-Z44IF2V2.cjs.map +1 -0
- package/lib/chunk-Z5LRCRVJ.js +49 -0
- package/lib/chunk-Z5LRCRVJ.js.map +1 -0
- package/lib/chunk-ZAAIUBEG.js +52 -0
- package/lib/chunk-ZAAIUBEG.js.map +1 -0
- package/lib/chunk-ZBMP4Z6O.js +284 -0
- package/lib/chunk-ZBMP4Z6O.js.map +1 -0
- package/lib/chunk-ZCXO6M2C.js +40 -0
- package/lib/chunk-ZCXO6M2C.js.map +1 -0
- package/lib/chunk-ZHZCIIL4.js +158 -0
- package/lib/chunk-ZHZCIIL4.js.map +1 -0
- package/lib/chunk-ZKU3TJ5C.cjs +47 -0
- package/lib/chunk-ZKU3TJ5C.cjs.map +1 -0
- package/lib/chunk-ZQJEFOPE.cjs +51 -0
- package/lib/chunk-ZQJEFOPE.cjs.map +1 -0
- package/lib/chunk-ZRCPL4VV.js +97 -0
- package/lib/chunk-ZRCPL4VV.js.map +1 -0
- package/lib/chunk-ZRM3XZVT.js +49 -0
- package/lib/chunk-ZRM3XZVT.js.map +1 -0
- package/lib/chunk-ZRQNTLXN.js +49 -0
- package/lib/chunk-ZRQNTLXN.js.map +1 -0
- package/lib/chunk-ZYKSR6FO.cjs +51 -0
- package/lib/chunk-ZYKSR6FO.cjs.map +1 -0
- package/lib/commercelayer.cjs +7 -7
- package/lib/commercelayer.d.cts +3 -3
- package/lib/commercelayer.d.ts +3 -3
- package/lib/commercelayer.js +3 -3
- package/lib/enum.cjs +16 -16
- package/lib/enum.d.cts +1 -1
- package/lib/enum.d.ts +1 -1
- package/lib/enum.js +1 -1
- package/lib/index.cjs +291 -286
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +137 -136
- package/lib/jsonapi.cjs +4 -4
- package/lib/jsonapi.d.cts +1 -1
- package/lib/jsonapi.d.ts +1 -1
- package/lib/jsonapi.js +2 -2
- 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 +7 -7
- package/lib/resource.d.cts +1 -1
- package/lib/resource.d.ts +1 -1
- package/lib/resource.js +2 -2
- package/lib/resources/addresses.cjs +4 -4
- package/lib/resources/addresses.d.cts +2 -2
- package/lib/resources/addresses.d.ts +1 -1
- package/lib/resources/addresses.js +3 -3
- package/lib/resources/adjustments.cjs +4 -4
- package/lib/resources/adjustments.d.cts +2 -2
- package/lib/resources/adjustments.d.ts +1 -1
- package/lib/resources/adjustments.js +3 -3
- package/lib/resources/adyen_gateways.cjs +4 -4
- package/lib/resources/adyen_gateways.d.cts +2 -2
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_gateways.js +3 -3
- package/lib/resources/adyen_payments.cjs +4 -4
- package/lib/resources/adyen_payments.d.cts +2 -2
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/adyen_payments.js +3 -3
- package/lib/resources/applications.cjs +4 -4
- package/lib/resources/applications.d.cts +2 -2
- package/lib/resources/applications.d.ts +1 -1
- package/lib/resources/applications.js +3 -3
- package/lib/resources/attachments.cjs +4 -4
- package/lib/resources/attachments.d.cts +2 -2
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/attachments.js +3 -3
- package/lib/resources/authorizations.cjs +4 -4
- package/lib/resources/authorizations.d.cts +2 -2
- package/lib/resources/authorizations.d.ts +1 -1
- package/lib/resources/authorizations.js +3 -3
- package/lib/resources/avalara_accounts.cjs +4 -4
- package/lib/resources/avalara_accounts.d.cts +2 -2
- package/lib/resources/avalara_accounts.d.ts +1 -1
- package/lib/resources/avalara_accounts.js +3 -3
- package/lib/resources/axerve_gateways.cjs +4 -4
- package/lib/resources/axerve_gateways.d.cts +2 -2
- package/lib/resources/axerve_gateways.d.ts +1 -1
- package/lib/resources/axerve_gateways.js +3 -3
- package/lib/resources/axerve_payments.cjs +4 -4
- package/lib/resources/axerve_payments.d.cts +2 -2
- package/lib/resources/axerve_payments.d.ts +1 -1
- package/lib/resources/axerve_payments.js +3 -3
- package/lib/resources/bing_geocoders.cjs +4 -4
- package/lib/resources/bing_geocoders.d.cts +2 -2
- package/lib/resources/bing_geocoders.d.ts +1 -1
- package/lib/resources/bing_geocoders.js +3 -3
- package/lib/resources/braintree_gateways.cjs +4 -4
- package/lib/resources/braintree_gateways.d.cts +2 -2
- package/lib/resources/braintree_gateways.d.ts +1 -1
- package/lib/resources/braintree_gateways.js +3 -3
- package/lib/resources/braintree_payments.cjs +4 -4
- package/lib/resources/braintree_payments.d.cts +2 -2
- package/lib/resources/braintree_payments.d.ts +1 -1
- package/lib/resources/braintree_payments.js +3 -3
- package/lib/resources/bundles.cjs +4 -4
- package/lib/resources/bundles.d.cts +2 -2
- package/lib/resources/bundles.d.ts +1 -1
- package/lib/resources/bundles.js +3 -3
- package/lib/resources/buy_x_pay_y_promotions.cjs +4 -4
- 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 +3 -3
- package/lib/resources/captures.cjs +4 -4
- package/lib/resources/captures.d.cts +2 -2
- package/lib/resources/captures.d.ts +1 -1
- package/lib/resources/captures.js +3 -3
- package/lib/resources/carrier_accounts.cjs +4 -4
- package/lib/resources/carrier_accounts.d.cts +2 -2
- package/lib/resources/carrier_accounts.d.ts +1 -1
- package/lib/resources/carrier_accounts.js +3 -3
- package/lib/resources/checkout_com_gateways.cjs +4 -4
- 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 +3 -3
- package/lib/resources/checkout_com_payments.cjs +4 -4
- 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 +3 -3
- package/lib/resources/cleanups.cjs +4 -4
- package/lib/resources/cleanups.d.cts +2 -2
- package/lib/resources/cleanups.d.ts +1 -1
- package/lib/resources/cleanups.js +3 -3
- package/lib/resources/coupon_codes_promotion_rules.cjs +4 -4
- 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 +3 -3
- package/lib/resources/coupon_recipients.cjs +4 -4
- package/lib/resources/coupon_recipients.d.cts +2 -2
- package/lib/resources/coupon_recipients.d.ts +1 -1
- package/lib/resources/coupon_recipients.js +3 -3
- package/lib/resources/coupons.cjs +4 -4
- package/lib/resources/coupons.d.cts +2 -2
- package/lib/resources/coupons.d.ts +1 -1
- package/lib/resources/coupons.js +3 -3
- package/lib/resources/custom_promotion_rules.cjs +4 -4
- 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 +3 -3
- package/lib/resources/customer_addresses.cjs +4 -4
- package/lib/resources/customer_addresses.d.cts +2 -2
- package/lib/resources/customer_addresses.d.ts +1 -1
- package/lib/resources/customer_addresses.js +3 -3
- package/lib/resources/customer_groups.cjs +4 -4
- package/lib/resources/customer_groups.d.cts +2 -2
- package/lib/resources/customer_groups.d.ts +1 -1
- package/lib/resources/customer_groups.js +3 -3
- package/lib/resources/customer_password_resets.cjs +4 -4
- 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 +3 -3
- package/lib/resources/customer_payment_sources.cjs +4 -4
- 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 +3 -3
- package/lib/resources/customer_subscriptions.cjs +4 -4
- package/lib/resources/customer_subscriptions.d.cts +2 -2
- package/lib/resources/customer_subscriptions.d.ts +1 -1
- package/lib/resources/customer_subscriptions.js +3 -3
- package/lib/resources/customers.cjs +4 -4
- package/lib/resources/customers.d.cts +2 -2
- package/lib/resources/customers.d.ts +1 -1
- package/lib/resources/customers.js +3 -3
- package/lib/resources/delivery_lead_times.cjs +4 -4
- 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 +3 -3
- package/lib/resources/discount_engine_items.cjs +4 -4
- 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 +3 -3
- package/lib/resources/discount_engines.cjs +4 -4
- package/lib/resources/discount_engines.d.cts +2 -2
- package/lib/resources/discount_engines.d.ts +1 -1
- package/lib/resources/discount_engines.js +3 -3
- package/lib/resources/easypost_pickups.cjs +4 -4
- package/lib/resources/easypost_pickups.d.cts +2 -2
- package/lib/resources/easypost_pickups.d.ts +1 -1
- package/lib/resources/easypost_pickups.js +3 -3
- package/lib/resources/event_callbacks.cjs +4 -4
- package/lib/resources/event_callbacks.d.cts +2 -2
- package/lib/resources/event_callbacks.d.ts +1 -1
- package/lib/resources/event_callbacks.js +3 -3
- package/lib/resources/event_stores.cjs +20 -0
- package/lib/resources/event_stores.cjs.map +1 -0
- package/lib/resources/event_stores.d.cts +7 -0
- package/lib/resources/event_stores.d.ts +4 -0
- package/lib/resources/event_stores.js +12 -0
- package/lib/resources/event_stores.js.map +1 -0
- package/lib/resources/events.cjs +4 -4
- package/lib/resources/events.d.cts +2 -2
- package/lib/resources/events.d.ts +1 -1
- package/lib/resources/events.js +3 -3
- package/lib/resources/exports.cjs +4 -4
- package/lib/resources/exports.d.cts +2 -2
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/exports.js +3 -3
- package/lib/resources/external_gateways.cjs +4 -4
- package/lib/resources/external_gateways.d.cts +2 -2
- package/lib/resources/external_gateways.d.ts +1 -1
- package/lib/resources/external_gateways.js +3 -3
- package/lib/resources/external_payments.cjs +4 -4
- package/lib/resources/external_payments.d.cts +2 -2
- package/lib/resources/external_payments.d.ts +1 -1
- package/lib/resources/external_payments.js +3 -3
- package/lib/resources/external_promotions.cjs +4 -4
- package/lib/resources/external_promotions.d.cts +2 -2
- package/lib/resources/external_promotions.d.ts +1 -1
- package/lib/resources/external_promotions.js +3 -3
- package/lib/resources/external_tax_calculators.cjs +4 -4
- 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 +3 -3
- package/lib/resources/fixed_amount_promotions.cjs +4 -4
- 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 +3 -3
- package/lib/resources/fixed_price_promotions.cjs +4 -4
- 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 +3 -3
- package/lib/resources/flex_promotions.cjs +4 -4
- package/lib/resources/flex_promotions.d.cts +2 -2
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.js +3 -3
- package/lib/resources/free_gift_promotions.cjs +4 -4
- 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 +3 -3
- package/lib/resources/free_shipping_promotions.cjs +4 -4
- 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 +3 -3
- package/lib/resources/geocoders.cjs +4 -4
- package/lib/resources/geocoders.d.cts +2 -2
- package/lib/resources/geocoders.d.ts +1 -1
- package/lib/resources/geocoders.js +3 -3
- package/lib/resources/gift_card_recipients.cjs +4 -4
- 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 +3 -3
- package/lib/resources/gift_cards.cjs +4 -4
- package/lib/resources/gift_cards.d.cts +2 -2
- package/lib/resources/gift_cards.d.ts +1 -1
- package/lib/resources/gift_cards.js +3 -3
- package/lib/resources/google_geocoders.cjs +4 -4
- package/lib/resources/google_geocoders.d.cts +2 -2
- package/lib/resources/google_geocoders.d.ts +1 -1
- package/lib/resources/google_geocoders.js +3 -3
- package/lib/resources/imports.cjs +4 -4
- package/lib/resources/imports.d.cts +2 -2
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/imports.js +3 -3
- package/lib/resources/in_stock_subscriptions.cjs +4 -4
- 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 +3 -3
- package/lib/resources/inventory_models.cjs +4 -4
- package/lib/resources/inventory_models.d.cts +2 -2
- package/lib/resources/inventory_models.d.ts +1 -1
- package/lib/resources/inventory_models.js +3 -3
- package/lib/resources/inventory_return_locations.cjs +4 -4
- 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 +3 -3
- package/lib/resources/inventory_stock_locations.cjs +4 -4
- 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 +3 -3
- package/lib/resources/klarna_gateways.cjs +4 -4
- package/lib/resources/klarna_gateways.d.cts +2 -2
- package/lib/resources/klarna_gateways.d.ts +1 -1
- package/lib/resources/klarna_gateways.js +3 -3
- package/lib/resources/klarna_payments.cjs +4 -4
- package/lib/resources/klarna_payments.d.cts +2 -2
- package/lib/resources/klarna_payments.d.ts +1 -1
- package/lib/resources/klarna_payments.js +3 -3
- package/lib/resources/line_item_options.cjs +4 -4
- 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 +3 -3
- package/lib/resources/line_items.cjs +4 -4
- package/lib/resources/line_items.d.cts +2 -2
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/line_items.js +3 -3
- package/lib/resources/links.cjs +4 -4
- package/lib/resources/links.d.cts +2 -2
- package/lib/resources/links.d.ts +1 -1
- package/lib/resources/links.js +3 -3
- package/lib/resources/manual_gateways.cjs +4 -4
- package/lib/resources/manual_gateways.d.cts +2 -2
- package/lib/resources/manual_gateways.d.ts +1 -1
- package/lib/resources/manual_gateways.js +3 -3
- package/lib/resources/manual_tax_calculators.cjs +4 -4
- 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 +3 -3
- package/lib/resources/markets.cjs +4 -4
- package/lib/resources/markets.d.cts +2 -2
- package/lib/resources/markets.d.ts +1 -1
- package/lib/resources/markets.js +3 -3
- package/lib/resources/merchants.cjs +4 -4
- package/lib/resources/merchants.d.cts +2 -2
- package/lib/resources/merchants.d.ts +1 -1
- package/lib/resources/merchants.js +3 -3
- package/lib/resources/notifications.cjs +4 -4
- package/lib/resources/notifications.d.cts +2 -2
- package/lib/resources/notifications.d.ts +1 -1
- package/lib/resources/notifications.js +3 -3
- package/lib/resources/order_amount_promotion_rules.cjs +4 -4
- 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 +3 -3
- package/lib/resources/order_copies.cjs +4 -4
- package/lib/resources/order_copies.d.cts +2 -2
- package/lib/resources/order_copies.d.ts +1 -1
- package/lib/resources/order_copies.js +3 -3
- package/lib/resources/order_factories.cjs +4 -4
- package/lib/resources/order_factories.d.cts +2 -2
- package/lib/resources/order_factories.d.ts +1 -1
- package/lib/resources/order_factories.js +3 -3
- package/lib/resources/order_subscription_items.cjs +4 -4
- 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 +3 -3
- package/lib/resources/order_subscriptions.cjs +4 -4
- package/lib/resources/order_subscriptions.d.cts +2 -2
- package/lib/resources/order_subscriptions.d.ts +1 -1
- package/lib/resources/order_subscriptions.js +3 -3
- package/lib/resources/orders.cjs +4 -4
- package/lib/resources/orders.d.cts +2 -2
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/orders.js +3 -3
- package/lib/resources/organizations.cjs +4 -4
- package/lib/resources/organizations.d.cts +2 -2
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/organizations.js +3 -3
- package/lib/resources/packages.cjs +4 -4
- package/lib/resources/packages.d.cts +2 -2
- package/lib/resources/packages.d.ts +1 -1
- package/lib/resources/packages.js +3 -3
- package/lib/resources/parcel_line_items.cjs +4 -4
- 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 +3 -3
- package/lib/resources/parcels.cjs +4 -4
- package/lib/resources/parcels.d.cts +2 -2
- package/lib/resources/parcels.d.ts +1 -1
- package/lib/resources/parcels.js +3 -3
- package/lib/resources/payment_gateways.cjs +4 -4
- package/lib/resources/payment_gateways.d.cts +2 -2
- package/lib/resources/payment_gateways.d.ts +1 -1
- package/lib/resources/payment_gateways.js +3 -3
- package/lib/resources/payment_methods.cjs +4 -4
- package/lib/resources/payment_methods.d.cts +2 -2
- package/lib/resources/payment_methods.d.ts +1 -1
- package/lib/resources/payment_methods.js +3 -3
- package/lib/resources/payment_options.cjs +4 -4
- package/lib/resources/payment_options.d.cts +2 -2
- package/lib/resources/payment_options.d.ts +1 -1
- package/lib/resources/payment_options.js +3 -3
- package/lib/resources/paypal_gateways.cjs +4 -4
- package/lib/resources/paypal_gateways.d.cts +2 -2
- package/lib/resources/paypal_gateways.d.ts +1 -1
- package/lib/resources/paypal_gateways.js +3 -3
- package/lib/resources/paypal_payments.cjs +4 -4
- package/lib/resources/paypal_payments.d.cts +2 -2
- package/lib/resources/paypal_payments.d.ts +1 -1
- package/lib/resources/paypal_payments.js +3 -3
- package/lib/resources/percentage_discount_promotions.cjs +4 -4
- 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 +3 -3
- package/lib/resources/pickups.cjs +4 -4
- package/lib/resources/pickups.d.cts +2 -2
- package/lib/resources/pickups.d.ts +1 -1
- package/lib/resources/pickups.js +3 -3
- package/lib/resources/price_frequency_tiers.cjs +4 -4
- 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 +3 -3
- package/lib/resources/price_list_schedulers.cjs +4 -4
- 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 +3 -3
- package/lib/resources/price_lists.cjs +4 -4
- package/lib/resources/price_lists.d.cts +2 -2
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_lists.js +3 -3
- package/lib/resources/price_tiers.cjs +4 -4
- package/lib/resources/price_tiers.d.cts +2 -2
- package/lib/resources/price_tiers.d.ts +1 -1
- package/lib/resources/price_tiers.js +3 -3
- package/lib/resources/price_volume_tiers.cjs +4 -4
- 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 +3 -3
- package/lib/resources/prices.cjs +4 -4
- package/lib/resources/prices.d.cts +2 -2
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/prices.js +3 -3
- package/lib/resources/promotion_rules.cjs +4 -4
- package/lib/resources/promotion_rules.d.cts +2 -2
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotion_rules.js +3 -3
- package/lib/resources/promotions.cjs +4 -4
- package/lib/resources/promotions.d.cts +2 -2
- package/lib/resources/promotions.d.ts +1 -1
- package/lib/resources/promotions.js +3 -3
- package/lib/resources/recurring_order_copies.cjs +4 -4
- 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 +3 -3
- package/lib/resources/refunds.cjs +4 -4
- package/lib/resources/refunds.d.cts +2 -2
- package/lib/resources/refunds.d.ts +1 -1
- package/lib/resources/refunds.js +3 -3
- package/lib/resources/reserved_stocks.cjs +4 -4
- package/lib/resources/reserved_stocks.d.cts +2 -2
- package/lib/resources/reserved_stocks.d.ts +1 -1
- package/lib/resources/reserved_stocks.js +3 -3
- package/lib/resources/resource_errors.cjs +4 -4
- package/lib/resources/resource_errors.d.cts +2 -2
- package/lib/resources/resource_errors.d.ts +1 -1
- package/lib/resources/resource_errors.js +3 -3
- package/lib/resources/return_line_items.cjs +4 -4
- 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 +3 -3
- package/lib/resources/returns.cjs +4 -4
- package/lib/resources/returns.d.cts +2 -2
- package/lib/resources/returns.d.ts +1 -1
- package/lib/resources/returns.js +3 -3
- package/lib/resources/satispay_gateways.cjs +4 -4
- package/lib/resources/satispay_gateways.d.cts +2 -2
- package/lib/resources/satispay_gateways.d.ts +1 -1
- package/lib/resources/satispay_gateways.js +3 -3
- package/lib/resources/satispay_payments.cjs +4 -4
- package/lib/resources/satispay_payments.d.cts +2 -2
- package/lib/resources/satispay_payments.d.ts +1 -1
- package/lib/resources/satispay_payments.js +3 -3
- package/lib/resources/shipments.cjs +4 -4
- package/lib/resources/shipments.d.cts +2 -2
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipments.js +3 -3
- package/lib/resources/shipping_categories.cjs +4 -4
- package/lib/resources/shipping_categories.d.cts +2 -2
- package/lib/resources/shipping_categories.d.ts +1 -1
- package/lib/resources/shipping_categories.js +3 -3
- package/lib/resources/shipping_method_tiers.cjs +4 -4
- 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 +3 -3
- package/lib/resources/shipping_methods.cjs +4 -4
- package/lib/resources/shipping_methods.d.cts +2 -2
- package/lib/resources/shipping_methods.d.ts +1 -1
- package/lib/resources/shipping_methods.js +3 -3
- package/lib/resources/shipping_weight_tiers.cjs +4 -4
- 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 +3 -3
- package/lib/resources/shipping_zones.cjs +4 -4
- package/lib/resources/shipping_zones.d.cts +2 -2
- package/lib/resources/shipping_zones.d.ts +1 -1
- package/lib/resources/shipping_zones.js +3 -3
- package/lib/resources/sku_list_items.cjs +4 -4
- 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 +3 -3
- package/lib/resources/sku_list_promotion_rules.cjs +4 -4
- 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 +3 -3
- package/lib/resources/sku_lists.cjs +4 -4
- package/lib/resources/sku_lists.d.cts +2 -2
- package/lib/resources/sku_lists.d.ts +1 -1
- package/lib/resources/sku_lists.js +3 -3
- package/lib/resources/sku_options.cjs +4 -4
- package/lib/resources/sku_options.d.cts +2 -2
- package/lib/resources/sku_options.d.ts +1 -1
- package/lib/resources/sku_options.js +3 -3
- package/lib/resources/skus.cjs +4 -4
- package/lib/resources/skus.d.cts +2 -2
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/skus.js +3 -3
- package/lib/resources/stock_items.cjs +4 -4
- package/lib/resources/stock_items.d.cts +2 -2
- package/lib/resources/stock_items.d.ts +1 -1
- package/lib/resources/stock_items.js +3 -3
- package/lib/resources/stock_line_items.cjs +4 -4
- 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 +3 -3
- package/lib/resources/stock_locations.cjs +4 -4
- package/lib/resources/stock_locations.d.cts +2 -2
- package/lib/resources/stock_locations.d.ts +1 -1
- package/lib/resources/stock_locations.js +3 -3
- package/lib/resources/stock_reservations.cjs +4 -4
- package/lib/resources/stock_reservations.d.cts +2 -2
- package/lib/resources/stock_reservations.d.ts +1 -1
- package/lib/resources/stock_reservations.js +3 -3
- package/lib/resources/stock_transfers.cjs +4 -4
- package/lib/resources/stock_transfers.d.cts +2 -2
- package/lib/resources/stock_transfers.d.ts +1 -1
- package/lib/resources/stock_transfers.js +3 -3
- package/lib/resources/stores.cjs +4 -4
- package/lib/resources/stores.d.cts +2 -2
- package/lib/resources/stores.d.ts +1 -1
- package/lib/resources/stores.js +3 -3
- package/lib/resources/stripe_gateways.cjs +4 -4
- package/lib/resources/stripe_gateways.d.cts +2 -2
- package/lib/resources/stripe_gateways.d.ts +1 -1
- package/lib/resources/stripe_gateways.js +3 -3
- package/lib/resources/stripe_payments.cjs +4 -4
- package/lib/resources/stripe_payments.d.cts +2 -2
- package/lib/resources/stripe_payments.d.ts +1 -1
- package/lib/resources/stripe_payments.js +3 -3
- package/lib/resources/stripe_tax_accounts.cjs +4 -4
- 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 +3 -3
- package/lib/resources/subscription_models.cjs +4 -4
- package/lib/resources/subscription_models.d.cts +2 -2
- package/lib/resources/subscription_models.d.ts +1 -1
- package/lib/resources/subscription_models.js +3 -3
- package/lib/resources/tags.cjs +4 -4
- package/lib/resources/tags.d.cts +2 -2
- package/lib/resources/tags.d.ts +1 -1
- package/lib/resources/tags.js +3 -3
- package/lib/resources/talon_one_accounts.cjs +4 -4
- 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 +3 -3
- package/lib/resources/tax_calculators.cjs +4 -4
- package/lib/resources/tax_calculators.d.cts +2 -2
- package/lib/resources/tax_calculators.d.ts +1 -1
- package/lib/resources/tax_calculators.js +3 -3
- package/lib/resources/tax_categories.cjs +4 -4
- package/lib/resources/tax_categories.d.cts +2 -2
- package/lib/resources/tax_categories.d.ts +1 -1
- package/lib/resources/tax_categories.js +3 -3
- package/lib/resources/tax_rules.cjs +4 -4
- package/lib/resources/tax_rules.d.cts +2 -2
- package/lib/resources/tax_rules.d.ts +1 -1
- package/lib/resources/tax_rules.js +3 -3
- package/lib/resources/taxjar_accounts.cjs +4 -4
- package/lib/resources/taxjar_accounts.d.cts +2 -2
- package/lib/resources/taxjar_accounts.d.ts +1 -1
- package/lib/resources/taxjar_accounts.js +3 -3
- package/lib/resources/transactions.cjs +4 -4
- package/lib/resources/transactions.d.cts +2 -2
- package/lib/resources/transactions.d.ts +1 -1
- package/lib/resources/transactions.js +3 -3
- package/lib/resources/versions.cjs +4 -4
- package/lib/resources/versions.d.cts +2 -2
- package/lib/resources/versions.d.ts +1 -1
- package/lib/resources/versions.js +3 -3
- package/lib/resources/vertex_accounts.cjs +4 -4
- package/lib/resources/vertex_accounts.d.cts +2 -2
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/vertex_accounts.js +3 -3
- package/lib/resources/voids.cjs +4 -4
- package/lib/resources/voids.d.cts +2 -2
- package/lib/resources/voids.d.ts +1 -1
- package/lib/resources/voids.js +3 -3
- package/lib/resources/webhooks.cjs +4 -4
- package/lib/resources/webhooks.d.cts +2 -2
- package/lib/resources/webhooks.d.ts +1 -1
- package/lib/resources/webhooks.js +3 -3
- package/lib/resources/wire_transfers.cjs +4 -4
- package/lib/resources/wire_transfers.d.cts +2 -2
- package/lib/resources/wire_transfers.d.ts +1 -1
- package/lib/resources/wire_transfers.js +3 -3
- package/lib/static.cjs +5 -5
- package/lib/static.d.cts +1 -1
- package/lib/static.d.ts +1 -1
- package/lib/static.js +4 -4
- package/package.json +1 -1
- package/lib/api-C7ddKOtt.d.ts +0 -17277
- package/lib/api-DuTbl3z_.d.cts +0 -17277
- package/lib/chunk-2AFNQJXP.cjs +0 -61
- package/lib/chunk-2AFNQJXP.cjs.map +0 -1
- package/lib/chunk-2AMKJ6V7.cjs +0 -47
- package/lib/chunk-2AMKJ6V7.cjs.map +0 -1
- package/lib/chunk-2HLQW5MF.cjs +0 -59
- package/lib/chunk-2HLQW5MF.cjs.map +0 -1
- package/lib/chunk-2HPO4UZA.cjs +0 -51
- package/lib/chunk-2HPO4UZA.cjs.map +0 -1
- package/lib/chunk-2JOYLKTP.cjs +0 -42
- package/lib/chunk-2JOYLKTP.cjs.map +0 -1
- package/lib/chunk-2KKHO6QF.js +0 -59
- package/lib/chunk-2KKHO6QF.js.map +0 -1
- package/lib/chunk-2L2ZM3VD.js +0 -33
- package/lib/chunk-2L2ZM3VD.js.map +0 -1
- package/lib/chunk-2P6AFRJL.js +0 -44
- package/lib/chunk-2P6AFRJL.js.map +0 -1
- package/lib/chunk-2PYM3QGA.js +0 -45
- package/lib/chunk-2PYM3QGA.js.map +0 -1
- package/lib/chunk-2THU5NEW.cjs +0 -47
- package/lib/chunk-2THU5NEW.cjs.map +0 -1
- package/lib/chunk-2VPJZZIF.cjs +0 -110
- package/lib/chunk-2VPJZZIF.cjs.map +0 -1
- package/lib/chunk-2XGMKMF5.cjs +0 -51
- package/lib/chunk-2XGMKMF5.cjs.map +0 -1
- package/lib/chunk-34H2NFDA.js +0 -52
- package/lib/chunk-34H2NFDA.js.map +0 -1
- package/lib/chunk-35OHXDG3.cjs +0 -156
- package/lib/chunk-35OHXDG3.cjs.map +0 -1
- package/lib/chunk-3ADITMLN.cjs +0 -62
- package/lib/chunk-3ADITMLN.cjs.map +0 -1
- package/lib/chunk-3ANXNJ6U.cjs +0 -51
- package/lib/chunk-3ANXNJ6U.cjs.map +0 -1
- package/lib/chunk-3AOPII3W.js +0 -65
- package/lib/chunk-3AOPII3W.js.map +0 -1
- package/lib/chunk-3DFZ5QLR.js +0 -61
- package/lib/chunk-3DFZ5QLR.js.map +0 -1
- package/lib/chunk-3EX76AZW.js +0 -3
- package/lib/chunk-3EX76AZW.js.map +0 -1
- package/lib/chunk-3I5BJF3J.js +0 -45
- package/lib/chunk-3I5BJF3J.js.map +0 -1
- package/lib/chunk-3N2MNKA3.js +0 -54
- package/lib/chunk-3N2MNKA3.js.map +0 -1
- package/lib/chunk-3NWQH32A.js +0 -36
- package/lib/chunk-3NWQH32A.js.map +0 -1
- package/lib/chunk-3OBFBFUV.js +0 -45
- package/lib/chunk-3OBFBFUV.js.map +0 -1
- package/lib/chunk-3PVKJIA3.js +0 -40
- package/lib/chunk-3PVKJIA3.js.map +0 -1
- package/lib/chunk-3RR27O3T.js +0 -45
- package/lib/chunk-3RR27O3T.js.map +0 -1
- package/lib/chunk-3TGZNMLP.cjs +0 -38
- package/lib/chunk-3TGZNMLP.cjs.map +0 -1
- package/lib/chunk-3URHH3S6.js +0 -43
- package/lib/chunk-3URHH3S6.js.map +0 -1
- package/lib/chunk-3WKN5OCU.cjs +0 -47
- package/lib/chunk-3WKN5OCU.cjs.map +0 -1
- package/lib/chunk-3XWE56FL.cjs +0 -101
- package/lib/chunk-3XWE56FL.cjs.map +0 -1
- package/lib/chunk-42DT6ZET.cjs +0 -47
- package/lib/chunk-42DT6ZET.cjs.map +0 -1
- package/lib/chunk-432EXURP.js +0 -41
- package/lib/chunk-432EXURP.js.map +0 -1
- package/lib/chunk-4IH4EHXT.cjs +0 -69
- package/lib/chunk-4IH4EHXT.cjs.map +0 -1
- package/lib/chunk-4KFJUIFD.js +0 -45
- package/lib/chunk-4KFJUIFD.js.map +0 -1
- package/lib/chunk-4KO5LZ7F.js +0 -45
- package/lib/chunk-4KO5LZ7F.js.map +0 -1
- package/lib/chunk-4L4MGCUZ.js +0 -45
- package/lib/chunk-4L4MGCUZ.js.map +0 -1
- package/lib/chunk-4L73LJKG.js +0 -41
- package/lib/chunk-4L73LJKG.js.map +0 -1
- package/lib/chunk-4NI5SICY.cjs +0 -51
- package/lib/chunk-4NI5SICY.cjs.map +0 -1
- package/lib/chunk-4SCFKFIM.cjs +0 -38
- package/lib/chunk-4SCFKFIM.cjs.map +0 -1
- package/lib/chunk-57XXD3GQ.cjs +0 -50
- package/lib/chunk-57XXD3GQ.cjs.map +0 -1
- package/lib/chunk-5EXCGVF2.cjs +0 -47
- package/lib/chunk-5EXCGVF2.cjs.map +0 -1
- package/lib/chunk-5FZNBGAF.cjs +0 -38
- package/lib/chunk-5FZNBGAF.cjs.map +0 -1
- package/lib/chunk-5NMDIVXH.js +0 -84
- package/lib/chunk-5NMDIVXH.js.map +0 -1
- package/lib/chunk-5OQQBNVB.js +0 -49
- package/lib/chunk-5OQQBNVB.js.map +0 -1
- package/lib/chunk-5P5Z7NXC.js +0 -49
- package/lib/chunk-5P5Z7NXC.js.map +0 -1
- package/lib/chunk-5R76TU4I.cjs +0 -52
- package/lib/chunk-5R76TU4I.cjs.map +0 -1
- package/lib/chunk-5YMHXTJG.cjs +0 -4
- package/lib/chunk-5YMHXTJG.cjs.map +0 -1
- package/lib/chunk-627I2FYX.cjs +0 -47
- package/lib/chunk-627I2FYX.cjs.map +0 -1
- package/lib/chunk-66JDSPFD.cjs +0 -51
- package/lib/chunk-66JDSPFD.cjs.map +0 -1
- package/lib/chunk-67KNILG6.js +0 -48
- package/lib/chunk-67KNILG6.js.map +0 -1
- package/lib/chunk-67QVA2J3.cjs +0 -34
- package/lib/chunk-67QVA2J3.cjs.map +0 -1
- package/lib/chunk-6AJSOS56.cjs +0 -75
- package/lib/chunk-6AJSOS56.cjs.map +0 -1
- package/lib/chunk-6B66AQKB.cjs +0 -45
- package/lib/chunk-6B66AQKB.cjs.map +0 -1
- package/lib/chunk-6OHA2TO3.cjs +0 -61
- package/lib/chunk-6OHA2TO3.cjs.map +0 -1
- package/lib/chunk-6SCAIB4K.cjs +0 -43
- package/lib/chunk-6SCAIB4K.cjs.map +0 -1
- package/lib/chunk-6SOWFGBP.cjs +0 -63
- package/lib/chunk-6SOWFGBP.cjs.map +0 -1
- package/lib/chunk-73PUROZG.cjs +0 -95
- package/lib/chunk-73PUROZG.cjs.map +0 -1
- package/lib/chunk-7CQTUOR4.cjs +0 -42
- package/lib/chunk-7CQTUOR4.cjs.map +0 -1
- package/lib/chunk-7JLRB7QH.js +0 -24
- package/lib/chunk-7JLRB7QH.js.map +0 -1
- package/lib/chunk-7KY7C5RC.cjs +0 -98
- package/lib/chunk-7KY7C5RC.cjs.map +0 -1
- package/lib/chunk-7SG4WU7W.js +0 -45
- package/lib/chunk-7SG4WU7W.js.map +0 -1
- package/lib/chunk-7SZY5BWE.js +0 -45
- package/lib/chunk-7SZY5BWE.js.map +0 -1
- package/lib/chunk-7VSYXEXL.js +0 -59
- package/lib/chunk-7VSYXEXL.js.map +0 -1
- package/lib/chunk-7Z2U4MHU.cjs +0 -52
- package/lib/chunk-7Z2U4MHU.cjs.map +0 -1
- package/lib/chunk-A6BT5FSV.cjs +0 -43
- package/lib/chunk-A6BT5FSV.cjs.map +0 -1
- package/lib/chunk-A7BEMDVP.cjs +0 -55
- package/lib/chunk-A7BEMDVP.cjs.map +0 -1
- package/lib/chunk-AD73LDFJ.cjs +0 -43
- package/lib/chunk-AD73LDFJ.cjs.map +0 -1
- package/lib/chunk-AGNIOGQC.cjs +0 -29
- package/lib/chunk-AGNIOGQC.cjs.map +0 -1
- package/lib/chunk-AIGQRBCY.cjs +0 -47
- package/lib/chunk-AIGQRBCY.cjs.map +0 -1
- package/lib/chunk-AQFAND5D.cjs +0 -282
- package/lib/chunk-AQFAND5D.cjs.map +0 -1
- package/lib/chunk-ARIBIRKF.cjs +0 -47
- package/lib/chunk-ARIBIRKF.cjs.map +0 -1
- package/lib/chunk-AW3TRBZ7.js +0 -44
- package/lib/chunk-AW3TRBZ7.js.map +0 -1
- package/lib/chunk-AWP3PHRS.js +0 -69
- package/lib/chunk-AWP3PHRS.js.map +0 -1
- package/lib/chunk-B72FREUL.cjs +0 -57
- package/lib/chunk-B72FREUL.cjs.map +0 -1
- package/lib/chunk-BJYOKKGX.cjs +0 -75
- package/lib/chunk-BJYOKKGX.cjs.map +0 -1
- package/lib/chunk-BN6XJAZH.cjs +0 -43
- package/lib/chunk-BN6XJAZH.cjs.map +0 -1
- package/lib/chunk-BTAKU6V5.cjs +0 -42
- package/lib/chunk-BTAKU6V5.cjs.map +0 -1
- package/lib/chunk-CG2ACHGS.js +0 -45
- package/lib/chunk-CG2ACHGS.js.map +0 -1
- package/lib/chunk-CK6RZLVM.cjs +0 -47
- package/lib/chunk-CK6RZLVM.cjs.map +0 -1
- package/lib/chunk-CNCZCBI3.js +0 -99
- package/lib/chunk-CNCZCBI3.js.map +0 -1
- package/lib/chunk-CRRYP7ZN.js +0 -45
- package/lib/chunk-CRRYP7ZN.js.map +0 -1
- package/lib/chunk-CTXBUDGO.cjs +0 -39
- package/lib/chunk-CTXBUDGO.cjs.map +0 -1
- package/lib/chunk-CUNOMS5N.js +0 -40
- package/lib/chunk-CUNOMS5N.js.map +0 -1
- package/lib/chunk-D26KDUDM.cjs +0 -47
- package/lib/chunk-D26KDUDM.cjs.map +0 -1
- package/lib/chunk-D5E4OGXU.js +0 -49
- package/lib/chunk-D5E4OGXU.js.map +0 -1
- package/lib/chunk-D7KNSKNJ.js +0 -55
- package/lib/chunk-D7KNSKNJ.js.map +0 -1
- package/lib/chunk-DAXKXBA3.js +0 -48
- package/lib/chunk-DAXKXBA3.js.map +0 -1
- package/lib/chunk-DGW3ZSW6.js +0 -49
- package/lib/chunk-DGW3ZSW6.js.map +0 -1
- package/lib/chunk-DJ572MZB.cjs +0 -50
- package/lib/chunk-DJ572MZB.cjs.map +0 -1
- package/lib/chunk-DOFPDQMJ.cjs +0 -56
- package/lib/chunk-DOFPDQMJ.cjs.map +0 -1
- package/lib/chunk-DOGEZ6XX.cjs +0 -46
- package/lib/chunk-DOGEZ6XX.cjs.map +0 -1
- package/lib/chunk-DSKZRVXS.js +0 -28
- package/lib/chunk-DSKZRVXS.js.map +0 -1
- package/lib/chunk-DYZGWPZ6.js +0 -33
- package/lib/chunk-DYZGWPZ6.js.map +0 -1
- package/lib/chunk-DZLNYX4L.js +0 -93
- package/lib/chunk-DZLNYX4L.js.map +0 -1
- package/lib/chunk-E3FDHGI7.js +0 -36
- package/lib/chunk-E3FDHGI7.js.map +0 -1
- package/lib/chunk-E4DYW6HB.cjs +0 -42
- package/lib/chunk-E4DYW6HB.cjs.map +0 -1
- package/lib/chunk-E65GENXB.js +0 -49
- package/lib/chunk-E65GENXB.js.map +0 -1
- package/lib/chunk-E6TBQVLK.cjs +0 -39
- package/lib/chunk-E6TBQVLK.cjs.map +0 -1
- package/lib/chunk-EADFDBOR.cjs +0 -46
- package/lib/chunk-EADFDBOR.cjs.map +0 -1
- package/lib/chunk-ECMCBU3N.js +0 -53
- package/lib/chunk-ECMCBU3N.js.map +0 -1
- package/lib/chunk-EEFOL62K.js +0 -36
- package/lib/chunk-EEFOL62K.js.map +0 -1
- package/lib/chunk-ELBOXOTA.js +0 -28
- package/lib/chunk-ELBOXOTA.js.map +0 -1
- package/lib/chunk-EP22KKHR.js +0 -48
- package/lib/chunk-EP22KKHR.js.map +0 -1
- package/lib/chunk-EP7MAEQH.cjs +0 -47
- package/lib/chunk-EP7MAEQH.cjs.map +0 -1
- package/lib/chunk-ESMKOP42.cjs +0 -56
- package/lib/chunk-ESMKOP42.cjs.map +0 -1
- package/lib/chunk-F6MSHDB7.cjs +0 -47
- package/lib/chunk-F6MSHDB7.cjs.map +0 -1
- package/lib/chunk-FAU5EILL.js +0 -61
- package/lib/chunk-FAU5EILL.js.map +0 -1
- package/lib/chunk-FO7WBEPF.js +0 -59
- package/lib/chunk-FO7WBEPF.js.map +0 -1
- package/lib/chunk-FRZBCW3D.js +0 -93
- package/lib/chunk-FRZBCW3D.js.map +0 -1
- package/lib/chunk-FSFXOZ35.cjs +0 -47
- package/lib/chunk-FSFXOZ35.cjs.map +0 -1
- package/lib/chunk-FTAZDUH6.js +0 -99
- package/lib/chunk-FTAZDUH6.js.map +0 -1
- package/lib/chunk-FVJDRHG7.js +0 -48
- package/lib/chunk-FVJDRHG7.js.map +0 -1
- package/lib/chunk-FWFGGAKV.js +0 -93
- package/lib/chunk-FWFGGAKV.js.map +0 -1
- package/lib/chunk-FXE62CPP.cjs +0 -46
- package/lib/chunk-FXE62CPP.cjs.map +0 -1
- package/lib/chunk-FYKIHWAM.cjs +0 -77
- package/lib/chunk-FYKIHWAM.cjs.map +0 -1
- package/lib/chunk-G74OZ4M6.js +0 -45
- package/lib/chunk-G74OZ4M6.js.map +0 -1
- package/lib/chunk-GD4WRDF2.js +0 -644
- package/lib/chunk-GD4WRDF2.js.map +0 -1
- package/lib/chunk-GE6OHQR6.cjs +0 -89
- package/lib/chunk-GE6OHQR6.cjs.map +0 -1
- package/lib/chunk-GHLCA7BX.js +0 -53
- package/lib/chunk-GHLCA7BX.js.map +0 -1
- package/lib/chunk-GLSPCG3M.cjs +0 -46
- package/lib/chunk-GLSPCG3M.cjs.map +0 -1
- package/lib/chunk-H2USYPU6.js +0 -49
- package/lib/chunk-H2USYPU6.js.map +0 -1
- package/lib/chunk-H4PUXGNI.cjs +0 -47
- package/lib/chunk-H4PUXGNI.cjs.map +0 -1
- package/lib/chunk-HBUDZOK7.cjs +0 -55
- package/lib/chunk-HBUDZOK7.cjs.map +0 -1
- package/lib/chunk-HCBXRHD7.js +0 -45
- package/lib/chunk-HCBXRHD7.js.map +0 -1
- package/lib/chunk-HDYENVKD.js +0 -45
- package/lib/chunk-HDYENVKD.js.map +0 -1
- package/lib/chunk-HERQULAV.cjs +0 -61
- package/lib/chunk-HERQULAV.cjs.map +0 -1
- package/lib/chunk-HNHF6T2I.cjs +0 -54
- package/lib/chunk-HNHF6T2I.cjs.map +0 -1
- package/lib/chunk-HNONYIDO.cjs +0 -86
- package/lib/chunk-HNONYIDO.cjs.map +0 -1
- package/lib/chunk-HQ5STEMD.js +0 -55
- package/lib/chunk-HQ5STEMD.js.map +0 -1
- package/lib/chunk-HQ6TJSB7.cjs +0 -51
- package/lib/chunk-HQ6TJSB7.cjs.map +0 -1
- package/lib/chunk-I3SKGXTB.cjs +0 -26
- package/lib/chunk-I3SKGXTB.cjs.map +0 -1
- package/lib/chunk-I5KTGLTE.cjs +0 -95
- package/lib/chunk-I5KTGLTE.cjs.map +0 -1
- package/lib/chunk-IITNQS6D.js +0 -49
- package/lib/chunk-IITNQS6D.js.map +0 -1
- package/lib/chunk-IKENWSRH.cjs +0 -126
- package/lib/chunk-IKENWSRH.cjs.map +0 -1
- package/lib/chunk-INJ7FRDA.cjs +0 -55
- package/lib/chunk-INJ7FRDA.cjs.map +0 -1
- package/lib/chunk-J4CTOHX6.cjs +0 -68
- package/lib/chunk-J4CTOHX6.cjs.map +0 -1
- package/lib/chunk-J6NBJHWL.cjs +0 -101
- package/lib/chunk-J6NBJHWL.cjs.map +0 -1
- package/lib/chunk-J6PTNG3D.js +0 -280
- package/lib/chunk-J6PTNG3D.js.map +0 -1
- package/lib/chunk-J6Z6ZR33.js +0 -96
- package/lib/chunk-J6Z6ZR33.js.map +0 -1
- package/lib/chunk-J7ZSBB35.js +0 -45
- package/lib/chunk-J7ZSBB35.js.map +0 -1
- package/lib/chunk-JAQECLCE.js +0 -41
- package/lib/chunk-JAQECLCE.js.map +0 -1
- package/lib/chunk-JECYKPCC.cjs +0 -30
- package/lib/chunk-JECYKPCC.cjs.map +0 -1
- package/lib/chunk-JPUF5YXX.js +0 -37
- package/lib/chunk-JPUF5YXX.js.map +0 -1
- package/lib/chunk-JRTJ6LWK.js +0 -53
- package/lib/chunk-JRTJ6LWK.js.map +0 -1
- package/lib/chunk-JT7HVLLW.cjs +0 -57
- package/lib/chunk-JT7HVLLW.cjs.map +0 -1
- package/lib/chunk-JWC2GSYH.cjs +0 -47
- package/lib/chunk-JWC2GSYH.cjs.map +0 -1
- package/lib/chunk-JYOFP6BM.js +0 -87
- package/lib/chunk-JYOFP6BM.js.map +0 -1
- package/lib/chunk-JYXAF775.js +0 -49
- package/lib/chunk-JYXAF775.js.map +0 -1
- package/lib/chunk-K2CU5HIV.js +0 -66
- package/lib/chunk-K2CU5HIV.js.map +0 -1
- package/lib/chunk-K6WSCQKS.cjs +0 -53
- package/lib/chunk-K6WSCQKS.cjs.map +0 -1
- package/lib/chunk-KH5OQRQL.js +0 -38
- package/lib/chunk-KH5OQRQL.js.map +0 -1
- package/lib/chunk-KITKWF6F.js +0 -27
- package/lib/chunk-KITKWF6F.js.map +0 -1
- package/lib/chunk-KPRWSW6P.cjs +0 -53
- package/lib/chunk-KPRWSW6P.cjs.map +0 -1
- package/lib/chunk-KU5U6DTU.js +0 -73
- package/lib/chunk-KU5U6DTU.js.map +0 -1
- package/lib/chunk-KWRDUU7K.js +0 -45
- package/lib/chunk-KWRDUU7K.js.map +0 -1
- package/lib/chunk-KYZ4CKIR.js +0 -93
- package/lib/chunk-KYZ4CKIR.js.map +0 -1
- package/lib/chunk-KZ75CT2Q.js +0 -68
- package/lib/chunk-KZ75CT2Q.js.map +0 -1
- package/lib/chunk-L4LPS3DV.cjs +0 -47
- package/lib/chunk-L4LPS3DV.cjs.map +0 -1
- package/lib/chunk-L4TDKOAC.js +0 -32
- package/lib/chunk-L4TDKOAC.js.map +0 -1
- package/lib/chunk-L5FMOT44.cjs +0 -91
- package/lib/chunk-L5FMOT44.cjs.map +0 -1
- package/lib/chunk-L5NEDGXK.js +0 -124
- package/lib/chunk-L5NEDGXK.js.map +0 -1
- package/lib/chunk-L6IGO47T.js +0 -59
- package/lib/chunk-L6IGO47T.js.map +0 -1
- package/lib/chunk-LCNT6GY3.js +0 -45
- package/lib/chunk-LCNT6GY3.js.map +0 -1
- package/lib/chunk-LIT4FEIU.cjs +0 -47
- package/lib/chunk-LIT4FEIU.cjs.map +0 -1
- package/lib/chunk-LJ2EP6AL.cjs +0 -42
- package/lib/chunk-LJ2EP6AL.cjs.map +0 -1
- package/lib/chunk-LJFBPFPR.cjs +0 -29
- package/lib/chunk-LJFBPFPR.cjs.map +0 -1
- package/lib/chunk-LNMY5BDT.js +0 -33
- package/lib/chunk-LNMY5BDT.js.map +0 -1
- package/lib/chunk-LTLMRGB7.js +0 -45
- package/lib/chunk-LTLMRGB7.js.map +0 -1
- package/lib/chunk-MADGMICB.js +0 -45
- package/lib/chunk-MADGMICB.js.map +0 -1
- package/lib/chunk-MCGX2ZDC.cjs +0 -51
- package/lib/chunk-MCGX2ZDC.cjs.map +0 -1
- package/lib/chunk-MJRMRWP3.js +0 -67
- package/lib/chunk-MJRMRWP3.js.map +0 -1
- package/lib/chunk-MQZSDICO.cjs +0 -38
- package/lib/chunk-MQZSDICO.cjs.map +0 -1
- package/lib/chunk-MUPRLXGP.js +0 -48
- package/lib/chunk-MUPRLXGP.js.map +0 -1
- package/lib/chunk-MWYBER5I.cjs +0 -50
- package/lib/chunk-MWYBER5I.cjs.map +0 -1
- package/lib/chunk-MZNHRIXE.js +0 -41
- package/lib/chunk-MZNHRIXE.js.map +0 -1
- package/lib/chunk-N4P7A3RY.js +0 -64
- package/lib/chunk-N4P7A3RY.js.map +0 -1
- package/lib/chunk-NAWKHFBZ.js +0 -274
- package/lib/chunk-NAWKHFBZ.js.map +0 -1
- package/lib/chunk-NBYV35R4.cjs +0 -47
- package/lib/chunk-NBYV35R4.cjs.map +0 -1
- package/lib/chunk-NDPDO54G.js +0 -45
- package/lib/chunk-NDPDO54G.js.map +0 -1
- package/lib/chunk-NEC22ZSI.cjs +0 -47
- package/lib/chunk-NEC22ZSI.cjs.map +0 -1
- package/lib/chunk-NIHOABAW.cjs +0 -43
- package/lib/chunk-NIHOABAW.cjs.map +0 -1
- package/lib/chunk-NJYMO7FP.cjs +0 -51
- package/lib/chunk-NJYMO7FP.cjs.map +0 -1
- package/lib/chunk-NODKE6P4.js +0 -154
- package/lib/chunk-NODKE6P4.js.map +0 -1
- package/lib/chunk-NYS7N44P.cjs +0 -70
- package/lib/chunk-NYS7N44P.cjs.map +0 -1
- package/lib/chunk-OGLS27LJ.js +0 -45
- package/lib/chunk-OGLS27LJ.js.map +0 -1
- package/lib/chunk-OYFNK2SE.cjs +0 -38
- package/lib/chunk-OYFNK2SE.cjs.map +0 -1
- package/lib/chunk-PEU5GGGE.js +0 -52
- package/lib/chunk-PEU5GGGE.js.map +0 -1
- package/lib/chunk-PGZTQAOR.cjs +0 -95
- package/lib/chunk-PGZTQAOR.cjs.map +0 -1
- package/lib/chunk-PNSVP3KP.cjs +0 -54
- package/lib/chunk-PNSVP3KP.cjs.map +0 -1
- package/lib/chunk-PQS6KXZ2.cjs +0 -35
- package/lib/chunk-PQS6KXZ2.cjs.map +0 -1
- package/lib/chunk-PV7MUP5Z.js +0 -44
- package/lib/chunk-PV7MUP5Z.js.map +0 -1
- package/lib/chunk-PZZLLHJP.js +0 -41
- package/lib/chunk-PZZLLHJP.js.map +0 -1
- package/lib/chunk-Q2ZSQM7I.js +0 -45
- package/lib/chunk-Q2ZSQM7I.js.map +0 -1
- package/lib/chunk-Q66HILUF.js +0 -40
- package/lib/chunk-Q66HILUF.js.map +0 -1
- package/lib/chunk-Q66JEOCJ.cjs +0 -50
- package/lib/chunk-Q66JEOCJ.cjs.map +0 -1
- package/lib/chunk-Q7YHSPJL.js +0 -53
- package/lib/chunk-Q7YHSPJL.js.map +0 -1
- package/lib/chunk-QGE4ELJO.cjs +0 -47
- package/lib/chunk-QGE4ELJO.cjs.map +0 -1
- package/lib/chunk-QK5MFD4L.js +0 -45
- package/lib/chunk-QK5MFD4L.js.map +0 -1
- package/lib/chunk-QK7D6L3W.js +0 -51
- package/lib/chunk-QK7D6L3W.js.map +0 -1
- package/lib/chunk-QYDOENWU.cjs +0 -282
- package/lib/chunk-QYDOENWU.cjs.map +0 -1
- package/lib/chunk-QZTNLPOD.cjs +0 -51
- package/lib/chunk-QZTNLPOD.cjs.map +0 -1
- package/lib/chunk-QZWQNPKC.js +0 -45
- package/lib/chunk-QZWQNPKC.js.map +0 -1
- package/lib/chunk-R755X3AG.cjs +0 -47
- package/lib/chunk-R755X3AG.cjs.map +0 -1
- package/lib/chunk-RHARO4TQ.cjs +0 -47
- package/lib/chunk-RHARO4TQ.cjs.map +0 -1
- package/lib/chunk-RL7Y22OT.js +0 -41
- package/lib/chunk-RL7Y22OT.js.map +0 -1
- package/lib/chunk-RT7XLEV6.js +0 -49
- package/lib/chunk-RT7XLEV6.js.map +0 -1
- package/lib/chunk-RTDD2NRL.cjs +0 -39
- package/lib/chunk-RTDD2NRL.cjs.map +0 -1
- package/lib/chunk-RTGW34KX.cjs +0 -40
- package/lib/chunk-RTGW34KX.cjs.map +0 -1
- package/lib/chunk-S4GBVQLI.js +0 -105
- package/lib/chunk-S4GBVQLI.js.map +0 -1
- package/lib/chunk-SDRMBCHM.js +0 -93
- package/lib/chunk-SDRMBCHM.js.map +0 -1
- package/lib/chunk-SGOUEVJ3.cjs +0 -67
- package/lib/chunk-SGOUEVJ3.cjs.map +0 -1
- package/lib/chunk-SGWRNEJB.cjs +0 -35
- package/lib/chunk-SGWRNEJB.cjs.map +0 -1
- package/lib/chunk-SKFA2ZIK.js +0 -36
- package/lib/chunk-SKFA2ZIK.js.map +0 -1
- package/lib/chunk-SOXJJRL2.js +0 -44
- package/lib/chunk-SOXJJRL2.js.map +0 -1
- package/lib/chunk-SPLHKBWG.cjs +0 -51
- package/lib/chunk-SPLHKBWG.cjs.map +0 -1
- package/lib/chunk-SUJCEUOZ.cjs +0 -47
- package/lib/chunk-SUJCEUOZ.cjs.map +0 -1
- package/lib/chunk-SWWPX4V4.cjs +0 -34
- package/lib/chunk-SWWPX4V4.cjs.map +0 -1
- package/lib/chunk-THO6KQJZ.js +0 -50
- package/lib/chunk-THO6KQJZ.js.map +0 -1
- package/lib/chunk-THVPSJTK.cjs +0 -47
- package/lib/chunk-THVPSJTK.cjs.map +0 -1
- package/lib/chunk-TIJIXGNJ.cjs +0 -26
- package/lib/chunk-TIJIXGNJ.cjs.map +0 -1
- package/lib/chunk-TM5OCFYV.cjs +0 -61
- package/lib/chunk-TM5OCFYV.cjs.map +0 -1
- package/lib/chunk-TOV6ECTA.js +0 -101
- package/lib/chunk-TOV6ECTA.js.map +0 -1
- package/lib/chunk-TQFODT4D.cjs +0 -35
- package/lib/chunk-TQFODT4D.cjs.map +0 -1
- package/lib/chunk-TSD2PK6H.js +0 -32
- package/lib/chunk-TSD2PK6H.js.map +0 -1
- package/lib/chunk-TSLXKI72.js +0 -60
- package/lib/chunk-TSLXKI72.js.map +0 -1
- package/lib/chunk-U5FTZYJJ.js +0 -45
- package/lib/chunk-U5FTZYJJ.js.map +0 -1
- package/lib/chunk-U6PW4AZV.js +0 -24
- package/lib/chunk-U6PW4AZV.js.map +0 -1
- package/lib/chunk-UB6JC3W7.js +0 -49
- package/lib/chunk-UB6JC3W7.js.map +0 -1
- package/lib/chunk-UBXNH6J3.js +0 -57
- package/lib/chunk-UBXNH6J3.js.map +0 -1
- package/lib/chunk-UP7FR6HD.cjs +0 -66
- package/lib/chunk-UP7FR6HD.cjs.map +0 -1
- package/lib/chunk-UROMLQDG.cjs +0 -71
- package/lib/chunk-UROMLQDG.cjs.map +0 -1
- package/lib/chunk-VNWOCO65.cjs +0 -68
- package/lib/chunk-VNWOCO65.cjs.map +0 -1
- package/lib/chunk-VPXMI42G.cjs +0 -51
- package/lib/chunk-VPXMI42G.cjs.map +0 -1
- package/lib/chunk-VRFSITD3.js +0 -73
- package/lib/chunk-VRFSITD3.js.map +0 -1
- package/lib/chunk-VUCYIRSC.cjs +0 -47
- package/lib/chunk-VUCYIRSC.cjs.map +0 -1
- package/lib/chunk-W6YJDUYD.js +0 -82
- package/lib/chunk-W6YJDUYD.js.map +0 -1
- package/lib/chunk-WC4Z7ENS.cjs +0 -103
- package/lib/chunk-WC4Z7ENS.cjs.map +0 -1
- package/lib/chunk-WI5IVLYL.js +0 -51
- package/lib/chunk-WI5IVLYL.js.map +0 -1
- package/lib/chunk-WKN5RLNR.js +0 -45
- package/lib/chunk-WKN5RLNR.js.map +0 -1
- package/lib/chunk-WP3L72CW.js +0 -55
- package/lib/chunk-WP3L72CW.js.map +0 -1
- package/lib/chunk-WTHX574O.js +0 -66
- package/lib/chunk-WTHX574O.js.map +0 -1
- package/lib/chunk-WVKEXOIY.js +0 -54
- package/lib/chunk-WVKEXOIY.js.map +0 -1
- package/lib/chunk-WXD4O4UY.js +0 -36
- package/lib/chunk-WXD4O4UY.js.map +0 -1
- package/lib/chunk-X2D47UM7.cjs +0 -63
- package/lib/chunk-X2D47UM7.cjs.map +0 -1
- package/lib/chunk-X6PHZA6P.cjs +0 -660
- package/lib/chunk-X6PHZA6P.cjs.map +0 -1
- package/lib/chunk-XMDDYWH5.js +0 -48
- package/lib/chunk-XMDDYWH5.js.map +0 -1
- package/lib/chunk-XOYVZN2R.cjs +0 -50
- package/lib/chunk-XOYVZN2R.cjs.map +0 -1
- package/lib/chunk-XPF5Z2WY.js +0 -75
- package/lib/chunk-XPF5Z2WY.js.map +0 -1
- package/lib/chunk-XR3KEV7U.js +0 -49
- package/lib/chunk-XR3KEV7U.js.map +0 -1
- package/lib/chunk-XUC3BYL2.cjs +0 -43
- package/lib/chunk-XUC3BYL2.cjs.map +0 -1
- package/lib/chunk-XXKXNBD5.js +0 -27
- package/lib/chunk-XXKXNBD5.js.map +0 -1
- package/lib/chunk-Y27X5PYA.cjs +0 -95
- package/lib/chunk-Y27X5PYA.cjs.map +0 -1
- package/lib/chunk-Y2IGLW5N.js +0 -40
- package/lib/chunk-Y2IGLW5N.js.map +0 -1
- package/lib/chunk-Y3BFYVWA.js +0 -37
- package/lib/chunk-Y3BFYVWA.js.map +0 -1
- package/lib/chunk-Y5BP4C42.cjs +0 -84
- package/lib/chunk-Y5BP4C42.cjs.map +0 -1
- package/lib/chunk-YAKNUPNE.cjs +0 -51
- package/lib/chunk-YAKNUPNE.cjs.map +0 -1
- package/lib/chunk-YAVHAWTZ.js +0 -41
- package/lib/chunk-YAVHAWTZ.js.map +0 -1
- package/lib/chunk-YBXRC6MC.js +0 -49
- package/lib/chunk-YBXRC6MC.js.map +0 -1
- package/lib/chunk-YHYBOXVX.cjs +0 -30
- package/lib/chunk-YHYBOXVX.cjs.map +0 -1
- package/lib/chunk-YIDX7HVR.cjs +0 -50
- package/lib/chunk-YIDX7HVR.cjs.map +0 -1
- package/lib/chunk-YN4M5CNJ.js +0 -50
- package/lib/chunk-YN4M5CNJ.js.map +0 -1
- package/lib/chunk-YOHBJHTH.cjs +0 -57
- package/lib/chunk-YOHBJHTH.cjs.map +0 -1
- package/lib/chunk-YZ57ATOP.js +0 -89
- package/lib/chunk-YZ57ATOP.js.map +0 -1
- package/lib/chunk-Z2QVXW6T.cjs +0 -105
- package/lib/chunk-Z2QVXW6T.cjs.map +0 -1
- package/lib/chunk-Z667GAZJ.js +0 -37
- package/lib/chunk-Z667GAZJ.js.map +0 -1
- package/lib/chunk-Z7DKPFKZ.js +0 -40
- package/lib/chunk-Z7DKPFKZ.js.map +0 -1
- package/lib/chunk-ZAISVVBE.cjs +0 -55
- package/lib/chunk-ZAISVVBE.cjs.map +0 -1
- package/lib/chunk-ZASD6IUL.js +0 -103
- package/lib/chunk-ZASD6IUL.js.map +0 -1
- package/lib/chunk-ZEEB5YAU.js +0 -45
- package/lib/chunk-ZEEB5YAU.js.map +0 -1
- package/lib/chunk-ZLDJ7WAY.cjs +0 -95
- package/lib/chunk-ZLDJ7WAY.cjs.map +0 -1
- package/lib/chunk-ZQSCFH5J.cjs +0 -43
- package/lib/chunk-ZQSCFH5J.cjs.map +0 -1
- package/lib/chunk-ZTVQSWSD.cjs +0 -47
- package/lib/chunk-ZTVQSWSD.cjs.map +0 -1
- package/lib/chunk-ZZF34M2E.cjs +0 -47
- package/lib/chunk-ZZF34M2E.cjs.map +0 -1
package/lib/chunk-73PUROZG.cjs
DELETED
@@ -1,95 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
var chunkQYDOENWU_cjs = require('./chunk-QYDOENWU.cjs');
|
4
|
-
|
5
|
-
// src/resources/fixed_price_promotions.ts
|
6
|
-
var FixedPricePromotions = class _FixedPricePromotions extends chunkQYDOENWU_cjs.ApiResource {
|
7
|
-
static TYPE = "fixed_price_promotions";
|
8
|
-
async create(resource, params, options) {
|
9
|
-
return this.resources.create({ ...resource, type: _FixedPricePromotions.TYPE }, params, options);
|
10
|
-
}
|
11
|
-
async update(resource, params, options) {
|
12
|
-
return this.resources.update({ ...resource, type: _FixedPricePromotions.TYPE }, params, options);
|
13
|
-
}
|
14
|
-
async delete(id, options) {
|
15
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _FixedPricePromotions.TYPE } : id, options);
|
16
|
-
}
|
17
|
-
async market(fixedPricePromotionId, params, options) {
|
18
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
19
|
-
return this.resources.fetch({ type: "markets" }, `fixed_price_promotions/${_fixedPricePromotionId}/market`, params, options);
|
20
|
-
}
|
21
|
-
async order_amount_promotion_rule(fixedPricePromotionId, params, options) {
|
22
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
23
|
-
return this.resources.fetch({ type: "order_amount_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/order_amount_promotion_rule`, params, options);
|
24
|
-
}
|
25
|
-
async sku_list_promotion_rule(fixedPricePromotionId, params, options) {
|
26
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
27
|
-
return this.resources.fetch({ type: "sku_list_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list_promotion_rule`, params, options);
|
28
|
-
}
|
29
|
-
async coupon_codes_promotion_rule(fixedPricePromotionId, params, options) {
|
30
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
31
|
-
return this.resources.fetch({ type: "coupon_codes_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/coupon_codes_promotion_rule`, params, options);
|
32
|
-
}
|
33
|
-
async custom_promotion_rule(fixedPricePromotionId, params, options) {
|
34
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
35
|
-
return this.resources.fetch({ type: "custom_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/custom_promotion_rule`, params, options);
|
36
|
-
}
|
37
|
-
async sku_list(fixedPricePromotionId, params, options) {
|
38
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
39
|
-
return this.resources.fetch({ type: "sku_lists" }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list`, params, options);
|
40
|
-
}
|
41
|
-
async coupons(fixedPricePromotionId, params, options) {
|
42
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
43
|
-
return this.resources.fetch({ type: "coupons" }, `fixed_price_promotions/${_fixedPricePromotionId}/coupons`, params, options);
|
44
|
-
}
|
45
|
-
async attachments(fixedPricePromotionId, params, options) {
|
46
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
47
|
-
return this.resources.fetch({ type: "attachments" }, `fixed_price_promotions/${_fixedPricePromotionId}/attachments`, params, options);
|
48
|
-
}
|
49
|
-
async events(fixedPricePromotionId, params, options) {
|
50
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
51
|
-
return this.resources.fetch({ type: "events" }, `fixed_price_promotions/${_fixedPricePromotionId}/events`, params, options);
|
52
|
-
}
|
53
|
-
async tags(fixedPricePromotionId, params, options) {
|
54
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
55
|
-
return this.resources.fetch({ type: "tags" }, `fixed_price_promotions/${_fixedPricePromotionId}/tags`, params, options);
|
56
|
-
}
|
57
|
-
async versions(fixedPricePromotionId, params, options) {
|
58
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
59
|
-
return this.resources.fetch({ type: "versions" }, `fixed_price_promotions/${_fixedPricePromotionId}/versions`, params, options);
|
60
|
-
}
|
61
|
-
async skus(fixedPricePromotionId, params, options) {
|
62
|
-
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
63
|
-
return this.resources.fetch({ type: "skus" }, `fixed_price_promotions/${_fixedPricePromotionId}/skus`, params, options);
|
64
|
-
}
|
65
|
-
async _disable(id, params, options) {
|
66
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.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: _FixedPricePromotions.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: _FixedPricePromotions.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: _FixedPricePromotions.TYPE, _remove_tags: triggerValue }, params, options);
|
76
|
-
}
|
77
|
-
isFixedPricePromotion(resource) {
|
78
|
-
return resource.type && resource.type === _FixedPricePromotions.TYPE;
|
79
|
-
}
|
80
|
-
relationship(id) {
|
81
|
-
return super.relationshipOneToOne(id);
|
82
|
-
}
|
83
|
-
relationshipToMany(...ids) {
|
84
|
-
return super.relationshipOneToMany(...ids);
|
85
|
-
}
|
86
|
-
type() {
|
87
|
-
return _FixedPricePromotions.TYPE;
|
88
|
-
}
|
89
|
-
};
|
90
|
-
var instance = new FixedPricePromotions();
|
91
|
-
var fixed_price_promotions_default = instance;
|
92
|
-
|
93
|
-
exports.fixed_price_promotions_default = fixed_price_promotions_default;
|
94
|
-
//# sourceMappingURL=chunk-73PUROZG.cjs.map
|
95
|
-
//# sourceMappingURL=chunk-73PUROZG.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/fixed_price_promotions.ts"],"names":["ApiResource"],"mappings":";;;;;AA2QA,IAAM,oBAAA,GAAN,MAAM,qBAAA,SAA6BA,6BAAA,CAAiC;AAAA,EAEnE,OAAgB,IAAA,GAAgC,wBAAA;AAAA,EAEhD,MAAM,MAAA,CAAO,QAAA,EAAqC,MAAA,EAAmD,OAAA,EAAyD;AAC7J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAuD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,qBAAA,CAAqB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/I;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAqC,MAAA,EAAmD,OAAA,EAAyD;AAC7J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAuD,EAAE,GAA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,IAAA,EAAM,WAAW,YAAA,EAAa,EAAG,QAAQ,OAAO,CAAA;AAAA,EACpM;AAAA,EAEA,MAAM,YAAA,CAAa,EAAA,EAAkC,YAAA,EAAsB,QAAmD,OAAA,EAAyD;AACtL,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAAuD,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,qBAAA,CAAqB,IAAA,EAAM,cAAc,YAAA,EAAa,EAAG,QAAQ,OAAO,CAAA;AAAA,EACvM;AAAA,EAGA,sBAAsB,QAAA,EAAgD;AACrE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,qBAAA,CAAqB,IAAA;AAAA,EACjE;AAAA,EAGA,aAAa,EAAA,EAAwD;AACpE,IAAA,OAAO,KAAA,CAAM,qBAA6C,EAAE,CAAA;AAAA,EAC7D;AAAA,EAEA,sBAAsB,GAAA,EAAyC;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA8C,GAAG,GAAG,CAAA;AAAA,EAClE;AAAA,EAGA,IAAA,GAAgC;AAC/B,IAAA,OAAO,qBAAA,CAAqB,IAAA;AAAA,EAC7B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,oBAAA,EAAqB;AAC1C,IAAO,8BAAA,GAAQ","file":"chunk-73PUROZG.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Coupon } from './coupons'\nimport type { Attachment } from './attachments'\nimport type { Event } from './events'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\nimport type { Sku } from './skus'\nimport type { PromotionRule } from './promotion_rules'\n\n\ntype FixedPricePromotionType = 'fixed_price_promotions'\ntype FixedPricePromotionRel = ResourceRel & { type: FixedPricePromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type FixedPricePromotionSort = Pick<FixedPricePromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceSort\n// export type FixedPricePromotionFilter = Pick<FixedPricePromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceFilter\n\n\ninterface FixedPricePromotion extends Resource {\n\t\n\treadonly type: FixedPricePromotionType\n\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * The number of times this promotion has been applied.\n\t * @example ```2```\n\t */\n\ttotal_usage_count?: number | null\n\t/** \n\t * Indicates if the promotion 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 * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The price fixed amount to be applied on matching SKUs, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents: number\n\t/** \n\t * The discount fixed amount to be applied, float.\n\t * @example ```10```\n\t */\n\tfixed_amount_float?: number | null\n\t/** \n\t * The discount fixed amount to be applied, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_fixed_amount?: string | null\n\n\tmarket?: Market | null\n\tpromotion_rules?: PromotionRule[] | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRule | null\n\tsku_list_promotion_rule?: SkuListPromotionRule | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n\tcustom_promotion_rule?: CustomPromotionRule | null\n\tsku_list?: SkuList | null\n\tcoupons?: Coupon[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\tskus?: Sku[] | null\n\n}\n\n\ninterface FixedPricePromotionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The price fixed amount to be applied on matching SKUs, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents: number\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list: SkuListRel\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface FixedPricePromotionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at?: string | null\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\t/** \n\t * The price fixed amount to be applied on matching SKUs, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents?: number | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass FixedPricePromotions extends ApiResource<FixedPricePromotion> {\n\n\tstatic readonly TYPE: FixedPricePromotionType = 'fixed_price_promotions' as const\n\n\tasync create(resource: FixedPricePromotionCreate, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.create<FixedPricePromotionCreate, FixedPricePromotion>({ ...resource, type: FixedPricePromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: FixedPricePromotionUpdate, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ ...resource, type: FixedPricePromotions.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: FixedPricePromotions.TYPE } : id, options)\n\t}\n\n\tasync market(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `fixed_price_promotions/${_fixedPricePromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `fixed_price_promotions/${_fixedPricePromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `fixed_price_promotions/${_fixedPricePromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `fixed_price_promotions/${_fixedPricePromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `fixed_price_promotions/${_fixedPricePromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `fixed_price_promotions/${_fixedPricePromotionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync skus(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `fixed_price_promotions/${_fixedPricePromotionId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync _disable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | FixedPricePromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | FixedPricePromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisFixedPricePromotion(resource: any): resource is FixedPricePromotion {\n\t\treturn resource.type && (resource.type === FixedPricePromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): FixedPricePromotionRel {\n\t\treturn super.relationshipOneToOne<FixedPricePromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): FixedPricePromotionRel[] {\n\t\treturn super.relationshipOneToMany<FixedPricePromotionRel>(...ids)\n\t}\n\n\n\ttype(): FixedPricePromotionType {\n\t\treturn FixedPricePromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new FixedPricePromotions()\nexport default instance\n\nexport type { FixedPricePromotions, FixedPricePromotion, FixedPricePromotionCreate, FixedPricePromotionUpdate, FixedPricePromotionType }\n"]}
|
package/lib/chunk-7CQTUOR4.cjs
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
var chunkQYDOENWU_cjs = require('./chunk-QYDOENWU.cjs');
|
4
|
-
|
5
|
-
// src/resources/tax_calculators.ts
|
6
|
-
var TaxCalculators = class _TaxCalculators extends chunkQYDOENWU_cjs.ApiResource {
|
7
|
-
static TYPE = "tax_calculators";
|
8
|
-
async markets(taxCalculatorId, params, options) {
|
9
|
-
const _taxCalculatorId = taxCalculatorId.id || taxCalculatorId;
|
10
|
-
return this.resources.fetch({ type: "markets" }, `tax_calculators/${_taxCalculatorId}/markets`, params, options);
|
11
|
-
}
|
12
|
-
async attachments(taxCalculatorId, params, options) {
|
13
|
-
const _taxCalculatorId = taxCalculatorId.id || taxCalculatorId;
|
14
|
-
return this.resources.fetch({ type: "attachments" }, `tax_calculators/${_taxCalculatorId}/attachments`, params, options);
|
15
|
-
}
|
16
|
-
async events(taxCalculatorId, params, options) {
|
17
|
-
const _taxCalculatorId = taxCalculatorId.id || taxCalculatorId;
|
18
|
-
return this.resources.fetch({ type: "events" }, `tax_calculators/${_taxCalculatorId}/events`, params, options);
|
19
|
-
}
|
20
|
-
async versions(taxCalculatorId, params, options) {
|
21
|
-
const _taxCalculatorId = taxCalculatorId.id || taxCalculatorId;
|
22
|
-
return this.resources.fetch({ type: "versions" }, `tax_calculators/${_taxCalculatorId}/versions`, params, options);
|
23
|
-
}
|
24
|
-
isTaxCalculator(resource) {
|
25
|
-
return resource.type && resource.type === _TaxCalculators.TYPE;
|
26
|
-
}
|
27
|
-
relationship(id) {
|
28
|
-
return super.relationshipOneToOne(id);
|
29
|
-
}
|
30
|
-
relationshipToMany(...ids) {
|
31
|
-
return super.relationshipOneToMany(...ids);
|
32
|
-
}
|
33
|
-
type() {
|
34
|
-
return _TaxCalculators.TYPE;
|
35
|
-
}
|
36
|
-
};
|
37
|
-
var instance = new TaxCalculators();
|
38
|
-
var tax_calculators_default = instance;
|
39
|
-
|
40
|
-
exports.tax_calculators_default = tax_calculators_default;
|
41
|
-
//# sourceMappingURL=chunk-7CQTUOR4.cjs.map
|
42
|
-
//# sourceMappingURL=chunk-7CQTUOR4.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/tax_calculators.ts"],"names":["ApiResource"],"mappings":";;;;;AAoCA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuBA,6BAAA,CAA2B;AAAA,EAEvD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,OAAA,CAAQ,eAAA,EAAyC,MAAA,EAAkC,OAAA,EAA0D;AAClJ,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAc,EAAE,IAAA,EAAM,SAAA,EAAU,EAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAA,QAAA,CAAA,EAAY,MAAA,EAAQ,OAAO,CAAA;AAAA,EACxH;AAAA,EAEA,MAAM,WAAA,CAAY,eAAA,EAAyC,MAAA,EAAsC,OAAA,EAA8D;AAC9J,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,aAAA,EAAc,EAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAA,YAAA,CAAA,EAAgB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACpI;AAAA,EAEA,MAAM,MAAA,CAAO,eAAA,EAAyC,MAAA,EAAiC,OAAA,EAAyD;AAC/I,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAa,EAAE,IAAA,EAAM,QAAA,EAAS,EAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAA,OAAA,CAAA,EAAW,MAAA,EAAQ,OAAO,CAAA;AAAA,EACrH;AAAA,EAEA,MAAM,QAAA,CAAS,eAAA,EAAyC,MAAA,EAAmC,OAAA,EAA2D;AACrJ,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAe,EAAE,IAAA,EAAM,UAAA,EAAW,EAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAA,SAAA,CAAA,EAAa,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC3H;AAAA,EAGA,gBAAgB,QAAA,EAA0C;AACzD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,eAAA,CAAe,IAAA;AAAA,EAC3D;AAAA,EAGA,aAAa,EAAA,EAAkD;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAuC,EAAE,CAAA;AAAA,EACvD;AAAA,EAEA,sBAAsB,GAAA,EAAmC;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAwC,GAAG,GAAG,CAAA;AAAA,EAC5D;AAAA,EAGA,IAAA,GAA0B;AACzB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACvB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-7CQTUOR4.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsList } from '../query'\n\nimport type { Market } from './markets'\nimport type { Attachment } from './attachments'\nimport type { Event } from './events'\nimport type { Version } from './versions'\n\n\ntype TaxCalculatorType = 'tax_calculators'\ntype TaxCalculatorRel = ResourceRel & { type: TaxCalculatorType }\n\n\nexport type TaxCalculatorSort = Pick<TaxCalculator, 'id' | 'name'> & ResourceSort\n// export type TaxCalculatorFilter = Pick<TaxCalculator, 'id' | 'name'> & ResourceFilter\n\n\ninterface TaxCalculator extends Resource {\n\t\n\treadonly type: TaxCalculatorType\n\n\t/** \n\t * The tax calculator's internal name.\n\t * @example ```\"Personal tax calculator\"```\n\t */\n\tname: string\n\n\tmarkets?: Market[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\tversions?: Version[] | null\n\n}\n\n\nclass TaxCalculators extends ApiResource<TaxCalculator> {\n\n\tstatic readonly TYPE: TaxCalculatorType = 'tax_calculators' as const\n\n\tasync markets(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>> {\n\t\tconst _taxCalculatorId = (taxCalculatorId as TaxCalculator).id || taxCalculatorId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `tax_calculators/${_taxCalculatorId}/markets`, params, options) as unknown as ListResponse<Market>\n\t}\n\n\tasync attachments(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _taxCalculatorId = (taxCalculatorId as TaxCalculator).id || taxCalculatorId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `tax_calculators/${_taxCalculatorId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _taxCalculatorId = (taxCalculatorId as TaxCalculator).id || taxCalculatorId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `tax_calculators/${_taxCalculatorId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync versions(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _taxCalculatorId = (taxCalculatorId as TaxCalculator).id || taxCalculatorId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `tax_calculators/${_taxCalculatorId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\n\tisTaxCalculator(resource: any): resource is TaxCalculator {\n\t\treturn resource.type && (resource.type === TaxCalculators.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): TaxCalculatorRel {\n\t\treturn super.relationshipOneToOne<TaxCalculatorRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): TaxCalculatorRel[] {\n\t\treturn super.relationshipOneToMany<TaxCalculatorRel>(...ids)\n\t}\n\n\n\ttype(): TaxCalculatorType {\n\t\treturn TaxCalculators.TYPE\n\t}\n\n}\n\n\nconst instance = new TaxCalculators()\nexport default instance\n\nexport type { TaxCalculators, TaxCalculator, TaxCalculatorType }\n"]}
|
package/lib/chunk-7JLRB7QH.js
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
import { ApiResource } from './chunk-NAWKHFBZ.js';
|
2
|
-
|
3
|
-
// src/resources/versions.ts
|
4
|
-
var Versions = class _Versions extends ApiResource {
|
5
|
-
static TYPE = "versions";
|
6
|
-
isVersion(resource) {
|
7
|
-
return resource.type && resource.type === _Versions.TYPE;
|
8
|
-
}
|
9
|
-
relationship(id) {
|
10
|
-
return super.relationshipOneToOne(id);
|
11
|
-
}
|
12
|
-
relationshipToMany(...ids) {
|
13
|
-
return super.relationshipOneToMany(...ids);
|
14
|
-
}
|
15
|
-
type() {
|
16
|
-
return _Versions.TYPE;
|
17
|
-
}
|
18
|
-
};
|
19
|
-
var instance = new Versions();
|
20
|
-
var versions_default = instance;
|
21
|
-
|
22
|
-
export { versions_default };
|
23
|
-
//# sourceMappingURL=chunk-7JLRB7QH.js.map
|
24
|
-
//# sourceMappingURL=chunk-7JLRB7QH.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/versions.ts"],"names":[],"mappings":";;;AA+CA,IAAM,QAAA,GAAN,MAAM,SAAA,SAAiB,WAAA,CAAqB;AAAA,EAE3C,OAAgB,IAAA,GAAoB,UAAA;AAAA,EAKpC,UAAU,QAAA,EAAoC;AAC7C,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,SAAA,CAAS,IAAA;AAAA,EACrD;AAAA,EAGA,aAAa,EAAA,EAA4C;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAiC,EAAE,CAAA;AAAA,EACjD;AAAA,EAEA,sBAAsB,GAAA,EAA6B;AAClD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAkC,GAAG,GAAG,CAAA;AAAA,EACtD;AAAA,EAGA,IAAA,GAAoB;AACnB,IAAA,OAAO,SAAA,CAAS,IAAA;AAAA,EACjB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,QAAA,EAAS;AAC9B,IAAO,gBAAA,GAAQ","file":"chunk-7JLRB7QH.js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ } from '../resource'\n\n\n\n\ntype VersionType = 'versions'\ntype VersionRel = ResourceRel & { type: VersionType }\n\n\nexport type VersionSort = Pick<Version, 'id'> & ResourceSort\n// export type VersionFilter = Pick<Version, 'id' | 'resource_type' | 'resource_id'> & ResourceFilter\n\n\ninterface Version extends Resource {\n\t\n\treadonly type: VersionType\n\n\t/** \n\t * The type of the versioned resource.\n\t * @example ```\"orders\"```\n\t */\n\tresource_type?: string | null\n\t/** \n\t * The versioned resource id.\n\t * @example ```\"PzdJhdLdYV\"```\n\t */\n\tresource_id?: string | null\n\t/** \n\t * The event which generates the version.\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\tchanges?: 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 Versions extends ApiResource<Version> {\n\n\tstatic readonly TYPE: VersionType = 'versions' as const\n\n\t\n\n\n\tisVersion(resource: any): resource is Version {\n\t\treturn resource.type && (resource.type === Versions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): VersionRel {\n\t\treturn super.relationshipOneToOne<VersionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): VersionRel[] {\n\t\treturn super.relationshipOneToMany<VersionRel>(...ids)\n\t}\n\n\n\ttype(): VersionType {\n\t\treturn Versions.TYPE\n\t}\n\n}\n\n\nconst instance = new Versions()\nexport default instance\n\nexport type { Versions, Version, VersionType }\n"]}
|
package/lib/chunk-7KY7C5RC.cjs
DELETED
@@ -1,98 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
var chunkQYDOENWU_cjs = require('./chunk-QYDOENWU.cjs');
|
4
|
-
|
5
|
-
// src/resources/external_promotions.ts
|
6
|
-
var ExternalPromotions = class _ExternalPromotions extends chunkQYDOENWU_cjs.ApiResource {
|
7
|
-
static TYPE = "external_promotions";
|
8
|
-
async create(resource, params, options) {
|
9
|
-
return this.resources.create({ ...resource, type: _ExternalPromotions.TYPE }, params, options);
|
10
|
-
}
|
11
|
-
async update(resource, params, options) {
|
12
|
-
return this.resources.update({ ...resource, type: _ExternalPromotions.TYPE }, params, options);
|
13
|
-
}
|
14
|
-
async delete(id, options) {
|
15
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _ExternalPromotions.TYPE } : id, options);
|
16
|
-
}
|
17
|
-
async market(externalPromotionId, params, options) {
|
18
|
-
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
19
|
-
return this.resources.fetch({ type: "markets" }, `external_promotions/${_externalPromotionId}/market`, params, options);
|
20
|
-
}
|
21
|
-
async order_amount_promotion_rule(externalPromotionId, params, options) {
|
22
|
-
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
23
|
-
return this.resources.fetch({ type: "order_amount_promotion_rules" }, `external_promotions/${_externalPromotionId}/order_amount_promotion_rule`, params, options);
|
24
|
-
}
|
25
|
-
async sku_list_promotion_rule(externalPromotionId, params, options) {
|
26
|
-
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
27
|
-
return this.resources.fetch({ type: "sku_list_promotion_rules" }, `external_promotions/${_externalPromotionId}/sku_list_promotion_rule`, params, options);
|
28
|
-
}
|
29
|
-
async coupon_codes_promotion_rule(externalPromotionId, params, options) {
|
30
|
-
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
31
|
-
return this.resources.fetch({ type: "coupon_codes_promotion_rules" }, `external_promotions/${_externalPromotionId}/coupon_codes_promotion_rule`, params, options);
|
32
|
-
}
|
33
|
-
async custom_promotion_rule(externalPromotionId, params, options) {
|
34
|
-
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
35
|
-
return this.resources.fetch({ type: "custom_promotion_rules" }, `external_promotions/${_externalPromotionId}/custom_promotion_rule`, params, options);
|
36
|
-
}
|
37
|
-
async sku_list(externalPromotionId, params, options) {
|
38
|
-
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
39
|
-
return this.resources.fetch({ type: "sku_lists" }, `external_promotions/${_externalPromotionId}/sku_list`, params, options);
|
40
|
-
}
|
41
|
-
async coupons(externalPromotionId, params, options) {
|
42
|
-
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
43
|
-
return this.resources.fetch({ type: "coupons" }, `external_promotions/${_externalPromotionId}/coupons`, params, options);
|
44
|
-
}
|
45
|
-
async attachments(externalPromotionId, params, options) {
|
46
|
-
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
47
|
-
return this.resources.fetch({ type: "attachments" }, `external_promotions/${_externalPromotionId}/attachments`, params, options);
|
48
|
-
}
|
49
|
-
async events(externalPromotionId, params, options) {
|
50
|
-
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
51
|
-
return this.resources.fetch({ type: "events" }, `external_promotions/${_externalPromotionId}/events`, params, options);
|
52
|
-
}
|
53
|
-
async tags(externalPromotionId, params, options) {
|
54
|
-
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
55
|
-
return this.resources.fetch({ type: "tags" }, `external_promotions/${_externalPromotionId}/tags`, params, options);
|
56
|
-
}
|
57
|
-
async versions(externalPromotionId, params, options) {
|
58
|
-
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
59
|
-
return this.resources.fetch({ type: "versions" }, `external_promotions/${_externalPromotionId}/versions`, params, options);
|
60
|
-
}
|
61
|
-
async skus(externalPromotionId, params, options) {
|
62
|
-
const _externalPromotionId = externalPromotionId.id || externalPromotionId;
|
63
|
-
return this.resources.fetch({ type: "skus" }, `external_promotions/${_externalPromotionId}/skus`, params, options);
|
64
|
-
}
|
65
|
-
async _disable(id, params, options) {
|
66
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _ExternalPromotions.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: _ExternalPromotions.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: _ExternalPromotions.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: _ExternalPromotions.TYPE, _remove_tags: triggerValue }, params, options);
|
76
|
-
}
|
77
|
-
async _reset_circuit(id, params, options) {
|
78
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _ExternalPromotions.TYPE, _reset_circuit: true }, params, options);
|
79
|
-
}
|
80
|
-
isExternalPromotion(resource) {
|
81
|
-
return resource.type && resource.type === _ExternalPromotions.TYPE;
|
82
|
-
}
|
83
|
-
relationship(id) {
|
84
|
-
return super.relationshipOneToOne(id);
|
85
|
-
}
|
86
|
-
relationshipToMany(...ids) {
|
87
|
-
return super.relationshipOneToMany(...ids);
|
88
|
-
}
|
89
|
-
type() {
|
90
|
-
return _ExternalPromotions.TYPE;
|
91
|
-
}
|
92
|
-
};
|
93
|
-
var instance = new ExternalPromotions();
|
94
|
-
var external_promotions_default = instance;
|
95
|
-
|
96
|
-
exports.external_promotions_default = external_promotions_default;
|
97
|
-
//# sourceMappingURL=chunk-7KY7C5RC.cjs.map
|
98
|
-
//# sourceMappingURL=chunk-7KY7C5RC.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/external_promotions.ts"],"names":["ApiResource"],"mappings":";;;;;AAqRA,IAAM,kBAAA,GAAN,MAAM,mBAAA,SAA2BA,6BAAA,CAA+B;AAAA,EAE/D,OAAgB,IAAA,GAA8B,qBAAA;AAAA,EAE9C,MAAM,MAAA,CAAO,QAAA,EAAmC,MAAA,EAAiD,OAAA,EAAuD;AACvJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAmD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,mBAAA,CAAmB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACzI;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAmC,MAAA,EAAiD,OAAA,EAAuD;AACvJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAmD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,mBAAA,CAAmB,IAAA,EAAK,EA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,OAAO,CAAA;AAAA,EAC9L;AAAA,EAEA,MAAM,YAAA,CAAa,EAAA,EAAgC,YAAA,EAAsB,QAAiD,OAAA,EAAuD;AAChL,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAAmD,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,mBAAA,CAAmB,IAAA,EAAM,cAAc,YAAA,EAAa,EAAG,QAAQ,OAAO,CAAA;AAAA,EACjM;AAAA,EAEA,MAAM,cAAA,CAAe,EAAA,EAAgC,MAAA,EAAiD,OAAA,EAAuD;AAC5J,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAAmD,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,mBAAA,CAAmB,IAAA,EAAM,gBAAgB,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EAC3L;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,2BAAA,GAAQ","file":"chunk-7KY7C5RC.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Coupon } from './coupons'\nimport type { Attachment } from './attachments'\nimport type { Event } from './events'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\nimport type { Sku } from './skus'\nimport type { PromotionRule } from './promotion_rules'\n\n\ntype ExternalPromotionType = 'external_promotions'\ntype ExternalPromotionRel = ResourceRel & { type: ExternalPromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type ExternalPromotionSort = Pick<ExternalPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort\n// export type ExternalPromotionFilter = Pick<ExternalPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceFilter\n\n\ninterface ExternalPromotion extends Resource {\n\t\n\treadonly type: ExternalPromotionType\n\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * The number of times this promotion has been applied.\n\t * @example ```2```\n\t */\n\ttotal_usage_count?: number | null\n\t/** \n\t * Indicates if the promotion 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 * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The URL to the service that will compute the discount.\n\t * @example ```\"https://external_promotion.yourbrand.com\"```\n\t */\n\tpromotion_url: string\n\t/** \n\t * The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.\n\t * @example ```\"closed\"```\n\t */\n\tcircuit_state?: string | null\n\t/** \n\t * The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.\n\t * @example ```5```\n\t */\n\tcircuit_failure_count?: number | null\n\t/** \n\t * The shared secret used to sign the external request payload.\n\t * @example ```\"1c0994cc4e996e8c6ee56a2198f66f3c\"```\n\t */\n\tshared_secret: string\n\n\tmarket?: Market | null\n\tpromotion_rules?: PromotionRule[] | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRule | null\n\tsku_list_promotion_rule?: SkuListPromotionRule | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n\tcustom_promotion_rule?: CustomPromotionRule | null\n\tsku_list?: SkuList | null\n\tcoupons?: Coupon[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\tskus?: Sku[] | null\n\n}\n\n\ninterface ExternalPromotionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The URL to the service that will compute the discount.\n\t * @example ```\"https://external_promotion.yourbrand.com\"```\n\t */\n\tpromotion_url: string\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface ExternalPromotionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at?: string | null\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\t/** \n\t * The URL to the service that will compute the discount.\n\t * @example ```\"https://external_promotion.yourbrand.com\"```\n\t */\n\tpromotion_url?: string | null\n\t/** \n\t * Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.\n\t * @example ```true```\n\t */\n\t_reset_circuit?: boolean | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass ExternalPromotions extends ApiResource<ExternalPromotion> {\n\n\tstatic readonly TYPE: ExternalPromotionType = 'external_promotions' as const\n\n\tasync create(resource: ExternalPromotionCreate, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.create<ExternalPromotionCreate, ExternalPromotion>({ ...resource, type: ExternalPromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ExternalPromotionUpdate, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ ...resource, type: ExternalPromotions.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: ExternalPromotions.TYPE } : id, options)\n\t}\n\n\tasync market(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `external_promotions/${_externalPromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `external_promotions/${_externalPromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `external_promotions/${_externalPromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `external_promotions/${_externalPromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `external_promotions/${_externalPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `external_promotions/${_externalPromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `external_promotions/${_externalPromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `external_promotions/${_externalPromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `external_promotions/${_externalPromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `external_promotions/${_externalPromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `external_promotions/${_externalPromotionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync skus(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `external_promotions/${_externalPromotionId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync _disable(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | ExternalPromotion, triggerValue: string, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | ExternalPromotion, triggerValue: string, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\tasync _reset_circuit(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _reset_circuit: true }, params, options)\n\t}\n\n\n\tisExternalPromotion(resource: any): resource is ExternalPromotion {\n\t\treturn resource.type && (resource.type === ExternalPromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ExternalPromotionRel {\n\t\treturn super.relationshipOneToOne<ExternalPromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ExternalPromotionRel[] {\n\t\treturn super.relationshipOneToMany<ExternalPromotionRel>(...ids)\n\t}\n\n\n\ttype(): ExternalPromotionType {\n\t\treturn ExternalPromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new ExternalPromotions()\nexport default instance\n\nexport type { ExternalPromotions, ExternalPromotion, ExternalPromotionCreate, ExternalPromotionUpdate, ExternalPromotionType }\n"]}
|
package/lib/chunk-7SG4WU7W.js
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
import { ApiResource } from './chunk-NAWKHFBZ.js';
|
2
|
-
|
3
|
-
// src/resources/google_geocoders.ts
|
4
|
-
var GoogleGeocoders = class _GoogleGeocoders extends ApiResource {
|
5
|
-
static TYPE = "google_geocoders";
|
6
|
-
async create(resource, params, options) {
|
7
|
-
return this.resources.create({ ...resource, type: _GoogleGeocoders.TYPE }, params, options);
|
8
|
-
}
|
9
|
-
async update(resource, params, options) {
|
10
|
-
return this.resources.update({ ...resource, type: _GoogleGeocoders.TYPE }, params, options);
|
11
|
-
}
|
12
|
-
async delete(id, options) {
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _GoogleGeocoders.TYPE } : id, options);
|
14
|
-
}
|
15
|
-
async markets(googleGeocoderId, params, options) {
|
16
|
-
const _googleGeocoderId = googleGeocoderId.id || googleGeocoderId;
|
17
|
-
return this.resources.fetch({ type: "markets" }, `google_geocoders/${_googleGeocoderId}/markets`, params, options);
|
18
|
-
}
|
19
|
-
async addresses(googleGeocoderId, params, options) {
|
20
|
-
const _googleGeocoderId = googleGeocoderId.id || googleGeocoderId;
|
21
|
-
return this.resources.fetch({ type: "addresses" }, `google_geocoders/${_googleGeocoderId}/addresses`, params, options);
|
22
|
-
}
|
23
|
-
async attachments(googleGeocoderId, params, options) {
|
24
|
-
const _googleGeocoderId = googleGeocoderId.id || googleGeocoderId;
|
25
|
-
return this.resources.fetch({ type: "attachments" }, `google_geocoders/${_googleGeocoderId}/attachments`, params, options);
|
26
|
-
}
|
27
|
-
isGoogleGeocoder(resource) {
|
28
|
-
return resource.type && resource.type === _GoogleGeocoders.TYPE;
|
29
|
-
}
|
30
|
-
relationship(id) {
|
31
|
-
return super.relationshipOneToOne(id);
|
32
|
-
}
|
33
|
-
relationshipToMany(...ids) {
|
34
|
-
return super.relationshipOneToMany(...ids);
|
35
|
-
}
|
36
|
-
type() {
|
37
|
-
return _GoogleGeocoders.TYPE;
|
38
|
-
}
|
39
|
-
};
|
40
|
-
var instance = new GoogleGeocoders();
|
41
|
-
var google_geocoders_default = instance;
|
42
|
-
|
43
|
-
export { google_geocoders_default };
|
44
|
-
//# sourceMappingURL=chunk-7SG4WU7W.js.map
|
45
|
-
//# sourceMappingURL=chunk-7SG4WU7W.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/google_geocoders.ts"],"names":[],"mappings":";;;AAkEA,IAAM,eAAA,GAAN,MAAM,gBAAA,SAAwB,WAAA,CAA4B;AAAA,EAEzD,OAAgB,IAAA,GAA2B,kBAAA;AAAA,EAE3C,MAAM,MAAA,CAAO,QAAA,EAAgC,MAAA,EAA8C,OAAA,EAAoD;AAC9I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,M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,WAAA,CAAY,gBAAA,EAA2C,MAAA,EAAsC,OAAA,EAA8D;AAChK,IAAA,MAAM,iBAAA,GAAqB,iBAAoC,EAAA,IAAM,gBAAA;AACrE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,aAAA,EAAc,EAAG,CAAA,iBAAA,EAAoB,iBAAiB,CAAA,YAAA,CAAA,EAAgB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACtI;AAAA,EAGA,iBAAiB,QAAA,EAA2C;AAC3D,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,gBAAA,CAAgB,IAAA;AAAA,EAC5D;AAAA,EAGA,aAAa,EAAA,EAAmD;AAC/D,IAAA,OAAO,KAAA,CAAM,qBAAwC,EAAE,CAAA;AAAA,EACxD;AAAA,EAEA,sBAAsB,GAAA,EAAoC;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAyC,GAAG,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-7SG4WU7W.js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Market } from './markets'\nimport type { Address } from './addresses'\nimport type { Attachment } from './attachments'\n\n\ntype GoogleGeocoderType = 'google_geocoders'\ntype GoogleGeocoderRel = ResourceRel & { type: GoogleGeocoderType }\n\n\nexport type GoogleGeocoderSort = Pick<GoogleGeocoder, 'id' | 'name'> & ResourceSort\n// export type GoogleGeocoderFilter = Pick<GoogleGeocoder, 'id' | 'name'> & ResourceFilter\n\n\ninterface GoogleGeocoder extends Resource {\n\t\n\treadonly type: GoogleGeocoderType\n\n\t/** \n\t * The geocoder's internal name.\n\t * @example ```\"Default geocoder\"```\n\t */\n\tname: string\n\n\tmarkets?: Market[] | null\n\taddresses?: Address[] | null\n\tattachments?: Attachment[] | null\n\n}\n\n\ninterface GoogleGeocoderCreate extends ResourceCreate {\n\t\n\t/** \n\t * The geocoder's internal name.\n\t * @example ```\"Default geocoder\"```\n\t */\n\tname: string\n\t/** \n\t * The Google Map API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key: string\n\t\n}\n\n\ninterface GoogleGeocoderUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The geocoder's internal name.\n\t * @example ```\"Default geocoder\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The Google Map API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key?: string | null\n\t\n}\n\n\nclass GoogleGeocoders extends ApiResource<GoogleGeocoder> {\n\n\tstatic readonly TYPE: GoogleGeocoderType = 'google_geocoders' as const\n\n\tasync create(resource: GoogleGeocoderCreate, params?: QueryParamsRetrieve<GoogleGeocoder>, options?: ResourcesConfig): Promise<GoogleGeocoder> {\n\t\treturn this.resources.create<GoogleGeocoderCreate, GoogleGeocoder>({ ...resource, type: GoogleGeocoders.TYPE }, params, options)\n\t}\n\n\tasync update(resource: GoogleGeocoderUpdate, params?: QueryParamsRetrieve<GoogleGeocoder>, options?: ResourcesConfig): Promise<GoogleGeocoder> {\n\t\treturn this.resources.update<GoogleGeocoderUpdate, GoogleGeocoder>({ ...resource, type: GoogleGeocoders.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: GoogleGeocoders.TYPE } : id, options)\n\t}\n\n\tasync markets(googleGeocoderId: string | GoogleGeocoder, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>> {\n\t\tconst _googleGeocoderId = (googleGeocoderId as GoogleGeocoder).id || googleGeocoderId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `google_geocoders/${_googleGeocoderId}/markets`, params, options) as unknown as ListResponse<Market>\n\t}\n\n\tasync addresses(googleGeocoderId: string | GoogleGeocoder, params?: QueryParamsList<Address>, options?: ResourcesConfig): Promise<ListResponse<Address>> {\n\t\tconst _googleGeocoderId = (googleGeocoderId as GoogleGeocoder).id || googleGeocoderId as string\n\t\treturn this.resources.fetch<Address>({ type: 'addresses' }, `google_geocoders/${_googleGeocoderId}/addresses`, params, options) as unknown as ListResponse<Address>\n\t}\n\n\tasync attachments(googleGeocoderId: string | GoogleGeocoder, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _googleGeocoderId = (googleGeocoderId as GoogleGeocoder).id || googleGeocoderId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `google_geocoders/${_googleGeocoderId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\n\tisGoogleGeocoder(resource: any): resource is GoogleGeocoder {\n\t\treturn resource.type && (resource.type === GoogleGeocoders.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): GoogleGeocoderRel {\n\t\treturn super.relationshipOneToOne<GoogleGeocoderRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): GoogleGeocoderRel[] {\n\t\treturn super.relationshipOneToMany<GoogleGeocoderRel>(...ids)\n\t}\n\n\n\ttype(): GoogleGeocoderType {\n\t\treturn GoogleGeocoders.TYPE\n\t}\n\n}\n\n\nconst instance = new GoogleGeocoders()\nexport default instance\n\nexport type { GoogleGeocoders, GoogleGeocoder, GoogleGeocoderCreate, GoogleGeocoderUpdate, GoogleGeocoderType }\n"]}
|
package/lib/chunk-7SZY5BWE.js
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
import { ApiResource } from './chunk-NAWKHFBZ.js';
|
2
|
-
|
3
|
-
// src/resources/customer_payment_sources.ts
|
4
|
-
var CustomerPaymentSources = class _CustomerPaymentSources extends ApiResource {
|
5
|
-
static TYPE = "customer_payment_sources";
|
6
|
-
async create(resource, params, options) {
|
7
|
-
return this.resources.create({ ...resource, type: _CustomerPaymentSources.TYPE }, params, options);
|
8
|
-
}
|
9
|
-
async update(resource, params, options) {
|
10
|
-
return this.resources.update({ ...resource, type: _CustomerPaymentSources.TYPE }, params, options);
|
11
|
-
}
|
12
|
-
async delete(id, options) {
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _CustomerPaymentSources.TYPE } : id, options);
|
14
|
-
}
|
15
|
-
async customer(customerPaymentSourceId, params, options) {
|
16
|
-
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
17
|
-
return this.resources.fetch({ type: "customers" }, `customer_payment_sources/${_customerPaymentSourceId}/customer`, params, options);
|
18
|
-
}
|
19
|
-
async payment_method(customerPaymentSourceId, params, options) {
|
20
|
-
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
21
|
-
return this.resources.fetch({ type: "payment_methods" }, `customer_payment_sources/${_customerPaymentSourceId}/payment_method`, params, options);
|
22
|
-
}
|
23
|
-
async versions(customerPaymentSourceId, params, options) {
|
24
|
-
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
25
|
-
return this.resources.fetch({ type: "versions" }, `customer_payment_sources/${_customerPaymentSourceId}/versions`, params, options);
|
26
|
-
}
|
27
|
-
isCustomerPaymentSource(resource) {
|
28
|
-
return resource.type && resource.type === _CustomerPaymentSources.TYPE;
|
29
|
-
}
|
30
|
-
relationship(id) {
|
31
|
-
return super.relationshipOneToOne(id);
|
32
|
-
}
|
33
|
-
relationshipToMany(...ids) {
|
34
|
-
return super.relationshipOneToMany(...ids);
|
35
|
-
}
|
36
|
-
type() {
|
37
|
-
return _CustomerPaymentSources.TYPE;
|
38
|
-
}
|
39
|
-
};
|
40
|
-
var instance = new CustomerPaymentSources();
|
41
|
-
var customer_payment_sources_default = instance;
|
42
|
-
|
43
|
-
export { customer_payment_sources_default };
|
44
|
-
//# sourceMappingURL=chunk-7SZY5BWE.js.map
|
45
|
-
//# sourceMappingURL=chunk-7SZY5BWE.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/customer_payment_sources.ts"],"names":[],"mappings":";;;AA2GA,IAAM,sBAAA,GAAN,MAAM,uBAAA,SAA+B,WAAA,CAAmC;AAAA,EAEvE,OAAgB,IAAA,GAAkC,0BAAA;AAAA,EAElD,MAAM,MAAA,CAAO,QAAA,EAAuC,MAAA,EAAqD,OAAA,EAA2D;AACnK,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2D,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,uBAAA,CAAuB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACrJ;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAuC,MAAA,EAAqD,OAAA,EAA2D;AACnK,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2D,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,uBAAA,CAAuB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACrJ;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,uBAAA,CAAuB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC9G;AAAA,EAEA,MAAM,QAAA,CAAS,uBAAA,EAAyD,MAAA,EAAwC,OAAA,EAA8C;AAC7J,IAAA,MAAM,wBAAA,GAA4B,wBAAkD,EAAA,IAAM,uBAAA;AAC1F,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAA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EAAuB;AAC5C,IAAO,gCAAA,GAAQ","file":"chunk-7SZY5BWE.js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Customer, CustomerType } from './customers'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { Version } from './versions'\nimport type { AdyenPayment, AdyenPaymentType } from './adyen_payments'\nimport type { AxervePayment, AxervePaymentType } from './axerve_payments'\nimport type { BraintreePayment, BraintreePaymentType } from './braintree_payments'\nimport type { CheckoutComPayment, CheckoutComPaymentType } from './checkout_com_payments'\nimport type { ExternalPayment, ExternalPaymentType } from './external_payments'\nimport type { KlarnaPayment, KlarnaPaymentType } from './klarna_payments'\nimport type { PaypalPayment, PaypalPaymentType } from './paypal_payments'\nimport type { SatispayPayment, SatispayPaymentType } from './satispay_payments'\nimport type { StripePayment, StripePaymentType } from './stripe_payments'\nimport type { WireTransfer, WireTransferType } from './wire_transfers'\n\n\ntype CustomerPaymentSourceType = 'customer_payment_sources'\ntype CustomerPaymentSourceRel = ResourceRel & { type: CustomerPaymentSourceType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\ntype AdyenPaymentRel = ResourceRel & { type: AdyenPaymentType }\ntype AxervePaymentRel = ResourceRel & { type: AxervePaymentType }\ntype BraintreePaymentRel = ResourceRel & { type: BraintreePaymentType }\ntype CheckoutComPaymentRel = ResourceRel & { type: CheckoutComPaymentType }\ntype ExternalPaymentRel = ResourceRel & { type: ExternalPaymentType }\ntype KlarnaPaymentRel = ResourceRel & { type: KlarnaPaymentType }\ntype PaypalPaymentRel = ResourceRel & { type: PaypalPaymentType }\ntype SatispayPaymentRel = ResourceRel & { type: SatispayPaymentType }\ntype StripePaymentRel = ResourceRel & { type: StripePaymentType }\ntype WireTransferRel = ResourceRel & { type: WireTransferType }\n\n\nexport type CustomerPaymentSourceSort = Pick<CustomerPaymentSource, 'id'> & ResourceSort\n// export type CustomerPaymentSourceFilter = Pick<CustomerPaymentSource, 'id' | 'name' | 'payment_source_token'> & ResourceFilter\n\n\ninterface CustomerPaymentSource extends Resource {\n\t\n\treadonly type: CustomerPaymentSourceType\n\n\t/** \n\t * Returns the associated payment source's name.\n\t * @example ```\"XXXX-XXXX-XXXX-1111\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Returns the customer gateway token stored in the gateway.\n\t * @example ```\"cus_xxxyyyzzz\"```\n\t */\n\tcustomer_token?: string | null\n\t/** \n\t * Returns the payment source token stored in the gateway.\n\t * @example ```\"pm_xxxyyyzzz\"```\n\t */\n\tpayment_source_token?: string | null\n\n\tcustomer?: Customer | null\n\tpayment_method?: PaymentMethod | null\n\tpayment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null\n\tversions?: Version[] | null\n\n}\n\n\ninterface CustomerPaymentSourceCreate extends ResourceCreate {\n\t\n\t/** \n\t * Returns the customer gateway token stored in the gateway.\n\t * @example ```\"cus_xxxyyyzzz\"```\n\t */\n\tcustomer_token?: string | null\n\t/** \n\t * Returns the payment source token stored in the gateway.\n\t * @example ```\"pm_xxxyyyzzz\"```\n\t */\n\tpayment_source_token?: string | null\n\n\tcustomer: CustomerRel\n\tpayment_method?: PaymentMethodRel | null\n\tpayment_source?: AdyenPaymentRel | AxervePaymentRel | BraintreePaymentRel | CheckoutComPaymentRel | ExternalPaymentRel | KlarnaPaymentRel | PaypalPaymentRel | SatispayPaymentRel | StripePaymentRel | WireTransferRel | null\n\n}\n\n\ninterface CustomerPaymentSourceUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * Returns the customer gateway token stored in the gateway.\n\t * @example ```\"cus_xxxyyyzzz\"```\n\t */\n\tcustomer_token?: string | null\n\t/** \n\t * Returns the payment source token stored in the gateway.\n\t * @example ```\"pm_xxxyyyzzz\"```\n\t */\n\tpayment_source_token?: string | null\n\n\tcustomer?: CustomerRel | null\n\tpayment_method?: PaymentMethodRel | null\n\tpayment_source?: AdyenPaymentRel | AxervePaymentRel | BraintreePaymentRel | CheckoutComPaymentRel | ExternalPaymentRel | KlarnaPaymentRel | PaypalPaymentRel | SatispayPaymentRel | StripePaymentRel | WireTransferRel | null\n\n}\n\n\nclass CustomerPaymentSources extends ApiResource<CustomerPaymentSource> {\n\n\tstatic readonly TYPE: CustomerPaymentSourceType = 'customer_payment_sources' as const\n\n\tasync create(resource: CustomerPaymentSourceCreate, params?: QueryParamsRetrieve<CustomerPaymentSource>, options?: ResourcesConfig): Promise<CustomerPaymentSource> {\n\t\treturn this.resources.create<CustomerPaymentSourceCreate, CustomerPaymentSource>({ ...resource, type: CustomerPaymentSources.TYPE }, params, options)\n\t}\n\n\tasync update(resource: CustomerPaymentSourceUpdate, params?: QueryParamsRetrieve<CustomerPaymentSource>, options?: ResourcesConfig): Promise<CustomerPaymentSource> {\n\t\treturn this.resources.update<CustomerPaymentSourceUpdate, CustomerPaymentSource>({ ...resource, type: CustomerPaymentSources.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: CustomerPaymentSources.TYPE } : id, options)\n\t}\n\n\tasync customer(customerPaymentSourceId: string | CustomerPaymentSource, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\tconst _customerPaymentSourceId = (customerPaymentSourceId as CustomerPaymentSource).id || customerPaymentSourceId as string\n\t\treturn this.resources.fetch<Customer>({ type: 'customers' }, `customer_payment_sources/${_customerPaymentSourceId}/customer`, params, options) as unknown as Customer\n\t}\n\n\tasync payment_method(customerPaymentSourceId: string | CustomerPaymentSource, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod> {\n\t\tconst _customerPaymentSourceId = (customerPaymentSourceId as CustomerPaymentSource).id || customerPaymentSourceId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `customer_payment_sources/${_customerPaymentSourceId}/payment_method`, params, options) as unknown as PaymentMethod\n\t}\n\n\tasync versions(customerPaymentSourceId: string | CustomerPaymentSource, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _customerPaymentSourceId = (customerPaymentSourceId as CustomerPaymentSource).id || customerPaymentSourceId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `customer_payment_sources/${_customerPaymentSourceId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\n\tisCustomerPaymentSource(resource: any): resource is CustomerPaymentSource {\n\t\treturn resource.type && (resource.type === CustomerPaymentSources.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): CustomerPaymentSourceRel {\n\t\treturn super.relationshipOneToOne<CustomerPaymentSourceRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): CustomerPaymentSourceRel[] {\n\t\treturn super.relationshipOneToMany<CustomerPaymentSourceRel>(...ids)\n\t}\n\n\n\ttype(): CustomerPaymentSourceType {\n\t\treturn CustomerPaymentSources.TYPE\n\t}\n\n}\n\n\nconst instance = new CustomerPaymentSources()\nexport default instance\n\nexport type { CustomerPaymentSources, CustomerPaymentSource, CustomerPaymentSourceCreate, CustomerPaymentSourceUpdate, CustomerPaymentSourceType }\n"]}
|
package/lib/chunk-7VSYXEXL.js
DELETED
@@ -1,59 +0,0 @@
|
|
1
|
-
import { ApiResource } from './chunk-NAWKHFBZ.js';
|
2
|
-
|
3
|
-
// src/resources/coupons.ts
|
4
|
-
var Coupons = class _Coupons extends ApiResource {
|
5
|
-
static TYPE = "coupons";
|
6
|
-
async create(resource, params, options) {
|
7
|
-
return this.resources.create({ ...resource, type: _Coupons.TYPE }, params, options);
|
8
|
-
}
|
9
|
-
async update(resource, params, options) {
|
10
|
-
return this.resources.update({ ...resource, type: _Coupons.TYPE }, params, options);
|
11
|
-
}
|
12
|
-
async delete(id, options) {
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _Coupons.TYPE } : id, options);
|
14
|
-
}
|
15
|
-
async promotion_rule(couponId, params, options) {
|
16
|
-
const _couponId = couponId.id || couponId;
|
17
|
-
return this.resources.fetch({ type: "coupon_codes_promotion_rules" }, `coupons/${_couponId}/promotion_rule`, params, options);
|
18
|
-
}
|
19
|
-
async coupon_recipient(couponId, params, options) {
|
20
|
-
const _couponId = couponId.id || couponId;
|
21
|
-
return this.resources.fetch({ type: "coupon_recipients" }, `coupons/${_couponId}/coupon_recipient`, params, options);
|
22
|
-
}
|
23
|
-
async events(couponId, params, options) {
|
24
|
-
const _couponId = couponId.id || couponId;
|
25
|
-
return this.resources.fetch({ type: "events" }, `coupons/${_couponId}/events`, params, options);
|
26
|
-
}
|
27
|
-
async tags(couponId, params, options) {
|
28
|
-
const _couponId = couponId.id || couponId;
|
29
|
-
return this.resources.fetch({ type: "tags" }, `coupons/${_couponId}/tags`, params, options);
|
30
|
-
}
|
31
|
-
async versions(couponId, params, options) {
|
32
|
-
const _couponId = couponId.id || couponId;
|
33
|
-
return this.resources.fetch({ type: "versions" }, `coupons/${_couponId}/versions`, params, options);
|
34
|
-
}
|
35
|
-
async _add_tags(id, triggerValue, params, options) {
|
36
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Coupons.TYPE, _add_tags: triggerValue }, params, options);
|
37
|
-
}
|
38
|
-
async _remove_tags(id, triggerValue, params, options) {
|
39
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Coupons.TYPE, _remove_tags: triggerValue }, params, options);
|
40
|
-
}
|
41
|
-
isCoupon(resource) {
|
42
|
-
return resource.type && resource.type === _Coupons.TYPE;
|
43
|
-
}
|
44
|
-
relationship(id) {
|
45
|
-
return super.relationshipOneToOne(id);
|
46
|
-
}
|
47
|
-
relationshipToMany(...ids) {
|
48
|
-
return super.relationshipOneToMany(...ids);
|
49
|
-
}
|
50
|
-
type() {
|
51
|
-
return _Coupons.TYPE;
|
52
|
-
}
|
53
|
-
};
|
54
|
-
var instance = new Coupons();
|
55
|
-
var coupons_default = instance;
|
56
|
-
|
57
|
-
export { coupons_default };
|
58
|
-
//# sourceMappingURL=chunk-7VSYXEXL.js.map
|
59
|
-
//# sourceMappingURL=chunk-7VSYXEXL.js.map
|