@commercelayer/sdk 8.0.0-beta.5 → 8.0.0-beta.7
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 +15 -20
- package/lib/api--5wB5Y2R.d.ts +18326 -0
- package/lib/api-D_vKsy0h.d.cts +18326 -0
- package/lib/api.cjs +264 -264
- package/lib/api.d.cts +2 -2
- package/lib/api.d.ts +2 -2
- package/lib/api.js +133 -133
- package/lib/bundle.cjs +296 -296
- package/lib/bundle.cjs.map +1 -1
- package/lib/bundle.d.cts +18 -18
- package/lib/bundle.d.ts +18 -18
- package/lib/bundle.js +180 -180
- package/lib/bundle.js.map +1 -1
- package/lib/chunk-24HV4EKV.js +45 -0
- package/lib/chunk-24HV4EKV.js.map +1 -0
- package/lib/chunk-2BYCZUKD.cjs +47 -0
- package/lib/chunk-2BYCZUKD.cjs.map +1 -0
- package/lib/chunk-2C5TBSGQ.cjs +56 -0
- package/lib/chunk-2C5TBSGQ.cjs.map +1 -0
- package/lib/chunk-2LDIS6UA.js +53 -0
- package/lib/chunk-2LDIS6UA.js.map +1 -0
- package/lib/chunk-2MSLSBHY.js +57 -0
- package/lib/chunk-2MSLSBHY.js.map +1 -0
- package/lib/chunk-2O5WYDVL.js +37 -0
- package/lib/chunk-2O5WYDVL.js.map +1 -0
- package/lib/chunk-2WHGIJGU.js +54 -0
- package/lib/chunk-2WHGIJGU.js.map +1 -0
- package/lib/chunk-35ININM5.js +54 -0
- package/lib/chunk-35ININM5.js.map +1 -0
- package/lib/chunk-376W3RHK.js +27 -0
- package/lib/chunk-376W3RHK.js.map +1 -0
- package/lib/chunk-3DEA3IGY.cjs +47 -0
- package/lib/chunk-3DEA3IGY.cjs.map +1 -0
- package/lib/chunk-3MGWBMJ2.cjs +68 -0
- package/lib/chunk-3MGWBMJ2.cjs.map +1 -0
- package/lib/chunk-3P4FFWTQ.cjs +56 -0
- package/lib/chunk-3P4FFWTQ.cjs.map +1 -0
- package/lib/chunk-3U7MK4SX.js +68 -0
- package/lib/chunk-3U7MK4SX.js.map +1 -0
- package/lib/chunk-3VI355UT.cjs +62 -0
- package/lib/chunk-3VI355UT.cjs.map +1 -0
- package/lib/chunk-3VVT6CKA.cjs +70 -0
- package/lib/chunk-3VVT6CKA.cjs.map +1 -0
- package/lib/chunk-3XGAVG4L.cjs +34 -0
- package/lib/chunk-3XGAVG4L.cjs.map +1 -0
- package/lib/chunk-3XSYH6SE.cjs +38 -0
- package/lib/chunk-3XSYH6SE.cjs.map +1 -0
- package/lib/chunk-3YIYVGMM.cjs +42 -0
- package/lib/chunk-3YIYVGMM.cjs.map +1 -0
- package/lib/chunk-4474ZEVS.js +124 -0
- package/lib/chunk-4474ZEVS.js.map +1 -0
- package/lib/chunk-4BE3G6GK.js +51 -0
- package/lib/chunk-4BE3G6GK.js.map +1 -0
- package/lib/chunk-4CLAI7ZC.cjs +47 -0
- package/lib/chunk-4CLAI7ZC.cjs.map +1 -0
- package/lib/chunk-4FW3MLHR.js +53 -0
- package/lib/chunk-4FW3MLHR.js.map +1 -0
- package/lib/chunk-4LAL3DCH.cjs +55 -0
- package/lib/chunk-4LAL3DCH.cjs.map +1 -0
- package/lib/chunk-53GWR3UF.js +99 -0
- package/lib/chunk-53GWR3UF.js.map +1 -0
- package/lib/chunk-5JDGRW3K.cjs +47 -0
- package/lib/chunk-5JDGRW3K.cjs.map +1 -0
- package/lib/chunk-5QFBTA7C.cjs +61 -0
- package/lib/chunk-5QFBTA7C.cjs.map +1 -0
- package/lib/chunk-5UISCFSR.cjs +50 -0
- package/lib/chunk-5UISCFSR.cjs.map +1 -0
- package/lib/chunk-62GRSGIA.js +45 -0
- package/lib/chunk-62GRSGIA.js.map +1 -0
- package/lib/chunk-64ENQFIL.cjs +63 -0
- package/lib/chunk-64ENQFIL.cjs.map +1 -0
- package/lib/chunk-6CE3DQTO.js +53 -0
- package/lib/chunk-6CE3DQTO.js.map +1 -0
- package/lib/chunk-6KXZ76ZM.js +49 -0
- package/lib/chunk-6KXZ76ZM.js.map +1 -0
- package/lib/chunk-6OF4JUHR.js +45 -0
- package/lib/chunk-6OF4JUHR.js.map +1 -0
- package/lib/chunk-6P72FNDJ.js +53 -0
- package/lib/chunk-6P72FNDJ.js.map +1 -0
- package/lib/chunk-73YM5XTA.cjs +38 -0
- package/lib/chunk-73YM5XTA.cjs.map +1 -0
- package/lib/chunk-74WLCRAL.cjs +34 -0
- package/lib/chunk-74WLCRAL.cjs.map +1 -0
- package/lib/chunk-7E73FXEL.cjs +53 -0
- package/lib/chunk-7E73FXEL.cjs.map +1 -0
- package/lib/chunk-7GSZFUJV.cjs +59 -0
- package/lib/chunk-7GSZFUJV.cjs.map +1 -0
- package/lib/chunk-7OUZNR45.js +54 -0
- package/lib/chunk-7OUZNR45.js.map +1 -0
- package/lib/chunk-7TGNLLZ4.js +105 -0
- package/lib/chunk-7TGNLLZ4.js.map +1 -0
- package/lib/chunk-7TM7YEPY.js +89 -0
- package/lib/chunk-7TM7YEPY.js.map +1 -0
- package/lib/chunk-A2CJAI7L.js +24 -0
- package/lib/chunk-A2CJAI7L.js.map +1 -0
- package/lib/chunk-A6DVFU4I.cjs +46 -0
- package/lib/chunk-A6DVFU4I.cjs.map +1 -0
- package/lib/chunk-A7NVPT5R.cjs +55 -0
- package/lib/chunk-A7NVPT5R.cjs.map +1 -0
- package/lib/chunk-A7ZFL7GH.js +54 -0
- package/lib/chunk-A7ZFL7GH.js.map +1 -0
- package/lib/chunk-AINFK7XE.js +50 -0
- package/lib/chunk-AINFK7XE.js.map +1 -0
- package/lib/chunk-AORS3S6A.js +99 -0
- package/lib/chunk-AORS3S6A.js.map +1 -0
- package/lib/chunk-APVQZ7L7.js +48 -0
- package/lib/chunk-APVQZ7L7.js.map +1 -0
- package/lib/chunk-ATT2PKKW.cjs +95 -0
- package/lib/chunk-ATT2PKKW.cjs.map +1 -0
- package/lib/chunk-AW6TSK6S.cjs +42 -0
- package/lib/chunk-AW6TSK6S.cjs.map +1 -0
- package/lib/chunk-AYKGUDP3.cjs +285 -0
- package/lib/chunk-AYKGUDP3.cjs.map +1 -0
- package/lib/chunk-AYPMKIN6.js +51 -0
- package/lib/chunk-AYPMKIN6.js.map +1 -0
- package/lib/chunk-B2MBAQSE.js +41 -0
- package/lib/chunk-B2MBAQSE.js.map +1 -0
- package/lib/chunk-BB3CT6HZ.js +45 -0
- package/lib/chunk-BB3CT6HZ.js.map +1 -0
- package/lib/chunk-BHLODYAT.js +28 -0
- package/lib/chunk-BHLODYAT.js.map +1 -0
- package/lib/chunk-BLI75VEN.cjs +51 -0
- package/lib/chunk-BLI75VEN.cjs.map +1 -0
- package/lib/chunk-BMO7YKG5.js +60 -0
- package/lib/chunk-BMO7YKG5.js.map +1 -0
- package/lib/chunk-BMOWFIX5.js +45 -0
- package/lib/chunk-BMOWFIX5.js.map +1 -0
- package/lib/chunk-BNCF46ZI.js +61 -0
- package/lib/chunk-BNCF46ZI.js.map +1 -0
- package/lib/chunk-BSXJPL6J.cjs +55 -0
- package/lib/chunk-BSXJPL6J.cjs.map +1 -0
- package/lib/chunk-BVQ2UTRP.cjs +39 -0
- package/lib/chunk-BVQ2UTRP.cjs.map +1 -0
- package/lib/chunk-BYDZPVOJ.js +75 -0
- package/lib/chunk-BYDZPVOJ.js.map +1 -0
- package/lib/chunk-C3I7H3HE.js +49 -0
- package/lib/chunk-C3I7H3HE.js.map +1 -0
- package/lib/chunk-C3UX7IBG.cjs +59 -0
- package/lib/chunk-C3UX7IBG.cjs.map +1 -0
- package/lib/chunk-C7OXTOX3.js +36 -0
- package/lib/chunk-C7OXTOX3.js.map +1 -0
- package/lib/chunk-CB5HXUPC.js +31 -0
- package/lib/chunk-CB5HXUPC.js.map +1 -0
- package/lib/chunk-CBFT5GYL.js +103 -0
- package/lib/chunk-CBFT5GYL.js.map +1 -0
- package/lib/chunk-D3LM2KQW.cjs +47 -0
- package/lib/chunk-D3LM2KQW.cjs.map +1 -0
- package/lib/chunk-D3ZUNI32.js +67 -0
- package/lib/chunk-D3ZUNI32.js.map +1 -0
- package/lib/chunk-D6CUKQZS.cjs +55 -0
- package/lib/chunk-D6CUKQZS.cjs.map +1 -0
- package/lib/chunk-DCEUM6EI.cjs +30 -0
- package/lib/chunk-DCEUM6EI.cjs.map +1 -0
- package/lib/chunk-DDV3U4FY.js +48 -0
- package/lib/chunk-DDV3U4FY.js.map +1 -0
- package/lib/chunk-DEQMKHOP.js +40 -0
- package/lib/chunk-DEQMKHOP.js.map +1 -0
- package/lib/chunk-DVDWNVCT.cjs +49 -0
- package/lib/chunk-DVDWNVCT.cjs.map +1 -0
- package/lib/chunk-DZP3JVEB.js +45 -0
- package/lib/chunk-DZP3JVEB.js.map +1 -0
- package/lib/chunk-E6MUVI6C.cjs +51 -0
- package/lib/chunk-E6MUVI6C.cjs.map +1 -0
- package/lib/chunk-E7GTEUA7.js +49 -0
- package/lib/chunk-E7GTEUA7.js.map +1 -0
- package/lib/chunk-EHEMWPTO.js +102 -0
- package/lib/chunk-EHEMWPTO.js.map +1 -0
- package/lib/chunk-EINVA4BK.cjs +61 -0
- package/lib/chunk-EINVA4BK.cjs.map +1 -0
- package/lib/chunk-EK7QE2CA.cjs +47 -0
- package/lib/chunk-EK7QE2CA.cjs.map +1 -0
- package/lib/chunk-EMD66UZY.cjs +156 -0
- package/lib/chunk-EMD66UZY.cjs.map +1 -0
- package/lib/chunk-ESJGAJ3L.js +48 -0
- package/lib/chunk-ESJGAJ3L.js.map +1 -0
- package/lib/chunk-EVFHODWY.js +45 -0
- package/lib/chunk-EVFHODWY.js.map +1 -0
- package/lib/chunk-F5GFKBDK.cjs +95 -0
- package/lib/chunk-F5GFKBDK.cjs.map +1 -0
- package/lib/chunk-F6REPWKJ.cjs +77 -0
- package/lib/chunk-F6REPWKJ.cjs.map +1 -0
- package/lib/chunk-F7F4VRB2.js +45 -0
- package/lib/chunk-F7F4VRB2.js.map +1 -0
- package/lib/chunk-FDLALORX.cjs +47 -0
- package/lib/chunk-FDLALORX.cjs.map +1 -0
- package/lib/chunk-FDTEUCMP.cjs +26 -0
- package/lib/chunk-FDTEUCMP.cjs.map +1 -0
- package/lib/chunk-FIRCMJCB.js +93 -0
- package/lib/chunk-FIRCMJCB.js.map +1 -0
- package/lib/chunk-FK3XYZ3Q.js +45 -0
- package/lib/chunk-FK3XYZ3Q.js.map +1 -0
- package/lib/chunk-FLOVFVKA.cjs +51 -0
- package/lib/chunk-FLOVFVKA.cjs.map +1 -0
- package/lib/chunk-FMQ5JHN6.cjs +51 -0
- package/lib/chunk-FMQ5JHN6.cjs.map +1 -0
- package/lib/chunk-FNIFFIDD.cjs +39 -0
- package/lib/chunk-FNIFFIDD.cjs.map +1 -0
- package/lib/chunk-FON2463F.js +99 -0
- package/lib/chunk-FON2463F.js.map +1 -0
- package/lib/chunk-G4GV5S6R.js +283 -0
- package/lib/chunk-G4GV5S6R.js.map +1 -0
- package/lib/chunk-G6BY3EA3.cjs +51 -0
- package/lib/chunk-G6BY3EA3.cjs.map +1 -0
- package/lib/chunk-GB23LWF6.js +36 -0
- package/lib/chunk-GB23LWF6.js.map +1 -0
- package/lib/chunk-GBM34MD2.cjs +107 -0
- package/lib/chunk-GBM34MD2.cjs.map +1 -0
- package/lib/chunk-GDD5SAYK.js +36 -0
- package/lib/chunk-GDD5SAYK.js.map +1 -0
- package/lib/chunk-GDPBS2DA.js +154 -0
- package/lib/chunk-GDPBS2DA.js.map +1 -0
- package/lib/chunk-GHJDV7RE.js +59 -0
- package/lib/chunk-GHJDV7RE.js.map +1 -0
- package/lib/chunk-GVVAHJ7J.cjs +55 -0
- package/lib/chunk-GVVAHJ7J.cjs.map +1 -0
- package/lib/chunk-GYCMQIMO.cjs +550 -0
- package/lib/chunk-GYCMQIMO.cjs.map +1 -0
- package/lib/chunk-H35WD77K.js +49 -0
- package/lib/chunk-H35WD77K.js.map +1 -0
- package/lib/chunk-H4OZFLUI.js +37 -0
- package/lib/chunk-H4OZFLUI.js.map +1 -0
- package/lib/chunk-HAF3NSFM.js +93 -0
- package/lib/chunk-HAF3NSFM.js.map +1 -0
- package/lib/chunk-HBEFGWUI.cjs +49 -0
- package/lib/chunk-HBEFGWUI.cjs.map +1 -0
- package/lib/chunk-HCK6NM5P.cjs +47 -0
- package/lib/chunk-HCK6NM5P.cjs.map +1 -0
- package/lib/chunk-HE4KWG6X.js +55 -0
- package/lib/chunk-HE4KWG6X.js.map +1 -0
- package/lib/chunk-HG36VCO5.js +28 -0
- package/lib/chunk-HG36VCO5.js.map +1 -0
- package/lib/chunk-HHOMPSSL.js +91 -0
- package/lib/chunk-HHOMPSSL.js.map +1 -0
- package/lib/chunk-HK6PGHU6.js +57 -0
- package/lib/chunk-HK6PGHU6.js.map +1 -0
- package/lib/chunk-HLI7KDN3.js +45 -0
- package/lib/chunk-HLI7KDN3.js.map +1 -0
- package/lib/chunk-HOQPWW7K.js +40 -0
- package/lib/chunk-HOQPWW7K.js.map +1 -0
- package/lib/chunk-HP6ZFYAJ.js +37 -0
- package/lib/chunk-HP6ZFYAJ.js.map +1 -0
- package/lib/chunk-HQZKODMU.js +57 -0
- package/lib/chunk-HQZKODMU.js.map +1 -0
- package/lib/chunk-HYO7YG3G.js +45 -0
- package/lib/chunk-HYO7YG3G.js.map +1 -0
- package/lib/chunk-HZ555CAY.js +48 -0
- package/lib/chunk-HZ555CAY.js.map +1 -0
- package/lib/chunk-IANMFIQD.js +45 -0
- package/lib/chunk-IANMFIQD.js.map +1 -0
- package/lib/chunk-IBXRFMT6.js +69 -0
- package/lib/chunk-IBXRFMT6.js.map +1 -0
- package/lib/chunk-IIWTNBRQ.cjs +50 -0
- package/lib/chunk-IIWTNBRQ.cjs.map +1 -0
- package/lib/chunk-IWC4U5GF.js +49 -0
- package/lib/chunk-IWC4U5GF.js.map +1 -0
- package/lib/chunk-IXLAN7TH.cjs +61 -0
- package/lib/chunk-IXLAN7TH.cjs.map +1 -0
- package/lib/chunk-JDAGKW5W.js +44 -0
- package/lib/chunk-JDAGKW5W.js.map +1 -0
- package/lib/chunk-JEWF32HM.js +41 -0
- package/lib/chunk-JEWF32HM.js.map +1 -0
- package/lib/chunk-JKO7QP65.cjs +93 -0
- package/lib/chunk-JKO7QP65.cjs.map +1 -0
- package/lib/chunk-JLC6MA4J.js +65 -0
- package/lib/chunk-JLC6MA4J.js.map +1 -0
- package/lib/chunk-JNXHE7P7.cjs +42 -0
- package/lib/chunk-JNXHE7P7.cjs.map +1 -0
- package/lib/chunk-JRMNMJVD.js +61 -0
- package/lib/chunk-JRMNMJVD.js.map +1 -0
- package/lib/chunk-JRUC5BXS.cjs +42 -0
- package/lib/chunk-JRUC5BXS.cjs.map +1 -0
- package/lib/chunk-JWPPED4R.js +47 -0
- package/lib/chunk-JWPPED4R.js.map +1 -0
- package/lib/chunk-K577VLOE.js +45 -0
- package/lib/chunk-K577VLOE.js.map +1 -0
- package/lib/chunk-K5YQI6TW.cjs +47 -0
- package/lib/chunk-K5YQI6TW.cjs.map +1 -0
- package/lib/chunk-KAMFWXPM.cjs +51 -0
- package/lib/chunk-KAMFWXPM.cjs.map +1 -0
- package/lib/chunk-KKB2YNT3.cjs +100 -0
- package/lib/chunk-KKB2YNT3.cjs.map +1 -0
- package/lib/chunk-KLPFAEV7.js +55 -0
- package/lib/chunk-KLPFAEV7.js.map +1 -0
- package/lib/chunk-KR3CTO6J.js +53 -0
- package/lib/chunk-KR3CTO6J.js.map +1 -0
- package/lib/chunk-KU43R6UR.js +49 -0
- package/lib/chunk-KU43R6UR.js.map +1 -0
- package/lib/chunk-L25AS3VU.cjs +61 -0
- package/lib/chunk-L25AS3VU.cjs.map +1 -0
- package/lib/chunk-L3ZQAILV.js +45 -0
- package/lib/chunk-L3ZQAILV.js.map +1 -0
- package/lib/chunk-LFPSATJW.js +40 -0
- package/lib/chunk-LFPSATJW.js.map +1 -0
- package/lib/chunk-LGYQGCME.cjs +61 -0
- package/lib/chunk-LGYQGCME.cjs.map +1 -0
- package/lib/chunk-LIWSHAZ4.cjs +43 -0
- package/lib/chunk-LIWSHAZ4.cjs.map +1 -0
- package/lib/chunk-LPHKPEHK.cjs +69 -0
- package/lib/chunk-LPHKPEHK.cjs.map +1 -0
- package/lib/chunk-LSWGTCTI.js +59 -0
- package/lib/chunk-LSWGTCTI.js.map +1 -0
- package/lib/chunk-LXVXNCLG.cjs +71 -0
- package/lib/chunk-LXVXNCLG.cjs.map +1 -0
- package/lib/chunk-M377L2KC.cjs +59 -0
- package/lib/chunk-M377L2KC.cjs.map +1 -0
- package/lib/chunk-MEN4RRXP.js +41 -0
- package/lib/chunk-MEN4RRXP.js.map +1 -0
- package/lib/chunk-MEZO63WH.js +49 -0
- package/lib/chunk-MEZO63WH.js.map +1 -0
- package/lib/chunk-ML4B3K2M.cjs +126 -0
- package/lib/chunk-ML4B3K2M.cjs.map +1 -0
- package/lib/chunk-NFJG6NQJ.cjs +57 -0
- package/lib/chunk-NFJG6NQJ.cjs.map +1 -0
- package/lib/chunk-NKXOTCMF.js +42 -0
- package/lib/chunk-NKXOTCMF.js.map +1 -0
- package/lib/chunk-NQW3T4PY.js +40 -0
- package/lib/chunk-NQW3T4PY.js.map +1 -0
- package/lib/chunk-NSLBPISG.cjs +51 -0
- package/lib/chunk-NSLBPISG.cjs.map +1 -0
- package/lib/chunk-NTPA4Q5S.js +40 -0
- package/lib/chunk-NTPA4Q5S.js.map +1 -0
- package/lib/chunk-NW4PT4NA.cjs +75 -0
- package/lib/chunk-NW4PT4NA.cjs.map +1 -0
- package/lib/chunk-NWDZHCQQ.cjs +50 -0
- package/lib/chunk-NWDZHCQQ.cjs.map +1 -0
- package/lib/chunk-O3GDTCML.cjs +101 -0
- package/lib/chunk-O3GDTCML.cjs.map +1 -0
- package/lib/chunk-O5452XSG.js +41 -0
- package/lib/chunk-O5452XSG.js.map +1 -0
- package/lib/chunk-OE4JCN6L.cjs +47 -0
- package/lib/chunk-OE4JCN6L.cjs.map +1 -0
- package/lib/chunk-OESVAYOY.cjs +44 -0
- package/lib/chunk-OESVAYOY.cjs.map +1 -0
- package/lib/chunk-OFXYCDYF.js +44 -0
- package/lib/chunk-OFXYCDYF.js.map +1 -0
- package/lib/chunk-ONK4A4VG.js +49 -0
- package/lib/chunk-ONK4A4VG.js.map +1 -0
- package/lib/chunk-OOJKRV4I.js +93 -0
- package/lib/chunk-OOJKRV4I.js.map +1 -0
- package/lib/chunk-OXGE4UIS.cjs +51 -0
- package/lib/chunk-OXGE4UIS.cjs.map +1 -0
- package/lib/chunk-P2SHNYXZ.cjs +47 -0
- package/lib/chunk-P2SHNYXZ.cjs.map +1 -0
- package/lib/chunk-P3SFKEXE.js +37 -0
- package/lib/chunk-P3SFKEXE.js.map +1 -0
- package/lib/chunk-P7TCVHNF.cjs +56 -0
- package/lib/chunk-P7TCVHNF.cjs.map +1 -0
- package/lib/chunk-PE4GN5GN.cjs +39 -0
- package/lib/chunk-PE4GN5GN.cjs.map +1 -0
- package/lib/chunk-PERRXGB6.js +52 -0
- package/lib/chunk-PERRXGB6.js.map +1 -0
- package/lib/chunk-PHTOGAMR.js +93 -0
- package/lib/chunk-PHTOGAMR.js.map +1 -0
- package/lib/chunk-PKRD2QKS.js +51 -0
- package/lib/chunk-PKRD2QKS.js.map +1 -0
- package/lib/chunk-PLWDHUYW.cjs +95 -0
- package/lib/chunk-PLWDHUYW.cjs.map +1 -0
- package/lib/chunk-PX5VMNOJ.cjs +39 -0
- package/lib/chunk-PX5VMNOJ.cjs.map +1 -0
- package/lib/chunk-PYJG4KKQ.js +49 -0
- package/lib/chunk-PYJG4KKQ.js.map +1 -0
- package/lib/chunk-Q3NXEKVS.cjs +51 -0
- package/lib/chunk-Q3NXEKVS.cjs.map +1 -0
- package/lib/chunk-Q3QW53MA.js +53 -0
- package/lib/chunk-Q3QW53MA.js.map +1 -0
- package/lib/chunk-QIL2RRUJ.cjs +54 -0
- package/lib/chunk-QIL2RRUJ.cjs.map +1 -0
- package/lib/chunk-QQU5KYKX.cjs +33 -0
- package/lib/chunk-QQU5KYKX.cjs.map +1 -0
- package/lib/chunk-QQZRPK6S.js +536 -0
- package/lib/chunk-QQZRPK6S.js.map +1 -0
- package/lib/chunk-QTXR3MOC.cjs +51 -0
- package/lib/chunk-QTXR3MOC.cjs.map +1 -0
- package/lib/chunk-QURTUQAU.cjs +43 -0
- package/lib/chunk-QURTUQAU.cjs.map +1 -0
- package/lib/chunk-QVFORRXP.cjs +51 -0
- package/lib/chunk-QVFORRXP.cjs.map +1 -0
- package/lib/chunk-QWW2P4EV.js +68 -0
- package/lib/chunk-QWW2P4EV.js.map +1 -0
- package/lib/chunk-R5RAVJU6.cjs +53 -0
- package/lib/chunk-R5RAVJU6.cjs.map +1 -0
- package/lib/chunk-R7ZZCZYK.cjs +55 -0
- package/lib/chunk-R7ZZCZYK.cjs.map +1 -0
- package/lib/chunk-REV57I2G.cjs +56 -0
- package/lib/chunk-REV57I2G.cjs.map +1 -0
- package/lib/chunk-RG2NWGVK.cjs +101 -0
- package/lib/chunk-RG2NWGVK.cjs.map +1 -0
- package/lib/chunk-RKP2R57M.js +48 -0
- package/lib/chunk-RKP2R57M.js.map +1 -0
- package/lib/chunk-RLR77QCI.cjs +70 -0
- package/lib/chunk-RLR77QCI.cjs.map +1 -0
- package/lib/chunk-RMNQWTPJ.cjs +54 -0
- package/lib/chunk-RMNQWTPJ.cjs.map +1 -0
- package/lib/chunk-ROXM5D5R.cjs +50 -0
- package/lib/chunk-ROXM5D5R.cjs.map +1 -0
- package/lib/chunk-RQ2EM4Q3.cjs +56 -0
- package/lib/chunk-RQ2EM4Q3.cjs.map +1 -0
- package/lib/chunk-RSLLFTPW.js +49 -0
- package/lib/chunk-RSLLFTPW.js.map +1 -0
- package/lib/chunk-S2BT3STJ.js +32 -0
- package/lib/chunk-S2BT3STJ.js.map +1 -0
- package/lib/chunk-S5DFPL4R.cjs +91 -0
- package/lib/chunk-S5DFPL4R.cjs.map +1 -0
- package/lib/chunk-S7RDGMD4.cjs +55 -0
- package/lib/chunk-S7RDGMD4.cjs.map +1 -0
- package/lib/chunk-SEHGRWGG.js +66 -0
- package/lib/chunk-SEHGRWGG.js.map +1 -0
- package/lib/chunk-SFMVCOGC.cjs +47 -0
- package/lib/chunk-SFMVCOGC.cjs.map +1 -0
- package/lib/chunk-SP4HOXSO.js +45 -0
- package/lib/chunk-SP4HOXSO.js.map +1 -0
- package/lib/chunk-TDLRTDXU.cjs +89 -0
- package/lib/chunk-TDLRTDXU.cjs.map +1 -0
- package/lib/chunk-TFCFXW7O.cjs +101 -0
- package/lib/chunk-TFCFXW7O.cjs.map +1 -0
- package/lib/chunk-TGFLFIXT.cjs +47 -0
- package/lib/chunk-TGFLFIXT.cjs.map +1 -0
- package/lib/chunk-TKDL7G4N.cjs +53 -0
- package/lib/chunk-TKDL7G4N.cjs.map +1 -0
- package/lib/chunk-TKZJTEON.cjs +57 -0
- package/lib/chunk-TKZJTEON.cjs.map +1 -0
- package/lib/chunk-TLYGE3RY.cjs +38 -0
- package/lib/chunk-TLYGE3RY.cjs.map +1 -0
- package/lib/chunk-TORNEVKC.js +32 -0
- package/lib/chunk-TORNEVKC.js.map +1 -0
- package/lib/chunk-TTE2YUFU.js +54 -0
- package/lib/chunk-TTE2YUFU.js.map +1 -0
- package/lib/chunk-TUANHZ5V.cjs +56 -0
- package/lib/chunk-TUANHZ5V.cjs.map +1 -0
- package/lib/chunk-TXH5CJLS.cjs +49 -0
- package/lib/chunk-TXH5CJLS.cjs.map +1 -0
- package/lib/chunk-TZ3RWTTE.cjs +51 -0
- package/lib/chunk-TZ3RWTTE.cjs.map +1 -0
- package/lib/chunk-UAYQ3LTT.cjs +43 -0
- package/lib/chunk-UAYQ3LTT.cjs.map +1 -0
- package/lib/chunk-UP7FMESP.js +55 -0
- package/lib/chunk-UP7FMESP.js.map +1 -0
- package/lib/chunk-URD6KUKM.js +49 -0
- package/lib/chunk-URD6KUKM.js.map +1 -0
- package/lib/chunk-USIBTSYD.js +276 -0
- package/lib/chunk-USIBTSYD.js.map +1 -0
- package/lib/chunk-V5S4O57M.js +45 -0
- package/lib/chunk-V5S4O57M.js.map +1 -0
- package/lib/chunk-VAZIDWSC.js +87 -0
- package/lib/chunk-VAZIDWSC.js.map +1 -0
- package/lib/chunk-VEPFANF7.js +53 -0
- package/lib/chunk-VEPFANF7.js.map +1 -0
- package/lib/chunk-VII4ZVM7.cjs +42 -0
- package/lib/chunk-VII4ZVM7.cjs.map +1 -0
- package/lib/chunk-VMKHXGVC.js +73 -0
- package/lib/chunk-VMKHXGVC.js.map +1 -0
- package/lib/chunk-VODDUQ3X.js +49 -0
- package/lib/chunk-VODDUQ3X.js.map +1 -0
- package/lib/chunk-VVY3GX6X.cjs +56 -0
- package/lib/chunk-VVY3GX6X.cjs.map +1 -0
- package/lib/chunk-WCZEGCEC.js +37 -0
- package/lib/chunk-WCZEGCEC.js.map +1 -0
- package/lib/chunk-WHLOYOJC.cjs +107 -0
- package/lib/chunk-WHLOYOJC.cjs.map +1 -0
- package/lib/chunk-WOZH2ZEF.js +51 -0
- package/lib/chunk-WOZH2ZEF.js.map +1 -0
- package/lib/chunk-WQICC32S.js +59 -0
- package/lib/chunk-WQICC32S.js.map +1 -0
- package/lib/chunk-WQLPOO4N.js +45 -0
- package/lib/chunk-WQLPOO4N.js.map +1 -0
- package/lib/chunk-WQOB2KER.js +37 -0
- package/lib/chunk-WQOB2KER.js.map +1 -0
- package/lib/chunk-WQSPNJNP.cjs +63 -0
- package/lib/chunk-WQSPNJNP.cjs.map +1 -0
- package/lib/chunk-WUI2XWKI.cjs +47 -0
- package/lib/chunk-WUI2XWKI.cjs.map +1 -0
- package/lib/chunk-WW7C4RZJ.js +59 -0
- package/lib/chunk-WW7C4RZJ.js.map +1 -0
- package/lib/chunk-WYUB5WZL.js +98 -0
- package/lib/chunk-WYUB5WZL.js.map +1 -0
- package/lib/chunk-WZV2V6IT.cjs +39 -0
- package/lib/chunk-WZV2V6IT.cjs.map +1 -0
- package/lib/chunk-X5V7ZUU7.js +49 -0
- package/lib/chunk-X5V7ZUU7.js.map +1 -0
- package/lib/chunk-X6RCAGFS.cjs +67 -0
- package/lib/chunk-X6RCAGFS.cjs.map +1 -0
- package/lib/chunk-XBXDURPZ.js +93 -0
- package/lib/chunk-XBXDURPZ.js.map +1 -0
- package/lib/chunk-XEAHROOE.cjs +95 -0
- package/lib/chunk-XEAHROOE.cjs.map +1 -0
- package/lib/chunk-XEPHQGPG.cjs +57 -0
- package/lib/chunk-XEPHQGPG.cjs.map +1 -0
- package/lib/chunk-XI6YNNGF.js +52 -0
- package/lib/chunk-XI6YNNGF.js.map +1 -0
- package/lib/chunk-XJ5QSB4X.js +45 -0
- package/lib/chunk-XJ5QSB4X.js.map +1 -0
- package/lib/chunk-XJHXJ2X2.js +47 -0
- package/lib/chunk-XJHXJ2X2.js.map +1 -0
- package/lib/chunk-XJP7O6DK.cjs +53 -0
- package/lib/chunk-XJP7O6DK.cjs.map +1 -0
- package/lib/chunk-XJUQEJMI.js +40 -0
- package/lib/chunk-XJUQEJMI.js.map +1 -0
- package/lib/chunk-XMRYT2R6.cjs +29 -0
- package/lib/chunk-XMRYT2R6.cjs.map +1 -0
- package/lib/chunk-XMWIRROB.cjs +43 -0
- package/lib/chunk-XMWIRROB.cjs.map +1 -0
- package/lib/chunk-XP4BWHD3.cjs +47 -0
- package/lib/chunk-XP4BWHD3.cjs.map +1 -0
- package/lib/chunk-XVLKPTNO.cjs +68 -0
- package/lib/chunk-XVLKPTNO.cjs.map +1 -0
- package/lib/chunk-XZB5NHLE.cjs +42 -0
- package/lib/chunk-XZB5NHLE.cjs.map +1 -0
- package/lib/chunk-Y56DKJ4Z.cjs +284 -0
- package/lib/chunk-Y56DKJ4Z.cjs.map +1 -0
- package/lib/chunk-Y5HM4EFJ.js +54 -0
- package/lib/chunk-Y5HM4EFJ.js.map +1 -0
- package/lib/chunk-Y7NYGZPZ.cjs +95 -0
- package/lib/chunk-Y7NYGZPZ.cjs.map +1 -0
- package/lib/chunk-Y7W5KVDM.cjs +105 -0
- package/lib/chunk-Y7W5KVDM.cjs.map +1 -0
- package/lib/chunk-YADXOWEP.cjs +51 -0
- package/lib/chunk-YADXOWEP.cjs.map +1 -0
- package/lib/chunk-YAVBHKRL.js +49 -0
- package/lib/chunk-YAVBHKRL.js.map +1 -0
- package/lib/chunk-YBHKXAWG.js +66 -0
- package/lib/chunk-YBHKXAWG.js.map +1 -0
- package/lib/chunk-YEFSXXFU.cjs +52 -0
- package/lib/chunk-YEFSXXFU.cjs.map +1 -0
- package/lib/chunk-YJ5ZKAK5.cjs +42 -0
- package/lib/chunk-YJ5ZKAK5.cjs.map +1 -0
- package/lib/chunk-YJTJJDRF.cjs +46 -0
- package/lib/chunk-YJTJJDRF.cjs.map +1 -0
- package/lib/chunk-YNVTCQEO.js +54 -0
- package/lib/chunk-YNVTCQEO.js.map +1 -0
- package/lib/chunk-YQNDMEVM.cjs +50 -0
- package/lib/chunk-YQNDMEVM.cjs.map +1 -0
- package/lib/chunk-YW5OSIBL.cjs +30 -0
- package/lib/chunk-YW5OSIBL.cjs.map +1 -0
- package/lib/chunk-YYJATDDO.js +47 -0
- package/lib/chunk-YYJATDDO.js.map +1 -0
- package/lib/chunk-Z22N4HZK.cjs +47 -0
- package/lib/chunk-Z22N4HZK.cjs.map +1 -0
- package/lib/chunk-ZADQ5IPG.js +59 -0
- package/lib/chunk-ZADQ5IPG.js.map +1 -0
- package/lib/chunk-ZAFMNQT3.cjs +75 -0
- package/lib/chunk-ZAFMNQT3.cjs.map +1 -0
- package/lib/chunk-ZCPDCC6N.js +40 -0
- package/lib/chunk-ZCPDCC6N.js.map +1 -0
- package/lib/chunk-ZFKOVGKA.js +73 -0
- package/lib/chunk-ZFKOVGKA.js.map +1 -0
- package/lib/chunk-ZGM7TVRO.cjs +51 -0
- package/lib/chunk-ZGM7TVRO.cjs.map +1 -0
- package/lib/chunk-ZJGCKI5T.cjs +47 -0
- package/lib/chunk-ZJGCKI5T.cjs.map +1 -0
- package/lib/chunk-ZK6DZMC3.cjs +47 -0
- package/lib/chunk-ZK6DZMC3.cjs.map +1 -0
- package/lib/chunk-ZZ6FBYJX.cjs +39 -0
- package/lib/chunk-ZZ6FBYJX.cjs.map +1 -0
- package/lib/client.d.cts +1 -1
- package/lib/client.d.ts +1 -1
- package/lib/commercelayer.cjs +10 -10
- package/lib/commercelayer.d.cts +5 -5
- package/lib/commercelayer.d.ts +5 -5
- package/lib/commercelayer.js +3 -3
- package/lib/config.d.cts +1 -1
- package/lib/config.d.ts +1 -1
- package/lib/enum.cjs +14 -14
- package/lib/enum.d.cts +2 -2
- package/lib/enum.d.ts +2 -2
- package/lib/enum.js +1 -1
- package/lib/fetch-B8-kP4X0.d.cts +55 -0
- package/lib/fetch-B8-kP4X0.d.ts +55 -0
- package/lib/fetch.d.cts +1 -1
- package/lib/fetch.d.ts +1 -1
- package/lib/index.cjs +269 -269
- package/lib/index.d.cts +2 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +135 -135
- package/lib/interceptor.d.cts +1 -1
- package/lib/interceptor.d.ts +1 -1
- package/lib/jsonapi.cjs +4 -4
- package/lib/jsonapi.d.cts +2 -2
- package/lib/jsonapi.d.ts +2 -2
- package/lib/jsonapi.js +2 -2
- package/lib/model.d.cts +2 -2
- package/lib/model.d.ts +2 -2
- package/lib/query.d.cts +2 -2
- package/lib/query.d.ts +2 -2
- package/lib/resource.cjs +7 -7
- package/lib/resource.d.cts +2 -2
- package/lib/resource.d.ts +2 -2
- package/lib/resource.js +2 -2
- package/lib/resources/addresses.cjs +4 -4
- package/lib/resources/addresses.d.cts +3 -3
- package/lib/resources/addresses.d.ts +2 -2
- package/lib/resources/addresses.js +3 -3
- package/lib/resources/adjustments.cjs +4 -4
- package/lib/resources/adjustments.d.cts +3 -3
- package/lib/resources/adjustments.d.ts +2 -2
- package/lib/resources/adjustments.js +3 -3
- package/lib/resources/adyen_gateways.cjs +4 -4
- package/lib/resources/adyen_gateways.d.cts +3 -3
- package/lib/resources/adyen_gateways.d.ts +2 -2
- package/lib/resources/adyen_gateways.js +3 -3
- package/lib/resources/adyen_payments.cjs +4 -4
- package/lib/resources/adyen_payments.d.cts +3 -3
- package/lib/resources/adyen_payments.d.ts +2 -2
- package/lib/resources/adyen_payments.js +3 -3
- package/lib/resources/applications.cjs +4 -4
- package/lib/resources/applications.d.cts +3 -3
- package/lib/resources/applications.d.ts +2 -2
- package/lib/resources/applications.js +3 -3
- package/lib/resources/attachments.cjs +4 -4
- package/lib/resources/attachments.d.cts +3 -3
- package/lib/resources/attachments.d.ts +2 -2
- package/lib/resources/attachments.js +3 -3
- package/lib/resources/authorizations.cjs +4 -4
- package/lib/resources/authorizations.d.cts +3 -3
- package/lib/resources/authorizations.d.ts +2 -2
- package/lib/resources/authorizations.js +3 -3
- package/lib/resources/avalara_accounts.cjs +4 -4
- package/lib/resources/avalara_accounts.d.cts +3 -3
- package/lib/resources/avalara_accounts.d.ts +2 -2
- package/lib/resources/avalara_accounts.js +3 -3
- package/lib/resources/axerve_gateways.cjs +4 -4
- package/lib/resources/axerve_gateways.d.cts +3 -3
- package/lib/resources/axerve_gateways.d.ts +2 -2
- package/lib/resources/axerve_gateways.js +3 -3
- package/lib/resources/axerve_payments.cjs +4 -4
- package/lib/resources/axerve_payments.d.cts +3 -3
- package/lib/resources/axerve_payments.d.ts +2 -2
- package/lib/resources/axerve_payments.js +3 -3
- package/lib/resources/bing_geocoders.cjs +4 -4
- package/lib/resources/bing_geocoders.d.cts +3 -3
- package/lib/resources/bing_geocoders.d.ts +2 -2
- package/lib/resources/bing_geocoders.js +3 -3
- package/lib/resources/braintree_gateways.cjs +4 -4
- package/lib/resources/braintree_gateways.d.cts +3 -3
- package/lib/resources/braintree_gateways.d.ts +2 -2
- package/lib/resources/braintree_gateways.js +3 -3
- package/lib/resources/braintree_payments.cjs +4 -4
- package/lib/resources/braintree_payments.d.cts +3 -3
- package/lib/resources/braintree_payments.d.ts +2 -2
- package/lib/resources/braintree_payments.js +3 -3
- package/lib/resources/bundles.cjs +4 -4
- package/lib/resources/bundles.d.cts +3 -3
- package/lib/resources/bundles.d.ts +2 -2
- package/lib/resources/bundles.js +3 -3
- package/lib/resources/buy_x_pay_y_promotions.cjs +4 -4
- package/lib/resources/buy_x_pay_y_promotions.d.cts +3 -3
- package/lib/resources/buy_x_pay_y_promotions.d.ts +2 -2
- package/lib/resources/buy_x_pay_y_promotions.js +3 -3
- package/lib/resources/captures.cjs +4 -4
- package/lib/resources/captures.d.cts +3 -3
- package/lib/resources/captures.d.ts +2 -2
- package/lib/resources/captures.js +3 -3
- package/lib/resources/carrier_accounts.cjs +4 -4
- package/lib/resources/carrier_accounts.d.cts +3 -3
- package/lib/resources/carrier_accounts.d.ts +2 -2
- package/lib/resources/carrier_accounts.js +3 -3
- package/lib/resources/checkout_com_gateways.cjs +4 -4
- package/lib/resources/checkout_com_gateways.d.cts +3 -3
- package/lib/resources/checkout_com_gateways.d.ts +2 -2
- package/lib/resources/checkout_com_gateways.js +3 -3
- package/lib/resources/checkout_com_payments.cjs +4 -4
- package/lib/resources/checkout_com_payments.d.cts +3 -3
- package/lib/resources/checkout_com_payments.d.ts +2 -2
- package/lib/resources/checkout_com_payments.js +3 -3
- package/lib/resources/cleanups.cjs +4 -4
- package/lib/resources/cleanups.d.cts +3 -3
- package/lib/resources/cleanups.d.ts +2 -2
- package/lib/resources/cleanups.js +3 -3
- package/lib/resources/coupon_codes_promotion_rules.cjs +4 -4
- package/lib/resources/coupon_codes_promotion_rules.d.cts +3 -3
- package/lib/resources/coupon_codes_promotion_rules.d.ts +2 -2
- package/lib/resources/coupon_codes_promotion_rules.js +3 -3
- package/lib/resources/coupon_recipients.cjs +4 -4
- package/lib/resources/coupon_recipients.d.cts +3 -3
- package/lib/resources/coupon_recipients.d.ts +2 -2
- package/lib/resources/coupon_recipients.js +3 -3
- package/lib/resources/coupons.cjs +4 -4
- package/lib/resources/coupons.d.cts +3 -3
- package/lib/resources/coupons.d.ts +2 -2
- package/lib/resources/coupons.js +3 -3
- package/lib/resources/custom_promotion_rules.cjs +4 -4
- package/lib/resources/custom_promotion_rules.d.cts +3 -3
- package/lib/resources/custom_promotion_rules.d.ts +2 -2
- package/lib/resources/custom_promotion_rules.js +3 -3
- package/lib/resources/customer_addresses.cjs +4 -4
- package/lib/resources/customer_addresses.d.cts +3 -3
- package/lib/resources/customer_addresses.d.ts +2 -2
- package/lib/resources/customer_addresses.js +3 -3
- package/lib/resources/customer_groups.cjs +4 -4
- package/lib/resources/customer_groups.d.cts +3 -3
- package/lib/resources/customer_groups.d.ts +2 -2
- package/lib/resources/customer_groups.js +3 -3
- package/lib/resources/customer_password_resets.cjs +4 -4
- package/lib/resources/customer_password_resets.d.cts +3 -3
- package/lib/resources/customer_password_resets.d.ts +2 -2
- package/lib/resources/customer_password_resets.js +3 -3
- package/lib/resources/customer_payment_sources.cjs +4 -4
- package/lib/resources/customer_payment_sources.d.cts +3 -3
- package/lib/resources/customer_payment_sources.d.ts +2 -2
- package/lib/resources/customer_payment_sources.js +3 -3
- package/lib/resources/customer_subscriptions.cjs +4 -4
- package/lib/resources/customer_subscriptions.d.cts +3 -3
- package/lib/resources/customer_subscriptions.d.ts +2 -2
- package/lib/resources/customer_subscriptions.js +3 -3
- package/lib/resources/customers.cjs +4 -4
- package/lib/resources/customers.d.cts +3 -3
- package/lib/resources/customers.d.ts +2 -2
- package/lib/resources/customers.js +3 -3
- package/lib/resources/delivery_lead_times.cjs +4 -4
- package/lib/resources/delivery_lead_times.d.cts +3 -3
- package/lib/resources/delivery_lead_times.d.ts +2 -2
- package/lib/resources/delivery_lead_times.js +3 -3
- package/lib/resources/discount_engine_items.cjs +4 -4
- package/lib/resources/discount_engine_items.d.cts +3 -3
- package/lib/resources/discount_engine_items.d.ts +2 -2
- package/lib/resources/discount_engine_items.js +3 -3
- package/lib/resources/discount_engines.cjs +4 -4
- package/lib/resources/discount_engines.d.cts +3 -3
- package/lib/resources/discount_engines.d.ts +2 -2
- package/lib/resources/discount_engines.js +3 -3
- package/lib/resources/easypost_pickups.cjs +4 -4
- package/lib/resources/easypost_pickups.d.cts +3 -3
- package/lib/resources/easypost_pickups.d.ts +2 -2
- package/lib/resources/easypost_pickups.js +3 -3
- package/lib/resources/event_callbacks.cjs +4 -4
- package/lib/resources/event_callbacks.d.cts +3 -3
- package/lib/resources/event_callbacks.d.ts +2 -2
- package/lib/resources/event_callbacks.js +3 -3
- package/lib/resources/event_stores.cjs +4 -4
- package/lib/resources/event_stores.d.cts +3 -3
- package/lib/resources/event_stores.d.ts +2 -2
- package/lib/resources/event_stores.js +3 -3
- package/lib/resources/events.cjs +4 -4
- package/lib/resources/events.d.cts +3 -3
- package/lib/resources/events.d.ts +2 -2
- package/lib/resources/events.js +3 -3
- package/lib/resources/exports.cjs +4 -4
- package/lib/resources/exports.d.cts +3 -3
- package/lib/resources/exports.d.ts +2 -2
- package/lib/resources/exports.js +3 -3
- package/lib/resources/external_gateways.cjs +4 -4
- package/lib/resources/external_gateways.d.cts +3 -3
- package/lib/resources/external_gateways.d.ts +2 -2
- package/lib/resources/external_gateways.js +3 -3
- package/lib/resources/external_payments.cjs +4 -4
- package/lib/resources/external_payments.d.cts +3 -3
- package/lib/resources/external_payments.d.ts +2 -2
- package/lib/resources/external_payments.js +3 -3
- package/lib/resources/external_promotions.cjs +4 -4
- package/lib/resources/external_promotions.d.cts +3 -3
- package/lib/resources/external_promotions.d.ts +2 -2
- package/lib/resources/external_promotions.js +3 -3
- package/lib/resources/external_tax_calculators.cjs +4 -4
- package/lib/resources/external_tax_calculators.d.cts +3 -3
- package/lib/resources/external_tax_calculators.d.ts +2 -2
- package/lib/resources/external_tax_calculators.js +3 -3
- package/lib/resources/fixed_amount_promotions.cjs +4 -4
- package/lib/resources/fixed_amount_promotions.d.cts +3 -3
- package/lib/resources/fixed_amount_promotions.d.ts +2 -2
- package/lib/resources/fixed_amount_promotions.js +3 -3
- package/lib/resources/fixed_price_promotions.cjs +4 -4
- package/lib/resources/fixed_price_promotions.d.cts +3 -3
- package/lib/resources/fixed_price_promotions.d.ts +2 -2
- package/lib/resources/fixed_price_promotions.js +3 -3
- package/lib/resources/flex_promotions.cjs +4 -4
- package/lib/resources/flex_promotions.d.cts +3 -3
- package/lib/resources/flex_promotions.d.ts +2 -2
- package/lib/resources/flex_promotions.js +3 -3
- package/lib/resources/free_gift_promotions.cjs +4 -4
- package/lib/resources/free_gift_promotions.d.cts +3 -3
- package/lib/resources/free_gift_promotions.d.ts +2 -2
- package/lib/resources/free_gift_promotions.js +3 -3
- package/lib/resources/free_shipping_promotions.cjs +4 -4
- package/lib/resources/free_shipping_promotions.d.cts +3 -3
- package/lib/resources/free_shipping_promotions.d.ts +2 -2
- package/lib/resources/free_shipping_promotions.js +3 -3
- package/lib/resources/geocoders.cjs +4 -4
- package/lib/resources/geocoders.d.cts +3 -3
- package/lib/resources/geocoders.d.ts +2 -2
- package/lib/resources/geocoders.js +3 -3
- package/lib/resources/gift_card_recipients.cjs +4 -4
- package/lib/resources/gift_card_recipients.d.cts +3 -3
- package/lib/resources/gift_card_recipients.d.ts +2 -2
- package/lib/resources/gift_card_recipients.js +3 -3
- package/lib/resources/gift_cards.cjs +4 -4
- package/lib/resources/gift_cards.d.cts +3 -3
- package/lib/resources/gift_cards.d.ts +2 -2
- package/lib/resources/gift_cards.js +3 -3
- package/lib/resources/google_geocoders.cjs +4 -4
- package/lib/resources/google_geocoders.d.cts +3 -3
- package/lib/resources/google_geocoders.d.ts +2 -2
- package/lib/resources/google_geocoders.js +3 -3
- package/lib/resources/imports.cjs +4 -4
- package/lib/resources/imports.d.cts +3 -3
- package/lib/resources/imports.d.ts +2 -2
- package/lib/resources/imports.js +3 -3
- package/lib/resources/in_stock_subscriptions.cjs +4 -4
- package/lib/resources/in_stock_subscriptions.d.cts +3 -3
- package/lib/resources/in_stock_subscriptions.d.ts +2 -2
- package/lib/resources/in_stock_subscriptions.js +3 -3
- package/lib/resources/inventory_models.cjs +4 -4
- package/lib/resources/inventory_models.d.cts +3 -3
- package/lib/resources/inventory_models.d.ts +2 -2
- package/lib/resources/inventory_models.js +3 -3
- package/lib/resources/inventory_return_locations.cjs +4 -4
- package/lib/resources/inventory_return_locations.d.cts +3 -3
- package/lib/resources/inventory_return_locations.d.ts +2 -2
- package/lib/resources/inventory_return_locations.js +3 -3
- package/lib/resources/inventory_stock_locations.cjs +4 -4
- package/lib/resources/inventory_stock_locations.d.cts +3 -3
- package/lib/resources/inventory_stock_locations.d.ts +2 -2
- package/lib/resources/inventory_stock_locations.js +3 -3
- package/lib/resources/klarna_gateways.cjs +4 -4
- package/lib/resources/klarna_gateways.d.cts +3 -3
- package/lib/resources/klarna_gateways.d.ts +2 -2
- package/lib/resources/klarna_gateways.js +3 -3
- package/lib/resources/klarna_payments.cjs +4 -4
- package/lib/resources/klarna_payments.d.cts +3 -3
- package/lib/resources/klarna_payments.d.ts +2 -2
- package/lib/resources/klarna_payments.js +3 -3
- package/lib/resources/line_item_options.cjs +4 -4
- package/lib/resources/line_item_options.d.cts +3 -3
- package/lib/resources/line_item_options.d.ts +2 -2
- package/lib/resources/line_item_options.js +3 -3
- package/lib/resources/line_items.cjs +4 -4
- package/lib/resources/line_items.d.cts +3 -3
- package/lib/resources/line_items.d.ts +2 -2
- package/lib/resources/line_items.js +3 -3
- package/lib/resources/links.cjs +4 -4
- package/lib/resources/links.d.cts +3 -3
- package/lib/resources/links.d.ts +2 -2
- package/lib/resources/links.js +3 -3
- package/lib/resources/manual_gateways.cjs +4 -4
- package/lib/resources/manual_gateways.d.cts +3 -3
- package/lib/resources/manual_gateways.d.ts +2 -2
- package/lib/resources/manual_gateways.js +3 -3
- package/lib/resources/manual_tax_calculators.cjs +4 -4
- package/lib/resources/manual_tax_calculators.d.cts +3 -3
- package/lib/resources/manual_tax_calculators.d.ts +2 -2
- package/lib/resources/manual_tax_calculators.js +3 -3
- package/lib/resources/markets.cjs +4 -4
- package/lib/resources/markets.d.cts +3 -3
- package/lib/resources/markets.d.ts +2 -2
- package/lib/resources/markets.js +3 -3
- package/lib/resources/merchants.cjs +4 -4
- package/lib/resources/merchants.d.cts +3 -3
- package/lib/resources/merchants.d.ts +2 -2
- package/lib/resources/merchants.js +3 -3
- package/lib/resources/notifications.cjs +4 -4
- package/lib/resources/notifications.d.cts +3 -3
- package/lib/resources/notifications.d.ts +2 -2
- package/lib/resources/notifications.js +3 -3
- package/lib/resources/order_amount_promotion_rules.cjs +4 -4
- package/lib/resources/order_amount_promotion_rules.d.cts +3 -3
- package/lib/resources/order_amount_promotion_rules.d.ts +2 -2
- package/lib/resources/order_amount_promotion_rules.js +3 -3
- package/lib/resources/order_copies.cjs +4 -4
- package/lib/resources/order_copies.d.cts +3 -3
- package/lib/resources/order_copies.d.ts +2 -2
- package/lib/resources/order_copies.js +3 -3
- package/lib/resources/order_factories.cjs +4 -4
- package/lib/resources/order_factories.d.cts +3 -3
- package/lib/resources/order_factories.d.ts +2 -2
- package/lib/resources/order_factories.js +3 -3
- package/lib/resources/order_subscription_items.cjs +4 -4
- package/lib/resources/order_subscription_items.d.cts +3 -3
- package/lib/resources/order_subscription_items.d.ts +2 -2
- package/lib/resources/order_subscription_items.js +3 -3
- package/lib/resources/order_subscriptions.cjs +4 -4
- package/lib/resources/order_subscriptions.d.cts +3 -3
- package/lib/resources/order_subscriptions.d.ts +2 -2
- package/lib/resources/order_subscriptions.js +3 -3
- package/lib/resources/orders.cjs +4 -4
- package/lib/resources/orders.d.cts +3 -3
- package/lib/resources/orders.d.ts +2 -2
- package/lib/resources/orders.js +3 -3
- package/lib/resources/organizations.cjs +4 -4
- package/lib/resources/organizations.d.cts +3 -3
- package/lib/resources/organizations.d.ts +2 -2
- package/lib/resources/organizations.js +3 -3
- package/lib/resources/packages.cjs +4 -4
- package/lib/resources/packages.d.cts +3 -3
- package/lib/resources/packages.d.ts +2 -2
- package/lib/resources/packages.js +3 -3
- package/lib/resources/parcel_line_items.cjs +4 -4
- package/lib/resources/parcel_line_items.d.cts +3 -3
- package/lib/resources/parcel_line_items.d.ts +2 -2
- package/lib/resources/parcel_line_items.js +3 -3
- package/lib/resources/parcels.cjs +4 -4
- package/lib/resources/parcels.d.cts +3 -3
- package/lib/resources/parcels.d.ts +2 -2
- package/lib/resources/parcels.js +3 -3
- package/lib/resources/payment_gateways.cjs +4 -4
- package/lib/resources/payment_gateways.d.cts +3 -3
- package/lib/resources/payment_gateways.d.ts +2 -2
- package/lib/resources/payment_gateways.js +3 -3
- package/lib/resources/payment_methods.cjs +4 -4
- package/lib/resources/payment_methods.d.cts +3 -3
- package/lib/resources/payment_methods.d.ts +2 -2
- package/lib/resources/payment_methods.js +3 -3
- package/lib/resources/payment_options.cjs +4 -4
- package/lib/resources/payment_options.d.cts +3 -3
- package/lib/resources/payment_options.d.ts +2 -2
- package/lib/resources/payment_options.js +3 -3
- package/lib/resources/paypal_gateways.cjs +4 -4
- package/lib/resources/paypal_gateways.d.cts +3 -3
- package/lib/resources/paypal_gateways.d.ts +2 -2
- package/lib/resources/paypal_gateways.js +3 -3
- package/lib/resources/paypal_payments.cjs +4 -4
- package/lib/resources/paypal_payments.d.cts +3 -3
- package/lib/resources/paypal_payments.d.ts +2 -2
- package/lib/resources/paypal_payments.js +3 -3
- package/lib/resources/percentage_discount_promotions.cjs +4 -4
- package/lib/resources/percentage_discount_promotions.d.cts +3 -3
- package/lib/resources/percentage_discount_promotions.d.ts +2 -2
- package/lib/resources/percentage_discount_promotions.js +3 -3
- package/lib/resources/pickups.cjs +4 -4
- package/lib/resources/pickups.d.cts +3 -3
- package/lib/resources/pickups.d.ts +2 -2
- package/lib/resources/pickups.js +3 -3
- package/lib/resources/price_frequency_tiers.cjs +4 -4
- package/lib/resources/price_frequency_tiers.d.cts +3 -3
- package/lib/resources/price_frequency_tiers.d.ts +2 -2
- package/lib/resources/price_frequency_tiers.js +3 -3
- package/lib/resources/price_list_schedulers.cjs +4 -4
- package/lib/resources/price_list_schedulers.d.cts +3 -3
- package/lib/resources/price_list_schedulers.d.ts +2 -2
- package/lib/resources/price_list_schedulers.js +3 -3
- package/lib/resources/price_lists.cjs +4 -4
- package/lib/resources/price_lists.d.cts +3 -3
- package/lib/resources/price_lists.d.ts +2 -2
- package/lib/resources/price_lists.js +3 -3
- package/lib/resources/price_tiers.cjs +4 -4
- package/lib/resources/price_tiers.d.cts +3 -3
- package/lib/resources/price_tiers.d.ts +2 -2
- package/lib/resources/price_tiers.js +3 -3
- package/lib/resources/price_volume_tiers.cjs +4 -4
- package/lib/resources/price_volume_tiers.d.cts +3 -3
- package/lib/resources/price_volume_tiers.d.ts +2 -2
- package/lib/resources/price_volume_tiers.js +3 -3
- package/lib/resources/prices.cjs +4 -4
- package/lib/resources/prices.d.cts +3 -3
- package/lib/resources/prices.d.ts +2 -2
- package/lib/resources/prices.js +3 -3
- package/lib/resources/promotion_rules.cjs +4 -4
- package/lib/resources/promotion_rules.d.cts +3 -3
- package/lib/resources/promotion_rules.d.ts +2 -2
- package/lib/resources/promotion_rules.js +3 -3
- package/lib/resources/promotions.cjs +4 -4
- package/lib/resources/promotions.d.cts +3 -3
- package/lib/resources/promotions.d.ts +2 -2
- package/lib/resources/promotions.js +3 -3
- package/lib/resources/recurring_order_copies.cjs +4 -4
- package/lib/resources/recurring_order_copies.d.cts +3 -3
- package/lib/resources/recurring_order_copies.d.ts +2 -2
- package/lib/resources/recurring_order_copies.js +3 -3
- package/lib/resources/refunds.cjs +4 -4
- package/lib/resources/refunds.d.cts +3 -3
- package/lib/resources/refunds.d.ts +2 -2
- package/lib/resources/refunds.js +3 -3
- package/lib/resources/reserved_stocks.cjs +4 -4
- package/lib/resources/reserved_stocks.d.cts +3 -3
- package/lib/resources/reserved_stocks.d.ts +2 -2
- package/lib/resources/reserved_stocks.js +3 -3
- package/lib/resources/resource_errors.cjs +4 -4
- package/lib/resources/resource_errors.d.cts +3 -3
- package/lib/resources/resource_errors.d.ts +2 -2
- package/lib/resources/resource_errors.js +3 -3
- package/lib/resources/return_line_items.cjs +4 -4
- package/lib/resources/return_line_items.d.cts +3 -3
- package/lib/resources/return_line_items.d.ts +2 -2
- package/lib/resources/return_line_items.js +3 -3
- package/lib/resources/returns.cjs +4 -4
- package/lib/resources/returns.d.cts +3 -3
- package/lib/resources/returns.d.ts +2 -2
- package/lib/resources/returns.js +3 -3
- package/lib/resources/satispay_gateways.cjs +4 -4
- package/lib/resources/satispay_gateways.d.cts +3 -3
- package/lib/resources/satispay_gateways.d.ts +2 -2
- package/lib/resources/satispay_gateways.js +3 -3
- package/lib/resources/satispay_payments.cjs +4 -4
- package/lib/resources/satispay_payments.d.cts +3 -3
- package/lib/resources/satispay_payments.d.ts +2 -2
- package/lib/resources/satispay_payments.js +3 -3
- package/lib/resources/shipments.cjs +4 -4
- package/lib/resources/shipments.d.cts +3 -3
- package/lib/resources/shipments.d.ts +2 -2
- package/lib/resources/shipments.js +3 -3
- package/lib/resources/shipping_categories.cjs +4 -4
- package/lib/resources/shipping_categories.d.cts +3 -3
- package/lib/resources/shipping_categories.d.ts +2 -2
- package/lib/resources/shipping_categories.js +3 -3
- package/lib/resources/shipping_method_tiers.cjs +4 -4
- package/lib/resources/shipping_method_tiers.d.cts +3 -3
- package/lib/resources/shipping_method_tiers.d.ts +2 -2
- package/lib/resources/shipping_method_tiers.js +3 -3
- package/lib/resources/shipping_methods.cjs +4 -4
- package/lib/resources/shipping_methods.d.cts +3 -3
- package/lib/resources/shipping_methods.d.ts +2 -2
- package/lib/resources/shipping_methods.js +3 -3
- package/lib/resources/shipping_weight_tiers.cjs +4 -4
- package/lib/resources/shipping_weight_tiers.d.cts +3 -3
- package/lib/resources/shipping_weight_tiers.d.ts +2 -2
- package/lib/resources/shipping_weight_tiers.js +3 -3
- package/lib/resources/shipping_zones.cjs +4 -4
- package/lib/resources/shipping_zones.d.cts +3 -3
- package/lib/resources/shipping_zones.d.ts +2 -2
- package/lib/resources/shipping_zones.js +3 -3
- package/lib/resources/sku_list_items.cjs +4 -4
- package/lib/resources/sku_list_items.d.cts +3 -3
- package/lib/resources/sku_list_items.d.ts +2 -2
- package/lib/resources/sku_list_items.js +3 -3
- package/lib/resources/sku_list_promotion_rules.cjs +4 -4
- package/lib/resources/sku_list_promotion_rules.d.cts +3 -3
- package/lib/resources/sku_list_promotion_rules.d.ts +2 -2
- package/lib/resources/sku_list_promotion_rules.js +3 -3
- package/lib/resources/sku_lists.cjs +4 -4
- package/lib/resources/sku_lists.d.cts +3 -3
- package/lib/resources/sku_lists.d.ts +2 -2
- package/lib/resources/sku_lists.js +3 -3
- package/lib/resources/sku_options.cjs +4 -4
- package/lib/resources/sku_options.d.cts +3 -3
- package/lib/resources/sku_options.d.ts +2 -2
- package/lib/resources/sku_options.js +3 -3
- package/lib/resources/skus.cjs +4 -4
- package/lib/resources/skus.d.cts +3 -3
- package/lib/resources/skus.d.ts +2 -2
- package/lib/resources/skus.js +3 -3
- package/lib/resources/stock_items.cjs +4 -4
- package/lib/resources/stock_items.d.cts +3 -3
- package/lib/resources/stock_items.d.ts +2 -2
- package/lib/resources/stock_items.js +3 -3
- package/lib/resources/stock_line_items.cjs +4 -4
- package/lib/resources/stock_line_items.d.cts +3 -3
- package/lib/resources/stock_line_items.d.ts +2 -2
- package/lib/resources/stock_line_items.js +3 -3
- package/lib/resources/stock_locations.cjs +4 -4
- package/lib/resources/stock_locations.d.cts +3 -3
- package/lib/resources/stock_locations.d.ts +2 -2
- package/lib/resources/stock_locations.js +3 -3
- package/lib/resources/stock_reservations.cjs +4 -4
- package/lib/resources/stock_reservations.d.cts +3 -3
- package/lib/resources/stock_reservations.d.ts +2 -2
- package/lib/resources/stock_reservations.js +3 -3
- package/lib/resources/stock_transfers.cjs +4 -4
- package/lib/resources/stock_transfers.d.cts +3 -3
- package/lib/resources/stock_transfers.d.ts +2 -2
- package/lib/resources/stock_transfers.js +3 -3
- package/lib/resources/stores.cjs +4 -4
- package/lib/resources/stores.d.cts +3 -3
- package/lib/resources/stores.d.ts +2 -2
- package/lib/resources/stores.js +3 -3
- package/lib/resources/stripe_gateways.cjs +4 -4
- package/lib/resources/stripe_gateways.d.cts +3 -3
- package/lib/resources/stripe_gateways.d.ts +2 -2
- package/lib/resources/stripe_gateways.js +3 -3
- package/lib/resources/stripe_payments.cjs +4 -4
- package/lib/resources/stripe_payments.d.cts +3 -3
- package/lib/resources/stripe_payments.d.ts +2 -2
- package/lib/resources/stripe_payments.js +3 -3
- package/lib/resources/stripe_tax_accounts.cjs +4 -4
- package/lib/resources/stripe_tax_accounts.d.cts +3 -3
- package/lib/resources/stripe_tax_accounts.d.ts +2 -2
- package/lib/resources/stripe_tax_accounts.js +3 -3
- package/lib/resources/subscription_models.cjs +4 -4
- package/lib/resources/subscription_models.d.cts +3 -3
- package/lib/resources/subscription_models.d.ts +2 -2
- package/lib/resources/subscription_models.js +3 -3
- package/lib/resources/tags.cjs +4 -4
- package/lib/resources/tags.d.cts +3 -3
- package/lib/resources/tags.d.ts +2 -2
- package/lib/resources/tags.js +3 -3
- package/lib/resources/talon_one_accounts.cjs +4 -4
- package/lib/resources/talon_one_accounts.d.cts +3 -3
- package/lib/resources/talon_one_accounts.d.ts +2 -2
- package/lib/resources/talon_one_accounts.js +3 -3
- package/lib/resources/tax_calculators.cjs +4 -4
- package/lib/resources/tax_calculators.d.cts +3 -3
- package/lib/resources/tax_calculators.d.ts +2 -2
- package/lib/resources/tax_calculators.js +3 -3
- package/lib/resources/tax_categories.cjs +4 -4
- package/lib/resources/tax_categories.d.cts +3 -3
- package/lib/resources/tax_categories.d.ts +2 -2
- package/lib/resources/tax_categories.js +3 -3
- package/lib/resources/tax_rules.cjs +4 -4
- package/lib/resources/tax_rules.d.cts +3 -3
- package/lib/resources/tax_rules.d.ts +2 -2
- package/lib/resources/tax_rules.js +3 -3
- package/lib/resources/taxjar_accounts.cjs +4 -4
- package/lib/resources/taxjar_accounts.d.cts +3 -3
- package/lib/resources/taxjar_accounts.d.ts +2 -2
- package/lib/resources/taxjar_accounts.js +3 -3
- package/lib/resources/transactions.cjs +4 -4
- package/lib/resources/transactions.d.cts +3 -3
- package/lib/resources/transactions.d.ts +2 -2
- package/lib/resources/transactions.js +3 -3
- package/lib/resources/vertex_accounts.cjs +4 -4
- package/lib/resources/vertex_accounts.d.cts +3 -3
- package/lib/resources/vertex_accounts.d.ts +2 -2
- package/lib/resources/vertex_accounts.js +3 -3
- package/lib/resources/voids.cjs +4 -4
- package/lib/resources/voids.d.cts +3 -3
- package/lib/resources/voids.d.ts +2 -2
- package/lib/resources/voids.js +3 -3
- package/lib/resources/webhooks.cjs +4 -4
- package/lib/resources/webhooks.d.cts +3 -3
- package/lib/resources/webhooks.d.ts +2 -2
- package/lib/resources/webhooks.js +3 -3
- package/lib/resources/wire_transfers.cjs +4 -4
- package/lib/resources/wire_transfers.d.cts +3 -3
- package/lib/resources/wire_transfers.d.ts +2 -2
- package/lib/resources/wire_transfers.js +3 -3
- package/lib/static.cjs +5 -5
- package/lib/static.d.cts +2 -2
- package/lib/static.d.ts +2 -2
- package/lib/static.js +4 -4
- package/package.json +4 -2
- package/lib/api-1MadbJ5r.d.cts +0 -18176
- package/lib/api-Cn4znEVC.d.ts +0 -18176
- package/lib/chunk-26Q2QNAQ.cjs +0 -30
- package/lib/chunk-26Q2QNAQ.cjs.map +0 -1
- package/lib/chunk-27YKND3S.js +0 -93
- package/lib/chunk-27YKND3S.js.map +0 -1
- package/lib/chunk-2CMJ2SZM.cjs +0 -57
- package/lib/chunk-2CMJ2SZM.cjs.map +0 -1
- package/lib/chunk-2HNW5KNF.js +0 -45
- package/lib/chunk-2HNW5KNF.js.map +0 -1
- package/lib/chunk-2NWYRIJZ.js +0 -41
- package/lib/chunk-2NWYRIJZ.js.map +0 -1
- package/lib/chunk-2QXENUO7.cjs +0 -51
- package/lib/chunk-2QXENUO7.cjs.map +0 -1
- package/lib/chunk-2TOLW3UO.cjs +0 -56
- package/lib/chunk-2TOLW3UO.cjs.map +0 -1
- package/lib/chunk-2VI6OWLV.cjs +0 -61
- package/lib/chunk-2VI6OWLV.cjs.map +0 -1
- package/lib/chunk-2WVBEUMO.js +0 -53
- package/lib/chunk-2WVBEUMO.js.map +0 -1
- package/lib/chunk-2XDVUDJS.cjs +0 -34
- package/lib/chunk-2XDVUDJS.cjs.map +0 -1
- package/lib/chunk-35Q3ZTZC.js +0 -75
- package/lib/chunk-35Q3ZTZC.js.map +0 -1
- package/lib/chunk-3PAID2YG.cjs +0 -54
- package/lib/chunk-3PAID2YG.cjs.map +0 -1
- package/lib/chunk-3PXZUPZE.cjs +0 -43
- package/lib/chunk-3PXZUPZE.cjs.map +0 -1
- package/lib/chunk-3YS6NHUH.cjs +0 -50
- package/lib/chunk-3YS6NHUH.cjs.map +0 -1
- package/lib/chunk-43JU63UQ.js +0 -51
- package/lib/chunk-43JU63UQ.js.map +0 -1
- package/lib/chunk-47UCMORS.cjs +0 -51
- package/lib/chunk-47UCMORS.cjs.map +0 -1
- package/lib/chunk-4C55SMIS.js +0 -55
- package/lib/chunk-4C55SMIS.js.map +0 -1
- package/lib/chunk-4E5BE47D.cjs +0 -61
- package/lib/chunk-4E5BE47D.cjs.map +0 -1
- package/lib/chunk-4OM2Y7BS.cjs +0 -46
- package/lib/chunk-4OM2Y7BS.cjs.map +0 -1
- package/lib/chunk-4P3MBQVY.cjs +0 -156
- package/lib/chunk-4P3MBQVY.cjs.map +0 -1
- package/lib/chunk-4PNXT6OT.js +0 -36
- package/lib/chunk-4PNXT6OT.js.map +0 -1
- package/lib/chunk-4S3I222F.cjs +0 -285
- package/lib/chunk-4S3I222F.cjs.map +0 -1
- package/lib/chunk-4YR6JIEN.js +0 -154
- package/lib/chunk-4YR6JIEN.js.map +0 -1
- package/lib/chunk-4ZIGP3FO.cjs +0 -59
- package/lib/chunk-4ZIGP3FO.cjs.map +0 -1
- package/lib/chunk-54VT56WS.cjs +0 -126
- package/lib/chunk-54VT56WS.cjs.map +0 -1
- package/lib/chunk-56324YRB.js +0 -54
- package/lib/chunk-56324YRB.js.map +0 -1
- package/lib/chunk-5AFBGKJ4.js +0 -53
- package/lib/chunk-5AFBGKJ4.js.map +0 -1
- package/lib/chunk-5P67UEWW.cjs +0 -56
- package/lib/chunk-5P67UEWW.cjs.map +0 -1
- package/lib/chunk-5RJW5RAK.js +0 -40
- package/lib/chunk-5RJW5RAK.js.map +0 -1
- package/lib/chunk-5TLVMKOO.cjs +0 -52
- package/lib/chunk-5TLVMKOO.cjs.map +0 -1
- package/lib/chunk-6BXCQFTI.js +0 -37
- package/lib/chunk-6BXCQFTI.js.map +0 -1
- package/lib/chunk-6EUKX4RC.cjs +0 -47
- package/lib/chunk-6EUKX4RC.cjs.map +0 -1
- package/lib/chunk-6SQ4LNTP.js +0 -54
- package/lib/chunk-6SQ4LNTP.js.map +0 -1
- package/lib/chunk-73P72ADW.js +0 -54
- package/lib/chunk-73P72ADW.js.map +0 -1
- package/lib/chunk-7473V4XD.js +0 -59
- package/lib/chunk-7473V4XD.js.map +0 -1
- package/lib/chunk-74JBCKFT.cjs +0 -30
- package/lib/chunk-74JBCKFT.cjs.map +0 -1
- package/lib/chunk-77HRCSA5.cjs +0 -55
- package/lib/chunk-77HRCSA5.cjs.map +0 -1
- package/lib/chunk-7B46YAQU.cjs +0 -98
- package/lib/chunk-7B46YAQU.cjs.map +0 -1
- package/lib/chunk-7LKA7FXN.js +0 -47
- package/lib/chunk-7LKA7FXN.js.map +0 -1
- package/lib/chunk-7P36FTRX.js +0 -44
- package/lib/chunk-7P36FTRX.js.map +0 -1
- package/lib/chunk-7TVIC5GW.cjs +0 -56
- package/lib/chunk-7TVIC5GW.cjs.map +0 -1
- package/lib/chunk-7ZBEKCA5.cjs +0 -75
- package/lib/chunk-7ZBEKCA5.cjs.map +0 -1
- package/lib/chunk-A6E33WC3.cjs +0 -53
- package/lib/chunk-A6E33WC3.cjs.map +0 -1
- package/lib/chunk-A77RAUIU.cjs +0 -54
- package/lib/chunk-A77RAUIU.cjs.map +0 -1
- package/lib/chunk-A7BK3Z22.cjs +0 -38
- package/lib/chunk-A7BK3Z22.cjs.map +0 -1
- package/lib/chunk-AEP6D5QV.cjs +0 -38
- package/lib/chunk-AEP6D5QV.cjs.map +0 -1
- package/lib/chunk-AN2Y6XMS.js +0 -28
- package/lib/chunk-AN2Y6XMS.js.map +0 -1
- package/lib/chunk-AP5WOJMJ.js +0 -49
- package/lib/chunk-AP5WOJMJ.js.map +0 -1
- package/lib/chunk-APMYXRFX.js +0 -96
- package/lib/chunk-APMYXRFX.js.map +0 -1
- package/lib/chunk-APTNONWZ.js +0 -40
- package/lib/chunk-APTNONWZ.js.map +0 -1
- package/lib/chunk-AS6CAIIM.js +0 -65
- package/lib/chunk-AS6CAIIM.js.map +0 -1
- package/lib/chunk-ATK6TFVA.cjs +0 -43
- package/lib/chunk-ATK6TFVA.cjs.map +0 -1
- package/lib/chunk-AVYPSM4A.cjs +0 -43
- package/lib/chunk-AVYPSM4A.cjs.map +0 -1
- package/lib/chunk-AWEYC4IM.js +0 -45
- package/lib/chunk-AWEYC4IM.js.map +0 -1
- package/lib/chunk-AWLS4LR4.cjs +0 -53
- package/lib/chunk-AWLS4LR4.cjs.map +0 -1
- package/lib/chunk-AY7MWZ7Y.js +0 -48
- package/lib/chunk-AY7MWZ7Y.js.map +0 -1
- package/lib/chunk-BANZUNLK.js +0 -40
- package/lib/chunk-BANZUNLK.js.map +0 -1
- package/lib/chunk-BQE56RMQ.js +0 -45
- package/lib/chunk-BQE56RMQ.js.map +0 -1
- package/lib/chunk-C7AHHS53.cjs +0 -51
- package/lib/chunk-C7AHHS53.cjs.map +0 -1
- package/lib/chunk-CDFM6RPB.cjs +0 -63
- package/lib/chunk-CDFM6RPB.cjs.map +0 -1
- package/lib/chunk-CH4K74JN.cjs +0 -55
- package/lib/chunk-CH4K74JN.cjs.map +0 -1
- package/lib/chunk-CJPAOOG5.cjs +0 -34
- package/lib/chunk-CJPAOOG5.cjs.map +0 -1
- package/lib/chunk-CKSLVNN7.js +0 -45
- package/lib/chunk-CKSLVNN7.js.map +0 -1
- package/lib/chunk-CM4DAVO4.js +0 -40
- package/lib/chunk-CM4DAVO4.js.map +0 -1
- package/lib/chunk-CNMMWVI6.js +0 -48
- package/lib/chunk-CNMMWVI6.js.map +0 -1
- package/lib/chunk-CQXW23HJ.cjs +0 -56
- package/lib/chunk-CQXW23HJ.cjs.map +0 -1
- package/lib/chunk-CSCAHLQ3.cjs +0 -49
- package/lib/chunk-CSCAHLQ3.cjs.map +0 -1
- package/lib/chunk-CTTA6S5K.cjs +0 -61
- package/lib/chunk-CTTA6S5K.cjs.map +0 -1
- package/lib/chunk-CUYSBPPJ.js +0 -45
- package/lib/chunk-CUYSBPPJ.js.map +0 -1
- package/lib/chunk-D3VJO4HP.js +0 -40
- package/lib/chunk-D3VJO4HP.js.map +0 -1
- package/lib/chunk-D3YQS6YA.js +0 -66
- package/lib/chunk-D3YQS6YA.js.map +0 -1
- package/lib/chunk-DBJEPEBT.js +0 -45
- package/lib/chunk-DBJEPEBT.js.map +0 -1
- package/lib/chunk-DFUIO6OY.js +0 -53
- package/lib/chunk-DFUIO6OY.js.map +0 -1
- package/lib/chunk-DHGTIF6A.cjs +0 -56
- package/lib/chunk-DHGTIF6A.cjs.map +0 -1
- package/lib/chunk-DJRBEANR.js +0 -57
- package/lib/chunk-DJRBEANR.js.map +0 -1
- package/lib/chunk-DNVIOKDM.cjs +0 -55
- package/lib/chunk-DNVIOKDM.cjs.map +0 -1
- package/lib/chunk-DQUGPCYZ.js +0 -37
- package/lib/chunk-DQUGPCYZ.js.map +0 -1
- package/lib/chunk-E2UP2BWG.cjs +0 -39
- package/lib/chunk-E2UP2BWG.cjs.map +0 -1
- package/lib/chunk-E5G3LS6Y.js +0 -53
- package/lib/chunk-E5G3LS6Y.js.map +0 -1
- package/lib/chunk-EEXXJFJO.cjs +0 -47
- package/lib/chunk-EEXXJFJO.cjs.map +0 -1
- package/lib/chunk-EI2KOTCG.js +0 -37
- package/lib/chunk-EI2KOTCG.js.map +0 -1
- package/lib/chunk-ELTYSKHB.js +0 -68
- package/lib/chunk-ELTYSKHB.js.map +0 -1
- package/lib/chunk-EO7RCCV2.js +0 -45
- package/lib/chunk-EO7RCCV2.js.map +0 -1
- package/lib/chunk-EOV3GRPM.js +0 -27
- package/lib/chunk-EOV3GRPM.js.map +0 -1
- package/lib/chunk-EQ5ASSXQ.cjs +0 -95
- package/lib/chunk-EQ5ASSXQ.cjs.map +0 -1
- package/lib/chunk-EQZMPSGR.js +0 -55
- package/lib/chunk-EQZMPSGR.js.map +0 -1
- package/lib/chunk-ESI7A34I.js +0 -52
- package/lib/chunk-ESI7A34I.js.map +0 -1
- package/lib/chunk-EWFAT7KA.js +0 -283
- package/lib/chunk-EWFAT7KA.js.map +0 -1
- package/lib/chunk-F2PKXIJQ.js +0 -52
- package/lib/chunk-F2PKXIJQ.js.map +0 -1
- package/lib/chunk-F6OOTDNW.js +0 -49
- package/lib/chunk-F6OOTDNW.js.map +0 -1
- package/lib/chunk-FANJUOI3.cjs +0 -51
- package/lib/chunk-FANJUOI3.cjs.map +0 -1
- package/lib/chunk-FAX5NCHT.cjs +0 -47
- package/lib/chunk-FAX5NCHT.cjs.map +0 -1
- package/lib/chunk-FECG6WIR.js +0 -96
- package/lib/chunk-FECG6WIR.js.map +0 -1
- package/lib/chunk-FRVEAP6J.js +0 -73
- package/lib/chunk-FRVEAP6J.js.map +0 -1
- package/lib/chunk-FUQA5XT7.cjs +0 -47
- package/lib/chunk-FUQA5XT7.cjs.map +0 -1
- package/lib/chunk-FVRWASHH.js +0 -32
- package/lib/chunk-FVRWASHH.js.map +0 -1
- package/lib/chunk-FWBO3MH4.js +0 -54
- package/lib/chunk-FWBO3MH4.js.map +0 -1
- package/lib/chunk-FZKENL3J.js +0 -53
- package/lib/chunk-FZKENL3J.js.map +0 -1
- package/lib/chunk-GCY5B73J.cjs +0 -47
- package/lib/chunk-GCY5B73J.cjs.map +0 -1
- package/lib/chunk-GIZE32ZY.js +0 -73
- package/lib/chunk-GIZE32ZY.js.map +0 -1
- package/lib/chunk-GZPZZ262.js +0 -49
- package/lib/chunk-GZPZZ262.js.map +0 -1
- package/lib/chunk-H6K62JGC.cjs +0 -47
- package/lib/chunk-H6K62JGC.cjs.map +0 -1
- package/lib/chunk-H7J2F6QG.cjs +0 -47
- package/lib/chunk-H7J2F6QG.cjs.map +0 -1
- package/lib/chunk-H7KZGQXZ.cjs +0 -71
- package/lib/chunk-H7KZGQXZ.cjs.map +0 -1
- package/lib/chunk-HFKNOYWV.cjs +0 -98
- package/lib/chunk-HFKNOYWV.cjs.map +0 -1
- package/lib/chunk-HLR5KZ6S.js +0 -51
- package/lib/chunk-HLR5KZ6S.js.map +0 -1
- package/lib/chunk-HWCQ4G5Z.js +0 -45
- package/lib/chunk-HWCQ4G5Z.js.map +0 -1
- package/lib/chunk-HZYPMFTS.cjs +0 -49
- package/lib/chunk-HZYPMFTS.cjs.map +0 -1
- package/lib/chunk-I2E2P72P.cjs +0 -70
- package/lib/chunk-I2E2P72P.cjs.map +0 -1
- package/lib/chunk-I4EPVSJX.js +0 -102
- package/lib/chunk-I4EPVSJX.js.map +0 -1
- package/lib/chunk-I64ZCB4W.cjs +0 -55
- package/lib/chunk-I64ZCB4W.cjs.map +0 -1
- package/lib/chunk-I7LHMPOY.cjs +0 -107
- package/lib/chunk-I7LHMPOY.cjs.map +0 -1
- package/lib/chunk-IG2P6JOK.js +0 -40
- package/lib/chunk-IG2P6JOK.js.map +0 -1
- package/lib/chunk-IG6UCDED.js +0 -59
- package/lib/chunk-IG6UCDED.js.map +0 -1
- package/lib/chunk-IIUBCLDN.js +0 -47
- package/lib/chunk-IIUBCLDN.js.map +0 -1
- package/lib/chunk-IKU3CD3A.cjs +0 -75
- package/lib/chunk-IKU3CD3A.cjs.map +0 -1
- package/lib/chunk-IL2AXMUE.js +0 -45
- package/lib/chunk-IL2AXMUE.js.map +0 -1
- package/lib/chunk-IL66CF3O.js +0 -105
- package/lib/chunk-IL66CF3O.js.map +0 -1
- package/lib/chunk-ILAFDO4M.js +0 -36
- package/lib/chunk-ILAFDO4M.js.map +0 -1
- package/lib/chunk-INBIEH6H.cjs +0 -44
- package/lib/chunk-INBIEH6H.cjs.map +0 -1
- package/lib/chunk-IOSR7D3F.cjs +0 -47
- package/lib/chunk-IOSR7D3F.cjs.map +0 -1
- package/lib/chunk-IOYGVLML.js +0 -41
- package/lib/chunk-IOYGVLML.js.map +0 -1
- package/lib/chunk-IP5G2VCS.cjs +0 -38
- package/lib/chunk-IP5G2VCS.cjs.map +0 -1
- package/lib/chunk-IWH7CXBG.js +0 -124
- package/lib/chunk-IWH7CXBG.js.map +0 -1
- package/lib/chunk-IYGFGGZR.js +0 -59
- package/lib/chunk-IYGFGGZR.js.map +0 -1
- package/lib/chunk-IYQFTOVG.cjs +0 -39
- package/lib/chunk-IYQFTOVG.cjs.map +0 -1
- package/lib/chunk-J2ULMBWQ.js +0 -89
- package/lib/chunk-J2ULMBWQ.js.map +0 -1
- package/lib/chunk-JARZZUPY.js +0 -93
- package/lib/chunk-JARZZUPY.js.map +0 -1
- package/lib/chunk-JBKJAYRL.cjs +0 -50
- package/lib/chunk-JBKJAYRL.cjs.map +0 -1
- package/lib/chunk-JE3P5NJP.cjs +0 -56
- package/lib/chunk-JE3P5NJP.cjs.map +0 -1
- package/lib/chunk-JGTC32IT.cjs +0 -69
- package/lib/chunk-JGTC32IT.cjs.map +0 -1
- package/lib/chunk-JHYHQV3E.js +0 -67
- package/lib/chunk-JHYHQV3E.js.map +0 -1
- package/lib/chunk-JIDX6RAT.js +0 -103
- package/lib/chunk-JIDX6RAT.js.map +0 -1
- package/lib/chunk-JIQRQ5TK.cjs +0 -39
- package/lib/chunk-JIQRQ5TK.cjs.map +0 -1
- package/lib/chunk-JMKSIDZI.cjs +0 -51
- package/lib/chunk-JMKSIDZI.cjs.map +0 -1
- package/lib/chunk-JR6TYHVG.js +0 -41
- package/lib/chunk-JR6TYHVG.js.map +0 -1
- package/lib/chunk-JRVZ4JQI.js +0 -32
- package/lib/chunk-JRVZ4JQI.js.map +0 -1
- package/lib/chunk-JSHKAVYF.js +0 -45
- package/lib/chunk-JSHKAVYF.js.map +0 -1
- package/lib/chunk-K3GPCGMJ.cjs +0 -47
- package/lib/chunk-K3GPCGMJ.cjs.map +0 -1
- package/lib/chunk-KATZAZKF.cjs +0 -56
- package/lib/chunk-KATZAZKF.cjs.map +0 -1
- package/lib/chunk-KC46F2PJ.cjs +0 -47
- package/lib/chunk-KC46F2PJ.cjs.map +0 -1
- package/lib/chunk-KJWEQIEM.js +0 -54
- package/lib/chunk-KJWEQIEM.js.map +0 -1
- package/lib/chunk-KLO6RFMQ.cjs +0 -89
- package/lib/chunk-KLO6RFMQ.cjs.map +0 -1
- package/lib/chunk-KN2KHVGW.js +0 -93
- package/lib/chunk-KN2KHVGW.js.map +0 -1
- package/lib/chunk-KU5M6CZ5.js +0 -48
- package/lib/chunk-KU5M6CZ5.js.map +0 -1
- package/lib/chunk-KUJFQHAN.js +0 -52
- package/lib/chunk-KUJFQHAN.js.map +0 -1
- package/lib/chunk-KUZBO6ZM.js +0 -54
- package/lib/chunk-KUZBO6ZM.js.map +0 -1
- package/lib/chunk-KZDGS2SG.cjs +0 -70
- package/lib/chunk-KZDGS2SG.cjs.map +0 -1
- package/lib/chunk-L4PEYYXQ.cjs +0 -51
- package/lib/chunk-L4PEYYXQ.cjs.map +0 -1
- package/lib/chunk-L7FT6NDZ.cjs +0 -284
- package/lib/chunk-L7FT6NDZ.cjs.map +0 -1
- package/lib/chunk-LHESCZ5L.cjs +0 -39
- package/lib/chunk-LHESCZ5L.cjs.map +0 -1
- package/lib/chunk-LP52UBLY.js +0 -54
- package/lib/chunk-LP52UBLY.js.map +0 -1
- package/lib/chunk-LPP7TYFN.js +0 -45
- package/lib/chunk-LPP7TYFN.js.map +0 -1
- package/lib/chunk-LS7VSSB4.js +0 -49
- package/lib/chunk-LS7VSSB4.js.map +0 -1
- package/lib/chunk-LSISPTNQ.cjs +0 -47
- package/lib/chunk-LSISPTNQ.cjs.map +0 -1
- package/lib/chunk-LZO46NMA.js +0 -60
- package/lib/chunk-LZO46NMA.js.map +0 -1
- package/lib/chunk-M22WZEWB.js +0 -37
- package/lib/chunk-M22WZEWB.js.map +0 -1
- package/lib/chunk-M63P3MQC.cjs +0 -51
- package/lib/chunk-M63P3MQC.cjs.map +0 -1
- package/lib/chunk-M7EUSLT2.js +0 -51
- package/lib/chunk-M7EUSLT2.js.map +0 -1
- package/lib/chunk-M7SVKQ7R.cjs +0 -51
- package/lib/chunk-M7SVKQ7R.cjs.map +0 -1
- package/lib/chunk-MFDKS22G.js +0 -536
- package/lib/chunk-MFDKS22G.js.map +0 -1
- package/lib/chunk-MHNJALUB.cjs +0 -42
- package/lib/chunk-MHNJALUB.cjs.map +0 -1
- package/lib/chunk-MOYV2F4C.js +0 -50
- package/lib/chunk-MOYV2F4C.js.map +0 -1
- package/lib/chunk-MVXKHM42.cjs +0 -47
- package/lib/chunk-MVXKHM42.cjs.map +0 -1
- package/lib/chunk-N2TACGKJ.js +0 -59
- package/lib/chunk-N2TACGKJ.js.map +0 -1
- package/lib/chunk-NGJN2PES.cjs +0 -95
- package/lib/chunk-NGJN2PES.cjs.map +0 -1
- package/lib/chunk-NIFNQI3P.js +0 -49
- package/lib/chunk-NIFNQI3P.js.map +0 -1
- package/lib/chunk-NLL7EH7Y.cjs +0 -42
- package/lib/chunk-NLL7EH7Y.cjs.map +0 -1
- package/lib/chunk-NOGYLNW5.cjs +0 -49
- package/lib/chunk-NOGYLNW5.cjs.map +0 -1
- package/lib/chunk-NPZA6AMN.js +0 -95
- package/lib/chunk-NPZA6AMN.js.map +0 -1
- package/lib/chunk-NSMPVEO4.js +0 -49
- package/lib/chunk-NSMPVEO4.js.map +0 -1
- package/lib/chunk-NURW5BJN.js +0 -37
- package/lib/chunk-NURW5BJN.js.map +0 -1
- package/lib/chunk-NWPF43O7.js +0 -50
- package/lib/chunk-NWPF43O7.js.map +0 -1
- package/lib/chunk-O6QJMGK7.cjs +0 -56
- package/lib/chunk-O6QJMGK7.cjs.map +0 -1
- package/lib/chunk-OBNGBDLS.js +0 -47
- package/lib/chunk-OBNGBDLS.js.map +0 -1
- package/lib/chunk-OEMRZEYB.js +0 -45
- package/lib/chunk-OEMRZEYB.js.map +0 -1
- package/lib/chunk-OLJT7GB7.js +0 -31
- package/lib/chunk-OLJT7GB7.js.map +0 -1
- package/lib/chunk-ONVG32V5.cjs +0 -63
- package/lib/chunk-ONVG32V5.cjs.map +0 -1
- package/lib/chunk-P2IDAXTS.cjs +0 -62
- package/lib/chunk-P2IDAXTS.cjs.map +0 -1
- package/lib/chunk-P47JG2WA.js +0 -48
- package/lib/chunk-P47JG2WA.js.map +0 -1
- package/lib/chunk-P5EEPVZA.cjs +0 -77
- package/lib/chunk-P5EEPVZA.cjs.map +0 -1
- package/lib/chunk-PB6VKR7P.js +0 -49
- package/lib/chunk-PB6VKR7P.js.map +0 -1
- package/lib/chunk-PBEQTSJS.cjs +0 -47
- package/lib/chunk-PBEQTSJS.cjs.map +0 -1
- package/lib/chunk-PL6A37WA.js +0 -45
- package/lib/chunk-PL6A37WA.js.map +0 -1
- package/lib/chunk-PMV3JPUR.cjs +0 -51
- package/lib/chunk-PMV3JPUR.cjs.map +0 -1
- package/lib/chunk-PQJ2ODW3.cjs +0 -67
- package/lib/chunk-PQJ2ODW3.cjs.map +0 -1
- package/lib/chunk-PUBFRIEQ.cjs +0 -95
- package/lib/chunk-PUBFRIEQ.cjs.map +0 -1
- package/lib/chunk-PULH7AI4.cjs +0 -68
- package/lib/chunk-PULH7AI4.cjs.map +0 -1
- package/lib/chunk-PUTVVRLC.js +0 -69
- package/lib/chunk-PUTVVRLC.js.map +0 -1
- package/lib/chunk-PVBBO54F.js +0 -49
- package/lib/chunk-PVBBO54F.js.map +0 -1
- package/lib/chunk-Q3WUCLM5.js +0 -37
- package/lib/chunk-Q3WUCLM5.js.map +0 -1
- package/lib/chunk-QDZI3I46.cjs +0 -43
- package/lib/chunk-QDZI3I46.cjs.map +0 -1
- package/lib/chunk-QF6DOS2C.js +0 -42
- package/lib/chunk-QF6DOS2C.js.map +0 -1
- package/lib/chunk-QI4UFW5A.js +0 -59
- package/lib/chunk-QI4UFW5A.js.map +0 -1
- package/lib/chunk-QIN5DNKJ.cjs +0 -46
- package/lib/chunk-QIN5DNKJ.cjs.map +0 -1
- package/lib/chunk-QJDQS6PE.cjs +0 -107
- package/lib/chunk-QJDQS6PE.cjs.map +0 -1
- package/lib/chunk-QTBUH3V7.js +0 -61
- package/lib/chunk-QTBUH3V7.js.map +0 -1
- package/lib/chunk-QVJZ2PSX.cjs +0 -51
- package/lib/chunk-QVJZ2PSX.cjs.map +0 -1
- package/lib/chunk-QXXLGQVN.js +0 -45
- package/lib/chunk-QXXLGQVN.js.map +0 -1
- package/lib/chunk-RDZZJ22W.cjs +0 -39
- package/lib/chunk-RDZZJ22W.cjs.map +0 -1
- package/lib/chunk-RGGHPNOB.js +0 -49
- package/lib/chunk-RGGHPNOB.js.map +0 -1
- package/lib/chunk-RKD7U6QH.cjs +0 -51
- package/lib/chunk-RKD7U6QH.cjs.map +0 -1
- package/lib/chunk-RMTTRB7R.js +0 -51
- package/lib/chunk-RMTTRB7R.js.map +0 -1
- package/lib/chunk-RNJOCB3T.cjs +0 -42
- package/lib/chunk-RNJOCB3T.cjs.map +0 -1
- package/lib/chunk-RQAOPSUW.cjs +0 -47
- package/lib/chunk-RQAOPSUW.cjs.map +0 -1
- package/lib/chunk-RW4KKMPX.js +0 -93
- package/lib/chunk-RW4KKMPX.js.map +0 -1
- package/lib/chunk-SGXMH2JP.cjs +0 -29
- package/lib/chunk-SGXMH2JP.cjs.map +0 -1
- package/lib/chunk-SOOB4KI7.cjs +0 -53
- package/lib/chunk-SOOB4KI7.cjs.map +0 -1
- package/lib/chunk-SSHXUS6Q.js +0 -49
- package/lib/chunk-SSHXUS6Q.js.map +0 -1
- package/lib/chunk-STQYJKBK.cjs +0 -55
- package/lib/chunk-STQYJKBK.cjs.map +0 -1
- package/lib/chunk-SZARKLAL.js +0 -68
- package/lib/chunk-SZARKLAL.js.map +0 -1
- package/lib/chunk-SZM64XMO.cjs +0 -68
- package/lib/chunk-SZM64XMO.cjs.map +0 -1
- package/lib/chunk-T2DEYIX6.cjs +0 -57
- package/lib/chunk-T2DEYIX6.cjs.map +0 -1
- package/lib/chunk-T2YGQC4C.js +0 -61
- package/lib/chunk-T2YGQC4C.js.map +0 -1
- package/lib/chunk-T5OEKW7A.cjs +0 -55
- package/lib/chunk-T5OEKW7A.cjs.map +0 -1
- package/lib/chunk-T6CBFUT6.cjs +0 -51
- package/lib/chunk-T6CBFUT6.cjs.map +0 -1
- package/lib/chunk-TMSNRZEW.cjs +0 -50
- package/lib/chunk-TMSNRZEW.cjs.map +0 -1
- package/lib/chunk-TRDTLOUY.js +0 -66
- package/lib/chunk-TRDTLOUY.js.map +0 -1
- package/lib/chunk-TTVTRX76.cjs +0 -93
- package/lib/chunk-TTVTRX76.cjs.map +0 -1
- package/lib/chunk-TUKV2ZIA.cjs +0 -52
- package/lib/chunk-TUKV2ZIA.cjs.map +0 -1
- package/lib/chunk-TVKGUM2Z.js +0 -99
- package/lib/chunk-TVKGUM2Z.js.map +0 -1
- package/lib/chunk-U6G7T5WX.cjs +0 -47
- package/lib/chunk-U6G7T5WX.cjs.map +0 -1
- package/lib/chunk-UFUZNSZI.cjs +0 -61
- package/lib/chunk-UFUZNSZI.cjs.map +0 -1
- package/lib/chunk-UHZABEQZ.js +0 -45
- package/lib/chunk-UHZABEQZ.js.map +0 -1
- package/lib/chunk-UIRXTLC6.cjs +0 -61
- package/lib/chunk-UIRXTLC6.cjs.map +0 -1
- package/lib/chunk-UJ4OEOZA.js +0 -87
- package/lib/chunk-UJ4OEOZA.js.map +0 -1
- package/lib/chunk-UL4JQZUD.cjs +0 -42
- package/lib/chunk-UL4JQZUD.cjs.map +0 -1
- package/lib/chunk-UNPVTCLZ.cjs +0 -47
- package/lib/chunk-UNPVTCLZ.cjs.map +0 -1
- package/lib/chunk-USP4O34Q.js +0 -28
- package/lib/chunk-USP4O34Q.js.map +0 -1
- package/lib/chunk-UTQEHWH2.js +0 -54
- package/lib/chunk-UTQEHWH2.js.map +0 -1
- package/lib/chunk-UV6BETTC.js +0 -48
- package/lib/chunk-UV6BETTC.js.map +0 -1
- package/lib/chunk-UXLDPLOA.js +0 -45
- package/lib/chunk-UXLDPLOA.js.map +0 -1
- package/lib/chunk-V6VQMQQX.js +0 -91
- package/lib/chunk-V6VQMQQX.js.map +0 -1
- package/lib/chunk-V74OBMS3.cjs +0 -95
- package/lib/chunk-V74OBMS3.cjs.map +0 -1
- package/lib/chunk-VA6VDBQS.js +0 -41
- package/lib/chunk-VA6VDBQS.js.map +0 -1
- package/lib/chunk-VB7XUWBF.cjs +0 -47
- package/lib/chunk-VB7XUWBF.cjs.map +0 -1
- package/lib/chunk-VESU72KU.js +0 -93
- package/lib/chunk-VESU72KU.js.map +0 -1
- package/lib/chunk-VEV4DZKI.cjs +0 -51
- package/lib/chunk-VEV4DZKI.cjs.map +0 -1
- package/lib/chunk-VI2NCCWC.js +0 -49
- package/lib/chunk-VI2NCCWC.js.map +0 -1
- package/lib/chunk-VTSEVEKJ.cjs +0 -53
- package/lib/chunk-VTSEVEKJ.cjs.map +0 -1
- package/lib/chunk-VUEZCOXT.cjs +0 -33
- package/lib/chunk-VUEZCOXT.cjs.map +0 -1
- package/lib/chunk-VVS2M4QH.js +0 -53
- package/lib/chunk-VVS2M4QH.js.map +0 -1
- package/lib/chunk-VWUS4YUX.js +0 -49
- package/lib/chunk-VWUS4YUX.js.map +0 -1
- package/lib/chunk-VXXJ3CIC.js +0 -49
- package/lib/chunk-VXXJ3CIC.js.map +0 -1
- package/lib/chunk-VZQLDW2G.cjs +0 -95
- package/lib/chunk-VZQLDW2G.cjs.map +0 -1
- package/lib/chunk-WKIAJGJO.js +0 -44
- package/lib/chunk-WKIAJGJO.js.map +0 -1
- package/lib/chunk-WMM5EI62.js +0 -24
- package/lib/chunk-WMM5EI62.js.map +0 -1
- package/lib/chunk-WO5PFLID.js +0 -45
- package/lib/chunk-WO5PFLID.js.map +0 -1
- package/lib/chunk-WWUZP5BE.cjs +0 -50
- package/lib/chunk-WWUZP5BE.cjs.map +0 -1
- package/lib/chunk-X55DEMOC.js +0 -45
- package/lib/chunk-X55DEMOC.js.map +0 -1
- package/lib/chunk-X5TTCMYD.cjs +0 -105
- package/lib/chunk-X5TTCMYD.cjs.map +0 -1
- package/lib/chunk-XEAXNFP4.js +0 -49
- package/lib/chunk-XEAXNFP4.js.map +0 -1
- package/lib/chunk-XK7ZO7EI.js +0 -40
- package/lib/chunk-XK7ZO7EI.js.map +0 -1
- package/lib/chunk-XPPCVN6T.cjs +0 -53
- package/lib/chunk-XPPCVN6T.cjs.map +0 -1
- package/lib/chunk-XREISFN4.cjs +0 -42
- package/lib/chunk-XREISFN4.cjs.map +0 -1
- package/lib/chunk-XU6ZCB7C.cjs +0 -47
- package/lib/chunk-XU6ZCB7C.cjs.map +0 -1
- package/lib/chunk-XWBNNCYU.cjs +0 -97
- package/lib/chunk-XWBNNCYU.cjs.map +0 -1
- package/lib/chunk-XWIVM4OM.cjs +0 -42
- package/lib/chunk-XWIVM4OM.cjs.map +0 -1
- package/lib/chunk-Y4GGZ4EQ.cjs +0 -101
- package/lib/chunk-Y4GGZ4EQ.cjs.map +0 -1
- package/lib/chunk-YBX7UV5N.cjs +0 -91
- package/lib/chunk-YBX7UV5N.cjs.map +0 -1
- package/lib/chunk-YETXFXFO.cjs +0 -550
- package/lib/chunk-YETXFXFO.cjs.map +0 -1
- package/lib/chunk-YFTJA634.js +0 -36
- package/lib/chunk-YFTJA634.js.map +0 -1
- package/lib/chunk-YNWHCH2N.cjs +0 -26
- package/lib/chunk-YNWHCH2N.cjs.map +0 -1
- package/lib/chunk-YRCCY6RV.js +0 -276
- package/lib/chunk-YRCCY6RV.js.map +0 -1
- package/lib/chunk-YYAEAKBO.cjs +0 -51
- package/lib/chunk-YYAEAKBO.cjs.map +0 -1
- package/lib/chunk-ZGX3A2OH.cjs +0 -42
- package/lib/chunk-ZGX3A2OH.cjs.map +0 -1
- package/lib/chunk-ZJE7A6E6.cjs +0 -39
- package/lib/chunk-ZJE7A6E6.cjs.map +0 -1
- package/lib/chunk-ZJGFUHDX.cjs +0 -54
- package/lib/chunk-ZJGFUHDX.cjs.map +0 -1
- package/lib/chunk-ZM2HKUHW.cjs +0 -50
- package/lib/chunk-ZM2HKUHW.cjs.map +0 -1
- package/lib/chunk-ZVSNJOYP.js +0 -51
- package/lib/chunk-ZVSNJOYP.js.map +0 -1
- package/lib/fetch-DQyRNxTg.d.cts +0 -55
- package/lib/fetch-DQyRNxTg.d.ts +0 -55
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/fixed_amount_promotions.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-PLWDHUYW.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { Coupon } from './coupons'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { PromotionRule } from './promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Sku } from './skus'\nimport type { Tag, TagType } from './tags'\n\n\ntype FixedAmountPromotionType = 'fixed_amount_promotions'\ntype FixedAmountPromotionRel = ResourceRel & { type: FixedAmountPromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type FixedAmountPromotionSort = Pick<FixedAmountPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort\n// export type FixedAmountPromotionFilter = Pick<FixedAmountPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceFilter\n\n\ninterface FixedAmountPromotion extends Resource {\n\t\n\treadonly type: FixedAmountPromotionType\n\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * The number of times this promotion has been applied.\n\t * @example ```2```\n\t */\n\ttotal_usage_count?: number | null\n\t/** \n\t * Indicates if the promotion has been applied the total number of allowed times.\n\t */\n\ttotal_usage_reached?: boolean | null\n\t/** \n\t * Indicates if the promotion is active (enabled and not expired).\n\t * @example ```true```\n\t */\n\tactive?: boolean | null\n\t/** \n\t * The promotion status. One of 'disabled', 'expired', 'pending', 'active', or 'inactive'.\n\t * @example ```\"pending\"```\n\t */\n\tstatus?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null\n\t/** \n\t * The weight of the promotion, computed by exclusivity, priority, type and start time. Determines the order of application, higher weight apply first.\n\t * @example ```112```\n\t */\n\tweight?: number | null\n\t/** \n\t * The total number of coupons created for this promotion.\n\t * @example ```2```\n\t */\n\tcoupons_count?: number | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The discount fixed amount to be applied, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents: number\n\t/** \n\t * The discount fixed amount to be applied, float.\n\t * @example ```10```\n\t */\n\tfixed_amount_float?: number | null\n\t/** \n\t * The discount fixed amount to be applied, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_fixed_amount?: string | null\n\n\tmarket?: Market | null\n\tpromotion_rules?: PromotionRule[] | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRule | null\n\tsku_list_promotion_rule?: SkuListPromotionRule | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n\tcustom_promotion_rule?: CustomPromotionRule | null\n\tsku_list?: SkuList | null\n\tcoupons?: Coupon[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tevent_stores?: EventStore[] | null\n\tskus?: Sku[] | null\n\n}\n\n\ninterface FixedAmountPromotionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The discount fixed amount to be applied, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents: number\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface FixedAmountPromotionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at?: string | null\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\t/** \n\t * The discount fixed amount to be applied, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents?: number | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass FixedAmountPromotions extends ApiResource<FixedAmountPromotion> {\n\n\tstatic readonly TYPE: FixedAmountPromotionType = 'fixed_amount_promotions' as const\n\n\tasync create(resource: FixedAmountPromotionCreate, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion> {\n\t\treturn this.resources.create<FixedAmountPromotionCreate, FixedAmountPromotion>({ ...resource, type: FixedAmountPromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: FixedAmountPromotionUpdate, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion> {\n\t\treturn this.resources.update<FixedAmountPromotionUpdate, FixedAmountPromotion>({ ...resource, type: FixedAmountPromotions.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: FixedAmountPromotions.TYPE } : id, options)\n\t}\n\n\tasync market(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _fixedAmountPromotionId = (fixedAmountPromotionId as FixedAmountPromotion).id || fixedAmountPromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _fixedAmountPromotionId = (fixedAmountPromotionId as FixedAmountPromotion).id || fixedAmountPromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _fixedAmountPromotionId = (fixedAmountPromotionId as FixedAmountPromotion).id || fixedAmountPromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _fixedAmountPromotionId = (fixedAmountPromotionId as FixedAmountPromotion).id || fixedAmountPromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _fixedAmountPromotionId = (fixedAmountPromotionId as FixedAmountPromotion).id || fixedAmountPromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _fixedAmountPromotionId = (fixedAmountPromotionId as FixedAmountPromotion).id || fixedAmountPromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _fixedAmountPromotionId = (fixedAmountPromotionId as FixedAmountPromotion).id || fixedAmountPromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _fixedAmountPromotionId = (fixedAmountPromotionId as FixedAmountPromotion).id || fixedAmountPromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _fixedAmountPromotionId = (fixedAmountPromotionId as FixedAmountPromotion).id || fixedAmountPromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _fixedAmountPromotionId = (fixedAmountPromotionId as FixedAmountPromotion).id || fixedAmountPromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync event_stores(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _fixedAmountPromotionId = (fixedAmountPromotionId as FixedAmountPromotion).id || fixedAmountPromotionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync skus(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _fixedAmountPromotionId = (fixedAmountPromotionId as FixedAmountPromotion).id || fixedAmountPromotionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync _disable(id: string | FixedAmountPromotion, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion> {\n\t\treturn this.resources.update<FixedAmountPromotionUpdate, FixedAmountPromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedAmountPromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | FixedAmountPromotion, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion> {\n\t\treturn this.resources.update<FixedAmountPromotionUpdate, FixedAmountPromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedAmountPromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | FixedAmountPromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion> {\n\t\treturn this.resources.update<FixedAmountPromotionUpdate, FixedAmountPromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedAmountPromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | FixedAmountPromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion> {\n\t\treturn this.resources.update<FixedAmountPromotionUpdate, FixedAmountPromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedAmountPromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisFixedAmountPromotion(resource: any): resource is FixedAmountPromotion {\n\t\treturn resource.type && (resource.type === FixedAmountPromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): FixedAmountPromotionRel {\n\t\treturn super.relationshipOneToOne<FixedAmountPromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): FixedAmountPromotionRel[] {\n\t\treturn super.relationshipOneToMany<FixedAmountPromotionRel>(...ids)\n\t}\n\n\n\ttype(): FixedAmountPromotionType {\n\t\treturn FixedAmountPromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new FixedAmountPromotions()\nexport default instance\n\nexport type { FixedAmountPromotion, FixedAmountPromotionCreate, FixedAmountPromotions, FixedAmountPromotionType, FixedAmountPromotionUpdate }\n"]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkY56DKJ4Z_cjs = require('./chunk-Y56DKJ4Z.cjs');
|
|
4
|
+
|
|
5
|
+
// src/resources/notifications.ts
|
|
6
|
+
var Notifications = class _Notifications extends chunkY56DKJ4Z_cjs.ApiResource {
|
|
7
|
+
static TYPE = "notifications";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create({ ...resource, type: _Notifications.TYPE }, params, options);
|
|
10
|
+
}
|
|
11
|
+
async update(resource, params, options) {
|
|
12
|
+
return this.resources.update({ ...resource, type: _Notifications.TYPE }, params, options);
|
|
13
|
+
}
|
|
14
|
+
async delete(id, options) {
|
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _Notifications.TYPE } : id, options);
|
|
16
|
+
}
|
|
17
|
+
async event_stores(notificationId, params, options) {
|
|
18
|
+
const _notificationId = notificationId.id || notificationId;
|
|
19
|
+
return this.resources.fetch({ type: "event_stores" }, `notifications/${_notificationId}/event_stores`, params, options);
|
|
20
|
+
}
|
|
21
|
+
isNotification(resource) {
|
|
22
|
+
return resource.type && resource.type === _Notifications.TYPE;
|
|
23
|
+
}
|
|
24
|
+
relationship(id) {
|
|
25
|
+
return super.relationshipOneToOne(id);
|
|
26
|
+
}
|
|
27
|
+
relationshipToMany(...ids) {
|
|
28
|
+
return super.relationshipOneToMany(...ids);
|
|
29
|
+
}
|
|
30
|
+
type() {
|
|
31
|
+
return _Notifications.TYPE;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
var instance = new Notifications();
|
|
35
|
+
var notifications_default = instance;
|
|
36
|
+
|
|
37
|
+
exports.notifications_default = notifications_default;
|
|
38
|
+
//# sourceMappingURL=chunk-PX5VMNOJ.cjs.map
|
|
39
|
+
//# sourceMappingURL=chunk-PX5VMNOJ.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/notifications.ts"],"names":["ApiResource"],"mappings":";;;;;AA0FA,IAAM,aAAA,GAAN,MAAM,cAAA,SAAsBA,6BAAA,CAA0B;AAAA,EAErD,OAAgB,IAAA,GAAyB,eAAA;AAAA,EAEzC,MAAM,MAAA,CAAO,QAAA,EAA8B,MAAA,EAA4C,OAAA,EAAkD;AACxI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAyC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,cAAA,CAAc,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC1H;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA8B,MAAA,EAA4C,OAAA,EAAkD;AACxI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAyC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,cAAA,CAAc,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC1H;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,cAAA,CAAc,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACrG;AAAA,EAEA,MAAM,YAAA,CAAa,cAAA,EAAuC,MAAA,EAAsC,OAAA,EAA8D;AAC7J,IAAA,MAAM,eAAA,GAAmB,eAAgC,EAAA,IAAM,cAAA;AAC/D,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,cAAA,EAAiB,eAAe,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACnI;AAAA,EAGA,eAAe,QAAA,EAAyC;AACvD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,cAAA,CAAc,IAAA;AAAA,EAC1D;AAAA,EAGA,aAAa,EAAA,EAAiD;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAsC,EAAE,CAAA;AAAA,EACtD;AAAA,EAEA,sBAAsB,GAAA,EAAkC;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAuC,GAAG,GAAG,CAAA;AAAA,EAC3D;AAAA,EAGA,IAAA,GAAyB;AACxB,IAAA,OAAO,cAAA,CAAc,IAAA;AAAA,EACtB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,aAAA,EAAc;AACnC,IAAO,qBAAA,GAAQ","file":"chunk-PX5VMNOJ.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\n\nimport type { EventStore } from './event_stores'\nimport type { LineItem, LineItemType } from './line_items'\nimport type { Order, OrderType } from './orders'\nimport type { ShippingMethod, ShippingMethodType } from './shipping_methods'\n\n\ntype NotificationType = 'notifications'\ntype NotificationRel = ResourceRel & { type: NotificationType }\ntype LineItemRel = ResourceRel & { type: LineItemType }\ntype OrderRel = ResourceRel & { type: OrderType }\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\n\n\nexport type NotificationSort = Pick<Notification, 'id' | 'name' | 'flash'> & ResourceSort\n// export type NotificationFilter = Pick<Notification, 'id' | 'name' | 'flash'> & ResourceFilter\n\n\ninterface Notification extends Resource {\n\t\n\treadonly type: NotificationType\n\n\t/** \n\t * The internal name of the notification.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the notification is temporary, valid for the ones created by external services.\n\t */\n\tflash?: boolean | null\n\t/** \n\t * An internal body of the notification.\n\t * @example ```{\"sku\":\"REDHANDBAG\",\"name\":\"Enjoy your free item\"}```\n\t */\n\tbody?: Record<string, any> | null\n\n\tnotifiable?: LineItem | Order | ShippingMethod | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface NotificationCreate extends ResourceCreate {\n\t\n\t/** \n\t * The internal name of the notification.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the notification is temporary, valid for the ones created by external services.\n\t */\n\tflash?: boolean | null\n\t/** \n\t * An internal body of the notification.\n\t * @example ```{\"sku\":\"REDHANDBAG\",\"name\":\"Enjoy your free item\"}```\n\t */\n\tbody?: Record<string, any> | null\n\n\tnotifiable: LineItemRel | OrderRel | ShippingMethodRel\n\n}\n\n\ninterface NotificationUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The internal name of the notification.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Indicates if the notification is temporary, valid for the ones created by external services.\n\t */\n\tflash?: boolean | null\n\t/** \n\t * An internal body of the notification.\n\t * @example ```{\"sku\":\"REDHANDBAG\",\"name\":\"Enjoy your free item\"}```\n\t */\n\tbody?: Record<string, any> | null\n\n\tnotifiable?: LineItemRel | OrderRel | ShippingMethodRel | null\n\n}\n\n\nclass Notifications extends ApiResource<Notification> {\n\n\tstatic readonly TYPE: NotificationType = 'notifications' as const\n\n\tasync create(resource: NotificationCreate, params?: QueryParamsRetrieve<Notification>, options?: ResourcesConfig): Promise<Notification> {\n\t\treturn this.resources.create<NotificationCreate, Notification>({ ...resource, type: Notifications.TYPE }, params, options)\n\t}\n\n\tasync update(resource: NotificationUpdate, params?: QueryParamsRetrieve<Notification>, options?: ResourcesConfig): Promise<Notification> {\n\t\treturn this.resources.update<NotificationUpdate, Notification>({ ...resource, type: Notifications.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: Notifications.TYPE } : id, options)\n\t}\n\n\tasync event_stores(notificationId: string | Notification, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _notificationId = (notificationId as Notification).id || notificationId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `notifications/${_notificationId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisNotification(resource: any): resource is Notification {\n\t\treturn resource.type && (resource.type === Notifications.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): NotificationRel {\n\t\treturn super.relationshipOneToOne<NotificationRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): NotificationRel[] {\n\t\treturn super.relationshipOneToMany<NotificationRel>(...ids)\n\t}\n\n\n\ttype(): NotificationType {\n\t\treturn Notifications.TYPE\n\t}\n\n}\n\n\nconst instance = new Notifications()\nexport default instance\n\nexport type { Notification, NotificationCreate, Notifications, NotificationType, NotificationUpdate }\n"]}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-USIBTSYD.js';
|
|
2
|
+
|
|
3
|
+
// src/resources/price_volume_tiers.ts
|
|
4
|
+
var PriceVolumeTiers = class _PriceVolumeTiers extends ApiResource {
|
|
5
|
+
static TYPE = "price_volume_tiers";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create({ ...resource, type: _PriceVolumeTiers.TYPE }, params, options);
|
|
8
|
+
}
|
|
9
|
+
async update(resource, params, options) {
|
|
10
|
+
return this.resources.update({ ...resource, type: _PriceVolumeTiers.TYPE }, params, options);
|
|
11
|
+
}
|
|
12
|
+
async delete(id, options) {
|
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _PriceVolumeTiers.TYPE } : id, options);
|
|
14
|
+
}
|
|
15
|
+
async price(priceVolumeTierId, params, options) {
|
|
16
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
17
|
+
return this.resources.fetch({ type: "prices" }, `price_volume_tiers/${_priceVolumeTierId}/price`, params, options);
|
|
18
|
+
}
|
|
19
|
+
async attachments(priceVolumeTierId, params, options) {
|
|
20
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
21
|
+
return this.resources.fetch({ type: "attachments" }, `price_volume_tiers/${_priceVolumeTierId}/attachments`, params, options);
|
|
22
|
+
}
|
|
23
|
+
async event_stores(priceVolumeTierId, params, options) {
|
|
24
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
25
|
+
return this.resources.fetch({ type: "event_stores" }, `price_volume_tiers/${_priceVolumeTierId}/event_stores`, params, options);
|
|
26
|
+
}
|
|
27
|
+
async events(priceVolumeTierId, params, options) {
|
|
28
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
29
|
+
return this.resources.fetch({ type: "events" }, `price_volume_tiers/${_priceVolumeTierId}/events`, params, options);
|
|
30
|
+
}
|
|
31
|
+
isPriceVolumeTier(resource) {
|
|
32
|
+
return resource.type && resource.type === _PriceVolumeTiers.TYPE;
|
|
33
|
+
}
|
|
34
|
+
relationship(id) {
|
|
35
|
+
return super.relationshipOneToOne(id);
|
|
36
|
+
}
|
|
37
|
+
relationshipToMany(...ids) {
|
|
38
|
+
return super.relationshipOneToMany(...ids);
|
|
39
|
+
}
|
|
40
|
+
type() {
|
|
41
|
+
return _PriceVolumeTiers.TYPE;
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
var instance = new PriceVolumeTiers();
|
|
45
|
+
var price_volume_tiers_default = instance;
|
|
46
|
+
|
|
47
|
+
export { price_volume_tiers_default };
|
|
48
|
+
//# sourceMappingURL=chunk-PYJG4KKQ.js.map
|
|
49
|
+
//# sourceMappingURL=chunk-PYJG4KKQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/price_volume_tiers.ts"],"names":[],"mappings":"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","file":"chunk-PYJG4KKQ.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Price, PriceType } from './prices'\n\n\ntype PriceVolumeTierType = 'price_volume_tiers'\ntype PriceVolumeTierRel = ResourceRel & { type: PriceVolumeTierType }\ntype PriceRel = ResourceRel & { type: PriceType }\n\n\nexport type PriceVolumeTierSort = Pick<PriceVolumeTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceSort\n// export type PriceVolumeTierFilter = Pick<PriceVolumeTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceFilter\n\n\ninterface PriceVolumeTier extends Resource {\n\t\n\treadonly type: PriceVolumeTierType\n\n\t/** \n\t * The price tier's name.\n\t * @example ```\"six pack\"```\n\t */\n\tname: string\n\t/** \n\t * The tier upper limit, expressed as the line item quantity. When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```15```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this price tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\t/** \n\t * The price of this price tier, float.\n\t * @example ```10```\n\t */\n\tprice_amount_float?: number | null\n\t/** \n\t * The price of this price tier, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_price_amount?: string | null\n\n\tprice?: Price | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\tevents?: Event[] | null\n\n}\n\n\ninterface PriceVolumeTierCreate extends ResourceCreate {\n\t\n\t/** \n\t * The price tier's name.\n\t * @example ```\"six pack\"```\n\t */\n\tname: string\n\t/** \n\t * The tier upper limit, expressed as the line item quantity. When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```15```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this price tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\n\tprice: PriceRel\n\n}\n\n\ninterface PriceVolumeTierUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The price tier's name.\n\t * @example ```\"six pack\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The tier upper limit, expressed as the line item quantity. When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```15```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this price tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents?: number | null\n\n\tprice?: PriceRel | null\n\n}\n\n\nclass PriceVolumeTiers extends ApiResource<PriceVolumeTier> {\n\n\tstatic readonly TYPE: PriceVolumeTierType = 'price_volume_tiers' as const\n\n\tasync create(resource: PriceVolumeTierCreate, params?: QueryParamsRetrieve<PriceVolumeTier>, options?: ResourcesConfig): Promise<PriceVolumeTier> {\n\t\treturn this.resources.create<PriceVolumeTierCreate, PriceVolumeTier>({ ...resource, type: PriceVolumeTiers.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PriceVolumeTierUpdate, params?: QueryParamsRetrieve<PriceVolumeTier>, options?: ResourcesConfig): Promise<PriceVolumeTier> {\n\t\treturn this.resources.update<PriceVolumeTierUpdate, PriceVolumeTier>({ ...resource, type: PriceVolumeTiers.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: PriceVolumeTiers.TYPE } : id, options)\n\t}\n\n\tasync price(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price> {\n\t\tconst _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || priceVolumeTierId as string\n\t\treturn this.resources.fetch<Price>({ type: 'prices' }, `price_volume_tiers/${_priceVolumeTierId}/price`, params, options) as unknown as Price\n\t}\n\n\tasync attachments(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || priceVolumeTierId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `price_volume_tiers/${_priceVolumeTierId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || priceVolumeTierId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `price_volume_tiers/${_priceVolumeTierId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync events(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || priceVolumeTierId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `price_volume_tiers/${_priceVolumeTierId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\n\tisPriceVolumeTier(resource: any): resource is PriceVolumeTier {\n\t\treturn resource.type && (resource.type === PriceVolumeTiers.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PriceVolumeTierRel {\n\t\treturn super.relationshipOneToOne<PriceVolumeTierRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PriceVolumeTierRel[] {\n\t\treturn super.relationshipOneToMany<PriceVolumeTierRel>(...ids)\n\t}\n\n\n\ttype(): PriceVolumeTierType {\n\t\treturn PriceVolumeTiers.TYPE\n\t}\n\n}\n\n\nconst instance = new PriceVolumeTiers()\nexport default instance\n\nexport type { PriceVolumeTier, PriceVolumeTierCreate, PriceVolumeTiers, PriceVolumeTierType, PriceVolumeTierUpdate }\n"]}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkY56DKJ4Z_cjs = require('./chunk-Y56DKJ4Z.cjs');
|
|
4
|
+
|
|
5
|
+
// src/resources/price_volume_tiers.ts
|
|
6
|
+
var PriceVolumeTiers = class _PriceVolumeTiers extends chunkY56DKJ4Z_cjs.ApiResource {
|
|
7
|
+
static TYPE = "price_volume_tiers";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create({ ...resource, type: _PriceVolumeTiers.TYPE }, params, options);
|
|
10
|
+
}
|
|
11
|
+
async update(resource, params, options) {
|
|
12
|
+
return this.resources.update({ ...resource, type: _PriceVolumeTiers.TYPE }, params, options);
|
|
13
|
+
}
|
|
14
|
+
async delete(id, options) {
|
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _PriceVolumeTiers.TYPE } : id, options);
|
|
16
|
+
}
|
|
17
|
+
async price(priceVolumeTierId, params, options) {
|
|
18
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
19
|
+
return this.resources.fetch({ type: "prices" }, `price_volume_tiers/${_priceVolumeTierId}/price`, params, options);
|
|
20
|
+
}
|
|
21
|
+
async attachments(priceVolumeTierId, params, options) {
|
|
22
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
23
|
+
return this.resources.fetch({ type: "attachments" }, `price_volume_tiers/${_priceVolumeTierId}/attachments`, params, options);
|
|
24
|
+
}
|
|
25
|
+
async event_stores(priceVolumeTierId, params, options) {
|
|
26
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
27
|
+
return this.resources.fetch({ type: "event_stores" }, `price_volume_tiers/${_priceVolumeTierId}/event_stores`, params, options);
|
|
28
|
+
}
|
|
29
|
+
async events(priceVolumeTierId, params, options) {
|
|
30
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
31
|
+
return this.resources.fetch({ type: "events" }, `price_volume_tiers/${_priceVolumeTierId}/events`, params, options);
|
|
32
|
+
}
|
|
33
|
+
isPriceVolumeTier(resource) {
|
|
34
|
+
return resource.type && resource.type === _PriceVolumeTiers.TYPE;
|
|
35
|
+
}
|
|
36
|
+
relationship(id) {
|
|
37
|
+
return super.relationshipOneToOne(id);
|
|
38
|
+
}
|
|
39
|
+
relationshipToMany(...ids) {
|
|
40
|
+
return super.relationshipOneToMany(...ids);
|
|
41
|
+
}
|
|
42
|
+
type() {
|
|
43
|
+
return _PriceVolumeTiers.TYPE;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
var instance = new PriceVolumeTiers();
|
|
47
|
+
var price_volume_tiers_default = instance;
|
|
48
|
+
|
|
49
|
+
exports.price_volume_tiers_default = price_volume_tiers_default;
|
|
50
|
+
//# sourceMappingURL=chunk-Q3NXEKVS.cjs.map
|
|
51
|
+
//# sourceMappingURL=chunk-Q3NXEKVS.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/price_volume_tiers.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-Q3NXEKVS.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Price, PriceType } from './prices'\n\n\ntype PriceVolumeTierType = 'price_volume_tiers'\ntype PriceVolumeTierRel = ResourceRel & { type: PriceVolumeTierType }\ntype PriceRel = ResourceRel & { type: PriceType }\n\n\nexport type PriceVolumeTierSort = Pick<PriceVolumeTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceSort\n// export type PriceVolumeTierFilter = Pick<PriceVolumeTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceFilter\n\n\ninterface PriceVolumeTier extends Resource {\n\t\n\treadonly type: PriceVolumeTierType\n\n\t/** \n\t * The price tier's name.\n\t * @example ```\"six pack\"```\n\t */\n\tname: string\n\t/** \n\t * The tier upper limit, expressed as the line item quantity. When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```15```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this price tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\t/** \n\t * The price of this price tier, float.\n\t * @example ```10```\n\t */\n\tprice_amount_float?: number | null\n\t/** \n\t * The price of this price tier, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_price_amount?: string | null\n\n\tprice?: Price | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\tevents?: Event[] | null\n\n}\n\n\ninterface PriceVolumeTierCreate extends ResourceCreate {\n\t\n\t/** \n\t * The price tier's name.\n\t * @example ```\"six pack\"```\n\t */\n\tname: string\n\t/** \n\t * The tier upper limit, expressed as the line item quantity. When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```15```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this price tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\n\tprice: PriceRel\n\n}\n\n\ninterface PriceVolumeTierUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The price tier's name.\n\t * @example ```\"six pack\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The tier upper limit, expressed as the line item quantity. When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```15```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this price tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents?: number | null\n\n\tprice?: PriceRel | null\n\n}\n\n\nclass PriceVolumeTiers extends ApiResource<PriceVolumeTier> {\n\n\tstatic readonly TYPE: PriceVolumeTierType = 'price_volume_tiers' as const\n\n\tasync create(resource: PriceVolumeTierCreate, params?: QueryParamsRetrieve<PriceVolumeTier>, options?: ResourcesConfig): Promise<PriceVolumeTier> {\n\t\treturn this.resources.create<PriceVolumeTierCreate, PriceVolumeTier>({ ...resource, type: PriceVolumeTiers.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PriceVolumeTierUpdate, params?: QueryParamsRetrieve<PriceVolumeTier>, options?: ResourcesConfig): Promise<PriceVolumeTier> {\n\t\treturn this.resources.update<PriceVolumeTierUpdate, PriceVolumeTier>({ ...resource, type: PriceVolumeTiers.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: PriceVolumeTiers.TYPE } : id, options)\n\t}\n\n\tasync price(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price> {\n\t\tconst _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || priceVolumeTierId as string\n\t\treturn this.resources.fetch<Price>({ type: 'prices' }, `price_volume_tiers/${_priceVolumeTierId}/price`, params, options) as unknown as Price\n\t}\n\n\tasync attachments(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || priceVolumeTierId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `price_volume_tiers/${_priceVolumeTierId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || priceVolumeTierId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `price_volume_tiers/${_priceVolumeTierId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync events(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || priceVolumeTierId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `price_volume_tiers/${_priceVolumeTierId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\n\tisPriceVolumeTier(resource: any): resource is PriceVolumeTier {\n\t\treturn resource.type && (resource.type === PriceVolumeTiers.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PriceVolumeTierRel {\n\t\treturn super.relationshipOneToOne<PriceVolumeTierRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PriceVolumeTierRel[] {\n\t\treturn super.relationshipOneToMany<PriceVolumeTierRel>(...ids)\n\t}\n\n\n\ttype(): PriceVolumeTierType {\n\t\treturn PriceVolumeTiers.TYPE\n\t}\n\n}\n\n\nconst instance = new PriceVolumeTiers()\nexport default instance\n\nexport type { PriceVolumeTier, PriceVolumeTierCreate, PriceVolumeTiers, PriceVolumeTierType, PriceVolumeTierUpdate }\n"]}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-USIBTSYD.js';
|
|
2
|
+
|
|
3
|
+
// src/resources/webhooks.ts
|
|
4
|
+
var Webhooks = class _Webhooks extends ApiResource {
|
|
5
|
+
static TYPE = "webhooks";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create({ ...resource, type: _Webhooks.TYPE }, params, options);
|
|
8
|
+
}
|
|
9
|
+
async update(resource, params, options) {
|
|
10
|
+
return this.resources.update({ ...resource, type: _Webhooks.TYPE }, params, options);
|
|
11
|
+
}
|
|
12
|
+
async delete(id, options) {
|
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _Webhooks.TYPE } : id, options);
|
|
14
|
+
}
|
|
15
|
+
async last_event_callbacks(webhookId, params, options) {
|
|
16
|
+
const _webhookId = webhookId.id || webhookId;
|
|
17
|
+
return this.resources.fetch({ type: "event_callbacks" }, `webhooks/${_webhookId}/last_event_callbacks`, params, options);
|
|
18
|
+
}
|
|
19
|
+
async event_stores(webhookId, params, options) {
|
|
20
|
+
const _webhookId = webhookId.id || webhookId;
|
|
21
|
+
return this.resources.fetch({ type: "event_stores" }, `webhooks/${_webhookId}/event_stores`, params, options);
|
|
22
|
+
}
|
|
23
|
+
async _disable(id, params, options) {
|
|
24
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Webhooks.TYPE, _disable: true }, params, options);
|
|
25
|
+
}
|
|
26
|
+
async _enable(id, params, options) {
|
|
27
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Webhooks.TYPE, _enable: true }, params, options);
|
|
28
|
+
}
|
|
29
|
+
async _reset_circuit(id, params, options) {
|
|
30
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Webhooks.TYPE, _reset_circuit: true }, params, options);
|
|
31
|
+
}
|
|
32
|
+
async _regenerate_shared_secret(id, params, options) {
|
|
33
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Webhooks.TYPE, _regenerate_shared_secret: true }, params, options);
|
|
34
|
+
}
|
|
35
|
+
isWebhook(resource) {
|
|
36
|
+
return resource.type && resource.type === _Webhooks.TYPE;
|
|
37
|
+
}
|
|
38
|
+
relationship(id) {
|
|
39
|
+
return super.relationshipOneToOne(id);
|
|
40
|
+
}
|
|
41
|
+
relationshipToMany(...ids) {
|
|
42
|
+
return super.relationshipOneToMany(...ids);
|
|
43
|
+
}
|
|
44
|
+
type() {
|
|
45
|
+
return _Webhooks.TYPE;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
var instance = new Webhooks();
|
|
49
|
+
var webhooks_default = instance;
|
|
50
|
+
|
|
51
|
+
export { webhooks_default };
|
|
52
|
+
//# sourceMappingURL=chunk-Q3QW53MA.js.map
|
|
53
|
+
//# sourceMappingURL=chunk-Q3QW53MA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"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","file":"chunk-Q3QW53MA.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\n\nimport type { EventCallback } from './event_callbacks'\nimport type { EventStore } from './event_stores'\n\n\ntype WebhookType = 'webhooks'\ntype WebhookRel = ResourceRel & { type: WebhookType }\n\n\nexport type WebhookSort = Pick<Webhook, 'id' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort\n// export type WebhookFilter = Pick<Webhook, 'id' | 'name' | 'topic' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceFilter\n\n\ninterface Webhook extends Resource {\n\t\n\treadonly type: WebhookType\n\n\t/** \n\t * Unique name for the webhook.\n\t * @example ```\"myorg-orders.place\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The identifier of the resource/event that will trigger the webhook.\n\t * @example ```\"orders.place\"```\n\t */\n\ttopic: string\n\t/** \n\t * URI where the webhook subscription should send the POST request when the event occurs.\n\t * @example ```\"https://yourapp.com/webhooks\"```\n\t */\n\tcallback_url: string\n\t/** \n\t * List of related resources that should be included in the webhook body.\n\t * @example ```[\"customer\",\"shipping_address\",\"billing_address\"]```\n\t */\n\tinclude_resources?: string[] | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.\n\t * @example ```\"closed\"```\n\t */\n\tcircuit_state?: string | null\n\t/** \n\t * The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.\n\t * @example ```5```\n\t */\n\tcircuit_failure_count?: number | null\n\t/** \n\t * The shared secret used to sign the external request payload.\n\t * @example ```\"1c0994cc4e996e8c6ee56a2198f66f3c\"```\n\t */\n\tshared_secret: string\n\n\tlast_event_callbacks?: EventCallback[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface WebhookCreate extends ResourceCreate {\n\t\n\t/** \n\t * Unique name for the webhook.\n\t * @example ```\"myorg-orders.place\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The identifier of the resource/event that will trigger the webhook.\n\t * @example ```\"orders.place\"```\n\t */\n\ttopic: string\n\t/** \n\t * URI where the webhook subscription should send the POST request when the event occurs.\n\t * @example ```\"https://yourapp.com/webhooks\"```\n\t */\n\tcallback_url: string\n\t/** \n\t * List of related resources that should be included in the webhook body.\n\t * @example ```[\"customer\",\"shipping_address\",\"billing_address\"]```\n\t */\n\tinclude_resources?: string[] | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t\n}\n\n\ninterface WebhookUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * Unique name for the webhook.\n\t * @example ```\"myorg-orders.place\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The identifier of the resource/event that will trigger the webhook.\n\t * @example ```\"orders.place\"```\n\t */\n\ttopic?: string | null\n\t/** \n\t * URI where the webhook subscription should send the POST request when the event occurs.\n\t * @example ```\"https://yourapp.com/webhooks\"```\n\t */\n\tcallback_url?: string | null\n\t/** \n\t * List of related resources that should be included in the webhook body.\n\t * @example ```[\"customer\",\"shipping_address\",\"billing_address\"]```\n\t */\n\tinclude_resources?: string[] | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.\n\t * @example ```true```\n\t */\n\t_reset_circuit?: boolean | null\n\t/** \n\t * Send this attribute if you want to regenerate the shared secret.\n\t * @example ```true```\n\t */\n\t_regenerate_shared_secret?: boolean | null\n\t\n}\n\n\nclass Webhooks extends ApiResource<Webhook> {\n\n\tstatic readonly TYPE: WebhookType = 'webhooks' as const\n\n\tasync create(resource: WebhookCreate, params?: QueryParamsRetrieve<Webhook>, options?: ResourcesConfig): Promise<Webhook> {\n\t\treturn this.resources.create<WebhookCreate, Webhook>({ ...resource, type: Webhooks.TYPE }, params, options)\n\t}\n\n\tasync update(resource: WebhookUpdate, params?: QueryParamsRetrieve<Webhook>, options?: ResourcesConfig): Promise<Webhook> {\n\t\treturn this.resources.update<WebhookUpdate, Webhook>({ ...resource, type: Webhooks.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: Webhooks.TYPE } : id, options)\n\t}\n\n\tasync last_event_callbacks(webhookId: string | Webhook, params?: QueryParamsList<EventCallback>, options?: ResourcesConfig): Promise<ListResponse<EventCallback>> {\n\t\tconst _webhookId = (webhookId as Webhook).id || webhookId as string\n\t\treturn this.resources.fetch<EventCallback>({ type: 'event_callbacks' }, `webhooks/${_webhookId}/last_event_callbacks`, params, options) as unknown as ListResponse<EventCallback>\n\t}\n\n\tasync event_stores(webhookId: string | Webhook, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _webhookId = (webhookId as Webhook).id || webhookId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `webhooks/${_webhookId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _disable(id: string | Webhook, params?: QueryParamsRetrieve<Webhook>, options?: ResourcesConfig): Promise<Webhook> {\n\t\treturn this.resources.update<WebhookUpdate, Webhook>({ id: (typeof id === 'string')? id: id.id, type: Webhooks.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | Webhook, params?: QueryParamsRetrieve<Webhook>, options?: ResourcesConfig): Promise<Webhook> {\n\t\treturn this.resources.update<WebhookUpdate, Webhook>({ id: (typeof id === 'string')? id: id.id, type: Webhooks.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _reset_circuit(id: string | Webhook, params?: QueryParamsRetrieve<Webhook>, options?: ResourcesConfig): Promise<Webhook> {\n\t\treturn this.resources.update<WebhookUpdate, Webhook>({ id: (typeof id === 'string')? id: id.id, type: Webhooks.TYPE, _reset_circuit: true }, params, options)\n\t}\n\n\tasync _regenerate_shared_secret(id: string | Webhook, params?: QueryParamsRetrieve<Webhook>, options?: ResourcesConfig): Promise<Webhook> {\n\t\treturn this.resources.update<WebhookUpdate, Webhook>({ id: (typeof id === 'string')? id: id.id, type: Webhooks.TYPE, _regenerate_shared_secret: true }, params, options)\n\t}\n\n\n\tisWebhook(resource: any): resource is Webhook {\n\t\treturn resource.type && (resource.type === Webhooks.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): WebhookRel {\n\t\treturn super.relationshipOneToOne<WebhookRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): WebhookRel[] {\n\t\treturn super.relationshipOneToMany<WebhookRel>(...ids)\n\t}\n\n\n\ttype(): WebhookType {\n\t\treturn Webhooks.TYPE\n\t}\n\n}\n\n\nconst instance = new Webhooks()\nexport default instance\n\nexport type { Webhook, WebhookCreate, Webhooks, WebhookType, WebhookUpdate }\n"]}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkY56DKJ4Z_cjs = require('./chunk-Y56DKJ4Z.cjs');
|
|
4
|
+
|
|
5
|
+
// src/resources/vertex_accounts.ts
|
|
6
|
+
var VertexAccounts = class _VertexAccounts extends chunkY56DKJ4Z_cjs.ApiResource {
|
|
7
|
+
static TYPE = "vertex_accounts";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create({ ...resource, type: _VertexAccounts.TYPE }, params, options);
|
|
10
|
+
}
|
|
11
|
+
async update(resource, params, options) {
|
|
12
|
+
return this.resources.update({ ...resource, type: _VertexAccounts.TYPE }, params, options);
|
|
13
|
+
}
|
|
14
|
+
async delete(id, options) {
|
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _VertexAccounts.TYPE } : id, options);
|
|
16
|
+
}
|
|
17
|
+
async markets(vertexAccountId, params, options) {
|
|
18
|
+
const _vertexAccountId = vertexAccountId.id || vertexAccountId;
|
|
19
|
+
return this.resources.fetch({ type: "markets" }, `vertex_accounts/${_vertexAccountId}/markets`, params, options);
|
|
20
|
+
}
|
|
21
|
+
async attachments(vertexAccountId, params, options) {
|
|
22
|
+
const _vertexAccountId = vertexAccountId.id || vertexAccountId;
|
|
23
|
+
return this.resources.fetch({ type: "attachments" }, `vertex_accounts/${_vertexAccountId}/attachments`, params, options);
|
|
24
|
+
}
|
|
25
|
+
async events(vertexAccountId, params, options) {
|
|
26
|
+
const _vertexAccountId = vertexAccountId.id || vertexAccountId;
|
|
27
|
+
return this.resources.fetch({ type: "events" }, `vertex_accounts/${_vertexAccountId}/events`, params, options);
|
|
28
|
+
}
|
|
29
|
+
async event_stores(vertexAccountId, params, options) {
|
|
30
|
+
const _vertexAccountId = vertexAccountId.id || vertexAccountId;
|
|
31
|
+
return this.resources.fetch({ type: "event_stores" }, `vertex_accounts/${_vertexAccountId}/event_stores`, params, options);
|
|
32
|
+
}
|
|
33
|
+
async _refresh_token(id, params, options) {
|
|
34
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _VertexAccounts.TYPE, _refresh_token: true }, params, options);
|
|
35
|
+
}
|
|
36
|
+
isVertexAccount(resource) {
|
|
37
|
+
return resource.type && resource.type === _VertexAccounts.TYPE;
|
|
38
|
+
}
|
|
39
|
+
relationship(id) {
|
|
40
|
+
return super.relationshipOneToOne(id);
|
|
41
|
+
}
|
|
42
|
+
relationshipToMany(...ids) {
|
|
43
|
+
return super.relationshipOneToMany(...ids);
|
|
44
|
+
}
|
|
45
|
+
type() {
|
|
46
|
+
return _VertexAccounts.TYPE;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
var instance = new VertexAccounts();
|
|
50
|
+
var vertex_accounts_default = instance;
|
|
51
|
+
|
|
52
|
+
exports.vertex_accounts_default = vertex_accounts_default;
|
|
53
|
+
//# sourceMappingURL=chunk-QIL2RRUJ.cjs.map
|
|
54
|
+
//# sourceMappingURL=chunk-QIL2RRUJ.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/vertex_accounts.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-QIL2RRUJ.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market } from './markets'\n\n\ntype VertexAccountType = 'vertex_accounts'\ntype VertexAccountRel = ResourceRel & { type: VertexAccountType }\n\n\nexport type VertexAccountSort = Pick<VertexAccount, 'id' | 'name'> & ResourceSort\n// export type VertexAccountFilter = Pick<VertexAccount, 'id' | 'name'> & ResourceFilter\n\n\ninterface VertexAccount extends Resource {\n\t\n\treadonly type: VertexAccountType\n\n\t/** \n\t * The tax calculator's internal name.\n\t * @example ```\"Personal tax calculator\"```\n\t */\n\tname: string\n\t/** \n\t * The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.\n\t * @example ```\"cloud\"```\n\t */\n\tkind?: 'cloud' | 'on_demand' | 'on_premise' | null\n\t/** \n\t * The Vertex API baseurl, optional for 'cloud' kind.\n\t * @example ```\"yourbaseurl\"```\n\t */\n\tbaseurl?: string | null\n\t/** \n\t * The OAuth audience sent with the token request, when required by the deployment.\n\t * @example ```\"verx://xyz\"```\n\t */\n\taudience?: string | null\n\t/** \n\t * The API endpoint as computed by specified kind and baseurl.\n\t * @example ```\"https://my_baseurl.ondemand.vertexinc.com\"```\n\t */\n\tapi_endpoint?: string | null\n\t/** \n\t * Indicates if the transaction will be recorded and visible on the Vertex website.\n\t * @example ```true```\n\t */\n\tcommit_invoice?: boolean | null\n\t/** \n\t * The expiration date/time of the access token.\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\ttoken_expires_at?: string | null\n\n\tmarkets?: Market[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface VertexAccountCreate extends ResourceCreate {\n\t\n\t/** \n\t * The tax calculator's internal name.\n\t * @example ```\"Personal tax calculator\"```\n\t */\n\tname: string\n\t/** \n\t * The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.\n\t * @example ```\"cloud\"```\n\t */\n\tkind?: 'cloud' | 'on_demand' | 'on_premise' | null\n\t/** \n\t * The Vertex API baseurl, optional for 'cloud' kind.\n\t * @example ```\"yourbaseurl\"```\n\t */\n\tbaseurl?: string | null\n\t/** \n\t * The OAuth audience sent with the token request, when required by the deployment.\n\t * @example ```\"verx://xyz\"```\n\t */\n\taudience?: string | null\n\t/** \n\t * The Vertex account client ID.\n\t * @example ```\"xxx-yyy-zzz\"```\n\t */\n\tclient_id: string\n\t/** \n\t * The Vertex account client secret.\n\t * @example ```\"xxx-yyy-zzz\"```\n\t */\n\tclient_secret: string\n\t/** \n\t * Indicates if the transaction will be recorded and visible on the Vertex website.\n\t * @example ```true```\n\t */\n\tcommit_invoice?: boolean | null\n\t\n}\n\n\ninterface VertexAccountUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The tax calculator's internal name.\n\t * @example ```\"Personal tax calculator\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.\n\t * @example ```\"cloud\"```\n\t */\n\tkind?: 'cloud' | 'on_demand' | 'on_premise' | null\n\t/** \n\t * The Vertex API baseurl, optional for 'cloud' kind.\n\t * @example ```\"yourbaseurl\"```\n\t */\n\tbaseurl?: string | null\n\t/** \n\t * The OAuth audience sent with the token request, when required by the deployment.\n\t * @example ```\"verx://xyz\"```\n\t */\n\taudience?: string | null\n\t/** \n\t * The Vertex account client ID.\n\t * @example ```\"xxx-yyy-zzz\"```\n\t */\n\tclient_id?: string | null\n\t/** \n\t * The Vertex account client secret.\n\t * @example ```\"xxx-yyy-zzz\"```\n\t */\n\tclient_secret?: string | null\n\t/** \n\t * Indicates if the transaction will be recorded and visible on the Vertex website.\n\t * @example ```true```\n\t */\n\tcommit_invoice?: boolean | null\n\t/** \n\t * Send this attribute if you want to manually refresh the access token.\n\t * @example ```true```\n\t */\n\t_refresh_token?: boolean | null\n\t\n}\n\n\nclass VertexAccounts extends ApiResource<VertexAccount> {\n\n\tstatic readonly TYPE: VertexAccountType = 'vertex_accounts' as const\n\n\tasync create(resource: VertexAccountCreate, params?: QueryParamsRetrieve<VertexAccount>, options?: ResourcesConfig): Promise<VertexAccount> {\n\t\treturn this.resources.create<VertexAccountCreate, VertexAccount>({ ...resource, type: VertexAccounts.TYPE }, params, options)\n\t}\n\n\tasync update(resource: VertexAccountUpdate, params?: QueryParamsRetrieve<VertexAccount>, options?: ResourcesConfig): Promise<VertexAccount> {\n\t\treturn this.resources.update<VertexAccountUpdate, VertexAccount>({ ...resource, type: VertexAccounts.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: VertexAccounts.TYPE } : id, options)\n\t}\n\n\tasync markets(vertexAccountId: string | VertexAccount, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>> {\n\t\tconst _vertexAccountId = (vertexAccountId as VertexAccount).id || vertexAccountId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `vertex_accounts/${_vertexAccountId}/markets`, params, options) as unknown as ListResponse<Market>\n\t}\n\n\tasync attachments(vertexAccountId: string | VertexAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _vertexAccountId = (vertexAccountId as VertexAccount).id || vertexAccountId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `vertex_accounts/${_vertexAccountId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(vertexAccountId: string | VertexAccount, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _vertexAccountId = (vertexAccountId as VertexAccount).id || vertexAccountId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `vertex_accounts/${_vertexAccountId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync event_stores(vertexAccountId: string | VertexAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _vertexAccountId = (vertexAccountId as VertexAccount).id || vertexAccountId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `vertex_accounts/${_vertexAccountId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _refresh_token(id: string | VertexAccount, params?: QueryParamsRetrieve<VertexAccount>, options?: ResourcesConfig): Promise<VertexAccount> {\n\t\treturn this.resources.update<VertexAccountUpdate, VertexAccount>({ id: (typeof id === 'string')? id: id.id, type: VertexAccounts.TYPE, _refresh_token: true }, params, options)\n\t}\n\n\n\tisVertexAccount(resource: any): resource is VertexAccount {\n\t\treturn resource.type && (resource.type === VertexAccounts.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): VertexAccountRel {\n\t\treturn super.relationshipOneToOne<VertexAccountRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): VertexAccountRel[] {\n\t\treturn super.relationshipOneToMany<VertexAccountRel>(...ids)\n\t}\n\n\n\ttype(): VertexAccountType {\n\t\treturn VertexAccounts.TYPE\n\t}\n\n}\n\n\nconst instance = new VertexAccounts()\nexport default instance\n\nexport type { VertexAccount, VertexAccountCreate, VertexAccounts, VertexAccountType, VertexAccountUpdate }\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkY56DKJ4Z_cjs = require('./chunk-Y56DKJ4Z.cjs');
|
|
4
|
+
|
|
5
|
+
// src/resources/organizations.ts
|
|
6
|
+
var Organizations = class _Organizations extends chunkY56DKJ4Z_cjs.ApiSingleton {
|
|
7
|
+
static TYPE = "organizations";
|
|
8
|
+
async event_stores(organizationId, params, options) {
|
|
9
|
+
const _organizationId = organizationId.id || organizationId;
|
|
10
|
+
return this.resources.fetch({ type: "event_stores" }, `organization/${_organizationId}/event_stores`, params, options);
|
|
11
|
+
}
|
|
12
|
+
isOrganization(resource) {
|
|
13
|
+
return resource.type && resource.type === _Organizations.TYPE;
|
|
14
|
+
}
|
|
15
|
+
relationship(id) {
|
|
16
|
+
return super.relationshipOneToOne(id);
|
|
17
|
+
}
|
|
18
|
+
relationshipToMany(...ids) {
|
|
19
|
+
return super.relationshipOneToMany(...ids);
|
|
20
|
+
}
|
|
21
|
+
type() {
|
|
22
|
+
return _Organizations.TYPE;
|
|
23
|
+
}
|
|
24
|
+
path() {
|
|
25
|
+
return "organization";
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
var instance = new Organizations();
|
|
29
|
+
var organizations_default = instance;
|
|
30
|
+
|
|
31
|
+
exports.organizations_default = organizations_default;
|
|
32
|
+
//# sourceMappingURL=chunk-QQU5KYKX.cjs.map
|
|
33
|
+
//# sourceMappingURL=chunk-QQU5KYKX.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/organizations.ts"],"names":["ApiSingleton"],"mappings":";;;;;AAgTA,IAAM,aAAA,GAAN,MAAM,cAAA,SAAsBA,8BAAA,CAA2B;AAAA,EAEtD,OAAgB,IAAA,GAAyB,eAAA;AAAA,EAEzC,MAAM,YAAA,CAAa,cAAA,EAAuC,MAAA,EAAsC,OAAA,EAA8D;AAC7J,IAAA,MAAM,eAAA,GAAmB,eAAgC,EAAA,IAAM,cAAA;AAC/D,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,aAAA,EAAgB,eAAe,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAClI;AAAA,EAGA,eAAe,QAAA,EAAyC;AACvD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,cAAA,CAAc,IAAA;AAAA,EAC1D;AAAA,EAGA,aAAa,EAAA,EAAiD;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAsC,EAAE,CAAA;AAAA,EACtD;AAAA,EAEA,sBAAsB,GAAA,EAAkC;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAuC,GAAG,GAAG,CAAA;AAAA,EAC3D;AAAA,EAGA,IAAA,GAAyB;AACxB,IAAA,OAAO,cAAA,CAAc,IAAA;AAAA,EACtB;AAAA,EAEA,IAAA,GAAe;AACd,IAAA,OAAO,cAAA;AAAA,EACR;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,aAAA,EAAc;AACnC,IAAO,qBAAA,GAAQ","file":"chunk-QQU5KYKX.cjs","sourcesContent":["import type { QueryParamsList } from '../query'\nimport type { ListResponse, Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, } from '../resource'\nimport { ApiSingleton } from '../resource'\n\nimport type { EventStore } from './event_stores'\n\n\ntype OrganizationType = 'organizations'\ntype OrganizationRel = ResourceRel & { type: OrganizationType }\n\n\nexport type OrganizationSort = Pick<Organization, 'id'> & ResourceSort\n// export type OrganizationFilter = Pick<Organization, 'id'> & ResourceFilter\n\n\ninterface Organization extends Resource {\n\t\n\treadonly type: OrganizationType\n\n\t/** \n\t * The organization's internal name.\n\t * @example ```\"The Blue Brand\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The organization's slug name.\n\t * @example ```\"the-blue-brand\"```\n\t */\n\tslug?: string | null\n\t/** \n\t * The organization's domain.\n\t * @example ```\"the-blue-brand.commercelayer.io\"```\n\t */\n\tdomain?: string | null\n\t/** \n\t * The organization's support phone.\n\t * @example ```\"+01 30800857\"```\n\t */\n\tsupport_phone?: string | null\n\t/** \n\t * The organization's support email.\n\t * @example ```\"support@bluebrand.com\"```\n\t */\n\tsupport_email?: string | null\n\t/** \n\t * The URL to the organization's logo.\n\t * @example ```\"https://bluebrand.com/img/logo.svg\"```\n\t */\n\tlogo_url?: string | null\n\t/** \n\t * The URL to the organization's favicon.\n\t * @example ```\"https://bluebrand.com/img/favicon.ico\"```\n\t */\n\tfavicon_url?: string | null\n\t/** \n\t * The organization's primary color.\n\t * @example ```\"#C8984E\"```\n\t */\n\tprimary_color?: string | null\n\t/** \n\t * The organization's Google Tag Manager ID.\n\t * @example ```\"GTM-5FJXX6\"```\n\t */\n\tgtm_id?: string | null\n\t/** \n\t * The organization's Google Tag Manager ID for test.\n\t * @example ```\"GTM-5FJXX7\"```\n\t */\n\tgtm_id_test?: string | null\n\t/** \n\t * The organization's configuration.\n\t * @example ```{\"mfe\":{\"default\":{\"links\":{\"cart\":\"https://cart.example.com/:order_id?accessToken=:access_token\",\"checkout\":\"https://checkout.example.com/:order_id?accessToken=:accessToken\",\"identity\":\"https://example.com/login\",\"microstore\":\"https://example.com/microstore/?accessToken=:access_token\",\"my_account\":\"https://example.com/my-custom-account?accessToken=:access_token\"},\"checkout\":{\"thankyou_page\":\"https://example.com/thanks/:lang/:orderId\",\"billing_countries\":[{\"value\":\"ES\",\"label\":\"Espana\"},{\"value\":\"IT\",\"label\":\"Italia\"},{\"value\":\"US\",\"label\":\"Unites States of America\"}],\"shipping_countries\":[{\"value\":\"ES\",\"label\":\"Espana\"},{\"value\":\"IT\",\"label\":\"Italia\"},{\"value\":\"US\",\"label\":\"Unites States of America\"}],\"billing_states\":{\"FR\":[{\"value\":\"PA\",\"label\":\"Paris\"},{\"value\":\"LY\",\"label\":\"Lyon\"},{\"value\":\"NI\",\"label\":\"Nice\"},{\"value\":\"MA\",\"label\":\"Marseille\"},{\"value\":\"BO\",\"label\":\"Bordeaux\"}]},\"shipping_states\":{\"FR\":[{\"value\":\"PA\",\"label\":\"Paris\"},{\"value\":\"LY\",\"label\":\"Lyon\"},{\"value\":\"NI\",\"label\":\"Nice\"},{\"value\":\"MA\",\"label\":\"Marseille\"},{\"value\":\"BO\",\"label\":\"Bordeaux\"}]},\"default_country\":\"US\"},\"urls\":{\"privacy\":\"https://example.com/privacy/:lang\",\"terms\":\"https://example.com/terms/:lang\"}},\"market:id:ZKcv13rT\":{\"links\":{\"cart\":\"https://example.com/custom-cart/:order_id?accessToken=:access_token\"},\"checkout\":{\"thankyou_page\":\"https://example.com/thanks/:order_id\"}}}}```\n\t */\n\tconfig?: Record<string, any> | null\n\t/** \n\t * Enables the redirect on the new Auth API.\n\t * @example ```true```\n\t */\n\tapi_auth_redirect?: boolean | null\n\t/** \n\t * Enables fragment caching for resources with related directive.\n\t */\n\tapi_fragment_caching_enabled?: boolean | null\n\t/** \n\t * Enables the rules engine for flex promotions and price list rules.\n\t */\n\tapi_rules_engine?: boolean | null\n\t/** \n\t * The fallback maximum number of conditions within a rules payload on a ruleable object, default is 150.\n\t * @example ```150```\n\t */\n\tapi_rules_engine_max_conditions_size?: number | null\n\t/** \n\t * The fallback maximum number of rules within a rules payload on a ruleable object, default is 15.\n\t * @example ```15```\n\t */\n\tapi_rules_engine_max_rules_size?: number | null\n\t/** \n\t * Forces the usage of the new Authentication API.\n\t * @example ```true```\n\t */\n\tapi_new_auth?: boolean | null\n\t/** \n\t * Enables the purge of cached single resources when list is purged.\n\t */\n\tapi_purge_single_resource?: boolean | null\n\t/** \n\t * The maximum length for the regular expressions, default is 5000.\n\t * @example ```5000```\n\t */\n\tapi_max_regex_length?: number | null\n\t/** \n\t * Indicates if AVS checking will be enforced during payment workflow by passing specific attributes, default is true.\n\t * @example ```true```\n\t */\n\taddresses_avs_check?: boolean | null\n\t/** \n\t * Indicates if the phone attribute is required for addresses, default is true.\n\t * @example ```true```\n\t */\n\taddresses_phone_required?: boolean | null\n\t/** \n\t * Indicates if a sales channel application without customer can read and update just guest orders.\n\t * @example ```true```\n\t */\n\torders_sales_channel_guest_only?: boolean | null\n\t/** \n\t * The minimum lapse in fraction of seconds to be observed between two consecutive shipments rebuilt. If shipments rebuilt is triggered within the minimum lapse, the update is performed, but no rebuilt is done.\n\t */\n\torders_min_rebuild_shipments_lapse?: number | null\n\t/** \n\t * The minimum lapse in fraction of seconds to be observed between two consecutive order refreshes. If refresh is triggered within the minimum lapse, the update is performed, but no order refresh is done.\n\t */\n\torders_min_refresh_lapse?: number | null\n\t/** \n\t * The maximum number line items allowed for a test order before disabling the autorefresh option.\n\t * @example ```50```\n\t */\n\torders_autorefresh_cutoff_test?: number | null\n\t/** \n\t * The maximum number line items allowed for a live order before disabling the autorefresh option.\n\t * @example ```500```\n\t */\n\torders_autorefresh_cutoff_live?: number | null\n\t/** \n\t * Enables orders number editing as a string in test (for enterprise plans only).\n\t */\n\torders_number_editable_test?: boolean | null\n\t/** \n\t * Enables orders number editing as a string in live (for enterprise plans only).\n\t */\n\torders_number_editable_live?: boolean | null\n\t/** \n\t * Enables to use the order number as payment reference on supported gateways.\n\t * @example ```true```\n\t */\n\torders_number_as_reference?: boolean | null\n\t/** \n\t * Enables raising of API errors in case the provided coupon code is invalid, default is true.\n\t * @example ```true```\n\t */\n\torders_invalid_coupon_errors?: boolean | null\n\t/** \n\t * Enables raising of API errors in case the provided gift card code is invalid, default is true.\n\t * @example ```true```\n\t */\n\torders_invalid_gift_card_errors?: boolean | null\n\t/** \n\t * Enables the validation of the generated stock line items and stock transfers before placing the order, default is false.\n\t */\n\torders_validate_shipping_stock?: boolean | null\n\t/** \n\t * The maximum number of SKUs allowed for bundles, default is 10.\n\t * @example ```10```\n\t */\n\tbundles_max_items_count?: number | null\n\t/** \n\t * The minimum length for coupon code, default is 8.\n\t * @example ```8```\n\t */\n\tcoupons_min_code_length?: number | null\n\t/** \n\t * The maximum length for coupon code, default is 40.\n\t * @example ```40```\n\t */\n\tcoupons_max_code_length?: number | null\n\t/** \n\t * Enables matching the gift card code by its exact value, instead of by its first charachters, default is false.\n\t */\n\tgift_cards_exact_code_matching?: boolean | null\n\t/** \n\t * The minimum length for gift card code, default is 8.\n\t * @example ```8```\n\t */\n\tgift_cards_min_code_length?: number | null\n\t/** \n\t * The maximum length for gift card code, default is 40.\n\t * @example ```40```\n\t */\n\tgift_cards_max_code_length?: number | null\n\t/** \n\t * The maximum number of concurrent cleanups allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\tcleanups_max_concurrent_count?: number | null\n\t/** \n\t * The maximum number of concurrent exports allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\texports_max_concurrent_count?: number | null\n\t/** \n\t * The maximum number of concurrent imports allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\timports_max_concurrent_count?: number | null\n\t/** \n\t * Enables purging of cached resources upon succeeded imports.\n\t * @example ```true```\n\t */\n\timports_purge_cache?: boolean | null\n\t/** \n\t * Disables the interruption of the import in case its errors exceeds the 10% threshold, default is false.\n\t */\n\timports_skip_errors?: boolean | null\n\t/** \n\t * The maximum number for stock locations cutoff, default is 10.\n\t * @example ```10```\n\t */\n\tinventory_models_max_stock_locations_cutoff?: number | null\n\t/** \n\t * The maximum number of active concurrent promotions allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\tpromotions_max_concurrent_count?: number | null\n\t/** \n\t * The maximum number of conditions within a rules payload on a promotion object, default is 150.\n\t * @example ```150```\n\t */\n\tpromotions_max_conditions_size?: number | null\n\t/** \n\t * The maximum number of rules within a rules payload on a promotion object, default is 15.\n\t * @example ```15```\n\t */\n\tpromotions_max_rules_size?: number | null\n\t/** \n\t * The maximum number of conditions within a rules payload on a price list object, default is 150.\n\t * @example ```150```\n\t */\n\tprice_lists_max_conditions_size?: number | null\n\t/** \n\t * The maximum number of rules within a rules payload on a price list object, default is 15.\n\t * @example ```15```\n\t */\n\tprice_lists_max_rules_size?: number | null\n\t/** \n\t * Enables triggering of webhooks during imports, default is false.\n\t * @example ```\"false\"```\n\t */\n\timports_trigger_webhooks?: number | null\n\t/** \n\t * Enables the use of an external discount engine in place of the standard one, default is false.\n\t */\n\tdiscount_engines_enabled?: boolean | null\n\t/** \n\t * Enables raising of API errors in case of discount engine failure, default is false.\n\t */\n\tdiscount_engines_errors?: boolean | null\n\t/** \n\t * The maximum length for the tag name, default is 25.\n\t * @example ```25```\n\t */\n\ttags_max_name_length?: number | null\n\t/** \n\t * The maximum allowed number of tags for each resource, default is 10.\n\t * @example ```10```\n\t */\n\ttags_max_allowed_number?: number | null\n\t/** \n\t * Enables raising of API errors in case of tax calculation failure, default is false.\n\t */\n\ttax_calculators_errors?: boolean | null\n\t/** \n\t * Enables raising of API errors in case of external promotion failure, default is false.\n\t */\n\texternal_promotions_errors?: boolean | null\n\t/** \n\t * Enables raising of API errors in case of external price failure, default is true.\n\t * @example ```true```\n\t */\n\texternal_prices_errors?: boolean | null\n\t/** \n\t * Enables the Sku discovery by similarity search.\n\t */\n\tskus_discovery?: boolean | null\n\t/** \n\t * Enables the creation of the authorization when the gateway event is received, even if there is no reference on Commerce Layer.\n\t */\n\tpayment_gateways_transaction_on_event?: boolean | null\n\n\tevent_stores?: EventStore[] | null\n\n}\n\n\nclass Organizations extends ApiSingleton<Organization> {\n\n\tstatic readonly TYPE: OrganizationType = 'organizations' as const\n\n\tasync event_stores(organizationId: string | Organization, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _organizationId = (organizationId as Organization).id || organizationId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `organization/${_organizationId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisOrganization(resource: any): resource is Organization {\n\t\treturn resource.type && (resource.type === Organizations.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): OrganizationRel {\n\t\treturn super.relationshipOneToOne<OrganizationRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): OrganizationRel[] {\n\t\treturn super.relationshipOneToMany<OrganizationRel>(...ids)\n\t}\n\n\n\ttype(): OrganizationType {\n\t\treturn Organizations.TYPE\n\t}\n\n\tpath(): string {\n\t\treturn 'organization'\n\t}\n\n}\n\n\nconst instance = new Organizations()\nexport default instance\n\nexport type { Organization, Organizations, OrganizationType }\n"]}
|