@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-TIJIXGNJ.cjs
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
var chunkQYDOENWU_cjs = require('./chunk-QYDOENWU.cjs');
|
4
|
-
|
5
|
-
// src/resources/versions.ts
|
6
|
-
var Versions = class _Versions extends chunkQYDOENWU_cjs.ApiResource {
|
7
|
-
static TYPE = "versions";
|
8
|
-
isVersion(resource) {
|
9
|
-
return resource.type && resource.type === _Versions.TYPE;
|
10
|
-
}
|
11
|
-
relationship(id) {
|
12
|
-
return super.relationshipOneToOne(id);
|
13
|
-
}
|
14
|
-
relationshipToMany(...ids) {
|
15
|
-
return super.relationshipOneToMany(...ids);
|
16
|
-
}
|
17
|
-
type() {
|
18
|
-
return _Versions.TYPE;
|
19
|
-
}
|
20
|
-
};
|
21
|
-
var instance = new Versions();
|
22
|
-
var versions_default = instance;
|
23
|
-
|
24
|
-
exports.versions_default = versions_default;
|
25
|
-
//# sourceMappingURL=chunk-TIJIXGNJ.cjs.map
|
26
|
-
//# sourceMappingURL=chunk-TIJIXGNJ.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/versions.ts"],"names":["ApiResource"],"mappings":";;;;;AA+CA,IAAM,QAAA,GAAN,MAAM,SAAA,SAAiBA,6BAAA,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-TIJIXGNJ.cjs","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-TM5OCFYV.cjs
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
var chunkQYDOENWU_cjs = require('./chunk-QYDOENWU.cjs');
|
4
|
-
|
5
|
-
// src/resources/sku_options.ts
|
6
|
-
var SkuOptions = class _SkuOptions extends chunkQYDOENWU_cjs.ApiResource {
|
7
|
-
static TYPE = "sku_options";
|
8
|
-
async create(resource, params, options) {
|
9
|
-
return this.resources.create({ ...resource, type: _SkuOptions.TYPE }, params, options);
|
10
|
-
}
|
11
|
-
async update(resource, params, options) {
|
12
|
-
return this.resources.update({ ...resource, type: _SkuOptions.TYPE }, params, options);
|
13
|
-
}
|
14
|
-
async delete(id, options) {
|
15
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _SkuOptions.TYPE } : id, options);
|
16
|
-
}
|
17
|
-
async market(skuOptionId, params, options) {
|
18
|
-
const _skuOptionId = skuOptionId.id || skuOptionId;
|
19
|
-
return this.resources.fetch({ type: "markets" }, `sku_options/${_skuOptionId}/market`, params, options);
|
20
|
-
}
|
21
|
-
async attachments(skuOptionId, params, options) {
|
22
|
-
const _skuOptionId = skuOptionId.id || skuOptionId;
|
23
|
-
return this.resources.fetch({ type: "attachments" }, `sku_options/${_skuOptionId}/attachments`, params, options);
|
24
|
-
}
|
25
|
-
async events(skuOptionId, params, options) {
|
26
|
-
const _skuOptionId = skuOptionId.id || skuOptionId;
|
27
|
-
return this.resources.fetch({ type: "events" }, `sku_options/${_skuOptionId}/events`, params, options);
|
28
|
-
}
|
29
|
-
async tags(skuOptionId, params, options) {
|
30
|
-
const _skuOptionId = skuOptionId.id || skuOptionId;
|
31
|
-
return this.resources.fetch({ type: "tags" }, `sku_options/${_skuOptionId}/tags`, params, options);
|
32
|
-
}
|
33
|
-
async versions(skuOptionId, params, options) {
|
34
|
-
const _skuOptionId = skuOptionId.id || skuOptionId;
|
35
|
-
return this.resources.fetch({ type: "versions" }, `sku_options/${_skuOptionId}/versions`, params, options);
|
36
|
-
}
|
37
|
-
async _add_tags(id, triggerValue, params, options) {
|
38
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _SkuOptions.TYPE, _add_tags: triggerValue }, params, options);
|
39
|
-
}
|
40
|
-
async _remove_tags(id, triggerValue, params, options) {
|
41
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _SkuOptions.TYPE, _remove_tags: triggerValue }, params, options);
|
42
|
-
}
|
43
|
-
isSkuOption(resource) {
|
44
|
-
return resource.type && resource.type === _SkuOptions.TYPE;
|
45
|
-
}
|
46
|
-
relationship(id) {
|
47
|
-
return super.relationshipOneToOne(id);
|
48
|
-
}
|
49
|
-
relationshipToMany(...ids) {
|
50
|
-
return super.relationshipOneToMany(...ids);
|
51
|
-
}
|
52
|
-
type() {
|
53
|
-
return _SkuOptions.TYPE;
|
54
|
-
}
|
55
|
-
};
|
56
|
-
var instance = new SkuOptions();
|
57
|
-
var sku_options_default = instance;
|
58
|
-
|
59
|
-
exports.sku_options_default = sku_options_default;
|
60
|
-
//# sourceMappingURL=chunk-TM5OCFYV.cjs.map
|
61
|
-
//# sourceMappingURL=chunk-TM5OCFYV.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/sku_options.ts"],"names":["ApiResource"],"mappings":";;;;;AAsKA,IAAM,UAAA,GAAN,MAAM,WAAA,SAAmBA,6BAAA,CAAuB;AAAA,EAE/C,OAAgB,IAAA,GAAsB,aAAA;AAAA,EAEtC,MAAM,MAAA,CAAO,QAAA,EAA2B,MAAA,EAAyC,OAAA,EAA+C;AAC/H,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAmC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,WAAA,CAAW,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACjH;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA2B,MAAA,EAAyC,OAAA,EAA+C;AAC/H,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAmC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,WAAA,CAAW,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACjH;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,WAAA,CAAW,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAClG;AAAA,EAEA,MAAM,MAAA,CAAO,WAAA,EAAiC,MAAA,EAAsC,OAAA,EAA4C;AAC/H,IAAA,MAAM,YAAA,GAAgB,YAA0B,EAAA,IAAM,WAAA;AACtD,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAc,EAAE,IAAA,EAAM,SAAA,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ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Market, MarketType } from './markets'\nimport type { Attachment } from './attachments'\nimport type { Event } from './events'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\n\n\ntype SkuOptionType = 'sku_options'\ntype SkuOptionRel = ResourceRel & { type: SkuOptionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type SkuOptionSort = Pick<SkuOption, 'id' | 'name' | 'currency_code' | 'price_amount_cents' | 'delay_hours' | 'delay_days'> & ResourceSort\n// export type SkuOptionFilter = Pick<SkuOption, 'id' | 'name' | 'currency_code' | 'description' | 'price_amount_cents' | 'delay_hours' | 'delay_days'> & ResourceFilter\n\n\ninterface SkuOption extends Resource {\n\t\n\treadonly type: SkuOptionType\n\n\t/** \n\t * The SKU option's internal name.\n\t * @example ```\"Embossing\"```\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 * An internal description of the SKU option.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The price of this shipping method, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents?: number | null\n\t/** \n\t * The price of this shipping method, float.\n\t * @example ```10```\n\t */\n\tprice_amount_float?: number | null\n\t/** \n\t * The price of this shipping method, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_price_amount?: string | null\n\t/** \n\t * The delay time (in hours) that should be added to the delivery lead time when this option is purchased.\n\t * @example ```48```\n\t */\n\tdelay_hours?: number | null\n\t/** \n\t * The delay time, in days (rounded).\n\t * @example ```2```\n\t */\n\tdelay_days?: number | null\n\t/** \n\t * The regex that will be evaluated to match the SKU codes, max size is 5000.\n\t * @example ```\"^(A|B).*$\"```\n\t */\n\tsku_code_regex?: string | null\n\n\tmarket?: Market | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\n}\n\n\ninterface SkuOptionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The SKU option's internal name.\n\t * @example ```\"Embossing\"```\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 * An internal description of the SKU option.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The price of this shipping method, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents?: number | null\n\t/** \n\t * The delay time (in hours) that should be added to the delivery lead time when this option is purchased.\n\t * @example ```48```\n\t */\n\tdelay_hours?: number | null\n\t/** \n\t * The regex that will be evaluated to match the SKU codes, max size is 5000.\n\t * @example ```\"^(A|B).*$\"```\n\t */\n\tsku_code_regex?: string | null\n\n\tmarket?: MarketRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface SkuOptionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The SKU option's internal name.\n\t * @example ```\"Embossing\"```\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 * An internal description of the SKU option.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The price of this shipping method, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents?: number | null\n\t/** \n\t * The delay time (in hours) that should be added to the delivery lead time when this option is purchased.\n\t * @example ```48```\n\t */\n\tdelay_hours?: number | null\n\t/** \n\t * The regex that will be evaluated to match the SKU codes, max size is 5000.\n\t * @example ```\"^(A|B).*$\"```\n\t */\n\tsku_code_regex?: string | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\n\tmarket?: MarketRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass SkuOptions extends ApiResource<SkuOption> {\n\n\tstatic readonly TYPE: SkuOptionType = 'sku_options' as const\n\n\tasync create(resource: SkuOptionCreate, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption> {\n\t\treturn this.resources.create<SkuOptionCreate, SkuOption>({ ...resource, type: SkuOptions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: SkuOptionUpdate, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption> {\n\t\treturn this.resources.update<SkuOptionUpdate, SkuOption>({ ...resource, type: SkuOptions.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: SkuOptions.TYPE } : id, options)\n\t}\n\n\tasync market(skuOptionId: string | SkuOption, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _skuOptionId = (skuOptionId as SkuOption).id || skuOptionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `sku_options/${_skuOptionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync attachments(skuOptionId: string | SkuOption, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _skuOptionId = (skuOptionId as SkuOption).id || skuOptionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `sku_options/${_skuOptionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(skuOptionId: string | SkuOption, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _skuOptionId = (skuOptionId as SkuOption).id || skuOptionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `sku_options/${_skuOptionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(skuOptionId: string | SkuOption, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _skuOptionId = (skuOptionId as SkuOption).id || skuOptionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `sku_options/${_skuOptionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(skuOptionId: string | SkuOption, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _skuOptionId = (skuOptionId as SkuOption).id || skuOptionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `sku_options/${_skuOptionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync _add_tags(id: string | SkuOption, triggerValue: string, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption> {\n\t\treturn this.resources.update<SkuOptionUpdate, SkuOption>({ id: (typeof id === 'string')? id: id.id, type: SkuOptions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | SkuOption, triggerValue: string, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption> {\n\t\treturn this.resources.update<SkuOptionUpdate, SkuOption>({ id: (typeof id === 'string')? id: id.id, type: SkuOptions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisSkuOption(resource: any): resource is SkuOption {\n\t\treturn resource.type && (resource.type === SkuOptions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): SkuOptionRel {\n\t\treturn super.relationshipOneToOne<SkuOptionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): SkuOptionRel[] {\n\t\treturn super.relationshipOneToMany<SkuOptionRel>(...ids)\n\t}\n\n\n\ttype(): SkuOptionType {\n\t\treturn SkuOptions.TYPE\n\t}\n\n}\n\n\nconst instance = new SkuOptions()\nexport default instance\n\nexport type { SkuOptions, SkuOption, SkuOptionCreate, SkuOptionUpdate, SkuOptionType }\n"]}
|
package/lib/chunk-TOV6ECTA.js
DELETED
@@ -1,101 +0,0 @@
|
|
1
|
-
import { ApiResource } from './chunk-NAWKHFBZ.js';
|
2
|
-
|
3
|
-
// src/resources/customers.ts
|
4
|
-
var Customers = class _Customers extends ApiResource {
|
5
|
-
static TYPE = "customers";
|
6
|
-
async create(resource, params, options) {
|
7
|
-
return this.resources.create({ ...resource, type: _Customers.TYPE }, params, options);
|
8
|
-
}
|
9
|
-
async update(resource, params, options) {
|
10
|
-
return this.resources.update({ ...resource, type: _Customers.TYPE }, params, options);
|
11
|
-
}
|
12
|
-
async delete(id, options) {
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _Customers.TYPE } : id, options);
|
14
|
-
}
|
15
|
-
async customer_group(customerId, params, options) {
|
16
|
-
const _customerId = customerId.id || customerId;
|
17
|
-
return this.resources.fetch({ type: "customer_groups" }, `customers/${_customerId}/customer_group`, params, options);
|
18
|
-
}
|
19
|
-
async customer_addresses(customerId, params, options) {
|
20
|
-
const _customerId = customerId.id || customerId;
|
21
|
-
return this.resources.fetch({ type: "customer_addresses" }, `customers/${_customerId}/customer_addresses`, params, options);
|
22
|
-
}
|
23
|
-
async customer_payment_sources(customerId, params, options) {
|
24
|
-
const _customerId = customerId.id || customerId;
|
25
|
-
return this.resources.fetch({ type: "customer_payment_sources" }, `customers/${_customerId}/customer_payment_sources`, params, options);
|
26
|
-
}
|
27
|
-
async customer_subscriptions(customerId, params, options) {
|
28
|
-
const _customerId = customerId.id || customerId;
|
29
|
-
return this.resources.fetch({ type: "customer_subscriptions" }, `customers/${_customerId}/customer_subscriptions`, params, options);
|
30
|
-
}
|
31
|
-
async orders(customerId, params, options) {
|
32
|
-
const _customerId = customerId.id || customerId;
|
33
|
-
return this.resources.fetch({ type: "orders" }, `customers/${_customerId}/orders`, params, options);
|
34
|
-
}
|
35
|
-
async order_subscriptions(customerId, params, options) {
|
36
|
-
const _customerId = customerId.id || customerId;
|
37
|
-
return this.resources.fetch({ type: "order_subscriptions" }, `customers/${_customerId}/order_subscriptions`, params, options);
|
38
|
-
}
|
39
|
-
async returns(customerId, params, options) {
|
40
|
-
const _customerId = customerId.id || customerId;
|
41
|
-
return this.resources.fetch({ type: "returns" }, `customers/${_customerId}/returns`, params, options);
|
42
|
-
}
|
43
|
-
async sku_lists(customerId, params, options) {
|
44
|
-
const _customerId = customerId.id || customerId;
|
45
|
-
return this.resources.fetch({ type: "sku_lists" }, `customers/${_customerId}/sku_lists`, params, options);
|
46
|
-
}
|
47
|
-
async attachments(customerId, params, options) {
|
48
|
-
const _customerId = customerId.id || customerId;
|
49
|
-
return this.resources.fetch({ type: "attachments" }, `customers/${_customerId}/attachments`, params, options);
|
50
|
-
}
|
51
|
-
async events(customerId, params, options) {
|
52
|
-
const _customerId = customerId.id || customerId;
|
53
|
-
return this.resources.fetch({ type: "events" }, `customers/${_customerId}/events`, params, options);
|
54
|
-
}
|
55
|
-
async tags(customerId, params, options) {
|
56
|
-
const _customerId = customerId.id || customerId;
|
57
|
-
return this.resources.fetch({ type: "tags" }, `customers/${_customerId}/tags`, params, options);
|
58
|
-
}
|
59
|
-
async jwt_customer(customerId, params, options) {
|
60
|
-
const _customerId = customerId.id || customerId;
|
61
|
-
return this.resources.fetch({ type: "customers" }, `customers/${_customerId}/jwt_customer`, params, options);
|
62
|
-
}
|
63
|
-
async jwt_markets(customerId, params, options) {
|
64
|
-
const _customerId = customerId.id || customerId;
|
65
|
-
return this.resources.fetch({ type: "markets" }, `customers/${_customerId}/jwt_markets`, params, options);
|
66
|
-
}
|
67
|
-
async jwt_stock_locations(customerId, params, options) {
|
68
|
-
const _customerId = customerId.id || customerId;
|
69
|
-
return this.resources.fetch({ type: "stock_locations" }, `customers/${_customerId}/jwt_stock_locations`, params, options);
|
70
|
-
}
|
71
|
-
async _add_tags(id, triggerValue, params, options) {
|
72
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Customers.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: _Customers.TYPE, _remove_tags: triggerValue }, params, options);
|
76
|
-
}
|
77
|
-
async _request_anonymization(id, params, options) {
|
78
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _request_anonymization: true }, params, options);
|
79
|
-
}
|
80
|
-
async _cancel_anonymization(id, params, options) {
|
81
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _cancel_anonymization: true }, params, options);
|
82
|
-
}
|
83
|
-
isCustomer(resource) {
|
84
|
-
return resource.type && resource.type === _Customers.TYPE;
|
85
|
-
}
|
86
|
-
relationship(id) {
|
87
|
-
return super.relationshipOneToOne(id);
|
88
|
-
}
|
89
|
-
relationshipToMany(...ids) {
|
90
|
-
return super.relationshipOneToMany(...ids);
|
91
|
-
}
|
92
|
-
type() {
|
93
|
-
return _Customers.TYPE;
|
94
|
-
}
|
95
|
-
};
|
96
|
-
var instance = new Customers();
|
97
|
-
var customers_default = instance;
|
98
|
-
|
99
|
-
export { customers_default };
|
100
|
-
//# sourceMappingURL=chunk-TOV6ECTA.js.map
|
101
|
-
//# sourceMappingURL=chunk-TOV6ECTA.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/customers.ts"],"names":[],"mappings":";;;AA2LA,IAAM,SAAA,GAAN,MAAM,UAAA,SAAkB,WAAA,CAAs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AA;AAAA,EACvK;AAAA,EAGA,WAAW,QAAA,EAAqC;AAC/C,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,UAAA,CAAU,IAAA;AAAA,EACtD;AAAA,EAGA,aAAa,EAAA,EAA6C;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAkC,EAAE,CAAA;AAAA,EAClD;AAAA,EAEA,sBAAsB,GAAA,EAA8B;AACnD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAmC,GAAG,GAAG,CAAA;AAAA,EACvD;AAAA,EAGA,IAAA,GAAqB;AACpB,IAAA,OAAO,UAAA,CAAU,IAAA;AAAA,EAClB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,SAAA,EAAU;AAC/B,IAAO,iBAAA,GAAQ","file":"chunk-TOV6ECTA.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 { CustomerGroup, CustomerGroupType } from './customer_groups'\nimport type { CustomerAddress } from './customer_addresses'\nimport type { CustomerPaymentSource } from './customer_payment_sources'\nimport type { CustomerSubscription } from './customer_subscriptions'\nimport type { Order } from './orders'\nimport type { OrderSubscription } from './order_subscriptions'\nimport type { Return } from './returns'\nimport type { SkuList } from './sku_lists'\nimport type { Attachment } from './attachments'\nimport type { Event } from './events'\nimport type { Tag, TagType } from './tags'\nimport type { Market } from './markets'\nimport type { StockLocation } from './stock_locations'\n\n\ntype CustomerType = 'customers'\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type CustomerSort = Pick<Customer, 'id' | 'email' | 'status' | 'total_orders_count' | 'anonymization_status'> & ResourceSort\n// export type CustomerFilter = Pick<Customer, 'id' | 'email' | 'status' | 'total_orders_count' | 'anonymization_status'> & ResourceFilter\n\n\ninterface Customer extends Resource {\n\t\n\treadonly type: CustomerType\n\n\t/** \n\t * The customer's email address.\n\t * @example ```\"john@example.com\"```\n\t */\n\temail: string\n\t/** \n\t * The customer's status. One of 'prospect' (default), 'acquired', or 'repeat'.\n\t * @example ```\"prospect\"```\n\t */\n\tstatus: 'prospect' | 'acquired' | 'repeat'\n\t/** \n\t * Indicates if the customer has a password.\n\t */\n\thas_password?: boolean | null\n\t/** \n\t * The total number of orders for the customer.\n\t * @example ```6```\n\t */\n\ttotal_orders_count?: number | null\n\t/** \n\t * A reference to uniquely identify the shopper during payment sessions.\n\t * @example ```\"xxx-yyy-zzz\"```\n\t */\n\tshopper_reference?: string | null\n\t/** \n\t * A reference to uniquely identify the customer on any connected external services.\n\t * @example ```\"xxx-yyy-zzz\"```\n\t */\n\tprofile_id?: string | null\n\t/** \n\t * A specific code to identify the tax exemption reason for this customer.\n\t * @example ```\"xxx-yyy-zzz\"```\n\t */\n\ttax_exemption_code?: string | null\n\t/** \n\t * The custom_claim attached to the current JWT (if any).\n\t * @example ```{}```\n\t */\n\tjwt_custom_claim?: Record<string, any> | null\n\t/** \n\t * The anonymization info object.\n\t * @example ```{\"status\":\"requested\",\"requested_at\":\"2025-03-15 11:39:21 UTC\",\"requester\":{\"id\":\"fdgt56hh\",\"first_name\":\"Travis\",\"last_name\":\"Muller\",\"email\":\"test@labadie.test\"}}```\n\t */\n\tanonymization_info?: Record<string, any> | null\n\t/** \n\t * Status of the current anonymization request (if any).\n\t * @example ```\"requested\"```\n\t */\n\tanonymization_status?: string | null\n\n\tcustomer_group?: CustomerGroup | null\n\tcustomer_addresses?: CustomerAddress[] | null\n\tcustomer_payment_sources?: CustomerPaymentSource[] | null\n\tcustomer_subscriptions?: CustomerSubscription[] | null\n\torders?: Order[] | null\n\torder_subscriptions?: OrderSubscription[] | null\n\treturns?: Return[] | null\n\tsku_lists?: SkuList[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tjwt_customer?: Customer | null\n\tjwt_markets?: Market[] | null\n\tjwt_stock_locations?: StockLocation[] | null\n\n}\n\n\ninterface CustomerCreate extends ResourceCreate {\n\t\n\t/** \n\t * The customer's email address.\n\t * @example ```\"john@example.com\"```\n\t */\n\temail: string\n\t/** \n\t * The customer's password. Initiate a customer password reset flow if you need to change it.\n\t * @example ```\"secret\"```\n\t */\n\tpassword?: string | null\n\t/** \n\t * A reference to uniquely identify the shopper during payment sessions.\n\t * @example ```\"xxx-yyy-zzz\"```\n\t */\n\tshopper_reference?: string | null\n\t/** \n\t * A reference to uniquely identify the customer on any connected external services.\n\t * @example ```\"xxx-yyy-zzz\"```\n\t */\n\tprofile_id?: string | null\n\t/** \n\t * A specific code to identify the tax exemption reason for this customer.\n\t * @example ```\"xxx-yyy-zzz\"```\n\t */\n\ttax_exemption_code?: string | null\n\n\tcustomer_group?: CustomerGroupRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface CustomerUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The customer's email address.\n\t * @example ```\"john@example.com\"```\n\t */\n\temail?: string | null\n\t/** \n\t * The customer's password. Initiate a customer password reset flow if you need to change it.\n\t * @example ```\"secret\"```\n\t */\n\tpassword?: string | null\n\t/** \n\t * A reference to uniquely identify the shopper during payment sessions.\n\t * @example ```\"xxx-yyy-zzz\"```\n\t */\n\tshopper_reference?: string | null\n\t/** \n\t * A reference to uniquely identify the customer on any connected external services.\n\t * @example ```\"xxx-yyy-zzz\"```\n\t */\n\tprofile_id?: string | null\n\t/** \n\t * A specific code to identify the tax exemption reason for this customer.\n\t * @example ```\"xxx-yyy-zzz\"```\n\t */\n\ttax_exemption_code?: string | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\t/** \n\t * Send this attribute if you want to trigger anonymization. Cannot be passed by sales channels.\n\t * @example ```true```\n\t */\n\t_request_anonymization?: boolean | null\n\t/** \n\t * Send this attribute if you want to trigger a cancellation of anonymization. Cannot be passed by sales channels.\n\t * @example ```true```\n\t */\n\t_cancel_anonymization?: boolean | null\n\n\tcustomer_group?: CustomerGroupRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass Customers extends ApiResource<Customer> {\n\n\tstatic readonly TYPE: CustomerType = 'customers' as const\n\n\tasync create(resource: CustomerCreate, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\treturn this.resources.create<CustomerCreate, Customer>({ ...resource, type: Customers.TYPE }, params, options)\n\t}\n\n\tasync update(resource: CustomerUpdate, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\treturn this.resources.update<CustomerUpdate, Customer>({ ...resource, type: Customers.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: Customers.TYPE } : id, options)\n\t}\n\n\tasync customer_group(customerId: string | Customer, params?: QueryParamsRetrieve<CustomerGroup>, options?: ResourcesConfig): Promise<CustomerGroup> {\n\t\tconst _customerId = (customerId as Customer).id || customerId as string\n\t\treturn this.resources.fetch<CustomerGroup>({ type: 'customer_groups' }, `customers/${_customerId}/customer_group`, params, options) as unknown as CustomerGroup\n\t}\n\n\tasync customer_addresses(customerId: string | Customer, params?: QueryParamsList<CustomerAddress>, options?: ResourcesConfig): Promise<ListResponse<CustomerAddress>> {\n\t\tconst _customerId = (customerId as Customer).id || customerId as string\n\t\treturn this.resources.fetch<CustomerAddress>({ type: 'customer_addresses' }, `customers/${_customerId}/customer_addresses`, params, options) as unknown as ListResponse<CustomerAddress>\n\t}\n\n\tasync customer_payment_sources(customerId: string | Customer, params?: QueryParamsList<CustomerPaymentSource>, options?: ResourcesConfig): Promise<ListResponse<CustomerPaymentSource>> {\n\t\tconst _customerId = (customerId as Customer).id || customerId as string\n\t\treturn this.resources.fetch<CustomerPaymentSource>({ type: 'customer_payment_sources' }, `customers/${_customerId}/customer_payment_sources`, params, options) as unknown as ListResponse<CustomerPaymentSource>\n\t}\n\n\tasync customer_subscriptions(customerId: string | Customer, params?: QueryParamsList<CustomerSubscription>, options?: ResourcesConfig): Promise<ListResponse<CustomerSubscription>> {\n\t\tconst _customerId = (customerId as Customer).id || customerId as string\n\t\treturn this.resources.fetch<CustomerSubscription>({ type: 'customer_subscriptions' }, `customers/${_customerId}/customer_subscriptions`, params, options) as unknown as ListResponse<CustomerSubscription>\n\t}\n\n\tasync orders(customerId: string | Customer, params?: QueryParamsList<Order>, options?: ResourcesConfig): Promise<ListResponse<Order>> {\n\t\tconst _customerId = (customerId as Customer).id || customerId as string\n\t\treturn this.resources.fetch<Order>({ type: 'orders' }, `customers/${_customerId}/orders`, params, options) as unknown as ListResponse<Order>\n\t}\n\n\tasync order_subscriptions(customerId: string | Customer, params?: QueryParamsList<OrderSubscription>, options?: ResourcesConfig): Promise<ListResponse<OrderSubscription>> {\n\t\tconst _customerId = (customerId as Customer).id || customerId as string\n\t\treturn this.resources.fetch<OrderSubscription>({ type: 'order_subscriptions' }, `customers/${_customerId}/order_subscriptions`, params, options) as unknown as ListResponse<OrderSubscription>\n\t}\n\n\tasync returns(customerId: string | Customer, params?: QueryParamsList<Return>, options?: ResourcesConfig): Promise<ListResponse<Return>> {\n\t\tconst _customerId = (customerId as Customer).id || customerId as string\n\t\treturn this.resources.fetch<Return>({ type: 'returns' }, `customers/${_customerId}/returns`, params, options) as unknown as ListResponse<Return>\n\t}\n\n\tasync sku_lists(customerId: string | Customer, params?: QueryParamsList<SkuList>, options?: ResourcesConfig): Promise<ListResponse<SkuList>> {\n\t\tconst _customerId = (customerId as Customer).id || customerId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `customers/${_customerId}/sku_lists`, params, options) as unknown as ListResponse<SkuList>\n\t}\n\n\tasync attachments(customerId: string | Customer, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _customerId = (customerId as Customer).id || customerId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `customers/${_customerId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(customerId: string | Customer, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _customerId = (customerId as Customer).id || customerId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `customers/${_customerId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(customerId: string | Customer, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _customerId = (customerId as Customer).id || customerId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `customers/${_customerId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync jwt_customer(customerId: string | Customer, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\tconst _customerId = (customerId as Customer).id || customerId as string\n\t\treturn this.resources.fetch<Customer>({ type: 'customers' }, `customers/${_customerId}/jwt_customer`, params, options) as unknown as Customer\n\t}\n\n\tasync jwt_markets(customerId: string | Customer, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>> {\n\t\tconst _customerId = (customerId as Customer).id || customerId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `customers/${_customerId}/jwt_markets`, params, options) as unknown as ListResponse<Market>\n\t}\n\n\tasync jwt_stock_locations(customerId: string | Customer, params?: QueryParamsList<StockLocation>, options?: ResourcesConfig): Promise<ListResponse<StockLocation>> {\n\t\tconst _customerId = (customerId as Customer).id || customerId as string\n\t\treturn this.resources.fetch<StockLocation>({ type: 'stock_locations' }, `customers/${_customerId}/jwt_stock_locations`, params, options) as unknown as ListResponse<StockLocation>\n\t}\n\n\tasync _add_tags(id: string | Customer, triggerValue: string, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\treturn this.resources.update<CustomerUpdate, Customer>({ id: (typeof id === 'string')? id: id.id, type: Customers.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | Customer, triggerValue: string, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\treturn this.resources.update<CustomerUpdate, Customer>({ id: (typeof id === 'string')? id: id.id, type: Customers.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\tasync _request_anonymization(id: string | Customer, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\treturn this.resources.update<CustomerUpdate, Customer>({ id: (typeof id === 'string')? id: id.id, type: Customers.TYPE, _request_anonymization: true }, params, options)\n\t}\n\n\tasync _cancel_anonymization(id: string | Customer, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\treturn this.resources.update<CustomerUpdate, Customer>({ id: (typeof id === 'string')? id: id.id, type: Customers.TYPE, _cancel_anonymization: true }, params, options)\n\t}\n\n\n\tisCustomer(resource: any): resource is Customer {\n\t\treturn resource.type && (resource.type === Customers.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): CustomerRel {\n\t\treturn super.relationshipOneToOne<CustomerRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): CustomerRel[] {\n\t\treturn super.relationshipOneToMany<CustomerRel>(...ids)\n\t}\n\n\n\ttype(): CustomerType {\n\t\treturn Customers.TYPE\n\t}\n\n}\n\n\nconst instance = new Customers()\nexport default instance\n\nexport type { Customers, Customer, CustomerCreate, CustomerUpdate, CustomerType }\n"]}
|
package/lib/chunk-TQFODT4D.cjs
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
var chunkQYDOENWU_cjs = require('./chunk-QYDOENWU.cjs');
|
4
|
-
|
5
|
-
// src/resources/tags.ts
|
6
|
-
var Tags = class _Tags extends chunkQYDOENWU_cjs.ApiResource {
|
7
|
-
static TYPE = "tags";
|
8
|
-
async create(resource, params, options) {
|
9
|
-
return this.resources.create({ ...resource, type: _Tags.TYPE }, params, options);
|
10
|
-
}
|
11
|
-
async update(resource, params, options) {
|
12
|
-
return this.resources.update({ ...resource, type: _Tags.TYPE }, params, options);
|
13
|
-
}
|
14
|
-
async delete(id, options) {
|
15
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _Tags.TYPE } : id, options);
|
16
|
-
}
|
17
|
-
isTag(resource) {
|
18
|
-
return resource.type && resource.type === _Tags.TYPE;
|
19
|
-
}
|
20
|
-
relationship(id) {
|
21
|
-
return super.relationshipOneToOne(id);
|
22
|
-
}
|
23
|
-
relationshipToMany(...ids) {
|
24
|
-
return super.relationshipOneToMany(...ids);
|
25
|
-
}
|
26
|
-
type() {
|
27
|
-
return _Tags.TYPE;
|
28
|
-
}
|
29
|
-
};
|
30
|
-
var instance = new Tags();
|
31
|
-
var tags_default = instance;
|
32
|
-
|
33
|
-
exports.tags_default = tags_default;
|
34
|
-
//# sourceMappingURL=chunk-TQFODT4D.cjs.map
|
35
|
-
//# sourceMappingURL=chunk-TQFODT4D.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/tags.ts"],"names":["ApiResource"],"mappings":";;;;;AAiDA,IAAM,IAAA,GAAN,MAAM,KAAA,SAAaA,6BAAA,CAAiB;AAAA,EAEnC,OAAgB,IAAA,GAAgB,MAAA;AAAA,EAEhC,MAAM,MAAA,CAAO,QAAA,EAAqB,MAAA,EAAmC,OAAA,EAAyC;AAC7G,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAuB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,KAAA,CAAK,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/F;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAqB,MAAA,EAAmC,OAAA,EAAyC;AAC7G,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAuB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,KAAA,CAAK,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/F;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,KAAA,CAAK,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC5F;AAAA,EAGA,MAAM,QAAA,EAAgC;AACrC,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,KAAA,CAAK,IAAA;AAAA,EACjD;AAAA,EAGA,aAAa,EAAA,EAAwC;AACpD,IAAA,OAAO,KAAA,CAAM,qBAA6B,EAAE,CAAA;AAAA,EAC7C;AAAA,EAEA,sBAAsB,GAAA,EAAyB;AAC9C,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA8B,GAAG,GAAG,CAAA;AAAA,EAClD;AAAA,EAGA,IAAA,GAAgB;AACf,IAAA,OAAO,KAAA,CAAK,IAAA;AAAA,EACb;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,IAAA,EAAK;AAC1B,IAAO,YAAA,GAAQ","file":"chunk-TQFODT4D.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve } from '../query'\n\n\n\ntype TagType = 'tags'\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type TagSort = Pick<Tag, 'id' | 'name'> & ResourceSort\n// export type TagFilter = Pick<Tag, 'id' | 'name'> & ResourceFilter\n\n\ninterface Tag extends Resource {\n\t\n\treadonly type: TagType\n\n\t/** \n\t * The tag name.\n\t * @example ```\"new_campaign\"```\n\t */\n\tname: string\n\t\n}\n\n\ninterface TagCreate extends ResourceCreate {\n\t\n\t/** \n\t * The tag name.\n\t * @example ```\"new_campaign\"```\n\t */\n\tname: string\n\t\n}\n\n\ninterface TagUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The tag name.\n\t * @example ```\"new_campaign\"```\n\t */\n\tname?: string | null\n\t\n}\n\n\nclass Tags extends ApiResource<Tag> {\n\n\tstatic readonly TYPE: TagType = 'tags' as const\n\n\tasync create(resource: TagCreate, params?: QueryParamsRetrieve<Tag>, options?: ResourcesConfig): Promise<Tag> {\n\t\treturn this.resources.create<TagCreate, Tag>({ ...resource, type: Tags.TYPE }, params, options)\n\t}\n\n\tasync update(resource: TagUpdate, params?: QueryParamsRetrieve<Tag>, options?: ResourcesConfig): Promise<Tag> {\n\t\treturn this.resources.update<TagUpdate, Tag>({ ...resource, type: Tags.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: Tags.TYPE } : id, options)\n\t}\n\n\n\tisTag(resource: any): resource is Tag {\n\t\treturn resource.type && (resource.type === Tags.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): TagRel {\n\t\treturn super.relationshipOneToOne<TagRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): TagRel[] {\n\t\treturn super.relationshipOneToMany<TagRel>(...ids)\n\t}\n\n\n\ttype(): TagType {\n\t\treturn Tags.TYPE\n\t}\n\n}\n\n\nconst instance = new Tags()\nexport default instance\n\nexport type { Tags, Tag, TagCreate, TagUpdate, TagType }\n"]}
|
package/lib/chunk-TSD2PK6H.js
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
import { ApiResource } from './chunk-NAWKHFBZ.js';
|
2
|
-
|
3
|
-
// src/resources/payment_gateways.ts
|
4
|
-
var PaymentGateways = class _PaymentGateways extends ApiResource {
|
5
|
-
static TYPE = "payment_gateways";
|
6
|
-
async payment_methods(paymentGatewayId, params, options) {
|
7
|
-
const _paymentGatewayId = paymentGatewayId.id || paymentGatewayId;
|
8
|
-
return this.resources.fetch({ type: "payment_methods" }, `payment_gateways/${_paymentGatewayId}/payment_methods`, params, options);
|
9
|
-
}
|
10
|
-
async versions(paymentGatewayId, params, options) {
|
11
|
-
const _paymentGatewayId = paymentGatewayId.id || paymentGatewayId;
|
12
|
-
return this.resources.fetch({ type: "versions" }, `payment_gateways/${_paymentGatewayId}/versions`, params, options);
|
13
|
-
}
|
14
|
-
isPaymentGateway(resource) {
|
15
|
-
return resource.type && resource.type === _PaymentGateways.TYPE;
|
16
|
-
}
|
17
|
-
relationship(id) {
|
18
|
-
return super.relationshipOneToOne(id);
|
19
|
-
}
|
20
|
-
relationshipToMany(...ids) {
|
21
|
-
return super.relationshipOneToMany(...ids);
|
22
|
-
}
|
23
|
-
type() {
|
24
|
-
return _PaymentGateways.TYPE;
|
25
|
-
}
|
26
|
-
};
|
27
|
-
var instance = new PaymentGateways();
|
28
|
-
var payment_gateways_default = instance;
|
29
|
-
|
30
|
-
export { payment_gateways_default };
|
31
|
-
//# sourceMappingURL=chunk-TSD2PK6H.js.map
|
32
|
-
//# sourceMappingURL=chunk-TSD2PK6H.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/payment_gateways.ts"],"names":[],"mappings":";;;AAgCA,IAAM,eAAA,GAAN,MAAM,gBAAA,SAAwB,WAAA,CAA4B;AAAA,EAEzD,OAAgB,IAAA,GAA2B,kBAAA;AAAA,EAE3C,MAAM,eAAA,CAAgB,gBAAA,EAA2C,MAAA,EAAyC,OAAA,EAAiE;AAC1K,IAAA,MAAM,iBAAA,GAAqB,iBAAoC,EAAA,IAAM,gBAAA;AACrE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAqB,EAAE,IAAA,EAAM,iBAAA,EAAkB,EAAG,CAAA,iBAAA,EAAoB,iBAAiB,CAAA,gBAAA,CAAA,EAAoB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACjJ;AAAA,EAEA,MAAM,QAAA,CAAS,gBAAA,EAA2C,MAAA,EAAmC,OAAA,EAA2D;AACvJ,IAAA,MAAM,iBAAA,GAAqB,iBAAoC,EAAA,IAAM,gBAAA;AACrE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAe,EAAE,IAAA,EAAM,UAAA,EAAW,EAAG,CAAA,iBAAA,EAAoB,iBAAiB,CAAA,SAAA,CAAA,EAAa,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC7H;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-TSD2PK6H.js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsList } from '../query'\n\nimport type { PaymentMethod } from './payment_methods'\nimport type { Version } from './versions'\n\n\ntype PaymentGatewayType = 'payment_gateways'\ntype PaymentGatewayRel = ResourceRel & { type: PaymentGatewayType }\n\n\nexport type PaymentGatewaySort = Pick<PaymentGateway, 'id' | 'name'> & ResourceSort\n// export type PaymentGatewayFilter = Pick<PaymentGateway, 'id' | 'name'> & ResourceFilter\n\n\ninterface PaymentGateway extends Resource {\n\t\n\treadonly type: PaymentGatewayType\n\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\n\tpayment_methods?: PaymentMethod[] | null\n\tversions?: Version[] | null\n\n}\n\n\nclass PaymentGateways extends ApiResource<PaymentGateway> {\n\n\tstatic readonly TYPE: PaymentGatewayType = 'payment_gateways' as const\n\n\tasync payment_methods(paymentGatewayId: string | PaymentGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _paymentGatewayId = (paymentGatewayId as PaymentGateway).id || paymentGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `payment_gateways/${_paymentGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync versions(paymentGatewayId: string | PaymentGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _paymentGatewayId = (paymentGatewayId as PaymentGateway).id || paymentGatewayId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `payment_gateways/${_paymentGatewayId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\n\tisPaymentGateway(resource: any): resource is PaymentGateway {\n\t\treturn resource.type && (resource.type === PaymentGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PaymentGatewayRel {\n\t\treturn super.relationshipOneToOne<PaymentGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PaymentGatewayRel[] {\n\t\treturn super.relationshipOneToMany<PaymentGatewayRel>(...ids)\n\t}\n\n\n\ttype(): PaymentGatewayType {\n\t\treturn PaymentGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new PaymentGateways()\nexport default instance\n\nexport type { PaymentGateways, PaymentGateway, PaymentGatewayType }\n"]}
|
package/lib/chunk-TSLXKI72.js
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
import { ApiResource } from './chunk-NAWKHFBZ.js';
|
2
|
-
|
3
|
-
// src/resources/stock_items.ts
|
4
|
-
var StockItems = class _StockItems extends ApiResource {
|
5
|
-
static TYPE = "stock_items";
|
6
|
-
async create(resource, params, options) {
|
7
|
-
return this.resources.create({ ...resource, type: _StockItems.TYPE }, params, options);
|
8
|
-
}
|
9
|
-
async update(resource, params, options) {
|
10
|
-
return this.resources.update({ ...resource, type: _StockItems.TYPE }, params, options);
|
11
|
-
}
|
12
|
-
async delete(id, options) {
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _StockItems.TYPE } : id, options);
|
14
|
-
}
|
15
|
-
async stock_location(stockItemId, params, options) {
|
16
|
-
const _stockItemId = stockItemId.id || stockItemId;
|
17
|
-
return this.resources.fetch({ type: "stock_locations" }, `stock_items/${_stockItemId}/stock_location`, params, options);
|
18
|
-
}
|
19
|
-
async sku(stockItemId, params, options) {
|
20
|
-
const _stockItemId = stockItemId.id || stockItemId;
|
21
|
-
return this.resources.fetch({ type: "skus" }, `stock_items/${_stockItemId}/sku`, params, options);
|
22
|
-
}
|
23
|
-
async reserved_stock(stockItemId, params, options) {
|
24
|
-
const _stockItemId = stockItemId.id || stockItemId;
|
25
|
-
return this.resources.fetch({ type: "reserved_stocks" }, `stock_items/${_stockItemId}/reserved_stock`, params, options);
|
26
|
-
}
|
27
|
-
async stock_reservations(stockItemId, params, options) {
|
28
|
-
const _stockItemId = stockItemId.id || stockItemId;
|
29
|
-
return this.resources.fetch({ type: "stock_reservations" }, `stock_items/${_stockItemId}/stock_reservations`, params, options);
|
30
|
-
}
|
31
|
-
async attachments(stockItemId, params, options) {
|
32
|
-
const _stockItemId = stockItemId.id || stockItemId;
|
33
|
-
return this.resources.fetch({ type: "attachments" }, `stock_items/${_stockItemId}/attachments`, params, options);
|
34
|
-
}
|
35
|
-
async versions(stockItemId, params, options) {
|
36
|
-
const _stockItemId = stockItemId.id || stockItemId;
|
37
|
-
return this.resources.fetch({ type: "versions" }, `stock_items/${_stockItemId}/versions`, params, options);
|
38
|
-
}
|
39
|
-
async _validate(id, params, options) {
|
40
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _StockItems.TYPE, _validate: true }, params, options);
|
41
|
-
}
|
42
|
-
isStockItem(resource) {
|
43
|
-
return resource.type && resource.type === _StockItems.TYPE;
|
44
|
-
}
|
45
|
-
relationship(id) {
|
46
|
-
return super.relationshipOneToOne(id);
|
47
|
-
}
|
48
|
-
relationshipToMany(...ids) {
|
49
|
-
return super.relationshipOneToMany(...ids);
|
50
|
-
}
|
51
|
-
type() {
|
52
|
-
return _StockItems.TYPE;
|
53
|
-
}
|
54
|
-
};
|
55
|
-
var instance = new StockItems();
|
56
|
-
var stock_items_default = instance;
|
57
|
-
|
58
|
-
export { stock_items_default };
|
59
|
-
//# sourceMappingURL=chunk-TSLXKI72.js.map
|
60
|
-
//# sourceMappingURL=chunk-TSLXKI72.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/stock_items.ts"],"names":[],"mappings":";;;AA0FA,IAAM,UAAA,GAAN,MAAM,WAAA,SAAmB,WAAA,CAAuB;AAAA,EAE/C,OAAgB,IAAA,GAAsB,aAAA;AAAA,EAEtC,MAAM,MAAA,CAAO,QAAA,EAA2B,MAAA,EAAyC,OAAA,EAA+C;AAC/H,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAmC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,WAAA,CAAW,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACjH;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA2B,MAAA,EAAyC,OAAA,EAA+C;AAC/H,IAAA,OAAO,IAA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QAAQ,OAAO,CAAA;AAAA,EAC9J;AAAA,EAGA,YAAY,QAAA,EAAsC;AACjD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,WAAA,CAAW,IAAA;AAAA,EACvD;AAAA,EAGA,aAAa,EAAA,EAA8C;AAC1D,IAAA,OAAO,KAAA,CAAM,qBAAmC,EAAE,CAAA;AAAA,EACnD;AAAA,EAEA,sBAAsB,GAAA,EAA+B;AACpD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAoC,GAAG,GAAG,CAAA;AAAA,EACxD;AAAA,EAGA,IAAA,GAAsB;AACrB,IAAA,OAAO,WAAA,CAAW,IAAA;AAAA,EACnB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,UAAA,EAAW;AAChC,IAAO,mBAAA,GAAQ","file":"chunk-TSLXKI72.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 { StockLocation, StockLocationType } from './stock_locations'\nimport type { Sku, SkuType } from './skus'\nimport type { ReservedStock } from './reserved_stocks'\nimport type { StockReservation } from './stock_reservations'\nimport type { Attachment } from './attachments'\nimport type { Version } from './versions'\n\n\ntype StockItemType = 'stock_items'\ntype StockItemRel = ResourceRel & { type: StockItemType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype SkuRel = ResourceRel & { type: SkuType }\n\n\nexport type StockItemSort = Pick<StockItem, 'id' | 'quantity'> & ResourceSort\n// export type StockItemFilter = Pick<StockItem, 'id' | 'quantity'> & ResourceFilter\n\n\ninterface StockItem extends Resource {\n\t\n\treadonly type: StockItemType\n\n\t/** \n\t * The code of the associated SKU.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The stock item quantity.\n\t * @example ```100```\n\t */\n\tquantity: number\n\n\tstock_location?: StockLocation | null\n\tsku?: Sku | null\n\treserved_stock?: ReservedStock | null\n\tstock_reservations?: StockReservation[] | null\n\tattachments?: Attachment[] | null\n\tversions?: Version[] | null\n\n}\n\n\ninterface StockItemCreate extends ResourceCreate {\n\t\n\t/** \n\t * The code of the associated SKU.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The stock item quantity.\n\t * @example ```100```\n\t */\n\tquantity: number\n\n\tstock_location: StockLocationRel\n\tsku?: SkuRel | null\n\n}\n\n\ninterface StockItemUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The code of the associated SKU.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The stock item quantity.\n\t * @example ```100```\n\t */\n\tquantity?: number | null\n\t/** \n\t * Send this attribute if you want to validate the stock item quantity against the existing reserved stock one, returns an error in case the former is smaller. Cannot be passed by sales channels.\n\t * @example ```true```\n\t */\n\t_validate?: boolean | null\n\n\tstock_location?: StockLocationRel | null\n\tsku?: SkuRel | null\n\n}\n\n\nclass StockItems extends ApiResource<StockItem> {\n\n\tstatic readonly TYPE: StockItemType = 'stock_items' as const\n\n\tasync create(resource: StockItemCreate, params?: QueryParamsRetrieve<StockItem>, options?: ResourcesConfig): Promise<StockItem> {\n\t\treturn this.resources.create<StockItemCreate, StockItem>({ ...resource, type: StockItems.TYPE }, params, options)\n\t}\n\n\tasync update(resource: StockItemUpdate, params?: QueryParamsRetrieve<StockItem>, options?: ResourcesConfig): Promise<StockItem> {\n\t\treturn this.resources.update<StockItemUpdate, StockItem>({ ...resource, type: StockItems.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: StockItems.TYPE } : id, options)\n\t}\n\n\tasync stock_location(stockItemId: string | StockItem, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation> {\n\t\tconst _stockItemId = (stockItemId as StockItem).id || stockItemId as string\n\t\treturn this.resources.fetch<StockLocation>({ type: 'stock_locations' }, `stock_items/${_stockItemId}/stock_location`, params, options) as unknown as StockLocation\n\t}\n\n\tasync sku(stockItemId: string | StockItem, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku> {\n\t\tconst _stockItemId = (stockItemId as StockItem).id || stockItemId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `stock_items/${_stockItemId}/sku`, params, options) as unknown as Sku\n\t}\n\n\tasync reserved_stock(stockItemId: string | StockItem, params?: QueryParamsRetrieve<ReservedStock>, options?: ResourcesConfig): Promise<ReservedStock> {\n\t\tconst _stockItemId = (stockItemId as StockItem).id || stockItemId as string\n\t\treturn this.resources.fetch<ReservedStock>({ type: 'reserved_stocks' }, `stock_items/${_stockItemId}/reserved_stock`, params, options) as unknown as ReservedStock\n\t}\n\n\tasync stock_reservations(stockItemId: string | StockItem, params?: QueryParamsList<StockReservation>, options?: ResourcesConfig): Promise<ListResponse<StockReservation>> {\n\t\tconst _stockItemId = (stockItemId as StockItem).id || stockItemId as string\n\t\treturn this.resources.fetch<StockReservation>({ type: 'stock_reservations' }, `stock_items/${_stockItemId}/stock_reservations`, params, options) as unknown as ListResponse<StockReservation>\n\t}\n\n\tasync attachments(stockItemId: string | StockItem, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _stockItemId = (stockItemId as StockItem).id || stockItemId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `stock_items/${_stockItemId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync versions(stockItemId: string | StockItem, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _stockItemId = (stockItemId as StockItem).id || stockItemId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `stock_items/${_stockItemId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync _validate(id: string | StockItem, params?: QueryParamsRetrieve<StockItem>, options?: ResourcesConfig): Promise<StockItem> {\n\t\treturn this.resources.update<StockItemUpdate, StockItem>({ id: (typeof id === 'string')? id: id.id, type: StockItems.TYPE, _validate: true }, params, options)\n\t}\n\n\n\tisStockItem(resource: any): resource is StockItem {\n\t\treturn resource.type && (resource.type === StockItems.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): StockItemRel {\n\t\treturn super.relationshipOneToOne<StockItemRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): StockItemRel[] {\n\t\treturn super.relationshipOneToMany<StockItemRel>(...ids)\n\t}\n\n\n\ttype(): StockItemType {\n\t\treturn StockItems.TYPE\n\t}\n\n}\n\n\nconst instance = new StockItems()\nexport default instance\n\nexport type { StockItems, StockItem, StockItemCreate, StockItemUpdate, StockItemType }\n"]}
|
package/lib/chunk-U5FTZYJJ.js
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
import { ApiResource } from './chunk-NAWKHFBZ.js';
|
2
|
-
|
3
|
-
// src/resources/satispay_gateways.ts
|
4
|
-
var SatispayGateways = class _SatispayGateways extends ApiResource {
|
5
|
-
static TYPE = "satispay_gateways";
|
6
|
-
async create(resource, params, options) {
|
7
|
-
return this.resources.create({ ...resource, type: _SatispayGateways.TYPE }, params, options);
|
8
|
-
}
|
9
|
-
async update(resource, params, options) {
|
10
|
-
return this.resources.update({ ...resource, type: _SatispayGateways.TYPE }, params, options);
|
11
|
-
}
|
12
|
-
async delete(id, options) {
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _SatispayGateways.TYPE } : id, options);
|
14
|
-
}
|
15
|
-
async payment_methods(satispayGatewayId, params, options) {
|
16
|
-
const _satispayGatewayId = satispayGatewayId.id || satispayGatewayId;
|
17
|
-
return this.resources.fetch({ type: "payment_methods" }, `satispay_gateways/${_satispayGatewayId}/payment_methods`, params, options);
|
18
|
-
}
|
19
|
-
async versions(satispayGatewayId, params, options) {
|
20
|
-
const _satispayGatewayId = satispayGatewayId.id || satispayGatewayId;
|
21
|
-
return this.resources.fetch({ type: "versions" }, `satispay_gateways/${_satispayGatewayId}/versions`, params, options);
|
22
|
-
}
|
23
|
-
async satispay_payments(satispayGatewayId, params, options) {
|
24
|
-
const _satispayGatewayId = satispayGatewayId.id || satispayGatewayId;
|
25
|
-
return this.resources.fetch({ type: "satispay_payments" }, `satispay_gateways/${_satispayGatewayId}/satispay_payments`, params, options);
|
26
|
-
}
|
27
|
-
isSatispayGateway(resource) {
|
28
|
-
return resource.type && resource.type === _SatispayGateways.TYPE;
|
29
|
-
}
|
30
|
-
relationship(id) {
|
31
|
-
return super.relationshipOneToOne(id);
|
32
|
-
}
|
33
|
-
relationshipToMany(...ids) {
|
34
|
-
return super.relationshipOneToMany(...ids);
|
35
|
-
}
|
36
|
-
type() {
|
37
|
-
return _SatispayGateways.TYPE;
|
38
|
-
}
|
39
|
-
};
|
40
|
-
var instance = new SatispayGateways();
|
41
|
-
var satispay_gateways_default = instance;
|
42
|
-
|
43
|
-
export { satispay_gateways_default };
|
44
|
-
//# sourceMappingURL=chunk-U5FTZYJJ.js.map
|
45
|
-
//# sourceMappingURL=chunk-U5FTZYJJ.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/satispay_gateways.ts"],"names":[],"mappings":";;;AAiFA,IAAM,gBAAA,GAAN,MAAM,iBAAA,SAAyB,WAAA,CAA6B;AAAA,EAE3D,OAAgB,IAAA,GAA4B,mBAAA;AAAA,EAE5C,MAAM,MAAA,CAAO,QAAA,EAAiC,MAAA,EAA+C,OAAA,EAAqD;AACjJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,iBAAA,CAAiB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA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AAA,IAAM,iBAAA;AACxE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAuB,EAAE,IAAA,EAAM,mBAAA,EAAoB,EAAG,CAAA,kBAAA,EAAqB,kBAAkB,CAAA,kBAAA,CAAA,EAAsB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACzJ;AAAA,EAGA,kBAAkB,QAAA,EAA4C;AAC7D,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,iBAAA,CAAiB,IAAA;AAAA,EAC7D;AAAA,EAGA,aAAa,EAAA,EAAoD;AAChE,IAAA,OAAO,KAAA,CAAM,qBAAyC,EAAE,CAAA;AAAA,EACzD;AAAA,EAEA,sBAAsB,GAAA,EAAqC;AAC1D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA0C,GAAG,GAAG,CAAA;AAAA,EAC9D;AAAA,EAGA,IAAA,GAA4B;AAC3B,IAAA,OAAO,iBAAA,CAAiB,IAAA;AAAA,EACzB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,gBAAA,EAAiB;AACtC,IAAO,yBAAA,GAAQ","file":"chunk-U5FTZYJJ.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 { PaymentMethod } from './payment_methods'\nimport type { Version } from './versions'\nimport type { SatispayPayment, SatispayPaymentType } from './satispay_payments'\n\n\ntype SatispayGatewayType = 'satispay_gateways'\ntype SatispayGatewayRel = ResourceRel & { type: SatispayGatewayType }\ntype SatispayPaymentRel = ResourceRel & { type: SatispayPaymentType }\n\n\nexport type SatispayGatewaySort = Pick<SatispayGateway, 'id' | 'name'> & ResourceSort\n// export type SatispayGatewayFilter = Pick<SatispayGateway, 'id' | 'name'> & ResourceFilter\n\n\ninterface SatispayGateway extends Resource {\n\t\n\treadonly type: SatispayGatewayType\n\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Activation code generated from the Satispay Dashboard.\n\t * @example ```\"623ECX\"```\n\t */\n\ttoken: string\n\t/** \n\t * The Satispay API key auto generated basing on activation code.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tkey_id: string\n\t/** \n\t * The gateway webhook URL, generated automatically.\n\t * @example ```\"https://core.commercelayer.co/webhook_callbacks/satispay_gateways/xxxxx\"```\n\t */\n\twebhook_endpoint_url?: string | null\n\n\tpayment_methods?: PaymentMethod[] | null\n\tversions?: Version[] | null\n\tsatispay_payments?: SatispayPayment[] | null\n\n}\n\n\ninterface SatispayGatewayCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Activation code generated from the Satispay Dashboard.\n\t * @example ```\"623ECX\"```\n\t */\n\ttoken: string\n\n\tsatispay_payments?: SatispayPaymentRel[] | null\n\n}\n\n\ninterface SatispayGatewayUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname?: string | null\n\n\tsatispay_payments?: SatispayPaymentRel[] | null\n\n}\n\n\nclass SatispayGateways extends ApiResource<SatispayGateway> {\n\n\tstatic readonly TYPE: SatispayGatewayType = 'satispay_gateways' as const\n\n\tasync create(resource: SatispayGatewayCreate, params?: QueryParamsRetrieve<SatispayGateway>, options?: ResourcesConfig): Promise<SatispayGateway> {\n\t\treturn this.resources.create<SatispayGatewayCreate, SatispayGateway>({ ...resource, type: SatispayGateways.TYPE }, params, options)\n\t}\n\n\tasync update(resource: SatispayGatewayUpdate, params?: QueryParamsRetrieve<SatispayGateway>, options?: ResourcesConfig): Promise<SatispayGateway> {\n\t\treturn this.resources.update<SatispayGatewayUpdate, SatispayGateway>({ ...resource, type: SatispayGateways.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: SatispayGateways.TYPE } : id, options)\n\t}\n\n\tasync payment_methods(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _satispayGatewayId = (satispayGatewayId as SatispayGateway).id || satispayGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `satispay_gateways/${_satispayGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync versions(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _satispayGatewayId = (satispayGatewayId as SatispayGateway).id || satispayGatewayId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `satispay_gateways/${_satispayGatewayId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync satispay_payments(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<SatispayPayment>, options?: ResourcesConfig): Promise<ListResponse<SatispayPayment>> {\n\t\tconst _satispayGatewayId = (satispayGatewayId as SatispayGateway).id || satispayGatewayId as string\n\t\treturn this.resources.fetch<SatispayPayment>({ type: 'satispay_payments' }, `satispay_gateways/${_satispayGatewayId}/satispay_payments`, params, options) as unknown as ListResponse<SatispayPayment>\n\t}\n\n\n\tisSatispayGateway(resource: any): resource is SatispayGateway {\n\t\treturn resource.type && (resource.type === SatispayGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): SatispayGatewayRel {\n\t\treturn super.relationshipOneToOne<SatispayGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): SatispayGatewayRel[] {\n\t\treturn super.relationshipOneToMany<SatispayGatewayRel>(...ids)\n\t}\n\n\n\ttype(): SatispayGatewayType {\n\t\treturn SatispayGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new SatispayGateways()\nexport default instance\n\nexport type { SatispayGateways, SatispayGateway, SatispayGatewayCreate, SatispayGatewayUpdate, SatispayGatewayType }\n"]}
|
package/lib/chunk-U6PW4AZV.js
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
import { ApiResource } from './chunk-NAWKHFBZ.js';
|
2
|
-
|
3
|
-
// src/resources/resource_errors.ts
|
4
|
-
var ResourceErrors = class _ResourceErrors extends ApiResource {
|
5
|
-
static TYPE = "resource_errors";
|
6
|
-
isResourceError(resource) {
|
7
|
-
return resource.type && resource.type === _ResourceErrors.TYPE;
|
8
|
-
}
|
9
|
-
relationship(id) {
|
10
|
-
return super.relationshipOneToOne(id);
|
11
|
-
}
|
12
|
-
relationshipToMany(...ids) {
|
13
|
-
return super.relationshipOneToMany(...ids);
|
14
|
-
}
|
15
|
-
type() {
|
16
|
-
return _ResourceErrors.TYPE;
|
17
|
-
}
|
18
|
-
};
|
19
|
-
var instance = new ResourceErrors();
|
20
|
-
var resource_errors_default = instance;
|
21
|
-
|
22
|
-
export { resource_errors_default };
|
23
|
-
//# sourceMappingURL=chunk-U6PW4AZV.js.map
|
24
|
-
//# sourceMappingURL=chunk-U6PW4AZV.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/resource_errors.ts"],"names":[],"mappings":";;;AAyCA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuB,WAAA,CAA2B;AAAA,EAEvD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAK1C,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-U6PW4AZV.js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ } from '../resource'\n\n\nimport type { Order } from './orders'\nimport type { Return } from './returns'\n\n\ntype ResourceErrorType = 'resource_errors'\ntype ResourceErrorRel = ResourceRel & { type: ResourceErrorType }\n\n\nexport type ResourceErrorSort = Pick<ResourceError, 'id' | 'name' | 'code'> & ResourceSort\n// export type ResourceErrorFilter = Pick<ResourceError, 'id' | 'name' | 'code' | 'message'> & ResourceFilter\n\n\ninterface ResourceError extends Resource {\n\t\n\treadonly type: ResourceErrorType\n\n\t/** \n\t * The resource attribute name related to the error.\n\t * @example ```\"number\"```\n\t */\n\tname: string\n\t/** \n\t * The error code.\n\t * @example ```\"BLANK\"```\n\t */\n\tcode: string\n\t/** \n\t * The error message.\n\t * @example ```\"can't be blank\"```\n\t */\n\tmessage: string\n\n\tresource?: Order | Return | null\n\n}\n\n\nclass ResourceErrors extends ApiResource<ResourceError> {\n\n\tstatic readonly TYPE: ResourceErrorType = 'resource_errors' as const\n\n\t\n\n\n\tisResourceError(resource: any): resource is ResourceError {\n\t\treturn resource.type && (resource.type === ResourceErrors.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ResourceErrorRel {\n\t\treturn super.relationshipOneToOne<ResourceErrorRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ResourceErrorRel[] {\n\t\treturn super.relationshipOneToMany<ResourceErrorRel>(...ids)\n\t}\n\n\n\ttype(): ResourceErrorType {\n\t\treturn ResourceErrors.TYPE\n\t}\n\n}\n\n\nconst instance = new ResourceErrors()\nexport default instance\n\nexport type { ResourceErrors, ResourceError, ResourceErrorType }\n"]}
|
package/lib/chunk-UB6JC3W7.js
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
import { ApiResource } from './chunk-NAWKHFBZ.js';
|
2
|
-
|
3
|
-
// src/resources/external_payments.ts
|
4
|
-
var ExternalPayments = class _ExternalPayments extends ApiResource {
|
5
|
-
static TYPE = "external_payments";
|
6
|
-
async create(resource, params, options) {
|
7
|
-
return this.resources.create({ ...resource, type: _ExternalPayments.TYPE }, params, options);
|
8
|
-
}
|
9
|
-
async update(resource, params, options) {
|
10
|
-
return this.resources.update({ ...resource, type: _ExternalPayments.TYPE }, params, options);
|
11
|
-
}
|
12
|
-
async delete(id, options) {
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _ExternalPayments.TYPE } : id, options);
|
14
|
-
}
|
15
|
-
async order(externalPaymentId, params, options) {
|
16
|
-
const _externalPaymentId = externalPaymentId.id || externalPaymentId;
|
17
|
-
return this.resources.fetch({ type: "orders" }, `external_payments/${_externalPaymentId}/order`, params, options);
|
18
|
-
}
|
19
|
-
async payment_gateway(externalPaymentId, params, options) {
|
20
|
-
const _externalPaymentId = externalPaymentId.id || externalPaymentId;
|
21
|
-
return this.resources.fetch({ type: "payment_gateways" }, `external_payments/${_externalPaymentId}/payment_gateway`, params, options);
|
22
|
-
}
|
23
|
-
async wallet(externalPaymentId, params, options) {
|
24
|
-
const _externalPaymentId = externalPaymentId.id || externalPaymentId;
|
25
|
-
return this.resources.fetch({ type: "customer_payment_sources" }, `external_payments/${_externalPaymentId}/wallet`, params, options);
|
26
|
-
}
|
27
|
-
async versions(externalPaymentId, params, options) {
|
28
|
-
const _externalPaymentId = externalPaymentId.id || externalPaymentId;
|
29
|
-
return this.resources.fetch({ type: "versions" }, `external_payments/${_externalPaymentId}/versions`, params, options);
|
30
|
-
}
|
31
|
-
isExternalPayment(resource) {
|
32
|
-
return resource.type && resource.type === _ExternalPayments.TYPE;
|
33
|
-
}
|
34
|
-
relationship(id) {
|
35
|
-
return super.relationshipOneToOne(id);
|
36
|
-
}
|
37
|
-
relationshipToMany(...ids) {
|
38
|
-
return super.relationshipOneToMany(...ids);
|
39
|
-
}
|
40
|
-
type() {
|
41
|
-
return _ExternalPayments.TYPE;
|
42
|
-
}
|
43
|
-
};
|
44
|
-
var instance = new ExternalPayments();
|
45
|
-
var external_payments_default = instance;
|
46
|
-
|
47
|
-
export { external_payments_default };
|
48
|
-
//# sourceMappingURL=chunk-UB6JC3W7.js.map
|
49
|
-
//# sourceMappingURL=chunk-UB6JC3W7.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/external_payments.ts"],"names":[],"mappings":";;;AA8EA,IAAM,gBAAA,GAAN,MAAM,iBAAA,SAAyB,WAAA,CAA6B;AAAA,EAE3D,OAAgB,IAAA,GAA4B,mBAAA;AAAA,EAE5C,MAAM,MAAA,CAAO,QAAA,EAAiC,MAAA,EAA+C,OAAA,EAAqD;AACjJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,iBAAA,CAAiB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACnI;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAiC,MAAA,EAA+C,OAAA,EAAqD;AACjJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,iBAAA,CAAiB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACnI;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,iBAAA,CAAiB,IAAA,EAAK,GAAI,IAAI,OAAO,C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A,EAAa,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/H;AAAA,EAGA,kBAAkB,QAAA,EAA4C;AAC7D,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,iBAAA,CAAiB,IAAA;AAAA,EAC7D;AAAA,EAGA,aAAa,EAAA,EAAoD;AAChE,IAAA,OAAO,KAAA,CAAM,qBAAyC,EAAE,CAAA;AAAA,EACzD;AAAA,EAEA,sBAAsB,GAAA,EAAqC;AAC1D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA0C,GAAG,GAAG,CAAA;AAAA,EAC9D;AAAA,EAGA,IAAA,GAA4B;AAC3B,IAAA,OAAO,iBAAA,CAAiB,IAAA;AAAA,EACzB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,gBAAA,EAAiB;AACtC,IAAO,yBAAA,GAAQ","file":"chunk-UB6JC3W7.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 { Order, OrderType } from './orders'\nimport type { PaymentGateway } from './payment_gateways'\nimport type { CustomerPaymentSource } from './customer_payment_sources'\nimport type { Version } from './versions'\n\n\ntype ExternalPaymentType = 'external_payments'\ntype ExternalPaymentRel = ResourceRel & { type: ExternalPaymentType }\ntype OrderRel = ResourceRel & { type: OrderType }\n\n\nexport type ExternalPaymentSort = Pick<ExternalPayment, 'id'> & ResourceSort\n// export type ExternalPaymentFilter = Pick<ExternalPayment, 'id' | 'payment_source_token'> & ResourceFilter\n\n\ninterface ExternalPayment extends Resource {\n\t\n\treadonly type: ExternalPaymentType\n\n\t/** \n\t * The payment source token, as generated by the external gateway SDK. Credit Card numbers are rejected.\n\t * @example ```\"xxxx.yyyy.zzzz\"```\n\t */\n\tpayment_source_token: string\n\t/** \n\t * External payment options.\n\t * @example ```{\"foo\":\"bar\"}```\n\t */\n\toptions?: Record<string, any> | null\n\t/** \n\t * Information about the payment instrument used in the transaction.\n\t * @example ```{\"issuer\":\"cl bank\",\"card_type\":\"visa\"}```\n\t */\n\tpayment_instrument?: Record<string, any> | null\n\n\torder?: Order | null\n\tpayment_gateway?: PaymentGateway | null\n\twallet?: CustomerPaymentSource | null\n\tversions?: Version[] | null\n\n}\n\n\ninterface ExternalPaymentCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment source token, as generated by the external gateway SDK. Credit Card numbers are rejected.\n\t * @example ```\"xxxx.yyyy.zzzz\"```\n\t */\n\tpayment_source_token: string\n\t/** \n\t * External payment options.\n\t * @example ```{\"foo\":\"bar\"}```\n\t */\n\toptions?: Record<string, any> | null\n\n\torder: OrderRel\n\n}\n\n\ninterface ExternalPaymentUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * External payment options.\n\t * @example ```{\"foo\":\"bar\"}```\n\t */\n\toptions?: Record<string, any> | null\n\n\torder?: OrderRel | null\n\n}\n\n\nclass ExternalPayments extends ApiResource<ExternalPayment> {\n\n\tstatic readonly TYPE: ExternalPaymentType = 'external_payments' as const\n\n\tasync create(resource: ExternalPaymentCreate, params?: QueryParamsRetrieve<ExternalPayment>, options?: ResourcesConfig): Promise<ExternalPayment> {\n\t\treturn this.resources.create<ExternalPaymentCreate, ExternalPayment>({ ...resource, type: ExternalPayments.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ExternalPaymentUpdate, params?: QueryParamsRetrieve<ExternalPayment>, options?: ResourcesConfig): Promise<ExternalPayment> {\n\t\treturn this.resources.update<ExternalPaymentUpdate, ExternalPayment>({ ...resource, type: ExternalPayments.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: ExternalPayments.TYPE } : id, options)\n\t}\n\n\tasync order(externalPaymentId: string | ExternalPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order> {\n\t\tconst _externalPaymentId = (externalPaymentId as ExternalPayment).id || externalPaymentId as string\n\t\treturn this.resources.fetch<Order>({ type: 'orders' }, `external_payments/${_externalPaymentId}/order`, params, options) as unknown as Order\n\t}\n\n\tasync payment_gateway(externalPaymentId: string | ExternalPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway> {\n\t\tconst _externalPaymentId = (externalPaymentId as ExternalPayment).id || externalPaymentId as string\n\t\treturn this.resources.fetch<PaymentGateway>({ type: 'payment_gateways' }, `external_payments/${_externalPaymentId}/payment_gateway`, params, options) as unknown as PaymentGateway\n\t}\n\n\tasync wallet(externalPaymentId: string | ExternalPayment, params?: QueryParamsRetrieve<CustomerPaymentSource>, options?: ResourcesConfig): Promise<CustomerPaymentSource> {\n\t\tconst _externalPaymentId = (externalPaymentId as ExternalPayment).id || externalPaymentId as string\n\t\treturn this.resources.fetch<CustomerPaymentSource>({ type: 'customer_payment_sources' }, `external_payments/${_externalPaymentId}/wallet`, params, options) as unknown as CustomerPaymentSource\n\t}\n\n\tasync versions(externalPaymentId: string | ExternalPayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _externalPaymentId = (externalPaymentId as ExternalPayment).id || externalPaymentId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `external_payments/${_externalPaymentId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\n\tisExternalPayment(resource: any): resource is ExternalPayment {\n\t\treturn resource.type && (resource.type === ExternalPayments.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ExternalPaymentRel {\n\t\treturn super.relationshipOneToOne<ExternalPaymentRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ExternalPaymentRel[] {\n\t\treturn super.relationshipOneToMany<ExternalPaymentRel>(...ids)\n\t}\n\n\n\ttype(): ExternalPaymentType {\n\t\treturn ExternalPayments.TYPE\n\t}\n\n}\n\n\nconst instance = new ExternalPayments()\nexport default instance\n\nexport type { ExternalPayments, ExternalPayment, ExternalPaymentCreate, ExternalPaymentUpdate, ExternalPaymentType }\n"]}
|