@commercelayer/sdk 8.0.0-beta.10 → 8.0.0-beta.11
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/README.md +27 -2
- package/lib/api-CbtXzzPa.d.ts +19196 -0
- package/lib/api-DtDA0Oxa.d.cts +19196 -0
- package/lib/api.cjs +272 -272
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +138 -138
- package/lib/bundle-compat.cjs +141 -141
- package/lib/bundle-compat.d.cts +1 -1
- package/lib/bundle-compat.d.ts +1 -1
- package/lib/bundle-compat.js +140 -140
- package/lib/bundle.cjs +142 -142
- package/lib/bundle.d.cts +1 -1
- package/lib/bundle.d.ts +1 -1
- package/lib/bundle.js +140 -140
- package/lib/chunk-25VHLJ3F.js +89 -0
- package/lib/chunk-25VHLJ3F.js.map +1 -0
- package/lib/chunk-2AXNVWID.js +51 -0
- package/lib/chunk-2AXNVWID.js.map +1 -0
- package/lib/chunk-2E77ADQI.cjs +81 -0
- package/lib/chunk-2E77ADQI.cjs.map +1 -0
- package/lib/chunk-2JJWJZIX.cjs +79 -0
- package/lib/chunk-2JJWJZIX.cjs.map +1 -0
- package/lib/chunk-2MEIS5NA.cjs +182 -0
- package/lib/chunk-2MEIS5NA.cjs.map +1 -0
- package/lib/chunk-2QFPV3FM.js +60 -0
- package/lib/chunk-2QFPV3FM.js.map +1 -0
- package/lib/chunk-2RBVOBOE.cjs +60 -0
- package/lib/chunk-2RBVOBOE.cjs.map +1 -0
- package/lib/chunk-2UWYPR4T.js +120 -0
- package/lib/chunk-2UWYPR4T.js.map +1 -0
- package/lib/chunk-2VGVF5SJ.cjs +86 -0
- package/lib/chunk-2VGVF5SJ.cjs.map +1 -0
- package/lib/chunk-32YLRD6X.cjs +70 -0
- package/lib/chunk-32YLRD6X.cjs.map +1 -0
- package/lib/chunk-346DE4FR.cjs +193 -0
- package/lib/chunk-346DE4FR.cjs.map +1 -0
- package/lib/chunk-35HABXOS.cjs +205 -0
- package/lib/chunk-35HABXOS.cjs.map +1 -0
- package/lib/chunk-3EI7CXU3.js +68 -0
- package/lib/chunk-3EI7CXU3.js.map +1 -0
- package/lib/chunk-3MR4RCHV.js +100 -0
- package/lib/chunk-3MR4RCHV.js.map +1 -0
- package/lib/chunk-3OIAX6XB.js +59 -0
- package/lib/chunk-3OIAX6XB.js.map +1 -0
- package/lib/chunk-3Q2WCV4Q.js +67 -0
- package/lib/chunk-3Q2WCV4Q.js.map +1 -0
- package/lib/chunk-3QQMAS7W.cjs +94 -0
- package/lib/chunk-3QQMAS7W.cjs.map +1 -0
- package/lib/chunk-3RCAZLBZ.cjs +82 -0
- package/lib/chunk-3RCAZLBZ.cjs.map +1 -0
- package/lib/chunk-3SBL6VHM.cjs +122 -0
- package/lib/chunk-3SBL6VHM.cjs.map +1 -0
- package/lib/chunk-3VPZFDUD.cjs +102 -0
- package/lib/chunk-3VPZFDUD.cjs.map +1 -0
- package/lib/chunk-3ZC34CCX.js +38 -0
- package/lib/chunk-3ZC34CCX.js.map +1 -0
- package/lib/chunk-426WITQY.js +89 -0
- package/lib/chunk-426WITQY.js.map +1 -0
- package/lib/chunk-47X2DZN4.cjs +102 -0
- package/lib/chunk-47X2DZN4.cjs.map +1 -0
- package/lib/chunk-4HTYFQWK.cjs +44 -0
- package/lib/chunk-4HTYFQWK.cjs.map +1 -0
- package/lib/chunk-4K2SOUH5.cjs +52 -0
- package/lib/chunk-4K2SOUH5.cjs.map +1 -0
- package/lib/chunk-4REPNW3X.js +61 -0
- package/lib/chunk-4REPNW3X.js.map +1 -0
- package/lib/chunk-4WZ6KSV6.js +129 -0
- package/lib/chunk-4WZ6KSV6.js.map +1 -0
- package/lib/chunk-4YUZOIAO.cjs +131 -0
- package/lib/chunk-4YUZOIAO.cjs.map +1 -0
- package/lib/chunk-52DKX77F.cjs +98 -0
- package/lib/chunk-52DKX77F.cjs.map +1 -0
- package/lib/chunk-5CTB4AQM.cjs +62 -0
- package/lib/chunk-5CTB4AQM.cjs.map +1 -0
- package/lib/chunk-5GGEXHQI.cjs +98 -0
- package/lib/chunk-5GGEXHQI.cjs.map +1 -0
- package/lib/chunk-5H7R4SYT.js +58 -0
- package/lib/chunk-5H7R4SYT.js.map +1 -0
- package/lib/chunk-5IMEH7YJ.js +177 -0
- package/lib/chunk-5IMEH7YJ.js.map +1 -0
- package/lib/chunk-5MAU5OUB.cjs +91 -0
- package/lib/chunk-5MAU5OUB.cjs.map +1 -0
- package/lib/chunk-5RLBHS3F.cjs +179 -0
- package/lib/chunk-5RLBHS3F.cjs.map +1 -0
- package/lib/chunk-5VI4FFCJ.cjs +91 -0
- package/lib/chunk-5VI4FFCJ.cjs.map +1 -0
- package/lib/chunk-5W54ENHX.js +331 -0
- package/lib/chunk-5W54ENHX.js.map +1 -0
- package/lib/chunk-5XNNWIAH.cjs +98 -0
- package/lib/chunk-5XNNWIAH.cjs.map +1 -0
- package/lib/chunk-5Z2IIZE4.cjs +62 -0
- package/lib/chunk-5Z2IIZE4.cjs.map +1 -0
- package/lib/chunk-62VNLMH5.cjs +176 -0
- package/lib/chunk-62VNLMH5.cjs.map +1 -0
- package/lib/chunk-6EZRTCA4.cjs +53 -0
- package/lib/chunk-6EZRTCA4.cjs.map +1 -0
- package/lib/chunk-6G4MV4VT.js +75 -0
- package/lib/chunk-6G4MV4VT.js.map +1 -0
- package/lib/chunk-6TN2P34K.cjs +120 -0
- package/lib/chunk-6TN2P34K.cjs.map +1 -0
- package/lib/chunk-73Q3EU2I.js +68 -0
- package/lib/chunk-73Q3EU2I.js.map +1 -0
- package/lib/chunk-7GDSHRLY.cjs +170 -0
- package/lib/chunk-7GDSHRLY.cjs.map +1 -0
- package/lib/chunk-7KTPV74D.js +113 -0
- package/lib/chunk-7KTPV74D.js.map +1 -0
- package/lib/chunk-7OUOUHOO.cjs +84 -0
- package/lib/chunk-7OUOUHOO.cjs.map +1 -0
- package/lib/chunk-7Y3OVLWC.cjs +79 -0
- package/lib/chunk-7Y3OVLWC.cjs.map +1 -0
- package/lib/chunk-A3U2XTGP.js +124 -0
- package/lib/chunk-A3U2XTGP.js.map +1 -0
- package/lib/chunk-A4GLMRLN.js +89 -0
- package/lib/chunk-A4GLMRLN.js.map +1 -0
- package/lib/chunk-A6AENRHK.cjs +125 -0
- package/lib/chunk-A6AENRHK.cjs.map +1 -0
- package/lib/chunk-ANFIAB6R.js +177 -0
- package/lib/chunk-ANFIAB6R.js.map +1 -0
- package/lib/chunk-AOHAWFOB.js +86 -0
- package/lib/chunk-AOHAWFOB.js.map +1 -0
- package/lib/chunk-APBF76ZC.cjs +91 -0
- package/lib/chunk-APBF76ZC.cjs.map +1 -0
- package/lib/chunk-ATGOMWPN.js +77 -0
- package/lib/chunk-ATGOMWPN.js.map +1 -0
- package/lib/chunk-AYBAQVWV.js +612 -0
- package/lib/chunk-AYBAQVWV.js.map +1 -0
- package/lib/chunk-AZTICLOY.js +45 -0
- package/lib/chunk-AZTICLOY.js.map +1 -0
- package/lib/chunk-B3KEZC7E.cjs +62 -0
- package/lib/chunk-B3KEZC7E.cjs.map +1 -0
- package/lib/chunk-B77UNRIL.cjs +79 -0
- package/lib/chunk-B77UNRIL.cjs.map +1 -0
- package/lib/chunk-BFD4ZKN2.cjs +86 -0
- package/lib/chunk-BFD4ZKN2.cjs.map +1 -0
- package/lib/chunk-BHWL7SMR.cjs +614 -0
- package/lib/chunk-BHWL7SMR.cjs.map +1 -0
- package/lib/chunk-BIRMFKH4.js +51 -0
- package/lib/chunk-BIRMFKH4.js.map +1 -0
- package/lib/chunk-BMQ5UFUF.cjs +44 -0
- package/lib/chunk-BMQ5UFUF.cjs.map +1 -0
- package/lib/chunk-BNN6J67M.js +84 -0
- package/lib/chunk-BNN6J67M.js.map +1 -0
- package/lib/chunk-BODGU3FN.js +70 -0
- package/lib/chunk-BODGU3FN.js.map +1 -0
- package/lib/chunk-BPJZJZ4P.cjs +62 -0
- package/lib/chunk-BPJZJZ4P.cjs.map +1 -0
- package/lib/chunk-BQASYOEH.js +68 -0
- package/lib/chunk-BQASYOEH.js.map +1 -0
- package/lib/chunk-BTR6K6LM.cjs +63 -0
- package/lib/chunk-BTR6K6LM.cjs.map +1 -0
- package/lib/chunk-BU7V7PER.cjs +70 -0
- package/lib/chunk-BU7V7PER.cjs.map +1 -0
- package/lib/chunk-BULIJXJG.js +42 -0
- package/lib/chunk-BULIJXJG.js.map +1 -0
- package/lib/chunk-BVY6R7DW.cjs +74 -0
- package/lib/chunk-BVY6R7DW.cjs.map +1 -0
- package/lib/chunk-CAMYSYCA.cjs +125 -0
- package/lib/chunk-CAMYSYCA.cjs.map +1 -0
- package/lib/chunk-CCMUJPKE.js +51 -0
- package/lib/chunk-CCMUJPKE.js.map +1 -0
- package/lib/chunk-CKS7ZLKB.js +77 -0
- package/lib/chunk-CKS7ZLKB.js.map +1 -0
- package/lib/chunk-CNX3NNSJ.js +42 -0
- package/lib/chunk-CNX3NNSJ.js.map +1 -0
- package/lib/chunk-CRSL2GLF.js +80 -0
- package/lib/chunk-CRSL2GLF.js.map +1 -0
- package/lib/chunk-CWAFALCE.js +94 -0
- package/lib/chunk-CWAFALCE.js.map +1 -0
- package/lib/chunk-CXLUFFYV.js +180 -0
- package/lib/chunk-CXLUFFYV.js.map +1 -0
- package/lib/chunk-D3X4TTHW.cjs +55 -0
- package/lib/chunk-D3X4TTHW.cjs.map +1 -0
- package/lib/chunk-D4ZRETJN.cjs +179 -0
- package/lib/chunk-D4ZRETJN.cjs.map +1 -0
- package/lib/chunk-D74NQPBD.js +77 -0
- package/lib/chunk-D74NQPBD.js.map +1 -0
- package/lib/chunk-DCHLWNWE.js +89 -0
- package/lib/chunk-DCHLWNWE.js.map +1 -0
- package/lib/chunk-DCKGGURY.js +12 -0
- package/lib/chunk-DCKGGURY.js.map +1 -0
- package/lib/chunk-DDJBA5N3.js +86 -0
- package/lib/chunk-DDJBA5N3.js.map +1 -0
- package/lib/chunk-DLEMEQCL.js +68 -0
- package/lib/chunk-DLEMEQCL.js.map +1 -0
- package/lib/chunk-DTENA3KF.cjs +94 -0
- package/lib/chunk-DTENA3KF.cjs.map +1 -0
- package/lib/chunk-DTVZJW3T.js +60 -0
- package/lib/chunk-DTVZJW3T.js.map +1 -0
- package/lib/chunk-DZPTIKD7.cjs +70 -0
- package/lib/chunk-DZPTIKD7.cjs.map +1 -0
- package/lib/chunk-E5WNJXQM.cjs +79 -0
- package/lib/chunk-E5WNJXQM.cjs.map +1 -0
- package/lib/chunk-E7N3CO5I.cjs +122 -0
- package/lib/chunk-E7N3CO5I.cjs.map +1 -0
- package/lib/chunk-E7ZKYXMW.js +120 -0
- package/lib/chunk-E7ZKYXMW.js.map +1 -0
- package/lib/chunk-ELS7YPTF.js +60 -0
- package/lib/chunk-ELS7YPTF.js.map +1 -0
- package/lib/chunk-ELSMZZL6.js +68 -0
- package/lib/chunk-ELSMZZL6.js.map +1 -0
- package/lib/chunk-EMAUWPBH.cjs +62 -0
- package/lib/chunk-EMAUWPBH.cjs.map +1 -0
- package/lib/chunk-ENGSDWYA.cjs +70 -0
- package/lib/chunk-ENGSDWYA.cjs.map +1 -0
- package/lib/chunk-ET7SIFCZ.js +82 -0
- package/lib/chunk-ET7SIFCZ.js.map +1 -0
- package/lib/chunk-F4XVHX6I.cjs +243 -0
- package/lib/chunk-F4XVHX6I.cjs.map +1 -0
- package/lib/chunk-FD2JC7HR.cjs +62 -0
- package/lib/chunk-FD2JC7HR.cjs.map +1 -0
- package/lib/chunk-FDPYOOCE.js +132 -0
- package/lib/chunk-FDPYOOCE.js.map +1 -0
- package/lib/chunk-FMPIBZQI.js +78 -0
- package/lib/chunk-FMPIBZQI.js.map +1 -0
- package/lib/chunk-FO6W4J2K.cjs +70 -0
- package/lib/chunk-FO6W4J2K.cjs.map +1 -0
- package/lib/chunk-FOTU7CYD.js +53 -0
- package/lib/chunk-FOTU7CYD.js.map +1 -0
- package/lib/chunk-FRJSKD6D.js +68 -0
- package/lib/chunk-FRJSKD6D.js.map +1 -0
- package/lib/chunk-FUVQOAPT.js +60 -0
- package/lib/chunk-FUVQOAPT.js.map +1 -0
- package/lib/chunk-FVJWAGF3.cjs +77 -0
- package/lib/chunk-FVJWAGF3.cjs.map +1 -0
- package/lib/chunk-G2G7OZPY.cjs +71 -0
- package/lib/chunk-G2G7OZPY.cjs.map +1 -0
- package/lib/chunk-GAQQJH3L.cjs +70 -0
- package/lib/chunk-GAQQJH3L.cjs.map +1 -0
- package/lib/chunk-GEJSGUO3.js +75 -0
- package/lib/chunk-GEJSGUO3.js.map +1 -0
- package/lib/chunk-GKPLAZMH.cjs +339 -0
- package/lib/chunk-GKPLAZMH.cjs.map +1 -0
- package/lib/chunk-GL5HO22G.js +75 -0
- package/lib/chunk-GL5HO22G.js.map +1 -0
- package/lib/chunk-GLA3FXNM.js +96 -0
- package/lib/chunk-GLA3FXNM.js.map +1 -0
- package/lib/chunk-GLFJHLVP.cjs +120 -0
- package/lib/chunk-GLFJHLVP.cjs.map +1 -0
- package/lib/chunk-GMOMWH45.js +79 -0
- package/lib/chunk-GMOMWH45.js.map +1 -0
- package/lib/chunk-GP7TYOQO.js +68 -0
- package/lib/chunk-GP7TYOQO.js.map +1 -0
- package/lib/chunk-GXOLCMKF.js +73 -0
- package/lib/chunk-GXOLCMKF.js.map +1 -0
- package/lib/chunk-H4CW7KIP.cjs +102 -0
- package/lib/chunk-H4CW7KIP.cjs.map +1 -0
- package/lib/chunk-H7FOVRDB.js +51 -0
- package/lib/chunk-H7FOVRDB.js.map +1 -0
- package/lib/chunk-H7I2IH4X.js +68 -0
- package/lib/chunk-H7I2IH4X.js.map +1 -0
- package/lib/chunk-HDETPQPF.js +177 -0
- package/lib/chunk-HDETPQPF.js.map +1 -0
- package/lib/chunk-HL4RE2VL.js +96 -0
- package/lib/chunk-HL4RE2VL.js.map +1 -0
- package/lib/chunk-HP72HI2Q.cjs +193 -0
- package/lib/chunk-HP72HI2Q.cjs.map +1 -0
- package/lib/chunk-HPFHY6E4.cjs +75 -0
- package/lib/chunk-HPFHY6E4.cjs.map +1 -0
- package/lib/chunk-HVHXCOIY.cjs +126 -0
- package/lib/chunk-HVHXCOIY.cjs.map +1 -0
- package/lib/chunk-HVW67FMI.cjs +84 -0
- package/lib/chunk-HVW67FMI.cjs.map +1 -0
- package/lib/chunk-HVYTLHDO.cjs +79 -0
- package/lib/chunk-HVYTLHDO.cjs.map +1 -0
- package/lib/chunk-I2Y3JYO7.js +177 -0
- package/lib/chunk-I2Y3JYO7.js.map +1 -0
- package/lib/chunk-I42LP7ZG.cjs +91 -0
- package/lib/chunk-I42LP7ZG.cjs.map +1 -0
- package/lib/chunk-IFT5SYLF.cjs +91 -0
- package/lib/chunk-IFT5SYLF.cjs.map +1 -0
- package/lib/chunk-IIXJMXXF.cjs +80 -0
- package/lib/chunk-IIXJMXXF.cjs.map +1 -0
- package/lib/chunk-ILC7QEAT.cjs +79 -0
- package/lib/chunk-ILC7QEAT.cjs.map +1 -0
- package/lib/chunk-IRBANPTE.cjs +90 -0
- package/lib/chunk-IRBANPTE.cjs.map +1 -0
- package/lib/chunk-IRYMYC5C.cjs +88 -0
- package/lib/chunk-IRYMYC5C.cjs.map +1 -0
- package/lib/chunk-IUOZC7XK.js +174 -0
- package/lib/chunk-IUOZC7XK.js.map +1 -0
- package/lib/chunk-IWM7VPWN.cjs +85 -0
- package/lib/chunk-IWM7VPWN.cjs.map +1 -0
- package/lib/chunk-IXWOBRJ4.js +68 -0
- package/lib/chunk-IXWOBRJ4.js.map +1 -0
- package/lib/chunk-IYNDRTNU.cjs +53 -0
- package/lib/chunk-IYNDRTNU.cjs.map +1 -0
- package/lib/chunk-IZFNSMU3.cjs +193 -0
- package/lib/chunk-IZFNSMU3.cjs.map +1 -0
- package/lib/chunk-IZOPMMMF.js +82 -0
- package/lib/chunk-IZOPMMMF.js.map +1 -0
- package/lib/chunk-JBUP7E7U.js +86 -0
- package/lib/chunk-JBUP7E7U.js.map +1 -0
- package/lib/chunk-JEJPSSXF.js +77 -0
- package/lib/chunk-JEJPSSXF.js.map +1 -0
- package/lib/chunk-JNS3HMDG.js +68 -0
- package/lib/chunk-JNS3HMDG.js.map +1 -0
- package/lib/chunk-JROHRQBW.cjs +88 -0
- package/lib/chunk-JROHRQBW.cjs.map +1 -0
- package/lib/chunk-JUZY67IP.cjs +70 -0
- package/lib/chunk-JUZY67IP.cjs.map +1 -0
- package/lib/chunk-JVLJIDJJ.js +191 -0
- package/lib/chunk-JVLJIDJJ.js.map +1 -0
- package/lib/chunk-K35AJI7L.js +91 -0
- package/lib/chunk-K35AJI7L.js.map +1 -0
- package/lib/chunk-KDFBUMSZ.js +121 -0
- package/lib/chunk-KDFBUMSZ.js.map +1 -0
- package/lib/chunk-KFIHPXZD.js +60 -0
- package/lib/chunk-KFIHPXZD.js.map +1 -0
- package/lib/chunk-KKU4FTJD.cjs +198 -0
- package/lib/chunk-KKU4FTJD.cjs.map +1 -0
- package/lib/chunk-KM76YWNO.cjs +62 -0
- package/lib/chunk-KM76YWNO.cjs.map +1 -0
- package/lib/chunk-KTGTFKFD.js +89 -0
- package/lib/chunk-KTGTFKFD.js.map +1 -0
- package/lib/chunk-KTICF7CN.js +77 -0
- package/lib/chunk-KTICF7CN.js.map +1 -0
- package/lib/chunk-KXITMWWL.js +50 -0
- package/lib/chunk-KXITMWWL.js.map +1 -0
- package/lib/chunk-KZMT4U4X.cjs +52 -0
- package/lib/chunk-KZMT4U4X.cjs.map +1 -0
- package/lib/chunk-L7VAH4BF.js +60 -0
- package/lib/chunk-L7VAH4BF.js.map +1 -0
- package/lib/chunk-LLQJ3JII.js +241 -0
- package/lib/chunk-LLQJ3JII.js.map +1 -0
- package/lib/chunk-LLTYLK3I.js +92 -0
- package/lib/chunk-LLTYLK3I.js.map +1 -0
- package/lib/chunk-LQYHM4ET.cjs +77 -0
- package/lib/chunk-LQYHM4ET.cjs.map +1 -0
- package/lib/chunk-M4VCWE32.js +77 -0
- package/lib/chunk-M4VCWE32.js.map +1 -0
- package/lib/chunk-M7NCBLZJ.cjs +52 -0
- package/lib/chunk-M7NCBLZJ.cjs.map +1 -0
- package/lib/chunk-MMKCMAW3.cjs +61 -0
- package/lib/chunk-MMKCMAW3.cjs.map +1 -0
- package/lib/chunk-MMNJTSFU.cjs +70 -0
- package/lib/chunk-MMNJTSFU.cjs.map +1 -0
- package/lib/chunk-MO2XOIMU.cjs +53 -0
- package/lib/chunk-MO2XOIMU.cjs.map +1 -0
- package/lib/chunk-MSXT4OKO.js +203 -0
- package/lib/chunk-MSXT4OKO.js.map +1 -0
- package/lib/chunk-N2B5T256.js +65 -0
- package/lib/chunk-N2B5T256.js.map +1 -0
- package/lib/chunk-N5346XYN.js +69 -0
- package/lib/chunk-N5346XYN.js.map +1 -0
- package/lib/chunk-ND7K4KSA.cjs +179 -0
- package/lib/chunk-ND7K4KSA.cjs.map +1 -0
- package/lib/chunk-NDQ6NHZJ.cjs +77 -0
- package/lib/chunk-NDQ6NHZJ.cjs.map +1 -0
- package/lib/chunk-NJ2ERQUB.js +36 -0
- package/lib/chunk-NJ2ERQUB.js.map +1 -0
- package/lib/chunk-NOOZM2ZC.js +116 -0
- package/lib/chunk-NOOZM2ZC.js.map +1 -0
- package/lib/chunk-NR5ZYTRC.js +75 -0
- package/lib/chunk-NR5ZYTRC.js.map +1 -0
- package/lib/chunk-NRKJ6IBM.cjs +70 -0
- package/lib/chunk-NRKJ6IBM.cjs.map +1 -0
- package/lib/chunk-NRSSZKXW.js +92 -0
- package/lib/chunk-NRSSZKXW.js.map +1 -0
- package/lib/chunk-NRTF52EF.cjs +44 -0
- package/lib/chunk-NRTF52EF.cjs.map +1 -0
- package/lib/chunk-NTLWDGIN.cjs +53 -0
- package/lib/chunk-NTLWDGIN.cjs.map +1 -0
- package/lib/chunk-NUUMQNTS.js +191 -0
- package/lib/chunk-NUUMQNTS.js.map +1 -0
- package/lib/chunk-NXKJ6SD5.cjs +40 -0
- package/lib/chunk-NXKJ6SD5.cjs.map +1 -0
- package/lib/chunk-O6KAEVM7.cjs +60 -0
- package/lib/chunk-O6KAEVM7.cjs.map +1 -0
- package/lib/chunk-OES7SSLU.cjs +79 -0
- package/lib/chunk-OES7SSLU.cjs.map +1 -0
- package/lib/chunk-OETE27SD.cjs +91 -0
- package/lib/chunk-OETE27SD.cjs.map +1 -0
- package/lib/chunk-OLG2UDIK.cjs +16 -0
- package/lib/chunk-OLG2UDIK.cjs.map +1 -0
- package/lib/chunk-ON6Q7XO4.js +82 -0
- package/lib/chunk-ON6Q7XO4.js.map +1 -0
- package/lib/chunk-OOUG4ORW.js +50 -0
- package/lib/chunk-OOUG4ORW.js.map +1 -0
- package/lib/chunk-OYDQRTMK.js +50 -0
- package/lib/chunk-OYDQRTMK.js.map +1 -0
- package/lib/chunk-OZJAWDJJ.js +68 -0
- package/lib/chunk-OZJAWDJJ.js.map +1 -0
- package/lib/chunk-P7ZYV63Z.js +65 -0
- package/lib/chunk-P7ZYV63Z.js.map +1 -0
- package/lib/chunk-PGA6KIDT.js +164 -0
- package/lib/chunk-PGA6KIDT.js.map +1 -0
- package/lib/chunk-PN2WF7LS.js +118 -0
- package/lib/chunk-PN2WF7LS.js.map +1 -0
- package/lib/chunk-PNLR24KH.cjs +88 -0
- package/lib/chunk-PNLR24KH.cjs.map +1 -0
- package/lib/chunk-PUZ5FS42.js +58 -0
- package/lib/chunk-PUZ5FS42.js.map +1 -0
- package/lib/chunk-PZHPJODG.cjs +67 -0
- package/lib/chunk-PZHPJODG.cjs.map +1 -0
- package/lib/chunk-QGUQARY2.js +59 -0
- package/lib/chunk-QGUQARY2.js.map +1 -0
- package/lib/chunk-QOX77APY.cjs +96 -0
- package/lib/chunk-QOX77APY.cjs.map +1 -0
- package/lib/chunk-QPL3YX2K.js +83 -0
- package/lib/chunk-QPL3YX2K.js.map +1 -0
- package/lib/chunk-QTBQUW5F.js +196 -0
- package/lib/chunk-QTBQUW5F.js.map +1 -0
- package/lib/chunk-QWA7BZWH.cjs +79 -0
- package/lib/chunk-QWA7BZWH.cjs.map +1 -0
- package/lib/chunk-R2OO474N.js +27 -0
- package/lib/chunk-R2OO474N.js.map +1 -0
- package/lib/chunk-R5CNDSIV.js +68 -0
- package/lib/chunk-R5CNDSIV.js.map +1 -0
- package/lib/chunk-R7GDQOYO.js +100 -0
- package/lib/chunk-R7GDQOYO.js.map +1 -0
- package/lib/chunk-REJKMDQW.js +51 -0
- package/lib/chunk-REJKMDQW.js.map +1 -0
- package/lib/chunk-RHDFKSZY.cjs +29 -0
- package/lib/chunk-RHDFKSZY.cjs.map +1 -0
- package/lib/chunk-RK2FEMQP.cjs +323 -0
- package/lib/chunk-RK2FEMQP.cjs.map +1 -0
- package/lib/chunk-RKTXSN4V.cjs +71 -0
- package/lib/chunk-RKTXSN4V.cjs.map +1 -0
- package/lib/chunk-RKZ7NQQK.js +177 -0
- package/lib/chunk-RKZ7NQQK.js.map +1 -0
- package/lib/chunk-RNTRA77X.cjs +79 -0
- package/lib/chunk-RNTRA77X.cjs.map +1 -0
- package/lib/chunk-RPSB3BEJ.cjs +67 -0
- package/lib/chunk-RPSB3BEJ.cjs.map +1 -0
- package/lib/chunk-RPYKNJGO.cjs +61 -0
- package/lib/chunk-RPYKNJGO.cjs.map +1 -0
- package/lib/chunk-RREOQFIQ.js +77 -0
- package/lib/chunk-RREOQFIQ.js.map +1 -0
- package/lib/chunk-S4CPSRCJ.cjs +61 -0
- package/lib/chunk-S4CPSRCJ.cjs.map +1 -0
- package/lib/chunk-SALCRQCG.js +24 -0
- package/lib/chunk-SALCRQCG.js.map +1 -0
- package/lib/chunk-SCM6LSNM.cjs +98 -0
- package/lib/chunk-SCM6LSNM.cjs.map +1 -0
- package/lib/chunk-SDTS2VCD.js +86 -0
- package/lib/chunk-SDTS2VCD.js.map +1 -0
- package/lib/chunk-SFAO2A3N.cjs +53 -0
- package/lib/chunk-SFAO2A3N.cjs.map +1 -0
- package/lib/chunk-SFXZIJ25.js +79 -0
- package/lib/chunk-SFXZIJ25.js.map +1 -0
- package/lib/chunk-SKHYOLJA.js +100 -0
- package/lib/chunk-SKHYOLJA.js.map +1 -0
- package/lib/chunk-SLBCAAYH.js +68 -0
- package/lib/chunk-SLBCAAYH.js.map +1 -0
- package/lib/chunk-SQBN5NCG.cjs +80 -0
- package/lib/chunk-SQBN5NCG.cjs.map +1 -0
- package/lib/chunk-SSP54MAX.cjs +88 -0
- package/lib/chunk-SSP54MAX.cjs.map +1 -0
- package/lib/chunk-TCBUTFPR.js +123 -0
- package/lib/chunk-TCBUTFPR.js.map +1 -0
- package/lib/chunk-TDSOIDEK.cjs +134 -0
- package/lib/chunk-TDSOIDEK.cjs.map +1 -0
- package/lib/chunk-TEYJIKEG.cjs +179 -0
- package/lib/chunk-TEYJIKEG.cjs.map +1 -0
- package/lib/chunk-TK6ZJDPM.cjs +89 -0
- package/lib/chunk-TK6ZJDPM.cjs.map +1 -0
- package/lib/chunk-TKLJQ4EZ.cjs +70 -0
- package/lib/chunk-TKLJQ4EZ.cjs.map +1 -0
- package/lib/chunk-TLVM56AW.cjs +712 -0
- package/lib/chunk-TLVM56AW.cjs.map +1 -0
- package/lib/chunk-TMLHA2SH.cjs +70 -0
- package/lib/chunk-TMLHA2SH.cjs.map +1 -0
- package/lib/chunk-TNYPDYRQ.js +77 -0
- package/lib/chunk-TNYPDYRQ.js.map +1 -0
- package/lib/chunk-TQMWALIZ.cjs +93 -0
- package/lib/chunk-TQMWALIZ.cjs.map +1 -0
- package/lib/chunk-TZQZDDQM.cjs +179 -0
- package/lib/chunk-TZQZDDQM.cjs.map +1 -0
- package/lib/chunk-TZYNA4PS.js +79 -0
- package/lib/chunk-TZYNA4PS.js.map +1 -0
- package/lib/chunk-U753GALL.js +88 -0
- package/lib/chunk-U753GALL.js.map +1 -0
- package/lib/chunk-UIIA2NOP.js +118 -0
- package/lib/chunk-UIIA2NOP.js.map +1 -0
- package/lib/chunk-UKPBX7LY.cjs +70 -0
- package/lib/chunk-UKPBX7LY.cjs.map +1 -0
- package/lib/chunk-UQ7DYB5E.js +77 -0
- package/lib/chunk-UQ7DYB5E.js.map +1 -0
- package/lib/chunk-US6R23LF.cjs +70 -0
- package/lib/chunk-US6R23LF.cjs.map +1 -0
- package/lib/chunk-UTST4YPO.js +68 -0
- package/lib/chunk-UTST4YPO.js.map +1 -0
- package/lib/chunk-UZBVGMSV.js +68 -0
- package/lib/chunk-UZBVGMSV.js.map +1 -0
- package/lib/chunk-UZEYQBID.cjs +70 -0
- package/lib/chunk-UZEYQBID.cjs.map +1 -0
- package/lib/chunk-VBWYHYCJ.cjs +35 -0
- package/lib/chunk-VBWYHYCJ.cjs.map +1 -0
- package/lib/chunk-VRPS4DFY.cjs +115 -0
- package/lib/chunk-VRPS4DFY.cjs.map +1 -0
- package/lib/chunk-VWSDATWK.cjs +79 -0
- package/lib/chunk-VWSDATWK.cjs.map +1 -0
- package/lib/chunk-VZQIHAFY.cjs +81 -0
- package/lib/chunk-VZQIHAFY.cjs.map +1 -0
- package/lib/chunk-W2TZOXPY.cjs +47 -0
- package/lib/chunk-W2TZOXPY.cjs.map +1 -0
- package/lib/chunk-W2VZAGW4.js +60 -0
- package/lib/chunk-W2VZAGW4.js.map +1 -0
- package/lib/chunk-W4URWXJ7.js +96 -0
- package/lib/chunk-W4URWXJ7.js.map +1 -0
- package/lib/chunk-WAFUWWBD.cjs +118 -0
- package/lib/chunk-WAFUWWBD.cjs.map +1 -0
- package/lib/chunk-WFZK3GQX.cjs +38 -0
- package/lib/chunk-WFZK3GQX.cjs.map +1 -0
- package/lib/chunk-WLWSEYVW.cjs +26 -0
- package/lib/chunk-WLWSEYVW.cjs.map +1 -0
- package/lib/chunk-WNEAV26W.js +89 -0
- package/lib/chunk-WNEAV26W.js.map +1 -0
- package/lib/chunk-WPZZ7TYZ.js +77 -0
- package/lib/chunk-WPZZ7TYZ.js.map +1 -0
- package/lib/chunk-WXAR4XMS.cjs +79 -0
- package/lib/chunk-WXAR4XMS.cjs.map +1 -0
- package/lib/chunk-X5AV3JJL.js +42 -0
- package/lib/chunk-X5AV3JJL.js.map +1 -0
- package/lib/chunk-X6NTP67A.cjs +88 -0
- package/lib/chunk-X6NTP67A.cjs.map +1 -0
- package/lib/chunk-X7L4YY6Q.cjs +93 -0
- package/lib/chunk-X7L4YY6Q.cjs.map +1 -0
- package/lib/chunk-XBZ4KQ72.js +69 -0
- package/lib/chunk-XBZ4KQ72.js.map +1 -0
- package/lib/chunk-XC52EDZL.js +191 -0
- package/lib/chunk-XC52EDZL.js.map +1 -0
- package/lib/chunk-XCYEGPE6.cjs +44 -0
- package/lib/chunk-XCYEGPE6.cjs.map +1 -0
- package/lib/chunk-XFEBSQBG.cjs +84 -0
- package/lib/chunk-XFEBSQBG.cjs.map +1 -0
- package/lib/chunk-XGETDJS6.cjs +79 -0
- package/lib/chunk-XGETDJS6.cjs.map +1 -0
- package/lib/chunk-XISWA6SP.cjs +77 -0
- package/lib/chunk-XISWA6SP.cjs.map +1 -0
- package/lib/chunk-XJPK7JSH.js +77 -0
- package/lib/chunk-XJPK7JSH.js.map +1 -0
- package/lib/chunk-XKCYUSO3.cjs +81 -0
- package/lib/chunk-XKCYUSO3.cjs.map +1 -0
- package/lib/chunk-XZLQM5TG.js +33 -0
- package/lib/chunk-XZLQM5TG.js.map +1 -0
- package/lib/chunk-YC7P7U37.js +78 -0
- package/lib/chunk-YC7P7U37.js.map +1 -0
- package/lib/chunk-YIP564B3.js +87 -0
- package/lib/chunk-YIP564B3.js.map +1 -0
- package/lib/chunk-YRHBJTKU.js +96 -0
- package/lib/chunk-YRHBJTKU.js.map +1 -0
- package/lib/chunk-YT2JXKSB.js +82 -0
- package/lib/chunk-YT2JXKSB.js.map +1 -0
- package/lib/chunk-YTKKF3OH.cjs +70 -0
- package/lib/chunk-YTKKF3OH.cjs.map +1 -0
- package/lib/chunk-YTSMQAN7.js +86 -0
- package/lib/chunk-YTSMQAN7.js.map +1 -0
- package/lib/chunk-YTXNOZVJ.js +68 -0
- package/lib/chunk-YTXNOZVJ.js.map +1 -0
- package/lib/chunk-YUKH7ESE.js +42 -0
- package/lib/chunk-YUKH7ESE.js.map +1 -0
- package/lib/chunk-YVUJAOL2.cjs +69 -0
- package/lib/chunk-YVUJAOL2.cjs.map +1 -0
- package/lib/chunk-YWU46S7V.js +709 -0
- package/lib/chunk-YWU46S7V.js.map +1 -0
- package/lib/chunk-YZQACFJF.js +77 -0
- package/lib/chunk-YZQACFJF.js.map +1 -0
- package/lib/chunk-Z2ZLJGA4.cjs +70 -0
- package/lib/chunk-Z2ZLJGA4.cjs.map +1 -0
- package/lib/chunk-ZA46YCQ5.js +321 -0
- package/lib/chunk-ZA46YCQ5.js.map +1 -0
- package/lib/chunk-ZA6NI5JQ.js +84 -0
- package/lib/chunk-ZA6NI5JQ.js.map +1 -0
- package/lib/chunk-ZEUZ6YAA.cjs +179 -0
- package/lib/chunk-ZEUZ6YAA.cjs.map +1 -0
- package/lib/chunk-ZFCXWZIL.cjs +84 -0
- package/lib/chunk-ZFCXWZIL.cjs.map +1 -0
- package/lib/chunk-ZMH7UHLF.js +177 -0
- package/lib/chunk-ZMH7UHLF.js.map +1 -0
- package/lib/chunk-ZRRBBZZ6.js +168 -0
- package/lib/chunk-ZRRBBZZ6.js.map +1 -0
- package/lib/chunk-ZSTRX2NN.cjs +166 -0
- package/lib/chunk-ZSTRX2NN.cjs.map +1 -0
- package/lib/chunk-ZV2F5AT6.js +59 -0
- package/lib/chunk-ZV2F5AT6.js.map +1 -0
- package/lib/chunk-ZX6P5OOB.js +91 -0
- package/lib/chunk-ZX6P5OOB.js.map +1 -0
- package/lib/client.cjs +3 -3
- package/lib/client.d.cts +3 -0
- package/lib/client.d.ts +3 -0
- package/lib/client.js +2 -2
- package/lib/commercelayer.cjs +14 -10
- package/lib/commercelayer.d.cts +23 -4
- package/lib/commercelayer.d.ts +23 -4
- package/lib/commercelayer.js +5 -5
- package/lib/enum.d.cts +1 -1
- package/lib/enum.d.ts +1 -1
- package/lib/index.cjs +153 -145
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +2 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +142 -142
- package/lib/index.js.map +1 -1
- package/lib/jsonapi.cjs +6 -6
- package/lib/jsonapi.d.cts +1 -1
- package/lib/jsonapi.d.ts +1 -1
- package/lib/jsonapi.js +4 -4
- package/lib/model.d.cts +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/query.cjs +4 -4
- package/lib/query.d.cts +1 -1
- package/lib/query.d.ts +1 -1
- package/lib/query.js +1 -1
- package/lib/resource.cjs +9 -9
- package/lib/resource.d.cts +1 -1
- package/lib/resource.d.ts +1 -1
- package/lib/resource.js +4 -4
- package/lib/resources/addresses.cjs +6 -6
- package/lib/resources/addresses.d.cts +2 -2
- package/lib/resources/addresses.d.ts +1 -1
- package/lib/resources/addresses.js +5 -5
- package/lib/resources/adjustments.cjs +6 -6
- package/lib/resources/adjustments.d.cts +2 -2
- package/lib/resources/adjustments.d.ts +1 -1
- package/lib/resources/adjustments.js +5 -5
- package/lib/resources/adyen_gateways.cjs +6 -6
- package/lib/resources/adyen_gateways.d.cts +2 -2
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_gateways.js +5 -5
- package/lib/resources/adyen_payments.cjs +6 -6
- package/lib/resources/adyen_payments.d.cts +2 -2
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/adyen_payments.js +5 -5
- package/lib/resources/applications.cjs +6 -6
- package/lib/resources/applications.d.cts +2 -2
- package/lib/resources/applications.d.ts +1 -1
- package/lib/resources/applications.js +5 -5
- package/lib/resources/attachments.cjs +6 -6
- package/lib/resources/attachments.d.cts +2 -2
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/attachments.js +5 -5
- package/lib/resources/authorizations.cjs +6 -6
- package/lib/resources/authorizations.d.cts +2 -2
- package/lib/resources/authorizations.d.ts +1 -1
- package/lib/resources/authorizations.js +5 -5
- package/lib/resources/avalara_accounts.cjs +6 -6
- package/lib/resources/avalara_accounts.d.cts +2 -2
- package/lib/resources/avalara_accounts.d.ts +1 -1
- package/lib/resources/avalara_accounts.js +5 -5
- package/lib/resources/axerve_gateways.cjs +6 -6
- package/lib/resources/axerve_gateways.d.cts +2 -2
- package/lib/resources/axerve_gateways.d.ts +1 -1
- package/lib/resources/axerve_gateways.js +5 -5
- package/lib/resources/axerve_payments.cjs +6 -6
- package/lib/resources/axerve_payments.d.cts +2 -2
- package/lib/resources/axerve_payments.d.ts +1 -1
- package/lib/resources/axerve_payments.js +5 -5
- package/lib/resources/billing_info_validation_rules.cjs +6 -6
- package/lib/resources/billing_info_validation_rules.d.cts +2 -2
- package/lib/resources/billing_info_validation_rules.d.ts +1 -1
- package/lib/resources/billing_info_validation_rules.js +5 -5
- package/lib/resources/bing_geocoders.cjs +6 -6
- package/lib/resources/bing_geocoders.d.cts +2 -2
- package/lib/resources/bing_geocoders.d.ts +1 -1
- package/lib/resources/bing_geocoders.js +5 -5
- package/lib/resources/braintree_gateways.cjs +6 -6
- package/lib/resources/braintree_gateways.d.cts +2 -2
- package/lib/resources/braintree_gateways.d.ts +1 -1
- package/lib/resources/braintree_gateways.js +5 -5
- package/lib/resources/braintree_payments.cjs +6 -6
- package/lib/resources/braintree_payments.d.cts +2 -2
- package/lib/resources/braintree_payments.d.ts +1 -1
- package/lib/resources/braintree_payments.js +5 -5
- package/lib/resources/bundles.cjs +6 -6
- package/lib/resources/bundles.d.cts +2 -2
- package/lib/resources/bundles.d.ts +1 -1
- package/lib/resources/bundles.js +5 -5
- package/lib/resources/buy_x_pay_y_promotions.cjs +6 -6
- 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 +5 -5
- package/lib/resources/captures.cjs +6 -6
- package/lib/resources/captures.d.cts +2 -2
- package/lib/resources/captures.d.ts +1 -1
- package/lib/resources/captures.js +5 -5
- package/lib/resources/carrier_accounts.cjs +6 -6
- package/lib/resources/carrier_accounts.d.cts +2 -2
- package/lib/resources/carrier_accounts.d.ts +1 -1
- package/lib/resources/carrier_accounts.js +5 -5
- package/lib/resources/checkout_com_gateways.cjs +6 -6
- 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 +5 -5
- package/lib/resources/checkout_com_payments.cjs +6 -6
- 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 +5 -5
- package/lib/resources/cleanups.cjs +6 -6
- package/lib/resources/cleanups.d.cts +2 -2
- package/lib/resources/cleanups.d.ts +1 -1
- package/lib/resources/cleanups.js +5 -5
- package/lib/resources/coupon_codes_promotion_rules.cjs +6 -6
- 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 +5 -5
- package/lib/resources/coupon_recipients.cjs +6 -6
- package/lib/resources/coupon_recipients.d.cts +2 -2
- package/lib/resources/coupon_recipients.d.ts +1 -1
- package/lib/resources/coupon_recipients.js +5 -5
- package/lib/resources/coupons.cjs +6 -6
- package/lib/resources/coupons.d.cts +2 -2
- package/lib/resources/coupons.d.ts +1 -1
- package/lib/resources/coupons.js +5 -5
- package/lib/resources/custom_promotion_rules.cjs +6 -6
- 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 +5 -5
- package/lib/resources/customer_addresses.cjs +6 -6
- package/lib/resources/customer_addresses.d.cts +2 -2
- package/lib/resources/customer_addresses.d.ts +1 -1
- package/lib/resources/customer_addresses.js +5 -5
- package/lib/resources/customer_groups.cjs +6 -6
- package/lib/resources/customer_groups.d.cts +2 -2
- package/lib/resources/customer_groups.d.ts +1 -1
- package/lib/resources/customer_groups.js +5 -5
- package/lib/resources/customer_password_resets.cjs +6 -6
- 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 +5 -5
- package/lib/resources/customer_payment_sources.cjs +6 -6
- 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 +5 -5
- package/lib/resources/customer_subscriptions.cjs +6 -6
- package/lib/resources/customer_subscriptions.d.cts +2 -2
- package/lib/resources/customer_subscriptions.d.ts +1 -1
- package/lib/resources/customer_subscriptions.js +5 -5
- package/lib/resources/customers.cjs +6 -6
- package/lib/resources/customers.d.cts +2 -2
- package/lib/resources/customers.d.ts +1 -1
- package/lib/resources/customers.js +5 -5
- package/lib/resources/delivery_lead_times.cjs +6 -6
- 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 +5 -5
- package/lib/resources/discount_engine_items.cjs +6 -6
- 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 +5 -5
- package/lib/resources/discount_engines.cjs +6 -6
- package/lib/resources/discount_engines.d.cts +2 -2
- package/lib/resources/discount_engines.d.ts +1 -1
- package/lib/resources/discount_engines.js +5 -5
- package/lib/resources/easypost_pickups.cjs +6 -6
- package/lib/resources/easypost_pickups.d.cts +2 -2
- package/lib/resources/easypost_pickups.d.ts +1 -1
- package/lib/resources/easypost_pickups.js +5 -5
- package/lib/resources/event_callbacks.cjs +6 -6
- package/lib/resources/event_callbacks.d.cts +2 -2
- package/lib/resources/event_callbacks.d.ts +1 -1
- package/lib/resources/event_callbacks.js +5 -5
- package/lib/resources/event_stores.cjs +6 -6
- package/lib/resources/event_stores.d.cts +2 -2
- package/lib/resources/event_stores.d.ts +1 -1
- package/lib/resources/event_stores.js +5 -5
- package/lib/resources/events.cjs +6 -6
- package/lib/resources/events.d.cts +2 -2
- package/lib/resources/events.d.ts +1 -1
- package/lib/resources/events.js +5 -5
- package/lib/resources/exports.cjs +6 -6
- package/lib/resources/exports.d.cts +2 -2
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/exports.js +5 -5
- package/lib/resources/external_gateways.cjs +6 -6
- package/lib/resources/external_gateways.d.cts +2 -2
- package/lib/resources/external_gateways.d.ts +1 -1
- package/lib/resources/external_gateways.js +5 -5
- package/lib/resources/external_payments.cjs +6 -6
- package/lib/resources/external_payments.d.cts +2 -2
- package/lib/resources/external_payments.d.ts +1 -1
- package/lib/resources/external_payments.js +5 -5
- package/lib/resources/external_promotions.cjs +6 -6
- package/lib/resources/external_promotions.d.cts +2 -2
- package/lib/resources/external_promotions.d.ts +1 -1
- package/lib/resources/external_promotions.js +5 -5
- package/lib/resources/external_tax_calculators.cjs +6 -6
- 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 +5 -5
- package/lib/resources/fixed_amount_promotions.cjs +6 -6
- 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 +5 -5
- package/lib/resources/fixed_price_promotions.cjs +6 -6
- 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 +5 -5
- package/lib/resources/flex_promotions.cjs +6 -6
- package/lib/resources/flex_promotions.d.cts +2 -2
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.js +5 -5
- package/lib/resources/free_gift_promotions.cjs +6 -6
- 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 +5 -5
- package/lib/resources/free_shipping_promotions.cjs +6 -6
- 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 +5 -5
- package/lib/resources/geocoders.cjs +6 -6
- package/lib/resources/geocoders.d.cts +2 -2
- package/lib/resources/geocoders.d.ts +1 -1
- package/lib/resources/geocoders.js +5 -5
- package/lib/resources/gift_card_recipients.cjs +6 -6
- 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 +5 -5
- package/lib/resources/gift_cards.cjs +6 -6
- package/lib/resources/gift_cards.d.cts +2 -2
- package/lib/resources/gift_cards.d.ts +1 -1
- package/lib/resources/gift_cards.js +5 -5
- package/lib/resources/google_geocoders.cjs +6 -6
- package/lib/resources/google_geocoders.d.cts +2 -2
- package/lib/resources/google_geocoders.d.ts +1 -1
- package/lib/resources/google_geocoders.js +5 -5
- package/lib/resources/imports.cjs +6 -6
- package/lib/resources/imports.d.cts +2 -2
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/imports.js +5 -5
- package/lib/resources/in_stock_subscriptions.cjs +6 -6
- 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 +5 -5
- package/lib/resources/inventory_models.cjs +6 -6
- package/lib/resources/inventory_models.d.cts +2 -2
- package/lib/resources/inventory_models.d.ts +1 -1
- package/lib/resources/inventory_models.js +5 -5
- package/lib/resources/inventory_return_locations.cjs +6 -6
- 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 +5 -5
- package/lib/resources/inventory_stock_locations.cjs +6 -6
- 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 +5 -5
- package/lib/resources/klarna_gateways.cjs +6 -6
- package/lib/resources/klarna_gateways.d.cts +2 -2
- package/lib/resources/klarna_gateways.d.ts +1 -1
- package/lib/resources/klarna_gateways.js +5 -5
- package/lib/resources/klarna_payments.cjs +6 -6
- package/lib/resources/klarna_payments.d.cts +2 -2
- package/lib/resources/klarna_payments.d.ts +1 -1
- package/lib/resources/klarna_payments.js +5 -5
- package/lib/resources/line_item_options.cjs +6 -6
- 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 +5 -5
- package/lib/resources/line_items.cjs +6 -6
- package/lib/resources/line_items.d.cts +2 -2
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/line_items.js +5 -5
- package/lib/resources/links.cjs +6 -6
- package/lib/resources/links.d.cts +2 -2
- package/lib/resources/links.d.ts +1 -1
- package/lib/resources/links.js +5 -5
- package/lib/resources/manual_gateways.cjs +6 -6
- package/lib/resources/manual_gateways.d.cts +2 -2
- package/lib/resources/manual_gateways.d.ts +1 -1
- package/lib/resources/manual_gateways.js +5 -5
- package/lib/resources/manual_tax_calculators.cjs +6 -6
- 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 +5 -5
- package/lib/resources/markets.cjs +6 -6
- package/lib/resources/markets.d.cts +2 -2
- package/lib/resources/markets.d.ts +1 -1
- package/lib/resources/markets.js +5 -5
- package/lib/resources/merchants.cjs +6 -6
- package/lib/resources/merchants.d.cts +2 -2
- package/lib/resources/merchants.d.ts +1 -1
- package/lib/resources/merchants.js +5 -5
- package/lib/resources/notifications.cjs +6 -6
- package/lib/resources/notifications.d.cts +2 -2
- package/lib/resources/notifications.d.ts +1 -1
- package/lib/resources/notifications.js +5 -5
- package/lib/resources/order_amount_promotion_rules.cjs +6 -6
- 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 +5 -5
- package/lib/resources/order_copies.cjs +6 -6
- package/lib/resources/order_copies.d.cts +2 -2
- package/lib/resources/order_copies.d.ts +1 -1
- package/lib/resources/order_copies.js +5 -5
- package/lib/resources/order_factories.cjs +6 -6
- package/lib/resources/order_factories.d.cts +2 -2
- package/lib/resources/order_factories.d.ts +1 -1
- package/lib/resources/order_factories.js +5 -5
- package/lib/resources/order_subscription_items.cjs +6 -6
- 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 +5 -5
- package/lib/resources/order_subscriptions.cjs +6 -6
- package/lib/resources/order_subscriptions.d.cts +2 -2
- package/lib/resources/order_subscriptions.d.ts +1 -1
- package/lib/resources/order_subscriptions.js +5 -5
- package/lib/resources/order_validation_rules.cjs +6 -6
- package/lib/resources/order_validation_rules.d.cts +2 -2
- package/lib/resources/order_validation_rules.d.ts +1 -1
- package/lib/resources/order_validation_rules.js +5 -5
- package/lib/resources/orders.cjs +6 -6
- package/lib/resources/orders.d.cts +2 -2
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/orders.js +5 -5
- package/lib/resources/organizations.cjs +6 -6
- package/lib/resources/organizations.d.cts +2 -2
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/organizations.js +5 -5
- package/lib/resources/packages.cjs +6 -6
- package/lib/resources/packages.d.cts +2 -2
- package/lib/resources/packages.d.ts +1 -1
- package/lib/resources/packages.js +5 -5
- package/lib/resources/parcel_line_items.cjs +6 -6
- 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 +5 -5
- package/lib/resources/parcels.cjs +6 -6
- package/lib/resources/parcels.d.cts +2 -2
- package/lib/resources/parcels.d.ts +1 -1
- package/lib/resources/parcels.js +5 -5
- package/lib/resources/payment_gateways.cjs +6 -6
- package/lib/resources/payment_gateways.d.cts +2 -2
- package/lib/resources/payment_gateways.d.ts +1 -1
- package/lib/resources/payment_gateways.js +5 -5
- package/lib/resources/payment_methods.cjs +6 -6
- package/lib/resources/payment_methods.d.cts +2 -2
- package/lib/resources/payment_methods.d.ts +1 -1
- package/lib/resources/payment_methods.js +5 -5
- package/lib/resources/payment_options.cjs +6 -6
- package/lib/resources/payment_options.d.cts +2 -2
- package/lib/resources/payment_options.d.ts +1 -1
- package/lib/resources/payment_options.js +5 -5
- package/lib/resources/paypal_gateways.cjs +6 -6
- package/lib/resources/paypal_gateways.d.cts +2 -2
- package/lib/resources/paypal_gateways.d.ts +1 -1
- package/lib/resources/paypal_gateways.js +5 -5
- package/lib/resources/paypal_payments.cjs +6 -6
- package/lib/resources/paypal_payments.d.cts +2 -2
- package/lib/resources/paypal_payments.d.ts +1 -1
- package/lib/resources/paypal_payments.js +5 -5
- package/lib/resources/percentage_discount_promotions.cjs +6 -6
- 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 +5 -5
- package/lib/resources/pickups.cjs +6 -6
- package/lib/resources/pickups.d.cts +2 -2
- package/lib/resources/pickups.d.ts +1 -1
- package/lib/resources/pickups.js +5 -5
- package/lib/resources/price_frequency_tiers.cjs +6 -6
- 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 +5 -5
- package/lib/resources/price_list_schedulers.cjs +6 -6
- 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 +5 -5
- package/lib/resources/price_lists.cjs +6 -6
- package/lib/resources/price_lists.d.cts +2 -2
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_lists.js +5 -5
- package/lib/resources/price_tiers.cjs +6 -6
- package/lib/resources/price_tiers.d.cts +2 -2
- package/lib/resources/price_tiers.d.ts +1 -1
- package/lib/resources/price_tiers.js +5 -5
- package/lib/resources/price_volume_tiers.cjs +6 -6
- 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 +5 -5
- package/lib/resources/prices.cjs +6 -6
- package/lib/resources/prices.d.cts +2 -2
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/prices.js +5 -5
- package/lib/resources/promotion_rules.cjs +6 -6
- package/lib/resources/promotion_rules.d.cts +2 -2
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotion_rules.js +5 -5
- package/lib/resources/promotions.cjs +6 -6
- package/lib/resources/promotions.d.cts +2 -2
- package/lib/resources/promotions.d.ts +1 -1
- package/lib/resources/promotions.js +5 -5
- package/lib/resources/recurring_order_copies.cjs +6 -6
- 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 +5 -5
- package/lib/resources/refunds.cjs +6 -6
- package/lib/resources/refunds.d.cts +2 -2
- package/lib/resources/refunds.d.ts +1 -1
- package/lib/resources/refunds.js +5 -5
- package/lib/resources/reserved_stocks.cjs +6 -6
- package/lib/resources/reserved_stocks.d.cts +2 -2
- package/lib/resources/reserved_stocks.d.ts +1 -1
- package/lib/resources/reserved_stocks.js +5 -5
- package/lib/resources/resource_errors.cjs +6 -6
- package/lib/resources/resource_errors.d.cts +2 -2
- package/lib/resources/resource_errors.d.ts +1 -1
- package/lib/resources/resource_errors.js +5 -5
- package/lib/resources/return_line_items.cjs +6 -6
- 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 +5 -5
- package/lib/resources/returns.cjs +6 -6
- package/lib/resources/returns.d.cts +2 -2
- package/lib/resources/returns.d.ts +1 -1
- package/lib/resources/returns.js +5 -5
- package/lib/resources/satispay_gateways.cjs +6 -6
- package/lib/resources/satispay_gateways.d.cts +2 -2
- package/lib/resources/satispay_gateways.d.ts +1 -1
- package/lib/resources/satispay_gateways.js +5 -5
- package/lib/resources/satispay_payments.cjs +6 -6
- package/lib/resources/satispay_payments.d.cts +2 -2
- package/lib/resources/satispay_payments.d.ts +1 -1
- package/lib/resources/satispay_payments.js +5 -5
- package/lib/resources/shipment_line_items.cjs +6 -6
- package/lib/resources/shipment_line_items.d.cts +2 -2
- package/lib/resources/shipment_line_items.d.ts +1 -1
- package/lib/resources/shipment_line_items.js +5 -5
- package/lib/resources/shipments.cjs +6 -6
- package/lib/resources/shipments.d.cts +2 -2
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipments.js +5 -5
- package/lib/resources/shipping_categories.cjs +6 -6
- package/lib/resources/shipping_categories.d.cts +2 -2
- package/lib/resources/shipping_categories.d.ts +1 -1
- package/lib/resources/shipping_categories.js +5 -5
- package/lib/resources/shipping_method_tiers.cjs +6 -6
- 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 +5 -5
- package/lib/resources/shipping_methods.cjs +6 -6
- package/lib/resources/shipping_methods.d.cts +2 -2
- package/lib/resources/shipping_methods.d.ts +1 -1
- package/lib/resources/shipping_methods.js +5 -5
- package/lib/resources/shipping_weight_tiers.cjs +6 -6
- 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 +5 -5
- package/lib/resources/shipping_zones.cjs +6 -6
- package/lib/resources/shipping_zones.d.cts +2 -2
- package/lib/resources/shipping_zones.d.ts +1 -1
- package/lib/resources/shipping_zones.js +5 -5
- package/lib/resources/sku_list_items.cjs +6 -6
- 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 +5 -5
- package/lib/resources/sku_list_promotion_rules.cjs +6 -6
- 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 +5 -5
- package/lib/resources/sku_lists.cjs +6 -6
- package/lib/resources/sku_lists.d.cts +2 -2
- package/lib/resources/sku_lists.d.ts +1 -1
- package/lib/resources/sku_lists.js +5 -5
- package/lib/resources/sku_options.cjs +6 -6
- package/lib/resources/sku_options.d.cts +2 -2
- package/lib/resources/sku_options.d.ts +1 -1
- package/lib/resources/sku_options.js +5 -5
- package/lib/resources/skus.cjs +6 -6
- package/lib/resources/skus.d.cts +2 -2
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/skus.js +5 -5
- package/lib/resources/stock_items.cjs +6 -6
- package/lib/resources/stock_items.d.cts +2 -2
- package/lib/resources/stock_items.d.ts +1 -1
- package/lib/resources/stock_items.js +5 -5
- package/lib/resources/stock_line_items.cjs +6 -6
- 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 +5 -5
- package/lib/resources/stock_locations.cjs +6 -6
- package/lib/resources/stock_locations.d.cts +2 -2
- package/lib/resources/stock_locations.d.ts +1 -1
- package/lib/resources/stock_locations.js +5 -5
- package/lib/resources/stock_reservations.cjs +6 -6
- package/lib/resources/stock_reservations.d.cts +2 -2
- package/lib/resources/stock_reservations.d.ts +1 -1
- package/lib/resources/stock_reservations.js +5 -5
- package/lib/resources/stock_transfers.cjs +6 -6
- package/lib/resources/stock_transfers.d.cts +2 -2
- package/lib/resources/stock_transfers.d.ts +1 -1
- package/lib/resources/stock_transfers.js +5 -5
- package/lib/resources/stores.cjs +6 -6
- package/lib/resources/stores.d.cts +2 -2
- package/lib/resources/stores.d.ts +1 -1
- package/lib/resources/stores.js +5 -5
- package/lib/resources/stripe_gateways.cjs +6 -6
- package/lib/resources/stripe_gateways.d.cts +2 -2
- package/lib/resources/stripe_gateways.d.ts +1 -1
- package/lib/resources/stripe_gateways.js +5 -5
- package/lib/resources/stripe_payments.cjs +6 -6
- package/lib/resources/stripe_payments.d.cts +2 -2
- package/lib/resources/stripe_payments.d.ts +1 -1
- package/lib/resources/stripe_payments.js +5 -5
- package/lib/resources/stripe_tax_accounts.cjs +6 -6
- 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 +5 -5
- package/lib/resources/subscription_models.cjs +6 -6
- package/lib/resources/subscription_models.d.cts +2 -2
- package/lib/resources/subscription_models.d.ts +1 -1
- package/lib/resources/subscription_models.js +5 -5
- package/lib/resources/tags.cjs +6 -6
- package/lib/resources/tags.d.cts +2 -2
- package/lib/resources/tags.d.ts +1 -1
- package/lib/resources/tags.js +5 -5
- package/lib/resources/talon_one_accounts.cjs +6 -6
- 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 +5 -5
- package/lib/resources/tax_calculators.cjs +6 -6
- package/lib/resources/tax_calculators.d.cts +2 -2
- package/lib/resources/tax_calculators.d.ts +1 -1
- package/lib/resources/tax_calculators.js +5 -5
- package/lib/resources/tax_categories.cjs +6 -6
- package/lib/resources/tax_categories.d.cts +2 -2
- package/lib/resources/tax_categories.d.ts +1 -1
- package/lib/resources/tax_categories.js +5 -5
- package/lib/resources/tax_rules.cjs +6 -6
- package/lib/resources/tax_rules.d.cts +2 -2
- package/lib/resources/tax_rules.d.ts +1 -1
- package/lib/resources/tax_rules.js +5 -5
- package/lib/resources/taxjar_accounts.cjs +6 -6
- package/lib/resources/taxjar_accounts.d.cts +2 -2
- package/lib/resources/taxjar_accounts.d.ts +1 -1
- package/lib/resources/taxjar_accounts.js +5 -5
- package/lib/resources/transactions.cjs +6 -6
- package/lib/resources/transactions.d.cts +2 -2
- package/lib/resources/transactions.d.ts +1 -1
- package/lib/resources/transactions.js +5 -5
- package/lib/resources/vertex_accounts.cjs +6 -6
- package/lib/resources/vertex_accounts.d.cts +2 -2
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/vertex_accounts.js +5 -5
- package/lib/resources/voids.cjs +6 -6
- package/lib/resources/voids.d.cts +2 -2
- package/lib/resources/voids.d.ts +1 -1
- package/lib/resources/voids.js +5 -5
- package/lib/resources/webhooks.cjs +6 -6
- package/lib/resources/webhooks.d.cts +2 -2
- package/lib/resources/webhooks.d.ts +1 -1
- package/lib/resources/webhooks.js +5 -5
- package/lib/resources/wire_transfers.cjs +6 -6
- package/lib/resources/wire_transfers.d.cts +2 -2
- package/lib/resources/wire_transfers.d.ts +1 -1
- package/lib/resources/wire_transfers.js +5 -5
- package/lib/single-client.cjs +286 -278
- package/lib/single-client.cjs.map +1 -1
- package/lib/single-client.d.cts +2 -2
- package/lib/single-client.d.ts +2 -2
- package/lib/single-client.js +141 -141
- package/lib/single-client.js.map +1 -1
- package/lib/static.cjs +7 -7
- package/lib/static.d.cts +1 -1
- package/lib/static.d.ts +1 -1
- package/lib/static.js +6 -6
- package/lib/version.cjs +7 -3
- package/lib/version.d.cts +9 -1
- package/lib/version.d.ts +9 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/lib/api-EpvFRhI9.d.ts +0 -19175
- package/lib/api-oXAdA5Ru.d.cts +0 -19175
- package/lib/chunk-22JSRKRP.js +0 -77
- package/lib/chunk-22JSRKRP.js.map +0 -1
- package/lib/chunk-24F2ZC4H.cjs +0 -122
- package/lib/chunk-24F2ZC4H.cjs.map +0 -1
- package/lib/chunk-2BR762XD.cjs +0 -70
- package/lib/chunk-2BR762XD.cjs.map +0 -1
- package/lib/chunk-2P2JWX3V.js +0 -68
- package/lib/chunk-2P2JWX3V.js.map +0 -1
- package/lib/chunk-2UGXKQFC.cjs +0 -62
- package/lib/chunk-2UGXKQFC.cjs.map +0 -1
- package/lib/chunk-2ZAN7B5Z.cjs +0 -70
- package/lib/chunk-2ZAN7B5Z.cjs.map +0 -1
- package/lib/chunk-37V5T6PZ.cjs +0 -93
- package/lib/chunk-37V5T6PZ.cjs.map +0 -1
- package/lib/chunk-3BZL6HYH.js +0 -51
- package/lib/chunk-3BZL6HYH.js.map +0 -1
- package/lib/chunk-3D2FNXSK.js +0 -177
- package/lib/chunk-3D2FNXSK.js.map +0 -1
- package/lib/chunk-3ENR3S5T.cjs +0 -81
- package/lib/chunk-3ENR3S5T.cjs.map +0 -1
- package/lib/chunk-3LGN4LXX.js +0 -82
- package/lib/chunk-3LGN4LXX.js.map +0 -1
- package/lib/chunk-3QWZMVH2.cjs +0 -79
- package/lib/chunk-3QWZMVH2.cjs.map +0 -1
- package/lib/chunk-3XGGO5YB.js +0 -88
- package/lib/chunk-3XGGO5YB.js.map +0 -1
- package/lib/chunk-3Y4RMNKV.js +0 -60
- package/lib/chunk-3Y4RMNKV.js.map +0 -1
- package/lib/chunk-42MEZSD4.cjs +0 -243
- package/lib/chunk-42MEZSD4.cjs.map +0 -1
- package/lib/chunk-42ZHE2WU.cjs +0 -205
- package/lib/chunk-42ZHE2WU.cjs.map +0 -1
- package/lib/chunk-4C3YVRRS.js +0 -96
- package/lib/chunk-4C3YVRRS.js.map +0 -1
- package/lib/chunk-4FVLYQYK.cjs +0 -52
- package/lib/chunk-4FVLYQYK.cjs.map +0 -1
- package/lib/chunk-4RDYAHZO.cjs +0 -125
- package/lib/chunk-4RDYAHZO.cjs.map +0 -1
- package/lib/chunk-4SKBF5ZK.cjs +0 -70
- package/lib/chunk-4SKBF5ZK.cjs.map +0 -1
- package/lib/chunk-4THWU3WM.cjs +0 -166
- package/lib/chunk-4THWU3WM.cjs.map +0 -1
- package/lib/chunk-4UBBJD3F.js +0 -42
- package/lib/chunk-4UBBJD3F.js.map +0 -1
- package/lib/chunk-4YU74YXC.cjs +0 -44
- package/lib/chunk-4YU74YXC.cjs.map +0 -1
- package/lib/chunk-4ZFVTUSX.cjs +0 -79
- package/lib/chunk-4ZFVTUSX.cjs.map +0 -1
- package/lib/chunk-54LYYVB3.cjs +0 -77
- package/lib/chunk-54LYYVB3.cjs.map +0 -1
- package/lib/chunk-5BMKV63A.cjs +0 -79
- package/lib/chunk-5BMKV63A.cjs.map +0 -1
- package/lib/chunk-5GHOOKYM.cjs +0 -84
- package/lib/chunk-5GHOOKYM.cjs.map +0 -1
- package/lib/chunk-5KA2HKFH.cjs +0 -35
- package/lib/chunk-5KA2HKFH.cjs.map +0 -1
- package/lib/chunk-5MGINVEQ.js +0 -68
- package/lib/chunk-5MGINVEQ.js.map +0 -1
- package/lib/chunk-5QZBXSMX.cjs +0 -77
- package/lib/chunk-5QZBXSMX.cjs.map +0 -1
- package/lib/chunk-5SMOSXWB.cjs +0 -88
- package/lib/chunk-5SMOSXWB.cjs.map +0 -1
- package/lib/chunk-5WJZIHI6.js +0 -50
- package/lib/chunk-5WJZIHI6.js.map +0 -1
- package/lib/chunk-5WRDATN3.cjs +0 -52
- package/lib/chunk-5WRDATN3.cjs.map +0 -1
- package/lib/chunk-6A2VDAYH.cjs +0 -71
- package/lib/chunk-6A2VDAYH.cjs.map +0 -1
- package/lib/chunk-6XKNHGEB.cjs +0 -179
- package/lib/chunk-6XKNHGEB.cjs.map +0 -1
- package/lib/chunk-6YCQGKZ3.js +0 -84
- package/lib/chunk-6YCQGKZ3.js.map +0 -1
- package/lib/chunk-6ZFQINCX.js +0 -92
- package/lib/chunk-6ZFQINCX.js.map +0 -1
- package/lib/chunk-72EPY5QQ.cjs +0 -26
- package/lib/chunk-72EPY5QQ.cjs.map +0 -1
- package/lib/chunk-74DDRAJ6.js +0 -168
- package/lib/chunk-74DDRAJ6.js.map +0 -1
- package/lib/chunk-7BPKWLUV.cjs +0 -98
- package/lib/chunk-7BPKWLUV.cjs.map +0 -1
- package/lib/chunk-7FBPOEL3.cjs +0 -115
- package/lib/chunk-7FBPOEL3.cjs.map +0 -1
- package/lib/chunk-7I5APR2W.cjs +0 -89
- package/lib/chunk-7I5APR2W.cjs.map +0 -1
- package/lib/chunk-7NXWRRUL.js +0 -51
- package/lib/chunk-7NXWRRUL.js.map +0 -1
- package/lib/chunk-7OA3ASUR.js +0 -79
- package/lib/chunk-7OA3ASUR.js.map +0 -1
- package/lib/chunk-7WP5V2VJ.cjs +0 -67
- package/lib/chunk-7WP5V2VJ.cjs.map +0 -1
- package/lib/chunk-7ZMJYDP7.js +0 -180
- package/lib/chunk-7ZMJYDP7.js.map +0 -1
- package/lib/chunk-A2KSRTPF.js +0 -51
- package/lib/chunk-A2KSRTPF.js.map +0 -1
- package/lib/chunk-A3HXYZE7.cjs +0 -313
- package/lib/chunk-A3HXYZE7.cjs.map +0 -1
- package/lib/chunk-A6HWLU2U.js +0 -60
- package/lib/chunk-A6HWLU2U.js.map +0 -1
- package/lib/chunk-A6J7MNYD.cjs +0 -82
- package/lib/chunk-A6J7MNYD.cjs.map +0 -1
- package/lib/chunk-AALHBTDP.cjs +0 -93
- package/lib/chunk-AALHBTDP.cjs.map +0 -1
- package/lib/chunk-AC7WVFRR.js +0 -129
- package/lib/chunk-AC7WVFRR.js.map +0 -1
- package/lib/chunk-AIO2NUPF.js +0 -94
- package/lib/chunk-AIO2NUPF.js.map +0 -1
- package/lib/chunk-AOOPIH45.cjs +0 -120
- package/lib/chunk-AOOPIH45.cjs.map +0 -1
- package/lib/chunk-ASBOEHZT.cjs +0 -79
- package/lib/chunk-ASBOEHZT.cjs.map +0 -1
- package/lib/chunk-ATONNFTK.cjs +0 -85
- package/lib/chunk-ATONNFTK.cjs.map +0 -1
- package/lib/chunk-AUB4BG3N.cjs +0 -79
- package/lib/chunk-AUB4BG3N.cjs.map +0 -1
- package/lib/chunk-AZRXECP3.cjs +0 -70
- package/lib/chunk-AZRXECP3.cjs.map +0 -1
- package/lib/chunk-B5YRHPPQ.cjs +0 -126
- package/lib/chunk-B5YRHPPQ.cjs.map +0 -1
- package/lib/chunk-BALY2BP2.js +0 -68
- package/lib/chunk-BALY2BP2.js.map +0 -1
- package/lib/chunk-BAO3I3CK.js +0 -68
- package/lib/chunk-BAO3I3CK.js.map +0 -1
- package/lib/chunk-BC3GOGP7.js +0 -77
- package/lib/chunk-BC3GOGP7.js.map +0 -1
- package/lib/chunk-BOYK5XCO.js +0 -68
- package/lib/chunk-BOYK5XCO.js.map +0 -1
- package/lib/chunk-BPTSRSC6.cjs +0 -55
- package/lib/chunk-BPTSRSC6.cjs.map +0 -1
- package/lib/chunk-BVEUVURA.cjs +0 -91
- package/lib/chunk-BVEUVURA.cjs.map +0 -1
- package/lib/chunk-CHD573UK.cjs +0 -67
- package/lib/chunk-CHD573UK.cjs.map +0 -1
- package/lib/chunk-CJUTZPOH.cjs +0 -170
- package/lib/chunk-CJUTZPOH.cjs.map +0 -1
- package/lib/chunk-CKC2JS4N.cjs +0 -61
- package/lib/chunk-CKC2JS4N.cjs.map +0 -1
- package/lib/chunk-CKIU2QK7.cjs +0 -79
- package/lib/chunk-CKIU2QK7.cjs.map +0 -1
- package/lib/chunk-CLPJO2HS.cjs +0 -84
- package/lib/chunk-CLPJO2HS.cjs.map +0 -1
- package/lib/chunk-CNRJEKGG.cjs +0 -88
- package/lib/chunk-CNRJEKGG.cjs.map +0 -1
- package/lib/chunk-CNTHSMT3.cjs +0 -40
- package/lib/chunk-CNTHSMT3.cjs.map +0 -1
- package/lib/chunk-CQUQC6PV.cjs +0 -193
- package/lib/chunk-CQUQC6PV.cjs.map +0 -1
- package/lib/chunk-CRYSIRYY.cjs +0 -80
- package/lib/chunk-CRYSIRYY.cjs.map +0 -1
- package/lib/chunk-CSCKJ5K4.cjs +0 -70
- package/lib/chunk-CSCKJ5K4.cjs.map +0 -1
- package/lib/chunk-CTXB4TIH.js +0 -36
- package/lib/chunk-CTXB4TIH.js.map +0 -1
- package/lib/chunk-CXXHXGV4.js +0 -24
- package/lib/chunk-CXXHXGV4.js.map +0 -1
- package/lib/chunk-DAPH5WAS.cjs +0 -70
- package/lib/chunk-DAPH5WAS.cjs.map +0 -1
- package/lib/chunk-DET7TITS.cjs +0 -70
- package/lib/chunk-DET7TITS.cjs.map +0 -1
- package/lib/chunk-DS4PYTOM.js +0 -27
- package/lib/chunk-DS4PYTOM.js.map +0 -1
- package/lib/chunk-DTM6TNRI.cjs +0 -88
- package/lib/chunk-DTM6TNRI.cjs.map +0 -1
- package/lib/chunk-DXXRZMDS.cjs +0 -70
- package/lib/chunk-DXXRZMDS.cjs.map +0 -1
- package/lib/chunk-DYF5RVNM.js +0 -79
- package/lib/chunk-DYF5RVNM.js.map +0 -1
- package/lib/chunk-E246DOUD.cjs +0 -63
- package/lib/chunk-E246DOUD.cjs.map +0 -1
- package/lib/chunk-EC4OAWRG.js +0 -91
- package/lib/chunk-EC4OAWRG.js.map +0 -1
- package/lib/chunk-EJ3SKHCF.js +0 -241
- package/lib/chunk-EJ3SKHCF.js.map +0 -1
- package/lib/chunk-EJIXLN7Z.cjs +0 -29
- package/lib/chunk-EJIXLN7Z.cjs.map +0 -1
- package/lib/chunk-EMLPNVKA.cjs +0 -71
- package/lib/chunk-EMLPNVKA.cjs.map +0 -1
- package/lib/chunk-FD35GNGV.js +0 -42
- package/lib/chunk-FD35GNGV.js.map +0 -1
- package/lib/chunk-FDMJKB5V.cjs +0 -14
- package/lib/chunk-FDMJKB5V.cjs.map +0 -1
- package/lib/chunk-FGXHOACU.cjs +0 -118
- package/lib/chunk-FGXHOACU.cjs.map +0 -1
- package/lib/chunk-FJ6MG7WI.js +0 -86
- package/lib/chunk-FJ6MG7WI.js.map +0 -1
- package/lib/chunk-FORGCCDU.cjs +0 -44
- package/lib/chunk-FORGCCDU.cjs.map +0 -1
- package/lib/chunk-FSXCIAYK.js +0 -50
- package/lib/chunk-FSXCIAYK.js.map +0 -1
- package/lib/chunk-G43NAQ2B.cjs +0 -53
- package/lib/chunk-G43NAQ2B.cjs.map +0 -1
- package/lib/chunk-G5LUH7SX.cjs +0 -70
- package/lib/chunk-G5LUH7SX.cjs.map +0 -1
- package/lib/chunk-G67FOAKH.cjs +0 -98
- package/lib/chunk-G67FOAKH.cjs.map +0 -1
- package/lib/chunk-G7PKYNCD.cjs +0 -70
- package/lib/chunk-G7PKYNCD.cjs.map +0 -1
- package/lib/chunk-GBIH54K6.js +0 -100
- package/lib/chunk-GBIH54K6.js.map +0 -1
- package/lib/chunk-GGOL45I5.js +0 -45
- package/lib/chunk-GGOL45I5.js.map +0 -1
- package/lib/chunk-GIMAGLUV.js +0 -68
- package/lib/chunk-GIMAGLUV.js.map +0 -1
- package/lib/chunk-GJIBPCLI.js +0 -42
- package/lib/chunk-GJIBPCLI.js.map +0 -1
- package/lib/chunk-GKJ5UJVG.js +0 -77
- package/lib/chunk-GKJ5UJVG.js.map +0 -1
- package/lib/chunk-GLEASNSJ.js +0 -77
- package/lib/chunk-GLEASNSJ.js.map +0 -1
- package/lib/chunk-GO7TJMJ2.js +0 -96
- package/lib/chunk-GO7TJMJ2.js.map +0 -1
- package/lib/chunk-GQZ6DXTV.js +0 -60
- package/lib/chunk-GQZ6DXTV.js.map +0 -1
- package/lib/chunk-GZCAWHE6.cjs +0 -131
- package/lib/chunk-GZCAWHE6.cjs.map +0 -1
- package/lib/chunk-H2I5XZVE.js +0 -65
- package/lib/chunk-H2I5XZVE.js.map +0 -1
- package/lib/chunk-H2Q2ZK4J.js +0 -92
- package/lib/chunk-H2Q2ZK4J.js.map +0 -1
- package/lib/chunk-H2VKAOCM.js +0 -82
- package/lib/chunk-H2VKAOCM.js.map +0 -1
- package/lib/chunk-H3X4MYWU.js +0 -68
- package/lib/chunk-H3X4MYWU.js.map +0 -1
- package/lib/chunk-H6GJTVTU.js +0 -75
- package/lib/chunk-H6GJTVTU.js.map +0 -1
- package/lib/chunk-HEAOXJUM.cjs +0 -62
- package/lib/chunk-HEAOXJUM.cjs.map +0 -1
- package/lib/chunk-HS45ARNK.cjs +0 -62
- package/lib/chunk-HS45ARNK.cjs.map +0 -1
- package/lib/chunk-HVWED6OD.cjs +0 -61
- package/lib/chunk-HVWED6OD.cjs.map +0 -1
- package/lib/chunk-HWQKJGMO.js +0 -196
- package/lib/chunk-HWQKJGMO.js.map +0 -1
- package/lib/chunk-ICPYLWV2.cjs +0 -88
- package/lib/chunk-ICPYLWV2.cjs.map +0 -1
- package/lib/chunk-IHFJ6MXL.cjs +0 -323
- package/lib/chunk-IHFJ6MXL.cjs.map +0 -1
- package/lib/chunk-IIVBQMST.cjs +0 -79
- package/lib/chunk-IIVBQMST.cjs.map +0 -1
- package/lib/chunk-IKNDOL6B.js +0 -59
- package/lib/chunk-IKNDOL6B.js.map +0 -1
- package/lib/chunk-IVT3PJY6.js +0 -89
- package/lib/chunk-IVT3PJY6.js.map +0 -1
- package/lib/chunk-IXGT4ZHK.cjs +0 -52
- package/lib/chunk-IXGT4ZHK.cjs.map +0 -1
- package/lib/chunk-IYIO3O6T.cjs +0 -70
- package/lib/chunk-IYIO3O6T.cjs.map +0 -1
- package/lib/chunk-J2B76RSV.js +0 -60
- package/lib/chunk-J2B76RSV.js.map +0 -1
- package/lib/chunk-J6IAZQTX.cjs +0 -102
- package/lib/chunk-J6IAZQTX.cjs.map +0 -1
- package/lib/chunk-J6UBSVHN.cjs +0 -712
- package/lib/chunk-J6UBSVHN.cjs.map +0 -1
- package/lib/chunk-JA5OBTVX.cjs +0 -120
- package/lib/chunk-JA5OBTVX.cjs.map +0 -1
- package/lib/chunk-JLDRURQO.cjs +0 -77
- package/lib/chunk-JLDRURQO.cjs.map +0 -1
- package/lib/chunk-JPOQTSO3.js +0 -89
- package/lib/chunk-JPOQTSO3.js.map +0 -1
- package/lib/chunk-JV3H26EB.js +0 -77
- package/lib/chunk-JV3H26EB.js.map +0 -1
- package/lib/chunk-K4JHKT7C.js +0 -11
- package/lib/chunk-K4JHKT7C.js.map +0 -1
- package/lib/chunk-K7IFPOM4.js +0 -113
- package/lib/chunk-K7IFPOM4.js.map +0 -1
- package/lib/chunk-KBR5ZGZF.cjs +0 -614
- package/lib/chunk-KBR5ZGZF.cjs.map +0 -1
- package/lib/chunk-KHHIGLI2.cjs +0 -86
- package/lib/chunk-KHHIGLI2.cjs.map +0 -1
- package/lib/chunk-KMYZX4VQ.cjs +0 -86
- package/lib/chunk-KMYZX4VQ.cjs.map +0 -1
- package/lib/chunk-KNW47S44.cjs +0 -53
- package/lib/chunk-KNW47S44.cjs.map +0 -1
- package/lib/chunk-KNYCGJXW.cjs +0 -94
- package/lib/chunk-KNYCGJXW.cjs.map +0 -1
- package/lib/chunk-L4745XWM.js +0 -80
- package/lib/chunk-L4745XWM.js.map +0 -1
- package/lib/chunk-LBSC3EU5.js +0 -123
- package/lib/chunk-LBSC3EU5.js.map +0 -1
- package/lib/chunk-LBYSKMHH.cjs +0 -94
- package/lib/chunk-LBYSKMHH.cjs.map +0 -1
- package/lib/chunk-LHZ6RTT3.js +0 -89
- package/lib/chunk-LHZ6RTT3.js.map +0 -1
- package/lib/chunk-LJP3XZB6.cjs +0 -98
- package/lib/chunk-LJP3XZB6.cjs.map +0 -1
- package/lib/chunk-LMQID2GP.js +0 -87
- package/lib/chunk-LMQID2GP.js.map +0 -1
- package/lib/chunk-LN4LIXAJ.js +0 -191
- package/lib/chunk-LN4LIXAJ.js.map +0 -1
- package/lib/chunk-LQWVKNWA.js +0 -96
- package/lib/chunk-LQWVKNWA.js.map +0 -1
- package/lib/chunk-LUHC3HQY.cjs +0 -62
- package/lib/chunk-LUHC3HQY.cjs.map +0 -1
- package/lib/chunk-M2EMAXEX.cjs +0 -53
- package/lib/chunk-M2EMAXEX.cjs.map +0 -1
- package/lib/chunk-M2MA3D4R.cjs +0 -80
- package/lib/chunk-M2MA3D4R.cjs.map +0 -1
- package/lib/chunk-M4ONJLD5.js +0 -86
- package/lib/chunk-M4ONJLD5.js.map +0 -1
- package/lib/chunk-MA4Q3YQA.cjs +0 -102
- package/lib/chunk-MA4Q3YQA.cjs.map +0 -1
- package/lib/chunk-MHZXFNI3.cjs +0 -61
- package/lib/chunk-MHZXFNI3.cjs.map +0 -1
- package/lib/chunk-MRCX5DDN.cjs +0 -179
- package/lib/chunk-MRCX5DDN.cjs.map +0 -1
- package/lib/chunk-MYZKUUVU.js +0 -89
- package/lib/chunk-MYZKUUVU.js.map +0 -1
- package/lib/chunk-N2GNN5KY.cjs +0 -91
- package/lib/chunk-N2GNN5KY.cjs.map +0 -1
- package/lib/chunk-NASC5VUL.js +0 -53
- package/lib/chunk-NASC5VUL.js.map +0 -1
- package/lib/chunk-NF2QUFOZ.js +0 -69
- package/lib/chunk-NF2QUFOZ.js.map +0 -1
- package/lib/chunk-NL723OUO.cjs +0 -81
- package/lib/chunk-NL723OUO.cjs.map +0 -1
- package/lib/chunk-NSFF4PEP.cjs +0 -182
- package/lib/chunk-NSFF4PEP.cjs.map +0 -1
- package/lib/chunk-O222VNEO.cjs +0 -90
- package/lib/chunk-O222VNEO.cjs.map +0 -1
- package/lib/chunk-O7GAJZ7B.cjs +0 -179
- package/lib/chunk-O7GAJZ7B.cjs.map +0 -1
- package/lib/chunk-O7I22ND6.cjs +0 -165
- package/lib/chunk-O7I22ND6.cjs.map +0 -1
- package/lib/chunk-O7Q46YQR.js +0 -77
- package/lib/chunk-O7Q46YQR.js.map +0 -1
- package/lib/chunk-OD7AZBBW.cjs +0 -91
- package/lib/chunk-OD7AZBBW.cjs.map +0 -1
- package/lib/chunk-OESYWOKW.cjs +0 -79
- package/lib/chunk-OESYWOKW.cjs.map +0 -1
- package/lib/chunk-OHOTORWN.js +0 -77
- package/lib/chunk-OHOTORWN.js.map +0 -1
- package/lib/chunk-OHPKFTKJ.js +0 -82
- package/lib/chunk-OHPKFTKJ.js.map +0 -1
- package/lib/chunk-OJXBH4AU.js +0 -177
- package/lib/chunk-OJXBH4AU.js.map +0 -1
- package/lib/chunk-OKEWWPO6.js +0 -120
- package/lib/chunk-OKEWWPO6.js.map +0 -1
- package/lib/chunk-OTEKWYFI.js +0 -77
- package/lib/chunk-OTEKWYFI.js.map +0 -1
- package/lib/chunk-P5TAYFM2.cjs +0 -77
- package/lib/chunk-P5TAYFM2.cjs.map +0 -1
- package/lib/chunk-P6FRDB6N.js +0 -203
- package/lib/chunk-P6FRDB6N.js.map +0 -1
- package/lib/chunk-PE7YEKXE.js +0 -177
- package/lib/chunk-PE7YEKXE.js.map +0 -1
- package/lib/chunk-PF23CMEF.cjs +0 -44
- package/lib/chunk-PF23CMEF.cjs.map +0 -1
- package/lib/chunk-PHSZOTGO.cjs +0 -53
- package/lib/chunk-PHSZOTGO.cjs.map +0 -1
- package/lib/chunk-PINJ4XVT.cjs +0 -179
- package/lib/chunk-PINJ4XVT.cjs.map +0 -1
- package/lib/chunk-PJXGHTNE.js +0 -73
- package/lib/chunk-PJXGHTNE.js.map +0 -1
- package/lib/chunk-PVZ4YTNY.cjs +0 -91
- package/lib/chunk-PVZ4YTNY.cjs.map +0 -1
- package/lib/chunk-PX6VSBYJ.js +0 -84
- package/lib/chunk-PX6VSBYJ.js.map +0 -1
- package/lib/chunk-Q65LIIZK.js +0 -83
- package/lib/chunk-Q65LIIZK.js.map +0 -1
- package/lib/chunk-Q6B4IJ3Z.js +0 -75
- package/lib/chunk-Q6B4IJ3Z.js.map +0 -1
- package/lib/chunk-Q74EWK7R.js +0 -78
- package/lib/chunk-Q74EWK7R.js.map +0 -1
- package/lib/chunk-QA3Z2NT3.js +0 -163
- package/lib/chunk-QA3Z2NT3.js.map +0 -1
- package/lib/chunk-QBINHYQ4.js +0 -77
- package/lib/chunk-QBINHYQ4.js.map +0 -1
- package/lib/chunk-QBTVUBTD.js +0 -191
- package/lib/chunk-QBTVUBTD.js.map +0 -1
- package/lib/chunk-QCHY4BRB.js +0 -118
- package/lib/chunk-QCHY4BRB.js.map +0 -1
- package/lib/chunk-QFVWMERY.js +0 -86
- package/lib/chunk-QFVWMERY.js.map +0 -1
- package/lib/chunk-QHRM2LGA.js +0 -100
- package/lib/chunk-QHRM2LGA.js.map +0 -1
- package/lib/chunk-QQB52UMR.cjs +0 -44
- package/lib/chunk-QQB52UMR.cjs.map +0 -1
- package/lib/chunk-R2Z7SDWB.js +0 -68
- package/lib/chunk-R2Z7SDWB.js.map +0 -1
- package/lib/chunk-R4T65OTC.js +0 -89
- package/lib/chunk-R4T65OTC.js.map +0 -1
- package/lib/chunk-R5SMSVJE.js +0 -59
- package/lib/chunk-R5SMSVJE.js.map +0 -1
- package/lib/chunk-RI6NF3OR.js +0 -69
- package/lib/chunk-RI6NF3OR.js.map +0 -1
- package/lib/chunk-RKPUNPFI.js +0 -68
- package/lib/chunk-RKPUNPFI.js.map +0 -1
- package/lib/chunk-RLAVR726.js +0 -67
- package/lib/chunk-RLAVR726.js.map +0 -1
- package/lib/chunk-RPP6LEIY.js +0 -75
- package/lib/chunk-RPP6LEIY.js.map +0 -1
- package/lib/chunk-RSOPQPT4.js +0 -42
- package/lib/chunk-RSOPQPT4.js.map +0 -1
- package/lib/chunk-S35MKEJS.cjs +0 -88
- package/lib/chunk-S35MKEJS.cjs.map +0 -1
- package/lib/chunk-S4TR2UHV.js +0 -65
- package/lib/chunk-S4TR2UHV.js.map +0 -1
- package/lib/chunk-S6CTDMVV.js +0 -191
- package/lib/chunk-S6CTDMVV.js.map +0 -1
- package/lib/chunk-S6M3FY7K.cjs +0 -38
- package/lib/chunk-S6M3FY7K.cjs.map +0 -1
- package/lib/chunk-SAZNFIJE.js +0 -58
- package/lib/chunk-SAZNFIJE.js.map +0 -1
- package/lib/chunk-SBTTBUKV.cjs +0 -53
- package/lib/chunk-SBTTBUKV.cjs.map +0 -1
- package/lib/chunk-SCPNHUAH.js +0 -77
- package/lib/chunk-SCPNHUAH.js.map +0 -1
- package/lib/chunk-SDIFNFXF.cjs +0 -70
- package/lib/chunk-SDIFNFXF.cjs.map +0 -1
- package/lib/chunk-SJ3LU5N4.js +0 -68
- package/lib/chunk-SJ3LU5N4.js.map +0 -1
- package/lib/chunk-SJFHQHTE.js +0 -38
- package/lib/chunk-SJFHQHTE.js.map +0 -1
- package/lib/chunk-SL2QY66Q.js +0 -100
- package/lib/chunk-SL2QY66Q.js.map +0 -1
- package/lib/chunk-SNRGHNRR.js +0 -612
- package/lib/chunk-SNRGHNRR.js.map +0 -1
- package/lib/chunk-SQI2JQK4.cjs +0 -79
- package/lib/chunk-SQI2JQK4.cjs.map +0 -1
- package/lib/chunk-SS47BWTZ.js +0 -68
- package/lib/chunk-SS47BWTZ.js.map +0 -1
- package/lib/chunk-SVN5VVVA.cjs +0 -98
- package/lib/chunk-SVN5VVVA.cjs.map +0 -1
- package/lib/chunk-T2R5XGY4.cjs +0 -70
- package/lib/chunk-T2R5XGY4.cjs.map +0 -1
- package/lib/chunk-T5BW3NQW.cjs +0 -134
- package/lib/chunk-T5BW3NQW.cjs.map +0 -1
- package/lib/chunk-T6BGMCNM.js +0 -61
- package/lib/chunk-T6BGMCNM.js.map +0 -1
- package/lib/chunk-TL3OBA4N.js +0 -82
- package/lib/chunk-TL3OBA4N.js.map +0 -1
- package/lib/chunk-TSIO7BVL.js +0 -77
- package/lib/chunk-TSIO7BVL.js.map +0 -1
- package/lib/chunk-TX4LQ66D.js +0 -305
- package/lib/chunk-TX4LQ66D.js.map +0 -1
- package/lib/chunk-TXJDJKNO.cjs +0 -179
- package/lib/chunk-TXJDJKNO.cjs.map +0 -1
- package/lib/chunk-TZB3ITFX.js +0 -177
- package/lib/chunk-TZB3ITFX.js.map +0 -1
- package/lib/chunk-U2YMMZI7.cjs +0 -79
- package/lib/chunk-U2YMMZI7.cjs.map +0 -1
- package/lib/chunk-U4IXGFAH.cjs +0 -81
- package/lib/chunk-U4IXGFAH.cjs.map +0 -1
- package/lib/chunk-U6SR6NW4.cjs +0 -179
- package/lib/chunk-U6SR6NW4.cjs.map +0 -1
- package/lib/chunk-UC6CO5EO.js +0 -58
- package/lib/chunk-UC6CO5EO.js.map +0 -1
- package/lib/chunk-UKCNJHEI.js +0 -51
- package/lib/chunk-UKCNJHEI.js.map +0 -1
- package/lib/chunk-USYXGMLW.cjs +0 -62
- package/lib/chunk-USYXGMLW.cjs.map +0 -1
- package/lib/chunk-UT7ITGTD.js +0 -50
- package/lib/chunk-UT7ITGTD.js.map +0 -1
- package/lib/chunk-UTANC4S3.js +0 -51
- package/lib/chunk-UTANC4S3.js.map +0 -1
- package/lib/chunk-UTKMV624.cjs +0 -91
- package/lib/chunk-UTKMV624.cjs.map +0 -1
- package/lib/chunk-UVTVQ3XM.js +0 -321
- package/lib/chunk-UVTVQ3XM.js.map +0 -1
- package/lib/chunk-UY5UOVA5.js +0 -68
- package/lib/chunk-UY5UOVA5.js.map +0 -1
- package/lib/chunk-UZXJKIWS.js +0 -60
- package/lib/chunk-UZXJKIWS.js.map +0 -1
- package/lib/chunk-V4Z3AVQ5.cjs +0 -193
- package/lib/chunk-V4Z3AVQ5.cjs.map +0 -1
- package/lib/chunk-V7STA2MI.js +0 -116
- package/lib/chunk-V7STA2MI.js.map +0 -1
- package/lib/chunk-VDFUCYKF.cjs +0 -122
- package/lib/chunk-VDFUCYKF.cjs.map +0 -1
- package/lib/chunk-VEWBKMYO.js +0 -60
- package/lib/chunk-VEWBKMYO.js.map +0 -1
- package/lib/chunk-VJZPWAOS.cjs +0 -60
- package/lib/chunk-VJZPWAOS.cjs.map +0 -1
- package/lib/chunk-VK7RTKH2.cjs +0 -62
- package/lib/chunk-VK7RTKH2.cjs.map +0 -1
- package/lib/chunk-VP2HZVZL.js +0 -86
- package/lib/chunk-VP2HZVZL.js.map +0 -1
- package/lib/chunk-VRTIEHU4.cjs +0 -84
- package/lib/chunk-VRTIEHU4.cjs.map +0 -1
- package/lib/chunk-VUSUG2V7.cjs +0 -75
- package/lib/chunk-VUSUG2V7.cjs.map +0 -1
- package/lib/chunk-VXF5K4Q2.js +0 -89
- package/lib/chunk-VXF5K4Q2.js.map +0 -1
- package/lib/chunk-VXQAZUOC.js +0 -68
- package/lib/chunk-VXQAZUOC.js.map +0 -1
- package/lib/chunk-VYOG7GOR.js +0 -164
- package/lib/chunk-VYOG7GOR.js.map +0 -1
- package/lib/chunk-W3DJZSUC.js +0 -68
- package/lib/chunk-W3DJZSUC.js.map +0 -1
- package/lib/chunk-W4VYQSWL.js +0 -68
- package/lib/chunk-W4VYQSWL.js.map +0 -1
- package/lib/chunk-WDHLTDFT.cjs +0 -198
- package/lib/chunk-WDHLTDFT.cjs.map +0 -1
- package/lib/chunk-WE7O2JQD.js +0 -78
- package/lib/chunk-WE7O2JQD.js.map +0 -1
- package/lib/chunk-WJETIVVT.cjs +0 -120
- package/lib/chunk-WJETIVVT.cjs.map +0 -1
- package/lib/chunk-WKCDGDOI.js +0 -132
- package/lib/chunk-WKCDGDOI.js.map +0 -1
- package/lib/chunk-WMCNHWIZ.cjs +0 -96
- package/lib/chunk-WMCNHWIZ.cjs.map +0 -1
- package/lib/chunk-WMFHLZIP.js +0 -177
- package/lib/chunk-WMFHLZIP.js.map +0 -1
- package/lib/chunk-WMYAGESR.cjs +0 -47
- package/lib/chunk-WMYAGESR.cjs.map +0 -1
- package/lib/chunk-WP7JEJSN.js +0 -79
- package/lib/chunk-WP7JEJSN.js.map +0 -1
- package/lib/chunk-WPF55XSY.js +0 -120
- package/lib/chunk-WPF55XSY.js.map +0 -1
- package/lib/chunk-XB5JE3RU.cjs +0 -60
- package/lib/chunk-XB5JE3RU.cjs.map +0 -1
- package/lib/chunk-XCDGHNQE.cjs +0 -79
- package/lib/chunk-XCDGHNQE.cjs.map +0 -1
- package/lib/chunk-XDXHUQKN.cjs +0 -70
- package/lib/chunk-XDXHUQKN.cjs.map +0 -1
- package/lib/chunk-XL2ZZNJT.cjs +0 -62
- package/lib/chunk-XL2ZZNJT.cjs.map +0 -1
- package/lib/chunk-XPDGCJRF.js +0 -86
- package/lib/chunk-XPDGCJRF.js.map +0 -1
- package/lib/chunk-XQCOOANO.cjs +0 -102
- package/lib/chunk-XQCOOANO.cjs.map +0 -1
- package/lib/chunk-XXMKVFAD.js +0 -96
- package/lib/chunk-XXMKVFAD.js.map +0 -1
- package/lib/chunk-XY3XGLVQ.js +0 -59
- package/lib/chunk-XY3XGLVQ.js.map +0 -1
- package/lib/chunk-XYEUNWP7.js +0 -116
- package/lib/chunk-XYEUNWP7.js.map +0 -1
- package/lib/chunk-Y3AWLIPE.js +0 -177
- package/lib/chunk-Y3AWLIPE.js.map +0 -1
- package/lib/chunk-Y4RL7J44.js +0 -60
- package/lib/chunk-Y4RL7J44.js.map +0 -1
- package/lib/chunk-Y6VJAXRZ.cjs +0 -70
- package/lib/chunk-Y6VJAXRZ.cjs.map +0 -1
- package/lib/chunk-Y7AMOQB3.js +0 -124
- package/lib/chunk-Y7AMOQB3.js.map +0 -1
- package/lib/chunk-Y7FJ5Q2J.cjs +0 -72
- package/lib/chunk-Y7FJ5Q2J.cjs.map +0 -1
- package/lib/chunk-YAW47KDX.cjs +0 -91
- package/lib/chunk-YAW47KDX.cjs.map +0 -1
- package/lib/chunk-YI4PGM5E.js +0 -33
- package/lib/chunk-YI4PGM5E.js.map +0 -1
- package/lib/chunk-YIGM3TRP.cjs +0 -193
- package/lib/chunk-YIGM3TRP.cjs.map +0 -1
- package/lib/chunk-YUMNWQ2B.cjs +0 -84
- package/lib/chunk-YUMNWQ2B.cjs.map +0 -1
- package/lib/chunk-YXDOEPHX.cjs +0 -79
- package/lib/chunk-YXDOEPHX.cjs.map +0 -1
- package/lib/chunk-Z2KWVYWJ.js +0 -68
- package/lib/chunk-Z2KWVYWJ.js.map +0 -1
- package/lib/chunk-Z6A2V36P.js +0 -68
- package/lib/chunk-Z6A2V36P.js.map +0 -1
- package/lib/chunk-Z6LVDEZN.cjs +0 -70
- package/lib/chunk-Z6LVDEZN.cjs.map +0 -1
- package/lib/chunk-ZDADYNKG.cjs +0 -69
- package/lib/chunk-ZDADYNKG.cjs.map +0 -1
- package/lib/chunk-ZELVMPF4.js +0 -118
- package/lib/chunk-ZELVMPF4.js.map +0 -1
- package/lib/chunk-ZIXEKEFD.js +0 -75
- package/lib/chunk-ZIXEKEFD.js.map +0 -1
- package/lib/chunk-ZOYQ4RRX.js +0 -709
- package/lib/chunk-ZOYQ4RRX.js.map +0 -1
- package/lib/chunk-ZPSB3SIY.js +0 -77
- package/lib/chunk-ZPSB3SIY.js.map +0 -1
- package/lib/chunk-ZWZKHKFG.js +0 -91
- package/lib/chunk-ZWZKHKFG.js.map +0 -1
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkGKPLAZMH_cjs = require('./chunk-GKPLAZMH.cjs');
|
|
4
|
+
|
|
5
|
+
// src/resources/customers.ts
|
|
6
|
+
var Customers = class _Customers extends chunkGKPLAZMH_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(
|
|
20
|
+
{ type: "customer_groups" },
|
|
21
|
+
`customers/${_customerId}/customer_group`,
|
|
22
|
+
params,
|
|
23
|
+
options
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
async customer_addresses(customerId, params, options) {
|
|
27
|
+
const _customerId = customerId.id || customerId;
|
|
28
|
+
return this.resources.fetch(
|
|
29
|
+
{ type: "customer_addresses" },
|
|
30
|
+
`customers/${_customerId}/customer_addresses`,
|
|
31
|
+
params,
|
|
32
|
+
options
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
async customer_payment_sources(customerId, params, options) {
|
|
36
|
+
const _customerId = customerId.id || customerId;
|
|
37
|
+
return this.resources.fetch(
|
|
38
|
+
{ type: "customer_payment_sources" },
|
|
39
|
+
`customers/${_customerId}/customer_payment_sources`,
|
|
40
|
+
params,
|
|
41
|
+
options
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
async customer_subscriptions(customerId, params, options) {
|
|
45
|
+
const _customerId = customerId.id || customerId;
|
|
46
|
+
return this.resources.fetch(
|
|
47
|
+
{ type: "customer_subscriptions" },
|
|
48
|
+
`customers/${_customerId}/customer_subscriptions`,
|
|
49
|
+
params,
|
|
50
|
+
options
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
async orders(customerId, params, options) {
|
|
54
|
+
const _customerId = customerId.id || customerId;
|
|
55
|
+
return this.resources.fetch(
|
|
56
|
+
{ type: "orders" },
|
|
57
|
+
`customers/${_customerId}/orders`,
|
|
58
|
+
params,
|
|
59
|
+
options
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
async order_subscriptions(customerId, params, options) {
|
|
63
|
+
const _customerId = customerId.id || customerId;
|
|
64
|
+
return this.resources.fetch(
|
|
65
|
+
{ type: "order_subscriptions" },
|
|
66
|
+
`customers/${_customerId}/order_subscriptions`,
|
|
67
|
+
params,
|
|
68
|
+
options
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
async returns(customerId, params, options) {
|
|
72
|
+
const _customerId = customerId.id || customerId;
|
|
73
|
+
return this.resources.fetch(
|
|
74
|
+
{ type: "returns" },
|
|
75
|
+
`customers/${_customerId}/returns`,
|
|
76
|
+
params,
|
|
77
|
+
options
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
async sku_lists(customerId, params, options) {
|
|
81
|
+
const _customerId = customerId.id || customerId;
|
|
82
|
+
return this.resources.fetch(
|
|
83
|
+
{ type: "sku_lists" },
|
|
84
|
+
`customers/${_customerId}/sku_lists`,
|
|
85
|
+
params,
|
|
86
|
+
options
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
async attachments(customerId, params, options) {
|
|
90
|
+
const _customerId = customerId.id || customerId;
|
|
91
|
+
return this.resources.fetch(
|
|
92
|
+
{ type: "attachments" },
|
|
93
|
+
`customers/${_customerId}/attachments`,
|
|
94
|
+
params,
|
|
95
|
+
options
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
async events(customerId, params, options) {
|
|
99
|
+
const _customerId = customerId.id || customerId;
|
|
100
|
+
return this.resources.fetch(
|
|
101
|
+
{ type: "events" },
|
|
102
|
+
`customers/${_customerId}/events`,
|
|
103
|
+
params,
|
|
104
|
+
options
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
async tags(customerId, params, options) {
|
|
108
|
+
const _customerId = customerId.id || customerId;
|
|
109
|
+
return this.resources.fetch(
|
|
110
|
+
{ type: "tags" },
|
|
111
|
+
`customers/${_customerId}/tags`,
|
|
112
|
+
params,
|
|
113
|
+
options
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
async jwt_customer(customerId, params, options) {
|
|
117
|
+
const _customerId = customerId.id || customerId;
|
|
118
|
+
return this.resources.fetch(
|
|
119
|
+
{ type: "customers" },
|
|
120
|
+
`customers/${_customerId}/jwt_customer`,
|
|
121
|
+
params,
|
|
122
|
+
options
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
async jwt_markets(customerId, params, options) {
|
|
126
|
+
const _customerId = customerId.id || customerId;
|
|
127
|
+
return this.resources.fetch(
|
|
128
|
+
{ type: "markets" },
|
|
129
|
+
`customers/${_customerId}/jwt_markets`,
|
|
130
|
+
params,
|
|
131
|
+
options
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
async jwt_stock_locations(customerId, params, options) {
|
|
135
|
+
const _customerId = customerId.id || customerId;
|
|
136
|
+
return this.resources.fetch(
|
|
137
|
+
{ type: "stock_locations" },
|
|
138
|
+
`customers/${_customerId}/jwt_stock_locations`,
|
|
139
|
+
params,
|
|
140
|
+
options
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
async event_stores(customerId, params, options) {
|
|
144
|
+
const _customerId = customerId.id || customerId;
|
|
145
|
+
return this.resources.fetch(
|
|
146
|
+
{ type: "event_stores" },
|
|
147
|
+
`customers/${_customerId}/event_stores`,
|
|
148
|
+
params,
|
|
149
|
+
options
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
async _add_tags(id, triggerValue, params, options) {
|
|
153
|
+
return this.resources.update(
|
|
154
|
+
{ id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _add_tags: triggerValue },
|
|
155
|
+
params,
|
|
156
|
+
options
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
async _remove_tags(id, triggerValue, params, options) {
|
|
160
|
+
return this.resources.update(
|
|
161
|
+
{ id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _remove_tags: triggerValue },
|
|
162
|
+
params,
|
|
163
|
+
options
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
async _request_anonymization(id, params, options) {
|
|
167
|
+
return this.resources.update(
|
|
168
|
+
{ id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _request_anonymization: true },
|
|
169
|
+
params,
|
|
170
|
+
options
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
async _cancel_anonymization(id, params, options) {
|
|
174
|
+
return this.resources.update(
|
|
175
|
+
{ id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _cancel_anonymization: true },
|
|
176
|
+
params,
|
|
177
|
+
options
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
isCustomer(resource) {
|
|
181
|
+
return resource.type && resource.type === _Customers.TYPE;
|
|
182
|
+
}
|
|
183
|
+
relationship(id) {
|
|
184
|
+
return super.relationshipOneToOne(id);
|
|
185
|
+
}
|
|
186
|
+
relationshipToMany(...ids) {
|
|
187
|
+
return super.relationshipOneToMany(...ids);
|
|
188
|
+
}
|
|
189
|
+
type() {
|
|
190
|
+
return _Customers.TYPE;
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
var instance = new Customers();
|
|
194
|
+
var customers_default = instance;
|
|
195
|
+
|
|
196
|
+
exports.customers_default = customers_default;
|
|
197
|
+
//# sourceMappingURL=chunk-KKU4FTJD.cjs.map
|
|
198
|
+
//# sourceMappingURL=chunk-KKU4FTJD.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"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A;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,qBAAA,CACJ,EAAA,EACA,MAAA,EACA,OAAA,EACmB;AACnB,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,EAAA,EAAI,OAAO,EAAA,KAAO,QAAA,GAAW,EAAA,GAAK,EAAA,CAAG,EAAA,EAAI,IAAA,EAAM,UAAA,CAAU,IAAA,EAAM,qBAAA,EAAuB,IAAA,EAAK;AAAA,MAC7F,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,WAAW,QAAA,EAAqC;AAC9C,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,UAAA,CAAU,IAAA;AAAA,EACtD;AAAA,EAEA,aAAa,EAAA,EAA6C;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAkC,EAAE,CAAA;AAAA,EACnD;AAAA,EAEA,sBAAsB,GAAA,EAA8B;AAClD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAmC,GAAG,GAAG,CAAA;AAAA,EACxD;AAAA,EAEA,IAAA,GAAqB;AACnB,IAAA,OAAO,UAAA,CAAU,IAAA;AAAA,EACnB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,SAAA,EAAU;AAC/B,IAAO,iBAAA,GAAQ","file":"chunk-KKU4FTJD.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { CustomerAddress } from './customer_addresses'\nimport type { CustomerGroup, CustomerGroupType } from './customer_groups'\nimport type { CustomerPaymentSource } from './customer_payment_sources'\nimport type { CustomerSubscription } from './customer_subscriptions'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market } from './markets'\nimport type { OrderSubscription } from './order_subscriptions'\nimport type { Order } from './orders'\nimport type { Return } from './returns'\nimport type { SkuList } from './sku_lists'\nimport type { StockLocation } from './stock_locations'\nimport type { Tag, TagType } from './tags'\n\ntype CustomerType = 'customers'\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\ntype TagRel = ResourceRel & { type: TagType }\n\nexport type CustomerSort = Pick<Customer, 'id' | 'email' | 'status' | 'total_orders_count' | 'anonymization_status'> &\n ResourceSort\n// export type CustomerFilter = Pick<Customer, 'id' | 'email' | 'status' | 'total_orders_count' | 'anonymization_status'> & ResourceFilter\n\n/**\n * The Customer object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/customers endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/customers/object\n */\ninterface Customer extends Resource {\n readonly type: CustomerType\n\n /**\n * The customer's email address.\n * @example ```\"john@example.com\"```\n */\n email: string\n /**\n * The customer's status. One of 'prospect' (default), 'acquired', or 'repeat'.\n * @example ```\"prospect\"```\n */\n status: 'prospect' | 'acquired' | 'repeat'\n /**\n * Indicates if the customer has a password.\n */\n has_password?: boolean | null\n /**\n * The total number of orders for the customer.\n * @example ```6```\n */\n total_orders_count?: number | null\n /**\n * A reference to uniquely identify the shopper during payment sessions.\n * @example ```\"xxx-yyy-zzz\"```\n */\n shopper_reference?: string | null\n /**\n * A reference to uniquely identify the customer on any connected external services.\n * @example ```\"xxx-yyy-zzz\"```\n */\n profile_id?: string | null\n /**\n * A specific code to identify the tax exemption reason for this customer.\n * @example ```\"xxx-yyy-zzz\"```\n */\n tax_exemption_code?: string | null\n /**\n * The custom_claim attached to the current JWT (if any).\n * @example ```{}```\n */\n jwt_custom_claim?: Record<string, any> | null\n /**\n * The anonymization info object.\n * @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 */\n anonymization_info?: Record<string, any> | null\n /**\n * Status of the current anonymization request (if any). One of 'requested', 'started', 'completed', 'failed', or 'cancelled'.\n * @example ```\"requested\"```\n */\n anonymization_status?: 'requested' | 'started' | 'completed' | 'failed' | 'cancelled' | null\n\n customer_group?: CustomerGroup | null\n customer_addresses?: CustomerAddress[] | null\n customer_payment_sources?: CustomerPaymentSource[] | null\n customer_subscriptions?: CustomerSubscription[] | null\n orders?: Order[] | null\n order_subscriptions?: OrderSubscription[] | null\n returns?: Return[] | null\n sku_lists?: SkuList[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n tags?: Tag[] | null\n jwt_customer?: Customer | null\n jwt_markets?: Market[] | null\n jwt_stock_locations?: StockLocation[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomerCreate extends ResourceCreate {\n /**\n * The customer's email address.\n * @example ```\"john@example.com\"```\n */\n email: string\n /**\n * The customer's password. Initiate a customer password reset flow if you need to change it.\n * @example ```\"secret\"```\n */\n password?: string | null\n /**\n * A reference to uniquely identify the shopper during payment sessions.\n * @example ```\"xxx-yyy-zzz\"```\n */\n shopper_reference?: string | null\n /**\n * A reference to uniquely identify the customer on any connected external services.\n * @example ```\"xxx-yyy-zzz\"```\n */\n profile_id?: string | null\n /**\n * A specific code to identify the tax exemption reason for this customer.\n * @example ```\"xxx-yyy-zzz\"```\n */\n tax_exemption_code?: string | null\n\n customer_group?: CustomerGroupRel | null\n tags?: TagRel[] | null\n}\n\ninterface CustomerUpdate extends ResourceUpdate {\n /**\n * The customer's email address.\n * @example ```\"john@example.com\"```\n */\n email?: string | null\n /**\n * The customer's password. Initiate a customer password reset flow if you need to change it.\n * @example ```\"secret\"```\n */\n password?: string | null\n /**\n * A reference to uniquely identify the shopper during payment sessions.\n * @example ```\"xxx-yyy-zzz\"```\n */\n shopper_reference?: string | null\n /**\n * A reference to uniquely identify the customer on any connected external services.\n * @example ```\"xxx-yyy-zzz\"```\n */\n profile_id?: string | null\n /**\n * A specific code to identify the tax exemption reason for this customer.\n * @example ```\"xxx-yyy-zzz\"```\n */\n tax_exemption_code?: string | null\n /**\n * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _add_tags?: string | null\n /**\n * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _remove_tags?: string | null\n /**\n * Send this attribute if you want to trigger anonymization. Cannot be passed by sales channels.\n * @example ```true```\n */\n _request_anonymization?: boolean | null\n /**\n * Send this attribute if you want to trigger a cancellation of anonymization. Cannot be passed by sales channels.\n * @example ```true```\n */\n _cancel_anonymization?: boolean | null\n\n customer_group?: CustomerGroupRel | null\n tags?: TagRel[] | null\n}\n\nclass Customers extends ApiResource<Customer> {\n static readonly TYPE: CustomerType = 'customers' as const\n\n async create(\n resource: CustomerCreate,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.create<CustomerCreate, Customer>({ ...resource, type: Customers.TYPE }, params, options)\n }\n\n async update(\n resource: CustomerUpdate,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>({ ...resource, type: Customers.TYPE }, params, options)\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: Customers.TYPE } : id, options)\n }\n\n async customer_group(\n customerId: string | Customer,\n params?: QueryParamsRetrieve<CustomerGroup>,\n options?: ResourcesConfig,\n ): Promise<CustomerGroup> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerGroup>(\n { type: 'customer_groups' },\n `customers/${_customerId}/customer_group`,\n params,\n options,\n ) as unknown as CustomerGroup\n }\n\n async customer_addresses(\n customerId: string | Customer,\n params?: QueryParamsList<CustomerAddress>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<CustomerAddress>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerAddress>(\n { type: 'customer_addresses' },\n `customers/${_customerId}/customer_addresses`,\n params,\n options,\n ) as unknown as ListResponse<CustomerAddress>\n }\n\n async customer_payment_sources(\n customerId: string | Customer,\n params?: QueryParamsList<CustomerPaymentSource>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<CustomerPaymentSource>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerPaymentSource>(\n { type: 'customer_payment_sources' },\n `customers/${_customerId}/customer_payment_sources`,\n params,\n options,\n ) as unknown as ListResponse<CustomerPaymentSource>\n }\n\n async customer_subscriptions(\n customerId: string | Customer,\n params?: QueryParamsList<CustomerSubscription>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<CustomerSubscription>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerSubscription>(\n { type: 'customer_subscriptions' },\n `customers/${_customerId}/customer_subscriptions`,\n params,\n options,\n ) as unknown as ListResponse<CustomerSubscription>\n }\n\n async orders(\n customerId: string | Customer,\n params?: QueryParamsList<Order>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Order>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Order>(\n { type: 'orders' },\n `customers/${_customerId}/orders`,\n params,\n options,\n ) as unknown as ListResponse<Order>\n }\n\n async order_subscriptions(\n customerId: string | Customer,\n params?: QueryParamsList<OrderSubscription>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<OrderSubscription>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<OrderSubscription>(\n { type: 'order_subscriptions' },\n `customers/${_customerId}/order_subscriptions`,\n params,\n options,\n ) as unknown as ListResponse<OrderSubscription>\n }\n\n async returns(\n customerId: string | Customer,\n params?: QueryParamsList<Return>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Return>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Return>(\n { type: 'returns' },\n `customers/${_customerId}/returns`,\n params,\n options,\n ) as unknown as ListResponse<Return>\n }\n\n async sku_lists(\n customerId: string | Customer,\n params?: QueryParamsList<SkuList>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<SkuList>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<SkuList>(\n { type: 'sku_lists' },\n `customers/${_customerId}/sku_lists`,\n params,\n options,\n ) as unknown as ListResponse<SkuList>\n }\n\n async attachments(\n customerId: string | Customer,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `customers/${_customerId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n customerId: string | Customer,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `customers/${_customerId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async tags(\n customerId: string | Customer,\n params?: QueryParamsList<Tag>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Tag>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Tag>(\n { type: 'tags' },\n `customers/${_customerId}/tags`,\n params,\n options,\n ) as unknown as ListResponse<Tag>\n }\n\n async jwt_customer(\n customerId: string | Customer,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Customer>(\n { type: 'customers' },\n `customers/${_customerId}/jwt_customer`,\n params,\n options,\n ) as unknown as Customer\n }\n\n async jwt_markets(\n customerId: string | Customer,\n params?: QueryParamsList<Market>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Market>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `customers/${_customerId}/jwt_markets`,\n params,\n options,\n ) as unknown as ListResponse<Market>\n }\n\n async jwt_stock_locations(\n customerId: string | Customer,\n params?: QueryParamsList<StockLocation>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<StockLocation>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<StockLocation>(\n { type: 'stock_locations' },\n `customers/${_customerId}/jwt_stock_locations`,\n params,\n options,\n ) as unknown as ListResponse<StockLocation>\n }\n\n async event_stores(\n customerId: string | Customer,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `customers/${_customerId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _add_tags(\n id: string | Customer,\n triggerValue: string,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _add_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _remove_tags(\n id: string | Customer,\n triggerValue: string,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _remove_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _request_anonymization(\n id: string | Customer,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _request_anonymization: true },\n params,\n options,\n )\n }\n\n async _cancel_anonymization(\n id: string | Customer,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _cancel_anonymization: true },\n params,\n options,\n )\n }\n\n isCustomer(resource: any): resource is Customer {\n return resource.type && resource.type === Customers.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomerRel {\n return super.relationshipOneToOne<CustomerRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomerRel[] {\n return super.relationshipOneToMany<CustomerRel>(...ids)\n }\n\n type(): CustomerType {\n return Customers.TYPE\n }\n}\n\nconst instance = new Customers()\nexport default instance\n\nexport type { Customer, CustomerCreate, Customers, CustomerType, CustomerUpdate }\n"]}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkGKPLAZMH_cjs = require('./chunk-GKPLAZMH.cjs');
|
|
4
|
+
|
|
5
|
+
// src/resources/geocoders.ts
|
|
6
|
+
var Geocoders = class _Geocoders extends chunkGKPLAZMH_cjs.ApiResource {
|
|
7
|
+
static TYPE = "geocoders";
|
|
8
|
+
async markets(geocoderId, params, options) {
|
|
9
|
+
const _geocoderId = geocoderId.id || geocoderId;
|
|
10
|
+
return this.resources.fetch(
|
|
11
|
+
{ type: "markets" },
|
|
12
|
+
`geocoders/${_geocoderId}/markets`,
|
|
13
|
+
params,
|
|
14
|
+
options
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
async addresses(geocoderId, params, options) {
|
|
18
|
+
const _geocoderId = geocoderId.id || geocoderId;
|
|
19
|
+
return this.resources.fetch(
|
|
20
|
+
{ type: "addresses" },
|
|
21
|
+
`geocoders/${_geocoderId}/addresses`,
|
|
22
|
+
params,
|
|
23
|
+
options
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
async attachments(geocoderId, params, options) {
|
|
27
|
+
const _geocoderId = geocoderId.id || geocoderId;
|
|
28
|
+
return this.resources.fetch(
|
|
29
|
+
{ type: "attachments" },
|
|
30
|
+
`geocoders/${_geocoderId}/attachments`,
|
|
31
|
+
params,
|
|
32
|
+
options
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
async event_stores(geocoderId, params, options) {
|
|
36
|
+
const _geocoderId = geocoderId.id || geocoderId;
|
|
37
|
+
return this.resources.fetch(
|
|
38
|
+
{ type: "event_stores" },
|
|
39
|
+
`geocoders/${_geocoderId}/event_stores`,
|
|
40
|
+
params,
|
|
41
|
+
options
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
isGeocoder(resource) {
|
|
45
|
+
return !!resource.type && (resource.type === _Geocoders.TYPE || ["bing_geocoders", "google_geocoders"].includes(resource.type));
|
|
46
|
+
}
|
|
47
|
+
relationship(id) {
|
|
48
|
+
return super.relationshipOneToOne(id);
|
|
49
|
+
}
|
|
50
|
+
relationshipToMany(...ids) {
|
|
51
|
+
return super.relationshipOneToMany(...ids);
|
|
52
|
+
}
|
|
53
|
+
type() {
|
|
54
|
+
return _Geocoders.TYPE;
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
var instance = new Geocoders();
|
|
58
|
+
var geocoders_default = instance;
|
|
59
|
+
|
|
60
|
+
exports.geocoders_default = geocoders_default;
|
|
61
|
+
//# sourceMappingURL=chunk-KM76YWNO.cjs.map
|
|
62
|
+
//# sourceMappingURL=chunk-KM76YWNO.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/geocoders.ts"],"names":["ApiResource"],"mappings":";;;;;AA6CA,IAAM,SAAA,GAAN,MAAM,UAAA,SAAkBA,6BAAA,CAAsB;AAAA,EAC5C,OAAgB,IAAA,GAAqB,WAAA;AAAA,EAErC,MAAM,OAAA,CACJ,UAAA,EACA,MAAA,EACA,OAAA,EAC+B;AAC/B,IAAA,MAAM,WAAA,GAAe,WAAwB,EAAA,IAAO,UAAA;AACpD,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,SAAA,EAAU;AAAA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AAM,qBAAkC,EAAE,CAAA;AAAA,EACnD;AAAA,EAEA,sBAAsB,GAAA,EAA8B;AAClD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAmC,GAAG,GAAG,CAAA;AAAA,EACxD;AAAA,EAEA,IAAA,GAAqB;AACnB,IAAA,OAAO,UAAA,CAAU,IAAA;AAAA,EACnB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,SAAA,EAAU;AAC/B,IAAO,iBAAA,GAAQ","file":"chunk-KM76YWNO.cjs","sourcesContent":["import type { QueryParamsList } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n} from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Address } from './addresses'\nimport type { Attachment } from './attachments'\nimport type { BingGeocoder } from './bing_geocoders'\nimport type { EventStore } from './event_stores'\nimport type { GoogleGeocoder } from './google_geocoders'\nimport type { Market } from './markets'\n\ntype GeocoderType = 'geocoders' | 'bing_geocoders' | 'google_geocoders'\ntype GeocoderRel = ResourceRel & { type: GeocoderType }\n\nexport type GeocoderSort = Pick<GeocoderBase, 'id' | 'name'> & ResourceSort\n// export type GeocoderFilter = Pick<Geocoder, 'id' | 'name'> & ResourceFilter\n\n/**\n * The Geocoder object is returned as part of the response body of each successful list or retrieve API call to the /api/geocoders endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/geocoders/object\n */\ntype Geocoder = BingGeocoder | GoogleGeocoder\n\ninterface GeocoderBase extends Resource {\n readonly type: GeocoderType\n\n /**\n * The geocoder's internal name.\n * @example ```\"Default geocoder\"```\n */\n name: string\n\n markets?: Market[] | null\n addresses?: Address[] | null\n attachments?: Attachment[] | null\n event_stores?: EventStore[] | null\n}\n\nclass Geocoders extends ApiResource<Geocoder> {\n static readonly TYPE: GeocoderType = 'geocoders' as const\n\n async markets(\n geocoderId: string | Geocoder,\n params?: QueryParamsList<Market>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Market>> {\n const _geocoderId = (geocoderId as Geocoder).id || (geocoderId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `geocoders/${_geocoderId}/markets`,\n params,\n options,\n ) as unknown as ListResponse<Market>\n }\n\n async addresses(\n geocoderId: string | Geocoder,\n params?: QueryParamsList<Address>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Address>> {\n const _geocoderId = (geocoderId as Geocoder).id || (geocoderId as string)\n return this.resources.fetch<Address>(\n { type: 'addresses' },\n `geocoders/${_geocoderId}/addresses`,\n params,\n options,\n ) as unknown as ListResponse<Address>\n }\n\n async attachments(\n geocoderId: string | Geocoder,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _geocoderId = (geocoderId as Geocoder).id || (geocoderId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `geocoders/${_geocoderId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async event_stores(\n geocoderId: string | Geocoder,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _geocoderId = (geocoderId as Geocoder).id || (geocoderId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `geocoders/${_geocoderId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isGeocoder(resource: any): resource is Geocoder {\n return (\n !!resource.type &&\n (resource.type === Geocoders.TYPE || ['bing_geocoders', 'google_geocoders'].includes(resource.type))\n )\n }\n\n relationship(id: string | ResourceId | null): GeocoderRel {\n return super.relationshipOneToOne<GeocoderRel>(id)\n }\n\n relationshipToMany(...ids: string[]): GeocoderRel[] {\n return super.relationshipOneToMany<GeocoderRel>(...ids)\n }\n\n type(): GeocoderType {\n return Geocoders.TYPE\n }\n}\n\nconst instance = new Geocoders()\nexport default instance\n\nexport type { Geocoder, Geocoders, GeocoderType }\n"]}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-5W54ENHX.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(
|
|
8
|
+
{ ...resource, type: _CheckoutComPayments.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _CheckoutComPayments.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CheckoutComPayments.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async order(checkoutComPaymentId, params, options) {
|
|
24
|
+
const _checkoutComPaymentId = checkoutComPaymentId.id || checkoutComPaymentId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "orders" },
|
|
27
|
+
`checkout_com_payments/${_checkoutComPaymentId}/order`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
async payment_gateway(checkoutComPaymentId, params, options) {
|
|
33
|
+
const _checkoutComPaymentId = checkoutComPaymentId.id || checkoutComPaymentId;
|
|
34
|
+
return this.resources.fetch(
|
|
35
|
+
{ type: "payment_gateways" },
|
|
36
|
+
`checkout_com_payments/${_checkoutComPaymentId}/payment_gateway`,
|
|
37
|
+
params,
|
|
38
|
+
options
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
async event_stores(checkoutComPaymentId, params, options) {
|
|
42
|
+
const _checkoutComPaymentId = checkoutComPaymentId.id || checkoutComPaymentId;
|
|
43
|
+
return this.resources.fetch(
|
|
44
|
+
{ type: "event_stores" },
|
|
45
|
+
`checkout_com_payments/${_checkoutComPaymentId}/event_stores`,
|
|
46
|
+
params,
|
|
47
|
+
options
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
async _authorize(id, params, options) {
|
|
51
|
+
return this.resources.update(
|
|
52
|
+
{ id: typeof id === "string" ? id : id.id, type: _CheckoutComPayments.TYPE, _authorize: true },
|
|
53
|
+
params,
|
|
54
|
+
options
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
async _details(id, params, options) {
|
|
58
|
+
return this.resources.update(
|
|
59
|
+
{ id: typeof id === "string" ? id : id.id, type: _CheckoutComPayments.TYPE, _details: true },
|
|
60
|
+
params,
|
|
61
|
+
options
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
async _refresh(id, params, options) {
|
|
65
|
+
return this.resources.update(
|
|
66
|
+
{ id: typeof id === "string" ? id : id.id, type: _CheckoutComPayments.TYPE, _refresh: true },
|
|
67
|
+
params,
|
|
68
|
+
options
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
isCheckoutComPayment(resource) {
|
|
72
|
+
return resource.type && resource.type === _CheckoutComPayments.TYPE;
|
|
73
|
+
}
|
|
74
|
+
relationship(id) {
|
|
75
|
+
return super.relationshipOneToOne(id);
|
|
76
|
+
}
|
|
77
|
+
relationshipToMany(...ids) {
|
|
78
|
+
return super.relationshipOneToMany(...ids);
|
|
79
|
+
}
|
|
80
|
+
type() {
|
|
81
|
+
return _CheckoutComPayments.TYPE;
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
var instance = new CheckoutComPayments();
|
|
85
|
+
var checkout_com_payments_default = instance;
|
|
86
|
+
|
|
87
|
+
export { checkout_com_payments_default };
|
|
88
|
+
//# sourceMappingURL=chunk-KTGTFKFD.js.map
|
|
89
|
+
//# sourceMappingURL=chunk-KTGTFKFD.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/checkout_com_payments.ts"],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A;AAAA,MACpB,EAAE,EAAA,EAAI,OAAO,EAAA,KAAO,QAAA,GAAW,EAAA,GAAK,EAAA,CAAG,EAAA,EAAI,IAAA,EAAM,oBAAA,CAAoB,IAAA,EAAM,QAAA,EAAU,IAAA,EAAK;AAAA,MAC1F,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,qBAAqB,QAAA,EAA+C;AAClE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,oBAAA,CAAoB,IAAA;AAAA,EAChE;AAAA,EAEA,aAAa,EAAA,EAAuD;AAClE,IAAA,OAAO,KAAA,CAAM,qBAA4C,EAAE,CAAA;AAAA,EAC7D;AAAA,EAEA,sBAAsB,GAAA,EAAwC;AAC5D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA6C,GAAG,GAAG,CAAA;AAAA,EAClE;AAAA,EAEA,IAAA,GAA+B;AAC7B,IAAA,OAAO,oBAAA,CAAoB,IAAA;AAAA,EAC7B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,mBAAA,EAAoB;AACzC,IAAO,6BAAA,GAAQ","file":"chunk-KTGTFKFD.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '../resource'\nimport { ApiResource } from '../resource'\nimport type { EventStore } from './event_stores'\nimport type { Order, OrderType } from './orders'\nimport type { PaymentGateway } from './payment_gateways'\n\ntype CheckoutComPaymentType = 'checkout_com_payments'\ntype CheckoutComPaymentRel = ResourceRel & { type: CheckoutComPaymentType }\ntype OrderRel = ResourceRel & { type: OrderType }\n\nexport type CheckoutComPaymentSort = Pick<CheckoutComPayment, 'id'> & ResourceSort\n// export type CheckoutComPaymentFilter = Pick<CheckoutComPayment, 'id'> & ResourceFilter\n\n/**\n * The Checkout.com payment object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/checkout_com_payments endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/checkout_com_payments/object\n */\ninterface CheckoutComPayment extends Resource {\n readonly type: CheckoutComPaymentType\n\n /**\n * The Checkout.com publishable API key.\n * @example ```\"pk_test_xxxx-yyyy-zzzz\"```\n */\n public_key?: string | null\n /**\n * The Checkout.com payment or digital wallet token.\n * @example ```\"tok_4gzeau5o2uqubbk6fufs3m7p54\"```\n */\n token: string\n /**\n * The session object which initializes payment.\n * @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 */\n payment_session: Record<string, any>\n /**\n * The URL to redirect your customer upon 3DS succeeded authentication.\n * @example ```\"http://commercelayer.dev/checkout_com/success\"```\n */\n success_url: string\n /**\n * The URL to redirect your customer upon 3DS failed authentication.\n * @example ```\"http://commercelayer.dev/checkout_com/failure\"```\n */\n failure_url: string\n /**\n * The payment source identifier that can be used for subsequent payments.\n * @example ```\"src_nwd3m4in3hkuddfpjsaevunhdy\"```\n */\n source_id?: string | null\n /**\n * The customer's unique identifier. This can be passed as a source when making a payment.\n * @example ```\"cus_udst2tfldj6upmye2reztkmm4i\"```\n */\n customer_token?: string | null\n /**\n * The URI that the customer should be redirected to in order to complete the payment.\n * @example ```\"https://api.checkout.com/3ds/pay_mbabizu24mvu3mela5njyhpit4\"```\n */\n redirect_uri?: string | null\n /**\n * The Checkout.com payment response, used to fetch internal data.\n * @example ```{\"foo\":\"bar\"}```\n */\n payment_response?: Record<string, any> | null\n /**\n * Indicates if the order current amount differs form the one of the associated authorization.\n */\n mismatched_amounts?: boolean | null\n /**\n * Information about the payment instrument used in the transaction.\n * @example ```{\"issuer\":\"cl bank\",\"card_type\":\"visa\"}```\n */\n payment_instrument?: Record<string, any> | null\n\n order?: Order | null\n payment_gateway?: PaymentGateway | null\n event_stores?: EventStore[] | null\n}\n\ninterface CheckoutComPaymentCreate extends ResourceCreate {\n /**\n * The Checkout.com payment or digital wallet token.\n * @example ```\"tok_4gzeau5o2uqubbk6fufs3m7p54\"```\n */\n token: string\n /**\n * The URL to redirect your customer upon 3DS succeeded authentication.\n * @example ```\"http://commercelayer.dev/checkout_com/success\"```\n */\n success_url: string\n /**\n * The URL to redirect your customer upon 3DS failed authentication.\n * @example ```\"http://commercelayer.dev/checkout_com/failure\"```\n */\n failure_url: string\n\n order: OrderRel\n}\n\ninterface CheckoutComPaymentUpdate extends ResourceUpdate {\n /**\n * The Checkout.com payment or digital wallet token.\n * @example ```\"tok_4gzeau5o2uqubbk6fufs3m7p54\"```\n */\n token?: string | null\n /**\n * Send this attribute if you want to authorize the payment.\n * @example ```true```\n */\n _authorize?: boolean | null\n /**\n * Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check).\n * @example ```true```\n */\n _details?: boolean | null\n /**\n * Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.\n * @example ```true```\n */\n _refresh?: boolean | null\n\n order?: OrderRel | null\n}\n\nclass CheckoutComPayments extends ApiResource<CheckoutComPayment> {\n static readonly TYPE: CheckoutComPaymentType = 'checkout_com_payments' as const\n\n async create(\n resource: CheckoutComPaymentCreate,\n params?: QueryParamsRetrieve<CheckoutComPayment>,\n options?: ResourcesConfig,\n ): Promise<CheckoutComPayment> {\n return this.resources.create<CheckoutComPaymentCreate, CheckoutComPayment>(\n { ...resource, type: CheckoutComPayments.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CheckoutComPaymentUpdate,\n params?: QueryParamsRetrieve<CheckoutComPayment>,\n options?: ResourcesConfig,\n ): Promise<CheckoutComPayment> {\n return this.resources.update<CheckoutComPaymentUpdate, CheckoutComPayment>(\n { ...resource, type: CheckoutComPayments.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: CheckoutComPayments.TYPE } : id, options)\n }\n\n async order(\n checkoutComPaymentId: string | CheckoutComPayment,\n params?: QueryParamsRetrieve<Order>,\n options?: ResourcesConfig,\n ): Promise<Order> {\n const _checkoutComPaymentId = (checkoutComPaymentId as CheckoutComPayment).id || (checkoutComPaymentId as string)\n return this.resources.fetch<Order>(\n { type: 'orders' },\n `checkout_com_payments/${_checkoutComPaymentId}/order`,\n params,\n options,\n ) as unknown as Order\n }\n\n async payment_gateway(\n checkoutComPaymentId: string | CheckoutComPayment,\n params?: QueryParamsRetrieve<PaymentGateway>,\n options?: ResourcesConfig,\n ): Promise<PaymentGateway> {\n const _checkoutComPaymentId = (checkoutComPaymentId as CheckoutComPayment).id || (checkoutComPaymentId as string)\n return this.resources.fetch<PaymentGateway>(\n { type: 'payment_gateways' },\n `checkout_com_payments/${_checkoutComPaymentId}/payment_gateway`,\n params,\n options,\n ) as unknown as PaymentGateway\n }\n\n async event_stores(\n checkoutComPaymentId: string | CheckoutComPayment,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _checkoutComPaymentId = (checkoutComPaymentId as CheckoutComPayment).id || (checkoutComPaymentId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `checkout_com_payments/${_checkoutComPaymentId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _authorize(\n id: string | CheckoutComPayment,\n params?: QueryParamsRetrieve<CheckoutComPayment>,\n options?: ResourcesConfig,\n ): Promise<CheckoutComPayment> {\n return this.resources.update<CheckoutComPaymentUpdate, CheckoutComPayment>(\n { id: typeof id === 'string' ? id : id.id, type: CheckoutComPayments.TYPE, _authorize: true },\n params,\n options,\n )\n }\n\n async _details(\n id: string | CheckoutComPayment,\n params?: QueryParamsRetrieve<CheckoutComPayment>,\n options?: ResourcesConfig,\n ): Promise<CheckoutComPayment> {\n return this.resources.update<CheckoutComPaymentUpdate, CheckoutComPayment>(\n { id: typeof id === 'string' ? id : id.id, type: CheckoutComPayments.TYPE, _details: true },\n params,\n options,\n )\n }\n\n async _refresh(\n id: string | CheckoutComPayment,\n params?: QueryParamsRetrieve<CheckoutComPayment>,\n options?: ResourcesConfig,\n ): Promise<CheckoutComPayment> {\n return this.resources.update<CheckoutComPaymentUpdate, CheckoutComPayment>(\n { id: typeof id === 'string' ? id : id.id, type: CheckoutComPayments.TYPE, _refresh: true },\n params,\n options,\n )\n }\n\n isCheckoutComPayment(resource: any): resource is CheckoutComPayment {\n return resource.type && resource.type === CheckoutComPayments.TYPE\n }\n\n relationship(id: string | ResourceId | null): CheckoutComPaymentRel {\n return super.relationshipOneToOne<CheckoutComPaymentRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CheckoutComPaymentRel[] {\n return super.relationshipOneToMany<CheckoutComPaymentRel>(...ids)\n }\n\n type(): CheckoutComPaymentType {\n return CheckoutComPayments.TYPE\n }\n}\n\nconst instance = new CheckoutComPayments()\nexport default instance\n\nexport type {\n CheckoutComPayment,\n CheckoutComPaymentCreate,\n CheckoutComPayments,\n CheckoutComPaymentType,\n CheckoutComPaymentUpdate,\n}\n"]}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-5W54ENHX.js';
|
|
2
|
+
|
|
3
|
+
// src/resources/customer_addresses.ts
|
|
4
|
+
var CustomerAddresses = class _CustomerAddresses extends ApiResource {
|
|
5
|
+
static TYPE = "customer_addresses";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create(
|
|
8
|
+
{ ...resource, type: _CustomerAddresses.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _CustomerAddresses.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CustomerAddresses.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async customer(customerAddressId, params, options) {
|
|
24
|
+
const _customerAddressId = customerAddressId.id || customerAddressId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "customers" },
|
|
27
|
+
`customer_addresses/${_customerAddressId}/customer`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
async address(customerAddressId, params, options) {
|
|
33
|
+
const _customerAddressId = customerAddressId.id || customerAddressId;
|
|
34
|
+
return this.resources.fetch(
|
|
35
|
+
{ type: "addresses" },
|
|
36
|
+
`customer_addresses/${_customerAddressId}/address`,
|
|
37
|
+
params,
|
|
38
|
+
options
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
async events(customerAddressId, params, options) {
|
|
42
|
+
const _customerAddressId = customerAddressId.id || customerAddressId;
|
|
43
|
+
return this.resources.fetch(
|
|
44
|
+
{ type: "events" },
|
|
45
|
+
`customer_addresses/${_customerAddressId}/events`,
|
|
46
|
+
params,
|
|
47
|
+
options
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
async event_stores(customerAddressId, params, options) {
|
|
51
|
+
const _customerAddressId = customerAddressId.id || customerAddressId;
|
|
52
|
+
return this.resources.fetch(
|
|
53
|
+
{ type: "event_stores" },
|
|
54
|
+
`customer_addresses/${_customerAddressId}/event_stores`,
|
|
55
|
+
params,
|
|
56
|
+
options
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
isCustomerAddress(resource) {
|
|
60
|
+
return resource.type && resource.type === _CustomerAddresses.TYPE;
|
|
61
|
+
}
|
|
62
|
+
relationship(id) {
|
|
63
|
+
return super.relationshipOneToOne(id);
|
|
64
|
+
}
|
|
65
|
+
relationshipToMany(...ids) {
|
|
66
|
+
return super.relationshipOneToMany(...ids);
|
|
67
|
+
}
|
|
68
|
+
type() {
|
|
69
|
+
return _CustomerAddresses.TYPE;
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
var instance = new CustomerAddresses();
|
|
73
|
+
var customer_addresses_default = instance;
|
|
74
|
+
|
|
75
|
+
export { customer_addresses_default };
|
|
76
|
+
//# sourceMappingURL=chunk-KTICF7CN.js.map
|
|
77
|
+
//# sourceMappingURL=chunk-KTICF7CN.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/customer_addresses.ts"],"names":[],"mappings":";;;AAkEA,IAAM,iBAAA,GAAN,MAAM,kBAAA,SAA0B,WAAA,CAA6B;AAAA,EAC3D,OAAgB,IAAA,GAA4B,oBAAA;AAAA,EAE5C,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC0B;AAC1B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,mBAAkB,IAAA,EAAK;AAAA,MAC5C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC0B;AAC1B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,mBAAkB,IAAA,EAAK;AAAA,MAC5C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,kBAAA,CAAkB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACzG;AAAA,EAEA,MAAM,QAAA,CACJ,iBAAA,EACA,MAA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AAQ,QAAA,CAAS,IAAA,KAAS,kBAAA,CAAkB,IAAA;AAAA,EAC9D;AAAA,EAEA,aAAa,EAAA,EAAoD;AAC/D,IAAA,OAAO,KAAA,CAAM,qBAAyC,EAAE,CAAA;AAAA,EAC1D;AAAA,EAEA,sBAAsB,GAAA,EAAqC;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA0C,GAAG,GAAG,CAAA;AAAA,EAC/D;AAAA,EAEA,IAAA,GAA4B;AAC1B,IAAA,OAAO,kBAAA,CAAkB,IAAA;AAAA,EAC3B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,iBAAA,EAAkB;AACvC,IAAO,0BAAA,GAAQ","file":"chunk-KTICF7CN.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Address, AddressType } from './addresses'\nimport type { Customer, CustomerType } from './customers'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\n\ntype CustomerAddressType = 'customer_addresses'\ntype CustomerAddressRel = ResourceRel & { type: CustomerAddressType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype AddressRel = ResourceRel & { type: AddressType }\n\nexport type CustomerAddressSort = Pick<CustomerAddress, 'id'> & ResourceSort\n// export type CustomerAddressFilter = Pick<CustomerAddress, 'id'> & ResourceFilter\n\n/**\n * The Customer address object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/customer_addresses endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/customer_addresses/object\n */\ninterface CustomerAddress extends Resource {\n readonly type: CustomerAddressType\n\n /**\n * Returns the associated address' name.\n * @example ```\"John Smith, 2883 Geraldine Lane Apt.23, 10013 New York NY (US) (212) 646-338-1228\"```\n */\n name?: string | null\n /**\n * The email of the customer associated to the address.\n * @example ```\"john@example.com\"```\n */\n customer_email: string\n\n customer?: Customer | null\n address?: Address | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomerAddressCreate extends ResourceCreate {\n /**\n * The email of the customer associated to the address.\n * @example ```\"john@example.com\"```\n */\n customer_email: string\n\n customer: CustomerRel\n address: AddressRel\n}\n\ninterface CustomerAddressUpdate extends ResourceUpdate {\n customer?: CustomerRel | null\n address?: AddressRel | null\n}\n\nclass CustomerAddresses extends ApiResource<CustomerAddress> {\n static readonly TYPE: CustomerAddressType = 'customer_addresses' as const\n\n async create(\n resource: CustomerAddressCreate,\n params?: QueryParamsRetrieve<CustomerAddress>,\n options?: ResourcesConfig,\n ): Promise<CustomerAddress> {\n return this.resources.create<CustomerAddressCreate, CustomerAddress>(\n { ...resource, type: CustomerAddresses.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CustomerAddressUpdate,\n params?: QueryParamsRetrieve<CustomerAddress>,\n options?: ResourcesConfig,\n ): Promise<CustomerAddress> {\n return this.resources.update<CustomerAddressUpdate, CustomerAddress>(\n { ...resource, type: CustomerAddresses.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: CustomerAddresses.TYPE } : id, options)\n }\n\n async customer(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<Customer>(\n { type: 'customers' },\n `customer_addresses/${_customerAddressId}/customer`,\n params,\n options,\n ) as unknown as Customer\n }\n\n async address(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsRetrieve<Address>,\n options?: ResourcesConfig,\n ): Promise<Address> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<Address>(\n { type: 'addresses' },\n `customer_addresses/${_customerAddressId}/address`,\n params,\n options,\n ) as unknown as Address\n }\n\n async events(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `customer_addresses/${_customerAddressId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `customer_addresses/${_customerAddressId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isCustomerAddress(resource: any): resource is CustomerAddress {\n return resource.type && resource.type === CustomerAddresses.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomerAddressRel {\n return super.relationshipOneToOne<CustomerAddressRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomerAddressRel[] {\n return super.relationshipOneToMany<CustomerAddressRel>(...ids)\n }\n\n type(): CustomerAddressType {\n return CustomerAddresses.TYPE\n }\n}\n\nconst instance = new CustomerAddresses()\nexport default instance\n\nexport type { CustomerAddress, CustomerAddressCreate, CustomerAddresses, CustomerAddressType, CustomerAddressUpdate }\n"]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-5W54ENHX.js';
|
|
2
|
+
|
|
3
|
+
// src/resources/custom_promotion_rules.ts
|
|
4
|
+
var CustomPromotionRules = class _CustomPromotionRules extends ApiResource {
|
|
5
|
+
static TYPE = "custom_promotion_rules";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create(
|
|
8
|
+
{ ...resource, type: _CustomPromotionRules.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _CustomPromotionRules.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CustomPromotionRules.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async event_stores(customPromotionRuleId, params, options) {
|
|
24
|
+
const _customPromotionRuleId = customPromotionRuleId.id || customPromotionRuleId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "event_stores" },
|
|
27
|
+
`custom_promotion_rules/${_customPromotionRuleId}/event_stores`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
isCustomPromotionRule(resource) {
|
|
33
|
+
return resource.type && resource.type === _CustomPromotionRules.TYPE;
|
|
34
|
+
}
|
|
35
|
+
relationship(id) {
|
|
36
|
+
return super.relationshipOneToOne(id);
|
|
37
|
+
}
|
|
38
|
+
relationshipToMany(...ids) {
|
|
39
|
+
return super.relationshipOneToMany(...ids);
|
|
40
|
+
}
|
|
41
|
+
type() {
|
|
42
|
+
return _CustomPromotionRules.TYPE;
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
var instance = new CustomPromotionRules();
|
|
46
|
+
var custom_promotion_rules_default = instance;
|
|
47
|
+
|
|
48
|
+
export { custom_promotion_rules_default };
|
|
49
|
+
//# sourceMappingURL=chunk-KXITMWWL.js.map
|
|
50
|
+
//# sourceMappingURL=chunk-KXITMWWL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/custom_promotion_rules.ts"],"names":[],"mappings":";;;AAoGA,IAAM,oBAAA,GAAN,MAAM,qBAAA,SAA6B,WAAA,CAAiC;AAAA,EAClE,OAAgB,IAAA,GAAgC,wBAAA;AAAA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AsB,GAAA,EAAyC;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA8C,GAAG,GAAG,CAAA;AAAA,EACnE;AAAA,EAEA,IAAA,GAAgC;AAC9B,IAAA,OAAO,qBAAA,CAAqB,IAAA;AAAA,EAC9B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,oBAAA,EAAqB;AAC1C,IAAO,8BAAA,GAAQ","file":"chunk-KXITMWWL.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '../resource'\nimport { ApiResource } from '../resource'\nimport type { BuyXPayYPromotion, BuyXPayYPromotionType } from './buy_x_pay_y_promotions'\nimport type { EventStore } from './event_stores'\nimport type { ExternalPromotion, ExternalPromotionType } from './external_promotions'\nimport type { FixedAmountPromotion, FixedAmountPromotionType } from './fixed_amount_promotions'\nimport type { FixedPricePromotion, FixedPricePromotionType } from './fixed_price_promotions'\nimport type { FlexPromotion, FlexPromotionType } from './flex_promotions'\nimport type { FreeGiftPromotion, FreeGiftPromotionType } from './free_gift_promotions'\nimport type { FreeShippingPromotion, FreeShippingPromotionType } from './free_shipping_promotions'\nimport type { PercentageDiscountPromotion, PercentageDiscountPromotionType } from './percentage_discount_promotions'\n\ntype CustomPromotionRuleType = 'custom_promotion_rules'\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype PercentageDiscountPromotionRel = ResourceRel & { type: PercentageDiscountPromotionType }\ntype FreeShippingPromotionRel = ResourceRel & { type: FreeShippingPromotionType }\ntype BuyXPayYPromotionRel = ResourceRel & { type: BuyXPayYPromotionType }\ntype FreeGiftPromotionRel = ResourceRel & { type: FreeGiftPromotionType }\ntype FixedPricePromotionRel = ResourceRel & { type: FixedPricePromotionType }\ntype ExternalPromotionRel = ResourceRel & { type: ExternalPromotionType }\ntype FixedAmountPromotionRel = ResourceRel & { type: FixedAmountPromotionType }\ntype FlexPromotionRel = ResourceRel & { type: FlexPromotionType }\n\nexport type CustomPromotionRuleSort = Pick<CustomPromotionRule, 'id'> & ResourceSort\n// export type CustomPromotionRuleFilter = Pick<CustomPromotionRule, 'id'> & ResourceFilter\n\n/**\n * The Custom promotion rule object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/custom_promotion_rules endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/custom_promotion_rules/object\n */\ninterface CustomPromotionRule extends Resource {\n readonly type: CustomPromotionRuleType\n\n /**\n * The filters used to trigger promotion on the matching order and its relationships attributes.\n * @example ```{\"status_eq\":\"pending\",\"line_items_sku_code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n\n promotion?:\n | PercentageDiscountPromotion\n | FreeShippingPromotion\n | BuyXPayYPromotion\n | FreeGiftPromotion\n | FixedPricePromotion\n | ExternalPromotion\n | FixedAmountPromotion\n | FlexPromotion\n | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomPromotionRuleCreate extends ResourceCreate {\n /**\n * The filters used to trigger promotion on the matching order and its relationships attributes.\n * @example ```{\"status_eq\":\"pending\",\"line_items_sku_code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n\n promotion:\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n}\n\ninterface CustomPromotionRuleUpdate extends ResourceUpdate {\n /**\n * The filters used to trigger promotion on the matching order and its relationships attributes.\n * @example ```{\"status_eq\":\"pending\",\"line_items_sku_code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n\n promotion?:\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n | null\n}\n\nclass CustomPromotionRules extends ApiResource<CustomPromotionRule> {\n static readonly TYPE: CustomPromotionRuleType = 'custom_promotion_rules' as const\n\n async create(\n resource: CustomPromotionRuleCreate,\n params?: QueryParamsRetrieve<CustomPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CustomPromotionRule> {\n return this.resources.create<CustomPromotionRuleCreate, CustomPromotionRule>(\n { ...resource, type: CustomPromotionRules.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CustomPromotionRuleUpdate,\n params?: QueryParamsRetrieve<CustomPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CustomPromotionRule> {\n return this.resources.update<CustomPromotionRuleUpdate, CustomPromotionRule>(\n { ...resource, type: CustomPromotionRules.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: CustomPromotionRules.TYPE } : id, options)\n }\n\n async event_stores(\n customPromotionRuleId: string | CustomPromotionRule,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customPromotionRuleId =\n (customPromotionRuleId as CustomPromotionRule).id || (customPromotionRuleId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `custom_promotion_rules/${_customPromotionRuleId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isCustomPromotionRule(resource: any): resource is CustomPromotionRule {\n return resource.type && resource.type === CustomPromotionRules.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomPromotionRuleRel {\n return super.relationshipOneToOne<CustomPromotionRuleRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomPromotionRuleRel[] {\n return super.relationshipOneToMany<CustomPromotionRuleRel>(...ids)\n }\n\n type(): CustomPromotionRuleType {\n return CustomPromotionRules.TYPE\n }\n}\n\nconst instance = new CustomPromotionRules()\nexport default instance\n\nexport type {\n CustomPromotionRule,\n CustomPromotionRuleCreate,\n CustomPromotionRules,\n CustomPromotionRuleType,\n CustomPromotionRuleUpdate,\n}\n"]}
|