@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-VUCYIRSC.cjs
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
var chunkQYDOENWU_cjs = require('./chunk-QYDOENWU.cjs');
|
4
|
-
|
5
|
-
// src/resources/klarna_gateways.ts
|
6
|
-
var KlarnaGateways = class _KlarnaGateways extends chunkQYDOENWU_cjs.ApiResource {
|
7
|
-
static TYPE = "klarna_gateways";
|
8
|
-
async create(resource, params, options) {
|
9
|
-
return this.resources.create({ ...resource, type: _KlarnaGateways.TYPE }, params, options);
|
10
|
-
}
|
11
|
-
async update(resource, params, options) {
|
12
|
-
return this.resources.update({ ...resource, type: _KlarnaGateways.TYPE }, params, options);
|
13
|
-
}
|
14
|
-
async delete(id, options) {
|
15
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _KlarnaGateways.TYPE } : id, options);
|
16
|
-
}
|
17
|
-
async payment_methods(klarnaGatewayId, params, options) {
|
18
|
-
const _klarnaGatewayId = klarnaGatewayId.id || klarnaGatewayId;
|
19
|
-
return this.resources.fetch({ type: "payment_methods" }, `klarna_gateways/${_klarnaGatewayId}/payment_methods`, params, options);
|
20
|
-
}
|
21
|
-
async versions(klarnaGatewayId, params, options) {
|
22
|
-
const _klarnaGatewayId = klarnaGatewayId.id || klarnaGatewayId;
|
23
|
-
return this.resources.fetch({ type: "versions" }, `klarna_gateways/${_klarnaGatewayId}/versions`, params, options);
|
24
|
-
}
|
25
|
-
async klarna_payments(klarnaGatewayId, params, options) {
|
26
|
-
const _klarnaGatewayId = klarnaGatewayId.id || klarnaGatewayId;
|
27
|
-
return this.resources.fetch({ type: "klarna_payments" }, `klarna_gateways/${_klarnaGatewayId}/klarna_payments`, params, options);
|
28
|
-
}
|
29
|
-
isKlarnaGateway(resource) {
|
30
|
-
return resource.type && resource.type === _KlarnaGateways.TYPE;
|
31
|
-
}
|
32
|
-
relationship(id) {
|
33
|
-
return super.relationshipOneToOne(id);
|
34
|
-
}
|
35
|
-
relationshipToMany(...ids) {
|
36
|
-
return super.relationshipOneToMany(...ids);
|
37
|
-
}
|
38
|
-
type() {
|
39
|
-
return _KlarnaGateways.TYPE;
|
40
|
-
}
|
41
|
-
};
|
42
|
-
var instance = new KlarnaGateways();
|
43
|
-
var klarna_gateways_default = instance;
|
44
|
-
|
45
|
-
exports.klarna_gateways_default = klarna_gateways_default;
|
46
|
-
//# sourceMappingURL=chunk-VUCYIRSC.cjs.map
|
47
|
-
//# sourceMappingURL=chunk-VUCYIRSC.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/klarna_gateways.ts"],"names":["ApiResource"],"mappings":";;;;;AA2FA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuBA,6BAAA,CAA2B;AAAA,EAEvD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,MAAA,CAAO,QAAA,EAA+B,MAAA,EAA6C,OAAA,EAAmD;AAC3I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2C,EAAE,GAAG,QAAA,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AAyC,OAAA,EAAiE;AACxK,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAqB,EAAE,IAAA,EAAM,iBAAA,EAAkB,EAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAA,gBAAA,CAAA,EAAoB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/I;AAAA,EAGA,gBAAgB,QAAA,EAA0C;AACzD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,eAAA,CAAe,IAAA;AAAA,EAC3D;AAAA,EAGA,aAAa,EAAA,EAAkD;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAuC,EAAE,CAAA;AAAA,EACvD;AAAA,EAEA,sBAAsB,GAAA,EAAmC;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAwC,GAAG,GAAG,CAAA;AAAA,EAC5D;AAAA,EAGA,IAAA,GAA0B;AACzB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACvB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-VUCYIRSC.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { PaymentMethod } from './payment_methods'\nimport type { Version } from './versions'\nimport type { KlarnaPayment, KlarnaPaymentType } from './klarna_payments'\n\n\ntype KlarnaGatewayType = 'klarna_gateways'\ntype KlarnaGatewayRel = ResourceRel & { type: KlarnaGatewayType }\ntype KlarnaPaymentRel = ResourceRel & { type: KlarnaPaymentType }\n\n\nexport type KlarnaGatewaySort = Pick<KlarnaGateway, 'id' | 'name'> & ResourceSort\n// export type KlarnaGatewayFilter = Pick<KlarnaGateway, 'id' | 'name'> & ResourceFilter\n\n\ninterface KlarnaGateway extends Resource {\n\t\n\treadonly type: KlarnaGatewayType\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\tklarna_payments?: KlarnaPayment[] | null\n\n}\n\n\ninterface KlarnaGatewayCreate 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 * The gateway country code one of EU, US, or OC.\n\t * @example ```\"EU\"```\n\t */\n\tcountry_code: string\n\t/** \n\t * The public key linked to your API credential.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key: string\n\t/** \n\t * The gateway API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_secret: string\n\n\tklarna_payments?: KlarnaPaymentRel[] | null\n\n}\n\n\ninterface KlarnaGatewayUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The gateway country code one of EU, US, or OC.\n\t * @example ```\"EU\"```\n\t */\n\tcountry_code?: string | null\n\t/** \n\t * The public key linked to your API credential.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key?: string | null\n\t/** \n\t * The gateway API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_secret?: string | null\n\n\tklarna_payments?: KlarnaPaymentRel[] | null\n\n}\n\n\nclass KlarnaGateways extends ApiResource<KlarnaGateway> {\n\n\tstatic readonly TYPE: KlarnaGatewayType = 'klarna_gateways' as const\n\n\tasync create(resource: KlarnaGatewayCreate, params?: QueryParamsRetrieve<KlarnaGateway>, options?: ResourcesConfig): Promise<KlarnaGateway> {\n\t\treturn this.resources.create<KlarnaGatewayCreate, KlarnaGateway>({ ...resource, type: KlarnaGateways.TYPE }, params, options)\n\t}\n\n\tasync update(resource: KlarnaGatewayUpdate, params?: QueryParamsRetrieve<KlarnaGateway>, options?: ResourcesConfig): Promise<KlarnaGateway> {\n\t\treturn this.resources.update<KlarnaGatewayUpdate, KlarnaGateway>({ ...resource, type: KlarnaGateways.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: KlarnaGateways.TYPE } : id, options)\n\t}\n\n\tasync payment_methods(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _klarnaGatewayId = (klarnaGatewayId as KlarnaGateway).id || klarnaGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `klarna_gateways/${_klarnaGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync versions(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _klarnaGatewayId = (klarnaGatewayId as KlarnaGateway).id || klarnaGatewayId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `klarna_gateways/${_klarnaGatewayId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync klarna_payments(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<KlarnaPayment>, options?: ResourcesConfig): Promise<ListResponse<KlarnaPayment>> {\n\t\tconst _klarnaGatewayId = (klarnaGatewayId as KlarnaGateway).id || klarnaGatewayId as string\n\t\treturn this.resources.fetch<KlarnaPayment>({ type: 'klarna_payments' }, `klarna_gateways/${_klarnaGatewayId}/klarna_payments`, params, options) as unknown as ListResponse<KlarnaPayment>\n\t}\n\n\n\tisKlarnaGateway(resource: any): resource is KlarnaGateway {\n\t\treturn resource.type && (resource.type === KlarnaGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): KlarnaGatewayRel {\n\t\treturn super.relationshipOneToOne<KlarnaGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): KlarnaGatewayRel[] {\n\t\treturn super.relationshipOneToMany<KlarnaGatewayRel>(...ids)\n\t}\n\n\n\ttype(): KlarnaGatewayType {\n\t\treturn KlarnaGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new KlarnaGateways()\nexport default instance\n\nexport type { KlarnaGateways, KlarnaGateway, KlarnaGatewayCreate, KlarnaGatewayUpdate, KlarnaGatewayType }\n"]}
|
package/lib/chunk-W6YJDUYD.js
DELETED
@@ -1,82 +0,0 @@
|
|
1
|
-
import { ApiResource } from './chunk-NAWKHFBZ.js';
|
2
|
-
|
3
|
-
// src/resources/shipping_methods.ts
|
4
|
-
var ShippingMethods = class _ShippingMethods extends ApiResource {
|
5
|
-
static TYPE = "shipping_methods";
|
6
|
-
async create(resource, params, options) {
|
7
|
-
return this.resources.create({ ...resource, type: _ShippingMethods.TYPE }, params, options);
|
8
|
-
}
|
9
|
-
async update(resource, params, options) {
|
10
|
-
return this.resources.update({ ...resource, type: _ShippingMethods.TYPE }, params, options);
|
11
|
-
}
|
12
|
-
async delete(id, options) {
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _ShippingMethods.TYPE } : id, options);
|
14
|
-
}
|
15
|
-
async market(shippingMethodId, params, options) {
|
16
|
-
const _shippingMethodId = shippingMethodId.id || shippingMethodId;
|
17
|
-
return this.resources.fetch({ type: "markets" }, `shipping_methods/${_shippingMethodId}/market`, params, options);
|
18
|
-
}
|
19
|
-
async shipping_zone(shippingMethodId, params, options) {
|
20
|
-
const _shippingMethodId = shippingMethodId.id || shippingMethodId;
|
21
|
-
return this.resources.fetch({ type: "shipping_zones" }, `shipping_methods/${_shippingMethodId}/shipping_zone`, params, options);
|
22
|
-
}
|
23
|
-
async shipping_category(shippingMethodId, params, options) {
|
24
|
-
const _shippingMethodId = shippingMethodId.id || shippingMethodId;
|
25
|
-
return this.resources.fetch({ type: "shipping_categories" }, `shipping_methods/${_shippingMethodId}/shipping_category`, params, options);
|
26
|
-
}
|
27
|
-
async stock_location(shippingMethodId, params, options) {
|
28
|
-
const _shippingMethodId = shippingMethodId.id || shippingMethodId;
|
29
|
-
return this.resources.fetch({ type: "stock_locations" }, `shipping_methods/${_shippingMethodId}/stock_location`, params, options);
|
30
|
-
}
|
31
|
-
async delivery_lead_time_for_shipment(shippingMethodId, params, options) {
|
32
|
-
const _shippingMethodId = shippingMethodId.id || shippingMethodId;
|
33
|
-
return this.resources.fetch({ type: "delivery_lead_times" }, `shipping_methods/${_shippingMethodId}/delivery_lead_time_for_shipment`, params, options);
|
34
|
-
}
|
35
|
-
async shipping_method_tiers(shippingMethodId, params, options) {
|
36
|
-
const _shippingMethodId = shippingMethodId.id || shippingMethodId;
|
37
|
-
return this.resources.fetch({ type: "shipping_method_tiers" }, `shipping_methods/${_shippingMethodId}/shipping_method_tiers`, params, options);
|
38
|
-
}
|
39
|
-
async shipping_weight_tiers(shippingMethodId, params, options) {
|
40
|
-
const _shippingMethodId = shippingMethodId.id || shippingMethodId;
|
41
|
-
return this.resources.fetch({ type: "shipping_weight_tiers" }, `shipping_methods/${_shippingMethodId}/shipping_weight_tiers`, params, options);
|
42
|
-
}
|
43
|
-
async attachments(shippingMethodId, params, options) {
|
44
|
-
const _shippingMethodId = shippingMethodId.id || shippingMethodId;
|
45
|
-
return this.resources.fetch({ type: "attachments" }, `shipping_methods/${_shippingMethodId}/attachments`, params, options);
|
46
|
-
}
|
47
|
-
async notifications(shippingMethodId, params, options) {
|
48
|
-
const _shippingMethodId = shippingMethodId.id || shippingMethodId;
|
49
|
-
return this.resources.fetch({ type: "notifications" }, `shipping_methods/${_shippingMethodId}/notifications`, params, options);
|
50
|
-
}
|
51
|
-
async versions(shippingMethodId, params, options) {
|
52
|
-
const _shippingMethodId = shippingMethodId.id || shippingMethodId;
|
53
|
-
return this.resources.fetch({ type: "versions" }, `shipping_methods/${_shippingMethodId}/versions`, params, options);
|
54
|
-
}
|
55
|
-
async _disable(id, params, options) {
|
56
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _ShippingMethods.TYPE, _disable: true }, params, options);
|
57
|
-
}
|
58
|
-
async _enable(id, params, options) {
|
59
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _ShippingMethods.TYPE, _enable: true }, params, options);
|
60
|
-
}
|
61
|
-
async _reset_circuit(id, params, options) {
|
62
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _ShippingMethods.TYPE, _reset_circuit: true }, params, options);
|
63
|
-
}
|
64
|
-
isShippingMethod(resource) {
|
65
|
-
return resource.type && resource.type === _ShippingMethods.TYPE;
|
66
|
-
}
|
67
|
-
relationship(id) {
|
68
|
-
return super.relationshipOneToOne(id);
|
69
|
-
}
|
70
|
-
relationshipToMany(...ids) {
|
71
|
-
return super.relationshipOneToMany(...ids);
|
72
|
-
}
|
73
|
-
type() {
|
74
|
-
return _ShippingMethods.TYPE;
|
75
|
-
}
|
76
|
-
};
|
77
|
-
var instance = new ShippingMethods();
|
78
|
-
var shipping_methods_default = instance;
|
79
|
-
|
80
|
-
export { shipping_methods_default };
|
81
|
-
//# sourceMappingURL=chunk-W6YJDUYD.js.map
|
82
|
-
//# sourceMappingURL=chunk-W6YJDUYD.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/shipping_methods.ts"],"names":[],"mappings":";;;AA2TA,IAAM,eAAA,GAAN,MAAM,gBAAA,SAAwB,WAAA,CAA4B;AAAA,EAEzD,OAAgB,IAAA,GAA2B,kBAAA;AAAA,EAE3C,MAAM,MAAA,CAAO,QAAA,EAAgC,MAAA,EAA8C,OAAA,EAAoD;AAC9I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,gBAAA,CAAgB,IAAA,EAAK,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AA,OAAO,gBAAA,CAAgB,IAAA;AAAA,EACxB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,eAAA,EAAgB;AACrC,IAAO,wBAAA,GAAQ","file":"chunk-W6YJDUYD.js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Market, MarketType } from './markets'\nimport type { ShippingZone, ShippingZoneType } from './shipping_zones'\nimport type { ShippingCategory, ShippingCategoryType } from './shipping_categories'\nimport type { StockLocation, StockLocationType } from './stock_locations'\nimport type { DeliveryLeadTime } from './delivery_lead_times'\nimport type { ShippingMethodTier, ShippingMethodTierType } from './shipping_method_tiers'\nimport type { ShippingWeightTier } from './shipping_weight_tiers'\nimport type { Attachment } from './attachments'\nimport type { Notification } from './notifications'\nimport type { Version } from './versions'\n\n\ntype ShippingMethodType = 'shipping_methods'\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype ShippingZoneRel = ResourceRel & { type: ShippingZoneType }\ntype ShippingCategoryRel = ResourceRel & { type: ShippingCategoryType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype ShippingMethodTierRel = ResourceRel & { type: ShippingMethodTierType }\n\n\nexport type ShippingMethodSort = Pick<ShippingMethod, 'id' | 'name' | 'scheme' | 'currency_code' | 'price_amount_cents' | 'free_over_amount_cents' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort\n// export type ShippingMethodFilter = Pick<ShippingMethod, 'id' | 'name' | 'scheme' | 'currency_code' | 'price_amount_cents' | 'free_over_amount_cents' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceFilter\n\n\ninterface ShippingMethod extends Resource {\n\t\n\treadonly type: ShippingMethodType\n\n\t/** \n\t * The shipping method's name.\n\t * @example ```\"Standard shipping\"```\n\t */\n\tname: string\n\t/** \n\t * The shipping method's scheme. One of 'flat', 'weight_tiered', or 'external'.\n\t * @example ```\"flat\"```\n\t */\n\tscheme?: 'flat' | 'weight_tiered' | 'external' | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * The URL used to overwrite prices by an external source.\n\t * @example ```\"https://external_prices.yourbrand.com\"```\n\t */\n\texternal_prices_url?: string | null\n\t/** \n\t * The price of this shipping method, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\t/** \n\t * The price of this shipping method, float.\n\t * @example ```10```\n\t */\n\tprice_amount_float?: number | null\n\t/** \n\t * The price of this shipping method, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_price_amount?: string | null\n\t/** \n\t * Apply free shipping if the order amount is over this value, in cents.\n\t * @example ```9900```\n\t */\n\tfree_over_amount_cents?: number | null\n\t/** \n\t * Apply free shipping if the order amount is over this value, float.\n\t * @example ```99```\n\t */\n\tfree_over_amount_float?: number | null\n\t/** \n\t * Apply free shipping if the order amount is over this value, formatted.\n\t * @example ```\"€99,00\"```\n\t */\n\tformatted_free_over_amount?: string | null\n\t/** \n\t * Send this attribute if you want to compare the free over amount with order's subtotal (excluding discounts, if any).\n\t * @example ```true```\n\t */\n\tuse_subtotal?: boolean | null\n\t/** \n\t * The calculated price (zero or price amount) when associated to a shipment, in cents.\n\t */\n\tprice_amount_for_shipment_cents?: number | null\n\t/** \n\t * The calculated price (zero or price amount) when associated to a shipment, float.\n\t */\n\tprice_amount_for_shipment_float?: number | null\n\t/** \n\t * The calculated price (zero or price amount) when associated to a shipment, formatted.\n\t * @example ```\"€0,00\"```\n\t */\n\tformatted_price_amount_for_shipment?: string | null\n\t/** \n\t * The minimum weight for which this shipping method is available.\n\t * @example ```3```\n\t */\n\tmin_weight?: number | null\n\t/** \n\t * The maximum weight for which this shipping method is available.\n\t * @example ```300```\n\t */\n\tmax_weight?: number | null\n\t/** \n\t * The unit of weight. One of 'gr', 'oz', or 'lb'.\n\t * @example ```\"gr\"```\n\t */\n\tunit_of_weight?: 'gr' | 'oz' | 'lb' | null\n\t/** \n\t * The freight tax identifier code, specific for a particular tax calculator.\n\t * @example ```\"FR010000\"```\n\t */\n\ttax_code?: string | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.\n\t * @example ```\"closed\"```\n\t */\n\tcircuit_state?: string | null\n\t/** \n\t * The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.\n\t * @example ```5```\n\t */\n\tcircuit_failure_count?: number | null\n\t/** \n\t * The shared secret used to sign the external request payload.\n\t * @example ```\"1c0994cc4e996e8c6ee56a2198f66f3c\"```\n\t */\n\tshared_secret: string\n\n\tmarket?: Market | null\n\tshipping_zone?: ShippingZone | null\n\tshipping_category?: ShippingCategory | null\n\tstock_location?: StockLocation | null\n\tdelivery_lead_time_for_shipment?: DeliveryLeadTime | null\n\tshipping_method_tiers?: ShippingMethodTier[] | null\n\tshipping_weight_tiers?: ShippingWeightTier[] | null\n\tattachments?: Attachment[] | null\n\tnotifications?: Notification[] | null\n\tversions?: Version[] | null\n\n}\n\n\ninterface ShippingMethodCreate extends ResourceCreate {\n\t\n\t/** \n\t * The shipping method's name.\n\t * @example ```\"Standard shipping\"```\n\t */\n\tname: string\n\t/** \n\t * The shipping method's scheme. One of 'flat', 'weight_tiered', or 'external'.\n\t * @example ```\"flat\"```\n\t */\n\tscheme?: 'flat' | 'weight_tiered' | 'external' | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * The URL used to overwrite prices by an external source.\n\t * @example ```\"https://external_prices.yourbrand.com\"```\n\t */\n\texternal_prices_url?: string | null\n\t/** \n\t * The price of this shipping method, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\t/** \n\t * Apply free shipping if the order amount is over this value, in cents.\n\t * @example ```9900```\n\t */\n\tfree_over_amount_cents?: number | null\n\t/** \n\t * Send this attribute if you want to compare the free over amount with order's subtotal (excluding discounts, if any).\n\t * @example ```true```\n\t */\n\tuse_subtotal?: boolean | null\n\t/** \n\t * The minimum weight for which this shipping method is available.\n\t * @example ```3```\n\t */\n\tmin_weight?: number | null\n\t/** \n\t * The maximum weight for which this shipping method is available.\n\t * @example ```300```\n\t */\n\tmax_weight?: number | null\n\t/** \n\t * The unit of weight. One of 'gr', 'oz', or 'lb'.\n\t * @example ```\"gr\"```\n\t */\n\tunit_of_weight?: 'gr' | 'oz' | 'lb' | null\n\t/** \n\t * The freight tax identifier code, specific for a particular tax calculator.\n\t * @example ```\"FR010000\"```\n\t */\n\ttax_code?: string | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\n\tmarket?: MarketRel | null\n\tshipping_zone?: ShippingZoneRel | null\n\tshipping_category?: ShippingCategoryRel | null\n\tstock_location?: StockLocationRel | null\n\tshipping_method_tiers?: ShippingMethodTierRel[] | null\n\n}\n\n\ninterface ShippingMethodUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The shipping method's name.\n\t * @example ```\"Standard shipping\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The shipping method's scheme. One of 'flat', 'weight_tiered', or 'external'.\n\t * @example ```\"flat\"```\n\t */\n\tscheme?: 'flat' | 'weight_tiered' | 'external' | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * The URL used to overwrite prices by an external source.\n\t * @example ```\"https://external_prices.yourbrand.com\"```\n\t */\n\texternal_prices_url?: string | null\n\t/** \n\t * The price of this shipping method, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents?: number | null\n\t/** \n\t * Apply free shipping if the order amount is over this value, in cents.\n\t * @example ```9900```\n\t */\n\tfree_over_amount_cents?: number | null\n\t/** \n\t * Send this attribute if you want to compare the free over amount with order's subtotal (excluding discounts, if any).\n\t * @example ```true```\n\t */\n\tuse_subtotal?: boolean | null\n\t/** \n\t * The minimum weight for which this shipping method is available.\n\t * @example ```3```\n\t */\n\tmin_weight?: number | null\n\t/** \n\t * The maximum weight for which this shipping method is available.\n\t * @example ```300```\n\t */\n\tmax_weight?: number | null\n\t/** \n\t * The unit of weight. One of 'gr', 'oz', or 'lb'.\n\t * @example ```\"gr\"```\n\t */\n\tunit_of_weight?: 'gr' | 'oz' | 'lb' | null\n\t/** \n\t * The freight tax identifier code, specific for a particular tax calculator.\n\t * @example ```\"FR010000\"```\n\t */\n\ttax_code?: string | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.\n\t * @example ```true```\n\t */\n\t_reset_circuit?: boolean | null\n\n\tmarket?: MarketRel | null\n\tshipping_zone?: ShippingZoneRel | null\n\tshipping_category?: ShippingCategoryRel | null\n\tstock_location?: StockLocationRel | null\n\tshipping_method_tiers?: ShippingMethodTierRel[] | null\n\n}\n\n\nclass ShippingMethods extends ApiResource<ShippingMethod> {\n\n\tstatic readonly TYPE: ShippingMethodType = 'shipping_methods' as const\n\n\tasync create(resource: ShippingMethodCreate, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\treturn this.resources.create<ShippingMethodCreate, ShippingMethod>({ ...resource, type: ShippingMethods.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ShippingMethodUpdate, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\treturn this.resources.update<ShippingMethodUpdate, ShippingMethod>({ ...resource, type: ShippingMethods.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: ShippingMethods.TYPE } : id, options)\n\t}\n\n\tasync market(shippingMethodId: string | ShippingMethod, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `shipping_methods/${_shippingMethodId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync shipping_zone(shippingMethodId: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingZone>, options?: ResourcesConfig): Promise<ShippingZone> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<ShippingZone>({ type: 'shipping_zones' }, `shipping_methods/${_shippingMethodId}/shipping_zone`, params, options) as unknown as ShippingZone\n\t}\n\n\tasync shipping_category(shippingMethodId: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingCategory>, options?: ResourcesConfig): Promise<ShippingCategory> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<ShippingCategory>({ type: 'shipping_categories' }, `shipping_methods/${_shippingMethodId}/shipping_category`, params, options) as unknown as ShippingCategory\n\t}\n\n\tasync stock_location(shippingMethodId: string | ShippingMethod, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<StockLocation>({ type: 'stock_locations' }, `shipping_methods/${_shippingMethodId}/stock_location`, params, options) as unknown as StockLocation\n\t}\n\n\tasync delivery_lead_time_for_shipment(shippingMethodId: string | ShippingMethod, params?: QueryParamsRetrieve<DeliveryLeadTime>, options?: ResourcesConfig): Promise<DeliveryLeadTime> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<DeliveryLeadTime>({ type: 'delivery_lead_times' }, `shipping_methods/${_shippingMethodId}/delivery_lead_time_for_shipment`, params, options) as unknown as DeliveryLeadTime\n\t}\n\n\tasync shipping_method_tiers(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<ShippingMethodTier>, options?: ResourcesConfig): Promise<ListResponse<ShippingMethodTier>> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<ShippingMethodTier>({ type: 'shipping_method_tiers' }, `shipping_methods/${_shippingMethodId}/shipping_method_tiers`, params, options) as unknown as ListResponse<ShippingMethodTier>\n\t}\n\n\tasync shipping_weight_tiers(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<ShippingWeightTier>, options?: ResourcesConfig): Promise<ListResponse<ShippingWeightTier>> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<ShippingWeightTier>({ type: 'shipping_weight_tiers' }, `shipping_methods/${_shippingMethodId}/shipping_weight_tiers`, params, options) as unknown as ListResponse<ShippingWeightTier>\n\t}\n\n\tasync attachments(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `shipping_methods/${_shippingMethodId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync notifications(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<Notification>, options?: ResourcesConfig): Promise<ListResponse<Notification>> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<Notification>({ type: 'notifications' }, `shipping_methods/${_shippingMethodId}/notifications`, params, options) as unknown as ListResponse<Notification>\n\t}\n\n\tasync versions(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _shippingMethodId = (shippingMethodId as ShippingMethod).id || shippingMethodId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `shipping_methods/${_shippingMethodId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync _disable(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\treturn this.resources.update<ShippingMethodUpdate, ShippingMethod>({ id: (typeof id === 'string')? id: id.id, type: ShippingMethods.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\treturn this.resources.update<ShippingMethodUpdate, ShippingMethod>({ id: (typeof id === 'string')? id: id.id, type: ShippingMethods.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _reset_circuit(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\treturn this.resources.update<ShippingMethodUpdate, ShippingMethod>({ id: (typeof id === 'string')? id: id.id, type: ShippingMethods.TYPE, _reset_circuit: true }, params, options)\n\t}\n\n\n\tisShippingMethod(resource: any): resource is ShippingMethod {\n\t\treturn resource.type && (resource.type === ShippingMethods.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ShippingMethodRel {\n\t\treturn super.relationshipOneToOne<ShippingMethodRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ShippingMethodRel[] {\n\t\treturn super.relationshipOneToMany<ShippingMethodRel>(...ids)\n\t}\n\n\n\ttype(): ShippingMethodType {\n\t\treturn ShippingMethods.TYPE\n\t}\n\n}\n\n\nconst instance = new ShippingMethods()\nexport default instance\n\nexport type { ShippingMethods, ShippingMethod, ShippingMethodCreate, ShippingMethodUpdate, ShippingMethodType }\n"]}
|
package/lib/chunk-WC4Z7ENS.cjs
DELETED
@@ -1,103 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
var chunkQYDOENWU_cjs = require('./chunk-QYDOENWU.cjs');
|
4
|
-
|
5
|
-
// src/resources/customers.ts
|
6
|
-
var Customers = class _Customers extends chunkQYDOENWU_cjs.ApiResource {
|
7
|
-
static TYPE = "customers";
|
8
|
-
async create(resource, params, options) {
|
9
|
-
return this.resources.create({ ...resource, type: _Customers.TYPE }, params, options);
|
10
|
-
}
|
11
|
-
async update(resource, params, options) {
|
12
|
-
return this.resources.update({ ...resource, type: _Customers.TYPE }, params, options);
|
13
|
-
}
|
14
|
-
async delete(id, options) {
|
15
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _Customers.TYPE } : id, options);
|
16
|
-
}
|
17
|
-
async customer_group(customerId, params, options) {
|
18
|
-
const _customerId = customerId.id || customerId;
|
19
|
-
return this.resources.fetch({ type: "customer_groups" }, `customers/${_customerId}/customer_group`, params, options);
|
20
|
-
}
|
21
|
-
async customer_addresses(customerId, params, options) {
|
22
|
-
const _customerId = customerId.id || customerId;
|
23
|
-
return this.resources.fetch({ type: "customer_addresses" }, `customers/${_customerId}/customer_addresses`, params, options);
|
24
|
-
}
|
25
|
-
async customer_payment_sources(customerId, params, options) {
|
26
|
-
const _customerId = customerId.id || customerId;
|
27
|
-
return this.resources.fetch({ type: "customer_payment_sources" }, `customers/${_customerId}/customer_payment_sources`, params, options);
|
28
|
-
}
|
29
|
-
async customer_subscriptions(customerId, params, options) {
|
30
|
-
const _customerId = customerId.id || customerId;
|
31
|
-
return this.resources.fetch({ type: "customer_subscriptions" }, `customers/${_customerId}/customer_subscriptions`, params, options);
|
32
|
-
}
|
33
|
-
async orders(customerId, params, options) {
|
34
|
-
const _customerId = customerId.id || customerId;
|
35
|
-
return this.resources.fetch({ type: "orders" }, `customers/${_customerId}/orders`, params, options);
|
36
|
-
}
|
37
|
-
async order_subscriptions(customerId, params, options) {
|
38
|
-
const _customerId = customerId.id || customerId;
|
39
|
-
return this.resources.fetch({ type: "order_subscriptions" }, `customers/${_customerId}/order_subscriptions`, params, options);
|
40
|
-
}
|
41
|
-
async returns(customerId, params, options) {
|
42
|
-
const _customerId = customerId.id || customerId;
|
43
|
-
return this.resources.fetch({ type: "returns" }, `customers/${_customerId}/returns`, params, options);
|
44
|
-
}
|
45
|
-
async sku_lists(customerId, params, options) {
|
46
|
-
const _customerId = customerId.id || customerId;
|
47
|
-
return this.resources.fetch({ type: "sku_lists" }, `customers/${_customerId}/sku_lists`, params, options);
|
48
|
-
}
|
49
|
-
async attachments(customerId, params, options) {
|
50
|
-
const _customerId = customerId.id || customerId;
|
51
|
-
return this.resources.fetch({ type: "attachments" }, `customers/${_customerId}/attachments`, params, options);
|
52
|
-
}
|
53
|
-
async events(customerId, params, options) {
|
54
|
-
const _customerId = customerId.id || customerId;
|
55
|
-
return this.resources.fetch({ type: "events" }, `customers/${_customerId}/events`, params, options);
|
56
|
-
}
|
57
|
-
async tags(customerId, params, options) {
|
58
|
-
const _customerId = customerId.id || customerId;
|
59
|
-
return this.resources.fetch({ type: "tags" }, `customers/${_customerId}/tags`, params, options);
|
60
|
-
}
|
61
|
-
async jwt_customer(customerId, params, options) {
|
62
|
-
const _customerId = customerId.id || customerId;
|
63
|
-
return this.resources.fetch({ type: "customers" }, `customers/${_customerId}/jwt_customer`, params, options);
|
64
|
-
}
|
65
|
-
async jwt_markets(customerId, params, options) {
|
66
|
-
const _customerId = customerId.id || customerId;
|
67
|
-
return this.resources.fetch({ type: "markets" }, `customers/${_customerId}/jwt_markets`, params, options);
|
68
|
-
}
|
69
|
-
async jwt_stock_locations(customerId, params, options) {
|
70
|
-
const _customerId = customerId.id || customerId;
|
71
|
-
return this.resources.fetch({ type: "stock_locations" }, `customers/${_customerId}/jwt_stock_locations`, params, options);
|
72
|
-
}
|
73
|
-
async _add_tags(id, triggerValue, params, options) {
|
74
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _add_tags: triggerValue }, params, options);
|
75
|
-
}
|
76
|
-
async _remove_tags(id, triggerValue, params, options) {
|
77
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _remove_tags: triggerValue }, params, options);
|
78
|
-
}
|
79
|
-
async _request_anonymization(id, params, options) {
|
80
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _request_anonymization: true }, params, options);
|
81
|
-
}
|
82
|
-
async _cancel_anonymization(id, params, options) {
|
83
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _cancel_anonymization: true }, params, options);
|
84
|
-
}
|
85
|
-
isCustomer(resource) {
|
86
|
-
return resource.type && resource.type === _Customers.TYPE;
|
87
|
-
}
|
88
|
-
relationship(id) {
|
89
|
-
return super.relationshipOneToOne(id);
|
90
|
-
}
|
91
|
-
relationshipToMany(...ids) {
|
92
|
-
return super.relationshipOneToMany(...ids);
|
93
|
-
}
|
94
|
-
type() {
|
95
|
-
return _Customers.TYPE;
|
96
|
-
}
|
97
|
-
};
|
98
|
-
var instance = new Customers();
|
99
|
-
var customers_default = instance;
|
100
|
-
|
101
|
-
exports.customers_default = customers_default;
|
102
|
-
//# sourceMappingURL=chunk-WC4Z7ENS.cjs.map
|
103
|
-
//# sourceMappingURL=chunk-WC4Z7ENS.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/customers.ts"],"names":["ApiResource"],"mappings":";;;;;AA2LA,IAAM,SAAA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AAuB,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;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-WC4Z7ENS.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { 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-WI5IVLYL.js
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
import { ApiResource } from './chunk-NAWKHFBZ.js';
|
2
|
-
|
3
|
-
// src/resources/checkout_com_payments.ts
|
4
|
-
var CheckoutComPayments = class _CheckoutComPayments extends ApiResource {
|
5
|
-
static TYPE = "checkout_com_payments";
|
6
|
-
async create(resource, params, options) {
|
7
|
-
return this.resources.create({ ...resource, type: _CheckoutComPayments.TYPE }, params, options);
|
8
|
-
}
|
9
|
-
async update(resource, params, options) {
|
10
|
-
return this.resources.update({ ...resource, type: _CheckoutComPayments.TYPE }, params, options);
|
11
|
-
}
|
12
|
-
async delete(id, options) {
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _CheckoutComPayments.TYPE } : id, options);
|
14
|
-
}
|
15
|
-
async order(checkoutComPaymentId, params, options) {
|
16
|
-
const _checkoutComPaymentId = checkoutComPaymentId.id || checkoutComPaymentId;
|
17
|
-
return this.resources.fetch({ type: "orders" }, `checkout_com_payments/${_checkoutComPaymentId}/order`, params, options);
|
18
|
-
}
|
19
|
-
async payment_gateway(checkoutComPaymentId, params, options) {
|
20
|
-
const _checkoutComPaymentId = checkoutComPaymentId.id || checkoutComPaymentId;
|
21
|
-
return this.resources.fetch({ type: "payment_gateways" }, `checkout_com_payments/${_checkoutComPaymentId}/payment_gateway`, params, options);
|
22
|
-
}
|
23
|
-
async versions(checkoutComPaymentId, params, options) {
|
24
|
-
const _checkoutComPaymentId = checkoutComPaymentId.id || checkoutComPaymentId;
|
25
|
-
return this.resources.fetch({ type: "versions" }, `checkout_com_payments/${_checkoutComPaymentId}/versions`, params, options);
|
26
|
-
}
|
27
|
-
async _details(id, params, options) {
|
28
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _CheckoutComPayments.TYPE, _details: true }, params, options);
|
29
|
-
}
|
30
|
-
async _refresh(id, params, options) {
|
31
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _CheckoutComPayments.TYPE, _refresh: true }, params, options);
|
32
|
-
}
|
33
|
-
isCheckoutComPayment(resource) {
|
34
|
-
return resource.type && resource.type === _CheckoutComPayments.TYPE;
|
35
|
-
}
|
36
|
-
relationship(id) {
|
37
|
-
return super.relationshipOneToOne(id);
|
38
|
-
}
|
39
|
-
relationshipToMany(...ids) {
|
40
|
-
return super.relationshipOneToMany(...ids);
|
41
|
-
}
|
42
|
-
type() {
|
43
|
-
return _CheckoutComPayments.TYPE;
|
44
|
-
}
|
45
|
-
};
|
46
|
-
var instance = new CheckoutComPayments();
|
47
|
-
var checkout_com_payments_default = instance;
|
48
|
-
|
49
|
-
export { checkout_com_payments_default };
|
50
|
-
//# sourceMappingURL=chunk-WI5IVLYL.js.map
|
51
|
-
//# sourceMappingURL=chunk-WI5IVLYL.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/checkout_com_payments.ts"],"names":[],"mappings":";;;AAkIA,IAAM,mBAAA,GAAN,MAAM,oBAAA,SAA4B,WAAA,CAAgC;AAAA,EAEjE,OAAgB,IAAA,GAA+B,uBAAA;AAAA,EAE/C,MAAM,MAAA,CAAO,QAAA,EAAoC,MAAA,EAAkD,OAAA,EAAwD;AAC1J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,oBAAA,CAAoB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC5I;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAoC,MAAA,EAAkD,OAAA,EAAwD;AAC1J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,oBAAA,CAAoB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC5I;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EA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GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,oBAAA,CAAoB,IAAA,EAAM,UAAU,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACxL;AAAA,EAEA,MAAM,QAAA,CAAS,EAAA,EAAiC,MAAA,EAAkD,OAAA,EAAwD;AACzJ,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAAqD,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,oBAAA,CAAoB,IAAA,EAAM,UAAU,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACxL;AAAA,EAGA,qBAAqB,QAAA,EAA+C;AACnE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,oBAAA,CAAoB,IAAA;AAAA,EAChE;AAAA,EAGA,aAAa,EAAA,EAAuD;AACnE,IAAA,OAAO,KAAA,CAAM,qBAA4C,EAAE,CAAA;AAAA,EAC5D;AAAA,EAEA,sBAAsB,GAAA,EAAwC;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA6C,GAAG,GAAG,CAAA;AAAA,EACjE;AAAA,EAGA,IAAA,GAA+B;AAC9B,IAAA,OAAO,oBAAA,CAAoB,IAAA;AAAA,EAC5B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,mBAAA,EAAoB;AACzC,IAAO,6BAAA,GAAQ","file":"chunk-WI5IVLYL.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 { Version } from './versions'\n\n\ntype CheckoutComPaymentType = 'checkout_com_payments'\ntype CheckoutComPaymentRel = ResourceRel & { type: CheckoutComPaymentType }\ntype OrderRel = ResourceRel & { type: OrderType }\n\n\nexport type CheckoutComPaymentSort = Pick<CheckoutComPayment, 'id'> & ResourceSort\n// export type CheckoutComPaymentFilter = Pick<CheckoutComPayment, 'id'> & ResourceFilter\n\n\ninterface CheckoutComPayment extends Resource {\n\t\n\treadonly type: CheckoutComPaymentType\n\n\t/** \n\t * The Checkout.com publishable API key.\n\t * @example ```\"pk_test_xxxx-yyyy-zzzz\"```\n\t */\n\tpublic_key?: string | null\n\t/** \n\t * The Checkout.com payment or digital wallet token.\n\t * @example ```\"tok_4gzeau5o2uqubbk6fufs3m7p54\"```\n\t */\n\ttoken: string\n\t/** \n\t * The session object which initializes payment.\n\t * @example ```{\"id\":\"ps_xxxx_yyyy_zzzz\",\"payment_session_secret\":\"pss_xxxx_yyy_zzzz\",\"payment_session_token\":\"xxxxx_yyyyy_zzzzz\",\"_links\":{\"self\":{\"href\":\"https://api.sandbox.checkout.com/payment-sessions/ps_xxxx_yyyy_zzzz\"}}}```\n\t */\n\tpayment_session: Record<string, any>\n\t/** \n\t * The URL to redirect your customer upon 3DS succeeded authentication.\n\t * @example ```\"http://commercelayer.dev/checkout_com/success\"```\n\t */\n\tsuccess_url: string\n\t/** \n\t * The URL to redirect your customer upon 3DS failed authentication.\n\t * @example ```\"http://commercelayer.dev/checkout_com/failure\"```\n\t */\n\tfailure_url: string\n\t/** \n\t * The payment source identifier that can be used for subsequent payments.\n\t * @example ```\"src_nwd3m4in3hkuddfpjsaevunhdy\"```\n\t */\n\tsource_id?: string | null\n\t/** \n\t * The customer's unique identifier. This can be passed as a source when making a payment.\n\t * @example ```\"cus_udst2tfldj6upmye2reztkmm4i\"```\n\t */\n\tcustomer_token?: string | null\n\t/** \n\t * The URI that the customer should be redirected to in order to complete the payment.\n\t * @example ```\"https://api.checkout.com/3ds/pay_mbabizu24mvu3mela5njyhpit4\"```\n\t */\n\tredirect_uri?: string | null\n\t/** \n\t * The Checkout.com payment response, used to fetch internal data.\n\t * @example ```{\"foo\":\"bar\"}```\n\t */\n\tpayment_response?: Record<string, any> | null\n\t/** \n\t * Indicates if the order current amount differs form the one of the associated authorization.\n\t */\n\tmismatched_amounts?: boolean | 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\tversions?: Version[] | null\n\n}\n\n\ninterface CheckoutComPaymentCreate extends ResourceCreate {\n\t\n\t/** \n\t * The Checkout.com payment or digital wallet token.\n\t * @example ```\"tok_4gzeau5o2uqubbk6fufs3m7p54\"```\n\t */\n\ttoken: string\n\t/** \n\t * The URL to redirect your customer upon 3DS succeeded authentication.\n\t * @example ```\"http://commercelayer.dev/checkout_com/success\"```\n\t */\n\tsuccess_url: string\n\t/** \n\t * The URL to redirect your customer upon 3DS failed authentication.\n\t * @example ```\"http://commercelayer.dev/checkout_com/failure\"```\n\t */\n\tfailure_url: string\n\n\torder: OrderRel\n\n}\n\n\ninterface CheckoutComPaymentUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The Checkout.com payment or digital wallet token.\n\t * @example ```\"tok_4gzeau5o2uqubbk6fufs3m7p54\"```\n\t */\n\ttoken?: string | null\n\t/** \n\t * Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check).\n\t * @example ```true```\n\t */\n\t_details?: boolean | null\n\t/** \n\t * Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.\n\t * @example ```true```\n\t */\n\t_refresh?: boolean | null\n\n\torder?: OrderRel | null\n\n}\n\n\nclass CheckoutComPayments extends ApiResource<CheckoutComPayment> {\n\n\tstatic readonly TYPE: CheckoutComPaymentType = 'checkout_com_payments' as const\n\n\tasync create(resource: CheckoutComPaymentCreate, params?: QueryParamsRetrieve<CheckoutComPayment>, options?: ResourcesConfig): Promise<CheckoutComPayment> {\n\t\treturn this.resources.create<CheckoutComPaymentCreate, CheckoutComPayment>({ ...resource, type: CheckoutComPayments.TYPE }, params, options)\n\t}\n\n\tasync update(resource: CheckoutComPaymentUpdate, params?: QueryParamsRetrieve<CheckoutComPayment>, options?: ResourcesConfig): Promise<CheckoutComPayment> {\n\t\treturn this.resources.update<CheckoutComPaymentUpdate, CheckoutComPayment>({ ...resource, type: CheckoutComPayments.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: CheckoutComPayments.TYPE } : id, options)\n\t}\n\n\tasync order(checkoutComPaymentId: string | CheckoutComPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order> {\n\t\tconst _checkoutComPaymentId = (checkoutComPaymentId as CheckoutComPayment).id || checkoutComPaymentId as string\n\t\treturn this.resources.fetch<Order>({ type: 'orders' }, `checkout_com_payments/${_checkoutComPaymentId}/order`, params, options) as unknown as Order\n\t}\n\n\tasync payment_gateway(checkoutComPaymentId: string | CheckoutComPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway> {\n\t\tconst _checkoutComPaymentId = (checkoutComPaymentId as CheckoutComPayment).id || checkoutComPaymentId as string\n\t\treturn this.resources.fetch<PaymentGateway>({ type: 'payment_gateways' }, `checkout_com_payments/${_checkoutComPaymentId}/payment_gateway`, params, options) as unknown as PaymentGateway\n\t}\n\n\tasync versions(checkoutComPaymentId: string | CheckoutComPayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _checkoutComPaymentId = (checkoutComPaymentId as CheckoutComPayment).id || checkoutComPaymentId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `checkout_com_payments/${_checkoutComPaymentId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync _details(id: string | CheckoutComPayment, params?: QueryParamsRetrieve<CheckoutComPayment>, options?: ResourcesConfig): Promise<CheckoutComPayment> {\n\t\treturn this.resources.update<CheckoutComPaymentUpdate, CheckoutComPayment>({ id: (typeof id === 'string')? id: id.id, type: CheckoutComPayments.TYPE, _details: true }, params, options)\n\t}\n\n\tasync _refresh(id: string | CheckoutComPayment, params?: QueryParamsRetrieve<CheckoutComPayment>, options?: ResourcesConfig): Promise<CheckoutComPayment> {\n\t\treturn this.resources.update<CheckoutComPaymentUpdate, CheckoutComPayment>({ id: (typeof id === 'string')? id: id.id, type: CheckoutComPayments.TYPE, _refresh: true }, params, options)\n\t}\n\n\n\tisCheckoutComPayment(resource: any): resource is CheckoutComPayment {\n\t\treturn resource.type && (resource.type === CheckoutComPayments.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): CheckoutComPaymentRel {\n\t\treturn super.relationshipOneToOne<CheckoutComPaymentRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): CheckoutComPaymentRel[] {\n\t\treturn super.relationshipOneToMany<CheckoutComPaymentRel>(...ids)\n\t}\n\n\n\ttype(): CheckoutComPaymentType {\n\t\treturn CheckoutComPayments.TYPE\n\t}\n\n}\n\n\nconst instance = new CheckoutComPayments()\nexport default instance\n\nexport type { CheckoutComPayments, CheckoutComPayment, CheckoutComPaymentCreate, CheckoutComPaymentUpdate, CheckoutComPaymentType }\n"]}
|
package/lib/chunk-WKN5RLNR.js
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
import { ApiResource } from './chunk-NAWKHFBZ.js';
|
2
|
-
|
3
|
-
// src/resources/paypal_payments.ts
|
4
|
-
var PaypalPayments = class _PaypalPayments extends ApiResource {
|
5
|
-
static TYPE = "paypal_payments";
|
6
|
-
async create(resource, params, options) {
|
7
|
-
return this.resources.create({ ...resource, type: _PaypalPayments.TYPE }, params, options);
|
8
|
-
}
|
9
|
-
async update(resource, params, options) {
|
10
|
-
return this.resources.update({ ...resource, type: _PaypalPayments.TYPE }, params, options);
|
11
|
-
}
|
12
|
-
async delete(id, options) {
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _PaypalPayments.TYPE } : id, options);
|
14
|
-
}
|
15
|
-
async order(paypalPaymentId, params, options) {
|
16
|
-
const _paypalPaymentId = paypalPaymentId.id || paypalPaymentId;
|
17
|
-
return this.resources.fetch({ type: "orders" }, `paypal_payments/${_paypalPaymentId}/order`, params, options);
|
18
|
-
}
|
19
|
-
async payment_gateway(paypalPaymentId, params, options) {
|
20
|
-
const _paypalPaymentId = paypalPaymentId.id || paypalPaymentId;
|
21
|
-
return this.resources.fetch({ type: "payment_gateways" }, `paypal_payments/${_paypalPaymentId}/payment_gateway`, params, options);
|
22
|
-
}
|
23
|
-
async versions(paypalPaymentId, params, options) {
|
24
|
-
const _paypalPaymentId = paypalPaymentId.id || paypalPaymentId;
|
25
|
-
return this.resources.fetch({ type: "versions" }, `paypal_payments/${_paypalPaymentId}/versions`, params, options);
|
26
|
-
}
|
27
|
-
isPaypalPayment(resource) {
|
28
|
-
return resource.type && resource.type === _PaypalPayments.TYPE;
|
29
|
-
}
|
30
|
-
relationship(id) {
|
31
|
-
return super.relationshipOneToOne(id);
|
32
|
-
}
|
33
|
-
relationshipToMany(...ids) {
|
34
|
-
return super.relationshipOneToMany(...ids);
|
35
|
-
}
|
36
|
-
type() {
|
37
|
-
return _PaypalPayments.TYPE;
|
38
|
-
}
|
39
|
-
};
|
40
|
-
var instance = new PaypalPayments();
|
41
|
-
var paypal_payments_default = instance;
|
42
|
-
|
43
|
-
export { paypal_payments_default };
|
44
|
-
//# sourceMappingURL=chunk-WKN5RLNR.js.map
|
45
|
-
//# sourceMappingURL=chunk-WKN5RLNR.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/paypal_payments.ts"],"names":[],"mappings":";;;AAmHA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuB,WAAA,CAA2B;AAAA,EAEvD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,MAAA,CAAO,QAAA,EAA+B,MAAA,EAA6C,OAAA,EAA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AAO,CAAA;AAAA,EACjJ;AAAA,EAEA,MAAM,QAAA,CAAS,eAAA,EAAyC,MAAA,EAAmC,OAAA,EAA2D;AACrJ,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAe,EAAE,IAAA,EAAM,UAAA,EAAW,EAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAA,SAAA,CAAA,EAAa,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC3H;AAAA,EAGA,gBAAgB,QAAA,EAA0C;AACzD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,eAAA,CAAe,IAAA;AAAA,EAC3D;AAAA,EAGA,aAAa,EAAA,EAAkD;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAuC,EAAE,CAAA;AAAA,EACvD;AAAA,EAEA,sBAAsB,GAAA,EAAmC;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAwC,GAAG,GAAG,CAAA;AAAA,EAC5D;AAAA,EAGA,IAAA,GAA0B;AACzB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACvB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-WKN5RLNR.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 { Version } from './versions'\n\n\ntype PaypalPaymentType = 'paypal_payments'\ntype PaypalPaymentRel = ResourceRel & { type: PaypalPaymentType }\ntype OrderRel = ResourceRel & { type: OrderType }\n\n\nexport type PaypalPaymentSort = Pick<PaypalPayment, 'id'> & ResourceSort\n// export type PaypalPaymentFilter = Pick<PaypalPayment, 'id'> & ResourceFilter\n\n\ninterface PaypalPayment extends Resource {\n\t\n\treadonly type: PaypalPaymentType\n\n\t/** \n\t * The URL where the payer is redirected after they approve the payment.\n\t * @example ```\"https://yourdomain.com/thankyou\"```\n\t */\n\treturn_url: string\n\t/** \n\t * The URL where the payer is redirected after they cancel the payment.\n\t * @example ```\"https://yourdomain.com/checkout/payment\"```\n\t */\n\tcancel_url: string\n\t/** \n\t * A free-form field that you can use to send a note to the payer on PayPal.\n\t * @example ```\"Thank you for shopping with us!\"```\n\t */\n\tnote_to_payer?: string | null\n\t/** \n\t * The id of the payer that PayPal passes in the return_url.\n\t * @example ```\"ABCDEFGHG123456\"```\n\t */\n\tpaypal_payer_id?: string | null\n\t/** \n\t * The PayPal payer id (if present).\n\t * @example ```\"ABCDEFGHG123456\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The id of the PayPal payment object.\n\t * @example ```\"1234567890\"```\n\t */\n\tpaypal_id?: string | null\n\t/** \n\t * The PayPal payment status. One of 'created', or 'approved'.\n\t * @example ```\"created\"```\n\t */\n\tstatus?: 'created' | 'approved' | null\n\t/** \n\t * The URL the customer should be redirected to approve the payment.\n\t * @example ```\"https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-1234567890ABCDEFGHG\"```\n\t */\n\tapproval_url?: string | null\n\t/** \n\t * Indicates if the order current amount differs form the one of the created payment intent.\n\t */\n\tmismatched_amounts?: boolean | 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\tversions?: Version[] | null\n\n}\n\n\ninterface PaypalPaymentCreate extends ResourceCreate {\n\t\n\t/** \n\t * The URL where the payer is redirected after they approve the payment.\n\t * @example ```\"https://yourdomain.com/thankyou\"```\n\t */\n\treturn_url: string\n\t/** \n\t * The URL where the payer is redirected after they cancel the payment.\n\t * @example ```\"https://yourdomain.com/checkout/payment\"```\n\t */\n\tcancel_url: string\n\t/** \n\t * A free-form field that you can use to send a note to the payer on PayPal.\n\t * @example ```\"Thank you for shopping with us!\"```\n\t */\n\tnote_to_payer?: string | null\n\n\torder: OrderRel\n\n}\n\n\ninterface PaypalPaymentUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The id of the payer that PayPal passes in the return_url.\n\t * @example ```\"ABCDEFGHG123456\"```\n\t */\n\tpaypal_payer_id?: string | null\n\n\torder?: OrderRel | null\n\n}\n\n\nclass PaypalPayments extends ApiResource<PaypalPayment> {\n\n\tstatic readonly TYPE: PaypalPaymentType = 'paypal_payments' as const\n\n\tasync create(resource: PaypalPaymentCreate, params?: QueryParamsRetrieve<PaypalPayment>, options?: ResourcesConfig): Promise<PaypalPayment> {\n\t\treturn this.resources.create<PaypalPaymentCreate, PaypalPayment>({ ...resource, type: PaypalPayments.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PaypalPaymentUpdate, params?: QueryParamsRetrieve<PaypalPayment>, options?: ResourcesConfig): Promise<PaypalPayment> {\n\t\treturn this.resources.update<PaypalPaymentUpdate, PaypalPayment>({ ...resource, type: PaypalPayments.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: PaypalPayments.TYPE } : id, options)\n\t}\n\n\tasync order(paypalPaymentId: string | PaypalPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order> {\n\t\tconst _paypalPaymentId = (paypalPaymentId as PaypalPayment).id || paypalPaymentId as string\n\t\treturn this.resources.fetch<Order>({ type: 'orders' }, `paypal_payments/${_paypalPaymentId}/order`, params, options) as unknown as Order\n\t}\n\n\tasync payment_gateway(paypalPaymentId: string | PaypalPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway> {\n\t\tconst _paypalPaymentId = (paypalPaymentId as PaypalPayment).id || paypalPaymentId as string\n\t\treturn this.resources.fetch<PaymentGateway>({ type: 'payment_gateways' }, `paypal_payments/${_paypalPaymentId}/payment_gateway`, params, options) as unknown as PaymentGateway\n\t}\n\n\tasync versions(paypalPaymentId: string | PaypalPayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _paypalPaymentId = (paypalPaymentId as PaypalPayment).id || paypalPaymentId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `paypal_payments/${_paypalPaymentId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\n\tisPaypalPayment(resource: any): resource is PaypalPayment {\n\t\treturn resource.type && (resource.type === PaypalPayments.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PaypalPaymentRel {\n\t\treturn super.relationshipOneToOne<PaypalPaymentRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PaypalPaymentRel[] {\n\t\treturn super.relationshipOneToMany<PaypalPaymentRel>(...ids)\n\t}\n\n\n\ttype(): PaypalPaymentType {\n\t\treturn PaypalPayments.TYPE\n\t}\n\n}\n\n\nconst instance = new PaypalPayments()\nexport default instance\n\nexport type { PaypalPayments, PaypalPayment, PaypalPaymentCreate, PaypalPaymentUpdate, PaypalPaymentType }\n"]}
|
package/lib/chunk-WP3L72CW.js
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
import { ApiResource } from './chunk-NAWKHFBZ.js';
|
2
|
-
|
3
|
-
// src/resources/price_list_schedulers.ts
|
4
|
-
var PriceListSchedulers = class _PriceListSchedulers extends ApiResource {
|
5
|
-
static TYPE = "price_list_schedulers";
|
6
|
-
async create(resource, params, options) {
|
7
|
-
return this.resources.create({ ...resource, type: _PriceListSchedulers.TYPE }, params, options);
|
8
|
-
}
|
9
|
-
async update(resource, params, options) {
|
10
|
-
return this.resources.update({ ...resource, type: _PriceListSchedulers.TYPE }, params, options);
|
11
|
-
}
|
12
|
-
async delete(id, options) {
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _PriceListSchedulers.TYPE } : id, options);
|
14
|
-
}
|
15
|
-
async market(priceListSchedulerId, params, options) {
|
16
|
-
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
17
|
-
return this.resources.fetch({ type: "markets" }, `price_list_schedulers/${_priceListSchedulerId}/market`, params, options);
|
18
|
-
}
|
19
|
-
async price_list(priceListSchedulerId, params, options) {
|
20
|
-
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
21
|
-
return this.resources.fetch({ type: "price_lists" }, `price_list_schedulers/${_priceListSchedulerId}/price_list`, params, options);
|
22
|
-
}
|
23
|
-
async events(priceListSchedulerId, params, options) {
|
24
|
-
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
25
|
-
return this.resources.fetch({ type: "events" }, `price_list_schedulers/${_priceListSchedulerId}/events`, params, options);
|
26
|
-
}
|
27
|
-
async versions(priceListSchedulerId, params, options) {
|
28
|
-
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
29
|
-
return this.resources.fetch({ type: "versions" }, `price_list_schedulers/${_priceListSchedulerId}/versions`, params, options);
|
30
|
-
}
|
31
|
-
async _disable(id, params, options) {
|
32
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PriceListSchedulers.TYPE, _disable: true }, params, options);
|
33
|
-
}
|
34
|
-
async _enable(id, params, options) {
|
35
|
-
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PriceListSchedulers.TYPE, _enable: true }, params, options);
|
36
|
-
}
|
37
|
-
isPriceListScheduler(resource) {
|
38
|
-
return resource.type && resource.type === _PriceListSchedulers.TYPE;
|
39
|
-
}
|
40
|
-
relationship(id) {
|
41
|
-
return super.relationshipOneToOne(id);
|
42
|
-
}
|
43
|
-
relationshipToMany(...ids) {
|
44
|
-
return super.relationshipOneToMany(...ids);
|
45
|
-
}
|
46
|
-
type() {
|
47
|
-
return _PriceListSchedulers.TYPE;
|
48
|
-
}
|
49
|
-
};
|
50
|
-
var instance = new PriceListSchedulers();
|
51
|
-
var price_list_schedulers_default = instance;
|
52
|
-
|
53
|
-
export { price_list_schedulers_default };
|
54
|
-
//# sourceMappingURL=chunk-WP3L72CW.js.map
|
55
|
-
//# sourceMappingURL=chunk-WP3L72CW.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/price_list_schedulers.ts"],"names":[],"mappings":";;;AAmIA,IAAM,mBAAA,GAAN,MAAM,oBAAA,SAA4B,WAAA,CAAgC;AAAA,EAEjE,OAAgB,IAAA,GAA+B,uBAAA;AAAA,EAE/C,MAAM,MAAA,CAAO,QAAA,EAAoC,MAAA,EAAkD,OAAA,EAAwD;AAC1J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,oBAAA,CAAoB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC5I;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAoC,MAAA,EAAkD,OAAA,EAAwD;AAC1J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,oBAAA,CAAoB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC5I;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,oBAAA,CAAoB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC3G;AAAA,EAEA,MAAM,MAAA,CAAO,oBAAA,EAAmD,MAAA,EAAsC,OAAA,EAA4C;AACjJ,IAAA,MAAM,qBAAA,GAAyB,qBA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O,KAAK,SAAA,CAAU,MAAA,CAAqD,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,oBAAA,CAAoB,IAAA,EAAM,UAAU,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACxL;AAAA,EAEA,MAAM,OAAA,CAAQ,EAAA,EAAiC,MAAA,EAAkD,OAAA,EAAwD;AACxJ,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAAqD,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,oBAAA,CAAoB,IAAA,EAAM,SAAS,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACvL;AAAA,EAGA,qBAAqB,QAAA,EAA+C;AACnE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,oBAAA,CAAoB,IAAA;AAAA,EAChE;AAAA,EAGA,aAAa,EAAA,EAAuD;AACnE,IAAA,OAAO,KAAA,CAAM,qBAA4C,EAAE,CAAA;AAAA,EAC5D;AAAA,EAEA,sBAAsB,GAAA,EAAwC;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA6C,GAAG,GAAG,CAAA;AAAA,EACjE;AAAA,EAGA,IAAA,GAA+B;AAC9B,IAAA,OAAO,oBAAA,CAAoB,IAAA;AAAA,EAC5B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,mBAAA,EAAoB;AACzC,IAAO,6BAAA,GAAQ","file":"chunk-WP3L72CW.js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Market, MarketType } from './markets'\nimport type { PriceList, PriceListType } from './price_lists'\nimport type { Event } from './events'\nimport type { Version } from './versions'\n\n\ntype PriceListSchedulerType = 'price_list_schedulers'\ntype PriceListSchedulerRel = ResourceRel & { type: PriceListSchedulerType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype PriceListRel = ResourceRel & { type: PriceListType }\n\n\nexport type PriceListSchedulerSort = Pick<PriceListScheduler, 'id' | 'name' | 'starts_at' | 'expires_at' | 'disabled_at'> & ResourceSort\n// export type PriceListSchedulerFilter = Pick<PriceListScheduler, 'id' | 'name' | 'starts_at' | 'expires_at' | 'disabled_at'> & ResourceFilter\n\n\ninterface PriceListScheduler extends Resource {\n\t\n\treadonly type: PriceListSchedulerType\n\n\t/** \n\t * The price list scheduler's internal name.\n\t * @example ```\"FW SALE 2023\"```\n\t */\n\tname: string\n\t/** \n\t * The activation date/time of this price list scheduler.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this price list scheduler (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * Indicates if the price list scheduler is active (enabled and not expired).\n\t * @example ```true```\n\t */\n\tactive?: boolean | null\n\t/** \n\t * The price list scheduler status. One of 'disabled', 'expired', 'pending', or 'active'.\n\t * @example ```\"pending\"```\n\t */\n\tstatus?: 'disabled' | 'expired' | 'pending' | 'active' | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\n\tmarket?: Market | null\n\tprice_list?: PriceList | null\n\tevents?: Event[] | null\n\tversions?: Version[] | null\n\n}\n\n\ninterface PriceListSchedulerCreate extends ResourceCreate {\n\t\n\t/** \n\t * The price list scheduler's internal name.\n\t * @example ```\"FW SALE 2023\"```\n\t */\n\tname: string\n\t/** \n\t * The activation date/time of this price list scheduler.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this price list scheduler (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\n\tmarket: MarketRel\n\tprice_list: PriceListRel\n\n}\n\n\ninterface PriceListSchedulerUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The price list scheduler's internal name.\n\t * @example ```\"FW SALE 2023\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The activation date/time of this price list scheduler.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at?: string | null\n\t/** \n\t * The expiration date/time of this price list scheduler (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\n\tmarket?: MarketRel | null\n\tprice_list?: PriceListRel | null\n\n}\n\n\nclass PriceListSchedulers extends ApiResource<PriceListScheduler> {\n\n\tstatic readonly TYPE: PriceListSchedulerType = 'price_list_schedulers' as const\n\n\tasync create(resource: PriceListSchedulerCreate, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler> {\n\t\treturn this.resources.create<PriceListSchedulerCreate, PriceListScheduler>({ ...resource, type: PriceListSchedulers.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PriceListSchedulerUpdate, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler> {\n\t\treturn this.resources.update<PriceListSchedulerUpdate, PriceListScheduler>({ ...resource, type: PriceListSchedulers.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: PriceListSchedulers.TYPE } : id, options)\n\t}\n\n\tasync market(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || priceListSchedulerId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `price_list_schedulers/${_priceListSchedulerId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync price_list(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList> {\n\t\tconst _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || priceListSchedulerId as string\n\t\treturn this.resources.fetch<PriceList>({ type: 'price_lists' }, `price_list_schedulers/${_priceListSchedulerId}/price_list`, params, options) as unknown as PriceList\n\t}\n\n\tasync events(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || priceListSchedulerId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `price_list_schedulers/${_priceListSchedulerId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync versions(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || priceListSchedulerId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `price_list_schedulers/${_priceListSchedulerId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync _disable(id: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler> {\n\t\treturn this.resources.update<PriceListSchedulerUpdate, PriceListScheduler>({ id: (typeof id === 'string')? id: id.id, type: PriceListSchedulers.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler> {\n\t\treturn this.resources.update<PriceListSchedulerUpdate, PriceListScheduler>({ id: (typeof id === 'string')? id: id.id, type: PriceListSchedulers.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisPriceListScheduler(resource: any): resource is PriceListScheduler {\n\t\treturn resource.type && (resource.type === PriceListSchedulers.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PriceListSchedulerRel {\n\t\treturn super.relationshipOneToOne<PriceListSchedulerRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PriceListSchedulerRel[] {\n\t\treturn super.relationshipOneToMany<PriceListSchedulerRel>(...ids)\n\t}\n\n\n\ttype(): PriceListSchedulerType {\n\t\treturn PriceListSchedulers.TYPE\n\t}\n\n}\n\n\nconst instance = new PriceListSchedulers()\nexport default instance\n\nexport type { PriceListSchedulers, PriceListScheduler, PriceListSchedulerCreate, PriceListSchedulerUpdate, PriceListSchedulerType }\n"]}
|